ados-rcm 1.1.418 → 1.1.420
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/index.cjs.js +37 -37
- package/dist/index.es.js +1274 -1272
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -15,24 +15,24 @@
|
|
15
15
|
*
|
16
16
|
* This source code is licensed under the MIT license found in the
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
18
|
-
*/var $v;function s4(){return $v||($v=1,process.env.NODE_ENV!=="production"&&function(){var r=A,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),_=Symbol.iterator,M="@@iterator";function E(Y){if(Y===null||typeof Y!="object")return null;var Ue=_&&Y[_]||Y[M];return typeof Ue=="function"?Ue:null}var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function L(Y){{for(var Ue=arguments.length,ke=new Array(Ue>1?Ue-1:0),Ze=1;Ze<Ue;Ze++)ke[Ze-1]=arguments[Ze];O("error",Y,ke)}}function O(Y,Ue,ke){{var Ze=x.ReactDebugCurrentFrame,St=Ze.getStackAddendum();St!==""&&(Ue+="%s",ke=ke.concat([St]));var jt=ke.map(function(At){return String(At)});jt.unshift("Warning: "+Ue),Function.prototype.apply.call(console[Y],console,jt)}}var B=!1,H=!1,z=!1,K=!1,ue=!1,J;J=Symbol.for("react.module.reference");function fe(Y){return!!(typeof Y=="string"||typeof Y=="function"||Y===n||Y===l||ue||Y===i||Y===m||Y===R||K||Y===S||B||H||z||typeof Y=="object"&&Y!==null&&(Y.$$typeof===b||Y.$$typeof===w||Y.$$typeof===u||Y.$$typeof===f||Y.$$typeof===g||Y.$$typeof===J||Y.getModuleId!==void 0))}function j(Y,Ue,ke){var Ze=Y.displayName;if(Ze)return Ze;var St=Ue.displayName||Ue.name||"";return St!==""?ke+"("+St+")":ke}function te(Y){return Y.displayName||"Context"}function X(Y){if(Y==null)return null;if(typeof Y.tag=="number"&&L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Y=="function")return Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case n:return"Fragment";case t:return"Portal";case l:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case R:return"SuspenseList"}if(typeof Y=="object")switch(Y.$$typeof){case f:var Ue=Y;return te(Ue)+".Consumer";case u:var ke=Y;return te(ke._context)+".Provider";case g:return j(Y,Y.render,"ForwardRef");case w:var Ze=Y.displayName||null;return Ze!==null?Ze:X(Y.type)||"Memo";case b:{var St=Y,jt=St._payload,At=St._init;try{return X(At(jt))}catch{return null}}}return null}var re=Object.assign,de=0,
|
19
|
-
`+Fe+Y}}var Ge=!1,
|
18
|
+
*/var $v;function s4(){return $v||($v=1,process.env.NODE_ENV!=="production"&&function(){var r=A,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),_=Symbol.iterator,M="@@iterator";function E(Y){if(Y===null||typeof Y!="object")return null;var Ue=_&&Y[_]||Y[M];return typeof Ue=="function"?Ue:null}var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function L(Y){{for(var Ue=arguments.length,ke=new Array(Ue>1?Ue-1:0),Ze=1;Ze<Ue;Ze++)ke[Ze-1]=arguments[Ze];O("error",Y,ke)}}function O(Y,Ue,ke){{var Ze=x.ReactDebugCurrentFrame,St=Ze.getStackAddendum();St!==""&&(Ue+="%s",ke=ke.concat([St]));var jt=ke.map(function(At){return String(At)});jt.unshift("Warning: "+Ue),Function.prototype.apply.call(console[Y],console,jt)}}var B=!1,H=!1,z=!1,K=!1,ue=!1,J;J=Symbol.for("react.module.reference");function fe(Y){return!!(typeof Y=="string"||typeof Y=="function"||Y===n||Y===l||ue||Y===i||Y===m||Y===R||K||Y===S||B||H||z||typeof Y=="object"&&Y!==null&&(Y.$$typeof===b||Y.$$typeof===w||Y.$$typeof===u||Y.$$typeof===f||Y.$$typeof===g||Y.$$typeof===J||Y.getModuleId!==void 0))}function j(Y,Ue,ke){var Ze=Y.displayName;if(Ze)return Ze;var St=Ue.displayName||Ue.name||"";return St!==""?ke+"("+St+")":ke}function te(Y){return Y.displayName||"Context"}function X(Y){if(Y==null)return null;if(typeof Y.tag=="number"&&L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Y=="function")return Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case n:return"Fragment";case t:return"Portal";case l:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case R:return"SuspenseList"}if(typeof Y=="object")switch(Y.$$typeof){case f:var Ue=Y;return te(Ue)+".Consumer";case u:var ke=Y;return te(ke._context)+".Provider";case g:return j(Y,Y.render,"ForwardRef");case w:var Ze=Y.displayName||null;return Ze!==null?Ze:X(Y.type)||"Memo";case b:{var St=Y,jt=St._payload,At=St._init;try{return X(At(jt))}catch{return null}}}return null}var re=Object.assign,de=0,me,ye,ce,Ee,le,se,pe;function Ne(){}Ne.__reactDisabledLog=!0;function Ye(){{if(de===0){me=console.log,ye=console.info,ce=console.warn,Ee=console.error,le=console.group,se=console.groupCollapsed,pe=console.groupEnd;var Y={configurable:!0,enumerable:!0,value:Ne,writable:!0};Object.defineProperties(console,{info:Y,log:Y,warn:Y,error:Y,group:Y,groupCollapsed:Y,groupEnd:Y})}de++}}function we(){{if(de--,de===0){var Y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},Y,{value:me}),info:re({},Y,{value:ye}),warn:re({},Y,{value:ce}),error:re({},Y,{value:Ee}),group:re({},Y,{value:le}),groupCollapsed:re({},Y,{value:se}),groupEnd:re({},Y,{value:pe})})}de<0&&L("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var De=x.ReactCurrentDispatcher,Fe;function ze(Y,Ue,ke){{if(Fe===void 0)try{throw Error()}catch(St){var Ze=St.stack.trim().match(/\n( *(at )?)/);Fe=Ze&&Ze[1]||""}return`
|
19
|
+
`+Fe+Y}}var Ge=!1,Le;{var Ae=typeof WeakMap=="function"?WeakMap:Map;Le=new Ae}function be(Y,Ue){if(!Y||Ge)return"";{var ke=Le.get(Y);if(ke!==void 0)return ke}var Ze;Ge=!0;var St=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var jt;jt=De.current,De.current=null,Ye();try{if(Ue){var At=function(){throw Error()};if(Object.defineProperty(At.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(At,[])}catch(Cn){Ze=Cn}Reflect.construct(Y,[],At)}else{try{At.call()}catch(Cn){Ze=Cn}Y.call(At.prototype)}}else{try{throw Error()}catch(Cn){Ze=Cn}Y()}}catch(Cn){if(Cn&&Ze&&typeof Cn.stack=="string"){for(var qt=Cn.stack.split(`
|
20
20
|
`),ir=Ze.stack.split(`
|
21
21
|
`),or=qt.length-1,fr=ir.length-1;or>=1&&fr>=0&&qt[or]!==ir[fr];)fr--;for(;or>=1&&fr>=0;or--,fr--)if(qt[or]!==ir[fr]){if(or!==1||fr!==1)do if(or--,fr--,fr<0||qt[or]!==ir[fr]){var Ur=`
|
22
|
-
`+qt[or].replace(" at new "," at ");return Y.displayName&&Ur.includes("<anonymous>")&&(Ur=Ur.replace("<anonymous>",Y.displayName)),typeof Y=="function"&&
|
22
|
+
`+qt[or].replace(" at new "," at ");return Y.displayName&&Ur.includes("<anonymous>")&&(Ur=Ur.replace("<anonymous>",Y.displayName)),typeof Y=="function"&&Le.set(Y,Ur),Ur}while(or>=1&&fr>=0);break}}}finally{Ge=!1,De.current=jt,we(),Error.prepareStackTrace=St}var yr=Y?Y.displayName||Y.name:"",Kn=yr?ze(yr):"";return typeof Y=="function"&&Le.set(Y,Kn),Kn}function We(Y,Ue,ke){return be(Y,!1)}function ht(Y){var Ue=Y.prototype;return!!(Ue&&Ue.isReactComponent)}function Ct(Y,Ue,ke){if(Y==null)return"";if(typeof Y=="function")return be(Y,ht(Y));if(typeof Y=="string")return ze(Y);switch(Y){case m:return ze("Suspense");case R:return ze("SuspenseList")}if(typeof Y=="object")switch(Y.$$typeof){case g:return We(Y.render);case w:return Ct(Y.type,Ue,ke);case b:{var Ze=Y,St=Ze._payload,jt=Ze._init;try{return Ct(jt(St),Ue,ke)}catch{}}}return""}var it=Object.prototype.hasOwnProperty,Ie={},Pe=x.ReactDebugCurrentFrame;function at(Y){if(Y){var Ue=Y._owner,ke=Ct(Y.type,Y._source,Ue?Ue.type:null);Pe.setExtraStackFrame(ke)}else Pe.setExtraStackFrame(null)}function gt(Y,Ue,ke,Ze,St){{var jt=Function.call.bind(it);for(var At in Y)if(jt(Y,At)){var qt=void 0;try{if(typeof Y[At]!="function"){var ir=Error((Ze||"React class")+": "+ke+" type `"+At+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Y[At]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ir.name="Invariant Violation",ir}qt=Y[At](Ue,At,Ze,ke,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(or){qt=or}qt&&!(qt instanceof Error)&&(at(St),L("%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).",Ze||"React class",ke,At,typeof qt),at(null)),qt instanceof Error&&!(qt.message in Ie)&&(Ie[qt.message]=!0,at(St),L("Failed %s type: %s",ke,qt.message),at(null))}}}var wt=Array.isArray;function Et(Y){return wt(Y)}function xt(Y){{var Ue=typeof Symbol=="function"&&Symbol.toStringTag,ke=Ue&&Y[Symbol.toStringTag]||Y.constructor.name||"Object";return ke}}function It(Y){try{return je(Y),!1}catch{return!0}}function je(Y){return""+Y}function Qe(Y){if(It(Y))return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xt(Y)),je(Y)}var mt=x.ReactCurrentOwner,Ft={key:!0,ref:!0,__self:!0,__source:!0},bt,$e;function Lt(Y){if(it.call(Y,"ref")){var Ue=Object.getOwnPropertyDescriptor(Y,"ref").get;if(Ue&&Ue.isReactWarning)return!1}return Y.ref!==void 0}function Dt(Y){if(it.call(Y,"key")){var Ue=Object.getOwnPropertyDescriptor(Y,"key").get;if(Ue&&Ue.isReactWarning)return!1}return Y.key!==void 0}function pr(Y,Ue){typeof Y.ref=="string"&&mt.current}function xr(Y,Ue){{var ke=function(){bt||(bt=!0,L("%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)",Ue))};ke.isReactWarning=!0,Object.defineProperty(Y,"key",{get:ke,configurable:!0})}}function wr(Y,Ue){{var ke=function(){$e||($e=!0,L("%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)",Ue))};ke.isReactWarning=!0,Object.defineProperty(Y,"ref",{get:ke,configurable:!0})}}var ge=function(Y,Ue,ke,Ze,St,jt,At){var qt={$$typeof:e,type:Y,key:Ue,ref:ke,props:At,_owner:jt};return qt._store={},Object.defineProperty(qt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(qt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ze}),Object.defineProperty(qt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:St}),Object.freeze&&(Object.freeze(qt.props),Object.freeze(qt)),qt};function ne(Y,Ue,ke,Ze,St){{var jt,At={},qt=null,ir=null;ke!==void 0&&(Qe(ke),qt=""+ke),Dt(Ue)&&(Qe(Ue.key),qt=""+Ue.key),Lt(Ue)&&(ir=Ue.ref,pr(Ue,St));for(jt in Ue)it.call(Ue,jt)&&!Ft.hasOwnProperty(jt)&&(At[jt]=Ue[jt]);if(Y&&Y.defaultProps){var or=Y.defaultProps;for(jt in or)At[jt]===void 0&&(At[jt]=or[jt])}if(qt||ir){var fr=typeof Y=="function"?Y.displayName||Y.name||"Unknown":Y;qt&&xr(At,fr),ir&&wr(At,fr)}return ge(Y,qt,ir,St,Ze,mt.current,At)}}var et=x.ReactCurrentOwner,ct=x.ReactDebugCurrentFrame;function tt(Y){if(Y){var Ue=Y._owner,ke=Ct(Y.type,Y._source,Ue?Ue.type:null);ct.setExtraStackFrame(ke)}else ct.setExtraStackFrame(null)}var Me;Me=!1;function pt(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===e}function kt(){{if(et.current){var Y=X(et.current.type);if(Y)return`
|
23
23
|
|
24
24
|
Check the render method of \``+Y+"`."}return""}}function _t(Y){return""}var Bt={};function Wt(Y){{var Ue=kt();if(!Ue){var ke=typeof Y=="string"?Y:Y.displayName||Y.name;ke&&(Ue=`
|
25
25
|
|
26
|
-
Check the top-level render call using <`+ke+">.")}return Ue}}function rr(Y,Ue){{if(!Y._store||Y._store.validated||Y.key!=null)return;Y._store.validated=!0;var ke=Wt(Ue);if(Bt[ke])return;Bt[ke]=!0;var Ze="";Y&&Y._owner&&Y._owner!==et.current&&(Ze=" It was passed a child from "+X(Y._owner.type)+"."),tt(Y),L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ke,Ze),tt(null)}}function Ht(Y,Ue){{if(typeof Y!="object")return;if(Et(Y))for(var ke=0;ke<Y.length;ke++){var Ze=Y[ke];pt(Ze)&&rr(Ze,Ue)}else if(pt(Y))Y._store&&(Y._store.validated=!0);else if(Y){var St=E(Y);if(typeof St=="function"&&St!==Y.entries)for(var jt=St.call(Y),At;!(At=jt.next()).done;)pt(At.value)&&rr(At.value,Ue)}}}function $t(Y){{var Ue=Y.type;if(Ue==null||typeof Ue=="string")return;var ke;if(typeof Ue=="function")ke=Ue.propTypes;else if(typeof Ue=="object"&&(Ue.$$typeof===g||Ue.$$typeof===w))ke=Ue.propTypes;else return;if(ke){var Ze=X(Ue);
|
26
|
+
Check the top-level render call using <`+ke+">.")}return Ue}}function rr(Y,Ue){{if(!Y._store||Y._store.validated||Y.key!=null)return;Y._store.validated=!0;var ke=Wt(Ue);if(Bt[ke])return;Bt[ke]=!0;var Ze="";Y&&Y._owner&&Y._owner!==et.current&&(Ze=" It was passed a child from "+X(Y._owner.type)+"."),tt(Y),L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ke,Ze),tt(null)}}function Ht(Y,Ue){{if(typeof Y!="object")return;if(Et(Y))for(var ke=0;ke<Y.length;ke++){var Ze=Y[ke];pt(Ze)&&rr(Ze,Ue)}else if(pt(Y))Y._store&&(Y._store.validated=!0);else if(Y){var St=E(Y);if(typeof St=="function"&&St!==Y.entries)for(var jt=St.call(Y),At;!(At=jt.next()).done;)pt(At.value)&&rr(At.value,Ue)}}}function $t(Y){{var Ue=Y.type;if(Ue==null||typeof Ue=="string")return;var ke;if(typeof Ue=="function")ke=Ue.propTypes;else if(typeof Ue=="object"&&(Ue.$$typeof===g||Ue.$$typeof===w))ke=Ue.propTypes;else return;if(ke){var Ze=X(Ue);gt(ke,Y.props,"prop",Ze,Y)}else if(Ue.PropTypes!==void 0&&!Me){Me=!0;var St=X(Ue);L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",St||"Unknown")}typeof Ue.getDefaultProps=="function"&&!Ue.getDefaultProps.isReactClassApproved&&L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nr(Y){{for(var Ue=Object.keys(Y.props),ke=0;ke<Ue.length;ke++){var Ze=Ue[ke];if(Ze!=="children"&&Ze!=="key"){tt(Y),L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ze),tt(null);break}}Y.ref!==null&&(tt(Y),L("Invalid attribute `ref` supplied to `React.Fragment`."),tt(null))}}function rt(Y,Ue,ke,Ze,St,jt){{var At=fe(Y);if(!At){var qt="";(Y===void 0||typeof Y=="object"&&Y!==null&&Object.keys(Y).length===0)&&(qt+=" 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 ir=_t();ir?qt+=ir:qt+=kt();var or;Y===null?or="null":Et(Y)?or="array":Y!==void 0&&Y.$$typeof===e?(or="<"+(X(Y.type)||"Unknown")+" />",qt=" Did you accidentally export a JSX literal instead of a component?"):or=typeof Y,L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",or,qt)}var fr=ne(Y,Ue,ke,St,jt);if(fr==null)return fr;if(At){var Ur=Ue.children;if(Ur!==void 0)if(Ze)if(Et(Ur)){for(var yr=0;yr<Ur.length;yr++)Ht(Ur[yr],Y);Object.freeze&&Object.freeze(Ur)}else L("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 Ht(Ur,Y)}return Y===n?nr(fr):$t(fr),fr}}function Tt(Y,Ue,ke){return rt(Y,Ue,ke,!0)}function yt(Y,Ue,ke){return rt(Y,Ue,ke,!1)}var Mt=yt,vr=Tt;kf.Fragment=n,kf.jsx=Mt,kf.jsxs=vr}()),kf}var Uv;function a4(){return Uv||(Uv=1,process.env.NODE_ENV==="production"?Cd.exports=o4():Cd.exports=s4()),Cd.exports}var v=a4(),Pf={exports:{}};/**
|
27
27
|
* @license
|
28
28
|
* Lodash <https://lodash.com/>
|
29
29
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
30
30
|
* Released under MIT license <https://lodash.com/license>
|
31
31
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
32
32
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
33
|
-
*/var l4=Pf.exports,Wv;function c4(){return Wv||(Wv=1,function(r,e){(function(){var t,n="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",f="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",m=500,R="__lodash_placeholder__",w=1,b=2,S=4,_=1,M=2,E=1,x=2,L=4,O=8,B=16,H=32,z=64,K=128,ue=256,J=512,fe=30,j="...",te=800,X=16,re=1,de=2,ge=3,ye=1/0,ce=9007199254740991,Ae=17976931348623157e292,le=NaN,se=4294967295,pe=se-1,Ne=se>>>1,Ye=[["ary",K],["bind",E],["bindKey",x],["curry",O],["curryRight",B],["flip",J],["partial",H],["partialRight",z],["rearg",ue]],we="[object Arguments]",De="[object Array]",Fe="[object AsyncFunction]",ze="[object Boolean]",Ge="[object Date]",Me="[object DOMException]",Te="[object Error]",be="[object Function]",We="[object GeneratorFunction]",ht="[object Map]",Ct="[object Number]",it="[object Null]",Ie="[object Object]",Oe="[object Promise]",st="[object Proxy]",vt="[object RegExp]",wt="[object Set]",Et="[object String]",xt="[object Symbol]",It="[object Undefined]",je="[object WeakMap]",Qe="[object WeakSet]",gt="[object ArrayBuffer]",Ft="[object DataView]",bt="[object Float32Array]",$e="[object Float64Array]",Lt="[object Int8Array]",Dt="[object Int16Array]",pr="[object Int32Array]",xr="[object Uint8Array]",wr="[object Uint8ClampedArray]",me="[object Uint16Array]",ne="[object Uint32Array]",et=/\b__p \+= '';/g,ct=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Le=/&(?:amp|lt|gt|quot|#39);/g,pt=/[&<>"']/g,kt=RegExp(Le.source),_t=RegExp(pt.source),Bt=/<%-([\s\S]+?)%>/g,Wt=/<%([\s\S]+?)%>/g,rr=/<%=([\s\S]+?)%>/g,Ht=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$t=/^\w*$/,nr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rt=/[\\^$.*+?()[\]{}|]/g,Tt=RegExp(rt.source),yt=/^\s+/,Mt=/\s/,vr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Y=/\{\n\/\* \[wrapped with (.+)\] \*/,Ue=/,? & /,ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ze=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,jt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,At=/\w*$/,qt=/^[-+]0x[0-9a-f]+$/i,ir=/^0b[01]+$/i,or=/^\[object .+?Constructor\]$/,fr=/^0o[0-7]+$/i,Ur=/^(?:0|[1-9]\d*)$/,yr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Kn=/($^)/,Cn=/['\n\r\u2028\u2029\\]/g,Dn="\\ud800-\\udfff",Yr="\\u0300-\\u036f",Yn="\\ufe20-\\ufe2f",En="\\u20d0-\\u20ff",Xn=Yr+Yn+En,Jn="\\u2700-\\u27bf",on="a-z\\xdf-\\xf6\\xf8-\\xff",On="\\xac\\xb1\\xd7\\xf7",wn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hi="\\u2000-\\u206f",Si=" \\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",Ci="A-Z\\xc0-\\xd6\\xd8-\\xde",kn="\\ufe0e\\ufe0f",An=On+wn+hi+Si,un="['’]",Qn="["+Dn+"]",sn="["+An+"]",pn="["+Xn+"]",C="\\d+",N="["+Jn+"]",V="["+on+"]",Q="[^"+Dn+An+C+Jn+on+Ci+"]",Ee="\\ud83c[\\udffb-\\udfff]",xe="(?:"+pn+"|"+Ee+")",He="[^"+Dn+"]",at="(?:\\ud83c[\\udde6-\\uddff]){2}",Ot="[\\ud800-\\udbff][\\udc00-\\udfff]",Ut="["+Ci+"]",zt="\\u200d",Sr="(?:"+V+"|"+Q+")",Zr="(?:"+Ut+"|"+Q+")",vn="(?:"+un+"(?:d|ll|m|re|s|t|ve))?",yn="(?:"+un+"(?:D|LL|M|RE|S|T|VE))?",li=xe+"?",Bn="["+kn+"]?",wi="(?:"+zt+"(?:"+[He,at,Ot].join("|")+")"+Bn+li+")*",Xr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Hn=Bn+li+wi,ei="(?:"+[N,at,Ot].join("|")+")"+Hn,bo="(?:"+[He+pn+"?",pn,at,Ot,Qn].join("|")+")",ro=RegExp(un,"g"),no=RegExp(pn,"g"),Rn=RegExp(Ee+"(?="+Ee+")|"+bo+Hn,"g"),_o=RegExp([Ut+"?"+V+"+"+vn+"(?="+[sn,Ut,"$"].join("|")+")",Zr+"+"+yn+"(?="+[sn,Ut+Sr,"$"].join("|")+")",Ut+"?"+Sr+"+"+vn,Ut+"+"+yn,pi,Xr,C,ei].join("|"),"g"),ti=RegExp("["+zt+Dn+Xn+kn+"]"),ri=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$i=["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"],Or=-1,Ar={};Ar[bt]=Ar[$e]=Ar[Lt]=Ar[Dt]=Ar[pr]=Ar[xr]=Ar[wr]=Ar[me]=Ar[ne]=!0,Ar[we]=Ar[De]=Ar[gt]=Ar[ze]=Ar[Ft]=Ar[Ge]=Ar[Te]=Ar[be]=Ar[ht]=Ar[Ct]=Ar[Ie]=Ar[vt]=Ar[wt]=Ar[Et]=Ar[je]=!1;var Mr={};Mr[we]=Mr[De]=Mr[gt]=Mr[Ft]=Mr[ze]=Mr[Ge]=Mr[bt]=Mr[$e]=Mr[Lt]=Mr[Dt]=Mr[pr]=Mr[ht]=Mr[Ct]=Mr[Ie]=Mr[vt]=Mr[wt]=Mr[Et]=Mr[xt]=Mr[xr]=Mr[wr]=Mr[me]=Mr[ne]=!0,Mr[Te]=Mr[be]=Mr[je]=!1;var I={À:"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"},G={"&":"&","<":"<",">":">",'"':""","'":"'"},ae={"&":"&","<":"<",">":">",""":'"',"'":"'"},qe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xt=parseFloat,Gt=parseInt,gr=typeof bi=="object"&&bi&&bi.Object===Object&&bi,Cr=typeof self=="object"&&self&&self.Object===Object&&self,dr=gr||Cr||Function("return this")(),Tr=e&&!e.nodeType&&e,Jr=Tr&&!0&&r&&!r.nodeType&&r,In=Jr&&Jr.exports===Tr,Vr=In&&gr.process,Br=function(){try{var ve=Jr&&Jr.require&&Jr.require("util").types;return ve||Vr&&Vr.binding&&Vr.binding("util")}catch{}}(),Qr=Br&&Br.isArrayBuffer,ci=Br&&Br.isDate,gi=Br&&Br.isMap,qn=Br&&Br.isRegExp,xo=Br&&Br.isSet,Ui=Br&&Br.isTypedArray;function an(ve,Ve,Pe){switch(Pe.length){case 0:return ve.call(Ve);case 1:return ve.call(Ve,Pe[0]);case 2:return ve.call(Ve,Pe[0],Pe[1]);case 3:return ve.call(Ve,Pe[0],Pe[1],Pe[2])}return ve.apply(Ve,Pe)}function ps(ve,Ve,Pe,Pt){for(var sr=-1,Pr=ve==null?0:ve.length;++sr<Pr;){var bn=ve[sr];Ve(Pt,bn,Pe(bn),ve)}return Pt}function zn(ve,Ve){for(var Pe=-1,Pt=ve==null?0:ve.length;++Pe<Pt&&Ve(ve[Pe],Pe,ve)!==!1;);return ve}function fl(ve,Ve){for(var Pe=ve==null?0:ve.length;Pe--&&Ve(ve[Pe],Pe,ve)!==!1;);return ve}function Ta(ve,Ve){for(var Pe=-1,Pt=ve==null?0:ve.length;++Pe<Pt;)if(!Ve(ve[Pe],Pe,ve))return!1;return!0}function Wi(ve,Ve){for(var Pe=-1,Pt=ve==null?0:ve.length,sr=0,Pr=[];++Pe<Pt;){var bn=ve[Pe];Ve(bn,Pe,ve)&&(Pr[sr++]=bn)}return Pr}function So(ve,Ve){var Pe=ve==null?0:ve.length;return!!Pe&&Co(ve,Ve,0)>-1}function $n(ve,Ve,Pe){for(var Pt=-1,sr=ve==null?0:ve.length;++Pt<sr;)if(Pe(Ve,ve[Pt]))return!0;return!1}function Kr(ve,Ve){for(var Pe=-1,Pt=ve==null?0:ve.length,sr=Array(Pt);++Pe<Pt;)sr[Pe]=Ve(ve[Pe],Pe,ve);return sr}function Ai(ve,Ve){for(var Pe=-1,Pt=Ve.length,sr=ve.length;++Pe<Pt;)ve[sr+Pe]=Ve[Pe];return ve}function Ea(ve,Ve,Pe,Pt){var sr=-1,Pr=ve==null?0:ve.length;for(Pt&&Pr&&(Pe=ve[++sr]);++sr<Pr;)Pe=Ve(Pe,ve[sr],sr,ve);return Pe}function dl(ve,Ve,Pe,Pt){var sr=ve==null?0:ve.length;for(Pt&&sr&&(Pe=ve[--sr]);sr--;)Pe=Ve(Pe,ve[sr],sr,ve);return Pe}function $o(ve,Ve){for(var Pe=-1,Pt=ve==null?0:ve.length;++Pe<Pt;)if(Ve(ve[Pe],Pe,ve))return!0;return!1}var hl=T("length");function pl(ve){return ve.split("")}function Gs(ve){return ve.match(ke)||[]}function gs(ve,Ve,Pe){var Pt;return Pe(ve,function(sr,Pr,bn){if(Ve(sr,Pr,bn))return Pt=Pr,!1}),Pt}function ms(ve,Ve,Pe,Pt){for(var sr=ve.length,Pr=Pe+(Pt?1:-1);Pt?Pr--:++Pr<sr;)if(Ve(ve[Pr],Pr,ve))return Pr;return-1}function Co(ve,Ve,Pe){return Ve===Ve?af(ve,Ve,Pe):ms(ve,Zs,Pe)}function gl(ve,Ve,Pe,Pt){for(var sr=Pe-1,Pr=ve.length;++sr<Pr;)if(Pt(ve[sr],Ve))return sr;return-1}function Zs(ve){return ve!==ve}function ka(ve,Ve){var Pe=ve==null?0:ve.length;return Pe?Re(ve,Ve)/Pe:le}function T(ve){return function(Ve){return Ve==null?t:Ve[ve]}}function P(ve){return function(Ve){return ve==null?t:ve[Ve]}}function $(ve,Ve,Pe,Pt,sr){return sr(ve,function(Pr,bn,Wr){Pe=Pt?(Pt=!1,Pr):Ve(Pe,Pr,bn,Wr)}),Pe}function ee(ve,Ve){var Pe=ve.length;for(ve.sort(Ve);Pe--;)ve[Pe]=ve[Pe].value;return ve}function Re(ve,Ve){for(var Pe,Pt=-1,sr=ve.length;++Pt<sr;){var Pr=Ve(ve[Pt]);Pr!==t&&(Pe=Pe===t?Pr:Pe+Pr)}return Pe}function Ce(ve,Ve){for(var Pe=-1,Pt=Array(ve);++Pe<ve;)Pt[Pe]=Ve(Pe);return Pt}function Xe(ve,Ve){return Kr(Ve,function(Pe){return[Pe,ve[Pe]]})}function mt(ve){return ve&&ve.slice(0,au(ve)+1).replace(yt,"")}function Vt(ve){return function(Ve){return ve(Ve)}}function hr(ve,Ve){return Kr(Ve,function(Pe){return ve[Pe]})}function ar(ve,Ve){return ve.has(Ve)}function Gr(ve,Ve){for(var Pe=-1,Pt=ve.length;++Pe<Pt&&Co(Ve,ve[Pe],0)>-1;);return Pe}function ni(ve,Ve){for(var Pe=ve.length;Pe--&&Co(Ve,ve[Pe],0)>-1;);return Pe}function Ti(ve,Ve){for(var Pe=ve.length,Pt=0;Pe--;)ve[Pe]===Ve&&++Pt;return Pt}var Ei=P(I),Ks=P(G);function ml(ve){return"\\"+qe[ve]}function vs(ve,Ve){return ve==null?t:ve[Ve]}function Ys(ve){return ti.test(ve)}function of(ve){return ri.test(ve)}function sc(ve){for(var Ve,Pe=[];!(Ve=ve.next()).done;)Pe.push(Ve.value);return Pe}function ac(ve){var Ve=-1,Pe=Array(ve.size);return ve.forEach(function(Pt,sr){Pe[++Ve]=[sr,Pt]}),Pe}function su(ve,Ve){return function(Pe){return ve(Ve(Pe))}}function wo(ve,Ve){for(var Pe=-1,Pt=ve.length,sr=0,Pr=[];++Pe<Pt;){var bn=ve[Pe];(bn===Ve||bn===R)&&(ve[Pe]=R,Pr[sr++]=Pe)}return Pr}function Ra(ve){var Ve=-1,Pe=Array(ve.size);return ve.forEach(function(Pt){Pe[++Ve]=Pt}),Pe}function sf(ve){var Ve=-1,Pe=Array(ve.size);return ve.forEach(function(Pt){Pe[++Ve]=[Pt,Pt]}),Pe}function af(ve,Ve,Pe){for(var Pt=Pe-1,sr=ve.length;++Pt<sr;)if(ve[Pt]===Ve)return Pt;return-1}function lf(ve,Ve,Pe){for(var Pt=Pe+1;Pt--;)if(ve[Pt]===Ve)return Pt;return Pt}function Xs(ve){return Ys(ve)?vl(ve):hl(ve)}function fn(ve){return Ys(ve)?ki(ve):pl(ve)}function au(ve){for(var Ve=ve.length;Ve--&&Mt.test(ve.charAt(Ve)););return Ve}var lu=P(ae);function vl(ve){for(var Ve=Rn.lastIndex=0;Rn.test(ve);)++Ve;return Ve}function ki(ve){return ve.match(Rn)||[]}function cu(ve){return ve.match(_o)||[]}var yl=function ve(Ve){Ve=Ve==null?dr:Ao.defaults(dr.Object(),Ve,Ao.pick(dr,$i));var Pe=Ve.Array,Pt=Ve.Date,sr=Ve.Error,Pr=Ve.Function,bn=Ve.Math,Wr=Ve.Object,Js=Ve.RegExp,uu=Ve.String,Bi=Ve.TypeError,bl=Pe.prototype,cf=Pr.prototype,Uo=Wr.prototype,en=Ve["__core-js_shared__"],Wo=cf.toString,zr=Uo.hasOwnProperty,lc=0,ln=function(){var o=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),To=Uo.toString,cc=Wo.call(Wr),uc=dr._,fc=Js("^"+Wo.call(zr).replace(rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qs=In?Ve.Buffer:t,Eo=Ve.Symbol,Ia=Ve.Uint8Array,La=Qs?Qs.allocUnsafe:t,ys=su(Wr.getPrototypeOf,Wr),ea=Wr.create,_l=Uo.propertyIsEnumerable,ko=bl.splice,xl=Eo?Eo.isConcatSpreadable:t,Vi=Eo?Eo.iterator:t,Ro=Eo?Eo.toStringTag:t,Vo=function(){try{var o=Hc(Wr,"defineProperty");return o({},"",{}),o}catch{}}(),uf=Ve.clearTimeout!==dr.clearTimeout&&Ve.clearTimeout,Ma=Pt&&Pt.now!==dr.Date.now&&Pt.now,fu=Ve.setTimeout!==dr.setTimeout&&Ve.setTimeout,ta=bn.ceil,bs=bn.floor,ra=Wr.getOwnPropertySymbols,Sl=Qs?Qs.isBuffer:t,na=Ve.isFinite,Da=bl.join,du=su(Wr.keys,Wr),cn=bn.max,Ln=bn.min,Go=Pt.now,dc=Ve.parseInt,Zo=bn.random,Cl=bl.reverse,io=Hc(Ve,"DataView"),Ko=Hc(Ve,"Map"),ia=Hc(Ve,"Promise"),oo=Hc(Ve,"Set"),Io=Hc(Ve,"WeakMap"),oa=Hc(Wr,"create"),Oa=Io&&new Io,_s={},Yo=qc(io),hc=qc(Ko),ff=qc(ia),hu=qc(oo),sa=qc(Io),Xo=Eo?Eo.prototype:t,xs=Xo?Xo.valueOf:t,Pa=Xo?Xo.toString:t;function U(o){if(Nn(o)&&!_r(o)&&!(o instanceof br)){if(o instanceof ii)return o;if(zr.call(o,"__wrapped__"))return av(o)}return new ii(o)}var Lo=function(){function o(){}return function(a){if(!Mn(a))return{};if(ea)return ea(a);o.prototype=a;var p=new o;return o.prototype=t,p}}();function Mo(){}function ii(o,a){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=t}U.templateSettings={escape:Bt,evaluate:Wt,interpolate:rr,variable:"",imports:{_:U}},U.prototype=Mo.prototype,U.prototype.constructor=U,ii.prototype=Lo(Mo.prototype),ii.prototype.constructor=ii;function br(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=se,this.__views__=[]}function wl(){var o=new br(this.__wrapped__);return o.__actions__=si(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=si(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=si(this.__views__),o}function Na(){if(this.__filtered__){var o=new br(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function Al(){var o=this.__wrapped__.value(),a=this.__dir__,p=_r(o),k=a<0,q=p?o.length:0,Z=RS(0,q,this.__views__),oe=Z.start,he=Z.end,_e=he-oe,nt=k?he:oe-1,ot=this.__iteratees__,ut=ot.length,Nt=0,Jt=Ln(_e,this.__takeCount__);if(!p||!k&&q==_e&&Jt==_e)return oi(o,this.__actions__);var cr=[];e:for(;_e--&&Nt<Jt;){nt+=a;for(var Ir=-1,ur=o[nt];++Ir<ut;){var Fr=ot[Ir],qr=Fr.iteratee,jo=Fr.type,Qi=qr(ur);if(jo==de)ur=Qi;else if(!Qi){if(jo==re)continue e;break e}}cr[Nt++]=ur}return cr}br.prototype=Lo(Mo.prototype),br.prototype.constructor=br;function so(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var k=o[a];this.set(k[0],k[1])}}function pc(){this.__data__=oa?oa(null):{},this.size=0}function pu(o){var a=this.has(o)&&delete this.__data__[o];return this.size-=a?1:0,a}function gu(o){var a=this.__data__;if(oa){var p=a[o];return p===g?t:p}return zr.call(a,o)?a[o]:t}function mu(o){var a=this.__data__;return oa?a[o]!==t:zr.call(a,o)}function df(o,a){var p=this.__data__;return this.size+=this.has(o)?0:1,p[o]=oa&&a===t?g:a,this}so.prototype.clear=pc,so.prototype.delete=pu,so.prototype.get=gu,so.prototype.has=mu,so.prototype.set=df;function ao(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var k=o[a];this.set(k[0],k[1])}}function hf(){this.__data__=[],this.size=0}function pf(o){var a=this.__data__,p=Gi(a,o);if(p<0)return!1;var k=a.length-1;return p==k?a.pop():ko.call(a,p,1),--this.size,!0}function gc(o){var a=this.__data__,p=Gi(a,o);return p<0?t:a[p][1]}function Fa(o){return Gi(this.__data__,o)>-1}function gf(o,a){var p=this.__data__,k=Gi(p,o);return k<0?(++this.size,p.push([o,a])):p[k][1]=a,this}ao.prototype.clear=hf,ao.prototype.delete=pf,ao.prototype.get=gc,ao.prototype.has=Fa,ao.prototype.set=gf;function Do(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var k=o[a];this.set(k[0],k[1])}}function mc(){this.size=0,this.__data__={hash:new so,map:new(Ko||ao),string:new so}}function Tl(o){var a=hd(this,o).delete(o);return this.size-=a?1:0,a}function mf(o){return hd(this,o).get(o)}function vf(o){return hd(this,o).has(o)}function yf(o,a){var p=hd(this,o),k=p.size;return p.set(o,a),this.size+=p.size==k?0:1,this}Do.prototype.clear=mc,Do.prototype.delete=Tl,Do.prototype.get=mf,Do.prototype.has=vf,Do.prototype.set=yf;function ui(o){var a=-1,p=o==null?0:o.length;for(this.__data__=new Do;++a<p;)this.add(o[a])}function vc(o){return this.__data__.set(o,g),this}function El(o){return this.__data__.has(o)}ui.prototype.add=ui.prototype.push=vc,ui.prototype.has=El;function Rr(o){var a=this.__data__=new ao(o);this.size=a.size}function Ri(){this.__data__=new ao,this.size=0}function aa(o){var a=this.__data__,p=a.delete(o);return this.size=a.size,p}function Ss(o){return this.__data__.get(o)}function Nr(o){return this.__data__.has(o)}function Jo(o,a){var p=this.__data__;if(p instanceof ao){var k=p.__data__;if(!Ko||k.length<i-1)return k.push([o,a]),this.size=++p.size,this;p=this.__data__=new Do(k)}return p.set(o,a),this.size=p.size,this}Rr.prototype.clear=Ri,Rr.prototype.delete=aa,Rr.prototype.get=Ss,Rr.prototype.has=Nr,Rr.prototype.set=Jo;function ja(o,a){var p=_r(o),k=!p&&zc(o),q=!p&&!k&&Wl(o),Z=!p&&!k&&!q&&Iu(o),oe=p||k||q||Z,he=oe?Ce(o.length,uu):[],_e=he.length;for(var nt in o)(a||zr.call(o,nt))&&!(oe&&(nt=="length"||q&&(nt=="offset"||nt=="parent")||Z&&(nt=="buffer"||nt=="byteLength"||nt=="byteOffset")||Ya(nt,_e)))&&he.push(nt);return he}function mi(o){var a=o.length;return a?o[Rs(0,a-1)]:t}function Ii(o,a){return pd(si(o),ws(a,0,o.length))}function lo(o){return pd(si(o))}function yc(o,a,p){(p!==t&&!Ls(o[a],p)||p===t&&!(a in o))&&Li(o,a,p)}function fi(o,a,p){var k=o[a];(!(zr.call(o,a)&&Ls(k,p))||p===t&&!(a in o))&&Li(o,a,p)}function Gi(o,a){for(var p=o.length;p--;)if(Ls(o[p][0],a))return p;return-1}function Cs(o,a,p,k){return Qo(o,function(q,Z,oe){a(k,q,p(q),oe)}),k}function vu(o,a){return o&&Xi(a,vi(a),o)}function bc(o,a){return o&&Xi(a,mo(a),o)}function Li(o,a,p){a=="__proto__"&&Vo?Vo(o,a,{configurable:!0,enumerable:!0,value:p,writable:!0}):o[a]=p}function _c(o,a){for(var p=-1,k=a.length,q=Pe(k),Z=o==null;++p<k;)q[p]=Z?t:qh(o,a[p]);return q}function ws(o,a,p){return o===o&&(p!==t&&(o=o<=p?o:p),a!==t&&(o=o>=a?o:a)),o}function di(o,a,p,k,q,Z){var oe,he=a&w,_e=a&b,nt=a&S;if(p&&(oe=q?p(o,k,q,Z):p(o)),oe!==t)return oe;if(!Mn(o))return o;var ot=_r(o);if(ot){if(oe=LS(o),!he)return si(o,oe)}else{var ut=Hi(o),Nt=ut==be||ut==We;if(Wl(o))return ga(o,he);if(ut==Ie||ut==we||Nt&&!q){if(oe=_e||Nt?{}:Jm(o),!he)return _e?ku(o,bc(oe,o)):Sf(o,vu(oe,o))}else{if(!Mr[ut])return q?o:{};oe=MS(o,ut,he)}}Z||(Z=new Rr);var Jt=Z.get(o);if(Jt)return Jt;Z.set(o,oe),Ev(o)?o.forEach(function(ur){oe.add(di(ur,a,p,ur,o,Z))}):Av(o)&&o.forEach(function(ur,Fr){oe.set(Fr,di(ur,a,p,Fr,o,Z))});var cr=nt?_e?Eh:Th:_e?mo:vi,Ir=ot?t:cr(o);return zn(Ir||o,function(ur,Fr){Ir&&(Fr=ur,ur=o[Fr]),fi(oe,Fr,di(ur,a,p,Fr,o,Z))}),oe}function xc(o){var a=vi(o);return function(p){return Sc(p,o,a)}}function Sc(o,a,p){var k=p.length;if(o==null)return!k;for(o=Wr(o);k--;){var q=p[k],Z=a[q],oe=o[q];if(oe===t&&!(q in o)||!Z(oe))return!1}return!0}function Cc(o,a,p){if(typeof o!="function")throw new Bi(u);return Af(function(){o.apply(t,p)},a)}function As(o,a,p,k){var q=-1,Z=So,oe=!0,he=o.length,_e=[],nt=a.length;if(!he)return _e;p&&(a=Kr(a,Vt(p))),k?(Z=$n,oe=!1):a.length>=i&&(Z=ar,oe=!1,a=new ui(a));e:for(;++q<he;){var ot=o[q],ut=p==null?ot:p(ot);if(ot=k||ot!==0?ot:0,oe&&ut===ut){for(var Nt=nt;Nt--;)if(a[Nt]===ut)continue e;_e.push(ot)}else Z(a,ut,k)||_e.push(ot)}return _e}var Qo=s(Mi),wc=s(Rl,!0);function yu(o,a){var p=!0;return Qo(o,function(k,q,Z){return p=!!a(k,q,Z),p}),p}function kl(o,a,p){for(var k=-1,q=o.length;++k<q;){var Z=o[k],oe=a(Z);if(oe!=null&&(he===t?oe===oe&&!Fo(oe):p(oe,he)))var he=oe,_e=Z}return _e}function bf(o,a,p,k){var q=o.length;for(p=Er(p),p<0&&(p=-p>q?0:q+p),k=k===t||k>q?q:Er(k),k<0&&(k+=q),k=p>k?0:Rv(k);p<k;)o[p++]=a;return o}function bu(o,a){var p=[];return Qo(o,function(k,q,Z){a(k,q,Z)&&p.push(k)}),p}function Un(o,a,p,k,q){var Z=-1,oe=o.length;for(p||(p=OS),q||(q=[]);++Z<oe;){var he=o[Z];a>0&&p(he)?a>1?Un(he,a-1,p,k,q):Ai(q,he):k||(q[q.length]=he)}return q}var Ac=c(),_u=c(!0);function Mi(o,a){return o&&Ac(o,a,vi)}function Rl(o,a){return o&&_u(o,a,vi)}function la(o,a){return Wi(a,function(p){return Xa(o[p])})}function es(o,a){a=No(a,o);for(var p=0,k=a.length;o!=null&&p<k;)o=o[ma(a[p++])];return p&&p==k?o:t}function Ba(o,a,p){var k=a(o);return _r(o)?k:Ai(k,p(o))}function Pn(o){return o==null?o===t?It:it:Ro&&Ro in Wr(o)?kS(o):qS(o)}function Ts(o,a){return o>a}function Il(o,a){return o!=null&&zr.call(o,a)}function ca(o,a){return o!=null&&a in Wr(o)}function Ll(o,a,p){return o>=Ln(a,p)&&o<cn(a,p)}function ua(o,a,p){for(var k=p?$n:So,q=o[0].length,Z=o.length,oe=Z,he=Pe(Z),_e=1/0,nt=[];oe--;){var ot=o[oe];oe&&a&&(ot=Kr(ot,Vt(a))),_e=Ln(ot.length,_e),he[oe]=!p&&(a||q>=120&&ot.length>=120)?new ui(oe&&ot):t}ot=o[0];var ut=-1,Nt=he[0];e:for(;++ut<q&&nt.length<_e;){var Jt=ot[ut],cr=a?a(Jt):Jt;if(Jt=p||Jt!==0?Jt:0,!(Nt?ar(Nt,cr):k(nt,cr,p))){for(oe=Z;--oe;){var Ir=he[oe];if(!(Ir?ar(Ir,cr):k(o[oe],cr,p)))continue e}Nt&&Nt.push(cr),nt.push(Jt)}}return nt}function Ml(o,a,p,k){return Mi(o,function(q,Z,oe){a(k,p(q),Z,oe)}),k}function co(o,a,p){a=No(a,o),o=rv(o,a);var k=o==null?o:o[ma(ss(a))];return k==null?t:an(k,o,p)}function Dl(o){return Nn(o)&&Pn(o)==we}function Es(o){return Nn(o)&&Pn(o)==gt}function xu(o){return Nn(o)&&Pn(o)==Ge}function Ha(o,a,p,k,q){return o===a?!0:o==null||a==null||!Nn(o)&&!Nn(a)?o!==o&&a!==a:fa(o,a,p,k,Ha,q)}function fa(o,a,p,k,q,Z){var oe=_r(o),he=_r(a),_e=oe?De:Hi(o),nt=he?De:Hi(a);_e=_e==we?Ie:_e,nt=nt==we?Ie:nt;var ot=_e==Ie,ut=nt==Ie,Nt=_e==nt;if(Nt&&Wl(o)){if(!Wl(a))return!1;oe=!0,ot=!1}if(Nt&&!ot)return Z||(Z=new Rr),oe||Iu(o)?Km(o,a,p,k,q,Z):TS(o,a,_e,p,k,q,Z);if(!(p&_)){var Jt=ot&&zr.call(o,"__wrapped__"),cr=ut&&zr.call(a,"__wrapped__");if(Jt||cr){var Ir=Jt?o.value():o,ur=cr?a.value():a;return Z||(Z=new Rr),q(Ir,ur,p,k,Z)}}return Nt?(Z||(Z=new Rr),ES(o,a,p,k,q,Z)):!1}function da(o){return Nn(o)&&Hi(o)==ht}function Tc(o,a,p,k){var q=p.length,Z=q,oe=!k;if(o==null)return!Z;for(o=Wr(o);q--;){var he=p[q];if(oe&&he[2]?he[1]!==o[he[0]]:!(he[0]in o))return!1}for(;++q<Z;){he=p[q];var _e=he[0],nt=o[_e],ot=he[1];if(oe&&he[2]){if(nt===t&&!(_e in o))return!1}else{var ut=new Rr;if(k)var Nt=k(nt,ot,_e,o,a,ut);if(!(Nt===t?Ha(ot,nt,_|M,k,ut):Nt))return!1}}return!0}function Su(o){if(!Mn(o)||NS(o))return!1;var a=Xa(o)?fc:or;return a.test(qc(o))}function ks(o){return Nn(o)&&Pn(o)==vt}function Ol(o){return Nn(o)&&Hi(o)==wt}function Oo(o){return Nn(o)&&_d(o.length)&&!!Ar[Pn(o)]}function Pl(o){return typeof o=="function"?o:o==null?vo:typeof o=="object"?_r(o)?za(o[0],o[1]):uo(o):Hv(o)}function Po(o){if(!wf(o))return du(o);var a=[];for(var p in Wr(o))zr.call(o,p)&&p!="constructor"&&a.push(p);return a}function qa(o){if(!Mn(o))return HS(o);var a=wf(o),p=[];for(var k in o)k=="constructor"&&(a||!zr.call(o,k))||p.push(k);return p}function Zi(o,a){return o<a}function Ki(o,a){var p=-1,k=go(o)?Pe(o.length):[];return Qo(o,function(q,Z,oe){k[++p]=a(q,Z,oe)}),k}function uo(o){var a=Rh(o);return a.length==1&&a[0][2]?ev(a[0][0],a[0][1]):function(p){return p===o||Tc(p,o,a)}}function za(o,a){return Lh(o)&&Qm(a)?ev(ma(o),a):function(p){var k=qh(p,o);return k===t&&k===a?zh(p,o):Ha(a,k,_|M)}}function ts(o,a,p,k,q){o!==a&&Ac(a,function(Z,oe){if(q||(q=new Rr),Mn(Z))Yi(o,a,oe,p,ts,k,q);else{var he=k?k(Dh(o,oe),Z,oe+"",o,a,q):t;he===t&&(he=Z),yc(o,oe,he)}},mo)}function Yi(o,a,p,k,q,Z,oe){var he=Dh(o,p),_e=Dh(a,p),nt=oe.get(_e);if(nt){yc(o,p,nt);return}var ot=Z?Z(he,_e,p+"",o,a,oe):t,ut=ot===t;if(ut){var Nt=_r(_e),Jt=!Nt&&Wl(_e),cr=!Nt&&!Jt&&Iu(_e);ot=_e,Nt||Jt||cr?_r(he)?ot=he:Vn(he)?ot=si(he):Jt?(ut=!1,ot=ga(_e,!0)):cr?(ut=!1,ot=jc(_e,!0)):ot=[]:Tf(_e)||zc(_e)?(ot=he,zc(he)?ot=Iv(he):(!Mn(he)||Xa(he))&&(ot=Jm(_e))):ut=!1}ut&&(oe.set(_e,ot),q(ot,_e,k,Z,oe),oe.delete(_e)),yc(o,p,ot)}function ha(o,a){var p=o.length;if(p)return a+=a<0?p:0,Ya(a,p)?o[a]:t}function Nl(o,a,p){a.length?a=Kr(a,function(Z){return _r(Z)?function(oe){return es(oe,Z.length===1?Z[0]:Z)}:Z}):a=[vo];var k=-1;a=Kr(a,Vt(lr()));var q=Ki(o,function(Z,oe,he){var _e=Kr(a,function(nt){return nt(Z)});return{criteria:_e,index:++k,value:Z}});return ee(q,function(Z,oe){return Tu(Z,oe,p)})}function $a(o,a){return pa(o,a,function(p,k){return zh(o,k)})}function pa(o,a,p){for(var k=-1,q=a.length,Z={};++k<q;){var oe=a[k],he=es(o,oe);p(he,oe)&&Is(Z,No(oe,o),he)}return Z}function Cu(o){return function(a){return es(a,o)}}function Ec(o,a,p,k){var q=k?gl:Co,Z=-1,oe=a.length,he=o;for(o===a&&(a=si(a)),p&&(he=Kr(o,Vt(p)));++Z<oe;)for(var _e=0,nt=a[Z],ot=p?p(nt):nt;(_e=q(he,ot,_e,k))>-1;)he!==o&&ko.call(he,_e,1),ko.call(o,_e,1);return o}function kc(o,a){for(var p=o?a.length:0,k=p-1;p--;){var q=a[p];if(p==k||q!==Z){var Z=q;Ya(q)?ko.call(o,q,1):Dc(o,q)}}return o}function Rs(o,a){return o+bs(Zo()*(a-o+1))}function Rc(o,a,p,k){for(var q=-1,Z=cn(ta((a-o)/(p||1)),0),oe=Pe(Z);Z--;)oe[k?Z:++q]=o,o+=p;return oe}function Fl(o,a){var p="";if(!o||a<1||a>ce)return p;do a%2&&(p+=o),a=bs(a/2),a&&(o+=o);while(a);return p}function mr(o,a){return Oh(tv(o,a,vo),o+"")}function Ua(o){return mi(Lu(o))}function Ic(o,a){var p=Lu(o);return pd(p,ws(a,0,p.length))}function Is(o,a,p,k){if(!Mn(o))return o;a=No(a,o);for(var q=-1,Z=a.length,oe=Z-1,he=o;he!=null&&++q<Z;){var _e=ma(a[q]),nt=p;if(_e==="__proto__"||_e==="constructor"||_e==="prototype")return o;if(q!=oe){var ot=he[_e];nt=k?k(ot,_e,he):t,nt===t&&(nt=Mn(ot)?ot:Ya(a[q+1])?[]:{})}fi(he,_e,nt),he=he[_e]}return o}var Lc=Oa?function(o,a){return Oa.set(o,a),o}:vo,wu=Vo?function(o,a){return Vo(o,"toString",{configurable:!0,enumerable:!1,value:Uh(a),writable:!0})}:vo;function Mc(o){return pd(Lu(o))}function Di(o,a,p){var k=-1,q=o.length;a<0&&(a=-a>q?0:q+a),p=p>q?q:p,p<0&&(p+=q),q=a>p?0:p-a>>>0,a>>>=0;for(var Z=Pe(q);++k<q;)Z[k]=o[k+a];return Z}function _f(o,a){var p;return Qo(o,function(k,q,Z){return p=a(k,q,Z),!p}),!!p}function jl(o,a,p){var k=0,q=o==null?k:o.length;if(typeof a=="number"&&a===a&&q<=Ne){for(;k<q;){var Z=k+q>>>1,oe=o[Z];oe!==null&&!Fo(oe)&&(p?oe<=a:oe<a)?k=Z+1:q=Z}return q}return Bl(o,a,vo,p)}function Bl(o,a,p,k){var q=0,Z=o==null?0:o.length;if(Z===0)return 0;a=p(a);for(var oe=a!==a,he=a===null,_e=Fo(a),nt=a===t;q<Z;){var ot=bs((q+Z)/2),ut=p(o[ot]),Nt=ut!==t,Jt=ut===null,cr=ut===ut,Ir=Fo(ut);if(oe)var ur=k||cr;else nt?ur=cr&&(k||Nt):he?ur=cr&&Nt&&(k||!Jt):_e?ur=cr&&Nt&&!Jt&&(k||!Ir):Jt||Ir?ur=!1:ur=k?ut<=a:ut<a;ur?q=ot+1:Z=ot}return Ln(Z,pe)}function Au(o,a){for(var p=-1,k=o.length,q=0,Z=[];++p<k;){var oe=o[p],he=a?a(oe):oe;if(!p||!Ls(he,_e)){var _e=he;Z[q++]=oe===0?0:oe}}return Z}function Hl(o){return typeof o=="number"?o:Fo(o)?le:+o}function Oi(o){if(typeof o=="string")return o;if(_r(o))return Kr(o,Oi)+"";if(Fo(o))return Pa?Pa.call(o):"";var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function Tn(o,a,p){var k=-1,q=So,Z=o.length,oe=!0,he=[],_e=he;if(p)oe=!1,q=$n;else if(Z>=i){var nt=a?null:Cf(o);if(nt)return Ra(nt);oe=!1,q=ar,_e=new ui}else _e=a?[]:he;e:for(;++k<Z;){var ot=o[k],ut=a?a(ot):ot;if(ot=p||ot!==0?ot:0,oe&&ut===ut){for(var Nt=_e.length;Nt--;)if(_e[Nt]===ut)continue e;a&&_e.push(ut),he.push(ot)}else q(_e,ut,p)||(_e!==he&&_e.push(ut),he.push(ot))}return he}function Dc(o,a){return a=No(a,o),o=rv(o,a),o==null||delete o[ma(ss(a))]}function Wa(o,a,p,k){return Is(o,a,p(es(o,a)),k)}function ql(o,a,p,k){for(var q=o.length,Z=k?q:-1;(k?Z--:++Z<q)&&a(o[Z],Z,o););return p?Di(o,k?0:Z,k?Z+1:q):Di(o,k?Z+1:0,k?q:Z)}function oi(o,a){var p=o;return p instanceof br&&(p=p.value()),Ea(a,function(k,q){return q.func.apply(q.thisArg,Ai([k],q.args))},p)}function Oc(o,a,p){var k=o.length;if(k<2)return k?Tn(o[0]):[];for(var q=-1,Z=Pe(k);++q<k;)for(var oe=o[q],he=-1;++he<k;)he!=q&&(Z[q]=As(Z[q]||oe,o[he],a,p));return Tn(Un(Z,1),a,p)}function Pc(o,a,p){for(var k=-1,q=o.length,Z=a.length,oe={};++k<q;){var he=k<Z?a[k]:t;p(oe,o[k],he)}return oe}function zl(o){return Vn(o)?o:[]}function rs(o){return typeof o=="function"?o:vo}function No(o,a){return _r(o)?o:Lh(o,a)?[o]:sv(tn(o))}var xf=mr;function fo(o,a,p){var k=o.length;return p=p===t?k:p,!a&&p>=k?o:Di(o,a,p)}var ns=uf||function(o){return dr.clearTimeout(o)};function ga(o,a){if(a)return o.slice();var p=o.length,k=La?La(p):new o.constructor(p);return o.copy(k),k}function Nc(o){var a=new o.constructor(o.byteLength);return new Ia(a).set(new Ia(o)),a}function Fc(o,a){var p=a?Nc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.byteLength)}function Va(o){var a=new o.constructor(o.source,At.exec(o));return a.lastIndex=o.lastIndex,a}function $l(o){return xs?Wr(xs.call(o)):{}}function jc(o,a){var p=a?Nc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.length)}function Ga(o,a){if(o!==a){var p=o!==t,k=o===null,q=o===o,Z=Fo(o),oe=a!==t,he=a===null,_e=a===a,nt=Fo(a);if(!he&&!nt&&!Z&&o>a||Z&&oe&&_e&&!he&&!nt||k&&oe&&_e||!p&&_e||!q)return 1;if(!k&&!Z&&!nt&&o<a||nt&&p&&q&&!k&&!Z||he&&p&&q||!oe&&q||!_e)return-1}return 0}function Tu(o,a,p){for(var k=-1,q=o.criteria,Z=a.criteria,oe=q.length,he=p.length;++k<oe;){var _e=Ga(q[k],Z[k]);if(_e){if(k>=he)return _e;var nt=p[k];return _e*(nt=="desc"?-1:1)}}return o.index-a.index}function Eu(o,a,p,k){for(var q=-1,Z=o.length,oe=p.length,he=-1,_e=a.length,nt=cn(Z-oe,0),ot=Pe(_e+nt),ut=!k;++he<_e;)ot[he]=a[he];for(;++q<oe;)(ut||q<Z)&&(ot[p[q]]=o[q]);for(;nt--;)ot[he++]=o[q++];return ot}function Bc(o,a,p,k){for(var q=-1,Z=o.length,oe=-1,he=p.length,_e=-1,nt=a.length,ot=cn(Z-he,0),ut=Pe(ot+nt),Nt=!k;++q<ot;)ut[q]=o[q];for(var Jt=q;++_e<nt;)ut[Jt+_e]=a[_e];for(;++oe<he;)(Nt||q<Z)&&(ut[Jt+p[oe]]=o[q++]);return ut}function si(o,a){var p=-1,k=o.length;for(a||(a=Pe(k));++p<k;)a[p]=o[p];return a}function Xi(o,a,p,k){var q=!p;p||(p={});for(var Z=-1,oe=a.length;++Z<oe;){var he=a[Z],_e=k?k(p[he],o[he],he,p,o):t;_e===t&&(_e=o[he]),q?Li(p,he,_e):fi(p,he,_e)}return p}function Sf(o,a){return Xi(o,Ih(o),a)}function ku(o,a){return Xi(o,Ym(o),a)}function Ul(o,a){return function(p,k){var q=_r(p)?ps:Cs,Z=a?a():{};return q(p,o,lr(k,2),Z)}}function d(o){return mr(function(a,p){var k=-1,q=p.length,Z=q>1?p[q-1]:t,oe=q>2?p[2]:t;for(Z=o.length>3&&typeof Z=="function"?(q--,Z):t,oe&&Ji(p[0],p[1],oe)&&(Z=q<3?t:Z,q=1),a=Wr(a);++k<q;){var he=p[k];he&&o(a,he,k,Z)}return a})}function s(o,a){return function(p,k){if(p==null)return p;if(!go(p))return o(p,k);for(var q=p.length,Z=a?q:-1,oe=Wr(p);(a?Z--:++Z<q)&&k(oe[Z],Z,oe)!==!1;);return p}}function c(o){return function(a,p,k){for(var q=-1,Z=Wr(a),oe=k(a),he=oe.length;he--;){var _e=oe[o?he:++q];if(p(Z[_e],_e,Z)===!1)break}return a}}function h(o,a,p){var k=a&E,q=F(o);function Z(){var oe=this&&this!==dr&&this instanceof Z?q:o;return oe.apply(k?p:this,arguments)}return Z}function y(o){return function(a){a=tn(a);var p=Ys(a)?fn(a):t,k=p?p[0]:a.charAt(0),q=p?fo(p,1).join(""):a.slice(1);return k[o]()+q}}function D(o){return function(a){return Ea(jv(Fv(a).replace(ro,"")),o,"")}}function F(o){return function(){var a=arguments;switch(a.length){case 0:return new o;case 1:return new o(a[0]);case 2:return new o(a[0],a[1]);case 3:return new o(a[0],a[1],a[2]);case 4:return new o(a[0],a[1],a[2],a[3]);case 5:return new o(a[0],a[1],a[2],a[3],a[4]);case 6:return new o(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new o(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var p=Lo(o.prototype),k=o.apply(p,a);return Mn(k)?k:p}}function W(o,a,p){var k=F(o);function q(){for(var Z=arguments.length,oe=Pe(Z),he=Z,_e=Ru(q);he--;)oe[he]=arguments[he];var nt=Z<3&&oe[0]!==_e&&oe[Z-1]!==_e?[]:wo(oe,_e);if(Z-=nt.length,Z<p)return po(o,a,Je,q.placeholder,t,oe,nt,t,t,p-Z);var ot=this&&this!==dr&&this instanceof q?k:o;return an(ot,this,oe)}return q}function ie(o){return function(a,p,k){var q=Wr(a);if(!go(a)){var Z=lr(p,3);a=vi(a),p=function(he){return Z(q[he],he,q)}}var oe=o(a,p,k);return oe>-1?q[Z?a[oe]:oe]:t}}function Se(o){return Ka(function(a){var p=a.length,k=p,q=ii.prototype.thru;for(o&&a.reverse();k--;){var Z=a[k];if(typeof Z!="function")throw new Bi(u);if(q&&!oe&&dd(Z)=="wrapper")var oe=new ii([],!0)}for(k=oe?k:p;++k<p;){Z=a[k];var he=dd(Z),_e=he=="wrapper"?kh(Z):t;_e&&Mh(_e[0])&&_e[1]==(K|O|H|ue)&&!_e[4].length&&_e[9]==1?oe=oe[dd(_e[0])].apply(oe,_e[3]):oe=Z.length==1&&Mh(Z)?oe[he]():oe.thru(Z)}return function(){var nt=arguments,ot=nt[0];if(oe&&nt.length==1&&_r(ot))return oe.plant(ot).value();for(var ut=0,Nt=p?a[ut].apply(this,nt):ot;++ut<p;)Nt=a[ut].call(this,Nt);return Nt}})}function Je(o,a,p,k,q,Z,oe,he,_e,nt){var ot=a&K,ut=a&E,Nt=a&x,Jt=a&(O|B),cr=a&J,Ir=Nt?t:F(o);function ur(){for(var Fr=arguments.length,qr=Pe(Fr),jo=Fr;jo--;)qr[jo]=arguments[jo];if(Jt)var Qi=Ru(ur),Bo=Ti(qr,Qi);if(k&&(qr=Eu(qr,k,q,Jt)),Z&&(qr=Bc(qr,Z,oe,Jt)),Fr-=Bo,Jt&&Fr<nt){var Gn=wo(qr,Qi);return po(o,a,Je,ur.placeholder,p,qr,Gn,he,_e,nt-Fr)}var Ms=ut?p:this,Qa=Nt?Ms[o]:o;return Fr=qr.length,he?qr=zS(qr,he):cr&&Fr>1&&qr.reverse(),ot&&_e<Fr&&(qr.length=_e),this&&this!==dr&&this instanceof ur&&(Qa=Ir||F(Qa)),Qa.apply(Ms,qr)}return ur}function lt(o,a){return function(p,k){return Ml(p,o,a(k),{})}}function Rt(o,a){return function(p,k){var q;if(p===t&&k===t)return a;if(p!==t&&(q=p),k!==t){if(q===t)return k;typeof p=="string"||typeof k=="string"?(p=Oi(p),k=Oi(k)):(p=Hl(p),k=Hl(k)),q=o(p,k)}return q}}function tr(o){return Ka(function(a){return a=Kr(a,Vt(lr())),mr(function(p){var k=this;return o(a,function(q){return an(q,k,p)})})})}function Dr(o,a){a=a===t?" ":Oi(a);var p=a.length;if(p<2)return p?Fl(a,o):a;var k=Fl(a,ta(o/Xs(a)));return Ys(a)?fo(fn(k),0,o).join(""):k.slice(0,o)}function Wn(o,a,p,k){var q=a&E,Z=F(o);function oe(){for(var he=-1,_e=arguments.length,nt=-1,ot=k.length,ut=Pe(ot+_e),Nt=this&&this!==dr&&this instanceof oe?Z:o;++nt<ot;)ut[nt]=k[nt];for(;_e--;)ut[nt++]=arguments[++he];return an(Nt,q?p:this,ut)}return oe}function is(o){return function(a,p,k){return k&&typeof k!="number"&&Ji(a,p,k)&&(p=k=t),a=Ja(a),p===t?(p=a,a=0):p=Ja(p),k=k===t?a<p?1:-1:Ja(k),Rc(a,p,k,o)}}function ho(o){return function(a,p){return typeof a=="string"&&typeof p=="string"||(a=as(a),p=as(p)),o(a,p)}}function po(o,a,p,k,q,Z,oe,he,_e,nt){var ot=a&O,ut=ot?oe:t,Nt=ot?t:oe,Jt=ot?Z:t,cr=ot?t:Z;a|=ot?H:z,a&=~(ot?z:H),a&L||(a&=-4);var Ir=[o,a,q,Jt,ut,cr,Nt,he,_e,nt],ur=p.apply(t,Ir);return Mh(o)&&nv(ur,Ir),ur.placeholder=k,iv(ur,o,a)}function os(o){var a=bn[o];return function(p,k){if(p=as(p),k=k==null?0:Ln(Er(k),292),k&&na(p)){var q=(tn(p)+"e").split("e"),Z=a(q[0]+"e"+(+q[1]+k));return q=(tn(Z)+"e").split("e"),+(q[0]+"e"+(+q[1]-k))}return a(p)}}var Cf=oo&&1/Ra(new oo([,-0]))[1]==ye?function(o){return new oo(o)}:Gh;function fd(o){return function(a){var p=Hi(a);return p==ht?ac(a):p==wt?sf(a):Xe(a,o(a))}}function Za(o,a,p,k,q,Z,oe,he){var _e=a&x;if(!_e&&typeof o!="function")throw new Bi(u);var nt=k?k.length:0;if(nt||(a&=-97,k=q=t),oe=oe===t?oe:cn(Er(oe),0),he=he===t?he:Er(he),nt-=q?q.length:0,a&z){var ot=k,ut=q;k=q=t}var Nt=_e?t:kh(o),Jt=[o,a,p,k,q,ot,ut,Z,oe,he];if(Nt&&BS(Jt,Nt),o=Jt[0],a=Jt[1],p=Jt[2],k=Jt[3],q=Jt[4],he=Jt[9]=Jt[9]===t?_e?0:o.length:cn(Jt[9]-nt,0),!he&&a&(O|B)&&(a&=-25),!a||a==E)var cr=h(o,a,p);else a==O||a==B?cr=W(o,a,he):(a==H||a==(E|H))&&!q.length?cr=Wn(o,a,p,k):cr=Je.apply(t,Jt);var Ir=Nt?Lc:nv;return iv(Ir(cr,Jt),o,a)}function Gm(o,a,p,k){return o===t||Ls(o,Uo[p])&&!zr.call(k,p)?a:o}function Zm(o,a,p,k,q,Z){return Mn(o)&&Mn(a)&&(Z.set(a,o),ts(o,a,t,Zm,Z),Z.delete(a)),o}function AS(o){return Tf(o)?t:o}function Km(o,a,p,k,q,Z){var oe=p&_,he=o.length,_e=a.length;if(he!=_e&&!(oe&&_e>he))return!1;var nt=Z.get(o),ot=Z.get(a);if(nt&&ot)return nt==a&&ot==o;var ut=-1,Nt=!0,Jt=p&M?new ui:t;for(Z.set(o,a),Z.set(a,o);++ut<he;){var cr=o[ut],Ir=a[ut];if(k)var ur=oe?k(Ir,cr,ut,a,o,Z):k(cr,Ir,ut,o,a,Z);if(ur!==t){if(ur)continue;Nt=!1;break}if(Jt){if(!$o(a,function(Fr,qr){if(!ar(Jt,qr)&&(cr===Fr||q(cr,Fr,p,k,Z)))return Jt.push(qr)})){Nt=!1;break}}else if(!(cr===Ir||q(cr,Ir,p,k,Z))){Nt=!1;break}}return Z.delete(o),Z.delete(a),Nt}function TS(o,a,p,k,q,Z,oe){switch(p){case Ft:if(o.byteLength!=a.byteLength||o.byteOffset!=a.byteOffset)return!1;o=o.buffer,a=a.buffer;case gt:return!(o.byteLength!=a.byteLength||!Z(new Ia(o),new Ia(a)));case ze:case Ge:case Ct:return Ls(+o,+a);case Te:return o.name==a.name&&o.message==a.message;case vt:case Et:return o==a+"";case ht:var he=ac;case wt:var _e=k&_;if(he||(he=Ra),o.size!=a.size&&!_e)return!1;var nt=oe.get(o);if(nt)return nt==a;k|=M,oe.set(o,a);var ot=Km(he(o),he(a),k,q,Z,oe);return oe.delete(o),ot;case xt:if(xs)return xs.call(o)==xs.call(a)}return!1}function ES(o,a,p,k,q,Z){var oe=p&_,he=Th(o),_e=he.length,nt=Th(a),ot=nt.length;if(_e!=ot&&!oe)return!1;for(var ut=_e;ut--;){var Nt=he[ut];if(!(oe?Nt in a:zr.call(a,Nt)))return!1}var Jt=Z.get(o),cr=Z.get(a);if(Jt&&cr)return Jt==a&&cr==o;var Ir=!0;Z.set(o,a),Z.set(a,o);for(var ur=oe;++ut<_e;){Nt=he[ut];var Fr=o[Nt],qr=a[Nt];if(k)var jo=oe?k(qr,Fr,Nt,a,o,Z):k(Fr,qr,Nt,o,a,Z);if(!(jo===t?Fr===qr||q(Fr,qr,p,k,Z):jo)){Ir=!1;break}ur||(ur=Nt=="constructor")}if(Ir&&!ur){var Qi=o.constructor,Bo=a.constructor;Qi!=Bo&&"constructor"in o&&"constructor"in a&&!(typeof Qi=="function"&&Qi instanceof Qi&&typeof Bo=="function"&&Bo instanceof Bo)&&(Ir=!1)}return Z.delete(o),Z.delete(a),Ir}function Ka(o){return Oh(tv(o,t,uv),o+"")}function Th(o){return Ba(o,vi,Ih)}function Eh(o){return Ba(o,mo,Ym)}var kh=Oa?function(o){return Oa.get(o)}:Gh;function dd(o){for(var a=o.name+"",p=_s[a],k=zr.call(_s,a)?p.length:0;k--;){var q=p[k],Z=q.func;if(Z==null||Z==o)return q.name}return a}function Ru(o){var a=zr.call(U,"placeholder")?U:o;return a.placeholder}function lr(){var o=U.iteratee||Wh;return o=o===Wh?Pl:o,arguments.length?o(arguments[0],arguments[1]):o}function hd(o,a){var p=o.__data__;return PS(a)?p[typeof a=="string"?"string":"hash"]:p.map}function Rh(o){for(var a=vi(o),p=a.length;p--;){var k=a[p],q=o[k];a[p]=[k,q,Qm(q)]}return a}function Hc(o,a){var p=vs(o,a);return Su(p)?p:t}function kS(o){var a=zr.call(o,Ro),p=o[Ro];try{o[Ro]=t;var k=!0}catch{}var q=To.call(o);return k&&(a?o[Ro]=p:delete o[Ro]),q}var Ih=ra?function(o){return o==null?[]:(o=Wr(o),Wi(ra(o),function(a){return _l.call(o,a)}))}:Zh,Ym=ra?function(o){for(var a=[];o;)Ai(a,Ih(o)),o=ys(o);return a}:Zh,Hi=Pn;(io&&Hi(new io(new ArrayBuffer(1)))!=Ft||Ko&&Hi(new Ko)!=ht||ia&&Hi(ia.resolve())!=Oe||oo&&Hi(new oo)!=wt||Io&&Hi(new Io)!=je)&&(Hi=function(o){var a=Pn(o),p=a==Ie?o.constructor:t,k=p?qc(p):"";if(k)switch(k){case Yo:return Ft;case hc:return ht;case ff:return Oe;case hu:return wt;case sa:return je}return a});function RS(o,a,p){for(var k=-1,q=p.length;++k<q;){var Z=p[k],oe=Z.size;switch(Z.type){case"drop":o+=oe;break;case"dropRight":a-=oe;break;case"take":a=Ln(a,o+oe);break;case"takeRight":o=cn(o,a-oe);break}}return{start:o,end:a}}function IS(o){var a=o.match(Y);return a?a[1].split(Ue):[]}function Xm(o,a,p){a=No(a,o);for(var k=-1,q=a.length,Z=!1;++k<q;){var oe=ma(a[k]);if(!(Z=o!=null&&p(o,oe)))break;o=o[oe]}return Z||++k!=q?Z:(q=o==null?0:o.length,!!q&&_d(q)&&Ya(oe,q)&&(_r(o)||zc(o)))}function LS(o){var a=o.length,p=new o.constructor(a);return a&&typeof o[0]=="string"&&zr.call(o,"index")&&(p.index=o.index,p.input=o.input),p}function Jm(o){return typeof o.constructor=="function"&&!wf(o)?Lo(ys(o)):{}}function MS(o,a,p){var k=o.constructor;switch(a){case gt:return Nc(o);case ze:case Ge:return new k(+o);case Ft:return Fc(o,p);case bt:case $e:case Lt:case Dt:case pr:case xr:case wr:case me:case ne:return jc(o,p);case ht:return new k;case Ct:case Et:return new k(o);case vt:return Va(o);case wt:return new k;case xt:return $l(o)}}function DS(o,a){var p=a.length;if(!p)return o;var k=p-1;return a[k]=(p>1?"& ":"")+a[k],a=a.join(p>2?", ":" "),o.replace(vr,`{
|
33
|
+
*/var l4=Pf.exports,Wv;function c4(){return Wv||(Wv=1,function(r,e){(function(){var t,n="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",f="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",m=500,R="__lodash_placeholder__",w=1,b=2,S=4,_=1,M=2,E=1,x=2,L=4,O=8,B=16,H=32,z=64,K=128,ue=256,J=512,fe=30,j="...",te=800,X=16,re=1,de=2,me=3,ye=1/0,ce=9007199254740991,Ee=17976931348623157e292,le=NaN,se=4294967295,pe=se-1,Ne=se>>>1,Ye=[["ary",K],["bind",E],["bindKey",x],["curry",O],["curryRight",B],["flip",J],["partial",H],["partialRight",z],["rearg",ue]],we="[object Arguments]",De="[object Array]",Fe="[object AsyncFunction]",ze="[object Boolean]",Ge="[object Date]",Le="[object DOMException]",Ae="[object Error]",be="[object Function]",We="[object GeneratorFunction]",ht="[object Map]",Ct="[object Number]",it="[object Null]",Ie="[object Object]",Pe="[object Promise]",at="[object Proxy]",gt="[object RegExp]",wt="[object Set]",Et="[object String]",xt="[object Symbol]",It="[object Undefined]",je="[object WeakMap]",Qe="[object WeakSet]",mt="[object ArrayBuffer]",Ft="[object DataView]",bt="[object Float32Array]",$e="[object Float64Array]",Lt="[object Int8Array]",Dt="[object Int16Array]",pr="[object Int32Array]",xr="[object Uint8Array]",wr="[object Uint8ClampedArray]",ge="[object Uint16Array]",ne="[object Uint32Array]",et=/\b__p \+= '';/g,ct=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Me=/&(?:amp|lt|gt|quot|#39);/g,pt=/[&<>"']/g,kt=RegExp(Me.source),_t=RegExp(pt.source),Bt=/<%-([\s\S]+?)%>/g,Wt=/<%([\s\S]+?)%>/g,rr=/<%=([\s\S]+?)%>/g,Ht=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$t=/^\w*$/,nr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rt=/[\\^$.*+?()[\]{}|]/g,Tt=RegExp(rt.source),yt=/^\s+/,Mt=/\s/,vr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Y=/\{\n\/\* \[wrapped with (.+)\] \*/,Ue=/,? & /,ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ze=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,jt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,At=/\w*$/,qt=/^[-+]0x[0-9a-f]+$/i,ir=/^0b[01]+$/i,or=/^\[object .+?Constructor\]$/,fr=/^0o[0-7]+$/i,Ur=/^(?:0|[1-9]\d*)$/,yr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Kn=/($^)/,Cn=/['\n\r\u2028\u2029\\]/g,Dn="\\ud800-\\udfff",Yr="\\u0300-\\u036f",Yn="\\ufe20-\\ufe2f",En="\\u20d0-\\u20ff",Xn=Yr+Yn+En,Jn="\\u2700-\\u27bf",on="a-z\\xdf-\\xf6\\xf8-\\xff",On="\\xac\\xb1\\xd7\\xf7",wn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hi="\\u2000-\\u206f",Si=" \\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",Ci="A-Z\\xc0-\\xd6\\xd8-\\xde",kn="\\ufe0e\\ufe0f",An=On+wn+hi+Si,un="['’]",Qn="["+Dn+"]",sn="["+An+"]",pn="["+Xn+"]",C="\\d+",N="["+Jn+"]",V="["+on+"]",Q="[^"+Dn+An+C+Jn+on+Ci+"]",Te="\\ud83c[\\udffb-\\udfff]",xe="(?:"+pn+"|"+Te+")",He="[^"+Dn+"]",st="(?:\\ud83c[\\udde6-\\uddff]){2}",Ot="[\\ud800-\\udbff][\\udc00-\\udfff]",Ut="["+Ci+"]",zt="\\u200d",Sr="(?:"+V+"|"+Q+")",Zr="(?:"+Ut+"|"+Q+")",vn="(?:"+un+"(?:d|ll|m|re|s|t|ve))?",yn="(?:"+un+"(?:D|LL|M|RE|S|T|VE))?",li=xe+"?",Bn="["+kn+"]?",wi="(?:"+zt+"(?:"+[He,st,Ot].join("|")+")"+Bn+li+")*",Xr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Hn=Bn+li+wi,ei="(?:"+[N,st,Ot].join("|")+")"+Hn,bo="(?:"+[He+pn+"?",pn,st,Ot,Qn].join("|")+")",ro=RegExp(un,"g"),no=RegExp(pn,"g"),Rn=RegExp(Te+"(?="+Te+")|"+bo+Hn,"g"),_o=RegExp([Ut+"?"+V+"+"+vn+"(?="+[sn,Ut,"$"].join("|")+")",Zr+"+"+yn+"(?="+[sn,Ut+Sr,"$"].join("|")+")",Ut+"?"+Sr+"+"+vn,Ut+"+"+yn,pi,Xr,C,ei].join("|"),"g"),ti=RegExp("["+zt+Dn+Xn+kn+"]"),ri=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$i=["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"],Or=-1,Ar={};Ar[bt]=Ar[$e]=Ar[Lt]=Ar[Dt]=Ar[pr]=Ar[xr]=Ar[wr]=Ar[ge]=Ar[ne]=!0,Ar[we]=Ar[De]=Ar[mt]=Ar[ze]=Ar[Ft]=Ar[Ge]=Ar[Ae]=Ar[be]=Ar[ht]=Ar[Ct]=Ar[Ie]=Ar[gt]=Ar[wt]=Ar[Et]=Ar[je]=!1;var Mr={};Mr[we]=Mr[De]=Mr[mt]=Mr[Ft]=Mr[ze]=Mr[Ge]=Mr[bt]=Mr[$e]=Mr[Lt]=Mr[Dt]=Mr[pr]=Mr[ht]=Mr[Ct]=Mr[Ie]=Mr[gt]=Mr[wt]=Mr[Et]=Mr[xt]=Mr[xr]=Mr[wr]=Mr[ge]=Mr[ne]=!0,Mr[Ae]=Mr[be]=Mr[je]=!1;var I={À:"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"},G={"&":"&","<":"<",">":">",'"':""","'":"'"},ae={"&":"&","<":"<",">":">",""":'"',"'":"'"},qe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xt=parseFloat,Gt=parseInt,gr=typeof bi=="object"&&bi&&bi.Object===Object&&bi,Cr=typeof self=="object"&&self&&self.Object===Object&&self,dr=gr||Cr||Function("return this")(),Tr=e&&!e.nodeType&&e,Jr=Tr&&!0&&r&&!r.nodeType&&r,In=Jr&&Jr.exports===Tr,Vr=In&&gr.process,Br=function(){try{var ve=Jr&&Jr.require&&Jr.require("util").types;return ve||Vr&&Vr.binding&&Vr.binding("util")}catch{}}(),Qr=Br&&Br.isArrayBuffer,ci=Br&&Br.isDate,gi=Br&&Br.isMap,qn=Br&&Br.isRegExp,xo=Br&&Br.isSet,Ui=Br&&Br.isTypedArray;function an(ve,Ve,Oe){switch(Oe.length){case 0:return ve.call(Ve);case 1:return ve.call(Ve,Oe[0]);case 2:return ve.call(Ve,Oe[0],Oe[1]);case 3:return ve.call(Ve,Oe[0],Oe[1],Oe[2])}return ve.apply(Ve,Oe)}function ps(ve,Ve,Oe,Pt){for(var sr=-1,Pr=ve==null?0:ve.length;++sr<Pr;){var bn=ve[sr];Ve(Pt,bn,Oe(bn),ve)}return Pt}function zn(ve,Ve){for(var Oe=-1,Pt=ve==null?0:ve.length;++Oe<Pt&&Ve(ve[Oe],Oe,ve)!==!1;);return ve}function fl(ve,Ve){for(var Oe=ve==null?0:ve.length;Oe--&&Ve(ve[Oe],Oe,ve)!==!1;);return ve}function Ta(ve,Ve){for(var Oe=-1,Pt=ve==null?0:ve.length;++Oe<Pt;)if(!Ve(ve[Oe],Oe,ve))return!1;return!0}function Wi(ve,Ve){for(var Oe=-1,Pt=ve==null?0:ve.length,sr=0,Pr=[];++Oe<Pt;){var bn=ve[Oe];Ve(bn,Oe,ve)&&(Pr[sr++]=bn)}return Pr}function So(ve,Ve){var Oe=ve==null?0:ve.length;return!!Oe&&Co(ve,Ve,0)>-1}function $n(ve,Ve,Oe){for(var Pt=-1,sr=ve==null?0:ve.length;++Pt<sr;)if(Oe(Ve,ve[Pt]))return!0;return!1}function Kr(ve,Ve){for(var Oe=-1,Pt=ve==null?0:ve.length,sr=Array(Pt);++Oe<Pt;)sr[Oe]=Ve(ve[Oe],Oe,ve);return sr}function Ai(ve,Ve){for(var Oe=-1,Pt=Ve.length,sr=ve.length;++Oe<Pt;)ve[sr+Oe]=Ve[Oe];return ve}function Ea(ve,Ve,Oe,Pt){var sr=-1,Pr=ve==null?0:ve.length;for(Pt&&Pr&&(Oe=ve[++sr]);++sr<Pr;)Oe=Ve(Oe,ve[sr],sr,ve);return Oe}function dl(ve,Ve,Oe,Pt){var sr=ve==null?0:ve.length;for(Pt&&sr&&(Oe=ve[--sr]);sr--;)Oe=Ve(Oe,ve[sr],sr,ve);return Oe}function $o(ve,Ve){for(var Oe=-1,Pt=ve==null?0:ve.length;++Oe<Pt;)if(Ve(ve[Oe],Oe,ve))return!0;return!1}var hl=T("length");function pl(ve){return ve.split("")}function Gs(ve){return ve.match(ke)||[]}function gs(ve,Ve,Oe){var Pt;return Oe(ve,function(sr,Pr,bn){if(Ve(sr,Pr,bn))return Pt=Pr,!1}),Pt}function ms(ve,Ve,Oe,Pt){for(var sr=ve.length,Pr=Oe+(Pt?1:-1);Pt?Pr--:++Pr<sr;)if(Ve(ve[Pr],Pr,ve))return Pr;return-1}function Co(ve,Ve,Oe){return Ve===Ve?af(ve,Ve,Oe):ms(ve,Zs,Oe)}function gl(ve,Ve,Oe,Pt){for(var sr=Oe-1,Pr=ve.length;++sr<Pr;)if(Pt(ve[sr],Ve))return sr;return-1}function Zs(ve){return ve!==ve}function ka(ve,Ve){var Oe=ve==null?0:ve.length;return Oe?Re(ve,Ve)/Oe:le}function T(ve){return function(Ve){return Ve==null?t:Ve[ve]}}function P(ve){return function(Ve){return ve==null?t:ve[Ve]}}function $(ve,Ve,Oe,Pt,sr){return sr(ve,function(Pr,bn,Wr){Oe=Pt?(Pt=!1,Pr):Ve(Oe,Pr,bn,Wr)}),Oe}function ee(ve,Ve){var Oe=ve.length;for(ve.sort(Ve);Oe--;)ve[Oe]=ve[Oe].value;return ve}function Re(ve,Ve){for(var Oe,Pt=-1,sr=ve.length;++Pt<sr;){var Pr=Ve(ve[Pt]);Pr!==t&&(Oe=Oe===t?Pr:Oe+Pr)}return Oe}function Ce(ve,Ve){for(var Oe=-1,Pt=Array(ve);++Oe<ve;)Pt[Oe]=Ve(Oe);return Pt}function Xe(ve,Ve){return Kr(Ve,function(Oe){return[Oe,ve[Oe]]})}function vt(ve){return ve&&ve.slice(0,au(ve)+1).replace(yt,"")}function Vt(ve){return function(Ve){return ve(Ve)}}function hr(ve,Ve){return Kr(Ve,function(Oe){return ve[Oe]})}function ar(ve,Ve){return ve.has(Ve)}function Gr(ve,Ve){for(var Oe=-1,Pt=ve.length;++Oe<Pt&&Co(Ve,ve[Oe],0)>-1;);return Oe}function ni(ve,Ve){for(var Oe=ve.length;Oe--&&Co(Ve,ve[Oe],0)>-1;);return Oe}function Ti(ve,Ve){for(var Oe=ve.length,Pt=0;Oe--;)ve[Oe]===Ve&&++Pt;return Pt}var Ei=P(I),Ks=P(G);function ml(ve){return"\\"+qe[ve]}function vs(ve,Ve){return ve==null?t:ve[Ve]}function Ys(ve){return ti.test(ve)}function of(ve){return ri.test(ve)}function sc(ve){for(var Ve,Oe=[];!(Ve=ve.next()).done;)Oe.push(Ve.value);return Oe}function ac(ve){var Ve=-1,Oe=Array(ve.size);return ve.forEach(function(Pt,sr){Oe[++Ve]=[sr,Pt]}),Oe}function su(ve,Ve){return function(Oe){return ve(Ve(Oe))}}function wo(ve,Ve){for(var Oe=-1,Pt=ve.length,sr=0,Pr=[];++Oe<Pt;){var bn=ve[Oe];(bn===Ve||bn===R)&&(ve[Oe]=R,Pr[sr++]=Oe)}return Pr}function Ra(ve){var Ve=-1,Oe=Array(ve.size);return ve.forEach(function(Pt){Oe[++Ve]=Pt}),Oe}function sf(ve){var Ve=-1,Oe=Array(ve.size);return ve.forEach(function(Pt){Oe[++Ve]=[Pt,Pt]}),Oe}function af(ve,Ve,Oe){for(var Pt=Oe-1,sr=ve.length;++Pt<sr;)if(ve[Pt]===Ve)return Pt;return-1}function lf(ve,Ve,Oe){for(var Pt=Oe+1;Pt--;)if(ve[Pt]===Ve)return Pt;return Pt}function Xs(ve){return Ys(ve)?vl(ve):hl(ve)}function fn(ve){return Ys(ve)?ki(ve):pl(ve)}function au(ve){for(var Ve=ve.length;Ve--&&Mt.test(ve.charAt(Ve)););return Ve}var lu=P(ae);function vl(ve){for(var Ve=Rn.lastIndex=0;Rn.test(ve);)++Ve;return Ve}function ki(ve){return ve.match(Rn)||[]}function cu(ve){return ve.match(_o)||[]}var yl=function ve(Ve){Ve=Ve==null?dr:Ao.defaults(dr.Object(),Ve,Ao.pick(dr,$i));var Oe=Ve.Array,Pt=Ve.Date,sr=Ve.Error,Pr=Ve.Function,bn=Ve.Math,Wr=Ve.Object,Js=Ve.RegExp,uu=Ve.String,Bi=Ve.TypeError,bl=Oe.prototype,cf=Pr.prototype,Uo=Wr.prototype,en=Ve["__core-js_shared__"],Wo=cf.toString,zr=Uo.hasOwnProperty,lc=0,ln=function(){var o=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),To=Uo.toString,cc=Wo.call(Wr),uc=dr._,fc=Js("^"+Wo.call(zr).replace(rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qs=In?Ve.Buffer:t,Eo=Ve.Symbol,Ia=Ve.Uint8Array,La=Qs?Qs.allocUnsafe:t,ys=su(Wr.getPrototypeOf,Wr),ea=Wr.create,_l=Uo.propertyIsEnumerable,ko=bl.splice,xl=Eo?Eo.isConcatSpreadable:t,Vi=Eo?Eo.iterator:t,Ro=Eo?Eo.toStringTag:t,Vo=function(){try{var o=Hc(Wr,"defineProperty");return o({},"",{}),o}catch{}}(),uf=Ve.clearTimeout!==dr.clearTimeout&&Ve.clearTimeout,Ma=Pt&&Pt.now!==dr.Date.now&&Pt.now,fu=Ve.setTimeout!==dr.setTimeout&&Ve.setTimeout,ta=bn.ceil,bs=bn.floor,ra=Wr.getOwnPropertySymbols,Sl=Qs?Qs.isBuffer:t,na=Ve.isFinite,Da=bl.join,du=su(Wr.keys,Wr),cn=bn.max,Ln=bn.min,Go=Pt.now,dc=Ve.parseInt,Zo=bn.random,Cl=bl.reverse,io=Hc(Ve,"DataView"),Ko=Hc(Ve,"Map"),ia=Hc(Ve,"Promise"),oo=Hc(Ve,"Set"),Io=Hc(Ve,"WeakMap"),oa=Hc(Wr,"create"),Oa=Io&&new Io,_s={},Yo=qc(io),hc=qc(Ko),ff=qc(ia),hu=qc(oo),sa=qc(Io),Xo=Eo?Eo.prototype:t,xs=Xo?Xo.valueOf:t,Pa=Xo?Xo.toString:t;function U(o){if(Nn(o)&&!_r(o)&&!(o instanceof br)){if(o instanceof ii)return o;if(zr.call(o,"__wrapped__"))return av(o)}return new ii(o)}var Lo=function(){function o(){}return function(a){if(!Mn(a))return{};if(ea)return ea(a);o.prototype=a;var p=new o;return o.prototype=t,p}}();function Mo(){}function ii(o,a){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=t}U.templateSettings={escape:Bt,evaluate:Wt,interpolate:rr,variable:"",imports:{_:U}},U.prototype=Mo.prototype,U.prototype.constructor=U,ii.prototype=Lo(Mo.prototype),ii.prototype.constructor=ii;function br(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=se,this.__views__=[]}function wl(){var o=new br(this.__wrapped__);return o.__actions__=si(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=si(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=si(this.__views__),o}function Na(){if(this.__filtered__){var o=new br(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function Al(){var o=this.__wrapped__.value(),a=this.__dir__,p=_r(o),k=a<0,q=p?o.length:0,Z=RS(0,q,this.__views__),oe=Z.start,he=Z.end,_e=he-oe,nt=k?he:oe-1,ot=this.__iteratees__,ut=ot.length,Nt=0,Jt=Ln(_e,this.__takeCount__);if(!p||!k&&q==_e&&Jt==_e)return oi(o,this.__actions__);var cr=[];e:for(;_e--&&Nt<Jt;){nt+=a;for(var Ir=-1,ur=o[nt];++Ir<ut;){var Fr=ot[Ir],qr=Fr.iteratee,jo=Fr.type,Qi=qr(ur);if(jo==de)ur=Qi;else if(!Qi){if(jo==re)continue e;break e}}cr[Nt++]=ur}return cr}br.prototype=Lo(Mo.prototype),br.prototype.constructor=br;function so(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var k=o[a];this.set(k[0],k[1])}}function pc(){this.__data__=oa?oa(null):{},this.size=0}function pu(o){var a=this.has(o)&&delete this.__data__[o];return this.size-=a?1:0,a}function gu(o){var a=this.__data__;if(oa){var p=a[o];return p===g?t:p}return zr.call(a,o)?a[o]:t}function mu(o){var a=this.__data__;return oa?a[o]!==t:zr.call(a,o)}function df(o,a){var p=this.__data__;return this.size+=this.has(o)?0:1,p[o]=oa&&a===t?g:a,this}so.prototype.clear=pc,so.prototype.delete=pu,so.prototype.get=gu,so.prototype.has=mu,so.prototype.set=df;function ao(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var k=o[a];this.set(k[0],k[1])}}function hf(){this.__data__=[],this.size=0}function pf(o){var a=this.__data__,p=Gi(a,o);if(p<0)return!1;var k=a.length-1;return p==k?a.pop():ko.call(a,p,1),--this.size,!0}function gc(o){var a=this.__data__,p=Gi(a,o);return p<0?t:a[p][1]}function Fa(o){return Gi(this.__data__,o)>-1}function gf(o,a){var p=this.__data__,k=Gi(p,o);return k<0?(++this.size,p.push([o,a])):p[k][1]=a,this}ao.prototype.clear=hf,ao.prototype.delete=pf,ao.prototype.get=gc,ao.prototype.has=Fa,ao.prototype.set=gf;function Do(o){var a=-1,p=o==null?0:o.length;for(this.clear();++a<p;){var k=o[a];this.set(k[0],k[1])}}function mc(){this.size=0,this.__data__={hash:new so,map:new(Ko||ao),string:new so}}function Tl(o){var a=hd(this,o).delete(o);return this.size-=a?1:0,a}function mf(o){return hd(this,o).get(o)}function vf(o){return hd(this,o).has(o)}function yf(o,a){var p=hd(this,o),k=p.size;return p.set(o,a),this.size+=p.size==k?0:1,this}Do.prototype.clear=mc,Do.prototype.delete=Tl,Do.prototype.get=mf,Do.prototype.has=vf,Do.prototype.set=yf;function ui(o){var a=-1,p=o==null?0:o.length;for(this.__data__=new Do;++a<p;)this.add(o[a])}function vc(o){return this.__data__.set(o,g),this}function El(o){return this.__data__.has(o)}ui.prototype.add=ui.prototype.push=vc,ui.prototype.has=El;function Rr(o){var a=this.__data__=new ao(o);this.size=a.size}function Ri(){this.__data__=new ao,this.size=0}function aa(o){var a=this.__data__,p=a.delete(o);return this.size=a.size,p}function Ss(o){return this.__data__.get(o)}function Nr(o){return this.__data__.has(o)}function Jo(o,a){var p=this.__data__;if(p instanceof ao){var k=p.__data__;if(!Ko||k.length<i-1)return k.push([o,a]),this.size=++p.size,this;p=this.__data__=new Do(k)}return p.set(o,a),this.size=p.size,this}Rr.prototype.clear=Ri,Rr.prototype.delete=aa,Rr.prototype.get=Ss,Rr.prototype.has=Nr,Rr.prototype.set=Jo;function ja(o,a){var p=_r(o),k=!p&&zc(o),q=!p&&!k&&Wl(o),Z=!p&&!k&&!q&&Iu(o),oe=p||k||q||Z,he=oe?Ce(o.length,uu):[],_e=he.length;for(var nt in o)(a||zr.call(o,nt))&&!(oe&&(nt=="length"||q&&(nt=="offset"||nt=="parent")||Z&&(nt=="buffer"||nt=="byteLength"||nt=="byteOffset")||Ya(nt,_e)))&&he.push(nt);return he}function mi(o){var a=o.length;return a?o[Rs(0,a-1)]:t}function Ii(o,a){return pd(si(o),ws(a,0,o.length))}function lo(o){return pd(si(o))}function yc(o,a,p){(p!==t&&!Ls(o[a],p)||p===t&&!(a in o))&&Li(o,a,p)}function fi(o,a,p){var k=o[a];(!(zr.call(o,a)&&Ls(k,p))||p===t&&!(a in o))&&Li(o,a,p)}function Gi(o,a){for(var p=o.length;p--;)if(Ls(o[p][0],a))return p;return-1}function Cs(o,a,p,k){return Qo(o,function(q,Z,oe){a(k,q,p(q),oe)}),k}function vu(o,a){return o&&Xi(a,vi(a),o)}function bc(o,a){return o&&Xi(a,mo(a),o)}function Li(o,a,p){a=="__proto__"&&Vo?Vo(o,a,{configurable:!0,enumerable:!0,value:p,writable:!0}):o[a]=p}function _c(o,a){for(var p=-1,k=a.length,q=Oe(k),Z=o==null;++p<k;)q[p]=Z?t:qh(o,a[p]);return q}function ws(o,a,p){return o===o&&(p!==t&&(o=o<=p?o:p),a!==t&&(o=o>=a?o:a)),o}function di(o,a,p,k,q,Z){var oe,he=a&w,_e=a&b,nt=a&S;if(p&&(oe=q?p(o,k,q,Z):p(o)),oe!==t)return oe;if(!Mn(o))return o;var ot=_r(o);if(ot){if(oe=LS(o),!he)return si(o,oe)}else{var ut=Hi(o),Nt=ut==be||ut==We;if(Wl(o))return ga(o,he);if(ut==Ie||ut==we||Nt&&!q){if(oe=_e||Nt?{}:Jm(o),!he)return _e?ku(o,bc(oe,o)):Sf(o,vu(oe,o))}else{if(!Mr[ut])return q?o:{};oe=MS(o,ut,he)}}Z||(Z=new Rr);var Jt=Z.get(o);if(Jt)return Jt;Z.set(o,oe),Ev(o)?o.forEach(function(ur){oe.add(di(ur,a,p,ur,o,Z))}):Av(o)&&o.forEach(function(ur,Fr){oe.set(Fr,di(ur,a,p,Fr,o,Z))});var cr=nt?_e?Eh:Th:_e?mo:vi,Ir=ot?t:cr(o);return zn(Ir||o,function(ur,Fr){Ir&&(Fr=ur,ur=o[Fr]),fi(oe,Fr,di(ur,a,p,Fr,o,Z))}),oe}function xc(o){var a=vi(o);return function(p){return Sc(p,o,a)}}function Sc(o,a,p){var k=p.length;if(o==null)return!k;for(o=Wr(o);k--;){var q=p[k],Z=a[q],oe=o[q];if(oe===t&&!(q in o)||!Z(oe))return!1}return!0}function Cc(o,a,p){if(typeof o!="function")throw new Bi(u);return Af(function(){o.apply(t,p)},a)}function As(o,a,p,k){var q=-1,Z=So,oe=!0,he=o.length,_e=[],nt=a.length;if(!he)return _e;p&&(a=Kr(a,Vt(p))),k?(Z=$n,oe=!1):a.length>=i&&(Z=ar,oe=!1,a=new ui(a));e:for(;++q<he;){var ot=o[q],ut=p==null?ot:p(ot);if(ot=k||ot!==0?ot:0,oe&&ut===ut){for(var Nt=nt;Nt--;)if(a[Nt]===ut)continue e;_e.push(ot)}else Z(a,ut,k)||_e.push(ot)}return _e}var Qo=s(Mi),wc=s(Rl,!0);function yu(o,a){var p=!0;return Qo(o,function(k,q,Z){return p=!!a(k,q,Z),p}),p}function kl(o,a,p){for(var k=-1,q=o.length;++k<q;){var Z=o[k],oe=a(Z);if(oe!=null&&(he===t?oe===oe&&!Fo(oe):p(oe,he)))var he=oe,_e=Z}return _e}function bf(o,a,p,k){var q=o.length;for(p=Er(p),p<0&&(p=-p>q?0:q+p),k=k===t||k>q?q:Er(k),k<0&&(k+=q),k=p>k?0:Rv(k);p<k;)o[p++]=a;return o}function bu(o,a){var p=[];return Qo(o,function(k,q,Z){a(k,q,Z)&&p.push(k)}),p}function Un(o,a,p,k,q){var Z=-1,oe=o.length;for(p||(p=OS),q||(q=[]);++Z<oe;){var he=o[Z];a>0&&p(he)?a>1?Un(he,a-1,p,k,q):Ai(q,he):k||(q[q.length]=he)}return q}var Ac=c(),_u=c(!0);function Mi(o,a){return o&&Ac(o,a,vi)}function Rl(o,a){return o&&_u(o,a,vi)}function la(o,a){return Wi(a,function(p){return Xa(o[p])})}function es(o,a){a=No(a,o);for(var p=0,k=a.length;o!=null&&p<k;)o=o[ma(a[p++])];return p&&p==k?o:t}function Ba(o,a,p){var k=a(o);return _r(o)?k:Ai(k,p(o))}function Pn(o){return o==null?o===t?It:it:Ro&&Ro in Wr(o)?kS(o):qS(o)}function Ts(o,a){return o>a}function Il(o,a){return o!=null&&zr.call(o,a)}function ca(o,a){return o!=null&&a in Wr(o)}function Ll(o,a,p){return o>=Ln(a,p)&&o<cn(a,p)}function ua(o,a,p){for(var k=p?$n:So,q=o[0].length,Z=o.length,oe=Z,he=Oe(Z),_e=1/0,nt=[];oe--;){var ot=o[oe];oe&&a&&(ot=Kr(ot,Vt(a))),_e=Ln(ot.length,_e),he[oe]=!p&&(a||q>=120&&ot.length>=120)?new ui(oe&&ot):t}ot=o[0];var ut=-1,Nt=he[0];e:for(;++ut<q&&nt.length<_e;){var Jt=ot[ut],cr=a?a(Jt):Jt;if(Jt=p||Jt!==0?Jt:0,!(Nt?ar(Nt,cr):k(nt,cr,p))){for(oe=Z;--oe;){var Ir=he[oe];if(!(Ir?ar(Ir,cr):k(o[oe],cr,p)))continue e}Nt&&Nt.push(cr),nt.push(Jt)}}return nt}function Ml(o,a,p,k){return Mi(o,function(q,Z,oe){a(k,p(q),Z,oe)}),k}function co(o,a,p){a=No(a,o),o=rv(o,a);var k=o==null?o:o[ma(ss(a))];return k==null?t:an(k,o,p)}function Dl(o){return Nn(o)&&Pn(o)==we}function Es(o){return Nn(o)&&Pn(o)==mt}function xu(o){return Nn(o)&&Pn(o)==Ge}function Ha(o,a,p,k,q){return o===a?!0:o==null||a==null||!Nn(o)&&!Nn(a)?o!==o&&a!==a:fa(o,a,p,k,Ha,q)}function fa(o,a,p,k,q,Z){var oe=_r(o),he=_r(a),_e=oe?De:Hi(o),nt=he?De:Hi(a);_e=_e==we?Ie:_e,nt=nt==we?Ie:nt;var ot=_e==Ie,ut=nt==Ie,Nt=_e==nt;if(Nt&&Wl(o)){if(!Wl(a))return!1;oe=!0,ot=!1}if(Nt&&!ot)return Z||(Z=new Rr),oe||Iu(o)?Km(o,a,p,k,q,Z):TS(o,a,_e,p,k,q,Z);if(!(p&_)){var Jt=ot&&zr.call(o,"__wrapped__"),cr=ut&&zr.call(a,"__wrapped__");if(Jt||cr){var Ir=Jt?o.value():o,ur=cr?a.value():a;return Z||(Z=new Rr),q(Ir,ur,p,k,Z)}}return Nt?(Z||(Z=new Rr),ES(o,a,p,k,q,Z)):!1}function da(o){return Nn(o)&&Hi(o)==ht}function Tc(o,a,p,k){var q=p.length,Z=q,oe=!k;if(o==null)return!Z;for(o=Wr(o);q--;){var he=p[q];if(oe&&he[2]?he[1]!==o[he[0]]:!(he[0]in o))return!1}for(;++q<Z;){he=p[q];var _e=he[0],nt=o[_e],ot=he[1];if(oe&&he[2]){if(nt===t&&!(_e in o))return!1}else{var ut=new Rr;if(k)var Nt=k(nt,ot,_e,o,a,ut);if(!(Nt===t?Ha(ot,nt,_|M,k,ut):Nt))return!1}}return!0}function Su(o){if(!Mn(o)||NS(o))return!1;var a=Xa(o)?fc:or;return a.test(qc(o))}function ks(o){return Nn(o)&&Pn(o)==gt}function Ol(o){return Nn(o)&&Hi(o)==wt}function Oo(o){return Nn(o)&&_d(o.length)&&!!Ar[Pn(o)]}function Pl(o){return typeof o=="function"?o:o==null?vo:typeof o=="object"?_r(o)?za(o[0],o[1]):uo(o):Hv(o)}function Po(o){if(!wf(o))return du(o);var a=[];for(var p in Wr(o))zr.call(o,p)&&p!="constructor"&&a.push(p);return a}function qa(o){if(!Mn(o))return HS(o);var a=wf(o),p=[];for(var k in o)k=="constructor"&&(a||!zr.call(o,k))||p.push(k);return p}function Zi(o,a){return o<a}function Ki(o,a){var p=-1,k=go(o)?Oe(o.length):[];return Qo(o,function(q,Z,oe){k[++p]=a(q,Z,oe)}),k}function uo(o){var a=Rh(o);return a.length==1&&a[0][2]?ev(a[0][0],a[0][1]):function(p){return p===o||Tc(p,o,a)}}function za(o,a){return Lh(o)&&Qm(a)?ev(ma(o),a):function(p){var k=qh(p,o);return k===t&&k===a?zh(p,o):Ha(a,k,_|M)}}function ts(o,a,p,k,q){o!==a&&Ac(a,function(Z,oe){if(q||(q=new Rr),Mn(Z))Yi(o,a,oe,p,ts,k,q);else{var he=k?k(Dh(o,oe),Z,oe+"",o,a,q):t;he===t&&(he=Z),yc(o,oe,he)}},mo)}function Yi(o,a,p,k,q,Z,oe){var he=Dh(o,p),_e=Dh(a,p),nt=oe.get(_e);if(nt){yc(o,p,nt);return}var ot=Z?Z(he,_e,p+"",o,a,oe):t,ut=ot===t;if(ut){var Nt=_r(_e),Jt=!Nt&&Wl(_e),cr=!Nt&&!Jt&&Iu(_e);ot=_e,Nt||Jt||cr?_r(he)?ot=he:Vn(he)?ot=si(he):Jt?(ut=!1,ot=ga(_e,!0)):cr?(ut=!1,ot=jc(_e,!0)):ot=[]:Tf(_e)||zc(_e)?(ot=he,zc(he)?ot=Iv(he):(!Mn(he)||Xa(he))&&(ot=Jm(_e))):ut=!1}ut&&(oe.set(_e,ot),q(ot,_e,k,Z,oe),oe.delete(_e)),yc(o,p,ot)}function ha(o,a){var p=o.length;if(p)return a+=a<0?p:0,Ya(a,p)?o[a]:t}function Nl(o,a,p){a.length?a=Kr(a,function(Z){return _r(Z)?function(oe){return es(oe,Z.length===1?Z[0]:Z)}:Z}):a=[vo];var k=-1;a=Kr(a,Vt(lr()));var q=Ki(o,function(Z,oe,he){var _e=Kr(a,function(nt){return nt(Z)});return{criteria:_e,index:++k,value:Z}});return ee(q,function(Z,oe){return Tu(Z,oe,p)})}function $a(o,a){return pa(o,a,function(p,k){return zh(o,k)})}function pa(o,a,p){for(var k=-1,q=a.length,Z={};++k<q;){var oe=a[k],he=es(o,oe);p(he,oe)&&Is(Z,No(oe,o),he)}return Z}function Cu(o){return function(a){return es(a,o)}}function Ec(o,a,p,k){var q=k?gl:Co,Z=-1,oe=a.length,he=o;for(o===a&&(a=si(a)),p&&(he=Kr(o,Vt(p)));++Z<oe;)for(var _e=0,nt=a[Z],ot=p?p(nt):nt;(_e=q(he,ot,_e,k))>-1;)he!==o&&ko.call(he,_e,1),ko.call(o,_e,1);return o}function kc(o,a){for(var p=o?a.length:0,k=p-1;p--;){var q=a[p];if(p==k||q!==Z){var Z=q;Ya(q)?ko.call(o,q,1):Dc(o,q)}}return o}function Rs(o,a){return o+bs(Zo()*(a-o+1))}function Rc(o,a,p,k){for(var q=-1,Z=cn(ta((a-o)/(p||1)),0),oe=Oe(Z);Z--;)oe[k?Z:++q]=o,o+=p;return oe}function Fl(o,a){var p="";if(!o||a<1||a>ce)return p;do a%2&&(p+=o),a=bs(a/2),a&&(o+=o);while(a);return p}function mr(o,a){return Oh(tv(o,a,vo),o+"")}function Ua(o){return mi(Lu(o))}function Ic(o,a){var p=Lu(o);return pd(p,ws(a,0,p.length))}function Is(o,a,p,k){if(!Mn(o))return o;a=No(a,o);for(var q=-1,Z=a.length,oe=Z-1,he=o;he!=null&&++q<Z;){var _e=ma(a[q]),nt=p;if(_e==="__proto__"||_e==="constructor"||_e==="prototype")return o;if(q!=oe){var ot=he[_e];nt=k?k(ot,_e,he):t,nt===t&&(nt=Mn(ot)?ot:Ya(a[q+1])?[]:{})}fi(he,_e,nt),he=he[_e]}return o}var Lc=Oa?function(o,a){return Oa.set(o,a),o}:vo,wu=Vo?function(o,a){return Vo(o,"toString",{configurable:!0,enumerable:!1,value:Uh(a),writable:!0})}:vo;function Mc(o){return pd(Lu(o))}function Di(o,a,p){var k=-1,q=o.length;a<0&&(a=-a>q?0:q+a),p=p>q?q:p,p<0&&(p+=q),q=a>p?0:p-a>>>0,a>>>=0;for(var Z=Oe(q);++k<q;)Z[k]=o[k+a];return Z}function _f(o,a){var p;return Qo(o,function(k,q,Z){return p=a(k,q,Z),!p}),!!p}function jl(o,a,p){var k=0,q=o==null?k:o.length;if(typeof a=="number"&&a===a&&q<=Ne){for(;k<q;){var Z=k+q>>>1,oe=o[Z];oe!==null&&!Fo(oe)&&(p?oe<=a:oe<a)?k=Z+1:q=Z}return q}return Bl(o,a,vo,p)}function Bl(o,a,p,k){var q=0,Z=o==null?0:o.length;if(Z===0)return 0;a=p(a);for(var oe=a!==a,he=a===null,_e=Fo(a),nt=a===t;q<Z;){var ot=bs((q+Z)/2),ut=p(o[ot]),Nt=ut!==t,Jt=ut===null,cr=ut===ut,Ir=Fo(ut);if(oe)var ur=k||cr;else nt?ur=cr&&(k||Nt):he?ur=cr&&Nt&&(k||!Jt):_e?ur=cr&&Nt&&!Jt&&(k||!Ir):Jt||Ir?ur=!1:ur=k?ut<=a:ut<a;ur?q=ot+1:Z=ot}return Ln(Z,pe)}function Au(o,a){for(var p=-1,k=o.length,q=0,Z=[];++p<k;){var oe=o[p],he=a?a(oe):oe;if(!p||!Ls(he,_e)){var _e=he;Z[q++]=oe===0?0:oe}}return Z}function Hl(o){return typeof o=="number"?o:Fo(o)?le:+o}function Oi(o){if(typeof o=="string")return o;if(_r(o))return Kr(o,Oi)+"";if(Fo(o))return Pa?Pa.call(o):"";var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function Tn(o,a,p){var k=-1,q=So,Z=o.length,oe=!0,he=[],_e=he;if(p)oe=!1,q=$n;else if(Z>=i){var nt=a?null:Cf(o);if(nt)return Ra(nt);oe=!1,q=ar,_e=new ui}else _e=a?[]:he;e:for(;++k<Z;){var ot=o[k],ut=a?a(ot):ot;if(ot=p||ot!==0?ot:0,oe&&ut===ut){for(var Nt=_e.length;Nt--;)if(_e[Nt]===ut)continue e;a&&_e.push(ut),he.push(ot)}else q(_e,ut,p)||(_e!==he&&_e.push(ut),he.push(ot))}return he}function Dc(o,a){return a=No(a,o),o=rv(o,a),o==null||delete o[ma(ss(a))]}function Wa(o,a,p,k){return Is(o,a,p(es(o,a)),k)}function ql(o,a,p,k){for(var q=o.length,Z=k?q:-1;(k?Z--:++Z<q)&&a(o[Z],Z,o););return p?Di(o,k?0:Z,k?Z+1:q):Di(o,k?Z+1:0,k?q:Z)}function oi(o,a){var p=o;return p instanceof br&&(p=p.value()),Ea(a,function(k,q){return q.func.apply(q.thisArg,Ai([k],q.args))},p)}function Oc(o,a,p){var k=o.length;if(k<2)return k?Tn(o[0]):[];for(var q=-1,Z=Oe(k);++q<k;)for(var oe=o[q],he=-1;++he<k;)he!=q&&(Z[q]=As(Z[q]||oe,o[he],a,p));return Tn(Un(Z,1),a,p)}function Pc(o,a,p){for(var k=-1,q=o.length,Z=a.length,oe={};++k<q;){var he=k<Z?a[k]:t;p(oe,o[k],he)}return oe}function zl(o){return Vn(o)?o:[]}function rs(o){return typeof o=="function"?o:vo}function No(o,a){return _r(o)?o:Lh(o,a)?[o]:sv(tn(o))}var xf=mr;function fo(o,a,p){var k=o.length;return p=p===t?k:p,!a&&p>=k?o:Di(o,a,p)}var ns=uf||function(o){return dr.clearTimeout(o)};function ga(o,a){if(a)return o.slice();var p=o.length,k=La?La(p):new o.constructor(p);return o.copy(k),k}function Nc(o){var a=new o.constructor(o.byteLength);return new Ia(a).set(new Ia(o)),a}function Fc(o,a){var p=a?Nc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.byteLength)}function Va(o){var a=new o.constructor(o.source,At.exec(o));return a.lastIndex=o.lastIndex,a}function $l(o){return xs?Wr(xs.call(o)):{}}function jc(o,a){var p=a?Nc(o.buffer):o.buffer;return new o.constructor(p,o.byteOffset,o.length)}function Ga(o,a){if(o!==a){var p=o!==t,k=o===null,q=o===o,Z=Fo(o),oe=a!==t,he=a===null,_e=a===a,nt=Fo(a);if(!he&&!nt&&!Z&&o>a||Z&&oe&&_e&&!he&&!nt||k&&oe&&_e||!p&&_e||!q)return 1;if(!k&&!Z&&!nt&&o<a||nt&&p&&q&&!k&&!Z||he&&p&&q||!oe&&q||!_e)return-1}return 0}function Tu(o,a,p){for(var k=-1,q=o.criteria,Z=a.criteria,oe=q.length,he=p.length;++k<oe;){var _e=Ga(q[k],Z[k]);if(_e){if(k>=he)return _e;var nt=p[k];return _e*(nt=="desc"?-1:1)}}return o.index-a.index}function Eu(o,a,p,k){for(var q=-1,Z=o.length,oe=p.length,he=-1,_e=a.length,nt=cn(Z-oe,0),ot=Oe(_e+nt),ut=!k;++he<_e;)ot[he]=a[he];for(;++q<oe;)(ut||q<Z)&&(ot[p[q]]=o[q]);for(;nt--;)ot[he++]=o[q++];return ot}function Bc(o,a,p,k){for(var q=-1,Z=o.length,oe=-1,he=p.length,_e=-1,nt=a.length,ot=cn(Z-he,0),ut=Oe(ot+nt),Nt=!k;++q<ot;)ut[q]=o[q];for(var Jt=q;++_e<nt;)ut[Jt+_e]=a[_e];for(;++oe<he;)(Nt||q<Z)&&(ut[Jt+p[oe]]=o[q++]);return ut}function si(o,a){var p=-1,k=o.length;for(a||(a=Oe(k));++p<k;)a[p]=o[p];return a}function Xi(o,a,p,k){var q=!p;p||(p={});for(var Z=-1,oe=a.length;++Z<oe;){var he=a[Z],_e=k?k(p[he],o[he],he,p,o):t;_e===t&&(_e=o[he]),q?Li(p,he,_e):fi(p,he,_e)}return p}function Sf(o,a){return Xi(o,Ih(o),a)}function ku(o,a){return Xi(o,Ym(o),a)}function Ul(o,a){return function(p,k){var q=_r(p)?ps:Cs,Z=a?a():{};return q(p,o,lr(k,2),Z)}}function d(o){return mr(function(a,p){var k=-1,q=p.length,Z=q>1?p[q-1]:t,oe=q>2?p[2]:t;for(Z=o.length>3&&typeof Z=="function"?(q--,Z):t,oe&&Ji(p[0],p[1],oe)&&(Z=q<3?t:Z,q=1),a=Wr(a);++k<q;){var he=p[k];he&&o(a,he,k,Z)}return a})}function s(o,a){return function(p,k){if(p==null)return p;if(!go(p))return o(p,k);for(var q=p.length,Z=a?q:-1,oe=Wr(p);(a?Z--:++Z<q)&&k(oe[Z],Z,oe)!==!1;);return p}}function c(o){return function(a,p,k){for(var q=-1,Z=Wr(a),oe=k(a),he=oe.length;he--;){var _e=oe[o?he:++q];if(p(Z[_e],_e,Z)===!1)break}return a}}function h(o,a,p){var k=a&E,q=F(o);function Z(){var oe=this&&this!==dr&&this instanceof Z?q:o;return oe.apply(k?p:this,arguments)}return Z}function y(o){return function(a){a=tn(a);var p=Ys(a)?fn(a):t,k=p?p[0]:a.charAt(0),q=p?fo(p,1).join(""):a.slice(1);return k[o]()+q}}function D(o){return function(a){return Ea(jv(Fv(a).replace(ro,"")),o,"")}}function F(o){return function(){var a=arguments;switch(a.length){case 0:return new o;case 1:return new o(a[0]);case 2:return new o(a[0],a[1]);case 3:return new o(a[0],a[1],a[2]);case 4:return new o(a[0],a[1],a[2],a[3]);case 5:return new o(a[0],a[1],a[2],a[3],a[4]);case 6:return new o(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new o(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var p=Lo(o.prototype),k=o.apply(p,a);return Mn(k)?k:p}}function W(o,a,p){var k=F(o);function q(){for(var Z=arguments.length,oe=Oe(Z),he=Z,_e=Ru(q);he--;)oe[he]=arguments[he];var nt=Z<3&&oe[0]!==_e&&oe[Z-1]!==_e?[]:wo(oe,_e);if(Z-=nt.length,Z<p)return po(o,a,Je,q.placeholder,t,oe,nt,t,t,p-Z);var ot=this&&this!==dr&&this instanceof q?k:o;return an(ot,this,oe)}return q}function ie(o){return function(a,p,k){var q=Wr(a);if(!go(a)){var Z=lr(p,3);a=vi(a),p=function(he){return Z(q[he],he,q)}}var oe=o(a,p,k);return oe>-1?q[Z?a[oe]:oe]:t}}function Se(o){return Ka(function(a){var p=a.length,k=p,q=ii.prototype.thru;for(o&&a.reverse();k--;){var Z=a[k];if(typeof Z!="function")throw new Bi(u);if(q&&!oe&&dd(Z)=="wrapper")var oe=new ii([],!0)}for(k=oe?k:p;++k<p;){Z=a[k];var he=dd(Z),_e=he=="wrapper"?kh(Z):t;_e&&Mh(_e[0])&&_e[1]==(K|O|H|ue)&&!_e[4].length&&_e[9]==1?oe=oe[dd(_e[0])].apply(oe,_e[3]):oe=Z.length==1&&Mh(Z)?oe[he]():oe.thru(Z)}return function(){var nt=arguments,ot=nt[0];if(oe&&nt.length==1&&_r(ot))return oe.plant(ot).value();for(var ut=0,Nt=p?a[ut].apply(this,nt):ot;++ut<p;)Nt=a[ut].call(this,Nt);return Nt}})}function Je(o,a,p,k,q,Z,oe,he,_e,nt){var ot=a&K,ut=a&E,Nt=a&x,Jt=a&(O|B),cr=a&J,Ir=Nt?t:F(o);function ur(){for(var Fr=arguments.length,qr=Oe(Fr),jo=Fr;jo--;)qr[jo]=arguments[jo];if(Jt)var Qi=Ru(ur),Bo=Ti(qr,Qi);if(k&&(qr=Eu(qr,k,q,Jt)),Z&&(qr=Bc(qr,Z,oe,Jt)),Fr-=Bo,Jt&&Fr<nt){var Gn=wo(qr,Qi);return po(o,a,Je,ur.placeholder,p,qr,Gn,he,_e,nt-Fr)}var Ms=ut?p:this,Qa=Nt?Ms[o]:o;return Fr=qr.length,he?qr=zS(qr,he):cr&&Fr>1&&qr.reverse(),ot&&_e<Fr&&(qr.length=_e),this&&this!==dr&&this instanceof ur&&(Qa=Ir||F(Qa)),Qa.apply(Ms,qr)}return ur}function lt(o,a){return function(p,k){return Ml(p,o,a(k),{})}}function Rt(o,a){return function(p,k){var q;if(p===t&&k===t)return a;if(p!==t&&(q=p),k!==t){if(q===t)return k;typeof p=="string"||typeof k=="string"?(p=Oi(p),k=Oi(k)):(p=Hl(p),k=Hl(k)),q=o(p,k)}return q}}function tr(o){return Ka(function(a){return a=Kr(a,Vt(lr())),mr(function(p){var k=this;return o(a,function(q){return an(q,k,p)})})})}function Dr(o,a){a=a===t?" ":Oi(a);var p=a.length;if(p<2)return p?Fl(a,o):a;var k=Fl(a,ta(o/Xs(a)));return Ys(a)?fo(fn(k),0,o).join(""):k.slice(0,o)}function Wn(o,a,p,k){var q=a&E,Z=F(o);function oe(){for(var he=-1,_e=arguments.length,nt=-1,ot=k.length,ut=Oe(ot+_e),Nt=this&&this!==dr&&this instanceof oe?Z:o;++nt<ot;)ut[nt]=k[nt];for(;_e--;)ut[nt++]=arguments[++he];return an(Nt,q?p:this,ut)}return oe}function is(o){return function(a,p,k){return k&&typeof k!="number"&&Ji(a,p,k)&&(p=k=t),a=Ja(a),p===t?(p=a,a=0):p=Ja(p),k=k===t?a<p?1:-1:Ja(k),Rc(a,p,k,o)}}function ho(o){return function(a,p){return typeof a=="string"&&typeof p=="string"||(a=as(a),p=as(p)),o(a,p)}}function po(o,a,p,k,q,Z,oe,he,_e,nt){var ot=a&O,ut=ot?oe:t,Nt=ot?t:oe,Jt=ot?Z:t,cr=ot?t:Z;a|=ot?H:z,a&=~(ot?z:H),a&L||(a&=-4);var Ir=[o,a,q,Jt,ut,cr,Nt,he,_e,nt],ur=p.apply(t,Ir);return Mh(o)&&nv(ur,Ir),ur.placeholder=k,iv(ur,o,a)}function os(o){var a=bn[o];return function(p,k){if(p=as(p),k=k==null?0:Ln(Er(k),292),k&&na(p)){var q=(tn(p)+"e").split("e"),Z=a(q[0]+"e"+(+q[1]+k));return q=(tn(Z)+"e").split("e"),+(q[0]+"e"+(+q[1]-k))}return a(p)}}var Cf=oo&&1/Ra(new oo([,-0]))[1]==ye?function(o){return new oo(o)}:Gh;function fd(o){return function(a){var p=Hi(a);return p==ht?ac(a):p==wt?sf(a):Xe(a,o(a))}}function Za(o,a,p,k,q,Z,oe,he){var _e=a&x;if(!_e&&typeof o!="function")throw new Bi(u);var nt=k?k.length:0;if(nt||(a&=-97,k=q=t),oe=oe===t?oe:cn(Er(oe),0),he=he===t?he:Er(he),nt-=q?q.length:0,a&z){var ot=k,ut=q;k=q=t}var Nt=_e?t:kh(o),Jt=[o,a,p,k,q,ot,ut,Z,oe,he];if(Nt&&BS(Jt,Nt),o=Jt[0],a=Jt[1],p=Jt[2],k=Jt[3],q=Jt[4],he=Jt[9]=Jt[9]===t?_e?0:o.length:cn(Jt[9]-nt,0),!he&&a&(O|B)&&(a&=-25),!a||a==E)var cr=h(o,a,p);else a==O||a==B?cr=W(o,a,he):(a==H||a==(E|H))&&!q.length?cr=Wn(o,a,p,k):cr=Je.apply(t,Jt);var Ir=Nt?Lc:nv;return iv(Ir(cr,Jt),o,a)}function Gm(o,a,p,k){return o===t||Ls(o,Uo[p])&&!zr.call(k,p)?a:o}function Zm(o,a,p,k,q,Z){return Mn(o)&&Mn(a)&&(Z.set(a,o),ts(o,a,t,Zm,Z),Z.delete(a)),o}function AS(o){return Tf(o)?t:o}function Km(o,a,p,k,q,Z){var oe=p&_,he=o.length,_e=a.length;if(he!=_e&&!(oe&&_e>he))return!1;var nt=Z.get(o),ot=Z.get(a);if(nt&&ot)return nt==a&&ot==o;var ut=-1,Nt=!0,Jt=p&M?new ui:t;for(Z.set(o,a),Z.set(a,o);++ut<he;){var cr=o[ut],Ir=a[ut];if(k)var ur=oe?k(Ir,cr,ut,a,o,Z):k(cr,Ir,ut,o,a,Z);if(ur!==t){if(ur)continue;Nt=!1;break}if(Jt){if(!$o(a,function(Fr,qr){if(!ar(Jt,qr)&&(cr===Fr||q(cr,Fr,p,k,Z)))return Jt.push(qr)})){Nt=!1;break}}else if(!(cr===Ir||q(cr,Ir,p,k,Z))){Nt=!1;break}}return Z.delete(o),Z.delete(a),Nt}function TS(o,a,p,k,q,Z,oe){switch(p){case Ft:if(o.byteLength!=a.byteLength||o.byteOffset!=a.byteOffset)return!1;o=o.buffer,a=a.buffer;case mt:return!(o.byteLength!=a.byteLength||!Z(new Ia(o),new Ia(a)));case ze:case Ge:case Ct:return Ls(+o,+a);case Ae:return o.name==a.name&&o.message==a.message;case gt:case Et:return o==a+"";case ht:var he=ac;case wt:var _e=k&_;if(he||(he=Ra),o.size!=a.size&&!_e)return!1;var nt=oe.get(o);if(nt)return nt==a;k|=M,oe.set(o,a);var ot=Km(he(o),he(a),k,q,Z,oe);return oe.delete(o),ot;case xt:if(xs)return xs.call(o)==xs.call(a)}return!1}function ES(o,a,p,k,q,Z){var oe=p&_,he=Th(o),_e=he.length,nt=Th(a),ot=nt.length;if(_e!=ot&&!oe)return!1;for(var ut=_e;ut--;){var Nt=he[ut];if(!(oe?Nt in a:zr.call(a,Nt)))return!1}var Jt=Z.get(o),cr=Z.get(a);if(Jt&&cr)return Jt==a&&cr==o;var Ir=!0;Z.set(o,a),Z.set(a,o);for(var ur=oe;++ut<_e;){Nt=he[ut];var Fr=o[Nt],qr=a[Nt];if(k)var jo=oe?k(qr,Fr,Nt,a,o,Z):k(Fr,qr,Nt,o,a,Z);if(!(jo===t?Fr===qr||q(Fr,qr,p,k,Z):jo)){Ir=!1;break}ur||(ur=Nt=="constructor")}if(Ir&&!ur){var Qi=o.constructor,Bo=a.constructor;Qi!=Bo&&"constructor"in o&&"constructor"in a&&!(typeof Qi=="function"&&Qi instanceof Qi&&typeof Bo=="function"&&Bo instanceof Bo)&&(Ir=!1)}return Z.delete(o),Z.delete(a),Ir}function Ka(o){return Oh(tv(o,t,uv),o+"")}function Th(o){return Ba(o,vi,Ih)}function Eh(o){return Ba(o,mo,Ym)}var kh=Oa?function(o){return Oa.get(o)}:Gh;function dd(o){for(var a=o.name+"",p=_s[a],k=zr.call(_s,a)?p.length:0;k--;){var q=p[k],Z=q.func;if(Z==null||Z==o)return q.name}return a}function Ru(o){var a=zr.call(U,"placeholder")?U:o;return a.placeholder}function lr(){var o=U.iteratee||Wh;return o=o===Wh?Pl:o,arguments.length?o(arguments[0],arguments[1]):o}function hd(o,a){var p=o.__data__;return PS(a)?p[typeof a=="string"?"string":"hash"]:p.map}function Rh(o){for(var a=vi(o),p=a.length;p--;){var k=a[p],q=o[k];a[p]=[k,q,Qm(q)]}return a}function Hc(o,a){var p=vs(o,a);return Su(p)?p:t}function kS(o){var a=zr.call(o,Ro),p=o[Ro];try{o[Ro]=t;var k=!0}catch{}var q=To.call(o);return k&&(a?o[Ro]=p:delete o[Ro]),q}var Ih=ra?function(o){return o==null?[]:(o=Wr(o),Wi(ra(o),function(a){return _l.call(o,a)}))}:Zh,Ym=ra?function(o){for(var a=[];o;)Ai(a,Ih(o)),o=ys(o);return a}:Zh,Hi=Pn;(io&&Hi(new io(new ArrayBuffer(1)))!=Ft||Ko&&Hi(new Ko)!=ht||ia&&Hi(ia.resolve())!=Pe||oo&&Hi(new oo)!=wt||Io&&Hi(new Io)!=je)&&(Hi=function(o){var a=Pn(o),p=a==Ie?o.constructor:t,k=p?qc(p):"";if(k)switch(k){case Yo:return Ft;case hc:return ht;case ff:return Pe;case hu:return wt;case sa:return je}return a});function RS(o,a,p){for(var k=-1,q=p.length;++k<q;){var Z=p[k],oe=Z.size;switch(Z.type){case"drop":o+=oe;break;case"dropRight":a-=oe;break;case"take":a=Ln(a,o+oe);break;case"takeRight":o=cn(o,a-oe);break}}return{start:o,end:a}}function IS(o){var a=o.match(Y);return a?a[1].split(Ue):[]}function Xm(o,a,p){a=No(a,o);for(var k=-1,q=a.length,Z=!1;++k<q;){var oe=ma(a[k]);if(!(Z=o!=null&&p(o,oe)))break;o=o[oe]}return Z||++k!=q?Z:(q=o==null?0:o.length,!!q&&_d(q)&&Ya(oe,q)&&(_r(o)||zc(o)))}function LS(o){var a=o.length,p=new o.constructor(a);return a&&typeof o[0]=="string"&&zr.call(o,"index")&&(p.index=o.index,p.input=o.input),p}function Jm(o){return typeof o.constructor=="function"&&!wf(o)?Lo(ys(o)):{}}function MS(o,a,p){var k=o.constructor;switch(a){case mt:return Nc(o);case ze:case Ge:return new k(+o);case Ft:return Fc(o,p);case bt:case $e:case Lt:case Dt:case pr:case xr:case wr:case ge:case ne:return jc(o,p);case ht:return new k;case Ct:case Et:return new k(o);case gt:return Va(o);case wt:return new k;case xt:return $l(o)}}function DS(o,a){var p=a.length;if(!p)return o;var k=p-1;return a[k]=(p>1?"& ":"")+a[k],a=a.join(p>2?", ":" "),o.replace(vr,`{
|
34
34
|
/* [wrapped with `+a+`] */
|
35
|
-
`)}function OS(o){return _r(o)||zc(o)||!!(xl&&o&&o[xl])}function Ya(o,a){var p=typeof o;return a=a??ce,!!a&&(p=="number"||p!="symbol"&&Ur.test(o))&&o>-1&&o%1==0&&o<a}function Ji(o,a,p){if(!Mn(p))return!1;var k=typeof a;return(k=="number"?go(p)&&Ya(a,p.length):k=="string"&&a in p)?Ls(p[a],o):!1}function Lh(o,a){if(_r(o))return!1;var p=typeof o;return p=="number"||p=="symbol"||p=="boolean"||o==null||Fo(o)?!0:$t.test(o)||!Ht.test(o)||a!=null&&o in Wr(a)}function PS(o){var a=typeof o;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?o!=="__proto__":o===null}function Mh(o){var a=dd(o),p=U[a];if(typeof p!="function"||!(a in br.prototype))return!1;if(o===p)return!0;var k=kh(p);return!!k&&o===k[0]}function NS(o){return!!ln&&ln in o}var FS=en?Xa:Kh;function wf(o){var a=o&&o.constructor,p=typeof a=="function"&&a.prototype||Uo;return o===p}function Qm(o){return o===o&&!Mn(o)}function ev(o,a){return function(p){return p==null?!1:p[o]===a&&(a!==t||o in Wr(p))}}function jS(o){var a=yd(o,function(k){return p.size===m&&p.clear(),k}),p=a.cache;return a}function BS(o,a){var p=o[1],k=a[1],q=p|k,Z=q<(E|x|K),oe=k==K&&p==O||k==K&&p==ue&&o[7].length<=a[8]||k==(K|ue)&&a[7].length<=a[8]&&p==O;if(!(Z||oe))return o;k&E&&(o[2]=a[2],q|=p&E?0:L);var he=a[3];if(he){var _e=o[3];o[3]=_e?Eu(_e,he,a[4]):he,o[4]=_e?wo(o[3],R):a[4]}return he=a[5],he&&(_e=o[5],o[5]=_e?Bc(_e,he,a[6]):he,o[6]=_e?wo(o[5],R):a[6]),he=a[7],he&&(o[7]=he),k&K&&(o[8]=o[8]==null?a[8]:Ln(o[8],a[8])),o[9]==null&&(o[9]=a[9]),o[0]=a[0],o[1]=q,o}function HS(o){var a=[];if(o!=null)for(var p in Wr(o))a.push(p);return a}function qS(o){return To.call(o)}function tv(o,a,p){return a=cn(a===t?o.length-1:a,0),function(){for(var k=arguments,q=-1,Z=cn(k.length-a,0),oe=Pe(Z);++q<Z;)oe[q]=k[a+q];q=-1;for(var he=Pe(a+1);++q<a;)he[q]=k[q];return he[a]=p(oe),an(o,this,he)}}function rv(o,a){return a.length<2?o:es(o,Di(a,0,-1))}function zS(o,a){for(var p=o.length,k=Ln(a.length,p),q=si(o);k--;){var Z=a[k];o[k]=Ya(Z,p)?q[Z]:t}return o}function Dh(o,a){if(!(a==="constructor"&&typeof o[a]=="function")&&a!="__proto__")return o[a]}var nv=ov(Lc),Af=fu||function(o,a){return dr.setTimeout(o,a)},Oh=ov(wu);function iv(o,a,p){var k=a+"";return Oh(o,DS(k,$S(IS(k),p)))}function ov(o){var a=0,p=0;return function(){var k=Go(),q=X-(k-p);if(p=k,q>0){if(++a>=te)return arguments[0]}else a=0;return o.apply(t,arguments)}}function pd(o,a){var p=-1,k=o.length,q=k-1;for(a=a===t?k:a;++p<a;){var Z=Rs(p,q),oe=o[Z];o[Z]=o[p],o[p]=oe}return o.length=a,o}var sv=jS(function(o){var a=[];return o.charCodeAt(0)===46&&a.push(""),o.replace(nr,function(p,k,q,Z){a.push(q?Z.replace(St,"$1"):k||p)}),a});function ma(o){if(typeof o=="string"||Fo(o))return o;var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function qc(o){if(o!=null){try{return Wo.call(o)}catch{}try{return o+""}catch{}}return""}function $S(o,a){return zn(Ye,function(p){var k="_."+p[0];a&p[1]&&!So(o,k)&&o.push(k)}),o.sort()}function av(o){if(o instanceof br)return o.clone();var a=new ii(o.__wrapped__,o.__chain__);return a.__actions__=si(o.__actions__),a.__index__=o.__index__,a.__values__=o.__values__,a}function US(o,a,p){(p?Ji(o,a,p):a===t)?a=1:a=cn(Er(a),0);var k=o==null?0:o.length;if(!k||a<1)return[];for(var q=0,Z=0,oe=Pe(ta(k/a));q<k;)oe[Z++]=Di(o,q,q+=a);return oe}function WS(o){for(var a=-1,p=o==null?0:o.length,k=0,q=[];++a<p;){var Z=o[a];Z&&(q[k++]=Z)}return q}function VS(){var o=arguments.length;if(!o)return[];for(var a=Pe(o-1),p=arguments[0],k=o;k--;)a[k-1]=arguments[k];return Ai(_r(p)?si(p):[p],Un(a,1))}var GS=mr(function(o,a){return Vn(o)?As(o,Un(a,1,Vn,!0)):[]}),ZS=mr(function(o,a){var p=ss(a);return Vn(p)&&(p=t),Vn(o)?As(o,Un(a,1,Vn,!0),lr(p,2)):[]}),KS=mr(function(o,a){var p=ss(a);return Vn(p)&&(p=t),Vn(o)?As(o,Un(a,1,Vn,!0),t,p):[]});function YS(o,a,p){var k=o==null?0:o.length;return k?(a=p||a===t?1:Er(a),Di(o,a<0?0:a,k)):[]}function XS(o,a,p){var k=o==null?0:o.length;return k?(a=p||a===t?1:Er(a),a=k-a,Di(o,0,a<0?0:a)):[]}function JS(o,a){return o&&o.length?ql(o,lr(a,3),!0,!0):[]}function QS(o,a){return o&&o.length?ql(o,lr(a,3),!0):[]}function eC(o,a,p,k){var q=o==null?0:o.length;return q?(p&&typeof p!="number"&&Ji(o,a,p)&&(p=0,k=q),bf(o,a,p,k)):[]}function lv(o,a,p){var k=o==null?0:o.length;if(!k)return-1;var q=p==null?0:Er(p);return q<0&&(q=cn(k+q,0)),ms(o,lr(a,3),q)}function cv(o,a,p){var k=o==null?0:o.length;if(!k)return-1;var q=k-1;return p!==t&&(q=Er(p),q=p<0?cn(k+q,0):Ln(q,k-1)),ms(o,lr(a,3),q,!0)}function uv(o){var a=o==null?0:o.length;return a?Un(o,1):[]}function tC(o){var a=o==null?0:o.length;return a?Un(o,ye):[]}function rC(o,a){var p=o==null?0:o.length;return p?(a=a===t?1:Er(a),Un(o,a)):[]}function nC(o){for(var a=-1,p=o==null?0:o.length,k={};++a<p;){var q=o[a];k[q[0]]=q[1]}return k}function fv(o){return o&&o.length?o[0]:t}function iC(o,a,p){var k=o==null?0:o.length;if(!k)return-1;var q=p==null?0:Er(p);return q<0&&(q=cn(k+q,0)),Co(o,a,q)}function oC(o){var a=o==null?0:o.length;return a?Di(o,0,-1):[]}var sC=mr(function(o){var a=Kr(o,zl);return a.length&&a[0]===o[0]?ua(a):[]}),aC=mr(function(o){var a=ss(o),p=Kr(o,zl);return a===ss(p)?a=t:p.pop(),p.length&&p[0]===o[0]?ua(p,lr(a,2)):[]}),lC=mr(function(o){var a=ss(o),p=Kr(o,zl);return a=typeof a=="function"?a:t,a&&p.pop(),p.length&&p[0]===o[0]?ua(p,t,a):[]});function cC(o,a){return o==null?"":Da.call(o,a)}function ss(o){var a=o==null?0:o.length;return a?o[a-1]:t}function uC(o,a,p){var k=o==null?0:o.length;if(!k)return-1;var q=k;return p!==t&&(q=Er(p),q=q<0?cn(k+q,0):Ln(q,k-1)),a===a?lf(o,a,q):ms(o,Zs,q,!0)}function fC(o,a){return o&&o.length?ha(o,Er(a)):t}var dC=mr(dv);function dv(o,a){return o&&o.length&&a&&a.length?Ec(o,a):o}function hC(o,a,p){return o&&o.length&&a&&a.length?Ec(o,a,lr(p,2)):o}function pC(o,a,p){return o&&o.length&&a&&a.length?Ec(o,a,t,p):o}var gC=Ka(function(o,a){var p=o==null?0:o.length,k=_c(o,a);return kc(o,Kr(a,function(q){return Ya(q,p)?+q:q}).sort(Ga)),k});function mC(o,a){var p=[];if(!(o&&o.length))return p;var k=-1,q=[],Z=o.length;for(a=lr(a,3);++k<Z;){var oe=o[k];a(oe,k,o)&&(p.push(oe),q.push(k))}return kc(o,q),p}function Ph(o){return o==null?o:Cl.call(o)}function vC(o,a,p){var k=o==null?0:o.length;return k?(p&&typeof p!="number"&&Ji(o,a,p)?(a=0,p=k):(a=a==null?0:Er(a),p=p===t?k:Er(p)),Di(o,a,p)):[]}function yC(o,a){return jl(o,a)}function bC(o,a,p){return Bl(o,a,lr(p,2))}function _C(o,a){var p=o==null?0:o.length;if(p){var k=jl(o,a);if(k<p&&Ls(o[k],a))return k}return-1}function xC(o,a){return jl(o,a,!0)}function SC(o,a,p){return Bl(o,a,lr(p,2),!0)}function CC(o,a){var p=o==null?0:o.length;if(p){var k=jl(o,a,!0)-1;if(Ls(o[k],a))return k}return-1}function wC(o){return o&&o.length?Au(o):[]}function AC(o,a){return o&&o.length?Au(o,lr(a,2)):[]}function TC(o){var a=o==null?0:o.length;return a?Di(o,1,a):[]}function EC(o,a,p){return o&&o.length?(a=p||a===t?1:Er(a),Di(o,0,a<0?0:a)):[]}function kC(o,a,p){var k=o==null?0:o.length;return k?(a=p||a===t?1:Er(a),a=k-a,Di(o,a<0?0:a,k)):[]}function RC(o,a){return o&&o.length?ql(o,lr(a,3),!1,!0):[]}function IC(o,a){return o&&o.length?ql(o,lr(a,3)):[]}var LC=mr(function(o){return Tn(Un(o,1,Vn,!0))}),MC=mr(function(o){var a=ss(o);return Vn(a)&&(a=t),Tn(Un(o,1,Vn,!0),lr(a,2))}),DC=mr(function(o){var a=ss(o);return a=typeof a=="function"?a:t,Tn(Un(o,1,Vn,!0),t,a)});function OC(o){return o&&o.length?Tn(o):[]}function PC(o,a){return o&&o.length?Tn(o,lr(a,2)):[]}function NC(o,a){return a=typeof a=="function"?a:t,o&&o.length?Tn(o,t,a):[]}function Nh(o){if(!(o&&o.length))return[];var a=0;return o=Wi(o,function(p){if(Vn(p))return a=cn(p.length,a),!0}),Ce(a,function(p){return Kr(o,T(p))})}function hv(o,a){if(!(o&&o.length))return[];var p=Nh(o);return a==null?p:Kr(p,function(k){return an(a,t,k)})}var FC=mr(function(o,a){return Vn(o)?As(o,a):[]}),jC=mr(function(o){return Oc(Wi(o,Vn))}),BC=mr(function(o){var a=ss(o);return Vn(a)&&(a=t),Oc(Wi(o,Vn),lr(a,2))}),HC=mr(function(o){var a=ss(o);return a=typeof a=="function"?a:t,Oc(Wi(o,Vn),t,a)}),qC=mr(Nh);function zC(o,a){return Pc(o||[],a||[],fi)}function $C(o,a){return Pc(o||[],a||[],Is)}var UC=mr(function(o){var a=o.length,p=a>1?o[a-1]:t;return p=typeof p=="function"?(o.pop(),p):t,hv(o,p)});function pv(o){var a=U(o);return a.__chain__=!0,a}function WC(o,a){return a(o),o}function gd(o,a){return a(o)}var VC=Ka(function(o){var a=o.length,p=a?o[0]:0,k=this.__wrapped__,q=function(Z){return _c(Z,o)};return a>1||this.__actions__.length||!(k instanceof br)||!Ya(p)?this.thru(q):(k=k.slice(p,+p+(a?1:0)),k.__actions__.push({func:gd,args:[q],thisArg:t}),new ii(k,this.__chain__).thru(function(Z){return a&&!Z.length&&Z.push(t),Z}))});function GC(){return pv(this)}function ZC(){return new ii(this.value(),this.__chain__)}function KC(){this.__values__===t&&(this.__values__=kv(this.value()));var o=this.__index__>=this.__values__.length,a=o?t:this.__values__[this.__index__++];return{done:o,value:a}}function YC(){return this}function XC(o){for(var a,p=this;p instanceof Mo;){var k=av(p);k.__index__=0,k.__values__=t,a?q.__wrapped__=k:a=k;var q=k;p=p.__wrapped__}return q.__wrapped__=o,a}function JC(){var o=this.__wrapped__;if(o instanceof br){var a=o;return this.__actions__.length&&(a=new br(this)),a=a.reverse(),a.__actions__.push({func:gd,args:[Ph],thisArg:t}),new ii(a,this.__chain__)}return this.thru(Ph)}function QC(){return oi(this.__wrapped__,this.__actions__)}var ew=Ul(function(o,a,p){zr.call(o,p)?++o[p]:Li(o,p,1)});function tw(o,a,p){var k=_r(o)?Ta:yu;return p&&Ji(o,a,p)&&(a=t),k(o,lr(a,3))}function rw(o,a){var p=_r(o)?Wi:bu;return p(o,lr(a,3))}var nw=ie(lv),iw=ie(cv);function ow(o,a){return Un(md(o,a),1)}function sw(o,a){return Un(md(o,a),ye)}function aw(o,a,p){return p=p===t?1:Er(p),Un(md(o,a),p)}function gv(o,a){var p=_r(o)?zn:Qo;return p(o,lr(a,3))}function mv(o,a){var p=_r(o)?fl:wc;return p(o,lr(a,3))}var lw=Ul(function(o,a,p){zr.call(o,p)?o[p].push(a):Li(o,p,[a])});function cw(o,a,p,k){o=go(o)?o:Lu(o),p=p&&!k?Er(p):0;var q=o.length;return p<0&&(p=cn(q+p,0)),xd(o)?p<=q&&o.indexOf(a,p)>-1:!!q&&Co(o,a,p)>-1}var uw=mr(function(o,a,p){var k=-1,q=typeof a=="function",Z=go(o)?Pe(o.length):[];return Qo(o,function(oe){Z[++k]=q?an(a,oe,p):co(oe,a,p)}),Z}),fw=Ul(function(o,a,p){Li(o,p,a)});function md(o,a){var p=_r(o)?Kr:Ki;return p(o,lr(a,3))}function dw(o,a,p,k){return o==null?[]:(_r(a)||(a=a==null?[]:[a]),p=k?t:p,_r(p)||(p=p==null?[]:[p]),Nl(o,a,p))}var hw=Ul(function(o,a,p){o[p?0:1].push(a)},function(){return[[],[]]});function pw(o,a,p){var k=_r(o)?Ea:$,q=arguments.length<3;return k(o,lr(a,4),p,q,Qo)}function gw(o,a,p){var k=_r(o)?dl:$,q=arguments.length<3;return k(o,lr(a,4),p,q,wc)}function mw(o,a){var p=_r(o)?Wi:bu;return p(o,bd(lr(a,3)))}function vw(o){var a=_r(o)?mi:Ua;return a(o)}function yw(o,a,p){(p?Ji(o,a,p):a===t)?a=1:a=Er(a);var k=_r(o)?Ii:Ic;return k(o,a)}function bw(o){var a=_r(o)?lo:Mc;return a(o)}function _w(o){if(o==null)return 0;if(go(o))return xd(o)?Xs(o):o.length;var a=Hi(o);return a==ht||a==wt?o.size:Po(o).length}function xw(o,a,p){var k=_r(o)?$o:_f;return p&&Ji(o,a,p)&&(a=t),k(o,lr(a,3))}var Sw=mr(function(o,a){if(o==null)return[];var p=a.length;return p>1&&Ji(o,a[0],a[1])?a=[]:p>2&&Ji(a[0],a[1],a[2])&&(a=[a[0]]),Nl(o,Un(a,1),[])}),vd=Ma||function(){return dr.Date.now()};function Cw(o,a){if(typeof a!="function")throw new Bi(u);return o=Er(o),function(){if(--o<1)return a.apply(this,arguments)}}function vv(o,a,p){return a=p?t:a,a=o&&a==null?o.length:a,Za(o,K,t,t,t,t,a)}function yv(o,a){var p;if(typeof a!="function")throw new Bi(u);return o=Er(o),function(){return--o>0&&(p=a.apply(this,arguments)),o<=1&&(a=t),p}}var Fh=mr(function(o,a,p){var k=E;if(p.length){var q=wo(p,Ru(Fh));k|=H}return Za(o,k,a,p,q)}),bv=mr(function(o,a,p){var k=E|x;if(p.length){var q=wo(p,Ru(bv));k|=H}return Za(a,k,o,p,q)});function _v(o,a,p){a=p?t:a;var k=Za(o,O,t,t,t,t,t,a);return k.placeholder=_v.placeholder,k}function xv(o,a,p){a=p?t:a;var k=Za(o,B,t,t,t,t,t,a);return k.placeholder=xv.placeholder,k}function Sv(o,a,p){var k,q,Z,oe,he,_e,nt=0,ot=!1,ut=!1,Nt=!0;if(typeof o!="function")throw new Bi(u);a=as(a)||0,Mn(p)&&(ot=!!p.leading,ut="maxWait"in p,Z=ut?cn(as(p.maxWait)||0,a):Z,Nt="trailing"in p?!!p.trailing:Nt);function Jt(Gn){var Ms=k,Qa=q;return k=q=t,nt=Gn,oe=o.apply(Qa,Ms),oe}function cr(Gn){return nt=Gn,he=Af(Fr,a),ot?Jt(Gn):oe}function Ir(Gn){var Ms=Gn-_e,Qa=Gn-nt,qv=a-Ms;return ut?Ln(qv,Z-Qa):qv}function ur(Gn){var Ms=Gn-_e,Qa=Gn-nt;return _e===t||Ms>=a||Ms<0||ut&&Qa>=Z}function Fr(){var Gn=vd();if(ur(Gn))return qr(Gn);he=Af(Fr,Ir(Gn))}function qr(Gn){return he=t,Nt&&k?Jt(Gn):(k=q=t,oe)}function jo(){he!==t&&ns(he),nt=0,k=_e=q=he=t}function Qi(){return he===t?oe:qr(vd())}function Bo(){var Gn=vd(),Ms=ur(Gn);if(k=arguments,q=this,_e=Gn,Ms){if(he===t)return cr(_e);if(ut)return ns(he),he=Af(Fr,a),Jt(_e)}return he===t&&(he=Af(Fr,a)),oe}return Bo.cancel=jo,Bo.flush=Qi,Bo}var ww=mr(function(o,a){return Cc(o,1,a)}),Aw=mr(function(o,a,p){return Cc(o,as(a)||0,p)});function Tw(o){return Za(o,J)}function yd(o,a){if(typeof o!="function"||a!=null&&typeof a!="function")throw new Bi(u);var p=function(){var k=arguments,q=a?a.apply(this,k):k[0],Z=p.cache;if(Z.has(q))return Z.get(q);var oe=o.apply(this,k);return p.cache=Z.set(q,oe)||Z,oe};return p.cache=new(yd.Cache||Do),p}yd.Cache=Do;function bd(o){if(typeof o!="function")throw new Bi(u);return function(){var a=arguments;switch(a.length){case 0:return!o.call(this);case 1:return!o.call(this,a[0]);case 2:return!o.call(this,a[0],a[1]);case 3:return!o.call(this,a[0],a[1],a[2])}return!o.apply(this,a)}}function Ew(o){return yv(2,o)}var kw=xf(function(o,a){a=a.length==1&&_r(a[0])?Kr(a[0],Vt(lr())):Kr(Un(a,1),Vt(lr()));var p=a.length;return mr(function(k){for(var q=-1,Z=Ln(k.length,p);++q<Z;)k[q]=a[q].call(this,k[q]);return an(o,this,k)})}),jh=mr(function(o,a){var p=wo(a,Ru(jh));return Za(o,H,t,a,p)}),Cv=mr(function(o,a){var p=wo(a,Ru(Cv));return Za(o,z,t,a,p)}),Rw=Ka(function(o,a){return Za(o,ue,t,t,t,a)});function Iw(o,a){if(typeof o!="function")throw new Bi(u);return a=a===t?a:Er(a),mr(o,a)}function Lw(o,a){if(typeof o!="function")throw new Bi(u);return a=a==null?0:cn(Er(a),0),mr(function(p){var k=p[a],q=fo(p,0,a);return k&&Ai(q,k),an(o,this,q)})}function Mw(o,a,p){var k=!0,q=!0;if(typeof o!="function")throw new Bi(u);return Mn(p)&&(k="leading"in p?!!p.leading:k,q="trailing"in p?!!p.trailing:q),Sv(o,a,{leading:k,maxWait:a,trailing:q})}function Dw(o){return vv(o,1)}function Ow(o,a){return jh(rs(a),o)}function Pw(){if(!arguments.length)return[];var o=arguments[0];return _r(o)?o:[o]}function Nw(o){return di(o,S)}function Fw(o,a){return a=typeof a=="function"?a:t,di(o,S,a)}function jw(o){return di(o,w|S)}function Bw(o,a){return a=typeof a=="function"?a:t,di(o,w|S,a)}function Hw(o,a){return a==null||Sc(o,a,vi(a))}function Ls(o,a){return o===a||o!==o&&a!==a}var qw=ho(Ts),zw=ho(function(o,a){return o>=a}),zc=Dl(function(){return arguments}())?Dl:function(o){return Nn(o)&&zr.call(o,"callee")&&!_l.call(o,"callee")},_r=Pe.isArray,$w=Qr?Vt(Qr):Es;function go(o){return o!=null&&_d(o.length)&&!Xa(o)}function Vn(o){return Nn(o)&&go(o)}function Uw(o){return o===!0||o===!1||Nn(o)&&Pn(o)==ze}var Wl=Sl||Kh,Ww=ci?Vt(ci):xu;function Vw(o){return Nn(o)&&o.nodeType===1&&!Tf(o)}function Gw(o){if(o==null)return!0;if(go(o)&&(_r(o)||typeof o=="string"||typeof o.splice=="function"||Wl(o)||Iu(o)||zc(o)))return!o.length;var a=Hi(o);if(a==ht||a==wt)return!o.size;if(wf(o))return!Po(o).length;for(var p in o)if(zr.call(o,p))return!1;return!0}function Zw(o,a){return Ha(o,a)}function Kw(o,a,p){p=typeof p=="function"?p:t;var k=p?p(o,a):t;return k===t?Ha(o,a,t,p):!!k}function Bh(o){if(!Nn(o))return!1;var a=Pn(o);return a==Te||a==Me||typeof o.message=="string"&&typeof o.name=="string"&&!Tf(o)}function Yw(o){return typeof o=="number"&&na(o)}function Xa(o){if(!Mn(o))return!1;var a=Pn(o);return a==be||a==We||a==Fe||a==st}function wv(o){return typeof o=="number"&&o==Er(o)}function _d(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ce}function Mn(o){var a=typeof o;return o!=null&&(a=="object"||a=="function")}function Nn(o){return o!=null&&typeof o=="object"}var Av=gi?Vt(gi):da;function Xw(o,a){return o===a||Tc(o,a,Rh(a))}function Jw(o,a,p){return p=typeof p=="function"?p:t,Tc(o,a,Rh(a),p)}function Qw(o){return Tv(o)&&o!=+o}function e3(o){if(FS(o))throw new sr(l);return Su(o)}function t3(o){return o===null}function r3(o){return o==null}function Tv(o){return typeof o=="number"||Nn(o)&&Pn(o)==Ct}function Tf(o){if(!Nn(o)||Pn(o)!=Ie)return!1;var a=ys(o);if(a===null)return!0;var p=zr.call(a,"constructor")&&a.constructor;return typeof p=="function"&&p instanceof p&&Wo.call(p)==cc}var Hh=qn?Vt(qn):ks;function n3(o){return wv(o)&&o>=-9007199254740991&&o<=ce}var Ev=xo?Vt(xo):Ol;function xd(o){return typeof o=="string"||!_r(o)&&Nn(o)&&Pn(o)==Et}function Fo(o){return typeof o=="symbol"||Nn(o)&&Pn(o)==xt}var Iu=Ui?Vt(Ui):Oo;function i3(o){return o===t}function o3(o){return Nn(o)&&Hi(o)==je}function s3(o){return Nn(o)&&Pn(o)==Qe}var a3=ho(Zi),l3=ho(function(o,a){return o<=a});function kv(o){if(!o)return[];if(go(o))return xd(o)?fn(o):si(o);if(Vi&&o[Vi])return sc(o[Vi]());var a=Hi(o),p=a==ht?ac:a==wt?Ra:Lu;return p(o)}function Ja(o){if(!o)return o===0?o:0;if(o=as(o),o===ye||o===-1/0){var a=o<0?-1:1;return a*Ae}return o===o?o:0}function Er(o){var a=Ja(o),p=a%1;return a===a?p?a-p:a:0}function Rv(o){return o?ws(Er(o),0,se):0}function as(o){if(typeof o=="number")return o;if(Fo(o))return le;if(Mn(o)){var a=typeof o.valueOf=="function"?o.valueOf():o;o=Mn(a)?a+"":a}if(typeof o!="string")return o===0?o:+o;o=mt(o);var p=ir.test(o);return p||fr.test(o)?Gt(o.slice(2),p?2:8):qt.test(o)?le:+o}function Iv(o){return Xi(o,mo(o))}function c3(o){return o?ws(Er(o),-9007199254740991,ce):o===0?o:0}function tn(o){return o==null?"":Oi(o)}var u3=d(function(o,a){if(wf(a)||go(a)){Xi(a,vi(a),o);return}for(var p in a)zr.call(a,p)&&fi(o,p,a[p])}),Lv=d(function(o,a){Xi(a,mo(a),o)}),Sd=d(function(o,a,p,k){Xi(a,mo(a),o,k)}),f3=d(function(o,a,p,k){Xi(a,vi(a),o,k)}),d3=Ka(_c);function h3(o,a){var p=Lo(o);return a==null?p:vu(p,a)}var p3=mr(function(o,a){o=Wr(o);var p=-1,k=a.length,q=k>2?a[2]:t;for(q&&Ji(a[0],a[1],q)&&(k=1);++p<k;)for(var Z=a[p],oe=mo(Z),he=-1,_e=oe.length;++he<_e;){var nt=oe[he],ot=o[nt];(ot===t||Ls(ot,Uo[nt])&&!zr.call(o,nt))&&(o[nt]=Z[nt])}return o}),g3=mr(function(o){return o.push(t,Zm),an(Mv,t,o)});function m3(o,a){return gs(o,lr(a,3),Mi)}function v3(o,a){return gs(o,lr(a,3),Rl)}function y3(o,a){return o==null?o:Ac(o,lr(a,3),mo)}function b3(o,a){return o==null?o:_u(o,lr(a,3),mo)}function _3(o,a){return o&&Mi(o,lr(a,3))}function x3(o,a){return o&&Rl(o,lr(a,3))}function S3(o){return o==null?[]:la(o,vi(o))}function C3(o){return o==null?[]:la(o,mo(o))}function qh(o,a,p){var k=o==null?t:es(o,a);return k===t?p:k}function w3(o,a){return o!=null&&Xm(o,a,Il)}function zh(o,a){return o!=null&&Xm(o,a,ca)}var A3=lt(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=To.call(a)),o[a]=p},Uh(vo)),T3=lt(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=To.call(a)),zr.call(o,a)?o[a].push(p):o[a]=[p]},lr),E3=mr(co);function vi(o){return go(o)?ja(o):Po(o)}function mo(o){return go(o)?ja(o,!0):qa(o)}function k3(o,a){var p={};return a=lr(a,3),Mi(o,function(k,q,Z){Li(p,a(k,q,Z),k)}),p}function R3(o,a){var p={};return a=lr(a,3),Mi(o,function(k,q,Z){Li(p,q,a(k,q,Z))}),p}var I3=d(function(o,a,p){ts(o,a,p)}),Mv=d(function(o,a,p,k){ts(o,a,p,k)}),L3=Ka(function(o,a){var p={};if(o==null)return p;var k=!1;a=Kr(a,function(Z){return Z=No(Z,o),k||(k=Z.length>1),Z}),Xi(o,Eh(o),p),k&&(p=di(p,w|b|S,AS));for(var q=a.length;q--;)Dc(p,a[q]);return p});function M3(o,a){return Dv(o,bd(lr(a)))}var D3=Ka(function(o,a){return o==null?{}:$a(o,a)});function Dv(o,a){if(o==null)return{};var p=Kr(Eh(o),function(k){return[k]});return a=lr(a),pa(o,p,function(k,q){return a(k,q[0])})}function O3(o,a,p){a=No(a,o);var k=-1,q=a.length;for(q||(q=1,o=t);++k<q;){var Z=o==null?t:o[ma(a[k])];Z===t&&(k=q,Z=p),o=Xa(Z)?Z.call(o):Z}return o}function P3(o,a,p){return o==null?o:Is(o,a,p)}function N3(o,a,p,k){return k=typeof k=="function"?k:t,o==null?o:Is(o,a,p,k)}var Ov=fd(vi),Pv=fd(mo);function F3(o,a,p){var k=_r(o),q=k||Wl(o)||Iu(o);if(a=lr(a,4),p==null){var Z=o&&o.constructor;q?p=k?new Z:[]:Mn(o)?p=Xa(Z)?Lo(ys(o)):{}:p={}}return(q?zn:Mi)(o,function(oe,he,_e){return a(p,oe,he,_e)}),p}function j3(o,a){return o==null?!0:Dc(o,a)}function B3(o,a,p){return o==null?o:Wa(o,a,rs(p))}function H3(o,a,p,k){return k=typeof k=="function"?k:t,o==null?o:Wa(o,a,rs(p),k)}function Lu(o){return o==null?[]:hr(o,vi(o))}function q3(o){return o==null?[]:hr(o,mo(o))}function z3(o,a,p){return p===t&&(p=a,a=t),p!==t&&(p=as(p),p=p===p?p:0),a!==t&&(a=as(a),a=a===a?a:0),ws(as(o),a,p)}function $3(o,a,p){return a=Ja(a),p===t?(p=a,a=0):p=Ja(p),o=as(o),Ll(o,a,p)}function U3(o,a,p){if(p&&typeof p!="boolean"&&Ji(o,a,p)&&(a=p=t),p===t&&(typeof a=="boolean"?(p=a,a=t):typeof o=="boolean"&&(p=o,o=t)),o===t&&a===t?(o=0,a=1):(o=Ja(o),a===t?(a=o,o=0):a=Ja(a)),o>a){var k=o;o=a,a=k}if(p||o%1||a%1){var q=Zo();return Ln(o+q*(a-o+Xt("1e-"+((q+"").length-1))),a)}return Rs(o,a)}var W3=D(function(o,a,p){return a=a.toLowerCase(),o+(p?Nv(a):a)});function Nv(o){return $h(tn(o).toLowerCase())}function Fv(o){return o=tn(o),o&&o.replace(yr,Ei).replace(no,"")}function V3(o,a,p){o=tn(o),a=Oi(a);var k=o.length;p=p===t?k:ws(Er(p),0,k);var q=p;return p-=a.length,p>=0&&o.slice(p,q)==a}function G3(o){return o=tn(o),o&&_t.test(o)?o.replace(pt,Ks):o}function Z3(o){return o=tn(o),o&&Tt.test(o)?o.replace(rt,"\\$&"):o}var K3=D(function(o,a,p){return o+(p?"-":"")+a.toLowerCase()}),Y3=D(function(o,a,p){return o+(p?" ":"")+a.toLowerCase()}),X3=y("toLowerCase");function J3(o,a,p){o=tn(o),a=Er(a);var k=a?Xs(o):0;if(!a||k>=a)return o;var q=(a-k)/2;return Dr(bs(q),p)+o+Dr(ta(q),p)}function Q3(o,a,p){o=tn(o),a=Er(a);var k=a?Xs(o):0;return a&&k<a?o+Dr(a-k,p):o}function eA(o,a,p){o=tn(o),a=Er(a);var k=a?Xs(o):0;return a&&k<a?Dr(a-k,p)+o:o}function tA(o,a,p){return p||a==null?a=0:a&&(a=+a),dc(tn(o).replace(yt,""),a||0)}function rA(o,a,p){return(p?Ji(o,a,p):a===t)?a=1:a=Er(a),Fl(tn(o),a)}function nA(){var o=arguments,a=tn(o[0]);return o.length<3?a:a.replace(o[1],o[2])}var iA=D(function(o,a,p){return o+(p?"_":"")+a.toLowerCase()});function oA(o,a,p){return p&&typeof p!="number"&&Ji(o,a,p)&&(a=p=t),p=p===t?se:p>>>0,p?(o=tn(o),o&&(typeof a=="string"||a!=null&&!Hh(a))&&(a=Oi(a),!a&&Ys(o))?fo(fn(o),0,p):o.split(a,p)):[]}var sA=D(function(o,a,p){return o+(p?" ":"")+$h(a)});function aA(o,a,p){return o=tn(o),p=p==null?0:ws(Er(p),0,o.length),a=Oi(a),o.slice(p,p+a.length)==a}function lA(o,a,p){var k=U.templateSettings;p&&Ji(o,a,p)&&(a=t),o=tn(o),a=Sd({},a,k,Gm);var q=Sd({},a.imports,k.imports,Gm),Z=vi(q),oe=hr(q,Z),he,_e,nt=0,ot=a.interpolate||Kn,ut="__p += '",Nt=Js((a.escape||Kn).source+"|"+ot.source+"|"+(ot===rr?jt:Kn).source+"|"+(a.evaluate||Kn).source+"|$","g"),Jt="//# sourceURL="+(zr.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Or+"]")+`
|
35
|
+
`)}function OS(o){return _r(o)||zc(o)||!!(xl&&o&&o[xl])}function Ya(o,a){var p=typeof o;return a=a??ce,!!a&&(p=="number"||p!="symbol"&&Ur.test(o))&&o>-1&&o%1==0&&o<a}function Ji(o,a,p){if(!Mn(p))return!1;var k=typeof a;return(k=="number"?go(p)&&Ya(a,p.length):k=="string"&&a in p)?Ls(p[a],o):!1}function Lh(o,a){if(_r(o))return!1;var p=typeof o;return p=="number"||p=="symbol"||p=="boolean"||o==null||Fo(o)?!0:$t.test(o)||!Ht.test(o)||a!=null&&o in Wr(a)}function PS(o){var a=typeof o;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?o!=="__proto__":o===null}function Mh(o){var a=dd(o),p=U[a];if(typeof p!="function"||!(a in br.prototype))return!1;if(o===p)return!0;var k=kh(p);return!!k&&o===k[0]}function NS(o){return!!ln&&ln in o}var FS=en?Xa:Kh;function wf(o){var a=o&&o.constructor,p=typeof a=="function"&&a.prototype||Uo;return o===p}function Qm(o){return o===o&&!Mn(o)}function ev(o,a){return function(p){return p==null?!1:p[o]===a&&(a!==t||o in Wr(p))}}function jS(o){var a=yd(o,function(k){return p.size===m&&p.clear(),k}),p=a.cache;return a}function BS(o,a){var p=o[1],k=a[1],q=p|k,Z=q<(E|x|K),oe=k==K&&p==O||k==K&&p==ue&&o[7].length<=a[8]||k==(K|ue)&&a[7].length<=a[8]&&p==O;if(!(Z||oe))return o;k&E&&(o[2]=a[2],q|=p&E?0:L);var he=a[3];if(he){var _e=o[3];o[3]=_e?Eu(_e,he,a[4]):he,o[4]=_e?wo(o[3],R):a[4]}return he=a[5],he&&(_e=o[5],o[5]=_e?Bc(_e,he,a[6]):he,o[6]=_e?wo(o[5],R):a[6]),he=a[7],he&&(o[7]=he),k&K&&(o[8]=o[8]==null?a[8]:Ln(o[8],a[8])),o[9]==null&&(o[9]=a[9]),o[0]=a[0],o[1]=q,o}function HS(o){var a=[];if(o!=null)for(var p in Wr(o))a.push(p);return a}function qS(o){return To.call(o)}function tv(o,a,p){return a=cn(a===t?o.length-1:a,0),function(){for(var k=arguments,q=-1,Z=cn(k.length-a,0),oe=Oe(Z);++q<Z;)oe[q]=k[a+q];q=-1;for(var he=Oe(a+1);++q<a;)he[q]=k[q];return he[a]=p(oe),an(o,this,he)}}function rv(o,a){return a.length<2?o:es(o,Di(a,0,-1))}function zS(o,a){for(var p=o.length,k=Ln(a.length,p),q=si(o);k--;){var Z=a[k];o[k]=Ya(Z,p)?q[Z]:t}return o}function Dh(o,a){if(!(a==="constructor"&&typeof o[a]=="function")&&a!="__proto__")return o[a]}var nv=ov(Lc),Af=fu||function(o,a){return dr.setTimeout(o,a)},Oh=ov(wu);function iv(o,a,p){var k=a+"";return Oh(o,DS(k,$S(IS(k),p)))}function ov(o){var a=0,p=0;return function(){var k=Go(),q=X-(k-p);if(p=k,q>0){if(++a>=te)return arguments[0]}else a=0;return o.apply(t,arguments)}}function pd(o,a){var p=-1,k=o.length,q=k-1;for(a=a===t?k:a;++p<a;){var Z=Rs(p,q),oe=o[Z];o[Z]=o[p],o[p]=oe}return o.length=a,o}var sv=jS(function(o){var a=[];return o.charCodeAt(0)===46&&a.push(""),o.replace(nr,function(p,k,q,Z){a.push(q?Z.replace(St,"$1"):k||p)}),a});function ma(o){if(typeof o=="string"||Fo(o))return o;var a=o+"";return a=="0"&&1/o==-1/0?"-0":a}function qc(o){if(o!=null){try{return Wo.call(o)}catch{}try{return o+""}catch{}}return""}function $S(o,a){return zn(Ye,function(p){var k="_."+p[0];a&p[1]&&!So(o,k)&&o.push(k)}),o.sort()}function av(o){if(o instanceof br)return o.clone();var a=new ii(o.__wrapped__,o.__chain__);return a.__actions__=si(o.__actions__),a.__index__=o.__index__,a.__values__=o.__values__,a}function US(o,a,p){(p?Ji(o,a,p):a===t)?a=1:a=cn(Er(a),0);var k=o==null?0:o.length;if(!k||a<1)return[];for(var q=0,Z=0,oe=Oe(ta(k/a));q<k;)oe[Z++]=Di(o,q,q+=a);return oe}function WS(o){for(var a=-1,p=o==null?0:o.length,k=0,q=[];++a<p;){var Z=o[a];Z&&(q[k++]=Z)}return q}function VS(){var o=arguments.length;if(!o)return[];for(var a=Oe(o-1),p=arguments[0],k=o;k--;)a[k-1]=arguments[k];return Ai(_r(p)?si(p):[p],Un(a,1))}var GS=mr(function(o,a){return Vn(o)?As(o,Un(a,1,Vn,!0)):[]}),ZS=mr(function(o,a){var p=ss(a);return Vn(p)&&(p=t),Vn(o)?As(o,Un(a,1,Vn,!0),lr(p,2)):[]}),KS=mr(function(o,a){var p=ss(a);return Vn(p)&&(p=t),Vn(o)?As(o,Un(a,1,Vn,!0),t,p):[]});function YS(o,a,p){var k=o==null?0:o.length;return k?(a=p||a===t?1:Er(a),Di(o,a<0?0:a,k)):[]}function XS(o,a,p){var k=o==null?0:o.length;return k?(a=p||a===t?1:Er(a),a=k-a,Di(o,0,a<0?0:a)):[]}function JS(o,a){return o&&o.length?ql(o,lr(a,3),!0,!0):[]}function QS(o,a){return o&&o.length?ql(o,lr(a,3),!0):[]}function eC(o,a,p,k){var q=o==null?0:o.length;return q?(p&&typeof p!="number"&&Ji(o,a,p)&&(p=0,k=q),bf(o,a,p,k)):[]}function lv(o,a,p){var k=o==null?0:o.length;if(!k)return-1;var q=p==null?0:Er(p);return q<0&&(q=cn(k+q,0)),ms(o,lr(a,3),q)}function cv(o,a,p){var k=o==null?0:o.length;if(!k)return-1;var q=k-1;return p!==t&&(q=Er(p),q=p<0?cn(k+q,0):Ln(q,k-1)),ms(o,lr(a,3),q,!0)}function uv(o){var a=o==null?0:o.length;return a?Un(o,1):[]}function tC(o){var a=o==null?0:o.length;return a?Un(o,ye):[]}function rC(o,a){var p=o==null?0:o.length;return p?(a=a===t?1:Er(a),Un(o,a)):[]}function nC(o){for(var a=-1,p=o==null?0:o.length,k={};++a<p;){var q=o[a];k[q[0]]=q[1]}return k}function fv(o){return o&&o.length?o[0]:t}function iC(o,a,p){var k=o==null?0:o.length;if(!k)return-1;var q=p==null?0:Er(p);return q<0&&(q=cn(k+q,0)),Co(o,a,q)}function oC(o){var a=o==null?0:o.length;return a?Di(o,0,-1):[]}var sC=mr(function(o){var a=Kr(o,zl);return a.length&&a[0]===o[0]?ua(a):[]}),aC=mr(function(o){var a=ss(o),p=Kr(o,zl);return a===ss(p)?a=t:p.pop(),p.length&&p[0]===o[0]?ua(p,lr(a,2)):[]}),lC=mr(function(o){var a=ss(o),p=Kr(o,zl);return a=typeof a=="function"?a:t,a&&p.pop(),p.length&&p[0]===o[0]?ua(p,t,a):[]});function cC(o,a){return o==null?"":Da.call(o,a)}function ss(o){var a=o==null?0:o.length;return a?o[a-1]:t}function uC(o,a,p){var k=o==null?0:o.length;if(!k)return-1;var q=k;return p!==t&&(q=Er(p),q=q<0?cn(k+q,0):Ln(q,k-1)),a===a?lf(o,a,q):ms(o,Zs,q,!0)}function fC(o,a){return o&&o.length?ha(o,Er(a)):t}var dC=mr(dv);function dv(o,a){return o&&o.length&&a&&a.length?Ec(o,a):o}function hC(o,a,p){return o&&o.length&&a&&a.length?Ec(o,a,lr(p,2)):o}function pC(o,a,p){return o&&o.length&&a&&a.length?Ec(o,a,t,p):o}var gC=Ka(function(o,a){var p=o==null?0:o.length,k=_c(o,a);return kc(o,Kr(a,function(q){return Ya(q,p)?+q:q}).sort(Ga)),k});function mC(o,a){var p=[];if(!(o&&o.length))return p;var k=-1,q=[],Z=o.length;for(a=lr(a,3);++k<Z;){var oe=o[k];a(oe,k,o)&&(p.push(oe),q.push(k))}return kc(o,q),p}function Ph(o){return o==null?o:Cl.call(o)}function vC(o,a,p){var k=o==null?0:o.length;return k?(p&&typeof p!="number"&&Ji(o,a,p)?(a=0,p=k):(a=a==null?0:Er(a),p=p===t?k:Er(p)),Di(o,a,p)):[]}function yC(o,a){return jl(o,a)}function bC(o,a,p){return Bl(o,a,lr(p,2))}function _C(o,a){var p=o==null?0:o.length;if(p){var k=jl(o,a);if(k<p&&Ls(o[k],a))return k}return-1}function xC(o,a){return jl(o,a,!0)}function SC(o,a,p){return Bl(o,a,lr(p,2),!0)}function CC(o,a){var p=o==null?0:o.length;if(p){var k=jl(o,a,!0)-1;if(Ls(o[k],a))return k}return-1}function wC(o){return o&&o.length?Au(o):[]}function AC(o,a){return o&&o.length?Au(o,lr(a,2)):[]}function TC(o){var a=o==null?0:o.length;return a?Di(o,1,a):[]}function EC(o,a,p){return o&&o.length?(a=p||a===t?1:Er(a),Di(o,0,a<0?0:a)):[]}function kC(o,a,p){var k=o==null?0:o.length;return k?(a=p||a===t?1:Er(a),a=k-a,Di(o,a<0?0:a,k)):[]}function RC(o,a){return o&&o.length?ql(o,lr(a,3),!1,!0):[]}function IC(o,a){return o&&o.length?ql(o,lr(a,3)):[]}var LC=mr(function(o){return Tn(Un(o,1,Vn,!0))}),MC=mr(function(o){var a=ss(o);return Vn(a)&&(a=t),Tn(Un(o,1,Vn,!0),lr(a,2))}),DC=mr(function(o){var a=ss(o);return a=typeof a=="function"?a:t,Tn(Un(o,1,Vn,!0),t,a)});function OC(o){return o&&o.length?Tn(o):[]}function PC(o,a){return o&&o.length?Tn(o,lr(a,2)):[]}function NC(o,a){return a=typeof a=="function"?a:t,o&&o.length?Tn(o,t,a):[]}function Nh(o){if(!(o&&o.length))return[];var a=0;return o=Wi(o,function(p){if(Vn(p))return a=cn(p.length,a),!0}),Ce(a,function(p){return Kr(o,T(p))})}function hv(o,a){if(!(o&&o.length))return[];var p=Nh(o);return a==null?p:Kr(p,function(k){return an(a,t,k)})}var FC=mr(function(o,a){return Vn(o)?As(o,a):[]}),jC=mr(function(o){return Oc(Wi(o,Vn))}),BC=mr(function(o){var a=ss(o);return Vn(a)&&(a=t),Oc(Wi(o,Vn),lr(a,2))}),HC=mr(function(o){var a=ss(o);return a=typeof a=="function"?a:t,Oc(Wi(o,Vn),t,a)}),qC=mr(Nh);function zC(o,a){return Pc(o||[],a||[],fi)}function $C(o,a){return Pc(o||[],a||[],Is)}var UC=mr(function(o){var a=o.length,p=a>1?o[a-1]:t;return p=typeof p=="function"?(o.pop(),p):t,hv(o,p)});function pv(o){var a=U(o);return a.__chain__=!0,a}function WC(o,a){return a(o),o}function gd(o,a){return a(o)}var VC=Ka(function(o){var a=o.length,p=a?o[0]:0,k=this.__wrapped__,q=function(Z){return _c(Z,o)};return a>1||this.__actions__.length||!(k instanceof br)||!Ya(p)?this.thru(q):(k=k.slice(p,+p+(a?1:0)),k.__actions__.push({func:gd,args:[q],thisArg:t}),new ii(k,this.__chain__).thru(function(Z){return a&&!Z.length&&Z.push(t),Z}))});function GC(){return pv(this)}function ZC(){return new ii(this.value(),this.__chain__)}function KC(){this.__values__===t&&(this.__values__=kv(this.value()));var o=this.__index__>=this.__values__.length,a=o?t:this.__values__[this.__index__++];return{done:o,value:a}}function YC(){return this}function XC(o){for(var a,p=this;p instanceof Mo;){var k=av(p);k.__index__=0,k.__values__=t,a?q.__wrapped__=k:a=k;var q=k;p=p.__wrapped__}return q.__wrapped__=o,a}function JC(){var o=this.__wrapped__;if(o instanceof br){var a=o;return this.__actions__.length&&(a=new br(this)),a=a.reverse(),a.__actions__.push({func:gd,args:[Ph],thisArg:t}),new ii(a,this.__chain__)}return this.thru(Ph)}function QC(){return oi(this.__wrapped__,this.__actions__)}var ew=Ul(function(o,a,p){zr.call(o,p)?++o[p]:Li(o,p,1)});function tw(o,a,p){var k=_r(o)?Ta:yu;return p&&Ji(o,a,p)&&(a=t),k(o,lr(a,3))}function rw(o,a){var p=_r(o)?Wi:bu;return p(o,lr(a,3))}var nw=ie(lv),iw=ie(cv);function ow(o,a){return Un(md(o,a),1)}function sw(o,a){return Un(md(o,a),ye)}function aw(o,a,p){return p=p===t?1:Er(p),Un(md(o,a),p)}function gv(o,a){var p=_r(o)?zn:Qo;return p(o,lr(a,3))}function mv(o,a){var p=_r(o)?fl:wc;return p(o,lr(a,3))}var lw=Ul(function(o,a,p){zr.call(o,p)?o[p].push(a):Li(o,p,[a])});function cw(o,a,p,k){o=go(o)?o:Lu(o),p=p&&!k?Er(p):0;var q=o.length;return p<0&&(p=cn(q+p,0)),xd(o)?p<=q&&o.indexOf(a,p)>-1:!!q&&Co(o,a,p)>-1}var uw=mr(function(o,a,p){var k=-1,q=typeof a=="function",Z=go(o)?Oe(o.length):[];return Qo(o,function(oe){Z[++k]=q?an(a,oe,p):co(oe,a,p)}),Z}),fw=Ul(function(o,a,p){Li(o,p,a)});function md(o,a){var p=_r(o)?Kr:Ki;return p(o,lr(a,3))}function dw(o,a,p,k){return o==null?[]:(_r(a)||(a=a==null?[]:[a]),p=k?t:p,_r(p)||(p=p==null?[]:[p]),Nl(o,a,p))}var hw=Ul(function(o,a,p){o[p?0:1].push(a)},function(){return[[],[]]});function pw(o,a,p){var k=_r(o)?Ea:$,q=arguments.length<3;return k(o,lr(a,4),p,q,Qo)}function gw(o,a,p){var k=_r(o)?dl:$,q=arguments.length<3;return k(o,lr(a,4),p,q,wc)}function mw(o,a){var p=_r(o)?Wi:bu;return p(o,bd(lr(a,3)))}function vw(o){var a=_r(o)?mi:Ua;return a(o)}function yw(o,a,p){(p?Ji(o,a,p):a===t)?a=1:a=Er(a);var k=_r(o)?Ii:Ic;return k(o,a)}function bw(o){var a=_r(o)?lo:Mc;return a(o)}function _w(o){if(o==null)return 0;if(go(o))return xd(o)?Xs(o):o.length;var a=Hi(o);return a==ht||a==wt?o.size:Po(o).length}function xw(o,a,p){var k=_r(o)?$o:_f;return p&&Ji(o,a,p)&&(a=t),k(o,lr(a,3))}var Sw=mr(function(o,a){if(o==null)return[];var p=a.length;return p>1&&Ji(o,a[0],a[1])?a=[]:p>2&&Ji(a[0],a[1],a[2])&&(a=[a[0]]),Nl(o,Un(a,1),[])}),vd=Ma||function(){return dr.Date.now()};function Cw(o,a){if(typeof a!="function")throw new Bi(u);return o=Er(o),function(){if(--o<1)return a.apply(this,arguments)}}function vv(o,a,p){return a=p?t:a,a=o&&a==null?o.length:a,Za(o,K,t,t,t,t,a)}function yv(o,a){var p;if(typeof a!="function")throw new Bi(u);return o=Er(o),function(){return--o>0&&(p=a.apply(this,arguments)),o<=1&&(a=t),p}}var Fh=mr(function(o,a,p){var k=E;if(p.length){var q=wo(p,Ru(Fh));k|=H}return Za(o,k,a,p,q)}),bv=mr(function(o,a,p){var k=E|x;if(p.length){var q=wo(p,Ru(bv));k|=H}return Za(a,k,o,p,q)});function _v(o,a,p){a=p?t:a;var k=Za(o,O,t,t,t,t,t,a);return k.placeholder=_v.placeholder,k}function xv(o,a,p){a=p?t:a;var k=Za(o,B,t,t,t,t,t,a);return k.placeholder=xv.placeholder,k}function Sv(o,a,p){var k,q,Z,oe,he,_e,nt=0,ot=!1,ut=!1,Nt=!0;if(typeof o!="function")throw new Bi(u);a=as(a)||0,Mn(p)&&(ot=!!p.leading,ut="maxWait"in p,Z=ut?cn(as(p.maxWait)||0,a):Z,Nt="trailing"in p?!!p.trailing:Nt);function Jt(Gn){var Ms=k,Qa=q;return k=q=t,nt=Gn,oe=o.apply(Qa,Ms),oe}function cr(Gn){return nt=Gn,he=Af(Fr,a),ot?Jt(Gn):oe}function Ir(Gn){var Ms=Gn-_e,Qa=Gn-nt,qv=a-Ms;return ut?Ln(qv,Z-Qa):qv}function ur(Gn){var Ms=Gn-_e,Qa=Gn-nt;return _e===t||Ms>=a||Ms<0||ut&&Qa>=Z}function Fr(){var Gn=vd();if(ur(Gn))return qr(Gn);he=Af(Fr,Ir(Gn))}function qr(Gn){return he=t,Nt&&k?Jt(Gn):(k=q=t,oe)}function jo(){he!==t&&ns(he),nt=0,k=_e=q=he=t}function Qi(){return he===t?oe:qr(vd())}function Bo(){var Gn=vd(),Ms=ur(Gn);if(k=arguments,q=this,_e=Gn,Ms){if(he===t)return cr(_e);if(ut)return ns(he),he=Af(Fr,a),Jt(_e)}return he===t&&(he=Af(Fr,a)),oe}return Bo.cancel=jo,Bo.flush=Qi,Bo}var ww=mr(function(o,a){return Cc(o,1,a)}),Aw=mr(function(o,a,p){return Cc(o,as(a)||0,p)});function Tw(o){return Za(o,J)}function yd(o,a){if(typeof o!="function"||a!=null&&typeof a!="function")throw new Bi(u);var p=function(){var k=arguments,q=a?a.apply(this,k):k[0],Z=p.cache;if(Z.has(q))return Z.get(q);var oe=o.apply(this,k);return p.cache=Z.set(q,oe)||Z,oe};return p.cache=new(yd.Cache||Do),p}yd.Cache=Do;function bd(o){if(typeof o!="function")throw new Bi(u);return function(){var a=arguments;switch(a.length){case 0:return!o.call(this);case 1:return!o.call(this,a[0]);case 2:return!o.call(this,a[0],a[1]);case 3:return!o.call(this,a[0],a[1],a[2])}return!o.apply(this,a)}}function Ew(o){return yv(2,o)}var kw=xf(function(o,a){a=a.length==1&&_r(a[0])?Kr(a[0],Vt(lr())):Kr(Un(a,1),Vt(lr()));var p=a.length;return mr(function(k){for(var q=-1,Z=Ln(k.length,p);++q<Z;)k[q]=a[q].call(this,k[q]);return an(o,this,k)})}),jh=mr(function(o,a){var p=wo(a,Ru(jh));return Za(o,H,t,a,p)}),Cv=mr(function(o,a){var p=wo(a,Ru(Cv));return Za(o,z,t,a,p)}),Rw=Ka(function(o,a){return Za(o,ue,t,t,t,a)});function Iw(o,a){if(typeof o!="function")throw new Bi(u);return a=a===t?a:Er(a),mr(o,a)}function Lw(o,a){if(typeof o!="function")throw new Bi(u);return a=a==null?0:cn(Er(a),0),mr(function(p){var k=p[a],q=fo(p,0,a);return k&&Ai(q,k),an(o,this,q)})}function Mw(o,a,p){var k=!0,q=!0;if(typeof o!="function")throw new Bi(u);return Mn(p)&&(k="leading"in p?!!p.leading:k,q="trailing"in p?!!p.trailing:q),Sv(o,a,{leading:k,maxWait:a,trailing:q})}function Dw(o){return vv(o,1)}function Ow(o,a){return jh(rs(a),o)}function Pw(){if(!arguments.length)return[];var o=arguments[0];return _r(o)?o:[o]}function Nw(o){return di(o,S)}function Fw(o,a){return a=typeof a=="function"?a:t,di(o,S,a)}function jw(o){return di(o,w|S)}function Bw(o,a){return a=typeof a=="function"?a:t,di(o,w|S,a)}function Hw(o,a){return a==null||Sc(o,a,vi(a))}function Ls(o,a){return o===a||o!==o&&a!==a}var qw=ho(Ts),zw=ho(function(o,a){return o>=a}),zc=Dl(function(){return arguments}())?Dl:function(o){return Nn(o)&&zr.call(o,"callee")&&!_l.call(o,"callee")},_r=Oe.isArray,$w=Qr?Vt(Qr):Es;function go(o){return o!=null&&_d(o.length)&&!Xa(o)}function Vn(o){return Nn(o)&&go(o)}function Uw(o){return o===!0||o===!1||Nn(o)&&Pn(o)==ze}var Wl=Sl||Kh,Ww=ci?Vt(ci):xu;function Vw(o){return Nn(o)&&o.nodeType===1&&!Tf(o)}function Gw(o){if(o==null)return!0;if(go(o)&&(_r(o)||typeof o=="string"||typeof o.splice=="function"||Wl(o)||Iu(o)||zc(o)))return!o.length;var a=Hi(o);if(a==ht||a==wt)return!o.size;if(wf(o))return!Po(o).length;for(var p in o)if(zr.call(o,p))return!1;return!0}function Zw(o,a){return Ha(o,a)}function Kw(o,a,p){p=typeof p=="function"?p:t;var k=p?p(o,a):t;return k===t?Ha(o,a,t,p):!!k}function Bh(o){if(!Nn(o))return!1;var a=Pn(o);return a==Ae||a==Le||typeof o.message=="string"&&typeof o.name=="string"&&!Tf(o)}function Yw(o){return typeof o=="number"&&na(o)}function Xa(o){if(!Mn(o))return!1;var a=Pn(o);return a==be||a==We||a==Fe||a==at}function wv(o){return typeof o=="number"&&o==Er(o)}function _d(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ce}function Mn(o){var a=typeof o;return o!=null&&(a=="object"||a=="function")}function Nn(o){return o!=null&&typeof o=="object"}var Av=gi?Vt(gi):da;function Xw(o,a){return o===a||Tc(o,a,Rh(a))}function Jw(o,a,p){return p=typeof p=="function"?p:t,Tc(o,a,Rh(a),p)}function Qw(o){return Tv(o)&&o!=+o}function e3(o){if(FS(o))throw new sr(l);return Su(o)}function t3(o){return o===null}function r3(o){return o==null}function Tv(o){return typeof o=="number"||Nn(o)&&Pn(o)==Ct}function Tf(o){if(!Nn(o)||Pn(o)!=Ie)return!1;var a=ys(o);if(a===null)return!0;var p=zr.call(a,"constructor")&&a.constructor;return typeof p=="function"&&p instanceof p&&Wo.call(p)==cc}var Hh=qn?Vt(qn):ks;function n3(o){return wv(o)&&o>=-9007199254740991&&o<=ce}var Ev=xo?Vt(xo):Ol;function xd(o){return typeof o=="string"||!_r(o)&&Nn(o)&&Pn(o)==Et}function Fo(o){return typeof o=="symbol"||Nn(o)&&Pn(o)==xt}var Iu=Ui?Vt(Ui):Oo;function i3(o){return o===t}function o3(o){return Nn(o)&&Hi(o)==je}function s3(o){return Nn(o)&&Pn(o)==Qe}var a3=ho(Zi),l3=ho(function(o,a){return o<=a});function kv(o){if(!o)return[];if(go(o))return xd(o)?fn(o):si(o);if(Vi&&o[Vi])return sc(o[Vi]());var a=Hi(o),p=a==ht?ac:a==wt?Ra:Lu;return p(o)}function Ja(o){if(!o)return o===0?o:0;if(o=as(o),o===ye||o===-1/0){var a=o<0?-1:1;return a*Ee}return o===o?o:0}function Er(o){var a=Ja(o),p=a%1;return a===a?p?a-p:a:0}function Rv(o){return o?ws(Er(o),0,se):0}function as(o){if(typeof o=="number")return o;if(Fo(o))return le;if(Mn(o)){var a=typeof o.valueOf=="function"?o.valueOf():o;o=Mn(a)?a+"":a}if(typeof o!="string")return o===0?o:+o;o=vt(o);var p=ir.test(o);return p||fr.test(o)?Gt(o.slice(2),p?2:8):qt.test(o)?le:+o}function Iv(o){return Xi(o,mo(o))}function c3(o){return o?ws(Er(o),-9007199254740991,ce):o===0?o:0}function tn(o){return o==null?"":Oi(o)}var u3=d(function(o,a){if(wf(a)||go(a)){Xi(a,vi(a),o);return}for(var p in a)zr.call(a,p)&&fi(o,p,a[p])}),Lv=d(function(o,a){Xi(a,mo(a),o)}),Sd=d(function(o,a,p,k){Xi(a,mo(a),o,k)}),f3=d(function(o,a,p,k){Xi(a,vi(a),o,k)}),d3=Ka(_c);function h3(o,a){var p=Lo(o);return a==null?p:vu(p,a)}var p3=mr(function(o,a){o=Wr(o);var p=-1,k=a.length,q=k>2?a[2]:t;for(q&&Ji(a[0],a[1],q)&&(k=1);++p<k;)for(var Z=a[p],oe=mo(Z),he=-1,_e=oe.length;++he<_e;){var nt=oe[he],ot=o[nt];(ot===t||Ls(ot,Uo[nt])&&!zr.call(o,nt))&&(o[nt]=Z[nt])}return o}),g3=mr(function(o){return o.push(t,Zm),an(Mv,t,o)});function m3(o,a){return gs(o,lr(a,3),Mi)}function v3(o,a){return gs(o,lr(a,3),Rl)}function y3(o,a){return o==null?o:Ac(o,lr(a,3),mo)}function b3(o,a){return o==null?o:_u(o,lr(a,3),mo)}function _3(o,a){return o&&Mi(o,lr(a,3))}function x3(o,a){return o&&Rl(o,lr(a,3))}function S3(o){return o==null?[]:la(o,vi(o))}function C3(o){return o==null?[]:la(o,mo(o))}function qh(o,a,p){var k=o==null?t:es(o,a);return k===t?p:k}function w3(o,a){return o!=null&&Xm(o,a,Il)}function zh(o,a){return o!=null&&Xm(o,a,ca)}var A3=lt(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=To.call(a)),o[a]=p},Uh(vo)),T3=lt(function(o,a,p){a!=null&&typeof a.toString!="function"&&(a=To.call(a)),zr.call(o,a)?o[a].push(p):o[a]=[p]},lr),E3=mr(co);function vi(o){return go(o)?ja(o):Po(o)}function mo(o){return go(o)?ja(o,!0):qa(o)}function k3(o,a){var p={};return a=lr(a,3),Mi(o,function(k,q,Z){Li(p,a(k,q,Z),k)}),p}function R3(o,a){var p={};return a=lr(a,3),Mi(o,function(k,q,Z){Li(p,q,a(k,q,Z))}),p}var I3=d(function(o,a,p){ts(o,a,p)}),Mv=d(function(o,a,p,k){ts(o,a,p,k)}),L3=Ka(function(o,a){var p={};if(o==null)return p;var k=!1;a=Kr(a,function(Z){return Z=No(Z,o),k||(k=Z.length>1),Z}),Xi(o,Eh(o),p),k&&(p=di(p,w|b|S,AS));for(var q=a.length;q--;)Dc(p,a[q]);return p});function M3(o,a){return Dv(o,bd(lr(a)))}var D3=Ka(function(o,a){return o==null?{}:$a(o,a)});function Dv(o,a){if(o==null)return{};var p=Kr(Eh(o),function(k){return[k]});return a=lr(a),pa(o,p,function(k,q){return a(k,q[0])})}function O3(o,a,p){a=No(a,o);var k=-1,q=a.length;for(q||(q=1,o=t);++k<q;){var Z=o==null?t:o[ma(a[k])];Z===t&&(k=q,Z=p),o=Xa(Z)?Z.call(o):Z}return o}function P3(o,a,p){return o==null?o:Is(o,a,p)}function N3(o,a,p,k){return k=typeof k=="function"?k:t,o==null?o:Is(o,a,p,k)}var Ov=fd(vi),Pv=fd(mo);function F3(o,a,p){var k=_r(o),q=k||Wl(o)||Iu(o);if(a=lr(a,4),p==null){var Z=o&&o.constructor;q?p=k?new Z:[]:Mn(o)?p=Xa(Z)?Lo(ys(o)):{}:p={}}return(q?zn:Mi)(o,function(oe,he,_e){return a(p,oe,he,_e)}),p}function j3(o,a){return o==null?!0:Dc(o,a)}function B3(o,a,p){return o==null?o:Wa(o,a,rs(p))}function H3(o,a,p,k){return k=typeof k=="function"?k:t,o==null?o:Wa(o,a,rs(p),k)}function Lu(o){return o==null?[]:hr(o,vi(o))}function q3(o){return o==null?[]:hr(o,mo(o))}function z3(o,a,p){return p===t&&(p=a,a=t),p!==t&&(p=as(p),p=p===p?p:0),a!==t&&(a=as(a),a=a===a?a:0),ws(as(o),a,p)}function $3(o,a,p){return a=Ja(a),p===t?(p=a,a=0):p=Ja(p),o=as(o),Ll(o,a,p)}function U3(o,a,p){if(p&&typeof p!="boolean"&&Ji(o,a,p)&&(a=p=t),p===t&&(typeof a=="boolean"?(p=a,a=t):typeof o=="boolean"&&(p=o,o=t)),o===t&&a===t?(o=0,a=1):(o=Ja(o),a===t?(a=o,o=0):a=Ja(a)),o>a){var k=o;o=a,a=k}if(p||o%1||a%1){var q=Zo();return Ln(o+q*(a-o+Xt("1e-"+((q+"").length-1))),a)}return Rs(o,a)}var W3=D(function(o,a,p){return a=a.toLowerCase(),o+(p?Nv(a):a)});function Nv(o){return $h(tn(o).toLowerCase())}function Fv(o){return o=tn(o),o&&o.replace(yr,Ei).replace(no,"")}function V3(o,a,p){o=tn(o),a=Oi(a);var k=o.length;p=p===t?k:ws(Er(p),0,k);var q=p;return p-=a.length,p>=0&&o.slice(p,q)==a}function G3(o){return o=tn(o),o&&_t.test(o)?o.replace(pt,Ks):o}function Z3(o){return o=tn(o),o&&Tt.test(o)?o.replace(rt,"\\$&"):o}var K3=D(function(o,a,p){return o+(p?"-":"")+a.toLowerCase()}),Y3=D(function(o,a,p){return o+(p?" ":"")+a.toLowerCase()}),X3=y("toLowerCase");function J3(o,a,p){o=tn(o),a=Er(a);var k=a?Xs(o):0;if(!a||k>=a)return o;var q=(a-k)/2;return Dr(bs(q),p)+o+Dr(ta(q),p)}function Q3(o,a,p){o=tn(o),a=Er(a);var k=a?Xs(o):0;return a&&k<a?o+Dr(a-k,p):o}function eA(o,a,p){o=tn(o),a=Er(a);var k=a?Xs(o):0;return a&&k<a?Dr(a-k,p)+o:o}function tA(o,a,p){return p||a==null?a=0:a&&(a=+a),dc(tn(o).replace(yt,""),a||0)}function rA(o,a,p){return(p?Ji(o,a,p):a===t)?a=1:a=Er(a),Fl(tn(o),a)}function nA(){var o=arguments,a=tn(o[0]);return o.length<3?a:a.replace(o[1],o[2])}var iA=D(function(o,a,p){return o+(p?"_":"")+a.toLowerCase()});function oA(o,a,p){return p&&typeof p!="number"&&Ji(o,a,p)&&(a=p=t),p=p===t?se:p>>>0,p?(o=tn(o),o&&(typeof a=="string"||a!=null&&!Hh(a))&&(a=Oi(a),!a&&Ys(o))?fo(fn(o),0,p):o.split(a,p)):[]}var sA=D(function(o,a,p){return o+(p?" ":"")+$h(a)});function aA(o,a,p){return o=tn(o),p=p==null?0:ws(Er(p),0,o.length),a=Oi(a),o.slice(p,p+a.length)==a}function lA(o,a,p){var k=U.templateSettings;p&&Ji(o,a,p)&&(a=t),o=tn(o),a=Sd({},a,k,Gm);var q=Sd({},a.imports,k.imports,Gm),Z=vi(q),oe=hr(q,Z),he,_e,nt=0,ot=a.interpolate||Kn,ut="__p += '",Nt=Js((a.escape||Kn).source+"|"+ot.source+"|"+(ot===rr?jt:Kn).source+"|"+(a.evaluate||Kn).source+"|$","g"),Jt="//# sourceURL="+(zr.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Or+"]")+`
|
36
36
|
`;o.replace(Nt,function(ur,Fr,qr,jo,Qi,Bo){return qr||(qr=jo),ut+=o.slice(nt,Bo).replace(Cn,ml),Fr&&(he=!0,ut+=`' +
|
37
37
|
__e(`+Fr+`) +
|
38
38
|
'`),Qi&&(_e=!0,ut+=`';
|
@@ -49,7 +49,7 @@ __p += '`),qr&&(ut+=`' +
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
50
50
|
`:`;
|
51
51
|
`)+ut+`return __p
|
52
|
-
}`;var Ir=Bv(function(){return Pr(Z,Jt+"return "+ut).apply(t,oe)});if(Ir.source=ut,Bh(Ir))throw Ir;return Ir}function cA(o){return tn(o).toLowerCase()}function uA(o){return tn(o).toUpperCase()}function fA(o,a,p){if(o=tn(o),o&&(p||a===t))return mt(o);if(!o||!(a=Oi(a)))return o;var k=fn(o),q=fn(a),Z=Gr(k,q),oe=ni(k,q)+1;return fo(k,Z,oe).join("")}function dA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.slice(0,au(o)+1);if(!o||!(a=Oi(a)))return o;var k=fn(o),q=ni(k,fn(a))+1;return fo(k,0,q).join("")}function hA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.replace(yt,"");if(!o||!(a=Oi(a)))return o;var k=fn(o),q=Gr(k,fn(a));return fo(k,q).join("")}function pA(o,a){var p=fe,k=j;if(Mn(a)){var q="separator"in a?a.separator:q;p="length"in a?Er(a.length):p,k="omission"in a?Oi(a.omission):k}o=tn(o);var Z=o.length;if(Ys(o)){var oe=fn(o);Z=oe.length}if(p>=Z)return o;var he=p-Xs(k);if(he<1)return k;var _e=oe?fo(oe,0,he).join(""):o.slice(0,he);if(q===t)return _e+k;if(oe&&(he+=_e.length-he),Hh(q)){if(o.slice(he).search(q)){var nt,ot=_e;for(q.global||(q=Js(q.source,tn(At.exec(q))+"g")),q.lastIndex=0;nt=q.exec(ot);)var ut=nt.index;_e=_e.slice(0,ut===t?he:ut)}}else if(o.indexOf(Oi(q),he)!=he){var Nt=_e.lastIndexOf(q);Nt>-1&&(_e=_e.slice(0,Nt))}return _e+k}function gA(o){return o=tn(o),o&&kt.test(o)?o.replace(Le,lu):o}var mA=D(function(o,a,p){return o+(p?" ":"")+a.toUpperCase()}),$h=y("toUpperCase");function jv(o,a,p){return o=tn(o),a=p?t:a,a===t?of(o)?cu(o):Gs(o):o.match(a)||[]}var Bv=mr(function(o,a){try{return an(o,t,a)}catch(p){return Bh(p)?p:new sr(p)}}),vA=Ka(function(o,a){return zn(a,function(p){p=ma(p),Li(o,p,Fh(o[p],o))}),o});function yA(o){var a=o==null?0:o.length,p=lr();return o=a?Kr(o,function(k){if(typeof k[1]!="function")throw new Bi(u);return[p(k[0]),k[1]]}):[],mr(function(k){for(var q=-1;++q<a;){var Z=o[q];if(an(Z[0],this,k))return an(Z[1],this,k)}})}function bA(o){return xc(di(o,w))}function Uh(o){return function(){return o}}function _A(o,a){return o==null||o!==o?a:o}var xA=Se(),SA=Se(!0);function vo(o){return o}function Wh(o){return Pl(typeof o=="function"?o:di(o,w))}function CA(o){return uo(di(o,w))}function wA(o,a){return za(o,di(a,w))}var AA=mr(function(o,a){return function(p){return co(p,o,a)}}),TA=mr(function(o,a){return function(p){return co(o,p,a)}});function Vh(o,a,p){var k=vi(a),q=la(a,k);p==null&&!(Mn(a)&&(q.length||!k.length))&&(p=a,a=o,o=this,q=la(a,vi(a)));var Z=!(Mn(p)&&"chain"in p)||!!p.chain,oe=Xa(o);return zn(q,function(he){var _e=a[he];o[he]=_e,oe&&(o.prototype[he]=function(){var nt=this.__chain__;if(Z||nt){var ot=o(this.__wrapped__),ut=ot.__actions__=si(this.__actions__);return ut.push({func:_e,args:arguments,thisArg:o}),ot.__chain__=nt,ot}return _e.apply(o,Ai([this.value()],arguments))})}),o}function EA(){return dr._===this&&(dr._=uc),this}function Gh(){}function kA(o){return o=Er(o),mr(function(a){return ha(a,o)})}var RA=tr(Kr),IA=tr(Ta),LA=tr($o);function Hv(o){return Lh(o)?T(ma(o)):Cu(o)}function MA(o){return function(a){return o==null?t:es(o,a)}}var DA=is(),OA=is(!0);function Zh(){return[]}function Kh(){return!1}function PA(){return{}}function NA(){return""}function FA(){return!0}function jA(o,a){if(o=Er(o),o<1||o>ce)return[];var p=se,k=Ln(o,se);a=lr(a),o-=se;for(var q=Ce(k,a);++p<o;)a(p);return q}function BA(o){return _r(o)?Kr(o,ma):Fo(o)?[o]:si(sv(tn(o)))}function HA(o){var a=++lc;return tn(o)+a}var qA=Rt(function(o,a){return o+a},0),zA=os("ceil"),$A=Rt(function(o,a){return o/a},1),UA=os("floor");function WA(o){return o&&o.length?kl(o,vo,Ts):t}function VA(o,a){return o&&o.length?kl(o,lr(a,2),Ts):t}function GA(o){return ka(o,vo)}function ZA(o,a){return ka(o,lr(a,2))}function KA(o){return o&&o.length?kl(o,vo,Zi):t}function YA(o,a){return o&&o.length?kl(o,lr(a,2),Zi):t}var XA=Rt(function(o,a){return o*a},1),JA=os("round"),QA=Rt(function(o,a){return o-a},0);function e4(o){return o&&o.length?Re(o,vo):0}function t4(o,a){return o&&o.length?Re(o,lr(a,2)):0}return U.after=Cw,U.ary=vv,U.assign=u3,U.assignIn=Lv,U.assignInWith=Sd,U.assignWith=f3,U.at=d3,U.before=yv,U.bind=Fh,U.bindAll=vA,U.bindKey=bv,U.castArray=Pw,U.chain=pv,U.chunk=US,U.compact=WS,U.concat=VS,U.cond=yA,U.conforms=bA,U.constant=Uh,U.countBy=ew,U.create=h3,U.curry=_v,U.curryRight=xv,U.debounce=Sv,U.defaults=p3,U.defaultsDeep=g3,U.defer=ww,U.delay=Aw,U.difference=GS,U.differenceBy=ZS,U.differenceWith=KS,U.drop=YS,U.dropRight=XS,U.dropRightWhile=JS,U.dropWhile=QS,U.fill=eC,U.filter=rw,U.flatMap=ow,U.flatMapDeep=sw,U.flatMapDepth=aw,U.flatten=uv,U.flattenDeep=tC,U.flattenDepth=rC,U.flip=Tw,U.flow=xA,U.flowRight=SA,U.fromPairs=nC,U.functions=S3,U.functionsIn=C3,U.groupBy=lw,U.initial=oC,U.intersection=sC,U.intersectionBy=aC,U.intersectionWith=lC,U.invert=A3,U.invertBy=T3,U.invokeMap=uw,U.iteratee=Wh,U.keyBy=fw,U.keys=vi,U.keysIn=mo,U.map=md,U.mapKeys=k3,U.mapValues=R3,U.matches=CA,U.matchesProperty=wA,U.memoize=yd,U.merge=I3,U.mergeWith=Mv,U.method=AA,U.methodOf=TA,U.mixin=Vh,U.negate=bd,U.nthArg=kA,U.omit=L3,U.omitBy=M3,U.once=Ew,U.orderBy=dw,U.over=RA,U.overArgs=kw,U.overEvery=IA,U.overSome=LA,U.partial=jh,U.partialRight=Cv,U.partition=hw,U.pick=D3,U.pickBy=Dv,U.property=Hv,U.propertyOf=MA,U.pull=dC,U.pullAll=dv,U.pullAllBy=hC,U.pullAllWith=pC,U.pullAt=gC,U.range=DA,U.rangeRight=OA,U.rearg=Rw,U.reject=mw,U.remove=mC,U.rest=Iw,U.reverse=Ph,U.sampleSize=yw,U.set=P3,U.setWith=N3,U.shuffle=bw,U.slice=vC,U.sortBy=Sw,U.sortedUniq=wC,U.sortedUniqBy=AC,U.split=oA,U.spread=Lw,U.tail=TC,U.take=EC,U.takeRight=kC,U.takeRightWhile=RC,U.takeWhile=IC,U.tap=WC,U.throttle=Mw,U.thru=gd,U.toArray=kv,U.toPairs=Ov,U.toPairsIn=Pv,U.toPath=BA,U.toPlainObject=Iv,U.transform=F3,U.unary=Dw,U.union=LC,U.unionBy=MC,U.unionWith=DC,U.uniq=OC,U.uniqBy=PC,U.uniqWith=NC,U.unset=j3,U.unzip=Nh,U.unzipWith=hv,U.update=B3,U.updateWith=H3,U.values=Lu,U.valuesIn=q3,U.without=FC,U.words=jv,U.wrap=Ow,U.xor=jC,U.xorBy=BC,U.xorWith=HC,U.zip=qC,U.zipObject=zC,U.zipObjectDeep=$C,U.zipWith=UC,U.entries=Ov,U.entriesIn=Pv,U.extend=Lv,U.extendWith=Sd,Vh(U,U),U.add=qA,U.attempt=Bv,U.camelCase=W3,U.capitalize=Nv,U.ceil=zA,U.clamp=z3,U.clone=Nw,U.cloneDeep=jw,U.cloneDeepWith=Bw,U.cloneWith=Fw,U.conformsTo=Hw,U.deburr=Fv,U.defaultTo=_A,U.divide=$A,U.endsWith=V3,U.eq=Ls,U.escape=G3,U.escapeRegExp=Z3,U.every=tw,U.find=nw,U.findIndex=lv,U.findKey=m3,U.findLast=iw,U.findLastIndex=cv,U.findLastKey=v3,U.floor=UA,U.forEach=gv,U.forEachRight=mv,U.forIn=y3,U.forInRight=b3,U.forOwn=_3,U.forOwnRight=x3,U.get=qh,U.gt=qw,U.gte=zw,U.has=w3,U.hasIn=zh,U.head=fv,U.identity=vo,U.includes=cw,U.indexOf=iC,U.inRange=$3,U.invoke=E3,U.isArguments=zc,U.isArray=_r,U.isArrayBuffer=$w,U.isArrayLike=go,U.isArrayLikeObject=Vn,U.isBoolean=Uw,U.isBuffer=Wl,U.isDate=Ww,U.isElement=Vw,U.isEmpty=Gw,U.isEqual=Zw,U.isEqualWith=Kw,U.isError=Bh,U.isFinite=Yw,U.isFunction=Xa,U.isInteger=wv,U.isLength=_d,U.isMap=Av,U.isMatch=Xw,U.isMatchWith=Jw,U.isNaN=Qw,U.isNative=e3,U.isNil=r3,U.isNull=t3,U.isNumber=Tv,U.isObject=Mn,U.isObjectLike=Nn,U.isPlainObject=Tf,U.isRegExp=Hh,U.isSafeInteger=n3,U.isSet=Ev,U.isString=xd,U.isSymbol=Fo,U.isTypedArray=Iu,U.isUndefined=i3,U.isWeakMap=o3,U.isWeakSet=s3,U.join=cC,U.kebabCase=K3,U.last=ss,U.lastIndexOf=uC,U.lowerCase=Y3,U.lowerFirst=X3,U.lt=a3,U.lte=l3,U.max=WA,U.maxBy=VA,U.mean=GA,U.meanBy=ZA,U.min=KA,U.minBy=YA,U.stubArray=Zh,U.stubFalse=Kh,U.stubObject=PA,U.stubString=NA,U.stubTrue=FA,U.multiply=XA,U.nth=fC,U.noConflict=EA,U.noop=Gh,U.now=vd,U.pad=J3,U.padEnd=Q3,U.padStart=eA,U.parseInt=tA,U.random=U3,U.reduce=pw,U.reduceRight=gw,U.repeat=rA,U.replace=nA,U.result=O3,U.round=JA,U.runInContext=ve,U.sample=vw,U.size=_w,U.snakeCase=iA,U.some=xw,U.sortedIndex=yC,U.sortedIndexBy=bC,U.sortedIndexOf=_C,U.sortedLastIndex=xC,U.sortedLastIndexBy=SC,U.sortedLastIndexOf=CC,U.startCase=sA,U.startsWith=aA,U.subtract=QA,U.sum=e4,U.sumBy=t4,U.template=lA,U.times=jA,U.toFinite=Ja,U.toInteger=Er,U.toLength=Rv,U.toLower=cA,U.toNumber=as,U.toSafeInteger=c3,U.toString=tn,U.toUpper=uA,U.trim=fA,U.trimEnd=dA,U.trimStart=hA,U.truncate=pA,U.unescape=gA,U.uniqueId=HA,U.upperCase=mA,U.upperFirst=$h,U.each=gv,U.eachRight=mv,U.first=fv,Vh(U,function(){var o={};return Mi(U,function(a,p){zr.call(U.prototype,p)||(o[p]=a)}),o}(),{chain:!1}),U.VERSION=n,zn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){U[o].placeholder=U}),zn(["drop","take"],function(o,a){br.prototype[o]=function(p){p=p===t?1:cn(Er(p),0);var k=this.__filtered__&&!a?new br(this):this.clone();return k.__filtered__?k.__takeCount__=Ln(p,k.__takeCount__):k.__views__.push({size:Ln(p,se),type:o+(k.__dir__<0?"Right":"")}),k},br.prototype[o+"Right"]=function(p){return this.reverse()[o](p).reverse()}}),zn(["filter","map","takeWhile"],function(o,a){var p=a+1,k=p==re||p==ge;br.prototype[o]=function(q){var Z=this.clone();return Z.__iteratees__.push({iteratee:lr(q,3),type:p}),Z.__filtered__=Z.__filtered__||k,Z}}),zn(["head","last"],function(o,a){var p="take"+(a?"Right":"");br.prototype[o]=function(){return this[p](1).value()[0]}}),zn(["initial","tail"],function(o,a){var p="drop"+(a?"":"Right");br.prototype[o]=function(){return this.__filtered__?new br(this):this[p](1)}}),br.prototype.compact=function(){return this.filter(vo)},br.prototype.find=function(o){return this.filter(o).head()},br.prototype.findLast=function(o){return this.reverse().find(o)},br.prototype.invokeMap=mr(function(o,a){return typeof o=="function"?new br(this):this.map(function(p){return co(p,o,a)})}),br.prototype.reject=function(o){return this.filter(bd(lr(o)))},br.prototype.slice=function(o,a){o=Er(o);var p=this;return p.__filtered__&&(o>0||a<0)?new br(p):(o<0?p=p.takeRight(-o):o&&(p=p.drop(o)),a!==t&&(a=Er(a),p=a<0?p.dropRight(-a):p.take(a-o)),p)},br.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},br.prototype.toArray=function(){return this.take(se)},Mi(br.prototype,function(o,a){var p=/^(?:filter|find|map|reject)|While$/.test(a),k=/^(?:head|last)$/.test(a),q=U[k?"take"+(a=="last"?"Right":""):a],Z=k||/^find/.test(a);q&&(U.prototype[a]=function(){var oe=this.__wrapped__,he=k?[1]:arguments,_e=oe instanceof br,nt=he[0],ot=_e||_r(oe),ut=function(Fr){var qr=q.apply(U,Ai([Fr],he));return k&&Nt?qr[0]:qr};ot&&p&&typeof nt=="function"&&nt.length!=1&&(_e=ot=!1);var Nt=this.__chain__,Jt=!!this.__actions__.length,cr=Z&&!Nt,Ir=_e&&!Jt;if(!Z&&ot){oe=Ir?oe:new br(this);var ur=o.apply(oe,he);return ur.__actions__.push({func:gd,args:[ut],thisArg:t}),new ii(ur,Nt)}return cr&&Ir?o.apply(this,he):(ur=this.thru(ut),cr?k?ur.value()[0]:ur.value():ur)})}),zn(["pop","push","shift","sort","splice","unshift"],function(o){var a=bl[o],p=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",k=/^(?:pop|shift)$/.test(o);U.prototype[o]=function(){var q=arguments;if(k&&!this.__chain__){var Z=this.value();return a.apply(_r(Z)?Z:[],q)}return this[p](function(oe){return a.apply(_r(oe)?oe:[],q)})}}),Mi(br.prototype,function(o,a){var p=U[a];if(p){var k=p.name+"";zr.call(_s,k)||(_s[k]=[]),_s[k].push({name:a,func:p})}}),_s[Je(t,x).name]=[{name:"wrapper",func:t}],br.prototype.clone=wl,br.prototype.reverse=Na,br.prototype.value=Al,U.prototype.at=VC,U.prototype.chain=GC,U.prototype.commit=ZC,U.prototype.next=KC,U.prototype.plant=XC,U.prototype.reverse=JC,U.prototype.toJSON=U.prototype.valueOf=U.prototype.value=QC,U.prototype.first=U.prototype.head,Vi&&(U.prototype[Vi]=YC),U},Ao=yl();Jr?((Jr.exports=Ao)._=Ao,Tr._=Ao):dr._=Ao}).call(l4)}(Pf,Pf.exports)),Pf.exports}var $_=c4();const nl=al($_),u4=r=>{try{return JSON.parse(r)}catch{return}},f4=(r,e)=>JSON.stringify(r,null,e),d4=r=>Object.keys(r),h4=r=>Object.values(r),p4=r=>Object.entries(r),g4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},m4=(r,e)=>Object.keys(r).includes(e),v4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),y4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),b4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),U_=r=>A.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(U_),_4=(r,e)=>nl.isEqual(r,e),er={equal:_4,parse:u4,stringify:f4,keys:d4,values:h4,entries:p4,forEach:g4,hasKey:m4,map:v4,some:y4,find:b4,isReactNode:U_},W_="_NoSelect_1wchx_1",V_="_IsFixedShape_1wchx_6",G_="_IsCursorPointer_1wchx_11",Z_="_IsInteractive_1wchx_15",$c={NoSelect:W_,IsFixedShape:V_,IsCursorPointer:G_,IsInteractive:Z_},x4="_Display1_11vgm_1",S4="_Display2_11vgm_6",C4="_Title1_11vgm_11",w4="_Title2_11vgm_16",A4="_Title3_11vgm_21",T4="_Headline1_11vgm_26",E4="_Headline2_11vgm_31",k4="_Body1Normal_11vgm_36",R4="_Body1Reading_11vgm_41",I4="_Label1_11vgm_46",L4="_Label2_11vgm_51",M4="_Caption1_11vgm_56",D4="_Caption2_11vgm_61",O4="_Regular_11vgm_66",P4="_Medium_11vgm_70",N4="_SemiBold_11vgm_74",F4="_Bold_11vgm_78",Pi={Display1:x4,Display2:S4,Title1:C4,Title2:w4,Title3:A4,Headline1:T4,Headline2:E4,Body1Normal:k4,Body1Reading:R4,Label1:I4,Label2:L4,Caption1:M4,Caption2:D4,Regular:O4,Medium:P4,SemiBold:N4,Bold:F4};function Vv(...r){return r.filter(Boolean).join(" ")}const K_={NoSelect:$c.NoSelect,IsClickable:Vv($c.NoSelect,$c.IsCursorPointer,$c.IsFixedShape),IsInteractive:Vv($c.NoSelect,$c.IsCursorPointer,$c.IsInteractive)},Y_={Display1:Pi.Display1,Display2:Pi.Display2,Title1:Pi.Title1,Title2:Pi.Title2,Title3:Pi.Title3,Headline1:Pi.Headline1,Headline2:Pi.Headline2,Body1Normal:Pi.Body1Normal,Body1Reading:Pi.Body1Reading,Label1:Pi.Label1,Label2:Pi.Label2,Caption1:Pi.Caption1,Caption2:Pi.Caption2,Regular:Pi.Regular,Medium:Pi.Medium,SemiBold:Pi.SemiBold,Bold:Pi.Bold};let cm={};const Gf={...K_,...Y_,...cm};let um=er.keys(Gf);function j4(){Object.assign(Gf,cm),um=er.keys(Gf)}function B4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];um.includes(n)&&(n=Gf[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function H4(r,...e){const t=[],n=er.keys(r);for(let i=0;i<e.length;i++){let l=e[i];um.includes(l)?l=Gf[l]:n.includes(l)&&(l=r[l]),typeof l=="string"&&l!==""&&t.push(l)}return t.join(" ")}const Be={clsx:B4,sclsx:H4,classes:K_,typographies:Y_,additionalClasses:cm,updateKeys:j4},Ni={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},dt=(r,e=Ni.md)=>{const t=Ni[r],n=t/e,i={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const l=(e-t)/2;return{...i,viewBox:`${l} ${l} ${t} ${t}`,transform:`scale(${n})`}}return i},Mu=(r,e=Ni.md)=>{const t=Ni[r],n=40,i=t/e,l={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(i<0){const u=(e-t)/2;return{...l,viewBox:`${u} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${i})`}}return l},Zn=r=>({fill:"none",stroke:r,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),jr=r=>{const{icon:e,style:t,svgRef:n,...i}=r,l=A.useMemo(()=>ih[e],[e]);return v.jsx(l,{...i,style:{...t,flexShrink:0}})},q4=r=>{const e=er.keys(r);return n=>{const{icon:i,svgRef:l,...u}=n,f=A.useMemo(()=>e.includes(i)?r[i]:ih[i],[i]);return v.jsx(f,{...u})}},ih=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.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:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.jsx("rect",{x:"3",y:"7",width:"10",height:"1",fill:t})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Ni.xs;return v.jsx("svg",{...dt(e,u),fill:n,...l,ref:i,children:v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),v.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r,u=Ni["3xl"];return v.jsxs("svg",{...dt(e,u),fill:"none",strokeWidth:"12",...l,ref:i,children:[v.jsx("circle",{cx:"32",cy:"32",r:"22",style:{...l.style,transition:"stroke var(--Transition)"},stroke:n}),v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},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,children:v.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 32 32",to:"360 32 32",dur:"1s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.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"}),v.jsx("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),v.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e,28),...Zn(t),strokeWidth:1,...l,ref:i,children:[v.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),v.jsx("path",{d:"M21.1213 21.1213L19 19"}),v.jsx("path",{d:"M24 14L21 14"}),v.jsx("path",{d:"M9.12132 19L7 21.1213"}),v.jsx("path",{d:"M14 21L14 24"}),v.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),v.jsx("path",{d:"M4 14L7 14"}),v.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),v.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e,28),...l,ref:i,children:[v.jsx("mask",{id:"path-1-inside-1_640_3082",fill:n,children:v.jsx("path",{fillRule:"evenodd",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"})}),v.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:i,...l}=r,u=Ni["2xs"];return v.jsxs("svg",{...dt(e,u),...l,ref:i,children:[v.jsx("rect",{x:"1",y:"5",width:"1",height:"5",fill:t}),v.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),v.jsx("rect",{x:"5.12132",y:"2",width:"5.13925",height:"3",transform:"rotate(45 5.12132 2)",fill:t}),v.jsx("rect",{x:"8.83633",y:"6.28503",width:"1",height:"2.19393",transform:"rotate(45 8.83633 6.28503)",fill:t}),v.jsx("clipPath",{id:"clip0_2241_2464",children:v.jsx("rect",{width:"12",height:"12",fill:n})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:n,...l,ref:i,children:v.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[v.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}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},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})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsx("svg",{...dt(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsx("svg",{...dt(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),fill:"none",...l,ref:i,children:[v.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),v.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{opacity:"0.2",d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),...l,ref:i,children:[v.jsx("path",{opacity:"0.2",d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.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:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),...Zn(t),fill:n,strokeWidth:"1",...l,ref:i,children:v.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,...i}=r;return v.jsxs("svg",{viewBox:"0 0 118 84",width:"118",height:"84",...i,ref:n,children:[v.jsx("path",{fillRule:"evenodd",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}),v.jsx("path",{fillRule:"evenodd",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}),v.jsx("path",{fillRule:"evenodd",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}),v.jsx("path",{fillRule:"evenodd",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})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...i}=r;return v.jsx("svg",{viewBox:"0 0 1482 1112",width:"1482",height:"1112",fill:t,...i,ref:n,children:v.jsxs("g",{children:[v.jsx("path",{opacity:"0.22",d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",stroke:e}),v.jsx("path",{opacity:"0.48",d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",stroke:e}),v.jsx("path",{opacity:"0.74",d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",stroke:e}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),v.jsx("polyline",{points:"13 2 13 9 20 9"})]})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),overflow:"hidden",strokeWidth:"0.5",...l,ref:i,children:[v.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",stroke:t,fill:t}),v.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",stroke:t,fill:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),overflow:"hidden",strokeWidth:"0.166718",...l,ref:i,children:[v.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",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.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",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.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",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.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"}),v.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),v.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),v.jsx("line",{x1:"9",y1:"20",x2:"15",y2:"20"}),v.jsx("line",{x1:"12",y1:"4",x2:"12",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),fill:t,...l,ref:i,children:[v.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"}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),...Zn(t),...l,ref:i,children:v.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),...Zn(t),...l,ref:i,children:v.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("g",{transform:"scale(0.046875 0.046875)",children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"10"}),v.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),v.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),fill:t,...l,ref:i,children:[v.jsx("circle",{cx:"10",cy:"8",r:"4"}),v.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:i,...l}=r;return v.jsxs("svg",{...dt(e,96),...Zn(t),...l,ref:i,children:[v.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[v.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"}),v.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"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_1_3",children:v.jsx("rect",{width:"96",height:"96",fill:"white"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),v.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"12",cy:"5",r:"1"}),v.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"19",cy:"12",r:"1"}),v.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.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"}),v.jsx("path",{fillRule:"evenodd",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,strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},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)",strokeWidth:"0.75",strokeMiterlimit:"11.4737",strokeLinecap:"round",strokeDasharray:"0.75 1.5"}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},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})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("polyline",{points:"3 6 5 6 21 6"}),v.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"}),v.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),v.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...Mu(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M360-440h240v-80H360v80Z"}),v.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,...i}=r;return v.jsx("svg",{...dt(e),...Zn(t),...i,ref:n,children:v.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,...i}=r;return v.jsx("svg",{...dt(e),...Zn(t),...i,ref:n,children:v.jsx("line",{className:"ql-stroke ql-thick",x1:"5",y1:"12",x2:"19",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...l,ref:i,children:[v.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),v.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...dt(e),...i,ref:n,children:v.jsx("g",{id:"target",children:v.jsx("path",{id:"Vector",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})})})}}),fm=er.keys(ih);var Vl={},Uc={};/**
|
52
|
+
}`;var Ir=Bv(function(){return Pr(Z,Jt+"return "+ut).apply(t,oe)});if(Ir.source=ut,Bh(Ir))throw Ir;return Ir}function cA(o){return tn(o).toLowerCase()}function uA(o){return tn(o).toUpperCase()}function fA(o,a,p){if(o=tn(o),o&&(p||a===t))return vt(o);if(!o||!(a=Oi(a)))return o;var k=fn(o),q=fn(a),Z=Gr(k,q),oe=ni(k,q)+1;return fo(k,Z,oe).join("")}function dA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.slice(0,au(o)+1);if(!o||!(a=Oi(a)))return o;var k=fn(o),q=ni(k,fn(a))+1;return fo(k,0,q).join("")}function hA(o,a,p){if(o=tn(o),o&&(p||a===t))return o.replace(yt,"");if(!o||!(a=Oi(a)))return o;var k=fn(o),q=Gr(k,fn(a));return fo(k,q).join("")}function pA(o,a){var p=fe,k=j;if(Mn(a)){var q="separator"in a?a.separator:q;p="length"in a?Er(a.length):p,k="omission"in a?Oi(a.omission):k}o=tn(o);var Z=o.length;if(Ys(o)){var oe=fn(o);Z=oe.length}if(p>=Z)return o;var he=p-Xs(k);if(he<1)return k;var _e=oe?fo(oe,0,he).join(""):o.slice(0,he);if(q===t)return _e+k;if(oe&&(he+=_e.length-he),Hh(q)){if(o.slice(he).search(q)){var nt,ot=_e;for(q.global||(q=Js(q.source,tn(At.exec(q))+"g")),q.lastIndex=0;nt=q.exec(ot);)var ut=nt.index;_e=_e.slice(0,ut===t?he:ut)}}else if(o.indexOf(Oi(q),he)!=he){var Nt=_e.lastIndexOf(q);Nt>-1&&(_e=_e.slice(0,Nt))}return _e+k}function gA(o){return o=tn(o),o&&kt.test(o)?o.replace(Me,lu):o}var mA=D(function(o,a,p){return o+(p?" ":"")+a.toUpperCase()}),$h=y("toUpperCase");function jv(o,a,p){return o=tn(o),a=p?t:a,a===t?of(o)?cu(o):Gs(o):o.match(a)||[]}var Bv=mr(function(o,a){try{return an(o,t,a)}catch(p){return Bh(p)?p:new sr(p)}}),vA=Ka(function(o,a){return zn(a,function(p){p=ma(p),Li(o,p,Fh(o[p],o))}),o});function yA(o){var a=o==null?0:o.length,p=lr();return o=a?Kr(o,function(k){if(typeof k[1]!="function")throw new Bi(u);return[p(k[0]),k[1]]}):[],mr(function(k){for(var q=-1;++q<a;){var Z=o[q];if(an(Z[0],this,k))return an(Z[1],this,k)}})}function bA(o){return xc(di(o,w))}function Uh(o){return function(){return o}}function _A(o,a){return o==null||o!==o?a:o}var xA=Se(),SA=Se(!0);function vo(o){return o}function Wh(o){return Pl(typeof o=="function"?o:di(o,w))}function CA(o){return uo(di(o,w))}function wA(o,a){return za(o,di(a,w))}var AA=mr(function(o,a){return function(p){return co(p,o,a)}}),TA=mr(function(o,a){return function(p){return co(o,p,a)}});function Vh(o,a,p){var k=vi(a),q=la(a,k);p==null&&!(Mn(a)&&(q.length||!k.length))&&(p=a,a=o,o=this,q=la(a,vi(a)));var Z=!(Mn(p)&&"chain"in p)||!!p.chain,oe=Xa(o);return zn(q,function(he){var _e=a[he];o[he]=_e,oe&&(o.prototype[he]=function(){var nt=this.__chain__;if(Z||nt){var ot=o(this.__wrapped__),ut=ot.__actions__=si(this.__actions__);return ut.push({func:_e,args:arguments,thisArg:o}),ot.__chain__=nt,ot}return _e.apply(o,Ai([this.value()],arguments))})}),o}function EA(){return dr._===this&&(dr._=uc),this}function Gh(){}function kA(o){return o=Er(o),mr(function(a){return ha(a,o)})}var RA=tr(Kr),IA=tr(Ta),LA=tr($o);function Hv(o){return Lh(o)?T(ma(o)):Cu(o)}function MA(o){return function(a){return o==null?t:es(o,a)}}var DA=is(),OA=is(!0);function Zh(){return[]}function Kh(){return!1}function PA(){return{}}function NA(){return""}function FA(){return!0}function jA(o,a){if(o=Er(o),o<1||o>ce)return[];var p=se,k=Ln(o,se);a=lr(a),o-=se;for(var q=Ce(k,a);++p<o;)a(p);return q}function BA(o){return _r(o)?Kr(o,ma):Fo(o)?[o]:si(sv(tn(o)))}function HA(o){var a=++lc;return tn(o)+a}var qA=Rt(function(o,a){return o+a},0),zA=os("ceil"),$A=Rt(function(o,a){return o/a},1),UA=os("floor");function WA(o){return o&&o.length?kl(o,vo,Ts):t}function VA(o,a){return o&&o.length?kl(o,lr(a,2),Ts):t}function GA(o){return ka(o,vo)}function ZA(o,a){return ka(o,lr(a,2))}function KA(o){return o&&o.length?kl(o,vo,Zi):t}function YA(o,a){return o&&o.length?kl(o,lr(a,2),Zi):t}var XA=Rt(function(o,a){return o*a},1),JA=os("round"),QA=Rt(function(o,a){return o-a},0);function e4(o){return o&&o.length?Re(o,vo):0}function t4(o,a){return o&&o.length?Re(o,lr(a,2)):0}return U.after=Cw,U.ary=vv,U.assign=u3,U.assignIn=Lv,U.assignInWith=Sd,U.assignWith=f3,U.at=d3,U.before=yv,U.bind=Fh,U.bindAll=vA,U.bindKey=bv,U.castArray=Pw,U.chain=pv,U.chunk=US,U.compact=WS,U.concat=VS,U.cond=yA,U.conforms=bA,U.constant=Uh,U.countBy=ew,U.create=h3,U.curry=_v,U.curryRight=xv,U.debounce=Sv,U.defaults=p3,U.defaultsDeep=g3,U.defer=ww,U.delay=Aw,U.difference=GS,U.differenceBy=ZS,U.differenceWith=KS,U.drop=YS,U.dropRight=XS,U.dropRightWhile=JS,U.dropWhile=QS,U.fill=eC,U.filter=rw,U.flatMap=ow,U.flatMapDeep=sw,U.flatMapDepth=aw,U.flatten=uv,U.flattenDeep=tC,U.flattenDepth=rC,U.flip=Tw,U.flow=xA,U.flowRight=SA,U.fromPairs=nC,U.functions=S3,U.functionsIn=C3,U.groupBy=lw,U.initial=oC,U.intersection=sC,U.intersectionBy=aC,U.intersectionWith=lC,U.invert=A3,U.invertBy=T3,U.invokeMap=uw,U.iteratee=Wh,U.keyBy=fw,U.keys=vi,U.keysIn=mo,U.map=md,U.mapKeys=k3,U.mapValues=R3,U.matches=CA,U.matchesProperty=wA,U.memoize=yd,U.merge=I3,U.mergeWith=Mv,U.method=AA,U.methodOf=TA,U.mixin=Vh,U.negate=bd,U.nthArg=kA,U.omit=L3,U.omitBy=M3,U.once=Ew,U.orderBy=dw,U.over=RA,U.overArgs=kw,U.overEvery=IA,U.overSome=LA,U.partial=jh,U.partialRight=Cv,U.partition=hw,U.pick=D3,U.pickBy=Dv,U.property=Hv,U.propertyOf=MA,U.pull=dC,U.pullAll=dv,U.pullAllBy=hC,U.pullAllWith=pC,U.pullAt=gC,U.range=DA,U.rangeRight=OA,U.rearg=Rw,U.reject=mw,U.remove=mC,U.rest=Iw,U.reverse=Ph,U.sampleSize=yw,U.set=P3,U.setWith=N3,U.shuffle=bw,U.slice=vC,U.sortBy=Sw,U.sortedUniq=wC,U.sortedUniqBy=AC,U.split=oA,U.spread=Lw,U.tail=TC,U.take=EC,U.takeRight=kC,U.takeRightWhile=RC,U.takeWhile=IC,U.tap=WC,U.throttle=Mw,U.thru=gd,U.toArray=kv,U.toPairs=Ov,U.toPairsIn=Pv,U.toPath=BA,U.toPlainObject=Iv,U.transform=F3,U.unary=Dw,U.union=LC,U.unionBy=MC,U.unionWith=DC,U.uniq=OC,U.uniqBy=PC,U.uniqWith=NC,U.unset=j3,U.unzip=Nh,U.unzipWith=hv,U.update=B3,U.updateWith=H3,U.values=Lu,U.valuesIn=q3,U.without=FC,U.words=jv,U.wrap=Ow,U.xor=jC,U.xorBy=BC,U.xorWith=HC,U.zip=qC,U.zipObject=zC,U.zipObjectDeep=$C,U.zipWith=UC,U.entries=Ov,U.entriesIn=Pv,U.extend=Lv,U.extendWith=Sd,Vh(U,U),U.add=qA,U.attempt=Bv,U.camelCase=W3,U.capitalize=Nv,U.ceil=zA,U.clamp=z3,U.clone=Nw,U.cloneDeep=jw,U.cloneDeepWith=Bw,U.cloneWith=Fw,U.conformsTo=Hw,U.deburr=Fv,U.defaultTo=_A,U.divide=$A,U.endsWith=V3,U.eq=Ls,U.escape=G3,U.escapeRegExp=Z3,U.every=tw,U.find=nw,U.findIndex=lv,U.findKey=m3,U.findLast=iw,U.findLastIndex=cv,U.findLastKey=v3,U.floor=UA,U.forEach=gv,U.forEachRight=mv,U.forIn=y3,U.forInRight=b3,U.forOwn=_3,U.forOwnRight=x3,U.get=qh,U.gt=qw,U.gte=zw,U.has=w3,U.hasIn=zh,U.head=fv,U.identity=vo,U.includes=cw,U.indexOf=iC,U.inRange=$3,U.invoke=E3,U.isArguments=zc,U.isArray=_r,U.isArrayBuffer=$w,U.isArrayLike=go,U.isArrayLikeObject=Vn,U.isBoolean=Uw,U.isBuffer=Wl,U.isDate=Ww,U.isElement=Vw,U.isEmpty=Gw,U.isEqual=Zw,U.isEqualWith=Kw,U.isError=Bh,U.isFinite=Yw,U.isFunction=Xa,U.isInteger=wv,U.isLength=_d,U.isMap=Av,U.isMatch=Xw,U.isMatchWith=Jw,U.isNaN=Qw,U.isNative=e3,U.isNil=r3,U.isNull=t3,U.isNumber=Tv,U.isObject=Mn,U.isObjectLike=Nn,U.isPlainObject=Tf,U.isRegExp=Hh,U.isSafeInteger=n3,U.isSet=Ev,U.isString=xd,U.isSymbol=Fo,U.isTypedArray=Iu,U.isUndefined=i3,U.isWeakMap=o3,U.isWeakSet=s3,U.join=cC,U.kebabCase=K3,U.last=ss,U.lastIndexOf=uC,U.lowerCase=Y3,U.lowerFirst=X3,U.lt=a3,U.lte=l3,U.max=WA,U.maxBy=VA,U.mean=GA,U.meanBy=ZA,U.min=KA,U.minBy=YA,U.stubArray=Zh,U.stubFalse=Kh,U.stubObject=PA,U.stubString=NA,U.stubTrue=FA,U.multiply=XA,U.nth=fC,U.noConflict=EA,U.noop=Gh,U.now=vd,U.pad=J3,U.padEnd=Q3,U.padStart=eA,U.parseInt=tA,U.random=U3,U.reduce=pw,U.reduceRight=gw,U.repeat=rA,U.replace=nA,U.result=O3,U.round=JA,U.runInContext=ve,U.sample=vw,U.size=_w,U.snakeCase=iA,U.some=xw,U.sortedIndex=yC,U.sortedIndexBy=bC,U.sortedIndexOf=_C,U.sortedLastIndex=xC,U.sortedLastIndexBy=SC,U.sortedLastIndexOf=CC,U.startCase=sA,U.startsWith=aA,U.subtract=QA,U.sum=e4,U.sumBy=t4,U.template=lA,U.times=jA,U.toFinite=Ja,U.toInteger=Er,U.toLength=Rv,U.toLower=cA,U.toNumber=as,U.toSafeInteger=c3,U.toString=tn,U.toUpper=uA,U.trim=fA,U.trimEnd=dA,U.trimStart=hA,U.truncate=pA,U.unescape=gA,U.uniqueId=HA,U.upperCase=mA,U.upperFirst=$h,U.each=gv,U.eachRight=mv,U.first=fv,Vh(U,function(){var o={};return Mi(U,function(a,p){zr.call(U.prototype,p)||(o[p]=a)}),o}(),{chain:!1}),U.VERSION=n,zn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){U[o].placeholder=U}),zn(["drop","take"],function(o,a){br.prototype[o]=function(p){p=p===t?1:cn(Er(p),0);var k=this.__filtered__&&!a?new br(this):this.clone();return k.__filtered__?k.__takeCount__=Ln(p,k.__takeCount__):k.__views__.push({size:Ln(p,se),type:o+(k.__dir__<0?"Right":"")}),k},br.prototype[o+"Right"]=function(p){return this.reverse()[o](p).reverse()}}),zn(["filter","map","takeWhile"],function(o,a){var p=a+1,k=p==re||p==me;br.prototype[o]=function(q){var Z=this.clone();return Z.__iteratees__.push({iteratee:lr(q,3),type:p}),Z.__filtered__=Z.__filtered__||k,Z}}),zn(["head","last"],function(o,a){var p="take"+(a?"Right":"");br.prototype[o]=function(){return this[p](1).value()[0]}}),zn(["initial","tail"],function(o,a){var p="drop"+(a?"":"Right");br.prototype[o]=function(){return this.__filtered__?new br(this):this[p](1)}}),br.prototype.compact=function(){return this.filter(vo)},br.prototype.find=function(o){return this.filter(o).head()},br.prototype.findLast=function(o){return this.reverse().find(o)},br.prototype.invokeMap=mr(function(o,a){return typeof o=="function"?new br(this):this.map(function(p){return co(p,o,a)})}),br.prototype.reject=function(o){return this.filter(bd(lr(o)))},br.prototype.slice=function(o,a){o=Er(o);var p=this;return p.__filtered__&&(o>0||a<0)?new br(p):(o<0?p=p.takeRight(-o):o&&(p=p.drop(o)),a!==t&&(a=Er(a),p=a<0?p.dropRight(-a):p.take(a-o)),p)},br.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},br.prototype.toArray=function(){return this.take(se)},Mi(br.prototype,function(o,a){var p=/^(?:filter|find|map|reject)|While$/.test(a),k=/^(?:head|last)$/.test(a),q=U[k?"take"+(a=="last"?"Right":""):a],Z=k||/^find/.test(a);q&&(U.prototype[a]=function(){var oe=this.__wrapped__,he=k?[1]:arguments,_e=oe instanceof br,nt=he[0],ot=_e||_r(oe),ut=function(Fr){var qr=q.apply(U,Ai([Fr],he));return k&&Nt?qr[0]:qr};ot&&p&&typeof nt=="function"&&nt.length!=1&&(_e=ot=!1);var Nt=this.__chain__,Jt=!!this.__actions__.length,cr=Z&&!Nt,Ir=_e&&!Jt;if(!Z&&ot){oe=Ir?oe:new br(this);var ur=o.apply(oe,he);return ur.__actions__.push({func:gd,args:[ut],thisArg:t}),new ii(ur,Nt)}return cr&&Ir?o.apply(this,he):(ur=this.thru(ut),cr?k?ur.value()[0]:ur.value():ur)})}),zn(["pop","push","shift","sort","splice","unshift"],function(o){var a=bl[o],p=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",k=/^(?:pop|shift)$/.test(o);U.prototype[o]=function(){var q=arguments;if(k&&!this.__chain__){var Z=this.value();return a.apply(_r(Z)?Z:[],q)}return this[p](function(oe){return a.apply(_r(oe)?oe:[],q)})}}),Mi(br.prototype,function(o,a){var p=U[a];if(p){var k=p.name+"";zr.call(_s,k)||(_s[k]=[]),_s[k].push({name:a,func:p})}}),_s[Je(t,x).name]=[{name:"wrapper",func:t}],br.prototype.clone=wl,br.prototype.reverse=Na,br.prototype.value=Al,U.prototype.at=VC,U.prototype.chain=GC,U.prototype.commit=ZC,U.prototype.next=KC,U.prototype.plant=XC,U.prototype.reverse=JC,U.prototype.toJSON=U.prototype.valueOf=U.prototype.value=QC,U.prototype.first=U.prototype.head,Vi&&(U.prototype[Vi]=YC),U},Ao=yl();Jr?((Jr.exports=Ao)._=Ao,Tr._=Ao):dr._=Ao}).call(l4)}(Pf,Pf.exports)),Pf.exports}var $_=c4();const nl=al($_),u4=r=>{try{return JSON.parse(r)}catch{return}},f4=(r,e)=>JSON.stringify(r,null,e),d4=r=>Object.keys(r),h4=r=>Object.values(r),p4=r=>Object.entries(r),g4=(r,e)=>{Object.entries(r).forEach(([t,n])=>e(t,n))},m4=(r,e)=>Object.keys(r).includes(e),v4=(r,e)=>Object.entries(r).map((t,n)=>e(t,n)),y4=(r,e)=>Object.entries(r).some(([t,n])=>e(t,n)),b4=(r,e)=>Object.entries(r).find(([t,n])=>e(t,n)),U_=r=>A.isValidElement(r)||typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null||r===void 0||Array.isArray(r)&&r.every(U_),_4=(r,e)=>nl.isEqual(r,e),er={equal:_4,parse:u4,stringify:f4,keys:d4,values:h4,entries:p4,forEach:g4,hasKey:m4,map:v4,some:y4,find:b4,isReactNode:U_},W_="_NoSelect_1wchx_1",V_="_IsFixedShape_1wchx_6",G_="_IsCursorPointer_1wchx_11",Z_="_IsInteractive_1wchx_15",$c={NoSelect:W_,IsFixedShape:V_,IsCursorPointer:G_,IsInteractive:Z_},x4="_Display1_11vgm_1",S4="_Display2_11vgm_6",C4="_Title1_11vgm_11",w4="_Title2_11vgm_16",A4="_Title3_11vgm_21",T4="_Headline1_11vgm_26",E4="_Headline2_11vgm_31",k4="_Body1Normal_11vgm_36",R4="_Body1Reading_11vgm_41",I4="_Label1_11vgm_46",L4="_Label2_11vgm_51",M4="_Caption1_11vgm_56",D4="_Caption2_11vgm_61",O4="_Regular_11vgm_66",P4="_Medium_11vgm_70",N4="_SemiBold_11vgm_74",F4="_Bold_11vgm_78",Pi={Display1:x4,Display2:S4,Title1:C4,Title2:w4,Title3:A4,Headline1:T4,Headline2:E4,Body1Normal:k4,Body1Reading:R4,Label1:I4,Label2:L4,Caption1:M4,Caption2:D4,Regular:O4,Medium:P4,SemiBold:N4,Bold:F4};function Vv(...r){return r.filter(Boolean).join(" ")}const K_={NoSelect:$c.NoSelect,IsClickable:Vv($c.NoSelect,$c.IsCursorPointer,$c.IsFixedShape),IsInteractive:Vv($c.NoSelect,$c.IsCursorPointer,$c.IsInteractive)},Y_={Display1:Pi.Display1,Display2:Pi.Display2,Title1:Pi.Title1,Title2:Pi.Title2,Title3:Pi.Title3,Headline1:Pi.Headline1,Headline2:Pi.Headline2,Body1Normal:Pi.Body1Normal,Body1Reading:Pi.Body1Reading,Label1:Pi.Label1,Label2:Pi.Label2,Caption1:Pi.Caption1,Caption2:Pi.Caption2,Regular:Pi.Regular,Medium:Pi.Medium,SemiBold:Pi.SemiBold,Bold:Pi.Bold};let cm={};const Gf={...K_,...Y_,...cm};let um=er.keys(Gf);function j4(){Object.assign(Gf,cm),um=er.keys(Gf)}function B4(...r){let e=[];for(let t=0;t<r.length;t++){let n=r[t];um.includes(n)&&(n=Gf[n]),typeof n=="string"&&n!==""&&e.push(n)}return e.join(" ")}function H4(r,...e){const t=[],n=er.keys(r);for(let i=0;i<e.length;i++){let l=e[i];um.includes(l)?l=Gf[l]:n.includes(l)&&(l=r[l]),typeof l=="string"&&l!==""&&t.push(l)}return t.join(" ")}const Be={clsx:B4,sclsx:H4,classes:K_,typographies:Y_,additionalClasses:cm,updateKeys:j4},Ni={"2xs":12,xs:16,sm:20,md:24,lg:32,xl:40,"2xl":48,"3xl":64},dt=(r,e=Ni.md)=>{const t=Ni[r],n=t/e,i={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 0 ${e} ${e}`};if(n<0){const l=(e-t)/2;return{...i,viewBox:`${l} ${l} ${t} ${t}`,transform:`scale(${n})`}}return i},Mu=(r,e=Ni.md)=>{const t=Ni[r],n=40,i=t/e,l={xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:`0 ${-(e*n)} ${e*n} ${e*n}`};if(i<0){const u=(e-t)/2;return{...l,viewBox:`${u} ${-(t*n)} ${t*n} ${t*n}`,transform:`scale(${i})`}}return l},Zn=r=>({fill:"none",stroke:r,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),jr=r=>{const{icon:e,style:t,svgRef:n,...i}=r,l=A.useMemo(()=>ih[e],[e]);return v.jsx(l,{...i,style:{...t,flexShrink:0}})},q4=r=>{const e=er.keys(r);return n=>{const{icon:i,svgRef:l,...u}=n,f=A.useMemo(()=>e.includes(i)?r[i]:ih[i],[i]);return v.jsx(f,{...u})}},ih=Object.freeze({ArrowDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.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:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),fill:n,...l,ref:i,children:[v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t}),v.jsx("rect",{x:"3",y:"7",width:"10",height:"1",fill:t})]})},"Check.UnChecked":(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n="none",svgRef:i,...l}=r,u=Ni.xs;return v.jsx("svg",{...dt(e,u),fill:n,...l,ref:i,children:v.jsx("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"1.5",stroke:t})})},CircleCheck:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})})},Person:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),v.jsx("circle",{cx:"12",cy:"7",r:"4"})]})},Reset:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r,u=Ni["3xl"];return v.jsxs("svg",{...dt(e,u),fill:"none",strokeWidth:"12",...l,ref:i,children:[v.jsx("circle",{cx:"32",cy:"32",r:"22",style:{...l.style,transition:"stroke var(--Transition)"},stroke:n}),v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},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,children:v.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 32 32",to:"360 32 32",dur:"1s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.27 0.71 0.78 0.44",keyTimes:"0;1"})})]})},Stop:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M6 6h12v12H6z"})})},TriangleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.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"}),v.jsx("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),v.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})},Sun:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e,28),...Zn(t),strokeWidth:1,...l,ref:i,children:[v.jsx("circle",{cx:"14",cy:"14",r:"3.5"}),v.jsx("path",{d:"M21.1213 21.1213L19 19"}),v.jsx("path",{d:"M24 14L21 14"}),v.jsx("path",{d:"M9.12132 19L7 21.1213"}),v.jsx("path",{d:"M14 21L14 24"}),v.jsx("path",{d:"M6.99977 7.00002L9.12109 9.12134"}),v.jsx("path",{d:"M4 14L7 14"}),v.jsx("path",{d:"M18.9998 9.12132L21.1211 7"}),v.jsx("path",{d:"M14 7L14 4"})]})},Moon:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="white",svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e,28),...l,ref:i,children:[v.jsx("mask",{id:"path-1-inside-1_640_3082",fill:n,children:v.jsx("path",{fillRule:"evenodd",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"})}),v.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:i,...l}=r,u=Ni["2xs"];return v.jsxs("svg",{...dt(e,u),...l,ref:i,children:[v.jsx("rect",{x:"1",y:"5",width:"1",height:"5",fill:t}),v.jsx("path",{d:"M1.5 7.5H3L5 5.5",stroke:t}),v.jsx("rect",{x:"5.12132",y:"2",width:"5.13925",height:"3",transform:"rotate(45 5.12132 2)",fill:t}),v.jsx("rect",{x:"8.83633",y:"6.28503",width:"1",height:"2.19393",transform:"rotate(45 8.83633 6.28503)",fill:t}),v.jsx("clipPath",{id:"clip0_2241_2464",children:v.jsx("rect",{width:"12",height:"12",fill:n})})]})},Convert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:n,...l,ref:i,children:v.jsxs("g",{clipPath:"url(#clip0_1786_1844)",children:[v.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}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},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})]})})},SortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsx("svg",{...dt(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M6 10L9 7L12 10",stroke:t})})},SortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsx("svg",{...dt(e,u),fill:"none",...l,ref:i,children:v.jsx("path",{d:"M12 7L9 10L6 7",stroke:t})})},SortBoth:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),fill:"none",...l,ref:i,children:[v.jsx("path",{d:"M6 6.75L9 3.75L12 6.75",stroke:t}),v.jsx("path",{d:"M12 11.25L9 14.25L6 11.25",stroke:t})]})},RowSortUp:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.jsx("path",{opacity:"0.2",d:"M8 14L5.40192 9.5L10.5981 9.5L8 14Z",fill:t})]})},RowSortDown:(r={})=>{const{size:e="xs",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),...l,ref:i,children:[v.jsx("path",{opacity:"0.2",d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.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:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),...l,ref:i,children:[v.jsx("path",{d:"M8 2L10.5981 6.5H5.40192L8 2Z",fill:t}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),...Zn(t),fill:n,strokeWidth:"1",...l,ref:i,children:v.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,...i}=r;return v.jsxs("svg",{viewBox:"0 0 118 84",width:"118",height:"84",...i,ref:n,children:[v.jsx("path",{fillRule:"evenodd",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}),v.jsx("path",{fillRule:"evenodd",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}),v.jsx("path",{fillRule:"evenodd",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}),v.jsx("path",{fillRule:"evenodd",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})]})},Frame:(r={})=>{const{primaryColor:e="currentColor",secondaryColor:t="none",svgRef:n,...i}=r;return v.jsx("svg",{viewBox:"0 0 1482 1112",width:"1482",height:"1112",fill:t,...i,ref:n,children:v.jsxs("g",{children:[v.jsx("path",{opacity:"0.22",d:"M1481.33 1111.17L399.091 880.19V231.81L1481.33 0.829102V1111.17Z",stroke:e}),v.jsx("path",{opacity:"0.48",d:"M266.279 880.19V231.81L1348.52 0.829102V1111.17L266.279 880.19Z",stroke:e}),v.jsx("path",{opacity:"0.74",d:"M133.48 880.19V231.81L1215.72 0.829102V1111.17L133.48 880.19Z",stroke:e}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),v.jsx("polyline",{points:"13 2 13 9 20 9"})]})},UnPlug:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),overflow:"hidden",strokeWidth:"0.5",...l,ref:i,children:[v.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",stroke:t,fill:t}),v.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",stroke:t,fill:t})]})},CloudSync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r,u=Ni.xs;return v.jsxs("svg",{...dt(e,u),overflow:"hidden",strokeWidth:"0.166718",...l,ref:i,children:[v.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",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.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",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"}),v.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",stroke:t,fill:t,transform:"matrix(1, 0, 0, 1.0625, 0, 0)"})]})},CalendarDay:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M8 5v14l11-7z"})})},Mail:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.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"}),v.jsx("polyline",{points:"22,6 12,13 2,6"})]})},Bell:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"})})},Folder:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3V6z"}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),v.jsx("path",{d:"M24 24H0V0h24v24z",fill:"none"})]})},LastPage:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("polyline",{points:"4 7 4 4 20 4 20 7"}),v.jsx("line",{x1:"9",y1:"20",x2:"15",y2:"20"}),v.jsx("line",{x1:"12",y1:"4",x2:"12",y2:"20"})]})},PersonAdd:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),fill:t,...l,ref:i,children:[v.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"}),v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),...Zn(t),...l,ref:i,children:v.jsx("path",{d:"M18 15 L12 9 L6 15"})})},TriangleDown:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),...Zn(t),...l,ref:i,children:v.jsx("path",{d:"M6 9 12 15 18 9"})})},CircleHelp:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("g",{transform:"scale(0.046875 0.046875)",children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"10"}),v.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),v.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})},CircleAlert:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),fill:t,...l,ref:i,children:[v.jsx("circle",{cx:"10",cy:"8",r:"4"}),v.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:i,...l}=r;return v.jsxs("svg",{...dt(e,96),...Zn(t),...l,ref:i,children:[v.jsxs("g",{clipPath:"url(#clip0_1_3)",children:[v.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"}),v.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"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_1_3",children:v.jsx("rect",{width:"96",height:"96",fill:"white"})})})]})},Admin:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"})})},ABC:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})})},Edit:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.jsx("path",{d:"M19 13H5v-2h14z"})})},Sync:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...dt(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),v.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})},MoreVertical:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"12",cy:"5",r:"1"}),v.jsx("circle",{cx:"12",cy:"19",r:"1"})]})},MoreHorizontal:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("circle",{cx:"12",cy:"12",r:"1"}),v.jsx("circle",{cx:"19",cy:"12",r:"1"}),v.jsx("circle",{cx:"5",cy:"12",r:"1"})]})},Verified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.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"}),v.jsx("path",{fillRule:"evenodd",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,strokeWidth:0})]})},NonVerified:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{style:{...l.style,transition:"stroke var(--Transition)"},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)",strokeWidth:"0.75",strokeMiterlimit:"11.4737",strokeLinecap:"round",strokeDasharray:"0.75 1.5"}),v.jsx("path",{style:{...l.style,transition:"fill var(--Transition)"},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})]})},Edit2:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),v.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:i,...l}=r;return v.jsxs("svg",{...dt(e),...Zn(t),...l,ref:i,children:[v.jsx("polyline",{points:"3 6 5 6 21 6"}),v.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"}),v.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),v.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})},AddRowBelow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n,svgRef:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsx("svg",{...Mu(e),fill:t,...l,ref:i,children:v.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:i,...l}=r;return v.jsxs("svg",{...Mu(e),fill:t,...l,ref:i,children:[v.jsx("path",{d:"M360-440h240v-80H360v80Z"}),v.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,...i}=r;return v.jsx("svg",{...dt(e),...Zn(t),...i,ref:n,children:v.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,...i}=r;return v.jsx("svg",{...dt(e),...Zn(t),...i,ref:n,children:v.jsx("line",{className:"ql-stroke ql-thick",x1:"5",y1:"12",x2:"19",y2:"12"})})},EditorArrow:(r={})=>{const{size:e="md",primaryColor:t="currentColor",secondaryColor:n="currentColor",svgRef:i,...l}=r;return v.jsxs("svg",{...dt(e),...l,ref:i,children:[v.jsx("path",{d:"M11 5L16.1962 10.25H5.80385L11 5Z",fill:t}),v.jsx("path",{d:"M11 19L16.1962 13.75H5.80385L11 19Z",fill:n})]})},Target:(r={})=>{const{size:e="md",primaryColor:t="currentColor",svgRef:n,...i}=r;return v.jsx("svg",{...dt(e),...i,ref:n,children:v.jsx("g",{id:"target",children:v.jsx("path",{id:"Vector",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})})})}}),fm=er.keys(ih);var Vl={},Uc={};/**
|
53
53
|
* @license React
|
54
54
|
* react-dom-server-legacy.browser.production.min.js
|
55
55
|
*
|
@@ -57,13 +57,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
57
57
|
*
|
58
58
|
* This source code is licensed under the MIT license found in the
|
59
59
|
* LICENSE file in the root directory of this source tree.
|
60
|
-
*/var Gv;function z4(){if(Gv)return Uc;Gv=1;var r=A;function e(C){for(var N="https://reactjs.org/docs/error-decoder.html?invariant="+C,V=1;V<arguments.length;V++)N+="&args[]="+encodeURIComponent(arguments[V]);return"Minified React error #"+C+"; visit "+N+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=Object.prototype.hasOwnProperty,n=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i={},l={};function u(C){return t.call(l,C)?!0:t.call(i,C)?!1:n.test(C)?l[C]=!0:(i[C]=!0,!1)}function f(C,N,V,Q,
|
60
|
+
*/var Gv;function z4(){if(Gv)return Uc;Gv=1;var r=A;function e(C){for(var N="https://reactjs.org/docs/error-decoder.html?invariant="+C,V=1;V<arguments.length;V++)N+="&args[]="+encodeURIComponent(arguments[V]);return"Minified React error #"+C+"; visit "+N+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=Object.prototype.hasOwnProperty,n=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i={},l={};function u(C){return t.call(l,C)?!0:t.call(i,C)?!1:n.test(C)?l[C]=!0:(i[C]=!0,!1)}function f(C,N,V,Q,Te,xe,He){this.acceptsBooleans=N===2||N===3||N===4,this.attributeName=Q,this.attributeNamespace=Te,this.mustUseProperty=V,this.propertyName=C,this.type=N,this.sanitizeURL=xe,this.removeEmptyString=He}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(C){g[C]=new f(C,0,!1,C,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(C){var N=C[0];g[N]=new f(N,1,!1,C[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(C){g[C]=new f(C,2,!1,C.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(C){g[C]=new f(C,2,!1,C,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(C){g[C]=new f(C,3,!1,C.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(C){g[C]=new f(C,3,!0,C,null,!1,!1)}),["capture","download"].forEach(function(C){g[C]=new f(C,4,!1,C,null,!1,!1)}),["cols","rows","size","span"].forEach(function(C){g[C]=new f(C,6,!1,C,null,!1,!1)}),["rowSpan","start"].forEach(function(C){g[C]=new f(C,5,!1,C.toLowerCase(),null,!1,!1)});var m=/[\-:]([a-z])/g;function R(C){return C[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(C){var N=C.replace(m,R);g[N]=new f(N,1,!1,C,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(C){var N=C.replace(m,R);g[N]=new f(N,1,!1,C,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(C){var N=C.replace(m,R);g[N]=new f(N,1,!1,C,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(C){g[C]=new f(C,1,!1,C.toLowerCase(),null,!1,!1)}),g.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(C){g[C]=new f(C,1,!1,C.toLowerCase(),null,!0,!0)});var w={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},b=["Webkit","ms","Moz","O"];Object.keys(w).forEach(function(C){b.forEach(function(N){N=N+C.charAt(0).toUpperCase()+C.substring(1),w[N]=w[C]})});var S=/["'&<>]/;function _(C){if(typeof C=="boolean"||typeof C=="number")return""+C;C=""+C;var N=S.exec(C);if(N){var V="",Q,Te=0;for(Q=N.index;Q<C.length;Q++){switch(C.charCodeAt(Q)){case 34:N=""";break;case 38:N="&";break;case 39:N="'";break;case 60:N="<";break;case 62:N=">";break;default:continue}Te!==Q&&(V+=C.substring(Te,Q)),Te=Q+1,V+=N}C=Te!==Q?V+C.substring(Te,Q):V}return C}var M=/([A-Z])/g,E=/^ms-/,x=Array.isArray;function L(C,N){return{insertionMode:C,selectedValue:N}}function O(C,N,V){switch(N){case"select":return L(1,V.value!=null?V.value:V.defaultValue);case"svg":return L(2,null);case"math":return L(3,null);case"foreignObject":return L(1,null);case"table":return L(4,null);case"thead":case"tbody":case"tfoot":return L(5,null);case"colgroup":return L(7,null);case"tr":return L(6,null)}return 4<=C.insertionMode||C.insertionMode===0?L(1,null):C}var B=new Map;function H(C,N,V){if(typeof V!="object")throw Error(e(62));N=!0;for(var Q in V)if(t.call(V,Q)){var Te=V[Q];if(Te!=null&&typeof Te!="boolean"&&Te!==""){if(Q.indexOf("--")===0){var xe=_(Q);Te=_((""+Te).trim())}else{xe=Q;var He=B.get(xe);He!==void 0||(He=_(xe.replace(M,"-$1").toLowerCase().replace(E,"-ms-")),B.set(xe,He)),xe=He,Te=typeof Te=="number"?Te===0||t.call(w,Q)?""+Te:Te+"px":_((""+Te).trim())}N?(N=!1,C.push(' style="',xe,":",Te)):C.push(";",xe,":",Te)}}N||C.push('"')}function z(C,N,V,Q){switch(V){case"style":H(C,N,Q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<V.length)||V[0]!=="o"&&V[0]!=="O"||V[1]!=="n"&&V[1]!=="N"){if(N=g.hasOwnProperty(V)?g[V]:null,N!==null){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(!N.acceptsBooleans)return}switch(V=N.attributeName,N.type){case 3:Q&&C.push(" ",V,'=""');break;case 4:Q===!0?C.push(" ",V,'=""'):Q!==!1&&C.push(" ",V,'="',_(Q),'"');break;case 5:isNaN(Q)||C.push(" ",V,'="',_(Q),'"');break;case 6:!isNaN(Q)&&1<=Q&&C.push(" ",V,'="',_(Q),'"');break;default:N.sanitizeURL&&(Q=""+Q),C.push(" ",V,'="',_(Q),'"')}}else if(u(V)){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(N=V.toLowerCase().slice(0,5),N!=="data-"&&N!=="aria-")return}C.push(" ",V,'="',_(Q),'"')}}}function K(C,N,V){if(N!=null){if(V!=null)throw Error(e(60));if(typeof N!="object"||!("__html"in N))throw Error(e(61));N=N.__html,N!=null&&C.push(""+N)}}function ue(C){var N="";return r.Children.forEach(C,function(V){V!=null&&(N+=V)}),N}function J(C,N,V,Q){C.push(te(V));var Te=V=null,xe;for(xe in N)if(t.call(N,xe)){var He=N[xe];if(He!=null)switch(xe){case"children":V=He;break;case"dangerouslySetInnerHTML":Te=He;break;default:z(C,Q,xe,He)}}return C.push(">"),K(C,Te,V),typeof V=="string"?(C.push(_(V)),null):V}var fe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,j=new Map;function te(C){var N=j.get(C);if(N===void 0){if(!fe.test(C))throw Error(e(65,C));N="<"+C,j.set(C,N)}return N}function X(C,N,V,Q,Te){switch(N){case"select":C.push(te("select"));var xe=null,He=null;for(zt in V)if(t.call(V,zt)){var st=V[zt];if(st!=null)switch(zt){case"children":xe=st;break;case"dangerouslySetInnerHTML":He=st;break;case"defaultValue":case"value":break;default:z(C,Q,zt,st)}}return C.push(">"),K(C,He,xe),xe;case"option":He=Te.selectedValue,C.push(te("option"));var Ot=st=null,Ut=null,zt=null;for(xe in V)if(t.call(V,xe)){var Sr=V[xe];if(Sr!=null)switch(xe){case"children":st=Sr;break;case"selected":Ut=Sr;break;case"dangerouslySetInnerHTML":zt=Sr;break;case"value":Ot=Sr;default:z(C,Q,xe,Sr)}}if(He!=null)if(V=Ot!==null?""+Ot:ue(st),x(He)){for(Q=0;Q<He.length;Q++)if(""+He[Q]===V){C.push(' selected=""');break}}else""+He===V&&C.push(' selected=""');else Ut&&C.push(' selected=""');return C.push(">"),K(C,zt,st),st;case"textarea":C.push(te("textarea")),zt=He=xe=null;for(st in V)if(t.call(V,st)&&(Ot=V[st],Ot!=null))switch(st){case"children":zt=Ot;break;case"value":xe=Ot;break;case"defaultValue":He=Ot;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:z(C,Q,st,Ot)}if(xe===null&&He!==null&&(xe=He),C.push(">"),zt!=null){if(xe!=null)throw Error(e(92));if(x(zt)&&1<zt.length)throw Error(e(93));xe=""+zt}return typeof xe=="string"&&xe[0]===`
|
61
61
|
`&&C.push(`
|
62
|
-
`),xe!==null&&C.push(_(""+xe)),null;case"input":C.push(te("input")),Ot=zt=
|
62
|
+
`),xe!==null&&C.push(_(""+xe)),null;case"input":C.push(te("input")),Ot=zt=st=xe=null;for(He in V)if(t.call(V,He)&&(Ut=V[He],Ut!=null))switch(He){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Ot=Ut;break;case"defaultValue":st=Ut;break;case"checked":zt=Ut;break;case"value":xe=Ut;break;default:z(C,Q,He,Ut)}return zt!==null?z(C,Q,"checked",zt):Ot!==null&&z(C,Q,"checked",Ot),xe!==null?z(C,Q,"value",xe):st!==null&&z(C,Q,"value",st),C.push("/>"),null;case"menuitem":C.push(te("menuitem"));for(var Zr in V)if(t.call(V,Zr)&&(xe=V[Zr],xe!=null))switch(Zr){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:z(C,Q,Zr,xe)}return C.push(">"),null;case"title":C.push(te("title")),xe=null;for(Sr in V)if(t.call(V,Sr)&&(He=V[Sr],He!=null))switch(Sr){case"children":xe=He;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:z(C,Q,Sr,He)}return C.push(">"),xe;case"listing":case"pre":C.push(te(N)),He=xe=null;for(Ot in V)if(t.call(V,Ot)&&(st=V[Ot],st!=null))switch(Ot){case"children":xe=st;break;case"dangerouslySetInnerHTML":He=st;break;default:z(C,Q,Ot,st)}if(C.push(">"),He!=null){if(xe!=null)throw Error(e(60));if(typeof He!="object"||!("__html"in He))throw Error(e(61));V=He.__html,V!=null&&(typeof V=="string"&&0<V.length&&V[0]===`
|
63
63
|
`?C.push(`
|
64
64
|
`,V):C.push(""+V))}return typeof xe=="string"&&xe[0]===`
|
65
65
|
`&&C.push(`
|
66
|
-
`),xe;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":C.push(te(N));for(var vn in V)if(t.call(V,vn)&&(xe=V[vn],xe!=null))switch(vn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,N));default:z(C,Q,vn,xe)}return C.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 J(C,V,N,Q);case"html":return Ee.insertionMode===0&&C.push("<!DOCTYPE html>"),J(C,V,N,Q);default:if(N.indexOf("-")===-1&&typeof V.is!="string")return J(C,V,N,Q);C.push(te(N)),He=xe=null;for(Ut in V)if(t.call(V,Ut)&&(at=V[Ut],at!=null))switch(Ut){case"children":xe=at;break;case"dangerouslySetInnerHTML":He=at;break;case"style":H(C,Q,at);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(Ut)&&typeof at!="function"&&typeof at!="symbol"&&C.push(" ",Ut,'="',_(at),'"')}return C.push(">"),K(C,He,xe),xe}}function re(C,N,V){if(C.push('<!--$?--><template id="'),V===null)throw Error(e(395));return C.push(V),C.push('"></template>')}function de(C,N,V,Q){switch(V.insertionMode){case 0:case 1:return C.push('<div hidden id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 2:return C.push('<svg aria-hidden="true" style="display:none" id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 3:return C.push('<math aria-hidden="true" style="display:none" id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 4:return C.push('<table hidden id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 5:return C.push('<table hidden><tbody id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 6:return C.push('<table hidden><tr id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 7:return C.push('<table hidden><colgroup id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');default:throw Error(e(397))}}function ge(C,N){switch(N.insertionMode){case 0:case 1:return C.push("</div>");case 2:return C.push("</svg>");case 3:return C.push("</math>");case 4:return C.push("</table>");case 5:return C.push("</tbody></table>");case 6:return C.push("</tr></table>");case 7:return C.push("</colgroup></table>");default:throw Error(e(397))}}var ye=/[<\u2028\u2029]/g;function ce(C){return JSON.stringify(C).replace(ye,function(N){switch(N){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 Ae(C,N){return N=N===void 0?"":N,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:N+"P:",segmentPrefix:N+"S:",boundaryPrefix:N+"B:",idPrefix:N,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:C}}function le(C,N,V,Q){return V.generateStaticMarkup?(C.push(_(N)),!1):(N===""?C=Q:(Q&&C.push("<!-- -->"),C.push(_(N)),C=!0),C)}var se=Object.assign,pe=Symbol.for("react.element"),Ne=Symbol.for("react.portal"),Ye=Symbol.for("react.fragment"),we=Symbol.for("react.strict_mode"),De=Symbol.for("react.profiler"),Fe=Symbol.for("react.provider"),ze=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),be=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ht=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),it=Symbol.for("react.legacy_hidden"),Ie=Symbol.for("react.default_value"),Oe=Symbol.iterator;function st(C){if(C==null)return null;if(typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case Ye:return"Fragment";case Ne:return"Portal";case De:return"Profiler";case we:return"StrictMode";case Me:return"Suspense";case Te:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case ze:return(C.displayName||"Context")+".Consumer";case Fe:return(C._context.displayName||"Context")+".Provider";case Ge:var N=C.render;return C=C.displayName,C||(C=N.displayName||N.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case be:return N=C.displayName||null,N!==null?N:st(C.type)||"Memo";case We:N=C._payload,C=C._init;try{return st(C(N))}catch{}}return null}var vt={};function wt(C,N){if(C=C.contextTypes,!C)return vt;var V={},Q;for(Q in C)V[Q]=N[Q];return V}var Et=null;function xt(C,N){if(C!==N){C.context._currentValue2=C.parentValue,C=C.parent;var V=N.parent;if(C===null){if(V!==null)throw Error(e(401))}else{if(V===null)throw Error(e(401));xt(C,V)}N.context._currentValue2=N.value}}function It(C){C.context._currentValue2=C.parentValue,C=C.parent,C!==null&&It(C)}function je(C){var N=C.parent;N!==null&&je(N),C.context._currentValue2=C.value}function Qe(C,N){if(C.context._currentValue2=C.parentValue,C=C.parent,C===null)throw Error(e(402));C.depth===N.depth?xt(C,N):Qe(C,N)}function gt(C,N){var V=N.parent;if(V===null)throw Error(e(402));C.depth===V.depth?xt(C,V):gt(C,V),N.context._currentValue2=N.value}function Ft(C){var N=Et;N!==C&&(N===null?je(C):C===null?It(N):N.depth===C.depth?xt(N,C):N.depth>C.depth?Qe(N,C):gt(N,C),Et=C)}var bt={isMounted:function(){return!1},enqueueSetState:function(C,N){C=C._reactInternals,C.queue!==null&&C.queue.push(N)},enqueueReplaceState:function(C,N){C=C._reactInternals,C.replace=!0,C.queue=[N]},enqueueForceUpdate:function(){}};function $e(C,N,V,Q){var Ee=C.state!==void 0?C.state:null;C.updater=bt,C.props=V,C.state=Ee;var xe={queue:[],replace:!1};C._reactInternals=xe;var He=N.contextType;if(C.context=typeof He=="object"&&He!==null?He._currentValue2:Q,He=N.getDerivedStateFromProps,typeof He=="function"&&(He=He(V,Ee),Ee=He==null?Ee:se({},Ee,He),C.state=Ee),typeof N.getDerivedStateFromProps!="function"&&typeof C.getSnapshotBeforeUpdate!="function"&&(typeof C.UNSAFE_componentWillMount=="function"||typeof C.componentWillMount=="function"))if(N=C.state,typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount(),N!==C.state&&bt.enqueueReplaceState(C,C.state,null),xe.queue!==null&&0<xe.queue.length)if(N=xe.queue,He=xe.replace,xe.queue=null,xe.replace=!1,He&&N.length===1)C.state=N[0];else{for(xe=He?N[0]:C.state,Ee=!0,He=He?1:0;He<N.length;He++){var at=N[He];at=typeof at=="function"?at.call(C,xe,V,Q):at,at!=null&&(Ee?(Ee=!1,xe=se({},xe,at)):se(xe,at))}C.state=xe}else xe.queue=null}var Lt={id:1,overflow:""};function Dt(C,N,V){var Q=C.id;C=C.overflow;var Ee=32-pr(Q)-1;Q&=~(1<<Ee),V+=1;var xe=32-pr(N)+Ee;if(30<xe){var He=Ee-Ee%5;return xe=(Q&(1<<He)-1).toString(32),Q>>=He,Ee-=He,{id:1<<32-pr(N)+Ee|V<<Ee|Q,overflow:xe+C}}return{id:1<<xe|V<<Ee|Q,overflow:C}}var pr=Math.clz32?Math.clz32:me,xr=Math.log,wr=Math.LN2;function me(C){return C>>>=0,C===0?32:31-(xr(C)/wr|0)|0}function ne(C,N){return C===N&&(C!==0||1/C===1/N)||C!==C&&N!==N}var et=typeof Object.is=="function"?Object.is:ne,ct=null,tt=null,Le=null,pt=null,kt=!1,_t=!1,Bt=0,Wt=null,rr=0;function Ht(){if(ct===null)throw Error(e(321));return ct}function $t(){if(0<rr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function nr(){return pt===null?Le===null?(kt=!1,Le=pt=$t()):(kt=!0,pt=Le):pt.next===null?(kt=!1,pt=pt.next=$t()):(kt=!0,pt=pt.next),pt}function rt(){tt=ct=null,_t=!1,Le=null,rr=0,pt=Wt=null}function Tt(C,N){return typeof N=="function"?N(C):N}function yt(C,N,V){if(ct=Ht(),pt=nr(),kt){var Q=pt.queue;if(N=Q.dispatch,Wt!==null&&(V=Wt.get(Q),V!==void 0)){Wt.delete(Q),Q=pt.memoizedState;do Q=C(Q,V.action),V=V.next;while(V!==null);return pt.memoizedState=Q,[Q,N]}return[pt.memoizedState,N]}return C=C===Tt?typeof N=="function"?N():N:V!==void 0?V(N):N,pt.memoizedState=C,C=pt.queue={last:null,dispatch:null},C=C.dispatch=vr.bind(null,ct,C),[pt.memoizedState,C]}function Mt(C,N){if(ct=Ht(),pt=nr(),N=N===void 0?null:N,pt!==null){var V=pt.memoizedState;if(V!==null&&N!==null){var Q=V[1];e:if(Q===null)Q=!1;else{for(var Ee=0;Ee<Q.length&&Ee<N.length;Ee++)if(!et(N[Ee],Q[Ee])){Q=!1;break e}Q=!0}if(Q)return V[0]}}return C=C(),pt.memoizedState=[C,N],C}function vr(C,N,V){if(25<=rr)throw Error(e(301));if(C===ct)if(_t=!0,C={action:V,next:null},Wt===null&&(Wt=new Map),V=Wt.get(N),V===void 0)Wt.set(N,C);else{for(N=V;N.next!==null;)N=N.next;N.next=C}}function Y(){throw Error(e(394))}function Ue(){}var ke={readContext:function(C){return C._currentValue2},useContext:function(C){return Ht(),C._currentValue2},useMemo:Mt,useReducer:yt,useRef:function(C){ct=Ht(),pt=nr();var N=pt.memoizedState;return N===null?(C={current:C},pt.memoizedState=C):N},useState:function(C){return yt(Tt,C)},useInsertionEffect:Ue,useLayoutEffect:function(){},useCallback:function(C,N){return Mt(function(){return C},N)},useImperativeHandle:Ue,useEffect:Ue,useDebugValue:Ue,useDeferredValue:function(C){return Ht(),C},useTransition:function(){return Ht(),[!1,Y]},useId:function(){var C=tt.treeContext,N=C.overflow;C=C.id,C=(C&~(1<<32-pr(C)-1)).toString(32)+N;var V=Ze;if(V===null)throw Error(e(404));return N=Bt++,C=":"+V.idPrefix+"R"+C,0<N&&(C+="H"+N.toString(32)),C+":"},useMutableSource:function(C,N){return Ht(),N(C._source)},useSyncExternalStore:function(C,N,V){if(V===void 0)throw Error(e(407));return V()}},Ze=null,St=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function jt(C){return console.error(C),null}function At(){}function qt(C,N,V,Q,Ee,xe,He,at,Ot){var Ut=[],zt=new Set;return N={destination:null,responseState:N,progressiveChunkSize:Q===void 0?12800:Q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:zt,pingedTasks:Ut,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ee===void 0?jt:Ee,onAllReady:At,onShellReady:He===void 0?At:He,onShellError:At,onFatalError:At},V=or(N,0,null,V,!1,!1),V.parentFlushed=!0,C=ir(N,C,null,V,zt,vt,null,Lt),Ut.push(C),N}function ir(C,N,V,Q,Ee,xe,He,at){C.allPendingTasks++,V===null?C.pendingRootTasks++:V.pendingTasks++;var Ot={node:N,ping:function(){var Ut=C.pingedTasks;Ut.push(Ot),Ut.length===1&&wn(C)},blockedBoundary:V,blockedSegment:Q,abortSet:Ee,legacyContext:xe,context:He,treeContext:at};return Ee.add(Ot),Ot}function or(C,N,V,Q,Ee,xe){return{status:0,id:-1,index:N,parentFlushed:!1,chunks:[],children:[],formatContext:Q,boundary:V,lastPushedText:Ee,textEmbedded:xe}}function fr(C,N){if(C=C.onError(N),C!=null&&typeof C!="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 C+'" instead');return C}function Ur(C,N){var V=C.onShellError;V(N),V=C.onFatalError,V(N),C.destination!==null?(C.status=2,C.destination.destroy(N)):(C.status=1,C.fatalError=N)}function yr(C,N,V,Q,Ee){for(ct={},tt=N,Bt=0,C=V(Q,Ee);_t;)_t=!1,Bt=0,rr+=1,pt=null,C=V(Q,Ee);return rt(),C}function Kn(C,N,V,Q){var Ee=V.render(),xe=Q.childContextTypes;if(xe!=null){var He=N.legacyContext;if(typeof V.getChildContext!="function")Q=He;else{V=V.getChildContext();for(var at in V)if(!(at in xe))throw Error(e(108,st(Q)||"Unknown",at));Q=se({},He,V)}N.legacyContext=Q,Yr(C,N,Ee),N.legacyContext=He}else Yr(C,N,Ee)}function Cn(C,N){if(C&&C.defaultProps){N=se({},N),C=C.defaultProps;for(var V in C)N[V]===void 0&&(N[V]=C[V]);return N}return N}function Dn(C,N,V,Q,Ee){if(typeof V=="function")if(V.prototype&&V.prototype.isReactComponent){Ee=wt(V,N.legacyContext);var xe=V.contextType;xe=new V(Q,typeof xe=="object"&&xe!==null?xe._currentValue2:Ee),$e(xe,V,Q,Ee),Kn(C,N,xe,V)}else{xe=wt(V,N.legacyContext),Ee=yr(C,N,V,Q,xe);var He=Bt!==0;if(typeof Ee=="object"&&Ee!==null&&typeof Ee.render=="function"&&Ee.$$typeof===void 0)$e(Ee,V,Q,xe),Kn(C,N,Ee,V);else if(He){Q=N.treeContext,N.treeContext=Dt(Q,1,0);try{Yr(C,N,Ee)}finally{N.treeContext=Q}}else Yr(C,N,Ee)}else if(typeof V=="string"){switch(Ee=N.blockedSegment,xe=X(Ee.chunks,V,Q,C.responseState,Ee.formatContext),Ee.lastPushedText=!1,He=Ee.formatContext,Ee.formatContext=O(He,V,Q),En(C,N,xe),Ee.formatContext=He,V){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:Ee.chunks.push("</",V,">")}Ee.lastPushedText=!1}else{switch(V){case it:case Ct:case we:case De:case Ye:Yr(C,N,Q.children);return;case Te:Yr(C,N,Q.children);return;case ht:throw Error(e(343));case Me:e:{V=N.blockedBoundary,Ee=N.blockedSegment,xe=Q.fallback,Q=Q.children,He=new Set;var at={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:He,errorDigest:null},Ot=or(C,Ee.chunks.length,at,Ee.formatContext,!1,!1);Ee.children.push(Ot),Ee.lastPushedText=!1;var Ut=or(C,0,null,Ee.formatContext,!1,!1);Ut.parentFlushed=!0,N.blockedBoundary=at,N.blockedSegment=Ut;try{if(En(C,N,Q),C.responseState.generateStaticMarkup||Ut.lastPushedText&&Ut.textEmbedded&&Ut.chunks.push("<!-- -->"),Ut.status=1,on(at,Ut),at.pendingTasks===0)break e}catch(zt){Ut.status=4,at.forceClientRender=!0,at.errorDigest=fr(C,zt)}finally{N.blockedBoundary=V,N.blockedSegment=Ee}N=ir(C,xe,V,Ot,He,N.legacyContext,N.context,N.treeContext),C.pingedTasks.push(N)}return}if(typeof V=="object"&&V!==null)switch(V.$$typeof){case Ge:if(Q=yr(C,N,V.render,Q,Ee),Bt!==0){V=N.treeContext,N.treeContext=Dt(V,1,0);try{Yr(C,N,Q)}finally{N.treeContext=V}}else Yr(C,N,Q);return;case be:V=V.type,Q=Cn(V,Q),Dn(C,N,V,Q,Ee);return;case Fe:if(Ee=Q.children,V=V._context,Q=Q.value,xe=V._currentValue2,V._currentValue2=Q,He=Et,Et=Q={parent:He,depth:He===null?0:He.depth+1,context:V,parentValue:xe,value:Q},N.context=Q,Yr(C,N,Ee),C=Et,C===null)throw Error(e(403));Q=C.parentValue,C.context._currentValue2=Q===Ie?C.context._defaultValue:Q,C=Et=C.parent,N.context=C;return;case ze:Q=Q.children,Q=Q(V._currentValue2),Yr(C,N,Q);return;case We:Ee=V._init,V=Ee(V._payload),Q=Cn(V,Q),Dn(C,N,V,Q,void 0);return}throw Error(e(130,V==null?V:typeof V,""))}}function Yr(C,N,V){if(N.node=V,typeof V=="object"&&V!==null){switch(V.$$typeof){case pe:Dn(C,N,V.type,V.props,V.ref);return;case Ne:throw Error(e(257));case We:var Q=V._init;V=Q(V._payload),Yr(C,N,V);return}if(x(V)){Yn(C,N,V);return}if(V===null||typeof V!="object"?Q=null:(Q=Oe&&V[Oe]||V["@@iterator"],Q=typeof Q=="function"?Q:null),Q&&(Q=Q.call(V))){if(V=Q.next(),!V.done){var Ee=[];do Ee.push(V.value),V=Q.next();while(!V.done);Yn(C,N,Ee)}return}throw C=Object.prototype.toString.call(V),Error(e(31,C==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":C))}typeof V=="string"?(Q=N.blockedSegment,Q.lastPushedText=le(N.blockedSegment.chunks,V,C.responseState,Q.lastPushedText)):typeof V=="number"&&(Q=N.blockedSegment,Q.lastPushedText=le(N.blockedSegment.chunks,""+V,C.responseState,Q.lastPushedText))}function Yn(C,N,V){for(var Q=V.length,Ee=0;Ee<Q;Ee++){var xe=N.treeContext;N.treeContext=Dt(xe,Q,Ee);try{En(C,N,V[Ee])}finally{N.treeContext=xe}}}function En(C,N,V){var Q=N.blockedSegment.formatContext,Ee=N.legacyContext,xe=N.context;try{return Yr(C,N,V)}catch(Ot){if(rt(),typeof Ot=="object"&&Ot!==null&&typeof Ot.then=="function"){V=Ot;var He=N.blockedSegment,at=or(C,He.chunks.length,null,He.formatContext,He.lastPushedText,!0);He.children.push(at),He.lastPushedText=!1,C=ir(C,N.node,N.blockedBoundary,at,N.abortSet,N.legacyContext,N.context,N.treeContext).ping,V.then(C,C),N.blockedSegment.formatContext=Q,N.legacyContext=Ee,N.context=xe,Ft(xe)}else throw N.blockedSegment.formatContext=Q,N.legacyContext=Ee,N.context=xe,Ft(xe),Ot}}function Xn(C){var N=C.blockedBoundary;C=C.blockedSegment,C.status=3,On(this,N,C)}function Jn(C,N,V){var Q=C.blockedBoundary;C.blockedSegment.status=3,Q===null?(N.allPendingTasks--,N.status!==2&&(N.status=2,N.destination!==null&&N.destination.push(null))):(Q.pendingTasks--,Q.forceClientRender||(Q.forceClientRender=!0,C=V===void 0?Error(e(432)):V,Q.errorDigest=N.onError(C),Q.parentFlushed&&N.clientRenderedBoundaries.push(Q)),Q.fallbackAbortableTasks.forEach(function(Ee){return Jn(Ee,N,V)}),Q.fallbackAbortableTasks.clear(),N.allPendingTasks--,N.allPendingTasks===0&&(Q=N.onAllReady,Q()))}function on(C,N){if(N.chunks.length===0&&N.children.length===1&&N.children[0].boundary===null){var V=N.children[0];V.id=N.id,V.parentFlushed=!0,V.status===1&&on(C,V)}else C.completedSegments.push(N)}function On(C,N,V){if(N===null){if(V.parentFlushed){if(C.completedRootSegment!==null)throw Error(e(389));C.completedRootSegment=V}C.pendingRootTasks--,C.pendingRootTasks===0&&(C.onShellError=At,N=C.onShellReady,N())}else N.pendingTasks--,N.forceClientRender||(N.pendingTasks===0?(V.parentFlushed&&V.status===1&&on(N,V),N.parentFlushed&&C.completedBoundaries.push(N),N.fallbackAbortableTasks.forEach(Xn,C),N.fallbackAbortableTasks.clear()):V.parentFlushed&&V.status===1&&(on(N,V),N.completedSegments.length===1&&N.parentFlushed&&C.partialBoundaries.push(N)));C.allPendingTasks--,C.allPendingTasks===0&&(C=C.onAllReady,C())}function wn(C){if(C.status!==2){var N=Et,V=St.current;St.current=ke;var Q=Ze;Ze=C.responseState;try{var Ee=C.pingedTasks,xe;for(xe=0;xe<Ee.length;xe++){var He=Ee[xe],at=C,Ot=He.blockedSegment;if(Ot.status===0){Ft(He.context);try{Yr(at,He,He.node),at.responseState.generateStaticMarkup||Ot.lastPushedText&&Ot.textEmbedded&&Ot.chunks.push("<!-- -->"),He.abortSet.delete(He),Ot.status=1,On(at,He.blockedBoundary,Ot)}catch(yn){if(rt(),typeof yn=="object"&&yn!==null&&typeof yn.then=="function"){var Ut=He.ping;yn.then(Ut,Ut)}else{He.abortSet.delete(He),Ot.status=4;var zt=He.blockedBoundary,Sr=yn,Zr=fr(at,Sr);if(zt===null?Ur(at,Sr):(zt.pendingTasks--,zt.forceClientRender||(zt.forceClientRender=!0,zt.errorDigest=Zr,zt.parentFlushed&&at.clientRenderedBoundaries.push(zt))),at.allPendingTasks--,at.allPendingTasks===0){var vn=at.onAllReady;vn()}}}finally{}}}Ee.splice(0,xe),C.destination!==null&&un(C,C.destination)}catch(yn){fr(C,yn),Ur(C,yn)}finally{Ze=Q,St.current=V,V===ke&&Ft(N)}}}function hi(C,N,V){switch(V.parentFlushed=!0,V.status){case 0:var Q=V.id=C.nextSegmentId++;return V.lastPushedText=!1,V.textEmbedded=!1,C=C.responseState,N.push('<template id="'),N.push(C.placeholderPrefix),C=Q.toString(16),N.push(C),N.push('"></template>');case 1:V.status=2;var Ee=!0;Q=V.chunks;var xe=0;V=V.children;for(var He=0;He<V.length;He++){for(Ee=V[He];xe<Ee.index;xe++)N.push(Q[xe]);Ee=Si(C,N,Ee)}for(;xe<Q.length-1;xe++)N.push(Q[xe]);return xe<Q.length&&(Ee=N.push(Q[xe])),Ee;default:throw Error(e(390))}}function Si(C,N,V){var Q=V.boundary;if(Q===null)return hi(C,N,V);if(Q.parentFlushed=!0,Q.forceClientRender)return C.responseState.generateStaticMarkup||(Q=Q.errorDigest,N.push("<!--$!-->"),N.push("<template"),Q&&(N.push(' data-dgst="'),Q=_(Q),N.push(Q),N.push('"')),N.push("></template>")),hi(C,N,V),C=C.responseState.generateStaticMarkup?!0:N.push("<!--/$-->"),C;if(0<Q.pendingTasks){Q.rootSegmentID=C.nextSegmentId++,0<Q.completedSegments.length&&C.partialBoundaries.push(Q);var Ee=C.responseState,xe=Ee.nextSuspenseID++;return Ee=Ee.boundaryPrefix+xe.toString(16),Q=Q.id=Ee,re(N,C.responseState,Q),hi(C,N,V),N.push("<!--/$-->")}if(Q.byteSize>C.progressiveChunkSize)return Q.rootSegmentID=C.nextSegmentId++,C.completedBoundaries.push(Q),re(N,C.responseState,Q.id),hi(C,N,V),N.push("<!--/$-->");if(C.responseState.generateStaticMarkup||N.push("<!--$-->"),V=Q.completedSegments,V.length!==1)throw Error(e(391));return Si(C,N,V[0]),C=C.responseState.generateStaticMarkup?!0:N.push("<!--/$-->"),C}function Ci(C,N,V){return de(N,C.responseState,V.formatContext,V.id),Si(C,N,V),ge(N,V.formatContext)}function kn(C,N,V){for(var Q=V.completedSegments,Ee=0;Ee<Q.length;Ee++)An(C,N,V,Q[Ee]);if(Q.length=0,C=C.responseState,Q=V.id,V=V.rootSegmentID,N.push(C.startInlineScript),C.sentCompleteBoundaryFunction?N.push('$RC("'):(C.sentCompleteBoundaryFunction=!0,N.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("')),Q===null)throw Error(e(395));return V=V.toString(16),N.push(Q),N.push('","'),N.push(C.segmentPrefix),N.push(V),N.push('")<\/script>')}function An(C,N,V,Q){if(Q.status===2)return!0;var Ee=Q.id;if(Ee===-1){if((Q.id=V.rootSegmentID)===-1)throw Error(e(392));return Ci(C,N,Q)}return Ci(C,N,Q),C=C.responseState,N.push(C.startInlineScript),C.sentCompleteSegmentFunction?N.push('$RS("'):(C.sentCompleteSegmentFunction=!0,N.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("')),N.push(C.segmentPrefix),Ee=Ee.toString(16),N.push(Ee),N.push('","'),N.push(C.placeholderPrefix),N.push(Ee),N.push('")<\/script>')}function un(C,N){try{var V=C.completedRootSegment;if(V!==null&&C.pendingRootTasks===0){Si(C,N,V),C.completedRootSegment=null;var Q=C.responseState.bootstrapChunks;for(V=0;V<Q.length-1;V++)N.push(Q[V]);V<Q.length&&N.push(Q[V])}var Ee=C.clientRenderedBoundaries,xe;for(xe=0;xe<Ee.length;xe++){var He=Ee[xe];Q=N;var at=C.responseState,Ot=He.id,Ut=He.errorDigest,zt=He.errorMessage,Sr=He.errorComponentStack;if(Q.push(at.startInlineScript),at.sentClientRenderFunction?Q.push('$RX("'):(at.sentClientRenderFunction=!0,Q.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("')),Ot===null)throw Error(e(395));if(Q.push(Ot),Q.push('"'),Ut||zt||Sr){Q.push(",");var Zr=ce(Ut||"");Q.push(Zr)}if(zt||Sr){Q.push(",");var vn=ce(zt||"");Q.push(vn)}if(Sr){Q.push(",");var yn=ce(Sr);Q.push(yn)}if(!Q.push(")<\/script>")){C.destination=null,xe++,Ee.splice(0,xe);return}}Ee.splice(0,xe);var li=C.completedBoundaries;for(xe=0;xe<li.length;xe++)if(!kn(C,N,li[xe])){C.destination=null,xe++,li.splice(0,xe);return}li.splice(0,xe);var Bn=C.partialBoundaries;for(xe=0;xe<Bn.length;xe++){var wi=Bn[xe];e:{Ee=C,He=N;var Xr=wi.completedSegments;for(at=0;at<Xr.length;at++)if(!An(Ee,He,wi,Xr[at])){at++,Xr.splice(0,at);var pi=!1;break e}Xr.splice(0,at),pi=!0}if(!pi){C.destination=null,xe++,Bn.splice(0,xe);return}}Bn.splice(0,xe);var Hn=C.completedBoundaries;for(xe=0;xe<Hn.length;xe++)if(!kn(C,N,Hn[xe])){C.destination=null,xe++,Hn.splice(0,xe);return}Hn.splice(0,xe)}finally{C.allPendingTasks===0&&C.pingedTasks.length===0&&C.clientRenderedBoundaries.length===0&&C.completedBoundaries.length===0&&N.push(null)}}function Qn(C,N){try{var V=C.abortableTasks;V.forEach(function(Q){return Jn(Q,C,N)}),V.clear(),C.destination!==null&&un(C,C.destination)}catch(Q){fr(C,Q),Ur(C,Q)}}function sn(){}function pn(C,N,V,Q){var Ee=!1,xe=null,He="",at={push:function(Ut){return Ut!==null&&(He+=Ut),!0},destroy:function(Ut){Ee=!0,xe=Ut}},Ot=!1;if(C=qt(C,Ae(V,N?N.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,sn,void 0,function(){Ot=!0}),wn(C),Qn(C,Q),C.status===1)C.status=2,at.destroy(C.fatalError);else if(C.status!==2&&C.destination===null){C.destination=at;try{un(C,at)}catch(Ut){fr(C,Ut),Ur(C,Ut)}}if(Ee)throw xe;if(!Ot)throw Error(e(426));return He}return Uc.renderToNodeStream=function(){throw Error(e(207))},Uc.renderToStaticMarkup=function(C,N){return pn(C,N,!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')},Uc.renderToStaticNodeStream=function(){throw Error(e(208))},Uc.renderToString=function(C,N){return pn(C,N,!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')},Uc.version="18.2.0",Uc}var wd={};/**
|
66
|
+
`),xe;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":C.push(te(N));for(var vn in V)if(t.call(V,vn)&&(xe=V[vn],xe!=null))switch(vn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,N));default:z(C,Q,vn,xe)}return C.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 J(C,V,N,Q);case"html":return Te.insertionMode===0&&C.push("<!DOCTYPE html>"),J(C,V,N,Q);default:if(N.indexOf("-")===-1&&typeof V.is!="string")return J(C,V,N,Q);C.push(te(N)),He=xe=null;for(Ut in V)if(t.call(V,Ut)&&(st=V[Ut],st!=null))switch(Ut){case"children":xe=st;break;case"dangerouslySetInnerHTML":He=st;break;case"style":H(C,Q,st);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(Ut)&&typeof st!="function"&&typeof st!="symbol"&&C.push(" ",Ut,'="',_(st),'"')}return C.push(">"),K(C,He,xe),xe}}function re(C,N,V){if(C.push('<!--$?--><template id="'),V===null)throw Error(e(395));return C.push(V),C.push('"></template>')}function de(C,N,V,Q){switch(V.insertionMode){case 0:case 1:return C.push('<div hidden id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 2:return C.push('<svg aria-hidden="true" style="display:none" id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 3:return C.push('<math aria-hidden="true" style="display:none" id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 4:return C.push('<table hidden id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 5:return C.push('<table hidden><tbody id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 6:return C.push('<table hidden><tr id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');case 7:return C.push('<table hidden><colgroup id="'),C.push(N.segmentPrefix),N=Q.toString(16),C.push(N),C.push('">');default:throw Error(e(397))}}function me(C,N){switch(N.insertionMode){case 0:case 1:return C.push("</div>");case 2:return C.push("</svg>");case 3:return C.push("</math>");case 4:return C.push("</table>");case 5:return C.push("</tbody></table>");case 6:return C.push("</tr></table>");case 7:return C.push("</colgroup></table>");default:throw Error(e(397))}}var ye=/[<\u2028\u2029]/g;function ce(C){return JSON.stringify(C).replace(ye,function(N){switch(N){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 Ee(C,N){return N=N===void 0?"":N,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:N+"P:",segmentPrefix:N+"S:",boundaryPrefix:N+"B:",idPrefix:N,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:C}}function le(C,N,V,Q){return V.generateStaticMarkup?(C.push(_(N)),!1):(N===""?C=Q:(Q&&C.push("<!-- -->"),C.push(_(N)),C=!0),C)}var se=Object.assign,pe=Symbol.for("react.element"),Ne=Symbol.for("react.portal"),Ye=Symbol.for("react.fragment"),we=Symbol.for("react.strict_mode"),De=Symbol.for("react.profiler"),Fe=Symbol.for("react.provider"),ze=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),be=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ht=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),it=Symbol.for("react.legacy_hidden"),Ie=Symbol.for("react.default_value"),Pe=Symbol.iterator;function at(C){if(C==null)return null;if(typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case Ye:return"Fragment";case Ne:return"Portal";case De:return"Profiler";case we:return"StrictMode";case Le:return"Suspense";case Ae:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case ze:return(C.displayName||"Context")+".Consumer";case Fe:return(C._context.displayName||"Context")+".Provider";case Ge:var N=C.render;return C=C.displayName,C||(C=N.displayName||N.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case be:return N=C.displayName||null,N!==null?N:at(C.type)||"Memo";case We:N=C._payload,C=C._init;try{return at(C(N))}catch{}}return null}var gt={};function wt(C,N){if(C=C.contextTypes,!C)return gt;var V={},Q;for(Q in C)V[Q]=N[Q];return V}var Et=null;function xt(C,N){if(C!==N){C.context._currentValue2=C.parentValue,C=C.parent;var V=N.parent;if(C===null){if(V!==null)throw Error(e(401))}else{if(V===null)throw Error(e(401));xt(C,V)}N.context._currentValue2=N.value}}function It(C){C.context._currentValue2=C.parentValue,C=C.parent,C!==null&&It(C)}function je(C){var N=C.parent;N!==null&&je(N),C.context._currentValue2=C.value}function Qe(C,N){if(C.context._currentValue2=C.parentValue,C=C.parent,C===null)throw Error(e(402));C.depth===N.depth?xt(C,N):Qe(C,N)}function mt(C,N){var V=N.parent;if(V===null)throw Error(e(402));C.depth===V.depth?xt(C,V):mt(C,V),N.context._currentValue2=N.value}function Ft(C){var N=Et;N!==C&&(N===null?je(C):C===null?It(N):N.depth===C.depth?xt(N,C):N.depth>C.depth?Qe(N,C):mt(N,C),Et=C)}var bt={isMounted:function(){return!1},enqueueSetState:function(C,N){C=C._reactInternals,C.queue!==null&&C.queue.push(N)},enqueueReplaceState:function(C,N){C=C._reactInternals,C.replace=!0,C.queue=[N]},enqueueForceUpdate:function(){}};function $e(C,N,V,Q){var Te=C.state!==void 0?C.state:null;C.updater=bt,C.props=V,C.state=Te;var xe={queue:[],replace:!1};C._reactInternals=xe;var He=N.contextType;if(C.context=typeof He=="object"&&He!==null?He._currentValue2:Q,He=N.getDerivedStateFromProps,typeof He=="function"&&(He=He(V,Te),Te=He==null?Te:se({},Te,He),C.state=Te),typeof N.getDerivedStateFromProps!="function"&&typeof C.getSnapshotBeforeUpdate!="function"&&(typeof C.UNSAFE_componentWillMount=="function"||typeof C.componentWillMount=="function"))if(N=C.state,typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount(),N!==C.state&&bt.enqueueReplaceState(C,C.state,null),xe.queue!==null&&0<xe.queue.length)if(N=xe.queue,He=xe.replace,xe.queue=null,xe.replace=!1,He&&N.length===1)C.state=N[0];else{for(xe=He?N[0]:C.state,Te=!0,He=He?1:0;He<N.length;He++){var st=N[He];st=typeof st=="function"?st.call(C,xe,V,Q):st,st!=null&&(Te?(Te=!1,xe=se({},xe,st)):se(xe,st))}C.state=xe}else xe.queue=null}var Lt={id:1,overflow:""};function Dt(C,N,V){var Q=C.id;C=C.overflow;var Te=32-pr(Q)-1;Q&=~(1<<Te),V+=1;var xe=32-pr(N)+Te;if(30<xe){var He=Te-Te%5;return xe=(Q&(1<<He)-1).toString(32),Q>>=He,Te-=He,{id:1<<32-pr(N)+Te|V<<Te|Q,overflow:xe+C}}return{id:1<<xe|V<<Te|Q,overflow:C}}var pr=Math.clz32?Math.clz32:ge,xr=Math.log,wr=Math.LN2;function ge(C){return C>>>=0,C===0?32:31-(xr(C)/wr|0)|0}function ne(C,N){return C===N&&(C!==0||1/C===1/N)||C!==C&&N!==N}var et=typeof Object.is=="function"?Object.is:ne,ct=null,tt=null,Me=null,pt=null,kt=!1,_t=!1,Bt=0,Wt=null,rr=0;function Ht(){if(ct===null)throw Error(e(321));return ct}function $t(){if(0<rr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function nr(){return pt===null?Me===null?(kt=!1,Me=pt=$t()):(kt=!0,pt=Me):pt.next===null?(kt=!1,pt=pt.next=$t()):(kt=!0,pt=pt.next),pt}function rt(){tt=ct=null,_t=!1,Me=null,rr=0,pt=Wt=null}function Tt(C,N){return typeof N=="function"?N(C):N}function yt(C,N,V){if(ct=Ht(),pt=nr(),kt){var Q=pt.queue;if(N=Q.dispatch,Wt!==null&&(V=Wt.get(Q),V!==void 0)){Wt.delete(Q),Q=pt.memoizedState;do Q=C(Q,V.action),V=V.next;while(V!==null);return pt.memoizedState=Q,[Q,N]}return[pt.memoizedState,N]}return C=C===Tt?typeof N=="function"?N():N:V!==void 0?V(N):N,pt.memoizedState=C,C=pt.queue={last:null,dispatch:null},C=C.dispatch=vr.bind(null,ct,C),[pt.memoizedState,C]}function Mt(C,N){if(ct=Ht(),pt=nr(),N=N===void 0?null:N,pt!==null){var V=pt.memoizedState;if(V!==null&&N!==null){var Q=V[1];e:if(Q===null)Q=!1;else{for(var Te=0;Te<Q.length&&Te<N.length;Te++)if(!et(N[Te],Q[Te])){Q=!1;break e}Q=!0}if(Q)return V[0]}}return C=C(),pt.memoizedState=[C,N],C}function vr(C,N,V){if(25<=rr)throw Error(e(301));if(C===ct)if(_t=!0,C={action:V,next:null},Wt===null&&(Wt=new Map),V=Wt.get(N),V===void 0)Wt.set(N,C);else{for(N=V;N.next!==null;)N=N.next;N.next=C}}function Y(){throw Error(e(394))}function Ue(){}var ke={readContext:function(C){return C._currentValue2},useContext:function(C){return Ht(),C._currentValue2},useMemo:Mt,useReducer:yt,useRef:function(C){ct=Ht(),pt=nr();var N=pt.memoizedState;return N===null?(C={current:C},pt.memoizedState=C):N},useState:function(C){return yt(Tt,C)},useInsertionEffect:Ue,useLayoutEffect:function(){},useCallback:function(C,N){return Mt(function(){return C},N)},useImperativeHandle:Ue,useEffect:Ue,useDebugValue:Ue,useDeferredValue:function(C){return Ht(),C},useTransition:function(){return Ht(),[!1,Y]},useId:function(){var C=tt.treeContext,N=C.overflow;C=C.id,C=(C&~(1<<32-pr(C)-1)).toString(32)+N;var V=Ze;if(V===null)throw Error(e(404));return N=Bt++,C=":"+V.idPrefix+"R"+C,0<N&&(C+="H"+N.toString(32)),C+":"},useMutableSource:function(C,N){return Ht(),N(C._source)},useSyncExternalStore:function(C,N,V){if(V===void 0)throw Error(e(407));return V()}},Ze=null,St=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function jt(C){return console.error(C),null}function At(){}function qt(C,N,V,Q,Te,xe,He,st,Ot){var Ut=[],zt=new Set;return N={destination:null,responseState:N,progressiveChunkSize:Q===void 0?12800:Q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:zt,pingedTasks:Ut,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Te===void 0?jt:Te,onAllReady:At,onShellReady:He===void 0?At:He,onShellError:At,onFatalError:At},V=or(N,0,null,V,!1,!1),V.parentFlushed=!0,C=ir(N,C,null,V,zt,gt,null,Lt),Ut.push(C),N}function ir(C,N,V,Q,Te,xe,He,st){C.allPendingTasks++,V===null?C.pendingRootTasks++:V.pendingTasks++;var Ot={node:N,ping:function(){var Ut=C.pingedTasks;Ut.push(Ot),Ut.length===1&&wn(C)},blockedBoundary:V,blockedSegment:Q,abortSet:Te,legacyContext:xe,context:He,treeContext:st};return Te.add(Ot),Ot}function or(C,N,V,Q,Te,xe){return{status:0,id:-1,index:N,parentFlushed:!1,chunks:[],children:[],formatContext:Q,boundary:V,lastPushedText:Te,textEmbedded:xe}}function fr(C,N){if(C=C.onError(N),C!=null&&typeof C!="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 C+'" instead');return C}function Ur(C,N){var V=C.onShellError;V(N),V=C.onFatalError,V(N),C.destination!==null?(C.status=2,C.destination.destroy(N)):(C.status=1,C.fatalError=N)}function yr(C,N,V,Q,Te){for(ct={},tt=N,Bt=0,C=V(Q,Te);_t;)_t=!1,Bt=0,rr+=1,pt=null,C=V(Q,Te);return rt(),C}function Kn(C,N,V,Q){var Te=V.render(),xe=Q.childContextTypes;if(xe!=null){var He=N.legacyContext;if(typeof V.getChildContext!="function")Q=He;else{V=V.getChildContext();for(var st in V)if(!(st in xe))throw Error(e(108,at(Q)||"Unknown",st));Q=se({},He,V)}N.legacyContext=Q,Yr(C,N,Te),N.legacyContext=He}else Yr(C,N,Te)}function Cn(C,N){if(C&&C.defaultProps){N=se({},N),C=C.defaultProps;for(var V in C)N[V]===void 0&&(N[V]=C[V]);return N}return N}function Dn(C,N,V,Q,Te){if(typeof V=="function")if(V.prototype&&V.prototype.isReactComponent){Te=wt(V,N.legacyContext);var xe=V.contextType;xe=new V(Q,typeof xe=="object"&&xe!==null?xe._currentValue2:Te),$e(xe,V,Q,Te),Kn(C,N,xe,V)}else{xe=wt(V,N.legacyContext),Te=yr(C,N,V,Q,xe);var He=Bt!==0;if(typeof Te=="object"&&Te!==null&&typeof Te.render=="function"&&Te.$$typeof===void 0)$e(Te,V,Q,xe),Kn(C,N,Te,V);else if(He){Q=N.treeContext,N.treeContext=Dt(Q,1,0);try{Yr(C,N,Te)}finally{N.treeContext=Q}}else Yr(C,N,Te)}else if(typeof V=="string"){switch(Te=N.blockedSegment,xe=X(Te.chunks,V,Q,C.responseState,Te.formatContext),Te.lastPushedText=!1,He=Te.formatContext,Te.formatContext=O(He,V,Q),En(C,N,xe),Te.formatContext=He,V){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:Te.chunks.push("</",V,">")}Te.lastPushedText=!1}else{switch(V){case it:case Ct:case we:case De:case Ye:Yr(C,N,Q.children);return;case Ae:Yr(C,N,Q.children);return;case ht:throw Error(e(343));case Le:e:{V=N.blockedBoundary,Te=N.blockedSegment,xe=Q.fallback,Q=Q.children,He=new Set;var st={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:He,errorDigest:null},Ot=or(C,Te.chunks.length,st,Te.formatContext,!1,!1);Te.children.push(Ot),Te.lastPushedText=!1;var Ut=or(C,0,null,Te.formatContext,!1,!1);Ut.parentFlushed=!0,N.blockedBoundary=st,N.blockedSegment=Ut;try{if(En(C,N,Q),C.responseState.generateStaticMarkup||Ut.lastPushedText&&Ut.textEmbedded&&Ut.chunks.push("<!-- -->"),Ut.status=1,on(st,Ut),st.pendingTasks===0)break e}catch(zt){Ut.status=4,st.forceClientRender=!0,st.errorDigest=fr(C,zt)}finally{N.blockedBoundary=V,N.blockedSegment=Te}N=ir(C,xe,V,Ot,He,N.legacyContext,N.context,N.treeContext),C.pingedTasks.push(N)}return}if(typeof V=="object"&&V!==null)switch(V.$$typeof){case Ge:if(Q=yr(C,N,V.render,Q,Te),Bt!==0){V=N.treeContext,N.treeContext=Dt(V,1,0);try{Yr(C,N,Q)}finally{N.treeContext=V}}else Yr(C,N,Q);return;case be:V=V.type,Q=Cn(V,Q),Dn(C,N,V,Q,Te);return;case Fe:if(Te=Q.children,V=V._context,Q=Q.value,xe=V._currentValue2,V._currentValue2=Q,He=Et,Et=Q={parent:He,depth:He===null?0:He.depth+1,context:V,parentValue:xe,value:Q},N.context=Q,Yr(C,N,Te),C=Et,C===null)throw Error(e(403));Q=C.parentValue,C.context._currentValue2=Q===Ie?C.context._defaultValue:Q,C=Et=C.parent,N.context=C;return;case ze:Q=Q.children,Q=Q(V._currentValue2),Yr(C,N,Q);return;case We:Te=V._init,V=Te(V._payload),Q=Cn(V,Q),Dn(C,N,V,Q,void 0);return}throw Error(e(130,V==null?V:typeof V,""))}}function Yr(C,N,V){if(N.node=V,typeof V=="object"&&V!==null){switch(V.$$typeof){case pe:Dn(C,N,V.type,V.props,V.ref);return;case Ne:throw Error(e(257));case We:var Q=V._init;V=Q(V._payload),Yr(C,N,V);return}if(x(V)){Yn(C,N,V);return}if(V===null||typeof V!="object"?Q=null:(Q=Pe&&V[Pe]||V["@@iterator"],Q=typeof Q=="function"?Q:null),Q&&(Q=Q.call(V))){if(V=Q.next(),!V.done){var Te=[];do Te.push(V.value),V=Q.next();while(!V.done);Yn(C,N,Te)}return}throw C=Object.prototype.toString.call(V),Error(e(31,C==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":C))}typeof V=="string"?(Q=N.blockedSegment,Q.lastPushedText=le(N.blockedSegment.chunks,V,C.responseState,Q.lastPushedText)):typeof V=="number"&&(Q=N.blockedSegment,Q.lastPushedText=le(N.blockedSegment.chunks,""+V,C.responseState,Q.lastPushedText))}function Yn(C,N,V){for(var Q=V.length,Te=0;Te<Q;Te++){var xe=N.treeContext;N.treeContext=Dt(xe,Q,Te);try{En(C,N,V[Te])}finally{N.treeContext=xe}}}function En(C,N,V){var Q=N.blockedSegment.formatContext,Te=N.legacyContext,xe=N.context;try{return Yr(C,N,V)}catch(Ot){if(rt(),typeof Ot=="object"&&Ot!==null&&typeof Ot.then=="function"){V=Ot;var He=N.blockedSegment,st=or(C,He.chunks.length,null,He.formatContext,He.lastPushedText,!0);He.children.push(st),He.lastPushedText=!1,C=ir(C,N.node,N.blockedBoundary,st,N.abortSet,N.legacyContext,N.context,N.treeContext).ping,V.then(C,C),N.blockedSegment.formatContext=Q,N.legacyContext=Te,N.context=xe,Ft(xe)}else throw N.blockedSegment.formatContext=Q,N.legacyContext=Te,N.context=xe,Ft(xe),Ot}}function Xn(C){var N=C.blockedBoundary;C=C.blockedSegment,C.status=3,On(this,N,C)}function Jn(C,N,V){var Q=C.blockedBoundary;C.blockedSegment.status=3,Q===null?(N.allPendingTasks--,N.status!==2&&(N.status=2,N.destination!==null&&N.destination.push(null))):(Q.pendingTasks--,Q.forceClientRender||(Q.forceClientRender=!0,C=V===void 0?Error(e(432)):V,Q.errorDigest=N.onError(C),Q.parentFlushed&&N.clientRenderedBoundaries.push(Q)),Q.fallbackAbortableTasks.forEach(function(Te){return Jn(Te,N,V)}),Q.fallbackAbortableTasks.clear(),N.allPendingTasks--,N.allPendingTasks===0&&(Q=N.onAllReady,Q()))}function on(C,N){if(N.chunks.length===0&&N.children.length===1&&N.children[0].boundary===null){var V=N.children[0];V.id=N.id,V.parentFlushed=!0,V.status===1&&on(C,V)}else C.completedSegments.push(N)}function On(C,N,V){if(N===null){if(V.parentFlushed){if(C.completedRootSegment!==null)throw Error(e(389));C.completedRootSegment=V}C.pendingRootTasks--,C.pendingRootTasks===0&&(C.onShellError=At,N=C.onShellReady,N())}else N.pendingTasks--,N.forceClientRender||(N.pendingTasks===0?(V.parentFlushed&&V.status===1&&on(N,V),N.parentFlushed&&C.completedBoundaries.push(N),N.fallbackAbortableTasks.forEach(Xn,C),N.fallbackAbortableTasks.clear()):V.parentFlushed&&V.status===1&&(on(N,V),N.completedSegments.length===1&&N.parentFlushed&&C.partialBoundaries.push(N)));C.allPendingTasks--,C.allPendingTasks===0&&(C=C.onAllReady,C())}function wn(C){if(C.status!==2){var N=Et,V=St.current;St.current=ke;var Q=Ze;Ze=C.responseState;try{var Te=C.pingedTasks,xe;for(xe=0;xe<Te.length;xe++){var He=Te[xe],st=C,Ot=He.blockedSegment;if(Ot.status===0){Ft(He.context);try{Yr(st,He,He.node),st.responseState.generateStaticMarkup||Ot.lastPushedText&&Ot.textEmbedded&&Ot.chunks.push("<!-- -->"),He.abortSet.delete(He),Ot.status=1,On(st,He.blockedBoundary,Ot)}catch(yn){if(rt(),typeof yn=="object"&&yn!==null&&typeof yn.then=="function"){var Ut=He.ping;yn.then(Ut,Ut)}else{He.abortSet.delete(He),Ot.status=4;var zt=He.blockedBoundary,Sr=yn,Zr=fr(st,Sr);if(zt===null?Ur(st,Sr):(zt.pendingTasks--,zt.forceClientRender||(zt.forceClientRender=!0,zt.errorDigest=Zr,zt.parentFlushed&&st.clientRenderedBoundaries.push(zt))),st.allPendingTasks--,st.allPendingTasks===0){var vn=st.onAllReady;vn()}}}finally{}}}Te.splice(0,xe),C.destination!==null&&un(C,C.destination)}catch(yn){fr(C,yn),Ur(C,yn)}finally{Ze=Q,St.current=V,V===ke&&Ft(N)}}}function hi(C,N,V){switch(V.parentFlushed=!0,V.status){case 0:var Q=V.id=C.nextSegmentId++;return V.lastPushedText=!1,V.textEmbedded=!1,C=C.responseState,N.push('<template id="'),N.push(C.placeholderPrefix),C=Q.toString(16),N.push(C),N.push('"></template>');case 1:V.status=2;var Te=!0;Q=V.chunks;var xe=0;V=V.children;for(var He=0;He<V.length;He++){for(Te=V[He];xe<Te.index;xe++)N.push(Q[xe]);Te=Si(C,N,Te)}for(;xe<Q.length-1;xe++)N.push(Q[xe]);return xe<Q.length&&(Te=N.push(Q[xe])),Te;default:throw Error(e(390))}}function Si(C,N,V){var Q=V.boundary;if(Q===null)return hi(C,N,V);if(Q.parentFlushed=!0,Q.forceClientRender)return C.responseState.generateStaticMarkup||(Q=Q.errorDigest,N.push("<!--$!-->"),N.push("<template"),Q&&(N.push(' data-dgst="'),Q=_(Q),N.push(Q),N.push('"')),N.push("></template>")),hi(C,N,V),C=C.responseState.generateStaticMarkup?!0:N.push("<!--/$-->"),C;if(0<Q.pendingTasks){Q.rootSegmentID=C.nextSegmentId++,0<Q.completedSegments.length&&C.partialBoundaries.push(Q);var Te=C.responseState,xe=Te.nextSuspenseID++;return Te=Te.boundaryPrefix+xe.toString(16),Q=Q.id=Te,re(N,C.responseState,Q),hi(C,N,V),N.push("<!--/$-->")}if(Q.byteSize>C.progressiveChunkSize)return Q.rootSegmentID=C.nextSegmentId++,C.completedBoundaries.push(Q),re(N,C.responseState,Q.id),hi(C,N,V),N.push("<!--/$-->");if(C.responseState.generateStaticMarkup||N.push("<!--$-->"),V=Q.completedSegments,V.length!==1)throw Error(e(391));return Si(C,N,V[0]),C=C.responseState.generateStaticMarkup?!0:N.push("<!--/$-->"),C}function Ci(C,N,V){return de(N,C.responseState,V.formatContext,V.id),Si(C,N,V),me(N,V.formatContext)}function kn(C,N,V){for(var Q=V.completedSegments,Te=0;Te<Q.length;Te++)An(C,N,V,Q[Te]);if(Q.length=0,C=C.responseState,Q=V.id,V=V.rootSegmentID,N.push(C.startInlineScript),C.sentCompleteBoundaryFunction?N.push('$RC("'):(C.sentCompleteBoundaryFunction=!0,N.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("')),Q===null)throw Error(e(395));return V=V.toString(16),N.push(Q),N.push('","'),N.push(C.segmentPrefix),N.push(V),N.push('")<\/script>')}function An(C,N,V,Q){if(Q.status===2)return!0;var Te=Q.id;if(Te===-1){if((Q.id=V.rootSegmentID)===-1)throw Error(e(392));return Ci(C,N,Q)}return Ci(C,N,Q),C=C.responseState,N.push(C.startInlineScript),C.sentCompleteSegmentFunction?N.push('$RS("'):(C.sentCompleteSegmentFunction=!0,N.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("')),N.push(C.segmentPrefix),Te=Te.toString(16),N.push(Te),N.push('","'),N.push(C.placeholderPrefix),N.push(Te),N.push('")<\/script>')}function un(C,N){try{var V=C.completedRootSegment;if(V!==null&&C.pendingRootTasks===0){Si(C,N,V),C.completedRootSegment=null;var Q=C.responseState.bootstrapChunks;for(V=0;V<Q.length-1;V++)N.push(Q[V]);V<Q.length&&N.push(Q[V])}var Te=C.clientRenderedBoundaries,xe;for(xe=0;xe<Te.length;xe++){var He=Te[xe];Q=N;var st=C.responseState,Ot=He.id,Ut=He.errorDigest,zt=He.errorMessage,Sr=He.errorComponentStack;if(Q.push(st.startInlineScript),st.sentClientRenderFunction?Q.push('$RX("'):(st.sentClientRenderFunction=!0,Q.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("')),Ot===null)throw Error(e(395));if(Q.push(Ot),Q.push('"'),Ut||zt||Sr){Q.push(",");var Zr=ce(Ut||"");Q.push(Zr)}if(zt||Sr){Q.push(",");var vn=ce(zt||"");Q.push(vn)}if(Sr){Q.push(",");var yn=ce(Sr);Q.push(yn)}if(!Q.push(")<\/script>")){C.destination=null,xe++,Te.splice(0,xe);return}}Te.splice(0,xe);var li=C.completedBoundaries;for(xe=0;xe<li.length;xe++)if(!kn(C,N,li[xe])){C.destination=null,xe++,li.splice(0,xe);return}li.splice(0,xe);var Bn=C.partialBoundaries;for(xe=0;xe<Bn.length;xe++){var wi=Bn[xe];e:{Te=C,He=N;var Xr=wi.completedSegments;for(st=0;st<Xr.length;st++)if(!An(Te,He,wi,Xr[st])){st++,Xr.splice(0,st);var pi=!1;break e}Xr.splice(0,st),pi=!0}if(!pi){C.destination=null,xe++,Bn.splice(0,xe);return}}Bn.splice(0,xe);var Hn=C.completedBoundaries;for(xe=0;xe<Hn.length;xe++)if(!kn(C,N,Hn[xe])){C.destination=null,xe++,Hn.splice(0,xe);return}Hn.splice(0,xe)}finally{C.allPendingTasks===0&&C.pingedTasks.length===0&&C.clientRenderedBoundaries.length===0&&C.completedBoundaries.length===0&&N.push(null)}}function Qn(C,N){try{var V=C.abortableTasks;V.forEach(function(Q){return Jn(Q,C,N)}),V.clear(),C.destination!==null&&un(C,C.destination)}catch(Q){fr(C,Q),Ur(C,Q)}}function sn(){}function pn(C,N,V,Q){var Te=!1,xe=null,He="",st={push:function(Ut){return Ut!==null&&(He+=Ut),!0},destroy:function(Ut){Te=!0,xe=Ut}},Ot=!1;if(C=qt(C,Ee(V,N?N.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,sn,void 0,function(){Ot=!0}),wn(C),Qn(C,Q),C.status===1)C.status=2,st.destroy(C.fatalError);else if(C.status!==2&&C.destination===null){C.destination=st;try{un(C,st)}catch(Ut){fr(C,Ut),Ur(C,Ut)}}if(Te)throw xe;if(!Ot)throw Error(e(426));return He}return Uc.renderToNodeStream=function(){throw Error(e(207))},Uc.renderToStaticMarkup=function(C,N){return pn(C,N,!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')},Uc.renderToStaticNodeStream=function(){throw Error(e(208))},Uc.renderToString=function(C,N){return pn(C,N,!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')},Uc.version="18.2.0",Uc}var wd={};/**
|
67
67
|
* @license React
|
68
68
|
* react-dom-server.browser.production.min.js
|
69
69
|
*
|
@@ -71,11 +71,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
71
71
|
*
|
72
72
|
* This source code is licensed under the MIT license found in the
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
74
|
-
*/var Zv;function $4(){if(Zv)return wd;Zv=1;var r=A;function e(T){for(var P="https://reactjs.org/docs/error-decoder.html?invariant="+T,$=1;$<arguments.length;$++)P+="&args[]="+encodeURIComponent(arguments[$]);return"Minified React error #"+T+"; visit "+P+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=null,n=0;function i(T,P){if(P.length!==0)if(512<P.length)0<n&&(T.enqueue(new Uint8Array(t.buffer,0,n)),t=new Uint8Array(512),n=0),T.enqueue(P);else{var $=t.length-n;$<P.length&&($===0?T.enqueue(t):(t.set(P.subarray(0,$),n),T.enqueue(t),P=P.subarray($)),t=new Uint8Array(512),n=0),t.set(P,n),n+=P.length}}function l(T,P){return i(T,P),!0}function u(T){t&&0<n&&(T.enqueue(new Uint8Array(t.buffer,0,n)),t=null,n=0)}var f=new TextEncoder;function g(T){return f.encode(T)}function m(T){return f.encode(T)}function R(T,P){typeof T.error=="function"?T.error(P):T.close()}var w=Object.prototype.hasOwnProperty,b=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,S={},_={};function M(T){return w.call(_,T)?!0:w.call(S,T)?!1:b.test(T)?_[T]=!0:(S[T]=!0,!1)}function E(T,P,$,ee,Re,Ce,Xe){this.acceptsBooleans=P===2||P===3||P===4,this.attributeName=ee,this.attributeNamespace=Re,this.mustUseProperty=$,this.propertyName=T,this.type=P,this.sanitizeURL=Ce,this.removeEmptyString=Xe}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(T){x[T]=new E(T,0,!1,T,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(T){var P=T[0];x[P]=new E(P,1,!1,T[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(T){x[T]=new E(T,2,!1,T.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(T){x[T]=new E(T,2,!1,T,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(T){x[T]=new E(T,3,!1,T.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(T){x[T]=new E(T,3,!0,T,null,!1,!1)}),["capture","download"].forEach(function(T){x[T]=new E(T,4,!1,T,null,!1,!1)}),["cols","rows","size","span"].forEach(function(T){x[T]=new E(T,6,!1,T,null,!1,!1)}),["rowSpan","start"].forEach(function(T){x[T]=new E(T,5,!1,T.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function O(T){return T[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(T){var P=T.replace(L,O);x[P]=new E(P,1,!1,T,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(T){var P=T.replace(L,O);x[P]=new E(P,1,!1,T,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(T){var P=T.replace(L,O);x[P]=new E(P,1,!1,T,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(T){x[T]=new E(T,1,!1,T.toLowerCase(),null,!1,!1)}),x.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(T){x[T]=new E(T,1,!1,T.toLowerCase(),null,!0,!0)});var B={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},H=["Webkit","ms","Moz","O"];Object.keys(B).forEach(function(T){H.forEach(function(P){P=P+T.charAt(0).toUpperCase()+T.substring(1),B[P]=B[T]})});var z=/["'&<>]/;function K(T){if(typeof T=="boolean"||typeof T=="number")return""+T;T=""+T;var P=z.exec(T);if(P){var $="",ee,Re=0;for(ee=P.index;ee<T.length;ee++){switch(T.charCodeAt(ee)){case 34:P=""";break;case 38:P="&";break;case 39:P="'";break;case 60:P="<";break;case 62:P=">";break;default:continue}Re!==ee&&($+=T.substring(Re,ee)),Re=ee+1,$+=P}T=Re!==ee?$+T.substring(Re,ee):$}return T}var ue=/([A-Z])/g,J=/^ms-/,fe=Array.isArray,j=m("<script>"),te=m("<\/script>"),X=m('<script src="'),re=m('<script type="module" src="'),de=m('" async=""><\/script>'),
|
75
|
-
`),wt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Et=new Map;function xt(T){var P=Et.get(T);if(P===void 0){if(!wt.test(T))throw Error(e(65,T));P=m("<"+T),Et.set(T,P)}return P}var It=m("<!DOCTYPE html>");function je(T,P,$,ee,Re){switch(P){case"select":T.push(xt("select"));var Ce=null,Xe=null;for(ar in $)if(w.call($,ar)){var
|
76
|
-
`&&T.push(
|
77
|
-
`?T.push(
|
78
|
-
`&&T.push(vt),Ce;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":T.push(xt(P));for(var Ti in $)if(w.call($,Ti)&&(Ce=$[Ti],Ce!=null))switch(Ti){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,P));default:We(T,ee,Ti,Ce)}return T.push(Ct),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 st(T,$,P,ee);case"html":return Re.insertionMode===0&&T.push(It),st(T,$,P,ee);default:if(P.indexOf("-")===-1&&typeof $.is!="string")return st(T,$,P,ee);T.push(xt(P)),Xe=Ce=null;for(hr in $)if(w.call($,hr)&&(mt=$[hr],mt!=null))switch(hr){case"children":Ce=mt;break;case"dangerouslySetInnerHTML":Xe=mt;break;case"style":ze(T,ee,mt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:M(hr)&&typeof mt!="function"&&typeof mt!="symbol"&&T.push(Ge,g(hr),Me,g(K(mt)),Te)}return T.push(ht),it(T,Xe,Ce),Ce}}var Qe=m("</"),gt=m(">"),Ft=m('<template id="'),bt=m('"></template>'),$e=m("<!--$-->"),Lt=m('<!--$?--><template id="'),Dt=m('"></template>'),pr=m("<!--$!-->"),xr=m("<!--/$-->"),wr=m("<template"),me=m('"'),ne=m(' data-dgst="');m(' data-msg="'),m(' data-stck="');var et=m("></template>");function ct(T,P,$){if(i(T,Lt),$===null)throw Error(e(395));return i(T,$),l(T,Dt)}var tt=m('<div hidden id="'),Le=m('">'),pt=m("</div>"),kt=m('<svg aria-hidden="true" style="display:none" id="'),_t=m('">'),Bt=m("</svg>"),Wt=m('<math aria-hidden="true" style="display:none" id="'),rr=m('">'),Ht=m("</math>"),$t=m('<table hidden id="'),nr=m('">'),rt=m("</table>"),Tt=m('<table hidden><tbody id="'),yt=m('">'),Mt=m("</tbody></table>"),vr=m('<table hidden><tr id="'),Y=m('">'),Ue=m("</tr></table>"),ke=m('<table hidden><colgroup id="'),Ze=m('">'),St=m("</colgroup></table>");function jt(T,P,$,ee){switch($.insertionMode){case 0:case 1:return i(T,tt),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,Le);case 2:return i(T,kt),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,_t);case 3:return i(T,Wt),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,rr);case 4:return i(T,$t),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,nr);case 5:return i(T,Tt),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,yt);case 6:return i(T,vr),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,Y);case 7:return i(T,ke),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,Ze);default:throw Error(e(397))}}function At(T,P){switch(P.insertionMode){case 0:case 1:return l(T,pt);case 2:return l(T,Bt);case 3:return l(T,Ht);case 4:return l(T,rt);case 5:return l(T,Mt);case 6:return l(T,Ue);case 7:return l(T,St);default:throw Error(e(397))}}var qt=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)};$RS("'),ir=m('$RS("'),or=m('","'),fr=m('")<\/script>'),Ur=m('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("'),yr=m('$RC("'),Kn=m('","'),Cn=m('")<\/script>'),Dn=m('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("'),Yr=m('$RX("'),Yn=m('"'),En=m(")<\/script>"),Xn=m(","),Jn=/[<\u2028\u2029]/g;function on(T){return JSON.stringify(T).replace(Jn,function(P){switch(P){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 On=Object.assign,wn=Symbol.for("react.element"),hi=Symbol.for("react.portal"),Si=Symbol.for("react.fragment"),Ci=Symbol.for("react.strict_mode"),kn=Symbol.for("react.profiler"),An=Symbol.for("react.provider"),un=Symbol.for("react.context"),Qn=Symbol.for("react.forward_ref"),sn=Symbol.for("react.suspense"),pn=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),V=Symbol.for("react.scope"),Q=Symbol.for("react.debug_trace_mode"),Ee=Symbol.for("react.legacy_hidden"),xe=Symbol.for("react.default_value"),He=Symbol.iterator;function at(T){if(T==null)return null;if(typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case Si:return"Fragment";case hi:return"Portal";case kn:return"Profiler";case Ci:return"StrictMode";case sn:return"Suspense";case pn:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case un:return(T.displayName||"Context")+".Consumer";case An:return(T._context.displayName||"Context")+".Provider";case Qn:var P=T.render;return T=T.displayName,T||(T=P.displayName||P.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case C:return P=T.displayName||null,P!==null?P:at(T.type)||"Memo";case N:P=T._payload,T=T._init;try{return at(T(P))}catch{}}return null}var Ot={};function Ut(T,P){if(T=T.contextTypes,!T)return Ot;var $={},ee;for(ee in T)$[ee]=P[ee];return $}var zt=null;function Sr(T,P){if(T!==P){T.context._currentValue=T.parentValue,T=T.parent;var $=P.parent;if(T===null){if($!==null)throw Error(e(401))}else{if($===null)throw Error(e(401));Sr(T,$)}P.context._currentValue=P.value}}function Zr(T){T.context._currentValue=T.parentValue,T=T.parent,T!==null&&Zr(T)}function vn(T){var P=T.parent;P!==null&&vn(P),T.context._currentValue=T.value}function yn(T,P){if(T.context._currentValue=T.parentValue,T=T.parent,T===null)throw Error(e(402));T.depth===P.depth?Sr(T,P):yn(T,P)}function li(T,P){var $=P.parent;if($===null)throw Error(e(402));T.depth===$.depth?Sr(T,$):li(T,$),P.context._currentValue=P.value}function Bn(T){var P=zt;P!==T&&(P===null?vn(T):T===null?Zr(P):P.depth===T.depth?Sr(P,T):P.depth>T.depth?yn(P,T):li(P,T),zt=T)}var wi={isMounted:function(){return!1},enqueueSetState:function(T,P){T=T._reactInternals,T.queue!==null&&T.queue.push(P)},enqueueReplaceState:function(T,P){T=T._reactInternals,T.replace=!0,T.queue=[P]},enqueueForceUpdate:function(){}};function Xr(T,P,$,ee){var Re=T.state!==void 0?T.state:null;T.updater=wi,T.props=$,T.state=Re;var Ce={queue:[],replace:!1};T._reactInternals=Ce;var Xe=P.contextType;if(T.context=typeof Xe=="object"&&Xe!==null?Xe._currentValue:ee,Xe=P.getDerivedStateFromProps,typeof Xe=="function"&&(Xe=Xe($,Re),Re=Xe==null?Re:On({},Re,Xe),T.state=Re),typeof P.getDerivedStateFromProps!="function"&&typeof T.getSnapshotBeforeUpdate!="function"&&(typeof T.UNSAFE_componentWillMount=="function"||typeof T.componentWillMount=="function"))if(P=T.state,typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount(),P!==T.state&&wi.enqueueReplaceState(T,T.state,null),Ce.queue!==null&&0<Ce.queue.length)if(P=Ce.queue,Xe=Ce.replace,Ce.queue=null,Ce.replace=!1,Xe&&P.length===1)T.state=P[0];else{for(Ce=Xe?P[0]:T.state,Re=!0,Xe=Xe?1:0;Xe<P.length;Xe++){var mt=P[Xe];mt=typeof mt=="function"?mt.call(T,Ce,$,ee):mt,mt!=null&&(Re?(Re=!1,Ce=On({},Ce,mt)):On(Ce,mt))}T.state=Ce}else Ce.queue=null}var pi={id:1,overflow:""};function Hn(T,P,$){var ee=T.id;T=T.overflow;var Re=32-ei(ee)-1;ee&=~(1<<Re),$+=1;var Ce=32-ei(P)+Re;if(30<Ce){var Xe=Re-Re%5;return Ce=(ee&(1<<Xe)-1).toString(32),ee>>=Xe,Re-=Xe,{id:1<<32-ei(P)+Re|$<<Re|ee,overflow:Ce+T}}return{id:1<<Ce|$<<Re|ee,overflow:T}}var ei=Math.clz32?Math.clz32:no,bo=Math.log,ro=Math.LN2;function no(T){return T>>>=0,T===0?32:31-(bo(T)/ro|0)|0}function Rn(T,P){return T===P&&(T!==0||1/T===1/P)||T!==T&&P!==P}var _o=typeof Object.is=="function"?Object.is:Rn,ti=null,ri=null,$i=null,Or=null,Ar=!1,Mr=!1,I=0,G=null,ae=0;function qe(){if(ti===null)throw Error(e(321));return ti}function Xt(){if(0<ae)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Gt(){return Or===null?$i===null?(Ar=!1,$i=Or=Xt()):(Ar=!0,Or=$i):Or.next===null?(Ar=!1,Or=Or.next=Xt()):(Ar=!0,Or=Or.next),Or}function gr(){ri=ti=null,Mr=!1,$i=null,ae=0,Or=G=null}function Cr(T,P){return typeof P=="function"?P(T):P}function dr(T,P,$){if(ti=qe(),Or=Gt(),Ar){var ee=Or.queue;if(P=ee.dispatch,G!==null&&($=G.get(ee),$!==void 0)){G.delete(ee),ee=Or.memoizedState;do ee=T(ee,$.action),$=$.next;while($!==null);return Or.memoizedState=ee,[ee,P]}return[Or.memoizedState,P]}return T=T===Cr?typeof P=="function"?P():P:$!==void 0?$(P):P,Or.memoizedState=T,T=Or.queue={last:null,dispatch:null},T=T.dispatch=Jr.bind(null,ti,T),[Or.memoizedState,T]}function Tr(T,P){if(ti=qe(),Or=Gt(),P=P===void 0?null:P,Or!==null){var $=Or.memoizedState;if($!==null&&P!==null){var ee=$[1];e:if(ee===null)ee=!1;else{for(var Re=0;Re<ee.length&&Re<P.length;Re++)if(!_o(P[Re],ee[Re])){ee=!1;break e}ee=!0}if(ee)return $[0]}}return T=T(),Or.memoizedState=[T,P],T}function Jr(T,P,$){if(25<=ae)throw Error(e(301));if(T===ti)if(Mr=!0,T={action:$,next:null},G===null&&(G=new Map),$=G.get(P),$===void 0)G.set(P,T);else{for(P=$;P.next!==null;)P=P.next;P.next=T}}function In(){throw Error(e(394))}function Vr(){}var Br={readContext:function(T){return T._currentValue},useContext:function(T){return qe(),T._currentValue},useMemo:Tr,useReducer:dr,useRef:function(T){ti=qe(),Or=Gt();var P=Or.memoizedState;return P===null?(T={current:T},Or.memoizedState=T):P},useState:function(T){return dr(Cr,T)},useInsertionEffect:Vr,useLayoutEffect:function(){},useCallback:function(T,P){return Tr(function(){return T},P)},useImperativeHandle:Vr,useEffect:Vr,useDebugValue:Vr,useDeferredValue:function(T){return qe(),T},useTransition:function(){return qe(),[!1,In]},useId:function(){var T=ri.treeContext,P=T.overflow;T=T.id,T=(T&~(1<<32-ei(T)-1)).toString(32)+P;var $=Qr;if($===null)throw Error(e(404));return P=I++,T=":"+$.idPrefix+"R"+T,0<P&&(T+="H"+P.toString(32)),T+":"},useMutableSource:function(T,P){return qe(),P(T._source)},useSyncExternalStore:function(T,P,$){if($===void 0)throw Error(e(407));return $()}},Qr=null,ci=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function gi(T){return console.error(T),null}function qn(){}function xo(T,P,$,ee,Re,Ce,Xe,mt,Vt){var hr=[],ar=new Set;return P={destination:null,responseState:P,progressiveChunkSize:ee===void 0?12800:ee,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ar,pingedTasks:hr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Re===void 0?gi:Re,onAllReady:Ce===void 0?qn:Ce,onShellReady:Xe===void 0?qn:Xe,onShellError:mt===void 0?qn:mt,onFatalError:Vt===void 0?qn:Vt},$=an(P,0,null,$,!1,!1),$.parentFlushed=!0,T=Ui(P,T,null,$,ar,Ot,null,pi),hr.push(T),P}function Ui(T,P,$,ee,Re,Ce,Xe,mt){T.allPendingTasks++,$===null?T.pendingRootTasks++:$.pendingTasks++;var Vt={node:P,ping:function(){var hr=T.pingedTasks;hr.push(Vt),hr.length===1&&pl(T)},blockedBoundary:$,blockedSegment:ee,abortSet:Re,legacyContext:Ce,context:Xe,treeContext:mt};return Re.add(Vt),Vt}function an(T,P,$,ee,Re,Ce){return{status:0,id:-1,index:P,parentFlushed:!1,chunks:[],children:[],formatContext:ee,boundary:$,lastPushedText:Re,textEmbedded:Ce}}function ps(T,P){if(T=T.onError(P),T!=null&&typeof T!="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 T+'" instead');return T}function zn(T,P){var $=T.onShellError;$(P),$=T.onFatalError,$(P),T.destination!==null?(T.status=2,R(T.destination,P)):(T.status=1,T.fatalError=P)}function fl(T,P,$,ee,Re){for(ti={},ri=P,I=0,T=$(ee,Re);Mr;)Mr=!1,I=0,ae+=1,Or=null,T=$(ee,Re);return gr(),T}function Ta(T,P,$,ee){var Re=$.render(),Ce=ee.childContextTypes;if(Ce!=null){var Xe=P.legacyContext;if(typeof $.getChildContext!="function")ee=Xe;else{$=$.getChildContext();for(var mt in $)if(!(mt in Ce))throw Error(e(108,at(ee)||"Unknown",mt));ee=On({},Xe,$)}P.legacyContext=ee,$n(T,P,Re),P.legacyContext=Xe}else $n(T,P,Re)}function Wi(T,P){if(T&&T.defaultProps){P=On({},P),T=T.defaultProps;for(var $ in T)P[$]===void 0&&(P[$]=T[$]);return P}return P}function So(T,P,$,ee,Re){if(typeof $=="function")if($.prototype&&$.prototype.isReactComponent){Re=Ut($,P.legacyContext);var Ce=$.contextType;Ce=new $(ee,typeof Ce=="object"&&Ce!==null?Ce._currentValue:Re),Xr(Ce,$,ee,Re),Ta(T,P,Ce,$)}else{Ce=Ut($,P.legacyContext),Re=fl(T,P,$,ee,Ce);var Xe=I!==0;if(typeof Re=="object"&&Re!==null&&typeof Re.render=="function"&&Re.$$typeof===void 0)Xr(Re,$,ee,Ce),Ta(T,P,Re,$);else if(Xe){ee=P.treeContext,P.treeContext=Hn(ee,1,0);try{$n(T,P,Re)}finally{P.treeContext=ee}}else $n(T,P,Re)}else if(typeof $=="string"){switch(Re=P.blockedSegment,Ce=je(Re.chunks,$,ee,T.responseState,Re.formatContext),Re.lastPushedText=!1,Xe=Re.formatContext,Re.formatContext=se(Xe,$,ee),Ai(T,P,Ce),Re.formatContext=Xe,$){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:Re.chunks.push(Qe,g($),gt)}Re.lastPushedText=!1}else{switch($){case Ee:case Q:case Ci:case kn:case Si:$n(T,P,ee.children);return;case pn:$n(T,P,ee.children);return;case V:throw Error(e(343));case sn:e:{$=P.blockedBoundary,Re=P.blockedSegment,Ce=ee.fallback,ee=ee.children,Xe=new Set;var mt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Xe,errorDigest:null},Vt=an(T,Re.chunks.length,mt,Re.formatContext,!1,!1);Re.children.push(Vt),Re.lastPushedText=!1;var hr=an(T,0,null,Re.formatContext,!1,!1);hr.parentFlushed=!0,P.blockedBoundary=mt,P.blockedSegment=hr;try{if(Ai(T,P,ee),hr.lastPushedText&&hr.textEmbedded&&hr.chunks.push(pe),hr.status=1,$o(mt,hr),mt.pendingTasks===0)break e}catch(ar){hr.status=4,mt.forceClientRender=!0,mt.errorDigest=ps(T,ar)}finally{P.blockedBoundary=$,P.blockedSegment=Re}P=Ui(T,Ce,$,Vt,Xe,P.legacyContext,P.context,P.treeContext),T.pingedTasks.push(P)}return}if(typeof $=="object"&&$!==null)switch($.$$typeof){case Qn:if(ee=fl(T,P,$.render,ee,Re),I!==0){$=P.treeContext,P.treeContext=Hn($,1,0);try{$n(T,P,ee)}finally{P.treeContext=$}}else $n(T,P,ee);return;case C:$=$.type,ee=Wi($,ee),So(T,P,$,ee,Re);return;case An:if(Re=ee.children,$=$._context,ee=ee.value,Ce=$._currentValue,$._currentValue=ee,Xe=zt,zt=ee={parent:Xe,depth:Xe===null?0:Xe.depth+1,context:$,parentValue:Ce,value:ee},P.context=ee,$n(T,P,Re),T=zt,T===null)throw Error(e(403));ee=T.parentValue,T.context._currentValue=ee===xe?T.context._defaultValue:ee,T=zt=T.parent,P.context=T;return;case un:ee=ee.children,ee=ee($._currentValue),$n(T,P,ee);return;case N:Re=$._init,$=Re($._payload),ee=Wi($,ee),So(T,P,$,ee,void 0);return}throw Error(e(130,$==null?$:typeof $,""))}}function $n(T,P,$){if(P.node=$,typeof $=="object"&&$!==null){switch($.$$typeof){case wn:So(T,P,$.type,$.props,$.ref);return;case hi:throw Error(e(257));case N:var ee=$._init;$=ee($._payload),$n(T,P,$);return}if(fe($)){Kr(T,P,$);return}if($===null||typeof $!="object"?ee=null:(ee=He&&$[He]||$["@@iterator"],ee=typeof ee=="function"?ee:null),ee&&(ee=ee.call($))){if($=ee.next(),!$.done){var Re=[];do Re.push($.value),$=ee.next();while(!$.done);Kr(T,P,Re)}return}throw T=Object.prototype.toString.call($),Error(e(31,T==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":T))}typeof $=="string"?(ee=P.blockedSegment,ee.lastPushedText=Ne(P.blockedSegment.chunks,$,T.responseState,ee.lastPushedText)):typeof $=="number"&&(ee=P.blockedSegment,ee.lastPushedText=Ne(P.blockedSegment.chunks,""+$,T.responseState,ee.lastPushedText))}function Kr(T,P,$){for(var ee=$.length,Re=0;Re<ee;Re++){var Ce=P.treeContext;P.treeContext=Hn(Ce,ee,Re);try{Ai(T,P,$[Re])}finally{P.treeContext=Ce}}}function Ai(T,P,$){var ee=P.blockedSegment.formatContext,Re=P.legacyContext,Ce=P.context;try{return $n(T,P,$)}catch(Vt){if(gr(),typeof Vt=="object"&&Vt!==null&&typeof Vt.then=="function"){$=Vt;var Xe=P.blockedSegment,mt=an(T,Xe.chunks.length,null,Xe.formatContext,Xe.lastPushedText,!0);Xe.children.push(mt),Xe.lastPushedText=!1,T=Ui(T,P.node,P.blockedBoundary,mt,P.abortSet,P.legacyContext,P.context,P.treeContext).ping,$.then(T,T),P.blockedSegment.formatContext=ee,P.legacyContext=Re,P.context=Ce,Bn(Ce)}else throw P.blockedSegment.formatContext=ee,P.legacyContext=Re,P.context=Ce,Bn(Ce),Vt}}function Ea(T){var P=T.blockedBoundary;T=T.blockedSegment,T.status=3,hl(this,P,T)}function dl(T,P,$){var ee=T.blockedBoundary;T.blockedSegment.status=3,ee===null?(P.allPendingTasks--,P.status!==2&&(P.status=2,P.destination!==null&&P.destination.close())):(ee.pendingTasks--,ee.forceClientRender||(ee.forceClientRender=!0,T=$===void 0?Error(e(432)):$,ee.errorDigest=P.onError(T),ee.parentFlushed&&P.clientRenderedBoundaries.push(ee)),ee.fallbackAbortableTasks.forEach(function(Re){return dl(Re,P,$)}),ee.fallbackAbortableTasks.clear(),P.allPendingTasks--,P.allPendingTasks===0&&(ee=P.onAllReady,ee()))}function $o(T,P){if(P.chunks.length===0&&P.children.length===1&&P.children[0].boundary===null){var $=P.children[0];$.id=P.id,$.parentFlushed=!0,$.status===1&&$o(T,$)}else T.completedSegments.push(P)}function hl(T,P,$){if(P===null){if($.parentFlushed){if(T.completedRootSegment!==null)throw Error(e(389));T.completedRootSegment=$}T.pendingRootTasks--,T.pendingRootTasks===0&&(T.onShellError=qn,P=T.onShellReady,P())}else P.pendingTasks--,P.forceClientRender||(P.pendingTasks===0?($.parentFlushed&&$.status===1&&$o(P,$),P.parentFlushed&&T.completedBoundaries.push(P),P.fallbackAbortableTasks.forEach(Ea,T),P.fallbackAbortableTasks.clear()):$.parentFlushed&&$.status===1&&($o(P,$),P.completedSegments.length===1&&P.parentFlushed&&T.partialBoundaries.push(P)));T.allPendingTasks--,T.allPendingTasks===0&&(T=T.onAllReady,T())}function pl(T){if(T.status!==2){var P=zt,$=ci.current;ci.current=Br;var ee=Qr;Qr=T.responseState;try{var Re=T.pingedTasks,Ce;for(Ce=0;Ce<Re.length;Ce++){var Xe=Re[Ce],mt=T,Vt=Xe.blockedSegment;if(Vt.status===0){Bn(Xe.context);try{$n(mt,Xe,Xe.node),Vt.lastPushedText&&Vt.textEmbedded&&Vt.chunks.push(pe),Xe.abortSet.delete(Xe),Vt.status=1,hl(mt,Xe.blockedBoundary,Vt)}catch(Ei){if(gr(),typeof Ei=="object"&&Ei!==null&&typeof Ei.then=="function"){var hr=Xe.ping;Ei.then(hr,hr)}else{Xe.abortSet.delete(Xe),Vt.status=4;var ar=Xe.blockedBoundary,Gr=Ei,ni=ps(mt,Gr);if(ar===null?zn(mt,Gr):(ar.pendingTasks--,ar.forceClientRender||(ar.forceClientRender=!0,ar.errorDigest=ni,ar.parentFlushed&&mt.clientRenderedBoundaries.push(ar))),mt.allPendingTasks--,mt.allPendingTasks===0){var Ti=mt.onAllReady;Ti()}}}finally{}}}Re.splice(0,Ce),T.destination!==null&&Zs(T,T.destination)}catch(Ei){ps(T,Ei),zn(T,Ei)}finally{Qr=ee,ci.current=$,$===Br&&Bn(P)}}}function Gs(T,P,$){switch($.parentFlushed=!0,$.status){case 0:var ee=$.id=T.nextSegmentId++;return $.lastPushedText=!1,$.textEmbedded=!1,T=T.responseState,i(P,Ft),i(P,T.placeholderPrefix),T=g(ee.toString(16)),i(P,T),l(P,bt);case 1:$.status=2;var Re=!0;ee=$.chunks;var Ce=0;$=$.children;for(var Xe=0;Xe<$.length;Xe++){for(Re=$[Xe];Ce<Re.index;Ce++)i(P,ee[Ce]);Re=gs(T,P,Re)}for(;Ce<ee.length-1;Ce++)i(P,ee[Ce]);return Ce<ee.length&&(Re=l(P,ee[Ce])),Re;default:throw Error(e(390))}}function gs(T,P,$){var ee=$.boundary;if(ee===null)return Gs(T,P,$);if(ee.parentFlushed=!0,ee.forceClientRender)ee=ee.errorDigest,l(P,pr),i(P,wr),ee&&(i(P,ne),i(P,g(K(ee))),i(P,me)),l(P,et),Gs(T,P,$);else if(0<ee.pendingTasks){ee.rootSegmentID=T.nextSegmentId++,0<ee.completedSegments.length&&T.partialBoundaries.push(ee);var Re=T.responseState,Ce=Re.nextSuspenseID++;Re=m(Re.boundaryPrefix+Ce.toString(16)),ee=ee.id=Re,ct(P,T.responseState,ee),Gs(T,P,$)}else if(ee.byteSize>T.progressiveChunkSize)ee.rootSegmentID=T.nextSegmentId++,T.completedBoundaries.push(ee),ct(P,T.responseState,ee.id),Gs(T,P,$);else{if(l(P,$e),$=ee.completedSegments,$.length!==1)throw Error(e(391));gs(T,P,$[0])}return l(P,xr)}function ms(T,P,$){return jt(P,T.responseState,$.formatContext,$.id),gs(T,P,$),At(P,$.formatContext)}function Co(T,P,$){for(var ee=$.completedSegments,Re=0;Re<ee.length;Re++)gl(T,P,$,ee[Re]);if(ee.length=0,T=T.responseState,ee=$.id,$=$.rootSegmentID,i(P,T.startInlineScript),T.sentCompleteBoundaryFunction?i(P,yr):(T.sentCompleteBoundaryFunction=!0,i(P,Ur)),ee===null)throw Error(e(395));return $=g($.toString(16)),i(P,ee),i(P,Kn),i(P,T.segmentPrefix),i(P,$),l(P,Cn)}function gl(T,P,$,ee){if(ee.status===2)return!0;var Re=ee.id;if(Re===-1){if((ee.id=$.rootSegmentID)===-1)throw Error(e(392));return ms(T,P,ee)}return ms(T,P,ee),T=T.responseState,i(P,T.startInlineScript),T.sentCompleteSegmentFunction?i(P,ir):(T.sentCompleteSegmentFunction=!0,i(P,qt)),i(P,T.segmentPrefix),Re=g(Re.toString(16)),i(P,Re),i(P,or),i(P,T.placeholderPrefix),i(P,Re),l(P,fr)}function Zs(T,P){t=new Uint8Array(512),n=0;try{var $=T.completedRootSegment;if($!==null&&T.pendingRootTasks===0){gs(T,P,$),T.completedRootSegment=null;var ee=T.responseState.bootstrapChunks;for($=0;$<ee.length-1;$++)i(P,ee[$]);$<ee.length&&l(P,ee[$])}var Re=T.clientRenderedBoundaries,Ce;for(Ce=0;Ce<Re.length;Ce++){var Xe=Re[Ce];ee=P;var mt=T.responseState,Vt=Xe.id,hr=Xe.errorDigest,ar=Xe.errorMessage,Gr=Xe.errorComponentStack;if(i(ee,mt.startInlineScript),mt.sentClientRenderFunction?i(ee,Yr):(mt.sentClientRenderFunction=!0,i(ee,Dn)),Vt===null)throw Error(e(395));i(ee,Vt),i(ee,Yn),(hr||ar||Gr)&&(i(ee,Xn),i(ee,g(on(hr||"")))),(ar||Gr)&&(i(ee,Xn),i(ee,g(on(ar||"")))),Gr&&(i(ee,Xn),i(ee,g(on(Gr)))),l(ee,En)}Re.splice(0,Ce);var ni=T.completedBoundaries;for(Ce=0;Ce<ni.length;Ce++)Co(T,P,ni[Ce]);ni.splice(0,Ce),u(P),t=new Uint8Array(512),n=0;var Ti=T.partialBoundaries;for(Ce=0;Ce<Ti.length;Ce++){var Ei=Ti[Ce];e:{Re=T,Xe=P;var Ks=Ei.completedSegments;for(mt=0;mt<Ks.length;mt++)if(!gl(Re,Xe,Ei,Ks[mt])){mt++,Ks.splice(0,mt);var ml=!1;break e}Ks.splice(0,mt),ml=!0}if(!ml){T.destination=null,Ce++,Ti.splice(0,Ce);return}}Ti.splice(0,Ce);var vs=T.completedBoundaries;for(Ce=0;Ce<vs.length;Ce++)Co(T,P,vs[Ce]);vs.splice(0,Ce)}finally{u(P),T.allPendingTasks===0&&T.pingedTasks.length===0&&T.clientRenderedBoundaries.length===0&&T.completedBoundaries.length===0&&P.close()}}function ka(T,P){try{var $=T.abortableTasks;$.forEach(function(ee){return dl(ee,T,P)}),$.clear(),T.destination!==null&&Zs(T,T.destination)}catch(ee){ps(T,ee),zn(T,ee)}}return wd.renderToReadableStream=function(T,P){return new Promise(function($,ee){var Re,Ce,Xe=new Promise(function(ar,Gr){Ce=ar,Re=Gr}),mt=xo(T,ce(P?P.identifierPrefix:void 0,P?P.nonce:void 0,P?P.bootstrapScriptContent:void 0,P?P.bootstrapScripts:void 0,P?P.bootstrapModules:void 0),le(P?P.namespaceURI:void 0),P?P.progressiveChunkSize:void 0,P?P.onError:void 0,Ce,function(){var ar=new ReadableStream({type:"bytes",pull:function(Gr){if(mt.status===1)mt.status=2,R(Gr,mt.fatalError);else if(mt.status!==2&&mt.destination===null){mt.destination=Gr;try{Zs(mt,Gr)}catch(ni){ps(mt,ni),zn(mt,ni)}}},cancel:function(){ka(mt)}},{highWaterMark:0});ar.allReady=Xe,$(ar)},function(ar){Xe.catch(function(){}),ee(ar)},Re);if(P&&P.signal){var Vt=P.signal,hr=function(){ka(mt,Vt.reason),Vt.removeEventListener("abort",hr)};Vt.addEventListener("abort",hr)}pl(mt)})},wd.version="18.2.0",wd}var Wc={};/**
|
74
|
+
*/var Zv;function $4(){if(Zv)return wd;Zv=1;var r=A;function e(T){for(var P="https://reactjs.org/docs/error-decoder.html?invariant="+T,$=1;$<arguments.length;$++)P+="&args[]="+encodeURIComponent(arguments[$]);return"Minified React error #"+T+"; visit "+P+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=null,n=0;function i(T,P){if(P.length!==0)if(512<P.length)0<n&&(T.enqueue(new Uint8Array(t.buffer,0,n)),t=new Uint8Array(512),n=0),T.enqueue(P);else{var $=t.length-n;$<P.length&&($===0?T.enqueue(t):(t.set(P.subarray(0,$),n),T.enqueue(t),P=P.subarray($)),t=new Uint8Array(512),n=0),t.set(P,n),n+=P.length}}function l(T,P){return i(T,P),!0}function u(T){t&&0<n&&(T.enqueue(new Uint8Array(t.buffer,0,n)),t=null,n=0)}var f=new TextEncoder;function g(T){return f.encode(T)}function m(T){return f.encode(T)}function R(T,P){typeof T.error=="function"?T.error(P):T.close()}var w=Object.prototype.hasOwnProperty,b=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,S={},_={};function M(T){return w.call(_,T)?!0:w.call(S,T)?!1:b.test(T)?_[T]=!0:(S[T]=!0,!1)}function E(T,P,$,ee,Re,Ce,Xe){this.acceptsBooleans=P===2||P===3||P===4,this.attributeName=ee,this.attributeNamespace=Re,this.mustUseProperty=$,this.propertyName=T,this.type=P,this.sanitizeURL=Ce,this.removeEmptyString=Xe}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(T){x[T]=new E(T,0,!1,T,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(T){var P=T[0];x[P]=new E(P,1,!1,T[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(T){x[T]=new E(T,2,!1,T.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(T){x[T]=new E(T,2,!1,T,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(T){x[T]=new E(T,3,!1,T.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(T){x[T]=new E(T,3,!0,T,null,!1,!1)}),["capture","download"].forEach(function(T){x[T]=new E(T,4,!1,T,null,!1,!1)}),["cols","rows","size","span"].forEach(function(T){x[T]=new E(T,6,!1,T,null,!1,!1)}),["rowSpan","start"].forEach(function(T){x[T]=new E(T,5,!1,T.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function O(T){return T[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(T){var P=T.replace(L,O);x[P]=new E(P,1,!1,T,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(T){var P=T.replace(L,O);x[P]=new E(P,1,!1,T,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(T){var P=T.replace(L,O);x[P]=new E(P,1,!1,T,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(T){x[T]=new E(T,1,!1,T.toLowerCase(),null,!1,!1)}),x.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(T){x[T]=new E(T,1,!1,T.toLowerCase(),null,!0,!0)});var B={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},H=["Webkit","ms","Moz","O"];Object.keys(B).forEach(function(T){H.forEach(function(P){P=P+T.charAt(0).toUpperCase()+T.substring(1),B[P]=B[T]})});var z=/["'&<>]/;function K(T){if(typeof T=="boolean"||typeof T=="number")return""+T;T=""+T;var P=z.exec(T);if(P){var $="",ee,Re=0;for(ee=P.index;ee<T.length;ee++){switch(T.charCodeAt(ee)){case 34:P=""";break;case 38:P="&";break;case 39:P="'";break;case 60:P="<";break;case 62:P=">";break;default:continue}Re!==ee&&($+=T.substring(Re,ee)),Re=ee+1,$+=P}T=Re!==ee?$+T.substring(Re,ee):$}return T}var ue=/([A-Z])/g,J=/^ms-/,fe=Array.isArray,j=m("<script>"),te=m("<\/script>"),X=m('<script src="'),re=m('<script type="module" src="'),de=m('" async=""><\/script>'),me=/(<\/|<)(s)(cript)/gi;function ye(T,P,$,ee){return""+P+($==="s"?"\\u0073":"\\u0053")+ee}function ce(T,P,$,ee,Re){T=T===void 0?"":T,P=P===void 0?j:m('<script nonce="'+K(P)+'">');var Ce=[];if($!==void 0&&Ce.push(P,g((""+$).replace(me,ye)),te),ee!==void 0)for($=0;$<ee.length;$++)Ce.push(X,g(K(ee[$])),de);if(Re!==void 0)for(ee=0;ee<Re.length;ee++)Ce.push(re,g(K(Re[ee])),de);return{bootstrapChunks:Ce,startInlineScript:P,placeholderPrefix:m(T+"P:"),segmentPrefix:m(T+"S:"),boundaryPrefix:T+"B:",idPrefix:T,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Ee(T,P){return{insertionMode:T,selectedValue:P}}function le(T){return Ee(T==="http://www.w3.org/2000/svg"?2:T==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function se(T,P,$){switch(P){case"select":return Ee(1,$.value!=null?$.value:$.defaultValue);case"svg":return Ee(2,null);case"math":return Ee(3,null);case"foreignObject":return Ee(1,null);case"table":return Ee(4,null);case"thead":case"tbody":case"tfoot":return Ee(5,null);case"colgroup":return Ee(7,null);case"tr":return Ee(6,null)}return 4<=T.insertionMode||T.insertionMode===0?Ee(1,null):T}var pe=m("<!-- -->");function Ne(T,P,$,ee){return P===""?ee:(ee&&T.push(pe),T.push(g(K(P))),!0)}var Ye=new Map,we=m(' style="'),De=m(":"),Fe=m(";");function ze(T,P,$){if(typeof $!="object")throw Error(e(62));P=!0;for(var ee in $)if(w.call($,ee)){var Re=$[ee];if(Re!=null&&typeof Re!="boolean"&&Re!==""){if(ee.indexOf("--")===0){var Ce=g(K(ee));Re=g(K((""+Re).trim()))}else{Ce=ee;var Xe=Ye.get(Ce);Xe!==void 0||(Xe=m(K(Ce.replace(ue,"-$1").toLowerCase().replace(J,"-ms-"))),Ye.set(Ce,Xe)),Ce=Xe,Re=typeof Re=="number"?Re===0||w.call(B,ee)?g(""+Re):g(Re+"px"):g(K((""+Re).trim()))}P?(P=!1,T.push(we,Ce,De,Re)):T.push(Fe,Ce,De,Re)}}P||T.push(Ae)}var Ge=m(" "),Le=m('="'),Ae=m('"'),be=m('=""');function We(T,P,$,ee){switch($){case"style":ze(T,P,ee);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<$.length)||$[0]!=="o"&&$[0]!=="O"||$[1]!=="n"&&$[1]!=="N"){if(P=x.hasOwnProperty($)?x[$]:null,P!==null){switch(typeof ee){case"function":case"symbol":return;case"boolean":if(!P.acceptsBooleans)return}switch($=g(P.attributeName),P.type){case 3:ee&&T.push(Ge,$,be);break;case 4:ee===!0?T.push(Ge,$,be):ee!==!1&&T.push(Ge,$,Le,g(K(ee)),Ae);break;case 5:isNaN(ee)||T.push(Ge,$,Le,g(K(ee)),Ae);break;case 6:!isNaN(ee)&&1<=ee&&T.push(Ge,$,Le,g(K(ee)),Ae);break;default:P.sanitizeURL&&(ee=""+ee),T.push(Ge,$,Le,g(K(ee)),Ae)}}else if(M($)){switch(typeof ee){case"function":case"symbol":return;case"boolean":if(P=$.toLowerCase().slice(0,5),P!=="data-"&&P!=="aria-")return}T.push(Ge,g($),Le,g(K(ee)),Ae)}}}var ht=m(">"),Ct=m("/>");function it(T,P,$){if(P!=null){if($!=null)throw Error(e(60));if(typeof P!="object"||!("__html"in P))throw Error(e(61));P=P.__html,P!=null&&T.push(g(""+P))}}function Ie(T){var P="";return r.Children.forEach(T,function($){$!=null&&(P+=$)}),P}var Pe=m(' selected=""');function at(T,P,$,ee){T.push(xt($));var Re=$=null,Ce;for(Ce in P)if(w.call(P,Ce)){var Xe=P[Ce];if(Xe!=null)switch(Ce){case"children":$=Xe;break;case"dangerouslySetInnerHTML":Re=Xe;break;default:We(T,ee,Ce,Xe)}}return T.push(ht),it(T,Re,$),typeof $=="string"?(T.push(g(K($))),null):$}var gt=m(`
|
75
|
+
`),wt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Et=new Map;function xt(T){var P=Et.get(T);if(P===void 0){if(!wt.test(T))throw Error(e(65,T));P=m("<"+T),Et.set(T,P)}return P}var It=m("<!DOCTYPE html>");function je(T,P,$,ee,Re){switch(P){case"select":T.push(xt("select"));var Ce=null,Xe=null;for(ar in $)if(w.call($,ar)){var vt=$[ar];if(vt!=null)switch(ar){case"children":Ce=vt;break;case"dangerouslySetInnerHTML":Xe=vt;break;case"defaultValue":case"value":break;default:We(T,ee,ar,vt)}}return T.push(ht),it(T,Xe,Ce),Ce;case"option":Xe=Re.selectedValue,T.push(xt("option"));var Vt=vt=null,hr=null,ar=null;for(Ce in $)if(w.call($,Ce)){var Gr=$[Ce];if(Gr!=null)switch(Ce){case"children":vt=Gr;break;case"selected":hr=Gr;break;case"dangerouslySetInnerHTML":ar=Gr;break;case"value":Vt=Gr;default:We(T,ee,Ce,Gr)}}if(Xe!=null)if($=Vt!==null?""+Vt:Ie(vt),fe(Xe)){for(ee=0;ee<Xe.length;ee++)if(""+Xe[ee]===$){T.push(Pe);break}}else""+Xe===$&&T.push(Pe);else hr&&T.push(Pe);return T.push(ht),it(T,ar,vt),vt;case"textarea":T.push(xt("textarea")),ar=Xe=Ce=null;for(vt in $)if(w.call($,vt)&&(Vt=$[vt],Vt!=null))switch(vt){case"children":ar=Vt;break;case"value":Ce=Vt;break;case"defaultValue":Xe=Vt;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:We(T,ee,vt,Vt)}if(Ce===null&&Xe!==null&&(Ce=Xe),T.push(ht),ar!=null){if(Ce!=null)throw Error(e(92));if(fe(ar)&&1<ar.length)throw Error(e(93));Ce=""+ar}return typeof Ce=="string"&&Ce[0]===`
|
76
|
+
`&&T.push(gt),Ce!==null&&T.push(g(K(""+Ce))),null;case"input":T.push(xt("input")),Vt=ar=vt=Ce=null;for(Xe in $)if(w.call($,Xe)&&(hr=$[Xe],hr!=null))switch(Xe){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Vt=hr;break;case"defaultValue":vt=hr;break;case"checked":ar=hr;break;case"value":Ce=hr;break;default:We(T,ee,Xe,hr)}return ar!==null?We(T,ee,"checked",ar):Vt!==null&&We(T,ee,"checked",Vt),Ce!==null?We(T,ee,"value",Ce):vt!==null&&We(T,ee,"value",vt),T.push(Ct),null;case"menuitem":T.push(xt("menuitem"));for(var ni in $)if(w.call($,ni)&&(Ce=$[ni],Ce!=null))switch(ni){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:We(T,ee,ni,Ce)}return T.push(ht),null;case"title":T.push(xt("title")),Ce=null;for(Gr in $)if(w.call($,Gr)&&(Xe=$[Gr],Xe!=null))switch(Gr){case"children":Ce=Xe;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:We(T,ee,Gr,Xe)}return T.push(ht),Ce;case"listing":case"pre":T.push(xt(P)),Xe=Ce=null;for(Vt in $)if(w.call($,Vt)&&(vt=$[Vt],vt!=null))switch(Vt){case"children":Ce=vt;break;case"dangerouslySetInnerHTML":Xe=vt;break;default:We(T,ee,Vt,vt)}if(T.push(ht),Xe!=null){if(Ce!=null)throw Error(e(60));if(typeof Xe!="object"||!("__html"in Xe))throw Error(e(61));$=Xe.__html,$!=null&&(typeof $=="string"&&0<$.length&&$[0]===`
|
77
|
+
`?T.push(gt,g($)):T.push(g(""+$)))}return typeof Ce=="string"&&Ce[0]===`
|
78
|
+
`&&T.push(gt),Ce;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":T.push(xt(P));for(var Ti in $)if(w.call($,Ti)&&(Ce=$[Ti],Ce!=null))switch(Ti){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,P));default:We(T,ee,Ti,Ce)}return T.push(Ct),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 at(T,$,P,ee);case"html":return Re.insertionMode===0&&T.push(It),at(T,$,P,ee);default:if(P.indexOf("-")===-1&&typeof $.is!="string")return at(T,$,P,ee);T.push(xt(P)),Xe=Ce=null;for(hr in $)if(w.call($,hr)&&(vt=$[hr],vt!=null))switch(hr){case"children":Ce=vt;break;case"dangerouslySetInnerHTML":Xe=vt;break;case"style":ze(T,ee,vt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:M(hr)&&typeof vt!="function"&&typeof vt!="symbol"&&T.push(Ge,g(hr),Le,g(K(vt)),Ae)}return T.push(ht),it(T,Xe,Ce),Ce}}var Qe=m("</"),mt=m(">"),Ft=m('<template id="'),bt=m('"></template>'),$e=m("<!--$-->"),Lt=m('<!--$?--><template id="'),Dt=m('"></template>'),pr=m("<!--$!-->"),xr=m("<!--/$-->"),wr=m("<template"),ge=m('"'),ne=m(' data-dgst="');m(' data-msg="'),m(' data-stck="');var et=m("></template>");function ct(T,P,$){if(i(T,Lt),$===null)throw Error(e(395));return i(T,$),l(T,Dt)}var tt=m('<div hidden id="'),Me=m('">'),pt=m("</div>"),kt=m('<svg aria-hidden="true" style="display:none" id="'),_t=m('">'),Bt=m("</svg>"),Wt=m('<math aria-hidden="true" style="display:none" id="'),rr=m('">'),Ht=m("</math>"),$t=m('<table hidden id="'),nr=m('">'),rt=m("</table>"),Tt=m('<table hidden><tbody id="'),yt=m('">'),Mt=m("</tbody></table>"),vr=m('<table hidden><tr id="'),Y=m('">'),Ue=m("</tr></table>"),ke=m('<table hidden><colgroup id="'),Ze=m('">'),St=m("</colgroup></table>");function jt(T,P,$,ee){switch($.insertionMode){case 0:case 1:return i(T,tt),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,Me);case 2:return i(T,kt),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,_t);case 3:return i(T,Wt),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,rr);case 4:return i(T,$t),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,nr);case 5:return i(T,Tt),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,yt);case 6:return i(T,vr),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,Y);case 7:return i(T,ke),i(T,P.segmentPrefix),i(T,g(ee.toString(16))),l(T,Ze);default:throw Error(e(397))}}function At(T,P){switch(P.insertionMode){case 0:case 1:return l(T,pt);case 2:return l(T,Bt);case 3:return l(T,Ht);case 4:return l(T,rt);case 5:return l(T,Mt);case 6:return l(T,Ue);case 7:return l(T,St);default:throw Error(e(397))}}var qt=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)};$RS("'),ir=m('$RS("'),or=m('","'),fr=m('")<\/script>'),Ur=m('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("'),yr=m('$RC("'),Kn=m('","'),Cn=m('")<\/script>'),Dn=m('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("'),Yr=m('$RX("'),Yn=m('"'),En=m(")<\/script>"),Xn=m(","),Jn=/[<\u2028\u2029]/g;function on(T){return JSON.stringify(T).replace(Jn,function(P){switch(P){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 On=Object.assign,wn=Symbol.for("react.element"),hi=Symbol.for("react.portal"),Si=Symbol.for("react.fragment"),Ci=Symbol.for("react.strict_mode"),kn=Symbol.for("react.profiler"),An=Symbol.for("react.provider"),un=Symbol.for("react.context"),Qn=Symbol.for("react.forward_ref"),sn=Symbol.for("react.suspense"),pn=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),V=Symbol.for("react.scope"),Q=Symbol.for("react.debug_trace_mode"),Te=Symbol.for("react.legacy_hidden"),xe=Symbol.for("react.default_value"),He=Symbol.iterator;function st(T){if(T==null)return null;if(typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case Si:return"Fragment";case hi:return"Portal";case kn:return"Profiler";case Ci:return"StrictMode";case sn:return"Suspense";case pn:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case un:return(T.displayName||"Context")+".Consumer";case An:return(T._context.displayName||"Context")+".Provider";case Qn:var P=T.render;return T=T.displayName,T||(T=P.displayName||P.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case C:return P=T.displayName||null,P!==null?P:st(T.type)||"Memo";case N:P=T._payload,T=T._init;try{return st(T(P))}catch{}}return null}var Ot={};function Ut(T,P){if(T=T.contextTypes,!T)return Ot;var $={},ee;for(ee in T)$[ee]=P[ee];return $}var zt=null;function Sr(T,P){if(T!==P){T.context._currentValue=T.parentValue,T=T.parent;var $=P.parent;if(T===null){if($!==null)throw Error(e(401))}else{if($===null)throw Error(e(401));Sr(T,$)}P.context._currentValue=P.value}}function Zr(T){T.context._currentValue=T.parentValue,T=T.parent,T!==null&&Zr(T)}function vn(T){var P=T.parent;P!==null&&vn(P),T.context._currentValue=T.value}function yn(T,P){if(T.context._currentValue=T.parentValue,T=T.parent,T===null)throw Error(e(402));T.depth===P.depth?Sr(T,P):yn(T,P)}function li(T,P){var $=P.parent;if($===null)throw Error(e(402));T.depth===$.depth?Sr(T,$):li(T,$),P.context._currentValue=P.value}function Bn(T){var P=zt;P!==T&&(P===null?vn(T):T===null?Zr(P):P.depth===T.depth?Sr(P,T):P.depth>T.depth?yn(P,T):li(P,T),zt=T)}var wi={isMounted:function(){return!1},enqueueSetState:function(T,P){T=T._reactInternals,T.queue!==null&&T.queue.push(P)},enqueueReplaceState:function(T,P){T=T._reactInternals,T.replace=!0,T.queue=[P]},enqueueForceUpdate:function(){}};function Xr(T,P,$,ee){var Re=T.state!==void 0?T.state:null;T.updater=wi,T.props=$,T.state=Re;var Ce={queue:[],replace:!1};T._reactInternals=Ce;var Xe=P.contextType;if(T.context=typeof Xe=="object"&&Xe!==null?Xe._currentValue:ee,Xe=P.getDerivedStateFromProps,typeof Xe=="function"&&(Xe=Xe($,Re),Re=Xe==null?Re:On({},Re,Xe),T.state=Re),typeof P.getDerivedStateFromProps!="function"&&typeof T.getSnapshotBeforeUpdate!="function"&&(typeof T.UNSAFE_componentWillMount=="function"||typeof T.componentWillMount=="function"))if(P=T.state,typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount(),P!==T.state&&wi.enqueueReplaceState(T,T.state,null),Ce.queue!==null&&0<Ce.queue.length)if(P=Ce.queue,Xe=Ce.replace,Ce.queue=null,Ce.replace=!1,Xe&&P.length===1)T.state=P[0];else{for(Ce=Xe?P[0]:T.state,Re=!0,Xe=Xe?1:0;Xe<P.length;Xe++){var vt=P[Xe];vt=typeof vt=="function"?vt.call(T,Ce,$,ee):vt,vt!=null&&(Re?(Re=!1,Ce=On({},Ce,vt)):On(Ce,vt))}T.state=Ce}else Ce.queue=null}var pi={id:1,overflow:""};function Hn(T,P,$){var ee=T.id;T=T.overflow;var Re=32-ei(ee)-1;ee&=~(1<<Re),$+=1;var Ce=32-ei(P)+Re;if(30<Ce){var Xe=Re-Re%5;return Ce=(ee&(1<<Xe)-1).toString(32),ee>>=Xe,Re-=Xe,{id:1<<32-ei(P)+Re|$<<Re|ee,overflow:Ce+T}}return{id:1<<Ce|$<<Re|ee,overflow:T}}var ei=Math.clz32?Math.clz32:no,bo=Math.log,ro=Math.LN2;function no(T){return T>>>=0,T===0?32:31-(bo(T)/ro|0)|0}function Rn(T,P){return T===P&&(T!==0||1/T===1/P)||T!==T&&P!==P}var _o=typeof Object.is=="function"?Object.is:Rn,ti=null,ri=null,$i=null,Or=null,Ar=!1,Mr=!1,I=0,G=null,ae=0;function qe(){if(ti===null)throw Error(e(321));return ti}function Xt(){if(0<ae)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Gt(){return Or===null?$i===null?(Ar=!1,$i=Or=Xt()):(Ar=!0,Or=$i):Or.next===null?(Ar=!1,Or=Or.next=Xt()):(Ar=!0,Or=Or.next),Or}function gr(){ri=ti=null,Mr=!1,$i=null,ae=0,Or=G=null}function Cr(T,P){return typeof P=="function"?P(T):P}function dr(T,P,$){if(ti=qe(),Or=Gt(),Ar){var ee=Or.queue;if(P=ee.dispatch,G!==null&&($=G.get(ee),$!==void 0)){G.delete(ee),ee=Or.memoizedState;do ee=T(ee,$.action),$=$.next;while($!==null);return Or.memoizedState=ee,[ee,P]}return[Or.memoizedState,P]}return T=T===Cr?typeof P=="function"?P():P:$!==void 0?$(P):P,Or.memoizedState=T,T=Or.queue={last:null,dispatch:null},T=T.dispatch=Jr.bind(null,ti,T),[Or.memoizedState,T]}function Tr(T,P){if(ti=qe(),Or=Gt(),P=P===void 0?null:P,Or!==null){var $=Or.memoizedState;if($!==null&&P!==null){var ee=$[1];e:if(ee===null)ee=!1;else{for(var Re=0;Re<ee.length&&Re<P.length;Re++)if(!_o(P[Re],ee[Re])){ee=!1;break e}ee=!0}if(ee)return $[0]}}return T=T(),Or.memoizedState=[T,P],T}function Jr(T,P,$){if(25<=ae)throw Error(e(301));if(T===ti)if(Mr=!0,T={action:$,next:null},G===null&&(G=new Map),$=G.get(P),$===void 0)G.set(P,T);else{for(P=$;P.next!==null;)P=P.next;P.next=T}}function In(){throw Error(e(394))}function Vr(){}var Br={readContext:function(T){return T._currentValue},useContext:function(T){return qe(),T._currentValue},useMemo:Tr,useReducer:dr,useRef:function(T){ti=qe(),Or=Gt();var P=Or.memoizedState;return P===null?(T={current:T},Or.memoizedState=T):P},useState:function(T){return dr(Cr,T)},useInsertionEffect:Vr,useLayoutEffect:function(){},useCallback:function(T,P){return Tr(function(){return T},P)},useImperativeHandle:Vr,useEffect:Vr,useDebugValue:Vr,useDeferredValue:function(T){return qe(),T},useTransition:function(){return qe(),[!1,In]},useId:function(){var T=ri.treeContext,P=T.overflow;T=T.id,T=(T&~(1<<32-ei(T)-1)).toString(32)+P;var $=Qr;if($===null)throw Error(e(404));return P=I++,T=":"+$.idPrefix+"R"+T,0<P&&(T+="H"+P.toString(32)),T+":"},useMutableSource:function(T,P){return qe(),P(T._source)},useSyncExternalStore:function(T,P,$){if($===void 0)throw Error(e(407));return $()}},Qr=null,ci=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function gi(T){return console.error(T),null}function qn(){}function xo(T,P,$,ee,Re,Ce,Xe,vt,Vt){var hr=[],ar=new Set;return P={destination:null,responseState:P,progressiveChunkSize:ee===void 0?12800:ee,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ar,pingedTasks:hr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Re===void 0?gi:Re,onAllReady:Ce===void 0?qn:Ce,onShellReady:Xe===void 0?qn:Xe,onShellError:vt===void 0?qn:vt,onFatalError:Vt===void 0?qn:Vt},$=an(P,0,null,$,!1,!1),$.parentFlushed=!0,T=Ui(P,T,null,$,ar,Ot,null,pi),hr.push(T),P}function Ui(T,P,$,ee,Re,Ce,Xe,vt){T.allPendingTasks++,$===null?T.pendingRootTasks++:$.pendingTasks++;var Vt={node:P,ping:function(){var hr=T.pingedTasks;hr.push(Vt),hr.length===1&&pl(T)},blockedBoundary:$,blockedSegment:ee,abortSet:Re,legacyContext:Ce,context:Xe,treeContext:vt};return Re.add(Vt),Vt}function an(T,P,$,ee,Re,Ce){return{status:0,id:-1,index:P,parentFlushed:!1,chunks:[],children:[],formatContext:ee,boundary:$,lastPushedText:Re,textEmbedded:Ce}}function ps(T,P){if(T=T.onError(P),T!=null&&typeof T!="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 T+'" instead');return T}function zn(T,P){var $=T.onShellError;$(P),$=T.onFatalError,$(P),T.destination!==null?(T.status=2,R(T.destination,P)):(T.status=1,T.fatalError=P)}function fl(T,P,$,ee,Re){for(ti={},ri=P,I=0,T=$(ee,Re);Mr;)Mr=!1,I=0,ae+=1,Or=null,T=$(ee,Re);return gr(),T}function Ta(T,P,$,ee){var Re=$.render(),Ce=ee.childContextTypes;if(Ce!=null){var Xe=P.legacyContext;if(typeof $.getChildContext!="function")ee=Xe;else{$=$.getChildContext();for(var vt in $)if(!(vt in Ce))throw Error(e(108,st(ee)||"Unknown",vt));ee=On({},Xe,$)}P.legacyContext=ee,$n(T,P,Re),P.legacyContext=Xe}else $n(T,P,Re)}function Wi(T,P){if(T&&T.defaultProps){P=On({},P),T=T.defaultProps;for(var $ in T)P[$]===void 0&&(P[$]=T[$]);return P}return P}function So(T,P,$,ee,Re){if(typeof $=="function")if($.prototype&&$.prototype.isReactComponent){Re=Ut($,P.legacyContext);var Ce=$.contextType;Ce=new $(ee,typeof Ce=="object"&&Ce!==null?Ce._currentValue:Re),Xr(Ce,$,ee,Re),Ta(T,P,Ce,$)}else{Ce=Ut($,P.legacyContext),Re=fl(T,P,$,ee,Ce);var Xe=I!==0;if(typeof Re=="object"&&Re!==null&&typeof Re.render=="function"&&Re.$$typeof===void 0)Xr(Re,$,ee,Ce),Ta(T,P,Re,$);else if(Xe){ee=P.treeContext,P.treeContext=Hn(ee,1,0);try{$n(T,P,Re)}finally{P.treeContext=ee}}else $n(T,P,Re)}else if(typeof $=="string"){switch(Re=P.blockedSegment,Ce=je(Re.chunks,$,ee,T.responseState,Re.formatContext),Re.lastPushedText=!1,Xe=Re.formatContext,Re.formatContext=se(Xe,$,ee),Ai(T,P,Ce),Re.formatContext=Xe,$){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:Re.chunks.push(Qe,g($),mt)}Re.lastPushedText=!1}else{switch($){case Te:case Q:case Ci:case kn:case Si:$n(T,P,ee.children);return;case pn:$n(T,P,ee.children);return;case V:throw Error(e(343));case sn:e:{$=P.blockedBoundary,Re=P.blockedSegment,Ce=ee.fallback,ee=ee.children,Xe=new Set;var vt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Xe,errorDigest:null},Vt=an(T,Re.chunks.length,vt,Re.formatContext,!1,!1);Re.children.push(Vt),Re.lastPushedText=!1;var hr=an(T,0,null,Re.formatContext,!1,!1);hr.parentFlushed=!0,P.blockedBoundary=vt,P.blockedSegment=hr;try{if(Ai(T,P,ee),hr.lastPushedText&&hr.textEmbedded&&hr.chunks.push(pe),hr.status=1,$o(vt,hr),vt.pendingTasks===0)break e}catch(ar){hr.status=4,vt.forceClientRender=!0,vt.errorDigest=ps(T,ar)}finally{P.blockedBoundary=$,P.blockedSegment=Re}P=Ui(T,Ce,$,Vt,Xe,P.legacyContext,P.context,P.treeContext),T.pingedTasks.push(P)}return}if(typeof $=="object"&&$!==null)switch($.$$typeof){case Qn:if(ee=fl(T,P,$.render,ee,Re),I!==0){$=P.treeContext,P.treeContext=Hn($,1,0);try{$n(T,P,ee)}finally{P.treeContext=$}}else $n(T,P,ee);return;case C:$=$.type,ee=Wi($,ee),So(T,P,$,ee,Re);return;case An:if(Re=ee.children,$=$._context,ee=ee.value,Ce=$._currentValue,$._currentValue=ee,Xe=zt,zt=ee={parent:Xe,depth:Xe===null?0:Xe.depth+1,context:$,parentValue:Ce,value:ee},P.context=ee,$n(T,P,Re),T=zt,T===null)throw Error(e(403));ee=T.parentValue,T.context._currentValue=ee===xe?T.context._defaultValue:ee,T=zt=T.parent,P.context=T;return;case un:ee=ee.children,ee=ee($._currentValue),$n(T,P,ee);return;case N:Re=$._init,$=Re($._payload),ee=Wi($,ee),So(T,P,$,ee,void 0);return}throw Error(e(130,$==null?$:typeof $,""))}}function $n(T,P,$){if(P.node=$,typeof $=="object"&&$!==null){switch($.$$typeof){case wn:So(T,P,$.type,$.props,$.ref);return;case hi:throw Error(e(257));case N:var ee=$._init;$=ee($._payload),$n(T,P,$);return}if(fe($)){Kr(T,P,$);return}if($===null||typeof $!="object"?ee=null:(ee=He&&$[He]||$["@@iterator"],ee=typeof ee=="function"?ee:null),ee&&(ee=ee.call($))){if($=ee.next(),!$.done){var Re=[];do Re.push($.value),$=ee.next();while(!$.done);Kr(T,P,Re)}return}throw T=Object.prototype.toString.call($),Error(e(31,T==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":T))}typeof $=="string"?(ee=P.blockedSegment,ee.lastPushedText=Ne(P.blockedSegment.chunks,$,T.responseState,ee.lastPushedText)):typeof $=="number"&&(ee=P.blockedSegment,ee.lastPushedText=Ne(P.blockedSegment.chunks,""+$,T.responseState,ee.lastPushedText))}function Kr(T,P,$){for(var ee=$.length,Re=0;Re<ee;Re++){var Ce=P.treeContext;P.treeContext=Hn(Ce,ee,Re);try{Ai(T,P,$[Re])}finally{P.treeContext=Ce}}}function Ai(T,P,$){var ee=P.blockedSegment.formatContext,Re=P.legacyContext,Ce=P.context;try{return $n(T,P,$)}catch(Vt){if(gr(),typeof Vt=="object"&&Vt!==null&&typeof Vt.then=="function"){$=Vt;var Xe=P.blockedSegment,vt=an(T,Xe.chunks.length,null,Xe.formatContext,Xe.lastPushedText,!0);Xe.children.push(vt),Xe.lastPushedText=!1,T=Ui(T,P.node,P.blockedBoundary,vt,P.abortSet,P.legacyContext,P.context,P.treeContext).ping,$.then(T,T),P.blockedSegment.formatContext=ee,P.legacyContext=Re,P.context=Ce,Bn(Ce)}else throw P.blockedSegment.formatContext=ee,P.legacyContext=Re,P.context=Ce,Bn(Ce),Vt}}function Ea(T){var P=T.blockedBoundary;T=T.blockedSegment,T.status=3,hl(this,P,T)}function dl(T,P,$){var ee=T.blockedBoundary;T.blockedSegment.status=3,ee===null?(P.allPendingTasks--,P.status!==2&&(P.status=2,P.destination!==null&&P.destination.close())):(ee.pendingTasks--,ee.forceClientRender||(ee.forceClientRender=!0,T=$===void 0?Error(e(432)):$,ee.errorDigest=P.onError(T),ee.parentFlushed&&P.clientRenderedBoundaries.push(ee)),ee.fallbackAbortableTasks.forEach(function(Re){return dl(Re,P,$)}),ee.fallbackAbortableTasks.clear(),P.allPendingTasks--,P.allPendingTasks===0&&(ee=P.onAllReady,ee()))}function $o(T,P){if(P.chunks.length===0&&P.children.length===1&&P.children[0].boundary===null){var $=P.children[0];$.id=P.id,$.parentFlushed=!0,$.status===1&&$o(T,$)}else T.completedSegments.push(P)}function hl(T,P,$){if(P===null){if($.parentFlushed){if(T.completedRootSegment!==null)throw Error(e(389));T.completedRootSegment=$}T.pendingRootTasks--,T.pendingRootTasks===0&&(T.onShellError=qn,P=T.onShellReady,P())}else P.pendingTasks--,P.forceClientRender||(P.pendingTasks===0?($.parentFlushed&&$.status===1&&$o(P,$),P.parentFlushed&&T.completedBoundaries.push(P),P.fallbackAbortableTasks.forEach(Ea,T),P.fallbackAbortableTasks.clear()):$.parentFlushed&&$.status===1&&($o(P,$),P.completedSegments.length===1&&P.parentFlushed&&T.partialBoundaries.push(P)));T.allPendingTasks--,T.allPendingTasks===0&&(T=T.onAllReady,T())}function pl(T){if(T.status!==2){var P=zt,$=ci.current;ci.current=Br;var ee=Qr;Qr=T.responseState;try{var Re=T.pingedTasks,Ce;for(Ce=0;Ce<Re.length;Ce++){var Xe=Re[Ce],vt=T,Vt=Xe.blockedSegment;if(Vt.status===0){Bn(Xe.context);try{$n(vt,Xe,Xe.node),Vt.lastPushedText&&Vt.textEmbedded&&Vt.chunks.push(pe),Xe.abortSet.delete(Xe),Vt.status=1,hl(vt,Xe.blockedBoundary,Vt)}catch(Ei){if(gr(),typeof Ei=="object"&&Ei!==null&&typeof Ei.then=="function"){var hr=Xe.ping;Ei.then(hr,hr)}else{Xe.abortSet.delete(Xe),Vt.status=4;var ar=Xe.blockedBoundary,Gr=Ei,ni=ps(vt,Gr);if(ar===null?zn(vt,Gr):(ar.pendingTasks--,ar.forceClientRender||(ar.forceClientRender=!0,ar.errorDigest=ni,ar.parentFlushed&&vt.clientRenderedBoundaries.push(ar))),vt.allPendingTasks--,vt.allPendingTasks===0){var Ti=vt.onAllReady;Ti()}}}finally{}}}Re.splice(0,Ce),T.destination!==null&&Zs(T,T.destination)}catch(Ei){ps(T,Ei),zn(T,Ei)}finally{Qr=ee,ci.current=$,$===Br&&Bn(P)}}}function Gs(T,P,$){switch($.parentFlushed=!0,$.status){case 0:var ee=$.id=T.nextSegmentId++;return $.lastPushedText=!1,$.textEmbedded=!1,T=T.responseState,i(P,Ft),i(P,T.placeholderPrefix),T=g(ee.toString(16)),i(P,T),l(P,bt);case 1:$.status=2;var Re=!0;ee=$.chunks;var Ce=0;$=$.children;for(var Xe=0;Xe<$.length;Xe++){for(Re=$[Xe];Ce<Re.index;Ce++)i(P,ee[Ce]);Re=gs(T,P,Re)}for(;Ce<ee.length-1;Ce++)i(P,ee[Ce]);return Ce<ee.length&&(Re=l(P,ee[Ce])),Re;default:throw Error(e(390))}}function gs(T,P,$){var ee=$.boundary;if(ee===null)return Gs(T,P,$);if(ee.parentFlushed=!0,ee.forceClientRender)ee=ee.errorDigest,l(P,pr),i(P,wr),ee&&(i(P,ne),i(P,g(K(ee))),i(P,ge)),l(P,et),Gs(T,P,$);else if(0<ee.pendingTasks){ee.rootSegmentID=T.nextSegmentId++,0<ee.completedSegments.length&&T.partialBoundaries.push(ee);var Re=T.responseState,Ce=Re.nextSuspenseID++;Re=m(Re.boundaryPrefix+Ce.toString(16)),ee=ee.id=Re,ct(P,T.responseState,ee),Gs(T,P,$)}else if(ee.byteSize>T.progressiveChunkSize)ee.rootSegmentID=T.nextSegmentId++,T.completedBoundaries.push(ee),ct(P,T.responseState,ee.id),Gs(T,P,$);else{if(l(P,$e),$=ee.completedSegments,$.length!==1)throw Error(e(391));gs(T,P,$[0])}return l(P,xr)}function ms(T,P,$){return jt(P,T.responseState,$.formatContext,$.id),gs(T,P,$),At(P,$.formatContext)}function Co(T,P,$){for(var ee=$.completedSegments,Re=0;Re<ee.length;Re++)gl(T,P,$,ee[Re]);if(ee.length=0,T=T.responseState,ee=$.id,$=$.rootSegmentID,i(P,T.startInlineScript),T.sentCompleteBoundaryFunction?i(P,yr):(T.sentCompleteBoundaryFunction=!0,i(P,Ur)),ee===null)throw Error(e(395));return $=g($.toString(16)),i(P,ee),i(P,Kn),i(P,T.segmentPrefix),i(P,$),l(P,Cn)}function gl(T,P,$,ee){if(ee.status===2)return!0;var Re=ee.id;if(Re===-1){if((ee.id=$.rootSegmentID)===-1)throw Error(e(392));return ms(T,P,ee)}return ms(T,P,ee),T=T.responseState,i(P,T.startInlineScript),T.sentCompleteSegmentFunction?i(P,ir):(T.sentCompleteSegmentFunction=!0,i(P,qt)),i(P,T.segmentPrefix),Re=g(Re.toString(16)),i(P,Re),i(P,or),i(P,T.placeholderPrefix),i(P,Re),l(P,fr)}function Zs(T,P){t=new Uint8Array(512),n=0;try{var $=T.completedRootSegment;if($!==null&&T.pendingRootTasks===0){gs(T,P,$),T.completedRootSegment=null;var ee=T.responseState.bootstrapChunks;for($=0;$<ee.length-1;$++)i(P,ee[$]);$<ee.length&&l(P,ee[$])}var Re=T.clientRenderedBoundaries,Ce;for(Ce=0;Ce<Re.length;Ce++){var Xe=Re[Ce];ee=P;var vt=T.responseState,Vt=Xe.id,hr=Xe.errorDigest,ar=Xe.errorMessage,Gr=Xe.errorComponentStack;if(i(ee,vt.startInlineScript),vt.sentClientRenderFunction?i(ee,Yr):(vt.sentClientRenderFunction=!0,i(ee,Dn)),Vt===null)throw Error(e(395));i(ee,Vt),i(ee,Yn),(hr||ar||Gr)&&(i(ee,Xn),i(ee,g(on(hr||"")))),(ar||Gr)&&(i(ee,Xn),i(ee,g(on(ar||"")))),Gr&&(i(ee,Xn),i(ee,g(on(Gr)))),l(ee,En)}Re.splice(0,Ce);var ni=T.completedBoundaries;for(Ce=0;Ce<ni.length;Ce++)Co(T,P,ni[Ce]);ni.splice(0,Ce),u(P),t=new Uint8Array(512),n=0;var Ti=T.partialBoundaries;for(Ce=0;Ce<Ti.length;Ce++){var Ei=Ti[Ce];e:{Re=T,Xe=P;var Ks=Ei.completedSegments;for(vt=0;vt<Ks.length;vt++)if(!gl(Re,Xe,Ei,Ks[vt])){vt++,Ks.splice(0,vt);var ml=!1;break e}Ks.splice(0,vt),ml=!0}if(!ml){T.destination=null,Ce++,Ti.splice(0,Ce);return}}Ti.splice(0,Ce);var vs=T.completedBoundaries;for(Ce=0;Ce<vs.length;Ce++)Co(T,P,vs[Ce]);vs.splice(0,Ce)}finally{u(P),T.allPendingTasks===0&&T.pingedTasks.length===0&&T.clientRenderedBoundaries.length===0&&T.completedBoundaries.length===0&&P.close()}}function ka(T,P){try{var $=T.abortableTasks;$.forEach(function(ee){return dl(ee,T,P)}),$.clear(),T.destination!==null&&Zs(T,T.destination)}catch(ee){ps(T,ee),zn(T,ee)}}return wd.renderToReadableStream=function(T,P){return new Promise(function($,ee){var Re,Ce,Xe=new Promise(function(ar,Gr){Ce=ar,Re=Gr}),vt=xo(T,ce(P?P.identifierPrefix:void 0,P?P.nonce:void 0,P?P.bootstrapScriptContent:void 0,P?P.bootstrapScripts:void 0,P?P.bootstrapModules:void 0),le(P?P.namespaceURI:void 0),P?P.progressiveChunkSize:void 0,P?P.onError:void 0,Ce,function(){var ar=new ReadableStream({type:"bytes",pull:function(Gr){if(vt.status===1)vt.status=2,R(Gr,vt.fatalError);else if(vt.status!==2&&vt.destination===null){vt.destination=Gr;try{Zs(vt,Gr)}catch(ni){ps(vt,ni),zn(vt,ni)}}},cancel:function(){ka(vt)}},{highWaterMark:0});ar.allReady=Xe,$(ar)},function(ar){Xe.catch(function(){}),ee(ar)},Re);if(P&&P.signal){var Vt=P.signal,hr=function(){ka(vt,Vt.reason),Vt.removeEventListener("abort",hr)};Vt.addEventListener("abort",hr)}pl(vt)})},wd.version="18.2.0",wd}var Wc={};/**
|
79
79
|
* @license React
|
80
80
|
* react-dom-server-legacy.browser.development.js
|
81
81
|
*
|
@@ -83,15 +83,15 @@ function print() { __p += __j.call(arguments, '') }
|
|
83
83
|
*
|
84
84
|
* This source code is licensed under the MIT license found in the
|
85
85
|
* LICENSE file in the root directory of this source tree.
|
86
|
-
*/var Kv;function U4(){return Kv||(Kv=1,process.env.NODE_ENV!=="production"&&function(){var r=A,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(s){{for(var c=arguments.length,h=new Array(c>1?c-1:0),y=1;y<c;y++)h[y-1]=arguments[y];l("warn",s,h)}}function i(s){{for(var c=arguments.length,h=new Array(c>1?c-1:0),y=1;y<c;y++)h[y-1]=arguments[y];l("error",s,h)}}function l(s,c,h){{var y=t.ReactDebugCurrentFrame,D=y.getStackAddendum();D!==""&&(c+="%s",h=h.concat([D]));var F=h.map(function(W){return String(W)});F.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,F)}}function u(s){s()}function f(s){}function g(s,c){m(s,c)}function m(s,c){return s.push(c)}function R(s){}function w(s){s.push(null)}function b(s){return s}function S(s){return s}function _(s,c){s.destroy(c)}function M(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,h=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return h}}function E(s){try{return x(s),!1}catch{return!0}}function x(s){return""+s}function L(s,c){if(E(s))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,M(s)),x(s)}function O(s,c){if(E(s))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,M(s)),x(s)}function B(s){if(E(s))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",M(s)),x(s)}var H=Object.prototype.hasOwnProperty,z=0,K=1,ue=2,J=3,fe=4,j=5,te=6,X=":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",re=X+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",de=new RegExp("^["+X+"]["+re+"]*$"),ge={},ye={};function ce(s){return H.call(ye,s)?!0:H.call(ge,s)?!1:de.test(s)?(ye[s]=!0,!0):(ge[s]=!0,i("Invalid attribute name: `%s`",s),!1)}function Ae(s,c,h,y){if(h!==null&&h.type===z)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(h!==null)return!h.acceptsBooleans;var D=s.toLowerCase().slice(0,5);return D!=="data-"&&D!=="aria-"}default:return!1}}function le(s){return pe.hasOwnProperty(s)?pe[s]:null}function se(s,c,h,y,D,F,W){this.acceptsBooleans=c===ue||c===J||c===fe,this.attributeName=y,this.attributeNamespace=D,this.mustUseProperty=h,this.propertyName=s,this.type=c,this.sanitizeURL=F,this.removeEmptyString=W}var pe={},Ne=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ne.forEach(function(s){pe[s]=new se(s,z,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],h=s[1];pe[c]=new se(c,K,!1,h,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){pe[s]=new se(s,ue,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){pe[s]=new se(s,ue,!1,s,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(s){pe[s]=new se(s,J,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){pe[s]=new se(s,J,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){pe[s]=new se(s,fe,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){pe[s]=new se(s,te,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){pe[s]=new se(s,j,!1,s.toLowerCase(),null,!1,!1)});var Ye=/[\-\:]([a-z])/g,we=function(s){return s[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(s){var c=s.replace(Ye,we);pe[c]=new se(c,K,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Ye,we);pe[c]=new se(c,K,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Ye,we);pe[c]=new se(c,K,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){pe[s]=new se(s,K,!1,s.toLowerCase(),null,!1,!1)});var De="xlinkHref";pe[De]=new se("xlinkHref",K,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){pe[s]=new se(s,K,!1,s.toLowerCase(),null,!0,!0)});var Fe={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 ze(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var Ge=["Webkit","ms","Moz","O"];Object.keys(Fe).forEach(function(s){Ge.forEach(function(c){Fe[ze(c,s)]=Fe[s]})});var Me={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Te(s,c){Me[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||i("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`."),c.onChange||c.readOnly||c.disabled||c.checked==null||i("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 be(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 We={"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},ht={},Ct=new RegExp("^(aria)-["+re+"]*$"),it=new RegExp("^(aria)[A-Z]["+re+"]*$");function Ie(s,c){{if(H.call(ht,c)&&ht[c])return!0;if(it.test(c)){var h="aria-"+c.slice(4).toLowerCase(),y=We.hasOwnProperty(h)?h:null;if(y==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),ht[c]=!0,!0;if(c!==y)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,y),ht[c]=!0,!0}if(Ct.test(c)){var D=c.toLowerCase(),F=We.hasOwnProperty(D)?D:null;if(F==null)return ht[c]=!0,!1;if(c!==F)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,F),ht[c]=!0,!0}}return!0}function Oe(s,c){{var h=[];for(var y in c){var D=Ie(s,y);D||h.push(y)}var F=h.map(function(W){return"`"+W+"`"}).join(", ");h.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s):h.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s)}}function st(s,c){be(s,c)||Oe(s,c)}var vt=!1;function wt(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!vt&&(vt=!0,s==="select"&&c.multiple?i("`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.",s):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var Et={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"},xt=function(){};{var It={},je=/^on./,Qe=/^on[^A-Z]/,gt=new RegExp("^(aria)-["+re+"]*$"),Ft=new RegExp("^(aria)[A-Z]["+re+"]*$");xt=function(s,c,h,y){if(H.call(It,c)&&It[c])return!0;var D=c.toLowerCase();if(D==="onfocusin"||D==="onfocusout")return i("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."),It[c]=!0,!0;if(y!=null){var F=y.registrationNameDependencies,W=y.possibleRegistrationNames;if(F.hasOwnProperty(c))return!0;var ie=W.hasOwnProperty(D)?W[D]:null;if(ie!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",c,ie),It[c]=!0,!0;if(je.test(c))return i("Unknown event handler property `%s`. It will be ignored.",c),It[c]=!0,!0}else if(je.test(c))return Qe.test(c)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),It[c]=!0,!0;if(gt.test(c)||Ft.test(c))return!0;if(D==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),It[c]=!0,!0;if(D==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),It[c]=!0,!0;if(D==="is"&&h!==null&&h!==void 0&&typeof h!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof h),It[c]=!0,!0;if(typeof h=="number"&&isNaN(h))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),It[c]=!0,!0;var Se=le(c),Je=Se!==null&&Se.type===z;if(Et.hasOwnProperty(D)){var lt=Et[D];if(lt!==c)return i("Invalid DOM property `%s`. Did you mean `%s`?",c,lt),It[c]=!0,!0}else if(!Je&&c!==D)return i("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.",c,D),It[c]=!0,!0;return typeof h=="boolean"&&Ae(c,h,Se)?(h?i('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()}.',h,c,c,h,c):i('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.',h,c,c,h,c,c,c),It[c]=!0,!0):Je?!0:Ae(c,h,Se)?(It[c]=!0,!1):((h==="false"||h==="true")&&Se!==null&&Se.type===J&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",h,c,h==="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".',c,h),It[c]=!0),!0)}}var bt=function(s,c,h){{var y=[];for(var D in c){var F=xt(s,D,c[D],h);F||y.push(D)}var W=y.map(function(ie){return"`"+ie+"`"}).join(", ");y.length===1?i("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 ",W,s):y.length>1&&i("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 ",W,s)}};function $e(s,c,h){be(s,c)||bt(s,c,h)}var Lt=function(){};{var Dt=/^(?:webkit|moz|o)[A-Z]/,pr=/^-ms-/,xr=/-(.)/g,wr=/;\s*$/,me={},ne={},et=!1,ct=!1,tt=function(s){return s.replace(xr,function(c,h){return h.toUpperCase()})},Le=function(s){me.hasOwnProperty(s)&&me[s]||(me[s]=!0,i("Unsupported style property %s. Did you mean %s?",s,tt(s.replace(pr,"ms-"))))},pt=function(s){me.hasOwnProperty(s)&&me[s]||(me[s]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},kt=function(s,c){ne.hasOwnProperty(c)&&ne[c]||(ne[c]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(wr,"")))},_t=function(s,c){et||(et=!0,i("`NaN` is an invalid value for the `%s` css style property.",s))},Bt=function(s,c){ct||(ct=!0,i("`Infinity` is an invalid value for the `%s` css style property.",s))};Lt=function(s,c){s.indexOf("-")>-1?Le(s):Dt.test(s)?pt(s):wr.test(c)&&kt(s,c),typeof c=="number"&&(isNaN(c)?_t(s,c):isFinite(c)||Bt(s,c))}}var Wt=Lt,rr=/["'&<>]/;function Ht(s){B(s);var c=""+s,h=rr.exec(c);if(!h)return c;var y,D="",F,W=0;for(F=h.index;F<c.length;F++){switch(c.charCodeAt(F)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}W!==F&&(D+=c.substring(W,F)),W=F+1,D+=y}return W!==F?D+c.substring(W,F):D}function $t(s){return typeof s=="boolean"||typeof s=="number"?""+s:Ht(s)}var nr=/([A-Z])/g,rt=/^ms-/;function Tt(s){return s.replace(nr,"-$1").toLowerCase().replace(rt,"-ms-")}var yt=/^[\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,Mt=!1;function vr(s){!Mt&&yt.test(s)&&(Mt=!0,i("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(s)))}var Y=Array.isArray;function Ue(s){return Y(s)}var ke="<script>";function Ze(s,c,h,y,D){var F=s===void 0?"":s,W=ke,ie=[];return{bootstrapChunks:ie,startInlineScript:W,placeholderPrefix:F+"P:",segmentPrefix:F+"S:",boundaryPrefix:F+"B:",idPrefix:F,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var St=0,jt=1,At=2,qt=3,ir=4,or=5,fr=6,Ur=7;function yr(s,c){return{insertionMode:s,selectedValue:c}}function Kn(s,c,h){switch(c){case"select":return yr(jt,h.value!=null?h.value:h.defaultValue);case"svg":return yr(At,null);case"math":return yr(qt,null);case"foreignObject":return yr(jt,null);case"table":return yr(ir,null);case"thead":case"tbody":case"tfoot":return yr(or,null);case"colgroup":return yr(Ur,null);case"tr":return yr(fr,null)}return s.insertionMode>=ir||s.insertionMode===St?yr(jt,null):s}var Cn=null;function Dn(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Yr(s,c,h){var y=s.idPrefix,D=":"+y+"R"+c;return h>0&&(D+="H"+h.toString(32)),D+":"}function Yn(s){return $t(s)}var En="<!-- -->";function Xn(s,c,h,y){return c===""?y:(y&&s.push(En),s.push(Yn(c)),!0)}function Jn(s,c,h,y){h&&y&&s.push(En)}var on=new Map;function On(s){var c=on.get(s);if(c!==void 0)return c;var h=$t(Tt(s));return on.set(s,h),h}var wn=' style="',hi=":",Si=";";function Ci(s,c,h){if(typeof h!="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 D in h)if(H.call(h,D)){var F=h[D];if(!(F==null||typeof F=="boolean"||F==="")){var W=void 0,ie=void 0,Se=D.indexOf("--")===0;Se?(W=$t(D),O(F,D),ie=$t((""+F).trim())):(Wt(D,F),W=On(D),typeof F=="number"?F!==0&&!H.call(Fe,D)?ie=F+"px":ie=""+F:(O(F,D),ie=$t((""+F).trim()))),y?(y=!1,s.push(wn,W,hi,ie)):s.push(Si,W,hi,ie)}}y||s.push(un)}var kn=" ",An='="',un='"',Qn='=""';function sn(s,c,h,y){switch(h){case"style":{Ci(s,c,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(h.length>2&&(h[0]==="o"||h[0]==="O")&&(h[1]==="n"||h[1]==="N"))){var D=le(h);if(D!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!D.acceptsBooleans)return}var F=D.attributeName,W=F;switch(D.type){case J:y&&s.push(kn,W,Qn);return;case fe:y===!0?s.push(kn,W,Qn):y===!1||s.push(kn,W,An,$t(y),un);return;case j:isNaN(y)||s.push(kn,W,An,$t(y),un);break;case te:!isNaN(y)&&y>=1&&s.push(kn,W,An,$t(y),un);break;default:D.sanitizeURL&&(L(y,F),y=""+y,vr(y)),s.push(kn,W,An,$t(y),un)}}else if(ce(h)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var ie=h.toLowerCase().slice(0,5);if(ie!=="data-"&&ie!=="aria-")return}}s.push(kn,h,An,$t(y),un)}}}var pn=">",C="/>";function N(s,c,h){if(c!=null){if(h!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof c!="object"||!("__html"in c))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=c.__html;y!=null&&(B(y),s.push(""+y))}}var V=!1,Q=!1,Ee=!1,xe=!1,He=!1,at=!1,Ot=!1;function Ut(s,c){{var h=s[c];if(h!=null){var y=Ue(h);s.multiple&&!y?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&y&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function zt(s,c,h){Te("select",c),Ut(c,"value"),Ut(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!Ee&&(i("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"),Ee=!0),s.push(Rn("select"));var y=null,D=null;for(var F in c)if(H.call(c,F)){var W=c[F];if(W==null)continue;switch(F){case"children":y=W;break;case"dangerouslySetInnerHTML":D=W;break;case"defaultValue":case"value":break;default:sn(s,h,F,W);break}}return s.push(pn),N(s,D,y),y}function Sr(s){var c="";return r.Children.forEach(s,function(h){h!=null&&(c+=h,!He&&typeof h!="string"&&typeof h!="number"&&(He=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var Zr=' selected=""';function vn(s,c,h,y){var D=y.selectedValue;s.push(Rn("option"));var F=null,W=null,ie=null,Se=null;for(var Je in c)if(H.call(c,Je)){var lt=c[Je];if(lt==null)continue;switch(Je){case"children":F=lt;break;case"selected":ie=lt,Ot||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ot=!0);break;case"dangerouslySetInnerHTML":Se=lt;break;case"value":W=lt;default:sn(s,h,Je,lt);break}}if(D!=null){var Rt;if(W!==null?(L(W,"value"),Rt=""+W):(Se!==null&&(at||(at=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Rt=Sr(F)),Ue(D))for(var tr=0;tr<D.length;tr++){L(D[tr],"value");var Dr=""+D[tr];if(Dr===Rt){s.push(Zr);break}}else L(D,"select.value"),""+D===Rt&&s.push(Zr)}else ie&&s.push(Zr);return s.push(pn),N(s,Se,F),F}function yn(s,c,h){Te("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!Q&&(i("%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",c.type),Q=!0),c.value!==void 0&&c.defaultValue!==void 0&&!V&&(i("%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",c.type),V=!0),s.push(Rn("input"));var y=null,D=null,F=null,W=null;for(var ie in c)if(H.call(c,ie)){var Se=c[ie];if(Se==null)continue;switch(ie){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":W=Se;break;case"defaultValue":D=Se;break;case"checked":F=Se;break;case"value":y=Se;break;default:sn(s,h,ie,Se);break}}return F!==null?sn(s,h,"checked",F):W!==null&&sn(s,h,"checked",W),y!==null?sn(s,h,"value",y):D!==null&&sn(s,h,"value",D),s.push(C),null}function li(s,c,h){Te("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!xe&&(i("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"),xe=!0),s.push(Rn("textarea"));var y=null,D=null,F=null;for(var W in c)if(H.call(c,W)){var ie=c[W];if(ie==null)continue;switch(W){case"children":F=ie;break;case"value":y=ie;break;case"defaultValue":D=ie;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:sn(s,h,W,ie);break}}if(y===null&&D!==null&&(y=D),s.push(pn),F!=null){if(i("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(Ue(F)){if(F.length>1)throw new Error("<textarea> can only have at most one child.");B(F[0]),y=""+F[0]}B(F),y=""+F}return typeof y=="string"&&y[0]===`
|
86
|
+
*/var Kv;function U4(){return Kv||(Kv=1,process.env.NODE_ENV!=="production"&&function(){var r=A,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(s){{for(var c=arguments.length,h=new Array(c>1?c-1:0),y=1;y<c;y++)h[y-1]=arguments[y];l("warn",s,h)}}function i(s){{for(var c=arguments.length,h=new Array(c>1?c-1:0),y=1;y<c;y++)h[y-1]=arguments[y];l("error",s,h)}}function l(s,c,h){{var y=t.ReactDebugCurrentFrame,D=y.getStackAddendum();D!==""&&(c+="%s",h=h.concat([D]));var F=h.map(function(W){return String(W)});F.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,F)}}function u(s){s()}function f(s){}function g(s,c){m(s,c)}function m(s,c){return s.push(c)}function R(s){}function w(s){s.push(null)}function b(s){return s}function S(s){return s}function _(s,c){s.destroy(c)}function M(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,h=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return h}}function E(s){try{return x(s),!1}catch{return!0}}function x(s){return""+s}function L(s,c){if(E(s))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,M(s)),x(s)}function O(s,c){if(E(s))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,M(s)),x(s)}function B(s){if(E(s))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",M(s)),x(s)}var H=Object.prototype.hasOwnProperty,z=0,K=1,ue=2,J=3,fe=4,j=5,te=6,X=":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",re=X+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",de=new RegExp("^["+X+"]["+re+"]*$"),me={},ye={};function ce(s){return H.call(ye,s)?!0:H.call(me,s)?!1:de.test(s)?(ye[s]=!0,!0):(me[s]=!0,i("Invalid attribute name: `%s`",s),!1)}function Ee(s,c,h,y){if(h!==null&&h.type===z)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(h!==null)return!h.acceptsBooleans;var D=s.toLowerCase().slice(0,5);return D!=="data-"&&D!=="aria-"}default:return!1}}function le(s){return pe.hasOwnProperty(s)?pe[s]:null}function se(s,c,h,y,D,F,W){this.acceptsBooleans=c===ue||c===J||c===fe,this.attributeName=y,this.attributeNamespace=D,this.mustUseProperty=h,this.propertyName=s,this.type=c,this.sanitizeURL=F,this.removeEmptyString=W}var pe={},Ne=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ne.forEach(function(s){pe[s]=new se(s,z,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],h=s[1];pe[c]=new se(c,K,!1,h,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){pe[s]=new se(s,ue,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){pe[s]=new se(s,ue,!1,s,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(s){pe[s]=new se(s,J,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){pe[s]=new se(s,J,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){pe[s]=new se(s,fe,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){pe[s]=new se(s,te,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){pe[s]=new se(s,j,!1,s.toLowerCase(),null,!1,!1)});var Ye=/[\-\:]([a-z])/g,we=function(s){return s[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(s){var c=s.replace(Ye,we);pe[c]=new se(c,K,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Ye,we);pe[c]=new se(c,K,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Ye,we);pe[c]=new se(c,K,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){pe[s]=new se(s,K,!1,s.toLowerCase(),null,!1,!1)});var De="xlinkHref";pe[De]=new se("xlinkHref",K,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){pe[s]=new se(s,K,!1,s.toLowerCase(),null,!0,!0)});var Fe={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 ze(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var Ge=["Webkit","ms","Moz","O"];Object.keys(Fe).forEach(function(s){Ge.forEach(function(c){Fe[ze(c,s)]=Fe[s]})});var Le={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ae(s,c){Le[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||i("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`."),c.onChange||c.readOnly||c.disabled||c.checked==null||i("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 be(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 We={"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},ht={},Ct=new RegExp("^(aria)-["+re+"]*$"),it=new RegExp("^(aria)[A-Z]["+re+"]*$");function Ie(s,c){{if(H.call(ht,c)&&ht[c])return!0;if(it.test(c)){var h="aria-"+c.slice(4).toLowerCase(),y=We.hasOwnProperty(h)?h:null;if(y==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),ht[c]=!0,!0;if(c!==y)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,y),ht[c]=!0,!0}if(Ct.test(c)){var D=c.toLowerCase(),F=We.hasOwnProperty(D)?D:null;if(F==null)return ht[c]=!0,!1;if(c!==F)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,F),ht[c]=!0,!0}}return!0}function Pe(s,c){{var h=[];for(var y in c){var D=Ie(s,y);D||h.push(y)}var F=h.map(function(W){return"`"+W+"`"}).join(", ");h.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s):h.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",F,s)}}function at(s,c){be(s,c)||Pe(s,c)}var gt=!1;function wt(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!gt&&(gt=!0,s==="select"&&c.multiple?i("`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.",s):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var Et={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"},xt=function(){};{var It={},je=/^on./,Qe=/^on[^A-Z]/,mt=new RegExp("^(aria)-["+re+"]*$"),Ft=new RegExp("^(aria)[A-Z]["+re+"]*$");xt=function(s,c,h,y){if(H.call(It,c)&&It[c])return!0;var D=c.toLowerCase();if(D==="onfocusin"||D==="onfocusout")return i("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."),It[c]=!0,!0;if(y!=null){var F=y.registrationNameDependencies,W=y.possibleRegistrationNames;if(F.hasOwnProperty(c))return!0;var ie=W.hasOwnProperty(D)?W[D]:null;if(ie!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",c,ie),It[c]=!0,!0;if(je.test(c))return i("Unknown event handler property `%s`. It will be ignored.",c),It[c]=!0,!0}else if(je.test(c))return Qe.test(c)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),It[c]=!0,!0;if(mt.test(c)||Ft.test(c))return!0;if(D==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),It[c]=!0,!0;if(D==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),It[c]=!0,!0;if(D==="is"&&h!==null&&h!==void 0&&typeof h!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof h),It[c]=!0,!0;if(typeof h=="number"&&isNaN(h))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),It[c]=!0,!0;var Se=le(c),Je=Se!==null&&Se.type===z;if(Et.hasOwnProperty(D)){var lt=Et[D];if(lt!==c)return i("Invalid DOM property `%s`. Did you mean `%s`?",c,lt),It[c]=!0,!0}else if(!Je&&c!==D)return i("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.",c,D),It[c]=!0,!0;return typeof h=="boolean"&&Ee(c,h,Se)?(h?i('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()}.',h,c,c,h,c):i('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.',h,c,c,h,c,c,c),It[c]=!0,!0):Je?!0:Ee(c,h,Se)?(It[c]=!0,!1):((h==="false"||h==="true")&&Se!==null&&Se.type===J&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",h,c,h==="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".',c,h),It[c]=!0),!0)}}var bt=function(s,c,h){{var y=[];for(var D in c){var F=xt(s,D,c[D],h);F||y.push(D)}var W=y.map(function(ie){return"`"+ie+"`"}).join(", ");y.length===1?i("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 ",W,s):y.length>1&&i("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 ",W,s)}};function $e(s,c,h){be(s,c)||bt(s,c,h)}var Lt=function(){};{var Dt=/^(?:webkit|moz|o)[A-Z]/,pr=/^-ms-/,xr=/-(.)/g,wr=/;\s*$/,ge={},ne={},et=!1,ct=!1,tt=function(s){return s.replace(xr,function(c,h){return h.toUpperCase()})},Me=function(s){ge.hasOwnProperty(s)&&ge[s]||(ge[s]=!0,i("Unsupported style property %s. Did you mean %s?",s,tt(s.replace(pr,"ms-"))))},pt=function(s){ge.hasOwnProperty(s)&&ge[s]||(ge[s]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},kt=function(s,c){ne.hasOwnProperty(c)&&ne[c]||(ne[c]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(wr,"")))},_t=function(s,c){et||(et=!0,i("`NaN` is an invalid value for the `%s` css style property.",s))},Bt=function(s,c){ct||(ct=!0,i("`Infinity` is an invalid value for the `%s` css style property.",s))};Lt=function(s,c){s.indexOf("-")>-1?Me(s):Dt.test(s)?pt(s):wr.test(c)&&kt(s,c),typeof c=="number"&&(isNaN(c)?_t(s,c):isFinite(c)||Bt(s,c))}}var Wt=Lt,rr=/["'&<>]/;function Ht(s){B(s);var c=""+s,h=rr.exec(c);if(!h)return c;var y,D="",F,W=0;for(F=h.index;F<c.length;F++){switch(c.charCodeAt(F)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}W!==F&&(D+=c.substring(W,F)),W=F+1,D+=y}return W!==F?D+c.substring(W,F):D}function $t(s){return typeof s=="boolean"||typeof s=="number"?""+s:Ht(s)}var nr=/([A-Z])/g,rt=/^ms-/;function Tt(s){return s.replace(nr,"-$1").toLowerCase().replace(rt,"-ms-")}var yt=/^[\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,Mt=!1;function vr(s){!Mt&&yt.test(s)&&(Mt=!0,i("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(s)))}var Y=Array.isArray;function Ue(s){return Y(s)}var ke="<script>";function Ze(s,c,h,y,D){var F=s===void 0?"":s,W=ke,ie=[];return{bootstrapChunks:ie,startInlineScript:W,placeholderPrefix:F+"P:",segmentPrefix:F+"S:",boundaryPrefix:F+"B:",idPrefix:F,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var St=0,jt=1,At=2,qt=3,ir=4,or=5,fr=6,Ur=7;function yr(s,c){return{insertionMode:s,selectedValue:c}}function Kn(s,c,h){switch(c){case"select":return yr(jt,h.value!=null?h.value:h.defaultValue);case"svg":return yr(At,null);case"math":return yr(qt,null);case"foreignObject":return yr(jt,null);case"table":return yr(ir,null);case"thead":case"tbody":case"tfoot":return yr(or,null);case"colgroup":return yr(Ur,null);case"tr":return yr(fr,null)}return s.insertionMode>=ir||s.insertionMode===St?yr(jt,null):s}var Cn=null;function Dn(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Yr(s,c,h){var y=s.idPrefix,D=":"+y+"R"+c;return h>0&&(D+="H"+h.toString(32)),D+":"}function Yn(s){return $t(s)}var En="<!-- -->";function Xn(s,c,h,y){return c===""?y:(y&&s.push(En),s.push(Yn(c)),!0)}function Jn(s,c,h,y){h&&y&&s.push(En)}var on=new Map;function On(s){var c=on.get(s);if(c!==void 0)return c;var h=$t(Tt(s));return on.set(s,h),h}var wn=' style="',hi=":",Si=";";function Ci(s,c,h){if(typeof h!="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 D in h)if(H.call(h,D)){var F=h[D];if(!(F==null||typeof F=="boolean"||F==="")){var W=void 0,ie=void 0,Se=D.indexOf("--")===0;Se?(W=$t(D),O(F,D),ie=$t((""+F).trim())):(Wt(D,F),W=On(D),typeof F=="number"?F!==0&&!H.call(Fe,D)?ie=F+"px":ie=""+F:(O(F,D),ie=$t((""+F).trim()))),y?(y=!1,s.push(wn,W,hi,ie)):s.push(Si,W,hi,ie)}}y||s.push(un)}var kn=" ",An='="',un='"',Qn='=""';function sn(s,c,h,y){switch(h){case"style":{Ci(s,c,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(h.length>2&&(h[0]==="o"||h[0]==="O")&&(h[1]==="n"||h[1]==="N"))){var D=le(h);if(D!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!D.acceptsBooleans)return}var F=D.attributeName,W=F;switch(D.type){case J:y&&s.push(kn,W,Qn);return;case fe:y===!0?s.push(kn,W,Qn):y===!1||s.push(kn,W,An,$t(y),un);return;case j:isNaN(y)||s.push(kn,W,An,$t(y),un);break;case te:!isNaN(y)&&y>=1&&s.push(kn,W,An,$t(y),un);break;default:D.sanitizeURL&&(L(y,F),y=""+y,vr(y)),s.push(kn,W,An,$t(y),un)}}else if(ce(h)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var ie=h.toLowerCase().slice(0,5);if(ie!=="data-"&&ie!=="aria-")return}}s.push(kn,h,An,$t(y),un)}}}var pn=">",C="/>";function N(s,c,h){if(c!=null){if(h!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof c!="object"||!("__html"in c))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=c.__html;y!=null&&(B(y),s.push(""+y))}}var V=!1,Q=!1,Te=!1,xe=!1,He=!1,st=!1,Ot=!1;function Ut(s,c){{var h=s[c];if(h!=null){var y=Ue(h);s.multiple&&!y?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&y&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function zt(s,c,h){Ae("select",c),Ut(c,"value"),Ut(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!Te&&(i("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"),Te=!0),s.push(Rn("select"));var y=null,D=null;for(var F in c)if(H.call(c,F)){var W=c[F];if(W==null)continue;switch(F){case"children":y=W;break;case"dangerouslySetInnerHTML":D=W;break;case"defaultValue":case"value":break;default:sn(s,h,F,W);break}}return s.push(pn),N(s,D,y),y}function Sr(s){var c="";return r.Children.forEach(s,function(h){h!=null&&(c+=h,!He&&typeof h!="string"&&typeof h!="number"&&(He=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var Zr=' selected=""';function vn(s,c,h,y){var D=y.selectedValue;s.push(Rn("option"));var F=null,W=null,ie=null,Se=null;for(var Je in c)if(H.call(c,Je)){var lt=c[Je];if(lt==null)continue;switch(Je){case"children":F=lt;break;case"selected":ie=lt,Ot||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ot=!0);break;case"dangerouslySetInnerHTML":Se=lt;break;case"value":W=lt;default:sn(s,h,Je,lt);break}}if(D!=null){var Rt;if(W!==null?(L(W,"value"),Rt=""+W):(Se!==null&&(st||(st=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Rt=Sr(F)),Ue(D))for(var tr=0;tr<D.length;tr++){L(D[tr],"value");var Dr=""+D[tr];if(Dr===Rt){s.push(Zr);break}}else L(D,"select.value"),""+D===Rt&&s.push(Zr)}else ie&&s.push(Zr);return s.push(pn),N(s,Se,F),F}function yn(s,c,h){Ae("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!Q&&(i("%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",c.type),Q=!0),c.value!==void 0&&c.defaultValue!==void 0&&!V&&(i("%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",c.type),V=!0),s.push(Rn("input"));var y=null,D=null,F=null,W=null;for(var ie in c)if(H.call(c,ie)){var Se=c[ie];if(Se==null)continue;switch(ie){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":W=Se;break;case"defaultValue":D=Se;break;case"checked":F=Se;break;case"value":y=Se;break;default:sn(s,h,ie,Se);break}}return F!==null?sn(s,h,"checked",F):W!==null&&sn(s,h,"checked",W),y!==null?sn(s,h,"value",y):D!==null&&sn(s,h,"value",D),s.push(C),null}function li(s,c,h){Ae("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!xe&&(i("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"),xe=!0),s.push(Rn("textarea"));var y=null,D=null,F=null;for(var W in c)if(H.call(c,W)){var ie=c[W];if(ie==null)continue;switch(W){case"children":F=ie;break;case"value":y=ie;break;case"defaultValue":D=ie;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:sn(s,h,W,ie);break}}if(y===null&&D!==null&&(y=D),s.push(pn),F!=null){if(i("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(Ue(F)){if(F.length>1)throw new Error("<textarea> can only have at most one child.");B(F[0]),y=""+F[0]}B(F),y=""+F}return typeof y=="string"&&y[0]===`
|
87
87
|
`&&s.push(ei),y!==null&&(L(y,"value"),s.push(Yn(""+y))),null}function Bn(s,c,h,y){s.push(Rn(h));for(var D in c)if(H.call(c,D)){var F=c[D];if(F==null)continue;switch(D){case"children":case"dangerouslySetInnerHTML":throw new Error(h+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:sn(s,y,D,F);break}}return s.push(C),null}function wi(s,c,h){s.push(Rn("menuitem"));for(var y in c)if(H.call(c,y)){var D=c[y];if(D==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:sn(s,h,y,D);break}}return s.push(pn),null}function Xr(s,c,h){s.push(Rn("title"));var y=null;for(var D in c)if(H.call(c,D)){var F=c[D];if(F==null)continue;switch(D){case"children":y=F;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:sn(s,h,D,F);break}}s.push(pn);{var W=Array.isArray(y)&&y.length<2?y[0]||null:y;Array.isArray(y)&&y.length>1?i("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"):W!=null&&W.$$typeof!=null?i("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"):W!=null&&typeof W!="string"&&typeof W!="number"&&i("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 pi(s,c,h,y){s.push(Rn(h));var D=null,F=null;for(var W in c)if(H.call(c,W)){var ie=c[W];if(ie==null)continue;switch(W){case"children":D=ie;break;case"dangerouslySetInnerHTML":F=ie;break;default:sn(s,y,W,ie);break}}return s.push(pn),N(s,F,D),typeof D=="string"?(s.push(Yn(D)),null):D}function Hn(s,c,h,y){s.push(Rn(h));var D=null,F=null;for(var W in c)if(H.call(c,W)){var ie=c[W];if(ie==null)continue;switch(W){case"children":D=ie;break;case"dangerouslySetInnerHTML":F=ie;break;case"style":Ci(s,y,ie);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ce(W)&&typeof ie!="function"&&typeof ie!="symbol"&&s.push(kn,W,An,$t(ie),un);break}}return s.push(pn),N(s,F,D),D}var ei=`
|
88
88
|
`;function bo(s,c,h,y){s.push(Rn(h));var D=null,F=null;for(var W in c)if(H.call(c,W)){var ie=c[W];if(ie==null)continue;switch(W){case"children":D=ie;break;case"dangerouslySetInnerHTML":F=ie;break;default:sn(s,y,W,ie);break}}if(s.push(pn),F!=null){if(D!=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 Se=F.__html;Se!=null&&(typeof Se=="string"&&Se.length>0&&Se[0]===`
|
89
89
|
`?s.push(ei,Se):(B(Se),s.push(""+Se)))}return typeof D=="string"&&D[0]===`
|
90
|
-
`&&s.push(ei),D}var ro=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,no=new Map;function Rn(s){var c=no.get(s);if(c===void 0){if(!ro.test(s))throw new Error("Invalid tag: "+s);c="<"+s,no.set(s,c)}return c}var _o="<!DOCTYPE html>";function ti(s,c,h,y,D){switch(
|
90
|
+
`&&s.push(ei),D}var ro=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,no=new Map;function Rn(s){var c=no.get(s);if(c===void 0){if(!ro.test(s))throw new Error("Invalid tag: "+s);c="<"+s,no.set(s,c)}return c}var _o="<!DOCTYPE html>";function ti(s,c,h,y,D){switch(at(c,h),wt(c,h),$e(c,h,null),!h.suppressContentEditableWarning&&h.contentEditable&&h.children!=null&&i("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."),D.insertionMode!==At&&D.insertionMode!==qt&&c.indexOf("-")===-1&&typeof h.is!="string"&&c.toLowerCase()!==c&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return zt(s,h,y);case"option":return vn(s,h,y,D);case"textarea":return li(s,h,y);case"input":return yn(s,h,y);case"menuitem":return wi(s,h,y);case"title":return Xr(s,h,y);case"listing":case"pre":return bo(s,h,c,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 Bn(s,h,c,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 pi(s,h,c,y);case"html":return D.insertionMode===St&&s.push(_o),pi(s,h,c,y);default:return c.indexOf("-")===-1&&typeof h.is!="string"?pi(s,h,c,y):Hn(s,h,c,y)}}var ri="</",$i=">";function Or(s,c,h){switch(c){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:s.push(ri,c,$i)}}function Ar(s,c){for(var h=c.bootstrapChunks,y=0;y<h.length-1;y++)g(s,h[y]);return y<h.length?m(s,h[y]):!0}var Mr='<template id="',I='"></template>';function G(s,c,h){g(s,Mr),g(s,c.placeholderPrefix);var y=h.toString(16);return g(s,y),m(s,I)}var ae="<!--$-->",qe='<!--$?--><template id="',Xt='"></template>',Gt="<!--$!-->",gr="<!--/$-->",Cr="<template",dr='"',Tr=' data-dgst="',Jr=' data-msg="',In=' data-stck="',Vr="></template>";function Br(s,c){return m(s,ae)}function Qr(s,c,h){if(g(s,qe),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return g(s,h),m(s,Xt)}function ci(s,c,h,y,D){var F;return F=m(s,Gt),g(s,Cr),h&&(g(s,Tr),g(s,$t(h)),g(s,dr)),y&&(g(s,Jr),g(s,$t(y)),g(s,dr)),D&&(g(s,In),g(s,$t(D)),g(s,dr)),F=m(s,Vr),F}function gi(s,c){return m(s,gr)}function qn(s,c){return m(s,gr)}function xo(s,c){return m(s,gr)}var Ui='<div hidden id="',an='">',ps="</div>",zn='<svg aria-hidden="true" style="display:none" id="',fl='">',Ta="</svg>",Wi='<math aria-hidden="true" style="display:none" id="',So='">',$n="</math>",Kr='<table hidden id="',Ai='">',Ea="</table>",dl='<table hidden><tbody id="',$o='">',hl="</tbody></table>",pl='<table hidden><tr id="',Gs='">',gs="</tr></table>",ms='<table hidden><colgroup id="',Co='">',gl="</colgroup></table>";function Zs(s,c,h,y){switch(h.insertionMode){case St:case jt:return g(s,Ui),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,an);case At:return g(s,zn),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,fl);case qt:return g(s,Wi),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,So);case ir:return g(s,Kr),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,Ai);case or:return g(s,dl),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,$o);case fr:return g(s,pl),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,Gs);case Ur:return g(s,ms),g(s,c.segmentPrefix),g(s,y.toString(16)),m(s,Co);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function ka(s,c){switch(c.insertionMode){case St:case jt:return m(s,ps);case At:return m(s,Ta);case qt:return m(s,$n);case ir:return m(s,Ea);case or:return m(s,hl);case fr:return m(s,gs);case Ur:return m(s,gl);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var T="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)}",P='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()}}',$='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())}',ee=T+';$RS("',Re='$RS("',Ce='","',Xe='")<\/script>';function vt(s,c,h){g(s,c.startInlineScript),c.sentCompleteSegmentFunction?g(s,Re):(c.sentCompleteSegmentFunction=!0,g(s,ee)),g(s,c.segmentPrefix);var y=h.toString(16);return g(s,y),g(s,Ce),g(s,c.placeholderPrefix),g(s,y),m(s,Xe)}var Vt=P+';$RC("',hr='$RC("',ar='","',Gr='")<\/script>';function ni(s,c,h,y){if(g(s,c.startInlineScript),c.sentCompleteBoundaryFunction?g(s,hr):(c.sentCompleteBoundaryFunction=!0,g(s,Vt)),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var D=y.toString(16);return g(s,h),g(s,ar),g(s,c.segmentPrefix),g(s,D),m(s,Gr)}var Ti=$+';$RX("',Ei='$RX("',Ks='"',ml=")<\/script>",vs=",";function Ys(s,c,h,y,D,F){if(g(s,c.startInlineScript),c.sentClientRenderFunction?g(s,Ei):(c.sentClientRenderFunction=!0,g(s,Ti)),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return g(s,h),g(s,Ks),(y||D||F)&&(g(s,vs),g(s,sc(y||""))),(D||F)&&(g(s,vs),g(s,sc(D||""))),F&&(g(s,vs),g(s,sc(F))),m(s,ml)}var of=/[<\u2028\u2029]/g;function sc(s){var c=JSON.stringify(s);return c.replace(of,function(h){switch(h){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 ac(s,c){var h=Ze(c);return{bootstrapChunks:h.bootstrapChunks,startInlineScript:h.startInlineScript,placeholderPrefix:h.placeholderPrefix,segmentPrefix:h.segmentPrefix,boundaryPrefix:h.boundaryPrefix,idPrefix:h.idPrefix,nextSuspenseID:h.nextSuspenseID,sentCompleteSegmentFunction:h.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:h.sentCompleteBoundaryFunction,sentClientRenderFunction:h.sentClientRenderFunction,generateStaticMarkup:s}}function su(){return{insertionMode:jt,selectedValue:null}}function wo(s,c,h,y){return h.generateStaticMarkup?(s.push($t(c)),!1):Xn(s,c,h,y)}function Ra(s,c,h,y){if(!c.generateStaticMarkup)return Jn(s,c,h,y)}function sf(s,c){return c.generateStaticMarkup?!0:Br(s)}function af(s,c,h,y,D){return c.generateStaticMarkup?!0:ci(s,c,h,y,D)}function lf(s,c){return c.generateStaticMarkup?!0:gi(s)}function Xs(s,c){return c.generateStaticMarkup?!0:xo(s)}var fn=Object.assign,au=Symbol.for("react.element"),lu=Symbol.for("react.portal"),vl=Symbol.for("react.fragment"),ki=Symbol.for("react.strict_mode"),cu=Symbol.for("react.profiler"),yl=Symbol.for("react.provider"),Ao=Symbol.for("react.context"),ve=Symbol.for("react.forward_ref"),Ve=Symbol.for("react.suspense"),Oe=Symbol.for("react.suspense_list"),Pt=Symbol.for("react.memo"),sr=Symbol.for("react.lazy"),Pr=Symbol.for("react.scope"),bn=Symbol.for("react.debug_trace_mode"),Wr=Symbol.for("react.legacy_hidden"),Js=Symbol.for("react.default_value"),uu=Symbol.iterator,Bi="@@iterator";function bl(s){if(s===null||typeof s!="object")return null;var c=uu&&s[uu]||s[Bi];return typeof c=="function"?c:null}function cf(s,c,h){var y=s.displayName;if(y)return y;var D=c.displayName||c.name||"";return D!==""?h+"("+D+")":h}function Uo(s){return s.displayName||"Context"}function en(s){if(s==null)return null;if(typeof s.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case vl:return"Fragment";case lu:return"Portal";case cu:return"Profiler";case ki:return"StrictMode";case Ve:return"Suspense";case Oe:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case Ao:var c=s;return Uo(c)+".Consumer";case yl:var h=s;return Uo(h._context)+".Provider";case ve:return cf(s,s.render,"ForwardRef");case Pt:var y=s.displayName||null;return y!==null?y:en(s.type)||"Memo";case sr:{var D=s,F=D._payload,W=D._init;try{return en(W(F))}catch{return null}}}return null}var Wo=0,zr,lc,ln,To,cc,uc,fc;function Qs(){}Qs.__reactDisabledLog=!0;function Eo(){{if(Wo===0){zr=console.log,lc=console.info,ln=console.warn,To=console.error,cc=console.group,uc=console.groupCollapsed,fc=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Qs,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Wo++}}function Ia(){{if(Wo--,Wo===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:fn({},s,{value:zr}),info:fn({},s,{value:lc}),warn:fn({},s,{value:ln}),error:fn({},s,{value:To}),group:fn({},s,{value:cc}),groupCollapsed:fn({},s,{value:uc}),groupEnd:fn({},s,{value:fc})})}Wo<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var La=t.ReactCurrentDispatcher,ys;function ea(s,c,h){{if(ys===void 0)try{throw Error()}catch(D){var y=D.stack.trim().match(/\n( *(at )?)/);ys=y&&y[1]||""}return`
|
91
91
|
`+ys+s}}var _l=!1,ko;{var xl=typeof WeakMap=="function"?WeakMap:Map;ko=new xl}function Vi(s,c){if(!s||_l)return"";{var h=ko.get(s);if(h!==void 0)return h}var y;_l=!0;var D=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var F;F=La.current,La.current=null,Eo();try{if(c){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(Wn){y=Wn}Reflect.construct(s,[],W)}else{try{W.call()}catch(Wn){y=Wn}s.call(W.prototype)}}else{try{throw Error()}catch(Wn){y=Wn}s()}}catch(Wn){if(Wn&&y&&typeof Wn.stack=="string"){for(var ie=Wn.stack.split(`
|
92
92
|
`),Se=y.stack.split(`
|
93
93
|
`),Je=ie.length-1,lt=Se.length-1;Je>=1&<>=0&&ie[Je]!==Se[lt];)lt--;for(;Je>=1&<>=0;Je--,lt--)if(ie[Je]!==Se[lt]){if(Je!==1||lt!==1)do if(Je--,lt--,lt<0||ie[Je]!==Se[lt]){var Rt=`
|
94
|
-
`+ie[Je].replace(" at new "," at ");return s.displayName&&Rt.includes("<anonymous>")&&(Rt=Rt.replace("<anonymous>",s.displayName)),typeof s=="function"&&ko.set(s,Rt),Rt}while(Je>=1&<>=0);break}}}finally{_l=!1,La.current=F,Ia(),Error.prepareStackTrace=D}var tr=s?s.displayName||s.name:"",Dr=tr?ea(tr):"";return typeof s=="function"&&ko.set(s,Dr),Dr}function Ro(s,c,h){return Vi(s,!0)}function Vo(s,c,h){return Vi(s,!1)}function uf(s){var c=s.prototype;return!!(c&&c.isReactComponent)}function Ma(s,c,h){if(s==null)return"";if(typeof s=="function")return Vi(s,uf(s));if(typeof s=="string")return ea(s);switch(s){case Ve:return ea("Suspense");case
|
94
|
+
`+ie[Je].replace(" at new "," at ");return s.displayName&&Rt.includes("<anonymous>")&&(Rt=Rt.replace("<anonymous>",s.displayName)),typeof s=="function"&&ko.set(s,Rt),Rt}while(Je>=1&<>=0);break}}}finally{_l=!1,La.current=F,Ia(),Error.prepareStackTrace=D}var tr=s?s.displayName||s.name:"",Dr=tr?ea(tr):"";return typeof s=="function"&&ko.set(s,Dr),Dr}function Ro(s,c,h){return Vi(s,!0)}function Vo(s,c,h){return Vi(s,!1)}function uf(s){var c=s.prototype;return!!(c&&c.isReactComponent)}function Ma(s,c,h){if(s==null)return"";if(typeof s=="function")return Vi(s,uf(s));if(typeof s=="string")return ea(s);switch(s){case Ve:return ea("Suspense");case Oe:return ea("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case ve:return Vo(s.render);case Pt:return Ma(s.type,c,h);case sr:{var y=s,D=y._payload,F=y._init;try{return Ma(F(D),c,h)}catch{}}}return""}var fu={},ta=t.ReactDebugCurrentFrame;function bs(s){if(s){var c=s._owner,h=Ma(s.type,s._source,c?c.type:null);ta.setExtraStackFrame(h)}else ta.setExtraStackFrame(null)}function ra(s,c,h,y,D){{var F=Function.call.bind(H);for(var W in s)if(F(s,W)){var ie=void 0;try{if(typeof s[W]!="function"){var Se=Error((y||"React class")+": "+h+" type `"+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[W]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Se.name="Invariant Violation",Se}ie=s[W](c,W,y,h,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Je){ie=Je}ie&&!(ie instanceof Error)&&(bs(D),i("%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).",y||"React class",h,W,typeof ie),bs(null)),ie instanceof Error&&!(ie.message in fu)&&(fu[ie.message]=!0,bs(D),i("Failed %s type: %s",h,ie.message),bs(null))}}}var Sl;Sl={};var na={};Object.freeze(na);function Da(s,c){{var h=s.contextTypes;if(!h)return na;var y={};for(var D in h)y[D]=c[D];{var F=en(s)||"Unknown";ra(h,y,"context",F)}return y}}function du(s,c,h,y){{if(typeof s.getChildContext!="function"){{var D=en(c)||"Unknown";Sl[D]||(Sl[D]=!0,i("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",D,D))}return h}var F=s.getChildContext();for(var W in F)if(!(W in y))throw new Error((en(c)||"Unknown")+'.getChildContext(): key "'+W+'" is not defined in childContextTypes.');{var ie=en(c)||"Unknown";ra(y,F,"child context",ie)}return fn({},h,F)}}var cn;cn={};var Ln=null,Go=null;function dc(s){s.context._currentValue2=s.parentValue}function Zo(s){s.context._currentValue2=s.value}function Cl(s,c){if(s!==c){dc(s);var h=s.parent,y=c.parent;if(h===null){if(y!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(y===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Cl(h,y)}Zo(c)}}function io(s){dc(s);var c=s.parent;c!==null&&io(c)}function Ko(s){var c=s.parent;c!==null&&Ko(c),Zo(s)}function ia(s,c){dc(s);var h=s.parent;if(h===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");h.depth===c.depth?Cl(h,c):ia(h,c)}function oo(s,c){var h=c.parent;if(h===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===h.depth?Cl(s,h):oo(s,h),Zo(c)}function Io(s){var c=Go,h=s;c!==h&&(c===null?Ko(h):h===null?io(c):c.depth===h.depth?Cl(c,h):c.depth>h.depth?ia(c,h):oo(c,h),Go=h)}function oa(s,c){var h;h=s._currentValue2,s._currentValue2=c,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==cn&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=cn;var y=Go,D={parent:y,depth:y===null?0:y.depth+1,context:s,parentValue:h,value:c};return Go=D,D}function Oa(s){var c=Go;if(c===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");c.context!==s&&i("The parent context is not the expected context. This is probably a bug in React.");{var h=c.parentValue;h===Js?c.context._currentValue2=c.context._defaultValue:c.context._currentValue2=h,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==cn&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=cn}return Go=c.parent}function _s(){return Go}function Yo(s){var c=s._currentValue2;return c}function hc(s){return s._reactInternals}function ff(s,c){s._reactInternals=c}var hu={},sa={},Xo,xs,Pa,U,Lo,Mo,ii,br,wl;{Xo=new Set,xs=new Set,Pa=new Set,ii=new Set,U=new Set,br=new Set,wl=new Set;var Na=new Set;Mo=function(s,c){if(!(s===null||typeof s=="function")){var h=c+"_"+s;Na.has(h)||(Na.add(h),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c,s))}},Lo=function(s,c){if(c===void 0){var h=en(s)||"Component";U.has(h)||(U.add(h),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",h))}}}function Al(s,c){{var h=s.constructor,y=h&&en(h)||"ReactClass",D=y+"."+c;if(hu[D])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
95
95
|
|
96
96
|
Please check the code for the %s component.`,c,c,y),hu[D]=!0}}var so={isMounted:function(s){return!1},enqueueSetState:function(s,c,h){var y=hc(s);y.queue===null?Al(s,"setState"):(y.queue.push(c),h!=null&&Mo(h,"setState"))},enqueueReplaceState:function(s,c,h){var y=hc(s);y.replace=!0,y.queue=[c],h!=null&&Mo(h,"setState")},enqueueForceUpdate:function(s,c){var h=hc(s);h.queue===null?Al(s,"forceUpdate"):c!=null&&Mo(c,"setState")}};function pc(s,c,h,y,D){var F=h(D,y);Lo(c,F);var W=F==null?y:fn({},y,F);return W}function pu(s,c,h){var y=na,D=s.contextType;if("contextType"in s){var F=D===null||D!==void 0&&D.$$typeof===Ao&&D._context===void 0;if(!F&&!wl.has(s)){wl.add(s);var W="";D===void 0?W=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof D!="object"?W=" However, it is set to a "+typeof D+".":D.$$typeof===yl?W=" Did you accidentally pass the Context.Provider instead?":D._context!==void 0?W=" Did you accidentally pass the Context.Consumer instead?":W=" However, it is set to an object with keys {"+Object.keys(D).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",en(s)||"Component",W)}}typeof D=="object"&&D!==null?y=Yo(D):y=h;var ie=new s(c,y);{if(typeof s.getDerivedStateFromProps=="function"&&(ie.state===null||ie.state===void 0)){var Se=en(s)||"Component";Xo.has(Se)||(Xo.add(Se),i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Se,ie.state===null?"null":"undefined",Se))}if(typeof s.getDerivedStateFromProps=="function"||typeof ie.getSnapshotBeforeUpdate=="function"){var Je=null,lt=null,Rt=null;if(typeof ie.componentWillMount=="function"&&ie.componentWillMount.__suppressDeprecationWarning!==!0?Je="componentWillMount":typeof ie.UNSAFE_componentWillMount=="function"&&(Je="UNSAFE_componentWillMount"),typeof ie.componentWillReceiveProps=="function"&&ie.componentWillReceiveProps.__suppressDeprecationWarning!==!0?lt="componentWillReceiveProps":typeof ie.UNSAFE_componentWillReceiveProps=="function"&&(lt="UNSAFE_componentWillReceiveProps"),typeof ie.componentWillUpdate=="function"&&ie.componentWillUpdate.__suppressDeprecationWarning!==!0?Rt="componentWillUpdate":typeof ie.UNSAFE_componentWillUpdate=="function"&&(Rt="UNSAFE_componentWillUpdate"),Je!==null||lt!==null||Rt!==null){var tr=en(s)||"Component",Dr=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Pa.has(tr)||(Pa.add(tr),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
97
97
|
|
@@ -114,7 +114,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
114
114
|
Previous: %s
|
115
115
|
Incoming: %s`,Ii,"["+s.join(", ")+"]","["+c.join(", ")+"]");for(var h=0;h<c.length&&h<s.length;h++)if(!yf(s[h],c[h]))return!1;return!0}function fi(){if(Jo>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Gi(){return Rr===null?El===null?(Ri=!1,El=Rr=fi()):(Ri=!0,Rr=El):Rr.next===null?(Ri=!1,Rr=Rr.next=fi()):(Ri=!0,Rr=Rr.next),Rr}function Cs(s,c){ui=c,vc=s,mi=!1,Ss=0}function vu(s,c,h,y){for(;aa;)aa=!1,Ss=0,Jo+=1,Rr=null,h=s(c,y);return Li(),h}function bc(){var s=Ss!==0;return s}function Li(){mi=!1,ui=null,vc=null,aa=!1,El=null,Jo=0,Nr=null,Rr=null}function _c(s){return mi&&i("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()."),Yo(s)}function ws(s){return Ii="useContext",lo(),Yo(s)}function di(s,c){return typeof c=="function"?c(s):c}function xc(s){return Ii="useState",Sc(di,s)}function Sc(s,c,h){if(s!==di&&(Ii="useReducer"),ui=lo(),Rr=Gi(),Ri){var y=Rr.queue,D=y.dispatch;if(Nr!==null){var F=Nr.get(y);if(F!==void 0){Nr.delete(y);var W=Rr.memoizedState,ie=F;do{var Se=ie.action;mi=!0,W=s(W,Se),mi=!1,ie=ie.next}while(ie!==null);return Rr.memoizedState=W,[W,D]}}return[Rr.memoizedState,D]}else{mi=!0;var Je;s===di?Je=typeof c=="function"?c():c:Je=h!==void 0?h(c):c,mi=!1,Rr.memoizedState=Je;var lt=Rr.queue={last:null,dispatch:null},Rt=lt.dispatch=wc.bind(null,ui,lt);return[Rr.memoizedState,Rt]}}function Cc(s,c){ui=lo(),Rr=Gi();var h=c===void 0?null:c;if(Rr!==null){var y=Rr.memoizedState;if(y!==null&&h!==null){var D=y[1];if(yc(h,D))return y[0]}}mi=!0;var F=s();return mi=!1,Rr.memoizedState=[F,h],F}function As(s){ui=lo(),Rr=Gi();var c=Rr.memoizedState;if(c===null){var h={current:s};return Object.seal(h),Rr.memoizedState=h,h}else return c}function Qo(s,c){Ii="useLayoutEffect",i("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 wc(s,c,h){if(Jo>=ja)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s===ui){aa=!0;var y={action:h,next:null};Nr===null&&(Nr=new Map);var D=Nr.get(c);if(D===void 0)Nr.set(c,y);else{for(var F=D;F.next!==null;)F=F.next;F.next=y}}}function yu(s,c){return Cc(function(){return s},c)}function kl(s,c,h){return lo(),c(s._source)}function bf(s,c,h){if(h===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return h()}function bu(s){return lo(),s}function Un(){throw new Error("startTransition cannot be called during server rendering.")}function Ac(){return lo(),[!1,Un]}function _u(){var s=vc,c=pf(s.treeContext),h=la;if(h===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var y=Ss++;return Yr(h,c,y)}function Mi(){}var Rl={readContext:_c,useContext:ws,useMemo:Cc,useReducer:Sc,useRef:As,useState:xc,useInsertionEffect:Mi,useLayoutEffect:Qo,useCallback:yu,useImperativeHandle:Mi,useEffect:Mi,useDebugValue:Mi,useDeferredValue:bu,useTransition:Ac,useId:_u,useMutableSource:kl,useSyncExternalStore:bf},la=null;function es(s){la=s}function Ba(s){try{var c="",h=s;do{switch(h.tag){case 0:c+=ea(h.type,null,null);break;case 1:c+=Vo(h.type,null,null);break;case 2:c+=Ro(h.type,null,null);break}h=h.parent}while(h);return c}catch(y){return`
|
116
116
|
Error generating stack: `+y.message+`
|
117
|
-
`+y.stack}}var Pn=t.ReactCurrentDispatcher,Ts=t.ReactDebugCurrentFrame,Il=0,ca=1,Ll=2,ua=3,Ml=4,co=0,Dl=1,Es=2,xu=12800;function Ha(s){return console.error(s),null}function fa(){}function da(s,c,h,y,D,F,W,ie,Se){var Je=[],lt=new Set,Rt={destination:null,responseState:c,progressiveChunkSize:y===void 0?xu:y,status:co,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:lt,pingedTasks:Je,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:D===void 0?Ha:D,onAllReady:fa,onShellReady:W===void 0?fa:W,onShellError:fa,onFatalError:fa},tr=Ol(Rt,0,null,h,!1,!1);tr.parentFlushed=!0;var Dr=ks(Rt,s,null,tr,lt,na,Ln,hf);return Je.push(Dr),Rt}function Tc(s,c){var h=s.pingedTasks;h.push(c),h.length===1&&u(function(){return fo(s)})}function Su(s,c){return{id:Cn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c,errorDigest:null}}function ks(s,c,h,y,D,F,W,ie){s.allPendingTasks++,h===null?s.pendingRootTasks++:h.pendingTasks++;var Se={node:c,ping:function(){return Tc(s,Se)},blockedBoundary:h,blockedSegment:y,abortSet:D,legacyContext:F,context:W,treeContext:ie};return Se.componentStack=null,D.add(Se),Se}function Ol(s,c,h,y,D,F){return{status:Il,id:-1,index:c,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:h,lastPushedText:D,textEmbedded:F}}var Oo=null;function Pl(){return Oo===null||Oo.componentStack===null?"":Ba(Oo.componentStack)}function Po(s,c){s.componentStack={tag:0,parent:s.componentStack,type:c}}function qa(s,c){s.componentStack={tag:1,parent:s.componentStack,type:c}}function Zi(s,c){s.componentStack={tag:2,parent:s.componentStack,type:c}}function Ki(s){s.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var uo=null;function za(s,c){{var h;typeof c=="string"?h=c:c&&typeof c.message=="string"?h=c.message:h=String(c);var y=uo||Pl();uo=null,s.errorMessage=h,s.errorComponentStack=y}}function ts(s,c){var h=s.onError(c);if(h!=null&&typeof h!="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 h+'" instead');return h}function Yi(s,c){var h=s.onShellError;h(c);var y=s.onFatalError;y(c),s.destination!==null?(s.status=Es,_(s.destination,c)):(s.status=Dl,s.fatalError=c)}function ha(s,c,h){Po(c,"Suspense");var y=c.blockedBoundary,D=c.blockedSegment,F=h.fallback,W=h.children,ie=new Set,Se=Su(s,ie),Je=D.chunks.length,lt=Ol(s,Je,Se,D.formatContext,!1,!1);D.children.push(lt),D.lastPushedText=!1;var Rt=Ol(s,0,null,D.formatContext,!1,!1);Rt.parentFlushed=!0,c.blockedBoundary=Se,c.blockedSegment=Rt;try{if(oi(s,c,W),Ra(Rt.chunks,s.responseState,Rt.lastPushedText,Rt.textEmbedded),Rt.status=ca,rs(Se,Rt),Se.pendingTasks===0){Ki(c);return}}catch(Dr){Rt.status=Ml,Se.forceClientRender=!0,Se.errorDigest=ts(s,Dr),za(Se,Dr)}finally{c.blockedBoundary=y,c.blockedSegment=D}var tr=ks(s,F,y,lt,ie,c.legacyContext,c.context,c.treeContext);tr.componentStack=c.componentStack,s.pingedTasks.push(tr),Ki(c)}function Nl(s,c,h,y){Po(c,h);var D=c.blockedSegment,F=ti(D.chunks,h,y,s.responseState,D.formatContext);D.lastPushedText=!1;var W=D.formatContext;D.formatContext=Kn(W,h,y),oi(s,c,F),D.formatContext=W,Or(D.chunks,h),D.lastPushedText=!1,Ki(c)}function $a(s){return s.prototype&&s.prototype.isReactComponent}function pa(s,c,h,y,D){var F={};Cs(c,F);var W=h(y,D);return vu(h,y,W,D)}function Cu(s,c,h,y,D){var F=h.render();h.props!==D&&(mr||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",en(y)||"a component"),mr=!0);{var W=y.childContextTypes;if(W!=null){var ie=c.legacyContext,Se=du(h,y,ie,W);c.legacyContext=Se,Tn(s,c,F),c.legacyContext=ie;return}}Tn(s,c,F)}function Ec(s,c,h,y){Zi(c,h);var D=Da(h,c.legacyContext),F=pu(h,y,D);ao(F,h,y,D),Cu(s,c,F,h,y),Ki(c)}var kc={},Rs={},Rc={},Fl={},mr=!1,Ua=!1,Ic=!1,Is=!1;function Lc(s,c,h,y){var D;if(D=Da(h,c.legacyContext),qa(c,h),h.prototype&&typeof h.prototype.render=="function"){var F=en(h)||"Unknown";kc[F]||(i("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.",F,F),kc[F]=!0)}var W=pa(s,c,h,y,D),ie=bc();if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){var Se=en(h)||"Unknown";Rs[Se]||(i("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.",Se,Se,Se),Rs[Se]=!0)}if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){{var Je=en(h)||"Unknown";Rs[Je]||(i("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.",Je,Je,Je),Rs[Je]=!0)}ao(W,h,y,D),Cu(s,c,W,h,y)}else if(wu(h),ie){var lt=c.treeContext,Rt=1,tr=0;c.treeContext=gc(lt,Rt,tr);try{Tn(s,c,W)}finally{c.treeContext=lt}}else Tn(s,c,W);Ki(c)}function wu(s){{if(s&&s.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var c=en(s)||"Unknown";Fl[c]||(i("%s: Function components do not support getDerivedStateFromProps.",c),Fl[c]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var h=en(s)||"Unknown";Rc[h]||(i("%s: Function components do not support contextType.",h),Rc[h]=!0)}}}function Mc(s,c){if(s&&s.defaultProps){var h=fn({},c),y=s.defaultProps;for(var D in y)h[D]===void 0&&(h[D]=y[D]);return h}return c}function Di(s,c,h,y,D){qa(c,h.render);var F=pa(s,c,h.render,y,D),W=bc();if(W){var ie=c.treeContext,Se=1,Je=0;c.treeContext=gc(ie,Se,Je);try{Tn(s,c,F)}finally{c.treeContext=ie}}else Tn(s,c,F);Ki(c)}function _f(s,c,h,y,D){var F=h.type,W=Mc(F,y);Hl(s,c,F,W,D)}function jl(s,c,h,y){h._context===void 0?h!==h.Consumer&&(Is||(Is=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):h=h._context;var D=y.children;typeof D!="function"&&i("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 F=Yo(h),W=D(F);Tn(s,c,W)}function Bl(s,c,h,y){var D=h._context,F=y.value,W=y.children,ie;ie=c.context,c.context=oa(D,F),Tn(s,c,W),c.context=Oa(D),ie!==c.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Au(s,c,h,y,D){Po(c,"Lazy");var F=h._payload,W=h._init,ie=W(F),Se=Mc(ie,y);Hl(s,c,ie,Se,D),Ki(c)}function Hl(s,c,h,y,D){if(typeof h=="function")if($a(h)){Ec(s,c,h,y);return}else{Lc(s,c,h,y);return}if(typeof h=="string"){Nl(s,c,h,y);return}switch(h){case Wr:case bn:case ki:case cu:case vl:{Tn(s,c,y.children);return}case Pe:{Po(c,"SuspenseList"),Tn(s,c,y.children),Ki(c);return}case Pr:throw new Error("ReactDOMServer does not yet support scope components.");case Ve:{ha(s,c,y);return}}if(typeof h=="object"&&h!==null)switch(h.$$typeof){case ve:{Di(s,c,h,y,D);return}case Pt:{_f(s,c,h,y,D);return}case yl:{Bl(s,c,h,y);return}case Ao:{jl(s,c,h,y);return}case sr:{Au(s,c,h,y);return}}var F="";throw(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(F+=" 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: "+(h==null?h:typeof h)+"."+F))}function Oi(s,c){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(Ua||i("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."),Ua=!0),s.entries===c&&(Ic||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ic=!0)}function Tn(s,c,h){try{return Dc(s,c,h)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(uo=uo!==null?uo:Pl()),y}}function Dc(s,c,h){if(c.node=h,typeof h=="object"&&h!==null){switch(h.$$typeof){case au:{var y=h,D=y.type,F=y.props,W=y.ref;Hl(s,c,D,F,W);return}case lu: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 sr:{var ie=h,Se=ie._payload,Je=ie._init,lt;try{lt=Je(Se)}catch(os){throw typeof os=="object"&&os!==null&&typeof os.then=="function"&&Po(c,"Lazy"),os}Tn(s,c,lt);return}}if(Ue(h)){Wa(s,c,h);return}var Rt=bl(h);if(Rt){Oi(h,Rt);var tr=Rt.call(h);if(tr){var Dr=tr.next();if(!Dr.done){var Wn=[];do Wn.push(Dr.value),Dr=tr.next();while(!Dr.done);Wa(s,c,Wn);return}return}}var is=Object.prototype.toString.call(h);throw new Error("Objects are not valid as a React child (found: "+(is==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":is)+"). If you meant to render a collection of children, use an array instead.")}if(typeof h=="string"){var ho=c.blockedSegment;ho.lastPushedText=wo(c.blockedSegment.chunks,h,s.responseState,ho.lastPushedText);return}if(typeof h=="number"){var po=c.blockedSegment;po.lastPushedText=wo(c.blockedSegment.chunks,""+h,s.responseState,po.lastPushedText);return}typeof h=="function"&&i("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 Wa(s,c,h){for(var y=h.length,D=0;D<y;D++){var F=c.treeContext;c.treeContext=gc(F,y,D);try{oi(s,c,h[D])}finally{c.treeContext=F}}}function ql(s,c,h){var y=c.blockedSegment,D=y.chunks.length,F=Ol(s,D,null,y.formatContext,y.lastPushedText,!0);y.children.push(F),y.lastPushedText=!1;var W=ks(s,c.node,c.blockedBoundary,F,c.abortSet,c.legacyContext,c.context,c.treeContext);c.componentStack!==null&&(W.componentStack=c.componentStack.parent);var ie=W.ping;h.then(ie,ie)}function oi(s,c,h){var y=c.blockedSegment.formatContext,D=c.legacyContext,F=c.context,W=null;W=c.componentStack;try{return Tn(s,c,h)}catch(ie){if(Li(),typeof ie=="object"&&ie!==null&&typeof ie.then=="function"){ql(s,c,ie),c.blockedSegment.formatContext=y,c.legacyContext=D,c.context=F,Io(F),c.componentStack=W;return}else throw c.blockedSegment.formatContext=y,c.legacyContext=D,c.context=F,Io(F),c.componentStack=W,ie}}function Oc(s,c,h,y){var D=ts(s,y);if(c===null?Yi(s,y):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=D,za(c,y),c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function Pc(s){var c=this,h=s.blockedBoundary,y=s.blockedSegment;y.status=ua,No(c,h,y)}function zl(s,c,h){var y=s.blockedBoundary,D=s.blockedSegment;if(D.status=ua,y===null)c.allPendingTasks--,c.status!==Es&&(c.status=Es,c.destination!==null&&w(c.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var F=h===void 0?new Error("The render was aborted by the server without a reason."):h;y.errorDigest=c.onError(F);{var W="The server did not finish this Suspense boundary: ";F&&typeof F.message=="string"?F=W+F.message:F=W+String(F);var ie=Oo;Oo=s;try{za(y,F)}finally{Oo=ie}}y.parentFlushed&&c.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(Je){return zl(Je,c,h)}),y.fallbackAbortableTasks.clear(),c.allPendingTasks--,c.allPendingTasks===0){var Se=c.onAllReady;Se()}}}function rs(s,c){if(c.chunks.length===0&&c.children.length===1&&c.children[0].boundary===null){var h=c.children[0];h.id=c.id,h.parentFlushed=!0,h.status===ca&&rs(s,h)}else{var y=s.completedSegments;y.push(c)}}function No(s,c,h){if(c===null){if(h.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=h}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=fa;var y=s.onShellReady;y()}}else if(c.pendingTasks--,!c.forceClientRender){if(c.pendingTasks===0)h.parentFlushed&&h.status===ca&&rs(c,h),c.parentFlushed&&s.completedBoundaries.push(c),c.fallbackAbortableTasks.forEach(Pc,s),c.fallbackAbortableTasks.clear();else if(h.parentFlushed&&h.status===ca){rs(c,h);var D=c.completedSegments;D.length===1&&c.parentFlushed&&s.partialBoundaries.push(c)}}if(s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function xf(s,c){var h=c.blockedSegment;if(h.status===Il){Io(c.context);var y=null;y=Oo,Oo=c;try{Tn(s,c,c.node),Ra(h.chunks,s.responseState,h.lastPushedText,h.textEmbedded),c.abortSet.delete(c),h.status=ca,No(s,c.blockedBoundary,h)}catch(F){if(Li(),typeof F=="object"&&F!==null&&typeof F.then=="function"){var D=c.ping;F.then(D,D)}else c.abortSet.delete(c),h.status=Ml,Oc(s,c.blockedBoundary,h,F)}finally{Oo=y}}}function fo(s){if(s.status!==Es){var c=_s(),h=Pn.current;Pn.current=Rl;var y;y=Ts.getCurrentStack,Ts.getCurrentStack=Pl;var D=la;es(s.responseState);try{var F=s.pingedTasks,W;for(W=0;W<F.length;W++){var ie=F[W];xf(s,ie)}F.splice(0,W),s.destination!==null&&Ga(s,s.destination)}catch(Se){ts(s,Se),Yi(s,Se)}finally{es(D),Pn.current=h,Ts.getCurrentStack=y,h===Rl&&Io(c)}}}function ns(s,c,h){switch(h.parentFlushed=!0,h.status){case Il:{var y=h.id=s.nextSegmentId++;return h.lastPushedText=!1,h.textEmbedded=!1,G(c,s.responseState,y)}case ca:{h.status=Ll;for(var D=!0,F=h.chunks,W=0,ie=h.children,Se=0;Se<ie.length;Se++){for(var Je=ie[Se];W<Je.index;W++)g(c,F[W]);D=ga(s,c,Je)}for(;W<F.length-1;W++)g(c,F[W]);return W<F.length&&(D=m(c,F[W])),D}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ga(s,c,h){var y=h.boundary;if(y===null)return ns(s,c,h);if(y.parentFlushed=!0,y.forceClientRender)return af(c,s.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),ns(s,c,h),Xs(c,s.responseState);if(y.pendingTasks>0){y.rootSegmentID=s.nextSegmentId++,y.completedSegments.length>0&&s.partialBoundaries.push(y);var D=y.id=Dn(s.responseState);return Qr(c,s.responseState,D),ns(s,c,h),qn(c,s.responseState)}else{if(y.byteSize>s.progressiveChunkSize)return y.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(y),Qr(c,s.responseState,y.id),ns(s,c,h),qn(c,s.responseState);sf(c,s.responseState);var F=y.completedSegments;if(F.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var W=F[0];return ga(s,c,W),lf(c,s.responseState)}}function Nc(s,c,h){return Ys(c,s.responseState,h.id,h.errorDigest,h.errorMessage,h.errorComponentStack)}function Fc(s,c,h){return Zs(c,s.responseState,h.formatContext,h.id),ga(s,c,h),ka(c,h.formatContext)}function Va(s,c,h){for(var y=h.completedSegments,D=0;D<y.length;D++){var F=y[D];jc(s,c,h,F)}return y.length=0,ni(c,s.responseState,h.id,h.rootSegmentID)}function $l(s,c,h){for(var y=h.completedSegments,D=0;D<y.length;D++){var F=y[D];if(!jc(s,c,h,F))return D++,y.splice(0,D),!1}return y.splice(0,D),!0}function jc(s,c,h,y){if(y.status===Ll)return!0;var D=y.id;if(D===-1){var F=y.id=h.rootSegmentID;if(F===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Fc(s,c,y)}else return Fc(s,c,y),mt(c,s.responseState,D)}function Ga(s,c){try{var h=s.completedRootSegment;h!==null&&s.pendingRootTasks===0&&(ga(s,c,h),s.completedRootSegment=null,Ar(c,s.responseState));var y=s.clientRenderedBoundaries,D;for(D=0;D<y.length;D++){var F=y[D];if(!Nc(s,c,F)){s.destination=null,D++,y.splice(0,D);return}}y.splice(0,D);var W=s.completedBoundaries;for(D=0;D<W.length;D++){var ie=W[D];if(!Va(s,c,ie)){s.destination=null,D++,W.splice(0,D);return}}W.splice(0,D);var Se=s.partialBoundaries;for(D=0;D<Se.length;D++){var Je=Se[D];if(!$l(s,c,Je)){s.destination=null,D++,Se.splice(0,D);return}}Se.splice(0,D);var lt=s.completedBoundaries;for(D=0;D<lt.length;D++){var Rt=lt[D];if(!Va(s,c,Rt)){s.destination=null,D++,lt.splice(0,D);return}}lt.splice(0,D)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),w(c))}}function Tu(s){u(function(){return fo(s)})}function Eu(s,c){if(s.status===Dl){s.status=Es,_(c,s.fatalError);return}if(s.status!==Es&&s.destination===null){s.destination=c;try{Ga(s,c)}catch(h){ts(s,h),Yi(s,h)}}}function Bc(s,c){try{var h=s.abortableTasks;h.forEach(function(y){return zl(y,s,c)}),h.clear(),s.destination!==null&&Ga(s,s.destination)}catch(y){ts(s,y),Yi(s,y)}}function si(){}function Xi(s,c,h,y){var D=!1,F=null,W="",ie={push:function(Rt){return Rt!==null&&(W+=Rt),!0},destroy:function(Rt){D=!0,F=Rt}},Se=!1;function Je(){Se=!0}var lt=da(s,ac(h,c?c.identifierPrefix:void 0),su(),1/0,si,void 0,Je);if(Tu(lt),Bc(lt,y),Eu(lt,ie),D)throw F;if(!Se)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 W}function Sf(s,c){return Xi(s,c,!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 ku(s,c){return Xi(s,c,!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 Ul(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function d(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Wc.renderToNodeStream=Ul,Wc.renderToStaticMarkup=ku,Wc.renderToStaticNodeStream=d,Wc.renderToString=Sf,Wc.version=e}()),Wc}var Ad={};/**
|
117
|
+
`+y.stack}}var Pn=t.ReactCurrentDispatcher,Ts=t.ReactDebugCurrentFrame,Il=0,ca=1,Ll=2,ua=3,Ml=4,co=0,Dl=1,Es=2,xu=12800;function Ha(s){return console.error(s),null}function fa(){}function da(s,c,h,y,D,F,W,ie,Se){var Je=[],lt=new Set,Rt={destination:null,responseState:c,progressiveChunkSize:y===void 0?xu:y,status:co,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:lt,pingedTasks:Je,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:D===void 0?Ha:D,onAllReady:fa,onShellReady:W===void 0?fa:W,onShellError:fa,onFatalError:fa},tr=Ol(Rt,0,null,h,!1,!1);tr.parentFlushed=!0;var Dr=ks(Rt,s,null,tr,lt,na,Ln,hf);return Je.push(Dr),Rt}function Tc(s,c){var h=s.pingedTasks;h.push(c),h.length===1&&u(function(){return fo(s)})}function Su(s,c){return{id:Cn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c,errorDigest:null}}function ks(s,c,h,y,D,F,W,ie){s.allPendingTasks++,h===null?s.pendingRootTasks++:h.pendingTasks++;var Se={node:c,ping:function(){return Tc(s,Se)},blockedBoundary:h,blockedSegment:y,abortSet:D,legacyContext:F,context:W,treeContext:ie};return Se.componentStack=null,D.add(Se),Se}function Ol(s,c,h,y,D,F){return{status:Il,id:-1,index:c,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:h,lastPushedText:D,textEmbedded:F}}var Oo=null;function Pl(){return Oo===null||Oo.componentStack===null?"":Ba(Oo.componentStack)}function Po(s,c){s.componentStack={tag:0,parent:s.componentStack,type:c}}function qa(s,c){s.componentStack={tag:1,parent:s.componentStack,type:c}}function Zi(s,c){s.componentStack={tag:2,parent:s.componentStack,type:c}}function Ki(s){s.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var uo=null;function za(s,c){{var h;typeof c=="string"?h=c:c&&typeof c.message=="string"?h=c.message:h=String(c);var y=uo||Pl();uo=null,s.errorMessage=h,s.errorComponentStack=y}}function ts(s,c){var h=s.onError(c);if(h!=null&&typeof h!="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 h+'" instead');return h}function Yi(s,c){var h=s.onShellError;h(c);var y=s.onFatalError;y(c),s.destination!==null?(s.status=Es,_(s.destination,c)):(s.status=Dl,s.fatalError=c)}function ha(s,c,h){Po(c,"Suspense");var y=c.blockedBoundary,D=c.blockedSegment,F=h.fallback,W=h.children,ie=new Set,Se=Su(s,ie),Je=D.chunks.length,lt=Ol(s,Je,Se,D.formatContext,!1,!1);D.children.push(lt),D.lastPushedText=!1;var Rt=Ol(s,0,null,D.formatContext,!1,!1);Rt.parentFlushed=!0,c.blockedBoundary=Se,c.blockedSegment=Rt;try{if(oi(s,c,W),Ra(Rt.chunks,s.responseState,Rt.lastPushedText,Rt.textEmbedded),Rt.status=ca,rs(Se,Rt),Se.pendingTasks===0){Ki(c);return}}catch(Dr){Rt.status=Ml,Se.forceClientRender=!0,Se.errorDigest=ts(s,Dr),za(Se,Dr)}finally{c.blockedBoundary=y,c.blockedSegment=D}var tr=ks(s,F,y,lt,ie,c.legacyContext,c.context,c.treeContext);tr.componentStack=c.componentStack,s.pingedTasks.push(tr),Ki(c)}function Nl(s,c,h,y){Po(c,h);var D=c.blockedSegment,F=ti(D.chunks,h,y,s.responseState,D.formatContext);D.lastPushedText=!1;var W=D.formatContext;D.formatContext=Kn(W,h,y),oi(s,c,F),D.formatContext=W,Or(D.chunks,h),D.lastPushedText=!1,Ki(c)}function $a(s){return s.prototype&&s.prototype.isReactComponent}function pa(s,c,h,y,D){var F={};Cs(c,F);var W=h(y,D);return vu(h,y,W,D)}function Cu(s,c,h,y,D){var F=h.render();h.props!==D&&(mr||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",en(y)||"a component"),mr=!0);{var W=y.childContextTypes;if(W!=null){var ie=c.legacyContext,Se=du(h,y,ie,W);c.legacyContext=Se,Tn(s,c,F),c.legacyContext=ie;return}}Tn(s,c,F)}function Ec(s,c,h,y){Zi(c,h);var D=Da(h,c.legacyContext),F=pu(h,y,D);ao(F,h,y,D),Cu(s,c,F,h,y),Ki(c)}var kc={},Rs={},Rc={},Fl={},mr=!1,Ua=!1,Ic=!1,Is=!1;function Lc(s,c,h,y){var D;if(D=Da(h,c.legacyContext),qa(c,h),h.prototype&&typeof h.prototype.render=="function"){var F=en(h)||"Unknown";kc[F]||(i("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.",F,F),kc[F]=!0)}var W=pa(s,c,h,y,D),ie=bc();if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){var Se=en(h)||"Unknown";Rs[Se]||(i("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.",Se,Se,Se),Rs[Se]=!0)}if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){{var Je=en(h)||"Unknown";Rs[Je]||(i("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.",Je,Je,Je),Rs[Je]=!0)}ao(W,h,y,D),Cu(s,c,W,h,y)}else if(wu(h),ie){var lt=c.treeContext,Rt=1,tr=0;c.treeContext=gc(lt,Rt,tr);try{Tn(s,c,W)}finally{c.treeContext=lt}}else Tn(s,c,W);Ki(c)}function wu(s){{if(s&&s.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var c=en(s)||"Unknown";Fl[c]||(i("%s: Function components do not support getDerivedStateFromProps.",c),Fl[c]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var h=en(s)||"Unknown";Rc[h]||(i("%s: Function components do not support contextType.",h),Rc[h]=!0)}}}function Mc(s,c){if(s&&s.defaultProps){var h=fn({},c),y=s.defaultProps;for(var D in y)h[D]===void 0&&(h[D]=y[D]);return h}return c}function Di(s,c,h,y,D){qa(c,h.render);var F=pa(s,c,h.render,y,D),W=bc();if(W){var ie=c.treeContext,Se=1,Je=0;c.treeContext=gc(ie,Se,Je);try{Tn(s,c,F)}finally{c.treeContext=ie}}else Tn(s,c,F);Ki(c)}function _f(s,c,h,y,D){var F=h.type,W=Mc(F,y);Hl(s,c,F,W,D)}function jl(s,c,h,y){h._context===void 0?h!==h.Consumer&&(Is||(Is=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):h=h._context;var D=y.children;typeof D!="function"&&i("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 F=Yo(h),W=D(F);Tn(s,c,W)}function Bl(s,c,h,y){var D=h._context,F=y.value,W=y.children,ie;ie=c.context,c.context=oa(D,F),Tn(s,c,W),c.context=Oa(D),ie!==c.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Au(s,c,h,y,D){Po(c,"Lazy");var F=h._payload,W=h._init,ie=W(F),Se=Mc(ie,y);Hl(s,c,ie,Se,D),Ki(c)}function Hl(s,c,h,y,D){if(typeof h=="function")if($a(h)){Ec(s,c,h,y);return}else{Lc(s,c,h,y);return}if(typeof h=="string"){Nl(s,c,h,y);return}switch(h){case Wr:case bn:case ki:case cu:case vl:{Tn(s,c,y.children);return}case Oe:{Po(c,"SuspenseList"),Tn(s,c,y.children),Ki(c);return}case Pr:throw new Error("ReactDOMServer does not yet support scope components.");case Ve:{ha(s,c,y);return}}if(typeof h=="object"&&h!==null)switch(h.$$typeof){case ve:{Di(s,c,h,y,D);return}case Pt:{_f(s,c,h,y,D);return}case yl:{Bl(s,c,h,y);return}case Ao:{jl(s,c,h,y);return}case sr:{Au(s,c,h,y);return}}var F="";throw(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(F+=" 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: "+(h==null?h:typeof h)+"."+F))}function Oi(s,c){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(Ua||i("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."),Ua=!0),s.entries===c&&(Ic||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ic=!0)}function Tn(s,c,h){try{return Dc(s,c,h)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(uo=uo!==null?uo:Pl()),y}}function Dc(s,c,h){if(c.node=h,typeof h=="object"&&h!==null){switch(h.$$typeof){case au:{var y=h,D=y.type,F=y.props,W=y.ref;Hl(s,c,D,F,W);return}case lu: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 sr:{var ie=h,Se=ie._payload,Je=ie._init,lt;try{lt=Je(Se)}catch(os){throw typeof os=="object"&&os!==null&&typeof os.then=="function"&&Po(c,"Lazy"),os}Tn(s,c,lt);return}}if(Ue(h)){Wa(s,c,h);return}var Rt=bl(h);if(Rt){Oi(h,Rt);var tr=Rt.call(h);if(tr){var Dr=tr.next();if(!Dr.done){var Wn=[];do Wn.push(Dr.value),Dr=tr.next();while(!Dr.done);Wa(s,c,Wn);return}return}}var is=Object.prototype.toString.call(h);throw new Error("Objects are not valid as a React child (found: "+(is==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":is)+"). If you meant to render a collection of children, use an array instead.")}if(typeof h=="string"){var ho=c.blockedSegment;ho.lastPushedText=wo(c.blockedSegment.chunks,h,s.responseState,ho.lastPushedText);return}if(typeof h=="number"){var po=c.blockedSegment;po.lastPushedText=wo(c.blockedSegment.chunks,""+h,s.responseState,po.lastPushedText);return}typeof h=="function"&&i("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 Wa(s,c,h){for(var y=h.length,D=0;D<y;D++){var F=c.treeContext;c.treeContext=gc(F,y,D);try{oi(s,c,h[D])}finally{c.treeContext=F}}}function ql(s,c,h){var y=c.blockedSegment,D=y.chunks.length,F=Ol(s,D,null,y.formatContext,y.lastPushedText,!0);y.children.push(F),y.lastPushedText=!1;var W=ks(s,c.node,c.blockedBoundary,F,c.abortSet,c.legacyContext,c.context,c.treeContext);c.componentStack!==null&&(W.componentStack=c.componentStack.parent);var ie=W.ping;h.then(ie,ie)}function oi(s,c,h){var y=c.blockedSegment.formatContext,D=c.legacyContext,F=c.context,W=null;W=c.componentStack;try{return Tn(s,c,h)}catch(ie){if(Li(),typeof ie=="object"&&ie!==null&&typeof ie.then=="function"){ql(s,c,ie),c.blockedSegment.formatContext=y,c.legacyContext=D,c.context=F,Io(F),c.componentStack=W;return}else throw c.blockedSegment.formatContext=y,c.legacyContext=D,c.context=F,Io(F),c.componentStack=W,ie}}function Oc(s,c,h,y){var D=ts(s,y);if(c===null?Yi(s,y):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=D,za(c,y),c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function Pc(s){var c=this,h=s.blockedBoundary,y=s.blockedSegment;y.status=ua,No(c,h,y)}function zl(s,c,h){var y=s.blockedBoundary,D=s.blockedSegment;if(D.status=ua,y===null)c.allPendingTasks--,c.status!==Es&&(c.status=Es,c.destination!==null&&w(c.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var F=h===void 0?new Error("The render was aborted by the server without a reason."):h;y.errorDigest=c.onError(F);{var W="The server did not finish this Suspense boundary: ";F&&typeof F.message=="string"?F=W+F.message:F=W+String(F);var ie=Oo;Oo=s;try{za(y,F)}finally{Oo=ie}}y.parentFlushed&&c.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(Je){return zl(Je,c,h)}),y.fallbackAbortableTasks.clear(),c.allPendingTasks--,c.allPendingTasks===0){var Se=c.onAllReady;Se()}}}function rs(s,c){if(c.chunks.length===0&&c.children.length===1&&c.children[0].boundary===null){var h=c.children[0];h.id=c.id,h.parentFlushed=!0,h.status===ca&&rs(s,h)}else{var y=s.completedSegments;y.push(c)}}function No(s,c,h){if(c===null){if(h.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=h}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=fa;var y=s.onShellReady;y()}}else if(c.pendingTasks--,!c.forceClientRender){if(c.pendingTasks===0)h.parentFlushed&&h.status===ca&&rs(c,h),c.parentFlushed&&s.completedBoundaries.push(c),c.fallbackAbortableTasks.forEach(Pc,s),c.fallbackAbortableTasks.clear();else if(h.parentFlushed&&h.status===ca){rs(c,h);var D=c.completedSegments;D.length===1&&c.parentFlushed&&s.partialBoundaries.push(c)}}if(s.allPendingTasks--,s.allPendingTasks===0){var F=s.onAllReady;F()}}function xf(s,c){var h=c.blockedSegment;if(h.status===Il){Io(c.context);var y=null;y=Oo,Oo=c;try{Tn(s,c,c.node),Ra(h.chunks,s.responseState,h.lastPushedText,h.textEmbedded),c.abortSet.delete(c),h.status=ca,No(s,c.blockedBoundary,h)}catch(F){if(Li(),typeof F=="object"&&F!==null&&typeof F.then=="function"){var D=c.ping;F.then(D,D)}else c.abortSet.delete(c),h.status=Ml,Oc(s,c.blockedBoundary,h,F)}finally{Oo=y}}}function fo(s){if(s.status!==Es){var c=_s(),h=Pn.current;Pn.current=Rl;var y;y=Ts.getCurrentStack,Ts.getCurrentStack=Pl;var D=la;es(s.responseState);try{var F=s.pingedTasks,W;for(W=0;W<F.length;W++){var ie=F[W];xf(s,ie)}F.splice(0,W),s.destination!==null&&Ga(s,s.destination)}catch(Se){ts(s,Se),Yi(s,Se)}finally{es(D),Pn.current=h,Ts.getCurrentStack=y,h===Rl&&Io(c)}}}function ns(s,c,h){switch(h.parentFlushed=!0,h.status){case Il:{var y=h.id=s.nextSegmentId++;return h.lastPushedText=!1,h.textEmbedded=!1,G(c,s.responseState,y)}case ca:{h.status=Ll;for(var D=!0,F=h.chunks,W=0,ie=h.children,Se=0;Se<ie.length;Se++){for(var Je=ie[Se];W<Je.index;W++)g(c,F[W]);D=ga(s,c,Je)}for(;W<F.length-1;W++)g(c,F[W]);return W<F.length&&(D=m(c,F[W])),D}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ga(s,c,h){var y=h.boundary;if(y===null)return ns(s,c,h);if(y.parentFlushed=!0,y.forceClientRender)return af(c,s.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),ns(s,c,h),Xs(c,s.responseState);if(y.pendingTasks>0){y.rootSegmentID=s.nextSegmentId++,y.completedSegments.length>0&&s.partialBoundaries.push(y);var D=y.id=Dn(s.responseState);return Qr(c,s.responseState,D),ns(s,c,h),qn(c,s.responseState)}else{if(y.byteSize>s.progressiveChunkSize)return y.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(y),Qr(c,s.responseState,y.id),ns(s,c,h),qn(c,s.responseState);sf(c,s.responseState);var F=y.completedSegments;if(F.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var W=F[0];return ga(s,c,W),lf(c,s.responseState)}}function Nc(s,c,h){return Ys(c,s.responseState,h.id,h.errorDigest,h.errorMessage,h.errorComponentStack)}function Fc(s,c,h){return Zs(c,s.responseState,h.formatContext,h.id),ga(s,c,h),ka(c,h.formatContext)}function Va(s,c,h){for(var y=h.completedSegments,D=0;D<y.length;D++){var F=y[D];jc(s,c,h,F)}return y.length=0,ni(c,s.responseState,h.id,h.rootSegmentID)}function $l(s,c,h){for(var y=h.completedSegments,D=0;D<y.length;D++){var F=y[D];if(!jc(s,c,h,F))return D++,y.splice(0,D),!1}return y.splice(0,D),!0}function jc(s,c,h,y){if(y.status===Ll)return!0;var D=y.id;if(D===-1){var F=y.id=h.rootSegmentID;if(F===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Fc(s,c,y)}else return Fc(s,c,y),vt(c,s.responseState,D)}function Ga(s,c){try{var h=s.completedRootSegment;h!==null&&s.pendingRootTasks===0&&(ga(s,c,h),s.completedRootSegment=null,Ar(c,s.responseState));var y=s.clientRenderedBoundaries,D;for(D=0;D<y.length;D++){var F=y[D];if(!Nc(s,c,F)){s.destination=null,D++,y.splice(0,D);return}}y.splice(0,D);var W=s.completedBoundaries;for(D=0;D<W.length;D++){var ie=W[D];if(!Va(s,c,ie)){s.destination=null,D++,W.splice(0,D);return}}W.splice(0,D);var Se=s.partialBoundaries;for(D=0;D<Se.length;D++){var Je=Se[D];if(!$l(s,c,Je)){s.destination=null,D++,Se.splice(0,D);return}}Se.splice(0,D);var lt=s.completedBoundaries;for(D=0;D<lt.length;D++){var Rt=lt[D];if(!Va(s,c,Rt)){s.destination=null,D++,lt.splice(0,D);return}}lt.splice(0,D)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),w(c))}}function Tu(s){u(function(){return fo(s)})}function Eu(s,c){if(s.status===Dl){s.status=Es,_(c,s.fatalError);return}if(s.status!==Es&&s.destination===null){s.destination=c;try{Ga(s,c)}catch(h){ts(s,h),Yi(s,h)}}}function Bc(s,c){try{var h=s.abortableTasks;h.forEach(function(y){return zl(y,s,c)}),h.clear(),s.destination!==null&&Ga(s,s.destination)}catch(y){ts(s,y),Yi(s,y)}}function si(){}function Xi(s,c,h,y){var D=!1,F=null,W="",ie={push:function(Rt){return Rt!==null&&(W+=Rt),!0},destroy:function(Rt){D=!0,F=Rt}},Se=!1;function Je(){Se=!0}var lt=da(s,ac(h,c?c.identifierPrefix:void 0),su(),1/0,si,void 0,Je);if(Tu(lt),Bc(lt,y),Eu(lt,ie),D)throw F;if(!Se)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 W}function Sf(s,c){return Xi(s,c,!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 ku(s,c){return Xi(s,c,!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 Ul(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function d(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Wc.renderToNodeStream=Ul,Wc.renderToStaticMarkup=ku,Wc.renderToStaticNodeStream=d,Wc.renderToString=Sf,Wc.version=e}()),Wc}var Ad={};/**
|
118
118
|
* @license React
|
119
119
|
* react-dom-server.browser.development.js
|
120
120
|
*
|
@@ -122,17 +122,17 @@ Error generating stack: `+y.message+`
|
|
122
122
|
*
|
123
123
|
* This source code is licensed under the MIT license found in the
|
124
124
|
* LICENSE file in the root directory of this source tree.
|
125
|
-
*/var Yv;function W4(){return Yv||(Yv=1,process.env.NODE_ENV!=="production"&&function(){var r=A,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(d){{for(var s=arguments.length,c=new Array(s>1?s-1:0),h=1;h<s;h++)c[h-1]=arguments[h];l("warn",d,c)}}function i(d){{for(var s=arguments.length,c=new Array(s>1?s-1:0),h=1;h<s;h++)c[h-1]=arguments[h];l("error",d,c)}}function l(d,s,c){{var h=t.ReactDebugCurrentFrame,y=h.getStackAddendum();y!==""&&(s+="%s",c=c.concat([y]));var D=c.map(function(F){return String(F)});D.unshift("Warning: "+s),Function.prototype.apply.call(console[d],console,D)}}function u(d){d()}var f=512,g=null,m=0;function R(d){g=new Uint8Array(f),m=0}function w(d,s){if(s.length!==0){if(s.length>f){m>0&&(d.enqueue(new Uint8Array(g.buffer,0,m)),g=new Uint8Array(f),m=0),d.enqueue(s);return}var c=s,h=g.length-m;h<c.length&&(h===0?d.enqueue(g):(g.set(c.subarray(0,h),m),d.enqueue(g),c=c.subarray(h)),g=new Uint8Array(f),m=0),g.set(c,m),m+=c.length}}function b(d,s){return w(d,s),!0}function S(d){g&&m>0&&(d.enqueue(new Uint8Array(g.buffer,0,m)),g=null,m=0)}function _(d){d.close()}var M=new TextEncoder;function E(d){return M.encode(d)}function x(d){return M.encode(d)}function L(d,s){typeof d.error=="function"?d.error(s):d.close()}function O(d){{var s=typeof Symbol=="function"&&Symbol.toStringTag,c=s&&d[Symbol.toStringTag]||d.constructor.name||"Object";return c}}function B(d){try{return H(d),!1}catch{return!0}}function H(d){return""+d}function z(d,s){if(B(d))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(d)),H(d)}function K(d,s){if(B(d))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(d)),H(d)}function ue(d){if(B(d))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",O(d)),H(d)}var J=Object.prototype.hasOwnProperty,fe=0,j=1,te=2,X=3,re=4,de=5,ge=6,ye=":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",ce=ye+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ae=new RegExp("^["+ye+"]["+ce+"]*$"),le={},se={};function pe(d){return J.call(se,d)?!0:J.call(le,d)?!1:Ae.test(d)?(se[d]=!0,!0):(le[d]=!0,i("Invalid attribute name: `%s`",d),!1)}function Ne(d,s,c,h){if(c!==null&&c.type===fe)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(c!==null)return!c.acceptsBooleans;var y=d.toLowerCase().slice(0,5);return y!=="data-"&&y!=="aria-"}default:return!1}}function Ye(d){return De.hasOwnProperty(d)?De[d]:null}function we(d,s,c,h,y,D,F){this.acceptsBooleans=s===te||s===X||s===re,this.attributeName=h,this.attributeNamespace=y,this.mustUseProperty=c,this.propertyName=d,this.type=s,this.sanitizeURL=D,this.removeEmptyString=F}var De={},Fe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Fe.forEach(function(d){De[d]=new we(d,fe,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var s=d[0],c=d[1];De[s]=new we(s,j,!1,c,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){De[d]=new we(d,te,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){De[d]=new we(d,te,!1,d,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(d){De[d]=new we(d,X,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){De[d]=new we(d,X,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){De[d]=new we(d,re,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){De[d]=new we(d,ge,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){De[d]=new we(d,de,!1,d.toLowerCase(),null,!1,!1)});var ze=/[\-\:]([a-z])/g,Ge=function(d){return d[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(d){var s=d.replace(ze,Ge);De[s]=new we(s,j,!1,d,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(d){var s=d.replace(ze,Ge);De[s]=new we(s,j,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var s=d.replace(ze,Ge);De[s]=new we(s,j,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){De[d]=new we(d,j,!1,d.toLowerCase(),null,!1,!1)});var Me="xlinkHref";De[Me]=new we("xlinkHref",j,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){De[d]=new we(d,j,!1,d.toLowerCase(),null,!0,!0)});var Te={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 be(d,s){return d+s.charAt(0).toUpperCase()+s.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Te).forEach(function(d){We.forEach(function(s){Te[be(s,d)]=Te[d]})});var ht={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ct(d,s){ht[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||i("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`."),s.onChange||s.readOnly||s.disabled||s.checked==null||i("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 it(d,s){if(d.indexOf("-")===-1)return typeof s.is=="string";switch(d){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 Ie={"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},Oe={},st=new RegExp("^(aria)-["+ce+"]*$"),vt=new RegExp("^(aria)[A-Z]["+ce+"]*$");function wt(d,s){{if(J.call(Oe,s)&&Oe[s])return!0;if(vt.test(s)){var c="aria-"+s.slice(4).toLowerCase(),h=Ie.hasOwnProperty(c)?c:null;if(h==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),Oe[s]=!0,!0;if(s!==h)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,h),Oe[s]=!0,!0}if(st.test(s)){var y=s.toLowerCase(),D=Ie.hasOwnProperty(y)?y:null;if(D==null)return Oe[s]=!0,!1;if(s!==D)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,D),Oe[s]=!0,!0}}return!0}function Et(d,s){{var c=[];for(var h in s){var y=wt(d,h);y||c.push(h)}var D=c.map(function(F){return"`"+F+"`"}).join(", ");c.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",D,d):c.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",D,d)}}function xt(d,s){it(d,s)||Et(d,s)}var It=!1;function je(d,s){{if(d!=="input"&&d!=="textarea"&&d!=="select")return;s!=null&&s.value===null&&!It&&(It=!0,d==="select"&&s.multiple?i("`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.",d):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",d))}}var Qe={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"},gt=function(){};{var Ft={},bt=/^on./,$e=/^on[^A-Z]/,Lt=new RegExp("^(aria)-["+ce+"]*$"),Dt=new RegExp("^(aria)[A-Z]["+ce+"]*$");gt=function(d,s,c,h){if(J.call(Ft,s)&&Ft[s])return!0;var y=s.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return i("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."),Ft[s]=!0,!0;if(h!=null){var D=h.registrationNameDependencies,F=h.possibleRegistrationNames;if(D.hasOwnProperty(s))return!0;var W=F.hasOwnProperty(y)?F[y]:null;if(W!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",s,W),Ft[s]=!0,!0;if(bt.test(s))return i("Unknown event handler property `%s`. It will be ignored.",s),Ft[s]=!0,!0}else if(bt.test(s))return $e.test(s)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),Ft[s]=!0,!0;if(Lt.test(s)||Dt.test(s))return!0;if(y==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ft[s]=!0,!0;if(y==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ft[s]=!0,!0;if(y==="is"&&c!==null&&c!==void 0&&typeof c!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof c),Ft[s]=!0,!0;if(typeof c=="number"&&isNaN(c))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),Ft[s]=!0,!0;var ie=Ye(s),Se=ie!==null&&ie.type===fe;if(Qe.hasOwnProperty(y)){var Je=Qe[y];if(Je!==s)return i("Invalid DOM property `%s`. Did you mean `%s`?",s,Je),Ft[s]=!0,!0}else if(!Se&&s!==y)return i("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.",s,y),Ft[s]=!0,!0;return typeof c=="boolean"&&Ne(s,c,ie)?(c?i('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()}.',c,s,s,c,s):i('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.',c,s,s,c,s,s,s),Ft[s]=!0,!0):Se?!0:Ne(s,c,ie)?(Ft[s]=!0,!1):((c==="false"||c==="true")&&ie!==null&&ie.type===X&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",c,s,c==="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".',s,c),Ft[s]=!0),!0)}}var pr=function(d,s,c){{var h=[];for(var y in s){var D=gt(d,y,s[y],c);D||h.push(y)}var F=h.map(function(W){return"`"+W+"`"}).join(", ");h.length===1?i("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 ",F,d):h.length>1&&i("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 ",F,d)}};function xr(d,s,c){it(d,s)||pr(d,s,c)}var wr=function(){};{var me=/^(?:webkit|moz|o)[A-Z]/,ne=/^-ms-/,et=/-(.)/g,ct=/;\s*$/,tt={},Le={},pt=!1,kt=!1,_t=function(d){return d.replace(et,function(s,c){return c.toUpperCase()})},Bt=function(d){tt.hasOwnProperty(d)&&tt[d]||(tt[d]=!0,i("Unsupported style property %s. Did you mean %s?",d,_t(d.replace(ne,"ms-"))))},Wt=function(d){tt.hasOwnProperty(d)&&tt[d]||(tt[d]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",d,d.charAt(0).toUpperCase()+d.slice(1)))},rr=function(d,s){Le.hasOwnProperty(s)&&Le[s]||(Le[s]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,d,s.replace(ct,"")))},Ht=function(d,s){pt||(pt=!0,i("`NaN` is an invalid value for the `%s` css style property.",d))},$t=function(d,s){kt||(kt=!0,i("`Infinity` is an invalid value for the `%s` css style property.",d))};wr=function(d,s){d.indexOf("-")>-1?Bt(d):me.test(d)?Wt(d):ct.test(s)&&rr(d,s),typeof s=="number"&&(isNaN(s)?Ht(d,s):isFinite(s)||$t(d,s))}}var nr=wr,rt=/["'&<>]/;function Tt(d){ue(d);var s=""+d,c=rt.exec(s);if(!c)return s;var h,y="",D,F=0;for(D=c.index;D<s.length;D++){switch(s.charCodeAt(D)){case 34:h=""";break;case 38:h="&";break;case 39:h="'";break;case 60:h="<";break;case 62:h=">";break;default:continue}F!==D&&(y+=s.substring(F,D)),F=D+1,y+=h}return F!==D?y+s.substring(F,D):y}function yt(d){return typeof d=="boolean"||typeof d=="number"?""+d:Tt(d)}var Mt=/([A-Z])/g,vr=/^ms-/;function Y(d){return d.replace(Mt,"-$1").toLowerCase().replace(vr,"-ms-")}var Ue=/^[\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,ke=!1;function Ze(d){!ke&&Ue.test(d)&&(ke=!0,i("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(d)))}var St=Array.isArray;function jt(d){return St(d)}var At=x("<script>"),qt=x("<\/script>"),ir=x('<script src="'),or=x('<script type="module" src="'),fr=x('" async=""><\/script>');function Ur(d){return ue(d),(""+d).replace(yr,Kn)}var yr=/(<\/|<)(s)(cript)/gi,Kn=function(d,s,c,h){return""+s+(c==="s"?"\\u0073":"\\u0053")+h};function Cn(d,s,c,h,y){var D=d===void 0?"":d,F=s===void 0?At:x('<script nonce="'+yt(s)+'">'),W=[];if(c!==void 0&&W.push(F,E(Ur(c)),qt),h!==void 0)for(var ie=0;ie<h.length;ie++)W.push(ir,E(yt(h[ie])),fr);if(y!==void 0)for(var Se=0;Se<y.length;Se++)W.push(or,E(yt(y[Se])),fr);return{bootstrapChunks:W,startInlineScript:F,placeholderPrefix:x(D+"P:"),segmentPrefix:x(D+"S:"),boundaryPrefix:D+"B:",idPrefix:D,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Dn=0,Yr=1,Yn=2,En=3,Xn=4,Jn=5,on=6,On=7;function wn(d,s){return{insertionMode:d,selectedValue:s}}function hi(d){var s=d==="http://www.w3.org/2000/svg"?Yn:d==="http://www.w3.org/1998/Math/MathML"?En:Dn;return wn(s,null)}function Si(d,s,c){switch(s){case"select":return wn(Yr,c.value!=null?c.value:c.defaultValue);case"svg":return wn(Yn,null);case"math":return wn(En,null);case"foreignObject":return wn(Yr,null);case"table":return wn(Xn,null);case"thead":case"tbody":case"tfoot":return wn(Jn,null);case"colgroup":return wn(On,null);case"tr":return wn(on,null)}return d.insertionMode>=Xn||d.insertionMode===Dn?wn(Yr,null):d}var Ci=null;function kn(d){var s=d.nextSuspenseID++;return x(d.boundaryPrefix+s.toString(16))}function An(d,s,c){var h=d.idPrefix,y=":"+h+"R"+s;return c>0&&(y+="H"+c.toString(32)),y+":"}function un(d){return yt(d)}var Qn=x("<!-- -->");function sn(d,s,c,h){return s===""?h:(h&&d.push(Qn),d.push(E(un(s))),!0)}function pn(d,s,c,h){c&&h&&d.push(Qn)}var C=new Map;function N(d){var s=C.get(d);if(s!==void 0)return s;var c=x(yt(Y(d)));return C.set(d,c),c}var V=x(' style="'),Q=x(":"),Ee=x(";");function xe(d,s,c){if(typeof c!="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 h=!0;for(var y in c)if(J.call(c,y)){var D=c[y];if(!(D==null||typeof D=="boolean"||D==="")){var F=void 0,W=void 0,ie=y.indexOf("--")===0;ie?(F=E(yt(y)),K(D,y),W=E(yt((""+D).trim()))):(nr(y,D),F=N(y),typeof D=="number"?D!==0&&!J.call(Te,y)?W=E(D+"px"):W=E(""+D):(K(D,y),W=E(yt((""+D).trim())))),h?(h=!1,d.push(V,F,Q,W)):d.push(Ee,F,Q,W)}}h||d.push(Ot)}var He=x(" "),at=x('="'),Ot=x('"'),Ut=x('=""');function zt(d,s,c,h){switch(c){case"style":{xe(d,s,h);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(c.length>2&&(c[0]==="o"||c[0]==="O")&&(c[1]==="n"||c[1]==="N"))){var y=Ye(c);if(y!==null){switch(typeof h){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}var D=y.attributeName,F=E(D);switch(y.type){case X:h&&d.push(He,F,Ut);return;case re:h===!0?d.push(He,F,Ut):h===!1||d.push(He,F,at,E(yt(h)),Ot);return;case de:isNaN(h)||d.push(He,F,at,E(yt(h)),Ot);break;case ge:!isNaN(h)&&h>=1&&d.push(He,F,at,E(yt(h)),Ot);break;default:y.sanitizeURL&&(z(h,D),h=""+h,Ze(h)),d.push(He,F,at,E(yt(h)),Ot)}}else if(pe(c)){switch(typeof h){case"function":case"symbol":return;case"boolean":{var W=c.toLowerCase().slice(0,5);if(W!=="data-"&&W!=="aria-")return}}d.push(He,E(c),at,E(yt(h)),Ot)}}}var Sr=x(">"),Zr=x("/>");function vn(d,s,c){if(s!=null){if(c!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof s!="object"||!("__html"in s))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 h=s.__html;h!=null&&(ue(h),d.push(E(""+h)))}}var yn=!1,li=!1,Bn=!1,wi=!1,Xr=!1,pi=!1,Hn=!1;function ei(d,s){{var c=d[s];if(c!=null){var h=jt(c);d.multiple&&!h?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",s):!d.multiple&&h&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",s)}}}function bo(d,s,c){Ct("select",s),ei(s,"value"),ei(s,"defaultValue"),s.value!==void 0&&s.defaultValue!==void 0&&!Bn&&(i("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"),Bn=!0),d.push(Xt("select"));var h=null,y=null;for(var D in s)if(J.call(s,D)){var F=s[D];if(F==null)continue;switch(D){case"children":h=F;break;case"dangerouslySetInnerHTML":y=F;break;case"defaultValue":case"value":break;default:zt(d,c,D,F);break}}return d.push(Sr),vn(d,y,h),h}function ro(d){var s="";return r.Children.forEach(d,function(c){c!=null&&(s+=c,!Xr&&typeof c!="string"&&typeof c!="number"&&(Xr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),s}var no=x(' selected=""');function Rn(d,s,c,h){var y=h.selectedValue;d.push(Xt("option"));var D=null,F=null,W=null,ie=null;for(var Se in s)if(J.call(s,Se)){var Je=s[Se];if(Je==null)continue;switch(Se){case"children":D=Je;break;case"selected":W=Je,Hn||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Hn=!0);break;case"dangerouslySetInnerHTML":ie=Je;break;case"value":F=Je;default:zt(d,c,Se,Je);break}}if(y!=null){var lt;if(F!==null?(z(F,"value"),lt=""+F):(ie!==null&&(pi||(pi=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),lt=ro(D)),jt(y))for(var Rt=0;Rt<y.length;Rt++){z(y[Rt],"value");var tr=""+y[Rt];if(tr===lt){d.push(no);break}}else z(y,"select.value"),""+y===lt&&d.push(no)}else W&&d.push(no);return d.push(Sr),vn(d,ie,D),D}function _o(d,s,c){Ct("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!li&&(i("%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",s.type),li=!0),s.value!==void 0&&s.defaultValue!==void 0&&!yn&&(i("%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",s.type),yn=!0),d.push(Xt("input"));var h=null,y=null,D=null,F=null;for(var W in s)if(J.call(s,W)){var ie=s[W];if(ie==null)continue;switch(W){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":F=ie;break;case"defaultValue":y=ie;break;case"checked":D=ie;break;case"value":h=ie;break;default:zt(d,c,W,ie);break}}return D!==null?zt(d,c,"checked",D):F!==null&&zt(d,c,"checked",F),h!==null?zt(d,c,"value",h):y!==null&&zt(d,c,"value",y),d.push(Zr),null}function ti(d,s,c){Ct("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!wi&&(i("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"),wi=!0),d.push(Xt("textarea"));var h=null,y=null,D=null;for(var F in s)if(J.call(s,F)){var W=s[F];if(W==null)continue;switch(F){case"children":D=W;break;case"value":h=W;break;case"defaultValue":y=W;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:zt(d,c,F,W);break}}if(h===null&&y!==null&&(h=y),d.push(Sr),D!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),h!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(jt(D)){if(D.length>1)throw new Error("<textarea> can only have at most one child.");ue(D[0]),h=""+D[0]}ue(D),h=""+D}return typeof h=="string"&&h[0]===`
|
126
|
-
`&&d.push(I),h!==null&&(z(h,"value"),d.push(E(un(""+h)))),null}function ri(d,s,c,h){d.push(Xt(c));for(var y in s)if(J.call(s,y)){var D=s[y];if(D==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:zt(d,h,y,D);break}}return d.push(Zr),null}function $i(d,s,c){d.push(Xt("menuitem"));for(var h in s)if(J.call(s,h)){var y=s[h];if(y==null)continue;switch(h){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:zt(d,c,h,y);break}}return d.push(Sr),null}function Or(d,s,c){d.push(Xt("title"));var h=null;for(var y in s)if(J.call(s,y)){var D=s[y];if(D==null)continue;switch(y){case"children":h=D;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:zt(d,c,y,D);break}}d.push(Sr);{var F=Array.isArray(h)&&h.length<2?h[0]||null:h;Array.isArray(h)&&h.length>1?i("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"):F!=null&&F.$$typeof!=null?i("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"):F!=null&&typeof F!="string"&&typeof F!="number"&&i("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 h}function Ar(d,s,c,h){d.push(Xt(c));var y=null,D=null;for(var F in s)if(J.call(s,F)){var W=s[F];if(W==null)continue;switch(F){case"children":y=W;break;case"dangerouslySetInnerHTML":D=W;break;default:zt(d,h,F,W);break}}return d.push(Sr),vn(d,D,y),typeof y=="string"?(d.push(E(un(y))),null):y}function Mr(d,s,c,h){d.push(Xt(c));var y=null,D=null;for(var F in s)if(J.call(s,F)){var W=s[F];if(W==null)continue;switch(F){case"children":y=W;break;case"dangerouslySetInnerHTML":D=W;break;case"style":xe(d,h,W);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:pe(F)&&typeof W!="function"&&typeof W!="symbol"&&d.push(He,E(F),
|
125
|
+
*/var Yv;function W4(){return Yv||(Yv=1,process.env.NODE_ENV!=="production"&&function(){var r=A,e="18.2.0",t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(d){{for(var s=arguments.length,c=new Array(s>1?s-1:0),h=1;h<s;h++)c[h-1]=arguments[h];l("warn",d,c)}}function i(d){{for(var s=arguments.length,c=new Array(s>1?s-1:0),h=1;h<s;h++)c[h-1]=arguments[h];l("error",d,c)}}function l(d,s,c){{var h=t.ReactDebugCurrentFrame,y=h.getStackAddendum();y!==""&&(s+="%s",c=c.concat([y]));var D=c.map(function(F){return String(F)});D.unshift("Warning: "+s),Function.prototype.apply.call(console[d],console,D)}}function u(d){d()}var f=512,g=null,m=0;function R(d){g=new Uint8Array(f),m=0}function w(d,s){if(s.length!==0){if(s.length>f){m>0&&(d.enqueue(new Uint8Array(g.buffer,0,m)),g=new Uint8Array(f),m=0),d.enqueue(s);return}var c=s,h=g.length-m;h<c.length&&(h===0?d.enqueue(g):(g.set(c.subarray(0,h),m),d.enqueue(g),c=c.subarray(h)),g=new Uint8Array(f),m=0),g.set(c,m),m+=c.length}}function b(d,s){return w(d,s),!0}function S(d){g&&m>0&&(d.enqueue(new Uint8Array(g.buffer,0,m)),g=null,m=0)}function _(d){d.close()}var M=new TextEncoder;function E(d){return M.encode(d)}function x(d){return M.encode(d)}function L(d,s){typeof d.error=="function"?d.error(s):d.close()}function O(d){{var s=typeof Symbol=="function"&&Symbol.toStringTag,c=s&&d[Symbol.toStringTag]||d.constructor.name||"Object";return c}}function B(d){try{return H(d),!1}catch{return!0}}function H(d){return""+d}function z(d,s){if(B(d))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(d)),H(d)}function K(d,s){if(B(d))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",s,O(d)),H(d)}function ue(d){if(B(d))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",O(d)),H(d)}var J=Object.prototype.hasOwnProperty,fe=0,j=1,te=2,X=3,re=4,de=5,me=6,ye=":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",ce=ye+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ee=new RegExp("^["+ye+"]["+ce+"]*$"),le={},se={};function pe(d){return J.call(se,d)?!0:J.call(le,d)?!1:Ee.test(d)?(se[d]=!0,!0):(le[d]=!0,i("Invalid attribute name: `%s`",d),!1)}function Ne(d,s,c,h){if(c!==null&&c.type===fe)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(c!==null)return!c.acceptsBooleans;var y=d.toLowerCase().slice(0,5);return y!=="data-"&&y!=="aria-"}default:return!1}}function Ye(d){return De.hasOwnProperty(d)?De[d]:null}function we(d,s,c,h,y,D,F){this.acceptsBooleans=s===te||s===X||s===re,this.attributeName=h,this.attributeNamespace=y,this.mustUseProperty=c,this.propertyName=d,this.type=s,this.sanitizeURL=D,this.removeEmptyString=F}var De={},Fe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Fe.forEach(function(d){De[d]=new we(d,fe,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var s=d[0],c=d[1];De[s]=new we(s,j,!1,c,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){De[d]=new we(d,te,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){De[d]=new we(d,te,!1,d,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(d){De[d]=new we(d,X,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){De[d]=new we(d,X,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){De[d]=new we(d,re,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){De[d]=new we(d,me,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){De[d]=new we(d,de,!1,d.toLowerCase(),null,!1,!1)});var ze=/[\-\:]([a-z])/g,Ge=function(d){return d[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(d){var s=d.replace(ze,Ge);De[s]=new we(s,j,!1,d,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(d){var s=d.replace(ze,Ge);De[s]=new we(s,j,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var s=d.replace(ze,Ge);De[s]=new we(s,j,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){De[d]=new we(d,j,!1,d.toLowerCase(),null,!1,!1)});var Le="xlinkHref";De[Le]=new we("xlinkHref",j,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){De[d]=new we(d,j,!1,d.toLowerCase(),null,!0,!0)});var Ae={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 be(d,s){return d+s.charAt(0).toUpperCase()+s.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Ae).forEach(function(d){We.forEach(function(s){Ae[be(s,d)]=Ae[d]})});var ht={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ct(d,s){ht[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||i("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`."),s.onChange||s.readOnly||s.disabled||s.checked==null||i("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 it(d,s){if(d.indexOf("-")===-1)return typeof s.is=="string";switch(d){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 Ie={"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},Pe={},at=new RegExp("^(aria)-["+ce+"]*$"),gt=new RegExp("^(aria)[A-Z]["+ce+"]*$");function wt(d,s){{if(J.call(Pe,s)&&Pe[s])return!0;if(gt.test(s)){var c="aria-"+s.slice(4).toLowerCase(),h=Ie.hasOwnProperty(c)?c:null;if(h==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),Pe[s]=!0,!0;if(s!==h)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,h),Pe[s]=!0,!0}if(at.test(s)){var y=s.toLowerCase(),D=Ie.hasOwnProperty(y)?y:null;if(D==null)return Pe[s]=!0,!1;if(s!==D)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,D),Pe[s]=!0,!0}}return!0}function Et(d,s){{var c=[];for(var h in s){var y=wt(d,h);y||c.push(h)}var D=c.map(function(F){return"`"+F+"`"}).join(", ");c.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",D,d):c.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",D,d)}}function xt(d,s){it(d,s)||Et(d,s)}var It=!1;function je(d,s){{if(d!=="input"&&d!=="textarea"&&d!=="select")return;s!=null&&s.value===null&&!It&&(It=!0,d==="select"&&s.multiple?i("`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.",d):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",d))}}var Qe={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"},mt=function(){};{var Ft={},bt=/^on./,$e=/^on[^A-Z]/,Lt=new RegExp("^(aria)-["+ce+"]*$"),Dt=new RegExp("^(aria)[A-Z]["+ce+"]*$");mt=function(d,s,c,h){if(J.call(Ft,s)&&Ft[s])return!0;var y=s.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return i("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."),Ft[s]=!0,!0;if(h!=null){var D=h.registrationNameDependencies,F=h.possibleRegistrationNames;if(D.hasOwnProperty(s))return!0;var W=F.hasOwnProperty(y)?F[y]:null;if(W!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",s,W),Ft[s]=!0,!0;if(bt.test(s))return i("Unknown event handler property `%s`. It will be ignored.",s),Ft[s]=!0,!0}else if(bt.test(s))return $e.test(s)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),Ft[s]=!0,!0;if(Lt.test(s)||Dt.test(s))return!0;if(y==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ft[s]=!0,!0;if(y==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ft[s]=!0,!0;if(y==="is"&&c!==null&&c!==void 0&&typeof c!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof c),Ft[s]=!0,!0;if(typeof c=="number"&&isNaN(c))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),Ft[s]=!0,!0;var ie=Ye(s),Se=ie!==null&&ie.type===fe;if(Qe.hasOwnProperty(y)){var Je=Qe[y];if(Je!==s)return i("Invalid DOM property `%s`. Did you mean `%s`?",s,Je),Ft[s]=!0,!0}else if(!Se&&s!==y)return i("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.",s,y),Ft[s]=!0,!0;return typeof c=="boolean"&&Ne(s,c,ie)?(c?i('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()}.',c,s,s,c,s):i('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.',c,s,s,c,s,s,s),Ft[s]=!0,!0):Se?!0:Ne(s,c,ie)?(Ft[s]=!0,!1):((c==="false"||c==="true")&&ie!==null&&ie.type===X&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",c,s,c==="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".',s,c),Ft[s]=!0),!0)}}var pr=function(d,s,c){{var h=[];for(var y in s){var D=mt(d,y,s[y],c);D||h.push(y)}var F=h.map(function(W){return"`"+W+"`"}).join(", ");h.length===1?i("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 ",F,d):h.length>1&&i("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 ",F,d)}};function xr(d,s,c){it(d,s)||pr(d,s,c)}var wr=function(){};{var ge=/^(?:webkit|moz|o)[A-Z]/,ne=/^-ms-/,et=/-(.)/g,ct=/;\s*$/,tt={},Me={},pt=!1,kt=!1,_t=function(d){return d.replace(et,function(s,c){return c.toUpperCase()})},Bt=function(d){tt.hasOwnProperty(d)&&tt[d]||(tt[d]=!0,i("Unsupported style property %s. Did you mean %s?",d,_t(d.replace(ne,"ms-"))))},Wt=function(d){tt.hasOwnProperty(d)&&tt[d]||(tt[d]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",d,d.charAt(0).toUpperCase()+d.slice(1)))},rr=function(d,s){Me.hasOwnProperty(s)&&Me[s]||(Me[s]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,d,s.replace(ct,"")))},Ht=function(d,s){pt||(pt=!0,i("`NaN` is an invalid value for the `%s` css style property.",d))},$t=function(d,s){kt||(kt=!0,i("`Infinity` is an invalid value for the `%s` css style property.",d))};wr=function(d,s){d.indexOf("-")>-1?Bt(d):ge.test(d)?Wt(d):ct.test(s)&&rr(d,s),typeof s=="number"&&(isNaN(s)?Ht(d,s):isFinite(s)||$t(d,s))}}var nr=wr,rt=/["'&<>]/;function Tt(d){ue(d);var s=""+d,c=rt.exec(s);if(!c)return s;var h,y="",D,F=0;for(D=c.index;D<s.length;D++){switch(s.charCodeAt(D)){case 34:h=""";break;case 38:h="&";break;case 39:h="'";break;case 60:h="<";break;case 62:h=">";break;default:continue}F!==D&&(y+=s.substring(F,D)),F=D+1,y+=h}return F!==D?y+s.substring(F,D):y}function yt(d){return typeof d=="boolean"||typeof d=="number"?""+d:Tt(d)}var Mt=/([A-Z])/g,vr=/^ms-/;function Y(d){return d.replace(Mt,"-$1").toLowerCase().replace(vr,"-ms-")}var Ue=/^[\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,ke=!1;function Ze(d){!ke&&Ue.test(d)&&(ke=!0,i("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(d)))}var St=Array.isArray;function jt(d){return St(d)}var At=x("<script>"),qt=x("<\/script>"),ir=x('<script src="'),or=x('<script type="module" src="'),fr=x('" async=""><\/script>');function Ur(d){return ue(d),(""+d).replace(yr,Kn)}var yr=/(<\/|<)(s)(cript)/gi,Kn=function(d,s,c,h){return""+s+(c==="s"?"\\u0073":"\\u0053")+h};function Cn(d,s,c,h,y){var D=d===void 0?"":d,F=s===void 0?At:x('<script nonce="'+yt(s)+'">'),W=[];if(c!==void 0&&W.push(F,E(Ur(c)),qt),h!==void 0)for(var ie=0;ie<h.length;ie++)W.push(ir,E(yt(h[ie])),fr);if(y!==void 0)for(var Se=0;Se<y.length;Se++)W.push(or,E(yt(y[Se])),fr);return{bootstrapChunks:W,startInlineScript:F,placeholderPrefix:x(D+"P:"),segmentPrefix:x(D+"S:"),boundaryPrefix:D+"B:",idPrefix:D,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Dn=0,Yr=1,Yn=2,En=3,Xn=4,Jn=5,on=6,On=7;function wn(d,s){return{insertionMode:d,selectedValue:s}}function hi(d){var s=d==="http://www.w3.org/2000/svg"?Yn:d==="http://www.w3.org/1998/Math/MathML"?En:Dn;return wn(s,null)}function Si(d,s,c){switch(s){case"select":return wn(Yr,c.value!=null?c.value:c.defaultValue);case"svg":return wn(Yn,null);case"math":return wn(En,null);case"foreignObject":return wn(Yr,null);case"table":return wn(Xn,null);case"thead":case"tbody":case"tfoot":return wn(Jn,null);case"colgroup":return wn(On,null);case"tr":return wn(on,null)}return d.insertionMode>=Xn||d.insertionMode===Dn?wn(Yr,null):d}var Ci=null;function kn(d){var s=d.nextSuspenseID++;return x(d.boundaryPrefix+s.toString(16))}function An(d,s,c){var h=d.idPrefix,y=":"+h+"R"+s;return c>0&&(y+="H"+c.toString(32)),y+":"}function un(d){return yt(d)}var Qn=x("<!-- -->");function sn(d,s,c,h){return s===""?h:(h&&d.push(Qn),d.push(E(un(s))),!0)}function pn(d,s,c,h){c&&h&&d.push(Qn)}var C=new Map;function N(d){var s=C.get(d);if(s!==void 0)return s;var c=x(yt(Y(d)));return C.set(d,c),c}var V=x(' style="'),Q=x(":"),Te=x(";");function xe(d,s,c){if(typeof c!="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 h=!0;for(var y in c)if(J.call(c,y)){var D=c[y];if(!(D==null||typeof D=="boolean"||D==="")){var F=void 0,W=void 0,ie=y.indexOf("--")===0;ie?(F=E(yt(y)),K(D,y),W=E(yt((""+D).trim()))):(nr(y,D),F=N(y),typeof D=="number"?D!==0&&!J.call(Ae,y)?W=E(D+"px"):W=E(""+D):(K(D,y),W=E(yt((""+D).trim())))),h?(h=!1,d.push(V,F,Q,W)):d.push(Te,F,Q,W)}}h||d.push(Ot)}var He=x(" "),st=x('="'),Ot=x('"'),Ut=x('=""');function zt(d,s,c,h){switch(c){case"style":{xe(d,s,h);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(c.length>2&&(c[0]==="o"||c[0]==="O")&&(c[1]==="n"||c[1]==="N"))){var y=Ye(c);if(y!==null){switch(typeof h){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}var D=y.attributeName,F=E(D);switch(y.type){case X:h&&d.push(He,F,Ut);return;case re:h===!0?d.push(He,F,Ut):h===!1||d.push(He,F,st,E(yt(h)),Ot);return;case de:isNaN(h)||d.push(He,F,st,E(yt(h)),Ot);break;case me:!isNaN(h)&&h>=1&&d.push(He,F,st,E(yt(h)),Ot);break;default:y.sanitizeURL&&(z(h,D),h=""+h,Ze(h)),d.push(He,F,st,E(yt(h)),Ot)}}else if(pe(c)){switch(typeof h){case"function":case"symbol":return;case"boolean":{var W=c.toLowerCase().slice(0,5);if(W!=="data-"&&W!=="aria-")return}}d.push(He,E(c),st,E(yt(h)),Ot)}}}var Sr=x(">"),Zr=x("/>");function vn(d,s,c){if(s!=null){if(c!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof s!="object"||!("__html"in s))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 h=s.__html;h!=null&&(ue(h),d.push(E(""+h)))}}var yn=!1,li=!1,Bn=!1,wi=!1,Xr=!1,pi=!1,Hn=!1;function ei(d,s){{var c=d[s];if(c!=null){var h=jt(c);d.multiple&&!h?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",s):!d.multiple&&h&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",s)}}}function bo(d,s,c){Ct("select",s),ei(s,"value"),ei(s,"defaultValue"),s.value!==void 0&&s.defaultValue!==void 0&&!Bn&&(i("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"),Bn=!0),d.push(Xt("select"));var h=null,y=null;for(var D in s)if(J.call(s,D)){var F=s[D];if(F==null)continue;switch(D){case"children":h=F;break;case"dangerouslySetInnerHTML":y=F;break;case"defaultValue":case"value":break;default:zt(d,c,D,F);break}}return d.push(Sr),vn(d,y,h),h}function ro(d){var s="";return r.Children.forEach(d,function(c){c!=null&&(s+=c,!Xr&&typeof c!="string"&&typeof c!="number"&&(Xr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),s}var no=x(' selected=""');function Rn(d,s,c,h){var y=h.selectedValue;d.push(Xt("option"));var D=null,F=null,W=null,ie=null;for(var Se in s)if(J.call(s,Se)){var Je=s[Se];if(Je==null)continue;switch(Se){case"children":D=Je;break;case"selected":W=Je,Hn||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Hn=!0);break;case"dangerouslySetInnerHTML":ie=Je;break;case"value":F=Je;default:zt(d,c,Se,Je);break}}if(y!=null){var lt;if(F!==null?(z(F,"value"),lt=""+F):(ie!==null&&(pi||(pi=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),lt=ro(D)),jt(y))for(var Rt=0;Rt<y.length;Rt++){z(y[Rt],"value");var tr=""+y[Rt];if(tr===lt){d.push(no);break}}else z(y,"select.value"),""+y===lt&&d.push(no)}else W&&d.push(no);return d.push(Sr),vn(d,ie,D),D}function _o(d,s,c){Ct("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!li&&(i("%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",s.type),li=!0),s.value!==void 0&&s.defaultValue!==void 0&&!yn&&(i("%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",s.type),yn=!0),d.push(Xt("input"));var h=null,y=null,D=null,F=null;for(var W in s)if(J.call(s,W)){var ie=s[W];if(ie==null)continue;switch(W){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":F=ie;break;case"defaultValue":y=ie;break;case"checked":D=ie;break;case"value":h=ie;break;default:zt(d,c,W,ie);break}}return D!==null?zt(d,c,"checked",D):F!==null&&zt(d,c,"checked",F),h!==null?zt(d,c,"value",h):y!==null&&zt(d,c,"value",y),d.push(Zr),null}function ti(d,s,c){Ct("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!wi&&(i("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"),wi=!0),d.push(Xt("textarea"));var h=null,y=null,D=null;for(var F in s)if(J.call(s,F)){var W=s[F];if(W==null)continue;switch(F){case"children":D=W;break;case"value":h=W;break;case"defaultValue":y=W;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:zt(d,c,F,W);break}}if(h===null&&y!==null&&(h=y),d.push(Sr),D!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),h!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(jt(D)){if(D.length>1)throw new Error("<textarea> can only have at most one child.");ue(D[0]),h=""+D[0]}ue(D),h=""+D}return typeof h=="string"&&h[0]===`
|
126
|
+
`&&d.push(I),h!==null&&(z(h,"value"),d.push(E(un(""+h)))),null}function ri(d,s,c,h){d.push(Xt(c));for(var y in s)if(J.call(s,y)){var D=s[y];if(D==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:zt(d,h,y,D);break}}return d.push(Zr),null}function $i(d,s,c){d.push(Xt("menuitem"));for(var h in s)if(J.call(s,h)){var y=s[h];if(y==null)continue;switch(h){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:zt(d,c,h,y);break}}return d.push(Sr),null}function Or(d,s,c){d.push(Xt("title"));var h=null;for(var y in s)if(J.call(s,y)){var D=s[y];if(D==null)continue;switch(y){case"children":h=D;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:zt(d,c,y,D);break}}d.push(Sr);{var F=Array.isArray(h)&&h.length<2?h[0]||null:h;Array.isArray(h)&&h.length>1?i("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"):F!=null&&F.$$typeof!=null?i("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"):F!=null&&typeof F!="string"&&typeof F!="number"&&i("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 h}function Ar(d,s,c,h){d.push(Xt(c));var y=null,D=null;for(var F in s)if(J.call(s,F)){var W=s[F];if(W==null)continue;switch(F){case"children":y=W;break;case"dangerouslySetInnerHTML":D=W;break;default:zt(d,h,F,W);break}}return d.push(Sr),vn(d,D,y),typeof y=="string"?(d.push(E(un(y))),null):y}function Mr(d,s,c,h){d.push(Xt(c));var y=null,D=null;for(var F in s)if(J.call(s,F)){var W=s[F];if(W==null)continue;switch(F){case"children":y=W;break;case"dangerouslySetInnerHTML":D=W;break;case"style":xe(d,h,W);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:pe(F)&&typeof W!="function"&&typeof W!="symbol"&&d.push(He,E(F),st,E(yt(W)),Ot);break}}return d.push(Sr),vn(d,D,y),y}var I=x(`
|
127
127
|
`);function G(d,s,c,h){d.push(Xt(c));var y=null,D=null;for(var F in s)if(J.call(s,F)){var W=s[F];if(W==null)continue;switch(F){case"children":y=W;break;case"dangerouslySetInnerHTML":D=W;break;default:zt(d,h,F,W);break}}if(d.push(Sr),D!=null){if(y!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof D!="object"||!("__html"in D))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 ie=D.__html;ie!=null&&(typeof ie=="string"&&ie.length>0&&ie[0]===`
|
128
128
|
`?d.push(I,E(ie)):(ue(ie),d.push(E(""+ie))))}return typeof y=="string"&&y[0]===`
|
129
|
-
`&&d.push(I),y}var ae=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,qe=new Map;function Xt(d){var s=qe.get(d);if(s===void 0){if(!ae.test(d))throw new Error("Invalid tag: "+d);s=x("<"+d),qe.set(d,s)}return s}var Gt=x("<!DOCTYPE html>");function gr(d,s,c,h,y){switch(xt(s,c),je(s,c),xr(s,c,null),!c.suppressContentEditableWarning&&c.contentEditable&&c.children!=null&&i("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."),y.insertionMode!==Yn&&y.insertionMode!==En&&s.indexOf("-")===-1&&typeof c.is!="string"&&s.toLowerCase()!==s&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),s){case"select":return bo(d,c,h);case"option":return Rn(d,c,h,y);case"textarea":return ti(d,c,h);case"input":return _o(d,c,h);case"menuitem":return $i(d,c,h);case"title":return Or(d,c,h);case"listing":case"pre":return G(d,c,s,h);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 ri(d,c,s,h);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 Ar(d,c,s,h);case"html":return y.insertionMode===Dn&&d.push(Gt),Ar(d,c,s,h);default:return s.indexOf("-")===-1&&typeof c.is!="string"?Ar(d,c,s,h):Mr(d,c,s,h)}}var Cr=x("</"),dr=x(">");function Tr(d,s,c){switch(s){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:d.push(Cr,E(s),dr)}}function Jr(d,s){for(var c=s.bootstrapChunks,h=0;h<c.length-1;h++)w(d,c[h]);return h<c.length?b(d,c[h]):!0}var In=x('<template id="'),Vr=x('"></template>');function Br(d,s,c){w(d,In),w(d,s.placeholderPrefix);var h=E(c.toString(16));return w(d,h),b(d,Vr)}var Qr=x("<!--$-->"),ci=x('<!--$?--><template id="'),gi=x('"></template>'),qn=x("<!--$!-->"),xo=x("<!--/$-->"),Ui=x("<template"),an=x('"'),ps=x(' data-dgst="'),zn=x(' data-msg="'),fl=x(' data-stck="'),Ta=x("></template>");function Wi(d,s){return b(d,Qr)}function So(d,s,c){if(w(d,ci),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(d,c),b(d,gi)}function $n(d,s,c,h,y){var D;return D=b(d,qn),w(d,Ui),c&&(w(d,ps),w(d,E(yt(c))),w(d,an)),h&&(w(d,zn),w(d,E(yt(h))),w(d,an)),y&&(w(d,fl),w(d,E(yt(y))),w(d,an)),D=b(d,Ta),D}function Kr(d,s){return b(d,xo)}function Ai(d,s){return b(d,xo)}function Ea(d,s){return b(d,xo)}var dl=x('<div hidden id="'),$o=x('">'),hl=x("</div>"),pl=x('<svg aria-hidden="true" style="display:none" id="'),Gs=x('">'),gs=x("</svg>"),ms=x('<math aria-hidden="true" style="display:none" id="'),Co=x('">'),gl=x("</math>"),Zs=x('<table hidden id="'),ka=x('">'),T=x("</table>"),P=x('<table hidden><tbody id="'),$=x('">'),ee=x("</tbody></table>"),Re=x('<table hidden><tr id="'),Ce=x('">'),Xe=x("</tr></table>"),
|
129
|
+
`&&d.push(I),y}var ae=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,qe=new Map;function Xt(d){var s=qe.get(d);if(s===void 0){if(!ae.test(d))throw new Error("Invalid tag: "+d);s=x("<"+d),qe.set(d,s)}return s}var Gt=x("<!DOCTYPE html>");function gr(d,s,c,h,y){switch(xt(s,c),je(s,c),xr(s,c,null),!c.suppressContentEditableWarning&&c.contentEditable&&c.children!=null&&i("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."),y.insertionMode!==Yn&&y.insertionMode!==En&&s.indexOf("-")===-1&&typeof c.is!="string"&&s.toLowerCase()!==s&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),s){case"select":return bo(d,c,h);case"option":return Rn(d,c,h,y);case"textarea":return ti(d,c,h);case"input":return _o(d,c,h);case"menuitem":return $i(d,c,h);case"title":return Or(d,c,h);case"listing":case"pre":return G(d,c,s,h);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 ri(d,c,s,h);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 Ar(d,c,s,h);case"html":return y.insertionMode===Dn&&d.push(Gt),Ar(d,c,s,h);default:return s.indexOf("-")===-1&&typeof c.is!="string"?Ar(d,c,s,h):Mr(d,c,s,h)}}var Cr=x("</"),dr=x(">");function Tr(d,s,c){switch(s){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:d.push(Cr,E(s),dr)}}function Jr(d,s){for(var c=s.bootstrapChunks,h=0;h<c.length-1;h++)w(d,c[h]);return h<c.length?b(d,c[h]):!0}var In=x('<template id="'),Vr=x('"></template>');function Br(d,s,c){w(d,In),w(d,s.placeholderPrefix);var h=E(c.toString(16));return w(d,h),b(d,Vr)}var Qr=x("<!--$-->"),ci=x('<!--$?--><template id="'),gi=x('"></template>'),qn=x("<!--$!-->"),xo=x("<!--/$-->"),Ui=x("<template"),an=x('"'),ps=x(' data-dgst="'),zn=x(' data-msg="'),fl=x(' data-stck="'),Ta=x("></template>");function Wi(d,s){return b(d,Qr)}function So(d,s,c){if(w(d,ci),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(d,c),b(d,gi)}function $n(d,s,c,h,y){var D;return D=b(d,qn),w(d,Ui),c&&(w(d,ps),w(d,E(yt(c))),w(d,an)),h&&(w(d,zn),w(d,E(yt(h))),w(d,an)),y&&(w(d,fl),w(d,E(yt(y))),w(d,an)),D=b(d,Ta),D}function Kr(d,s){return b(d,xo)}function Ai(d,s){return b(d,xo)}function Ea(d,s){return b(d,xo)}var dl=x('<div hidden id="'),$o=x('">'),hl=x("</div>"),pl=x('<svg aria-hidden="true" style="display:none" id="'),Gs=x('">'),gs=x("</svg>"),ms=x('<math aria-hidden="true" style="display:none" id="'),Co=x('">'),gl=x("</math>"),Zs=x('<table hidden id="'),ka=x('">'),T=x("</table>"),P=x('<table hidden><tbody id="'),$=x('">'),ee=x("</tbody></table>"),Re=x('<table hidden><tr id="'),Ce=x('">'),Xe=x("</tr></table>"),vt=x('<table hidden><colgroup id="'),Vt=x('">'),hr=x("</colgroup></table>");function ar(d,s,c,h){switch(c.insertionMode){case Dn:case Yr:return w(d,dl),w(d,s.segmentPrefix),w(d,E(h.toString(16))),b(d,$o);case Yn:return w(d,pl),w(d,s.segmentPrefix),w(d,E(h.toString(16))),b(d,Gs);case En:return w(d,ms),w(d,s.segmentPrefix),w(d,E(h.toString(16))),b(d,Co);case Xn:return w(d,Zs),w(d,s.segmentPrefix),w(d,E(h.toString(16))),b(d,ka);case Jn:return w(d,P),w(d,s.segmentPrefix),w(d,E(h.toString(16))),b(d,$);case on:return w(d,Re),w(d,s.segmentPrefix),w(d,E(h.toString(16))),b(d,Ce);case On:return w(d,vt),w(d,s.segmentPrefix),w(d,E(h.toString(16))),b(d,Vt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Gr(d,s){switch(s.insertionMode){case Dn:case Yr:return b(d,hl);case Yn:return b(d,gs);case En:return b(d,gl);case Xn:return b(d,T);case Jn:return b(d,ee);case on:return b(d,Xe);case On:return b(d,hr);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ni="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)}",Ti='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()}}',Ei='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())}',Ks=x(ni+';$RS("'),ml=x('$RS("'),vs=x('","'),Ys=x('")<\/script>');function of(d,s,c){w(d,s.startInlineScript),s.sentCompleteSegmentFunction?w(d,ml):(s.sentCompleteSegmentFunction=!0,w(d,Ks)),w(d,s.segmentPrefix);var h=E(c.toString(16));return w(d,h),w(d,vs),w(d,s.placeholderPrefix),w(d,h),b(d,Ys)}var sc=x(Ti+';$RC("'),ac=x('$RC("'),su=x('","'),wo=x('")<\/script>');function Ra(d,s,c,h){if(w(d,s.startInlineScript),s.sentCompleteBoundaryFunction?w(d,ac):(s.sentCompleteBoundaryFunction=!0,w(d,sc)),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var y=E(h.toString(16));return w(d,c),w(d,su),w(d,s.segmentPrefix),w(d,y),b(d,wo)}var sf=x(Ei+';$RX("'),af=x('$RX("'),lf=x('"'),Xs=x(")<\/script>"),fn=x(",");function au(d,s,c,h,y,D){if(w(d,s.startInlineScript),s.sentClientRenderFunction?w(d,af):(s.sentClientRenderFunction=!0,w(d,sf)),c===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(d,c),w(d,lf),(h||y||D)&&(w(d,fn),w(d,E(vl(h||"")))),(y||D)&&(w(d,fn),w(d,E(vl(y||"")))),D&&(w(d,fn),w(d,E(vl(D)))),b(d,Xs)}var lu=/[<\u2028\u2029]/g;function vl(d){var s=JSON.stringify(d);return s.replace(lu,function(c){switch(c){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 ki=Object.assign,cu=Symbol.for("react.element"),yl=Symbol.for("react.portal"),Ao=Symbol.for("react.fragment"),ve=Symbol.for("react.strict_mode"),Ve=Symbol.for("react.profiler"),Oe=Symbol.for("react.provider"),Pt=Symbol.for("react.context"),sr=Symbol.for("react.forward_ref"),Pr=Symbol.for("react.suspense"),bn=Symbol.for("react.suspense_list"),Wr=Symbol.for("react.memo"),Js=Symbol.for("react.lazy"),uu=Symbol.for("react.scope"),Bi=Symbol.for("react.debug_trace_mode"),bl=Symbol.for("react.legacy_hidden"),cf=Symbol.for("react.default_value"),Uo=Symbol.iterator,en="@@iterator";function Wo(d){if(d===null||typeof d!="object")return null;var s=Uo&&d[Uo]||d[en];return typeof s=="function"?s:null}function zr(d,s,c){var h=d.displayName;if(h)return h;var y=s.displayName||s.name||"";return y!==""?c+"("+y+")":c}function lc(d){return d.displayName||"Context"}function ln(d){if(d==null)return null;if(typeof d.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case Ao:return"Fragment";case yl:return"Portal";case Ve:return"Profiler";case ve:return"StrictMode";case Pr:return"Suspense";case bn:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case Pt:var s=d;return lc(s)+".Consumer";case Oe:var c=d;return lc(c._context)+".Provider";case sr:return zr(d,d.render,"ForwardRef");case Wr:var h=d.displayName||null;return h!==null?h:ln(d.type)||"Memo";case Js:{var y=d,D=y._payload,F=y._init;try{return ln(F(D))}catch{return null}}}return null}var To=0,cc,uc,fc,Qs,Eo,Ia,La;function ys(){}ys.__reactDisabledLog=!0;function ea(){{if(To===0){cc=console.log,uc=console.info,fc=console.warn,Qs=console.error,Eo=console.group,Ia=console.groupCollapsed,La=console.groupEnd;var d={configurable:!0,enumerable:!0,value:ys,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}To++}}function _l(){{if(To--,To===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ki({},d,{value:cc}),info:ki({},d,{value:uc}),warn:ki({},d,{value:fc}),error:ki({},d,{value:Qs}),group:ki({},d,{value:Eo}),groupCollapsed:ki({},d,{value:Ia}),groupEnd:ki({},d,{value:La})})}To<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ko=t.ReactCurrentDispatcher,xl;function Vi(d,s,c){{if(xl===void 0)try{throw Error()}catch(y){var h=y.stack.trim().match(/\n( *(at )?)/);xl=h&&h[1]||""}return`
|
130
130
|
`+xl+d}}var Ro=!1,Vo;{var uf=typeof WeakMap=="function"?WeakMap:Map;Vo=new uf}function Ma(d,s){if(!d||Ro)return"";{var c=Vo.get(d);if(c!==void 0)return c}var h;Ro=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var D;D=ko.current,ko.current=null,ea();try{if(s){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(Dr){h=Dr}Reflect.construct(d,[],F)}else{try{F.call()}catch(Dr){h=Dr}d.call(F.prototype)}}else{try{throw Error()}catch(Dr){h=Dr}d()}}catch(Dr){if(Dr&&h&&typeof Dr.stack=="string"){for(var W=Dr.stack.split(`
|
131
131
|
`),ie=h.stack.split(`
|
132
132
|
`),Se=W.length-1,Je=ie.length-1;Se>=1&&Je>=0&&W[Se]!==ie[Je];)Je--;for(;Se>=1&&Je>=0;Se--,Je--)if(W[Se]!==ie[Je]){if(Se!==1||Je!==1)do if(Se--,Je--,Je<0||W[Se]!==ie[Je]){var lt=`
|
133
133
|
`+W[Se].replace(" at new "," at ");return d.displayName&<.includes("<anonymous>")&&(lt=lt.replace("<anonymous>",d.displayName)),typeof d=="function"&&Vo.set(d,lt),lt}while(Se>=1&&Je>=0);break}}}finally{Ro=!1,ko.current=D,_l(),Error.prepareStackTrace=y}var Rt=d?d.displayName||d.name:"",tr=Rt?Vi(Rt):"";return typeof d=="function"&&Vo.set(d,tr),tr}function fu(d,s,c){return Ma(d,!0)}function ta(d,s,c){return Ma(d,!1)}function bs(d){var s=d.prototype;return!!(s&&s.isReactComponent)}function ra(d,s,c){if(d==null)return"";if(typeof d=="function")return Ma(d,bs(d));if(typeof d=="string")return Vi(d);switch(d){case Pr:return Vi("Suspense");case bn:return Vi("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case sr:return ta(d.render);case Wr:return ra(d.type,s,c);case Js:{var h=d,y=h._payload,D=h._init;try{return ra(D(y),s,c)}catch{}}}return""}var Sl={},na=t.ReactDebugCurrentFrame;function Da(d){if(d){var s=d._owner,c=ra(d.type,d._source,s?s.type:null);na.setExtraStackFrame(c)}else na.setExtraStackFrame(null)}function du(d,s,c,h,y){{var D=Function.call.bind(J);for(var F in d)if(D(d,F)){var W=void 0;try{if(typeof d[F]!="function"){var ie=Error((h||"React class")+": "+c+" type `"+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[F]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ie.name="Invariant Violation",ie}W=d[F](s,F,h,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Se){W=Se}W&&!(W instanceof Error)&&(Da(y),i("%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).",h||"React class",c,F,typeof W),Da(null)),W instanceof Error&&!(W.message in Sl)&&(Sl[W.message]=!0,Da(y),i("Failed %s type: %s",c,W.message),Da(null))}}}var cn;cn={};var Ln={};Object.freeze(Ln);function Go(d,s){{var c=d.contextTypes;if(!c)return Ln;var h={};for(var y in c)h[y]=s[y];{var D=ln(d)||"Unknown";du(c,h,"context",D)}return h}}function dc(d,s,c,h){{if(typeof d.getChildContext!="function"){{var y=ln(s)||"Unknown";cn[y]||(cn[y]=!0,i("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",y,y))}return c}var D=d.getChildContext();for(var F in D)if(!(F in h))throw new Error((ln(s)||"Unknown")+'.getChildContext(): key "'+F+'" is not defined in childContextTypes.');{var W=ln(s)||"Unknown";du(h,D,"child context",W)}return ki({},c,D)}}var Zo;Zo={};var Cl=null,io=null;function Ko(d){d.context._currentValue=d.parentValue}function ia(d){d.context._currentValue=d.value}function oo(d,s){if(d!==s){Ko(d);var c=d.parent,h=s.parent;if(c===null){if(h!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(h===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");oo(c,h)}ia(s)}}function Io(d){Ko(d);var s=d.parent;s!==null&&Io(s)}function oa(d){var s=d.parent;s!==null&&oa(s),ia(d)}function Oa(d,s){Ko(d);var c=d.parent;if(c===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");c.depth===s.depth?oo(c,s):Oa(c,s)}function _s(d,s){var c=s.parent;if(c===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");d.depth===c.depth?oo(d,c):_s(d,c),ia(s)}function Yo(d){var s=io,c=d;s!==c&&(s===null?oa(c):c===null?Io(s):s.depth===c.depth?oo(s,c):s.depth>c.depth?Oa(s,c):_s(s,c),io=c)}function hc(d,s){var c;c=d._currentValue,d._currentValue=s,d._currentRenderer!==void 0&&d._currentRenderer!==null&&d._currentRenderer!==Zo&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),d._currentRenderer=Zo;var h=io,y={parent:h,depth:h===null?0:h.depth+1,context:d,parentValue:c,value:s};return io=y,y}function ff(d){var s=io;if(s===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");s.context!==d&&i("The parent context is not the expected context. This is probably a bug in React.");{var c=s.parentValue;c===cf?s.context._currentValue=s.context._defaultValue:s.context._currentValue=c,d._currentRenderer!==void 0&&d._currentRenderer!==null&&d._currentRenderer!==Zo&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),d._currentRenderer=Zo}return io=s.parent}function hu(){return io}function sa(d){var s=d._currentValue;return s}function Xo(d){return d._reactInternals}function xs(d,s){d._reactInternals=s}var Pa={},U={},Lo,Mo,ii,br,wl,Na,Al,so,pc;{Lo=new Set,Mo=new Set,ii=new Set,Al=new Set,br=new Set,so=new Set,pc=new Set;var pu=new Set;Na=function(d,s){if(!(d===null||typeof d=="function")){var c=s+"_"+d;pu.has(c)||(pu.add(c),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s,d))}},wl=function(d,s){if(s===void 0){var c=ln(d)||"Component";br.has(c)||(br.add(c),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",c))}}}function gu(d,s){{var c=d.constructor,h=c&&ln(c)||"ReactClass",y=h+"."+s;if(Pa[y])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
134
134
|
|
135
|
-
Please check the code for the %s component.`,s,s,h),Pa[y]=!0}}var mu={isMounted:function(d){return!1},enqueueSetState:function(d,s,c){var h=Xo(d);h.queue===null?gu(d,"setState"):(h.queue.push(s),c!=null&&Na(c,"setState"))},enqueueReplaceState:function(d,s,c){var h=Xo(d);h.replace=!0,h.queue=[s],c!=null&&Na(c,"setState")},enqueueForceUpdate:function(d,s){var c=Xo(d);c.queue===null?gu(d,"forceUpdate"):s!=null&&Na(s,"setState")}};function df(d,s,c,h,y){var D=c(y,h);wl(s,D);var F=D==null?h:ki({},h,D);return F}function ao(d,s,c){var h=Ln,y=d.contextType;if("contextType"in d){var D=y===null||y!==void 0&&y.$$typeof===Pt&&y._context===void 0;if(!D&&!pc.has(d)){pc.add(d);var F="";y===void 0?F=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?F=" However, it is set to a "+typeof y+".":y.$$typeof===
|
135
|
+
Please check the code for the %s component.`,s,s,h),Pa[y]=!0}}var mu={isMounted:function(d){return!1},enqueueSetState:function(d,s,c){var h=Xo(d);h.queue===null?gu(d,"setState"):(h.queue.push(s),c!=null&&Na(c,"setState"))},enqueueReplaceState:function(d,s,c){var h=Xo(d);h.replace=!0,h.queue=[s],c!=null&&Na(c,"setState")},enqueueForceUpdate:function(d,s){var c=Xo(d);c.queue===null?gu(d,"forceUpdate"):s!=null&&Na(s,"setState")}};function df(d,s,c,h,y){var D=c(y,h);wl(s,D);var F=D==null?h:ki({},h,D);return F}function ao(d,s,c){var h=Ln,y=d.contextType;if("contextType"in d){var D=y===null||y!==void 0&&y.$$typeof===Pt&&y._context===void 0;if(!D&&!pc.has(d)){pc.add(d);var F="";y===void 0?F=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?F=" However, it is set to a "+typeof y+".":y.$$typeof===Oe?F=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?F=" Did you accidentally pass the Context.Consumer instead?":F=" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ln(d)||"Component",F)}}typeof y=="object"&&y!==null?h=sa(y):h=c;var W=new d(s,h);{if(typeof d.getDerivedStateFromProps=="function"&&(W.state===null||W.state===void 0)){var ie=ln(d)||"Component";Lo.has(ie)||(Lo.add(ie),i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",ie,W.state===null?"null":"undefined",ie))}if(typeof d.getDerivedStateFromProps=="function"||typeof W.getSnapshotBeforeUpdate=="function"){var Se=null,Je=null,lt=null;if(typeof W.componentWillMount=="function"&&W.componentWillMount.__suppressDeprecationWarning!==!0?Se="componentWillMount":typeof W.UNSAFE_componentWillMount=="function"&&(Se="UNSAFE_componentWillMount"),typeof W.componentWillReceiveProps=="function"&&W.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Je="componentWillReceiveProps":typeof W.UNSAFE_componentWillReceiveProps=="function"&&(Je="UNSAFE_componentWillReceiveProps"),typeof W.componentWillUpdate=="function"&&W.componentWillUpdate.__suppressDeprecationWarning!==!0?lt="componentWillUpdate":typeof W.UNSAFE_componentWillUpdate=="function"&&(lt="UNSAFE_componentWillUpdate"),Se!==null||Je!==null||lt!==null){var Rt=ln(d)||"Component",tr=typeof d.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ii.has(Rt)||(ii.add(Rt),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
136
136
|
|
137
137
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
138
138
|
|
@@ -153,13 +153,13 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
153
153
|
Previous: %s
|
154
154
|
Incoming: %s`,Gi,"["+d.join(", ")+"]","["+s.join(", ")+"]");for(var c=0;c<s.length&&c<d.length;c++)if(!Rr(d[c],s[c]))return!1;return!0}function bc(){if(lo>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Li(){return Nr===null?Ss===null?(Jo=!1,Ss=Nr=bc()):(Jo=!0,Nr=Ss):Nr.next===null?(Jo=!1,Nr=Nr.next=bc()):(Jo=!0,Nr=Nr.next),Nr}function _c(d,s){Ri=s,aa=d,fi=!1,mi=0}function ws(d,s,c,h){for(;ja;)ja=!1,mi=0,lo+=1,Nr=null,c=d(s,h);return xc(),c}function di(){var d=mi!==0;return d}function xc(){fi=!1,Ri=null,aa=null,ja=!1,Ss=null,lo=0,Ii=null,Nr=null}function Sc(d){return fi&&i("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()."),sa(d)}function Cc(d){return Gi="useContext",Cs(),sa(d)}function As(d,s){return typeof s=="function"?s(d):s}function Qo(d){return Gi="useState",wc(As,d)}function wc(d,s,c){if(d!==As&&(Gi="useReducer"),Ri=Cs(),Nr=Li(),Jo){var h=Nr.queue,y=h.dispatch;if(Ii!==null){var D=Ii.get(h);if(D!==void 0){Ii.delete(h);var F=Nr.memoizedState,W=D;do{var ie=W.action;fi=!0,F=d(F,ie),fi=!1,W=W.next}while(W!==null);return Nr.memoizedState=F,[F,y]}}return[Nr.memoizedState,y]}else{fi=!0;var Se;d===As?Se=typeof s=="function"?s():s:Se=c!==void 0?c(s):s,fi=!1,Nr.memoizedState=Se;var Je=Nr.queue={last:null,dispatch:null},lt=Je.dispatch=bu.bind(null,Ri,Je);return[Nr.memoizedState,lt]}}function yu(d,s){Ri=Cs(),Nr=Li();var c=s===void 0?null:s;if(Nr!==null){var h=Nr.memoizedState;if(h!==null&&c!==null){var y=h[1];if(vu(c,y))return h[0]}}fi=!0;var D=d();return fi=!1,Nr.memoizedState=[D,c],D}function kl(d){Ri=Cs(),Nr=Li();var s=Nr.memoizedState;if(s===null){var c={current:d};return Object.seal(c),Nr.memoizedState=c,c}else return s}function bf(d,s){Gi="useLayoutEffect",i("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 bu(d,s,c){if(lo>=yc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(d===Ri){ja=!0;var h={action:c,next:null};Ii===null&&(Ii=new Map);var y=Ii.get(s);if(y===void 0)Ii.set(s,h);else{for(var D=y;D.next!==null;)D=D.next;D.next=h}}}function Un(d,s){return yu(function(){return d},s)}function Ac(d,s,c){return Cs(),s(d._source)}function _u(d,s,c){if(c===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()}function Mi(d){return Cs(),d}function Rl(){throw new Error("startTransition cannot be called during server rendering.")}function la(){return Cs(),[!1,Rl]}function es(){var d=aa,s=Do(d.treeContext),c=Ts;if(c===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var h=mi++;return An(c,s,h)}function Ba(){}var Pn={readContext:Sc,useContext:Cc,useMemo:yu,useReducer:wc,useRef:kl,useState:Qo,useInsertionEffect:Ba,useLayoutEffect:bf,useCallback:Un,useImperativeHandle:Ba,useEffect:Ba,useDebugValue:Ba,useDeferredValue:Mi,useTransition:la,useId:es,useMutableSource:Ac,useSyncExternalStore:_u},Ts=null;function Il(d){Ts=d}function ca(d){try{var s="",c=d;do{switch(c.tag){case 0:s+=Vi(c.type,null,null);break;case 1:s+=ta(c.type,null,null);break;case 2:s+=fu(c.type,null,null);break}c=c.parent}while(c);return s}catch(h){return`
|
155
155
|
Error generating stack: `+h.message+`
|
156
|
-
`+h.stack}}var Ll=t.ReactCurrentDispatcher,ua=t.ReactDebugCurrentFrame,Ml=0,co=1,Dl=2,Es=3,xu=4,Ha=0,fa=1,da=2,Tc=12800;function Su(d){return console.error(d),null}function ks(){}function Ol(d,s,c,h,y,D,F,W,ie){var Se=[],Je=new Set,lt={destination:null,responseState:s,progressiveChunkSize:h===void 0?Tc:h,status:Ha,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Je,pingedTasks:Se,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:y===void 0?Su:y,onAllReady:D===void 0?ks:D,onShellReady:F===void 0?ks:F,onShellError:W===void 0?ks:W,onFatalError:ie===void 0?ks:ie},Rt=qa(lt,0,null,c,!1,!1);Rt.parentFlushed=!0;var tr=Po(lt,d,null,Rt,Je,Ln,Cl,gf);return Se.push(tr),lt}function Oo(d,s){var c=d.pingedTasks;c.push(s),c.length===1&&u(function(){return Fc(d)})}function Pl(d,s){return{id:Ci,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null}}function Po(d,s,c,h,y,D,F,W){d.allPendingTasks++,c===null?d.pendingRootTasks++:c.pendingTasks++;var ie={node:s,ping:function(){return Oo(d,ie)},blockedBoundary:c,blockedSegment:h,abortSet:y,legacyContext:D,context:F,treeContext:W};return ie.componentStack=null,y.add(ie),ie}function qa(d,s,c,h,y,D){return{status:Ml,id:-1,index:s,parentFlushed:!1,chunks:[],children:[],formatContext:h,boundary:c,lastPushedText:y,textEmbedded:D}}var Zi=null;function Ki(){return Zi===null||Zi.componentStack===null?"":ca(Zi.componentStack)}function uo(d,s){d.componentStack={tag:0,parent:d.componentStack,type:s}}function za(d,s){d.componentStack={tag:1,parent:d.componentStack,type:s}}function ts(d,s){d.componentStack={tag:2,parent:d.componentStack,type:s}}function Yi(d){d.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):d.componentStack=d.componentStack.parent}var ha=null;function Nl(d,s){{var c;typeof s=="string"?c=s:s&&typeof s.message=="string"?c=s.message:c=String(s);var h=ha||Ki();ha=null,d.errorMessage=c,d.errorComponentStack=h}}function $a(d,s){var c=d.onError(s);if(c!=null&&typeof c!="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 c+'" instead');return c}function pa(d,s){var c=d.onShellError;c(s);var h=d.onFatalError;h(s),d.destination!==null?(d.status=da,L(d.destination,s)):(d.status=fa,d.fatalError=s)}function Cu(d,s,c){uo(s,"Suspense");var h=s.blockedBoundary,y=s.blockedSegment,D=c.fallback,F=c.children,W=new Set,ie=Pl(d,W),Se=y.chunks.length,Je=qa(d,Se,ie,y.formatContext,!1,!1);y.children.push(Je),y.lastPushedText=!1;var lt=qa(d,0,null,y.formatContext,!1,!1);lt.parentFlushed=!0,s.blockedBoundary=ie,s.blockedSegment=lt;try{if(rs(d,s,F),pn(lt.chunks,d.responseState,lt.lastPushedText,lt.textEmbedded),lt.status=co,ns(ie,lt),ie.pendingTasks===0){Yi(s);return}}catch(tr){lt.status=xu,ie.forceClientRender=!0,ie.errorDigest=$a(d,tr),Nl(ie,tr)}finally{s.blockedBoundary=h,s.blockedSegment=y}var Rt=Po(d,D,h,Je,W,s.legacyContext,s.context,s.treeContext);Rt.componentStack=s.componentStack,d.pingedTasks.push(Rt),Yi(s)}function Ec(d,s,c,h){uo(s,c);var y=s.blockedSegment,D=gr(y.chunks,c,h,d.responseState,y.formatContext);y.lastPushedText=!1;var F=y.formatContext;y.formatContext=Si(F,c,h),rs(d,s,D),y.formatContext=F,Tr(y.chunks,c),y.lastPushedText=!1,Yi(s)}function kc(d){return d.prototype&&d.prototype.isReactComponent}function Rs(d,s,c,h,y){var D={};_c(s,D);var F=c(h,y);return ws(c,h,F,y)}function Rc(d,s,c,h,y){var D=c.render();c.props!==y&&(Lc||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ln(h)||"a component"),Lc=!0);{var F=h.childContextTypes;if(F!=null){var W=s.legacyContext,ie=dc(c,h,W,F);s.legacyContext=ie,oi(d,s,D),s.legacyContext=W;return}}oi(d,s,D)}function Fl(d,s,c,h){ts(s,c);var y=Go(c,s.legacyContext),D=ao(c,h,y);Fa(D,c,h,y),Rc(d,s,D,c,h),Yi(s)}var mr={},Ua={},Ic={},Is={},Lc=!1,wu=!1,Mc=!1,Di=!1;function _f(d,s,c,h){var y;if(y=Go(c,s.legacyContext),za(s,c),c.prototype&&typeof c.prototype.render=="function"){var D=ln(c)||"Unknown";mr[D]||(i("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.",D,D),mr[D]=!0)}var F=Rs(d,s,c,h,y),W=di();if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){var ie=ln(c)||"Unknown";Ua[ie]||(i("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.",ie,ie,ie),Ua[ie]=!0)}if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){{var Se=ln(c)||"Unknown";Ua[Se]||(i("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.",Se,Se,Se),Ua[Se]=!0)}Fa(F,c,h,y),Rc(d,s,F,c,h)}else if(jl(c),W){var Je=s.treeContext,lt=1,Rt=0;s.treeContext=mc(Je,lt,Rt);try{oi(d,s,F)}finally{s.treeContext=Je}}else oi(d,s,F);Yi(s)}function jl(d){{if(d&&d.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",d.displayName||d.name||"Component"),typeof d.getDerivedStateFromProps=="function"){var s=ln(d)||"Unknown";Is[s]||(i("%s: Function components do not support getDerivedStateFromProps.",s),Is[s]=!0)}if(typeof d.contextType=="object"&&d.contextType!==null){var c=ln(d)||"Unknown";Ic[c]||(i("%s: Function components do not support contextType.",c),Ic[c]=!0)}}}function Bl(d,s){if(d&&d.defaultProps){var c=ki({},s),h=d.defaultProps;for(var y in h)c[y]===void 0&&(c[y]=h[y]);return c}return s}function Au(d,s,c,h,y){za(s,c.render);var D=Rs(d,s,c.render,h,y),F=di();if(F){var W=s.treeContext,ie=1,Se=0;s.treeContext=mc(W,ie,Se);try{oi(d,s,D)}finally{s.treeContext=W}}else oi(d,s,D);Yi(s)}function Hl(d,s,c,h,y){var D=c.type,F=Bl(D,h);Wa(d,s,D,F,y)}function Oi(d,s,c,h){c._context===void 0?c!==c.Consumer&&(Di||(Di=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var y=h.children;typeof y!="function"&&i("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 D=sa(c),F=y(D);oi(d,s,F)}function Tn(d,s,c,h){var y=c._context,D=h.value,F=h.children,W;W=s.context,s.context=hc(y,D),oi(d,s,F),s.context=ff(y),W!==s.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Dc(d,s,c,h,y){uo(s,"Lazy");var D=c._payload,F=c._init,W=F(D),ie=Bl(W,h);Wa(d,s,W,ie,y),Yi(s)}function Wa(d,s,c,h,y){if(typeof c=="function")if(kc(c)){Fl(d,s,c,h);return}else{_f(d,s,c,h);return}if(typeof c=="string"){Ec(d,s,c,h);return}switch(c){case bl:case Bi:case ve:case Ve:case Ao:{oi(d,s,h.children);return}case bn:{uo(s,"SuspenseList"),oi(d,s,h.children),Yi(s);return}case uu:throw new Error("ReactDOMServer does not yet support scope components.");case Pr:{Cu(d,s,h);return}}if(typeof c=="object"&&c!==null)switch(c.$$typeof){case sr:{Au(d,s,c,h,y);return}case Wr:{Hl(d,s,c,h,y);return}case Pe:{Tn(d,s,c,h);return}case Pt:{Oi(d,s,c,h);return}case Js:{Dc(d,s,c,h);return}}var D="";throw(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(D+=" 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: "+(c==null?c:typeof c)+"."+D))}function ql(d,s){typeof Symbol=="function"&&d[Symbol.toStringTag]==="Generator"&&(wu||i("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."),wu=!0),d.entries===s&&(Mc||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Mc=!0)}function oi(d,s,c){try{return Oc(d,s,c)}catch(h){throw typeof h=="object"&&h!==null&&typeof h.then=="function"||(ha=ha!==null?ha:Ki()),h}}function Oc(d,s,c){if(s.node=c,typeof c=="object"&&c!==null){switch(c.$$typeof){case cu:{var h=c,y=h.type,D=h.props,F=h.ref;Wa(d,s,y,D,F);return}case yl: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 Js:{var W=c,ie=W._payload,Se=W._init,Je;try{Je=Se(ie)}catch(po){throw typeof po=="object"&&po!==null&&typeof po.then=="function"&&uo(s,"Lazy"),po}oi(d,s,Je);return}}if(jt(c)){Pc(d,s,c);return}var lt=Wo(c);if(lt){ql(c,lt);var Rt=lt.call(c);if(Rt){var tr=Rt.next();if(!tr.done){var Dr=[];do Dr.push(tr.value),tr=Rt.next();while(!tr.done);Pc(d,s,Dr);return}return}}var Wn=Object.prototype.toString.call(c);throw new Error("Objects are not valid as a React child (found: "+(Wn==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":Wn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof c=="string"){var is=s.blockedSegment;is.lastPushedText=sn(s.blockedSegment.chunks,c,d.responseState,is.lastPushedText);return}if(typeof c=="number"){var ho=s.blockedSegment;ho.lastPushedText=sn(s.blockedSegment.chunks,""+c,d.responseState,ho.lastPushedText);return}typeof c=="function"&&i("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 Pc(d,s,c){for(var h=c.length,y=0;y<h;y++){var D=s.treeContext;s.treeContext=mc(D,h,y);try{rs(d,s,c[y])}finally{s.treeContext=D}}}function zl(d,s,c){var h=s.blockedSegment,y=h.chunks.length,D=qa(d,y,null,h.formatContext,h.lastPushedText,!0);h.children.push(D),h.lastPushedText=!1;var F=Po(d,s.node,s.blockedBoundary,D,s.abortSet,s.legacyContext,s.context,s.treeContext);s.componentStack!==null&&(F.componentStack=s.componentStack.parent);var W=F.ping;c.then(W,W)}function rs(d,s,c){var h=s.blockedSegment.formatContext,y=s.legacyContext,D=s.context,F=null;F=s.componentStack;try{return oi(d,s,c)}catch(W){if(xc(),typeof W=="object"&&W!==null&&typeof W.then=="function"){zl(d,s,W),s.blockedSegment.formatContext=h,s.legacyContext=y,s.context=D,Yo(D),s.componentStack=F;return}else throw s.blockedSegment.formatContext=h,s.legacyContext=y,s.context=D,Yo(D),s.componentStack=F,W}}function No(d,s,c,h){var y=$a(d,h);if(s===null?pa(d,h):(s.pendingTasks--,s.forceClientRender||(s.forceClientRender=!0,s.errorDigest=y,Nl(s,h),s.parentFlushed&&d.clientRenderedBoundaries.push(s))),d.allPendingTasks--,d.allPendingTasks===0){var D=d.onAllReady;D()}}function xf(d){var s=this,c=d.blockedBoundary,h=d.blockedSegment;h.status=Es,ga(s,c,h)}function fo(d,s,c){var h=d.blockedBoundary,y=d.blockedSegment;if(y.status=Es,h===null)s.allPendingTasks--,s.status!==da&&(s.status=da,s.destination!==null&&_(s.destination));else{if(h.pendingTasks--,!h.forceClientRender){h.forceClientRender=!0;var D=c===void 0?new Error("The render was aborted by the server without a reason."):c;h.errorDigest=s.onError(D);{var F="The server did not finish this Suspense boundary: ";D&&typeof D.message=="string"?D=F+D.message:D=F+String(D);var W=Zi;Zi=d;try{Nl(h,D)}finally{Zi=W}}h.parentFlushed&&s.clientRenderedBoundaries.push(h)}if(h.fallbackAbortableTasks.forEach(function(Se){return fo(Se,s,c)}),h.fallbackAbortableTasks.clear(),s.allPendingTasks--,s.allPendingTasks===0){var ie=s.onAllReady;ie()}}}function ns(d,s){if(s.chunks.length===0&&s.children.length===1&&s.children[0].boundary===null){var c=s.children[0];c.id=s.id,c.parentFlushed=!0,c.status===co&&ns(d,c)}else{var h=d.completedSegments;h.push(s)}}function ga(d,s,c){if(s===null){if(c.parentFlushed){if(d.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");d.completedRootSegment=c}if(d.pendingRootTasks--,d.pendingRootTasks===0){d.onShellError=ks;var h=d.onShellReady;h()}}else if(s.pendingTasks--,!s.forceClientRender){if(s.pendingTasks===0)c.parentFlushed&&c.status===co&&ns(s,c),s.parentFlushed&&d.completedBoundaries.push(s),s.fallbackAbortableTasks.forEach(xf,d),s.fallbackAbortableTasks.clear();else if(c.parentFlushed&&c.status===co){ns(s,c);var y=s.completedSegments;y.length===1&&s.parentFlushed&&d.partialBoundaries.push(s)}}if(d.allPendingTasks--,d.allPendingTasks===0){var D=d.onAllReady;D()}}function Nc(d,s){var c=s.blockedSegment;if(c.status===Ml){Yo(s.context);var h=null;h=Zi,Zi=s;try{oi(d,s,s.node),pn(c.chunks,d.responseState,c.lastPushedText,c.textEmbedded),s.abortSet.delete(s),c.status=co,ga(d,s.blockedBoundary,c)}catch(D){if(xc(),typeof D=="object"&&D!==null&&typeof D.then=="function"){var y=s.ping;D.then(y,y)}else s.abortSet.delete(s),c.status=xu,No(d,s.blockedBoundary,c,D)}finally{Zi=h}}}function Fc(d){if(d.status!==da){var s=hu(),c=Ll.current;Ll.current=Pn;var h;h=ua.getCurrentStack,ua.getCurrentStack=Ki;var y=Ts;Il(d.responseState);try{var D=d.pingedTasks,F;for(F=0;F<D.length;F++){var W=D[F];Nc(d,W)}D.splice(0,F),d.destination!==null&&si(d,d.destination)}catch(ie){$a(d,ie),pa(d,ie)}finally{Il(y),Ll.current=c,ua.getCurrentStack=h,c===Pn&&Yo(s)}}}function Va(d,s,c){switch(c.parentFlushed=!0,c.status){case Ml:{var h=c.id=d.nextSegmentId++;return c.lastPushedText=!1,c.textEmbedded=!1,Br(s,d.responseState,h)}case co:{c.status=Dl;for(var y=!0,D=c.chunks,F=0,W=c.children,ie=0;ie<W.length;ie++){for(var Se=W[ie];F<Se.index;F++)w(s,D[F]);y=$l(d,s,Se)}for(;F<D.length-1;F++)w(s,D[F]);return F<D.length&&(y=b(s,D[F])),y}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function $l(d,s,c){var h=c.boundary;if(h===null)return Va(d,s,c);if(h.parentFlushed=!0,h.forceClientRender)return $n(s,d.responseState,h.errorDigest,h.errorMessage,h.errorComponentStack),Va(d,s,c),Ea(s,d.responseState);if(h.pendingTasks>0){h.rootSegmentID=d.nextSegmentId++,h.completedSegments.length>0&&d.partialBoundaries.push(h);var y=h.id=kn(d.responseState);return So(s,d.responseState,y),Va(d,s,c),Ai(s,d.responseState)}else{if(h.byteSize>d.progressiveChunkSize)return h.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(h),So(s,d.responseState,h.id),Va(d,s,c),Ai(s,d.responseState);Wi(s,d.responseState);var D=h.completedSegments;if(D.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var F=D[0];return $l(d,s,F),Kr(s,d.responseState)}}function jc(d,s,c){return au(s,d.responseState,c.id,c.errorDigest,c.errorMessage,c.errorComponentStack)}function Ga(d,s,c){return ar(s,d.responseState,c.formatContext,c.id),$l(d,s,c),Gr(s,c.formatContext)}function Tu(d,s,c){for(var h=c.completedSegments,y=0;y<h.length;y++){var D=h[y];Bc(d,s,c,D)}return h.length=0,Ra(s,d.responseState,c.id,c.rootSegmentID)}function Eu(d,s,c){for(var h=c.completedSegments,y=0;y<h.length;y++){var D=h[y];if(!Bc(d,s,c,D))return y++,h.splice(0,y),!1}return h.splice(0,y),!0}function Bc(d,s,c,h){if(h.status===Dl)return!0;var y=h.id;if(y===-1){var D=h.id=c.rootSegmentID;if(D===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ga(d,s,h)}else return Ga(d,s,h),of(s,d.responseState,y)}function si(d,s){R();try{var c=d.completedRootSegment;c!==null&&d.pendingRootTasks===0&&($l(d,s,c),d.completedRootSegment=null,Jr(s,d.responseState));var h=d.clientRenderedBoundaries,y;for(y=0;y<h.length;y++){var D=h[y];jc(d,s,D)}h.splice(0,y);var F=d.completedBoundaries;for(y=0;y<F.length;y++){var W=F[y];Tu(d,s,W)}F.splice(0,y),S(s),R(s);var ie=d.partialBoundaries;for(y=0;y<ie.length;y++){var Se=ie[y];if(!Eu(d,s,Se)){d.destination=null,y++,ie.splice(0,y);return}}ie.splice(0,y);var Je=d.completedBoundaries;for(y=0;y<Je.length;y++){var lt=Je[y];Tu(d,s,lt)}Je.splice(0,y)}finally{S(s),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&(d.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),_(s))}}function Xi(d){u(function(){return Fc(d)})}function Sf(d,s){if(d.status===fa){d.status=da,L(s,d.fatalError);return}if(d.status!==da&&d.destination===null){d.destination=s;try{si(d,s)}catch(c){$a(d,c),pa(d,c)}}}function ku(d,s){try{var c=d.abortableTasks;c.forEach(function(h){return fo(h,d,s)}),c.clear(),d.destination!==null&&si(d,d.destination)}catch(h){$a(d,h),pa(d,h)}}function Ul(d,s){return new Promise(function(c,h){var y,D,F=new Promise(function(Rt,tr){D=Rt,y=tr});function W(){var Rt=new ReadableStream({type:"bytes",pull:function(tr){Sf(Se,tr)},cancel:function(tr){ku(Se)}},{highWaterMark:0});Rt.allReady=F,c(Rt)}function ie(Rt){F.catch(function(){}),h(Rt)}var Se=Ol(d,Cn(s?s.identifierPrefix:void 0,s?s.nonce:void 0,s?s.bootstrapScriptContent:void 0,s?s.bootstrapScripts:void 0,s?s.bootstrapModules:void 0),hi(s?s.namespaceURI:void 0),s?s.progressiveChunkSize:void 0,s?s.onError:void 0,D,W,ie,y);if(s&&s.signal){var Je=s.signal,lt=function(){ku(Se,Je.reason),Je.removeEventListener("abort",lt)};Je.addEventListener("abort",lt)}Xi(Se)})}Ad.renderToReadableStream=Ul,Ad.version=e}()),Ad}var Xv;function V4(){if(Xv)return Vl;Xv=1;var r,e;return process.env.NODE_ENV==="production"?(r=z4(),e=$4()):(r=U4(),e=W4()),Vl.version=r.version,Vl.renderToString=r.renderToString,Vl.renderToStaticMarkup=r.renderToStaticMarkup,Vl.renderToNodeStream=r.renderToNodeStream,Vl.renderToStaticNodeStream=r.renderToStaticNodeStream,Vl.renderToReadableStream=e.renderToReadableStream,Vl}var X_=V4();const Ns=al(X_);function Nf(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}const Zc={_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 i,l,u,f,g,m;const t=`${r}|${e}`;if(this._charWidthMap.has(t))return this._charWidthMap.get(t);try{this._canvas||(this._canvas=document.createElement("canvas"));const R=this._canvas.getContext("2d");if(R){R.font=e;const w=R.measureText(r).width;return this._charWidthMap.set(t,w),w}}catch{}let n;return r===" "?n=parseInt(((i=e.match(/(\d+)px/))==null?void 0:i[1])||"14")/3:/^[A-Z]$/.test(r)?n=parseInt(((l=e.match(/(\d+)px/))==null?void 0:l[1])||"14")*.67:/^[a-z]$/.test(r)?n=parseInt(((u=e.match(/(\d+)px/))==null?void 0:u[1])||"14")*.5:/^\d$/.test(r)?n=parseInt(((f=e.match(/(\d+)px/))==null?void 0:f[1])||"14")*.6:/^[.,;:!?]$/.test(r)?n=parseInt(((g=e.match(/(\d+)px/))==null?void 0:g[1])||"14")*.25:n=parseInt(((m=e.match(/(\d+)px/))==null?void 0:m[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(A.isValidElement(r))try{const t=X_.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 l;if(!r)return 0;const t=e||this.getDefaultFont(),n=`${r}|${t}`,i=this._cache.get(n);if(i!==void 0)return i;try{this._canvas||(this._canvas=document.createElement("canvas"));const u=this._canvas.getContext("2d");if(u){u.font=t;const f=u.measureText(r),g=Math.ceil(f.width);return this._cache.size>=300&&[...this._cache.keys()].slice(0,50).forEach(R=>this._cache.delete(R)),this._cache.set(n,g),g}}catch{}try{const u=document.createElement("span");u.style.font=t,u.style.position="absolute",u.style.visibility="hidden",u.style.whiteSpace="nowrap",u.textContent=r,document.body.appendChild(u);const f=Math.ceil(u.getBoundingClientRect().width);return document.body.removeChild(u),this._cache.set(n,f),f}catch{}try{let u=0;for(let g=0;g<r.length;g++)u+=this.measureCharWidth(r[g],t);u*=.95;const f=Math.ceil(u);return this._cache.set(n,f),f}catch{}try{const u=parseInt(((l=t.match(/(\d+)px/))==null?void 0:l[1])||"14");let f=0;for(let m=0;m<r.length;m++){const R=r[m];R===" "?f+=.33:/^[A-Z]$/.test(R)?f+=.67:/^[a-z]$/.test(R)?f+=.5:/^\d$/.test(R)?f+=.6:/^[.,;:!?]$/.test(R)?f+=.25:f+=.67}const g=Math.ceil(f*u);return this._cache.set(n,g),g}catch{const f=r.length*10;return this._cache.set(n,f),f}},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:i="",optionRenderer:l,type:u="Primary",isMulti:f=!1}){if(!r.current)return 200;try{let g=0;if(e&&e.length>0){const S=[...e.length>0?[e[0]]:[],...e.length>1?[e[e.length-1]]:[],...e.length>10?Array.from({length:8},(M,E)=>e[Math.floor(E*e.length/8)]):e,...e.length>20?Array.from({length:5},()=>e[Math.floor(Math.random()*e.length)]):[]],_=Array.from(new Set(S.filter(Boolean)));for(const M of _){if(!M)continue;const E=this.measureRenderedOptionWidth(M,l);g=Math.max(g,E)}}let m=0;if(!f&&t)m=this.measureRenderedOptionWidth(t,l);else if(f&&n&&n.length){if(n.length===1)m=this.measureRenderedOptionWidth(n[0],l);else if(m=this.measureTextWidth(`${n.length} selected`),n.length>0){let S=0;for(const _ of n){const M=this.measureRenderedOptionWidth(_,l);S=Math.max(S,M)}m=Math.max(m,S)}}let R=0;i&&(R=this.measureReactNodeWidth(i));const b=Math.max(g,m,R,50);if(r.current){const S=window.getComputedStyle(r.current),_=parseFloat(S.paddingLeft||"0")+parseFloat(S.paddingRight||"0"),M=parseFloat(S.borderLeftWidth||"0")+parseFloat(S.borderRightWidth||"0"),E=u==="Primary"?30:20,x=f?24:0,L=Math.ceil(b*.05)+10;return Math.ceil(b+_+M+E+x+L)}return b+60}catch{return 200}}};var yi=(r=>(r.N="North",r.S="South",r.E="East",r.W="West",r))(yi||{}),ef=(r=>(r.N="North",r.NW="NorthWest",r.NE="NorthEast",r.S="South",r.SW="SouthWest",r.SE="SouthEast",r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(ef||{});function dm(r,e,t,n){if(!r.current||!e.current)return;const i=r.current.getBoundingClientRect(),l=e.current.getBoundingClientRect();let u={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":u=l?{bottom:window.innerHeight-i.top,left:i.left+i.width/2-l.width/2}:{bottom:window.innerHeight-i.top,left:i.left};break;case"NorthWest":u={bottom:window.innerHeight-i.top,left:i.left};break;case"NorthEast":u={bottom:window.innerHeight-i.top,right:window.innerWidth-i.left-i.width};break;case"South":u=l?{top:i.bottom,left:i.left+i.width/2-l.width/2}:{top:i.bottom,left:i.left};break;case"SouthWest":u={top:i.bottom,left:i.left};break;case"SouthEast":u={top:i.bottom,right:window.innerWidth-i.left-i.width};break;case"East":u=l?{top:i.top+i.height/2-l.height/2,left:i.right}:{top:i.top,left:i.right};break;case"EastNorth":u={bottom:window.innerHeight-i.top-i.height,left:i.right};break;case"EastSouth":u={top:i.top,left:i.right};break;case"West":u=l?{top:i.top+i.height/2-l.height/2,right:window.innerWidth-i.left}:{top:i.top,right:window.innerWidth-i.left};break;case"WestNorth":u={bottom:window.innerHeight-i.top-i.height,right:window.innerWidth-i.left};break;case"WestSouth":u={top:i.top,right:window.innerWidth-i.left};break;default:u={top:i.top,left:i.left}}n&&(n.x&&u.left&&(u.left+=n.x),n.y&&u.top&&(u.top+=n.y)),u=Q_(u,l),e.current.style.top=u.top+"px",e.current.style.left=u.left+"px",e.current.style.bottom=u.bottom+"px",e.current.style.right=u.right+"px"}function J_(r,e,t,n){if(!r)return;const i=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!i)return;const l=r.getBoundingClientRect(),u=i.getBoundingClientRect();let f={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":f=u?{bottom:window.innerHeight-l.top,left:l.left+l.width/2-u.width/2}:{bottom:window.innerHeight-l.top,left:l.left};break;case"NorthWest":f={bottom:window.innerHeight-l.top,left:l.left};break;case"NorthEast":f={bottom:window.innerHeight-l.top,right:window.innerWidth-l.left-l.width};break;case"South":f=u?{top:l.bottom,left:l.left+l.width/2-u.width/2}:{top:l.bottom,left:l.left};break;case"SouthWest":f={top:l.bottom,left:l.left};break;case"SouthEast":f={top:l.bottom,right:window.innerWidth-l.left-l.width};break;case"East":f=u?{top:l.top+l.height/2-u.height/2,left:l.right}:{top:l.top,left:l.right};break;case"EastNorth":f={bottom:window.innerHeight-l.top-l.height,left:l.right};break;case"EastSouth":f={top:l.top,left:l.right};break;case"West":f=u?{top:l.top+l.height/2-u.height/2,right:window.innerWidth-l.left}:{top:l.top,right:window.innerWidth-l.left};break;case"WestNorth":f={bottom:window.innerHeight-l.top-l.height,right:window.innerWidth-l.left};break;case"WestSouth":f={top:l.top,right:window.innerWidth-l.left};break;default:f={top:l.top,left:l.left}}return n&&(n.x&&f.left&&(f.left+=n.x),n.y&&f.top&&(f.top+=n.y)),f=Q_(f,u),i.style.top=f.top+"px",i.style.left=f.left+"px",i.style.bottom=f.bottom+"px",i.style.right=f.right+"px",f}function Q_(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 Gc(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const G4="_Tooltip_3l8se_1",Z4="_Arrow_3l8se_17",Jv={Tooltip:G4,Arrow:Z4},e2=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:i=10,direction:l=yi.S}=r,[u,f]=A.useState(!1),g=A.useRef(null),m=A.useRef(null),R=A.useRef(),w=A.useCallback(()=>{f(!0),R.current&&(clearTimeout(R.current),R.current=void 0);const M=setTimeout(()=>Qv(t,g,m,i,l),n);R.current=M},[t,n,i,l]),b=A.useCallback(()=>f(!1),[]);A.useEffect(()=>{const M=t.current;if(M)return M.addEventListener("mouseenter",w),M.addEventListener("mouseleave",b),()=>{M.removeEventListener("mouseenter",w),M.removeEventListener("mouseleave",b)}},[t,b,w]);const S=A.useCallback(()=>{Qv(t,g,m,i,l)},[t,i,l]);A.useEffect(()=>{if(!t.current||!g.current||!u)return;const M=t.current.parentElement;let E=M;for(;E;)E.addEventListener("scroll",S),E=E.parentElement;return()=>{let x=M;for(;x;)x.removeEventListener("scroll",S),x=x.parentElement}},[t,S,u]),A.useEffect(()=>{S()},[e,S]);const _=A.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!u||_?null:Hs.createPortal(v.jsxs("div",{className:Be.clsx(Jv.Tooltip,"NoSelect"),ref:g,children:[e,v.jsx("div",{ref:m,className:Jv.Arrow})]}),document.body)},Td="5px solid var(--ATooltip_background-color)";function Qv(r,e,t,n,i=yi.S){if(!r.current||!e.current||!t.current)return;const l=K4(r.current,e.current,n,i);if(!l)return;const{left:u,top:f,arrowDir:g,arrow:m}=l;e.current.style.left=`${u}px`,e.current.style.top=`${f}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",g===yi.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderBottom=Td):g===yi.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderTop=Td):g===yi.W?(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=Td):g===yi.E&&(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=Td)}const Gl=5;function K4(r,e,t,n){const i=r.getBoundingClientRect(),l=e.getBoundingClientRect();function u(){if(window.innerHeight-i.bottom>l.height+t){const R=i.bottom+t,w=i.left+(i.width-l.width)/2,b=Nf(w,Gl,window.innerWidth-Gl-l.width),S=yi.N;return{left:b,top:R,arrowDir:S,arrow:{left:w-b}}}}function f(){if(i.top>l.height+t){const R=i.top-l.height-t,w=i.left+(i.width-l.width)/2,b=Nf(w,Gl,window.innerWidth-Gl-l.width),S=yi.S;return{left:b,top:R,arrowDir:S,arrow:{left:w-b}}}}function g(){if(window.innerWidth-i.right>l.width+t){const R=i.right+t,w=i.top+(i.height-l.height)/2,b=Nf(w,Gl,window.innerHeight-Gl-l.height),S=yi.W;return{left:R,top:b,arrowDir:S,arrow:{top:w-b}}}}function m(){if(i.left>l.width+t){const R=i.left-l.width-t,w=i.top+(i.height-l.height)/2,b=Nf(w,Gl,window.innerHeight-Gl-l.height),S=yi.E;return{left:R,top:b,arrowDir:S,arrow:{top:w-b}}}}if(n===yi.E)return g()||m()||u()||f();if(n===yi.S)return u()||f()||g()||m();if(n===yi.W)return m()||g()||u()||f();if(n===yi.N)return f()||u()||g()||m()}const Y4="_ABase_xbi52_1",X4="_UseDimming_xbi52_6",J4="_Dimmer_xbi52_6",Q4="_Spinner_xbi52_9",e5="_Dimmed_xbi52_12",t5="_IsDimmed_xbi52_33",r5="_IsLoading_xbi52_38",n5="_IsDisabled_xbi52_43",Rf={ABase:Y4,UseDimming:X4,Dimmer:J4,Spinner:Q4,Dimmed:e5,IsDimmed:t5,IsLoading:r5,IsDisabled:n5},$r=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:i,isDimmed:l,tooltip:u,tooltipDistance:f=10,tooltipDelay:g=0,tooltipDirection:m=yi.S,...R}=r,w=A.useRef(null),b=A.useMemo(()=>t??w,[t]),S=A.useMemo(()=>typeof n=="string"&&n!==""?n:u!==void 0?u:"",[n,u]),_=A.useMemo(()=>n||i||l,[n,i,l]),M=A.useMemo(()=>n!==void 0||i!==void 0||l!==void 0,[n,i,l]);return v.jsxs("div",{...R,className:Be.clsx(R.className,Rf.ABase,M&&Rf.UseDimming,_&&Rf.Dimmed),ref:b,children:[e,M&&v.jsx("div",{className:Be.sclsx(Rf,"Dimmer",n&&"IsDisabled",i&&"IsLoading",l&&"IsDimmed")}),i&&v.jsx("div",{className:Be.sclsx(Rf,"Spinner",n&&"IsDisabled",i&&"IsLoading"),children:v.jsx(jr,{icon:"Spinner"})}),v.jsx(e2,{tooltip:S,delay:g,distance:f,direction:m,targetRef:b})]})},i5="_AButton_vulhu_1",o5="_Primary_vulhu_14",s5="_Secondary_vulhu_19",a5="_Alter_vulhu_24",l5="_AIconButton_vulhu_30",c5="_AThemeButton_vulhu_71",Zf={AButton:i5,Primary:o5,Secondary:s5,Alter:a5,AIconButton:l5,AThemeButton:c5},u5=["Primary","Secondary","Alter","Raw"],Fi=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...i}=r,l=A.useMemo(()=>i.isDisabled||i.isLoading,[i.isDisabled,i.isLoading]),u=A.useCallback(f=>{l||t==null||t(f)},[l,t]);return v.jsx($r,{...i,className:Be.clsx(i.className,Zf.AButton,e!=="Raw"&&Zf[e],"IsClickable",!l&&!n&&"IsInteractive"),onClick:u})},f5=["Primary","Secondary","Raw"],_i=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:i,isDisabled:l,isLoading:u,tooltip:f,className:g,...m}=r,R=A.useMemo(()=>l||u,[l,u]),w=A.useCallback(S=>{R||i==null||i(S)},[R,i]),b=A.useMemo(()=>fm.includes(e)?v.jsx(jr,{icon:e,size:t}):e,[e,t]);return v.jsx($r,{className:Be.clsx(Zf.AIconButton,!l&&!u&&"IsClickable",n!=="Raw"&&Zf[n],g),onClick:w,isDisabled:l,isLoading:u,tooltip:f,...m,children:b})};function nn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=A.useState(e);return A.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const d5={Ok:"Ok",Cancel:"Cancel"},h5={"select n":r=>v.jsxs(v.Fragment,{children:["Select ",r]}),"deselect n":r=>v.jsxs(v.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..."},p5={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"},g5={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"},m5={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},v5={"Checked n items":r=>v.jsxs(v.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>v.jsxs(v.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>v.jsxs(v.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>v.jsxs(v.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"},y5={"Select(Placeholder)":"Select"},b5={"Select(Placeholder)":"Select"},_5={"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","Image size adjust":"Image size adjust",Center:"Center",floatLeft:"Left",floatRight:"Right","Input on mouse down":"Input on mouse down",Restore:"Restore","Right click to open properties":"Right click to open properties",Default:"Default"},x5={Asterisk:"Required field"},S5={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)"},hn={ADialog:d5,ATree:h5,ADatePicker:p5,ADateRangePicker:g5,AFileBox:m5,ATable:v5,ASelect:y5,AMultiSelect:b5,AEditor:_5,AWrap:x5,AFileUploader:S5};function C5(r,e){er.keys(e).forEach(t=>{r[t]=e[t]})}const w5=(r,e)=>{C5(hn[r],e)},A5="_AWrap_16uyn_1",T5="_Label_16uyn_8",E5="_Asterisk_16uyn_19",k5="_HelperTextConatiner_16uyn_23",R5="_HelperText_16uyn_23",Du={AWrap:A5,Label:T5,Asterisk:E5,HelperTextConatiner:k5,HelperText:R5,Error:"_Error_16uyn_38"},I5=["Default","Error"],ec=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:i="Default",label:l,labelProps:u,children:f}=r,g=A.useRef(null),[m,R]=A.useState({height:0}),w=A.useRef(null),[b,S]=A.useMemo(()=>{let M=n,E=i;if(Array.isArray(t)){const x=t.filter(Boolean);x.length>0&&([M,E]=[x,"Error"])}else t&&([M,E]=[t,"Error"]);return Array.isArray(M)&&(E!=="Error"&&(M=M.filter(Boolean)),M=M.map((x,L)=>v.jsxs(A.Fragment,{children:[x,v.jsx("br",{})]},L))),[M,E]},[n,t,i]);A.useEffect(()=>{if(!b||!g.current)R({height:0});else{const M=g.current.getBoundingClientRect();R({height:M.height,marginTop:M.height===0?0:6})}},[b]);const _=A.useMemo(()=>{switch(typeof(u==null?void 0:u.prefix)){case"string":return v.jsx(jr,{width:"1rem",height:"1rem",icon:u.prefix});case"boolean":return v.jsx(jr,{width:10,height:10,icon:"Target"});default:return u==null?void 0:u.prefix}},[u==null?void 0:u.prefix]);return v.jsxs("div",{...e,className:Be.clsx(e==null?void 0:e.className,Du.AWrap),ref:w,children:[l&&v.jsxs("div",{className:Be.clsx(Du.Label,"NoSelect",u==null?void 0:u.className),style:u==null?void 0:u.style,children:[_,l,(u==null?void 0:u.asterisk)&&v.jsx($r,{tooltip:hn.AWrap.Asterisk,className:Du.Asterisk,children:"*"})]}),f,b!==void 0&&v.jsx("div",{className:Be.clsx(Du.HelperTextConatiner,"NoSelect"),style:m,children:v.jsx("div",{className:Be.clsx(Du.HelperText,Du[S]),ref:g,children:b})})]})},L5="_ASwitch_1uv2e_1",M5="_Track_1uv2e_6",D5="_Truthy_1uv2e_13",O5="_Thumb_1uv2e_17",If={ASwitch:L5,Track:M5,Truthy:D5,Thumb:O5},t2=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:i,...l}=r,[u,f]=nn(i,!1),g=A.useCallback(m=>{var R;l.isDisabled||l.isLoading||(f==null||f(!u),(R=l.onClick)==null||R.call(l,m))},[l,u,f]);return v.jsx(ec,{helperText:t,label:n,wrapProps:{...e},children:v.jsx($r,{...l,className:If.ASwitch,onClick:g,children:v.jsx("div",{className:Be.clsx(If.Track,u&&If.Truthy),children:v.jsx("div",{className:Be.clsx(If.Thumb,u&&If.Truthy)})})})})},P5={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","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","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"}}},xi=$_.cloneDeep(P5);er.keys(xi.semantic).forEach(r=>{const e=xi.semantic[r];er.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const oh=er.keys(xi.palette),r2=er.keys(xi.palette[oh[0]]);function N5(){return ai.paletteMode}function F5(r,e=ai.paletteMode){return xi.palette[e][r]}function j5(r){return ah(r)}const Zd=[];function n2(r){ai.paletteMode=r,r2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,xi.palette[r][e])),Zd.forEach(e=>e(r))}function i2(r,e="all"){er.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?oh.forEach(l=>{xi.palette[l][n]=i}):xi.palette[e][n]=i)})}const Gu=er.keys(xi.semantic),o2=er.keys(xi.semantic[Gu[0]]);function B5(){return ai.semanticMode}function H5(r,e=ai.semanticMode){return xi.semantic[e][r]}function q5(r){return ah(r)}const Kd=[];function hm(r){ai.semanticMode=r,document.documentElement.setAttribute("data-theme",r),o2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,xi.semantic[r][e])),Kd.forEach(e=>e(r)),ai.save==="localStorage"?localStorage.setItem("semanticMode",r):ai.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function s2(r,e=ai.semanticMode){er.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?Gu.forEach(l=>{xi.semantic[l][n]=i}):xi.semantic[e][n]=i)})}const a2=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition"],l2=["ABase_Dimming_background-color"],c2=["ATooltip_background-color","ATooltip_color"],u2=["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"],f2=["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"],d2=["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"],h2=["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"],p2=["ACheckBox_color"],g2=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],m2=["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"],v2=["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"],y2=["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"],b2=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],_2=["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"],x2=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],S2=["AListView_border-thin","AListView_border-thick"],C2=["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"],w2=["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"],A2=["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"],T2=["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"],E2=["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"],k2=["ADivideFrame_DividerInner_background-color"],R2=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],I2=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],L2=["AWrap_Error_color"],M2=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],D2=["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"],z5=[...a2,...l2,...c2,...u2,...f2,...d2,...h2,...p2,...g2,...m2,...v2,...y2,...b2,..._2,...x2,...S2,...C2,...w2,...A2,...T2,...E2,...k2,...R2,...I2,...L2,...M2,...D2],sh={"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","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 $5(r){return sh[r]}function U5(r){return ah(r)}function O2(r){er.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),sh[t]=n)})}function W5(r){er.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const i=xi.semantic[ai.semanticMode][n];i!==void 0&&(document.documentElement.style.setProperty(t,i),sh[t]=i)})}const ai={paletteMode:oh[0],semanticMode:Gu[0],save:"",followDeviceSetting:!1};function V5({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(ai.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),i=u=>{ai.semanticMode=u.matches?"dark":"light"};i(n);const l=u=>i(u);n.addEventListener("change",l)}if(e!==void 0){if(ai.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");Gu.includes(n)&&(ai.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");Gu.includes(n)&&(ai.semanticMode=n)}}r!==void 0&&(ai.semanticMode=r),n2(ai.paletteMode),hm(ai.semanticMode),i2(xi.palette[ai.paletteMode]),s2(xi.semantic[ai.semanticMode]),O2(sh)}function G5(r){r.type==="semanticModeChange"?Kd.push(r.listener):r.type==="paletteModeChange"?Zd.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function Z5(r){if(r.type==="semanticModeChange"){const e=Kd.indexOf(r.listener);e!==-1&&Kd.splice(e,1)}else if(r.type==="paletteModeChange"){const e=Zd.indexOf(r.listener);e!==-1&&Zd.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function ah(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function K5(r){Object.assign(Be.additionalClasses,r),Be.updateKeys(),Be.additionalClasses=Be.additionalClasses}const Ff={getCurrentPaletteMode:N5,getPaletteValue:F5,getPaletteDeepValue:j5,changePaletteMode:n2,editPalette:i2,getCurrentSemanticMode:B5,getSemanticValue:H5,getSemanticDeepValue:q5,changeSemanticMode:hm,editSemantic:s2,getComponentStyleValue:$5,getComponentStyleDeepValue:U5,editComponentStyle:O2,editComponentStyleWithSemantic:W5,init:V5,addEventListener:G5,removeEventListener:Z5,getDeepValue:ah,addClasses:K5},Y5=r=>{const{onChange:e,onClick:t,type:n="Icon",...i}=r,[l,u]=A.useState(Ff.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),f=A.useCallback(g=>{const m=Ff.getCurrentSemanticMode();let R="light";m==="light"?R="dark":m==="dark"&&(R="light"),Ff.changeSemanticMode(R),u(X5[R]),e==null||e(R),t==null||t(g)},[e,t]);if(n==="Icon")return v.jsx(_i,{...i,className:Be.clsx(Zf.AThemeButton,i.className,"IsInteractive"),type:"Raw",icon:l,onClick:f});if(n==="Switch")return v.jsx(t2,{...i,useCheck:[Ff.getCurrentSemanticMode()==="dark",f]})},X5={light:"Sun",dark:"Moon"},J5="_ACheckBoxWrap_1ozuz_1",Q5="_ACheckBox_1ozuz_1",e0={ACheckBoxWrap:J5,ACheckBox:Q5},Zu=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:i,onClick:l,...u}=r,[f,g]=nn(e,!1),m=A.useCallback(R=>{n||i||(g==null||g(!f),l==null||l(R))},[n,i,l,f,g]);return v.jsx($r,{...u,className:Be.clsx(u.className,e0.ACheckBoxWrap),isDisabled:n,isLoading:i,onClick:m,children:v.jsx(jr,{className:e0.ACheckBox,icon:t?"Check.Indeterminate":f?"Check.Checked":"Check.UnChecked"})})};function eT(r){return typeof r=="function"}function tT(r,e){return eT(r)?r(e):r}const Lr={getContent:tT},rT="_ARowFrame_1586b_1",nT="_AColFrame_1586b_7",iT="_AOverflowFrame_1586b_13",oT="_ADivideFrame_1586b_22",sT="_Row_1586b_28",aT="_Col_1586b_31",lT="_ChildFrame_1586b_35",cT="_IsReturning_1586b_48",uT="_Divider_1586b_52",fT="_IsMoving_1586b_60",dT="_DividerInner_1586b_66",hT="_IsClicked_1586b_91",qo={ARowFrame:rT,AColFrame:nT,AOverflowFrame:iT,ADivideFrame:oT,Row:sT,Col:aT,ChildFrame:lT,IsReturning:cT,Divider:uT,IsMoving:fT,DividerInner:dT,IsClicked:hT},Sn=r=>v.jsx($r,{...r,className:Be.clsx(qo.ARowFrame,r.className),children:r.children}),P2=r=>v.jsx("div",{...r,className:Be.clsx(qo.AColFrame,r.className),children:r.children}),Sa=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:i,className:l,noOverflowTooltip:u,...f}=r,g=A.useRef(null),m=A.useMemo(()=>n??g,[n]),[R,w]=A.useState(!1),b=A.useCallback(()=>w(!0),[]),S=A.useCallback(()=>w(!1),[]);A.useEffect(()=>{const M=m.current;if(M)return M.addEventListener("mouseenter",b),M.addEventListener("mouseleave",S),()=>{M.removeEventListener("mouseenter",b),M.removeEventListener("mouseleave",S)}},[m,b,S]);const _=A.useMemo(()=>i?"":u||!R||!m.current?e:m.current.scrollWidth>m.current.clientWidth?t:e,[m,i,t,e,u,R]);return v.jsx($r,{...f,isDisabled:i,children:t,abaseRef:m,tooltip:_,className:Be.clsx(qo.AOverflowFrame,l)})},N2=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:v.jsx(A.Suspense,{children:t[e]})},Yh={},pT=r=>{const{pk:e,direction:t="Row",lefts:n,minLength:i=40,children:l,childStyle:u,childClassName:f,dividerStyle:g,dividerClassName:m,dividerPadding:R,dividerInnerClassName:w,dividerInnerStyle:b,...S}=r,_=A.useMemo(()=>{let re;return typeof l=="object"&&Array.isArray(l)?re=l:re=[l],re=re.filter(de=>de!=null&&de!==!1),re},[l]),[M,E]=A.useState(e===void 0?n:Yh[e]??n),x=A.useMemo(()=>typeof i=="number"?Array(_.length).fill(i+(R??0)):i.map(re=>re+(R??0)),[i,_.length,R]),[L,O]=A.useState(),B=A.useMemo(()=>L!==void 0?L:M,[L,M]),H=A.useRef(null),z=A.useRef({x:0,y:0}),[K,ue]=A.useState(),J=A.useCallback((re,de)=>{if(H.current===null)return;const ge=H.current;z.current={x:re.clientX,y:re.clientY},O(M),ue(de);let ye=[...M];const ce=le=>{const se=ge.getBoundingClientRect(),pe=t==="Row"?se.left:se.top,Ne=t==="Row"?se.width:se.height;ye=vT(M,t,de,le,pe,Ne,x),O(ye)},Ae=()=>{ue(void 0),O(void 0),E(ye),e!==void 0&&(Yh[e]=ye),window.removeEventListener("mousemove",ce),window.removeEventListener("mouseup",Ae)};window.addEventListener("mousemove",ce),window.addEventListener("mouseup",Ae)},[M,e,t,x]),[fe,j]=A.useState(!1),te=A.useCallback(()=>{E(n),e!==void 0&&(Yh[e]=n),j(!0)},[n,e]),X=A.useMemo(()=>_.map((re,de)=>{const ge=B[de],ye=ge-(de===0?0:B[de-1]),ce=de===0,Ae=de===_.length-1,le={...u,...gT(t,ye,Ae)};return R!==void 0&&(t==="Row"?(ce||(le.paddingLeft=R),Ae||(le.paddingRight=R)):(ce||(le.paddingTop=R),Ae||(le.paddingBottom=R))),v.jsxs(A.Fragment,{children:[v.jsx("div",{className:Be.clsx(qo.ChildFrame,f,fe&&qo.IsReturning,qo[t]),onTransitionEnd:()=>j(!1),style:le,children:re}),!Ae&&v.jsx("div",{className:Be.clsx(qo.Divider,qo[t],"NoSelect",K!==void 0&&qo.IsMoving,K===de&&qo.IsClicked,m),style:{...g,...mT(t,ge)},onMouseDown:se=>J(se,de),onDoubleClick:te,children:v.jsx("div",{className:Be.clsx(qo.DividerInner,w),style:b})})]},de)}),[_,B,u,t,R,f,fe,K,m,g,te,w,b,J]);return v.jsx("div",{...S,className:Be.clsx(qo.ADivideFrame,r.className,qo[t]),ref:H,children:X})};function gT(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function mT(r,e){return r==="Col"?{top:e}:{left:e}}function vT(r,e,t,n,i,l,u){const f=[...r];let g=n.clientX-i-r[t];e==="Col"&&(g=n.clientY-i-r[t]);const m=w=>u.slice(0,w+1).reduce((b,S)=>b+S,0),R=w=>u.slice(w+1).reduce((b,S)=>b+S,0);if(g<0){let w=f[t]+g;if(w<=m(t))for(let b=0;b<=t;b++)f[b]=m(b);else if(f[t]=w,t>0)for(let b=t-1;b>=0&&w-f[b]<u[b];b--)f[b]=w-u[t],w=f[b]}else if(g>0){let w=f[t]+g;if(w>=l-R(t))for(let b=t;b<r.length;b++)f[b]=l-R(b);else if(f[t]=w,t<r.length-1)for(let b=t+1;b<r.length&&f[b]-w<u[b];b++)f[b]=w+u[b],w=f[b]}return f}const Qc=()=>v.jsx("div",{style:{display:"flex",flexGrow:1}}),yT="_ASpace_1okqf_1",bT={ASpace:yT},mn=r=>{const{h:e,w:t,...n}=r;return v.jsx("div",{...n,className:Be.clsx(bT.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},_T="_AChipsContainer_1ag9v_1",xT="_AChip_1ag9v_1",ST="_Clickable_1ag9v_21",CT="_AChipDelete_1ag9v_26",wT="_IsHover_1ag9v_40",AT="_AChipDeleteIcon_1ag9v_45",zu={AChipsContainer:_T,AChip:xT,Clickable:ST,AChipDelete:CT,IsHover:wT,AChipDeleteIcon:AT},TT=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:i,ChipOnDelete:l,ChipOnClick:u,ChipIcon:f,className:g,style:m,ButtonRenderer:R=F2,gap:w=8,...b}=r,[S,_]=nn(e,[]),M=A.useCallback(x=>{!_||!l||(l({label:x}),_(S.filter(L=>L!==x)))},[_,l,S]),E=A.useCallback(x=>{const L={label:x};return{label:x,useLabel:[x,()=>{}],style:Lr.getContent(n,L),className:Lr.getContent(i,L),icon:Lr.getContent(f,L),onDelete:()=>M(x),onClick:u?()=>u({label:x}):void 0}},[i,f,u,n,M]);return v.jsx($r,{...b,style:{...m,alignItems:t,gap:w},className:Be.clsx(zu.AChipsContainer,g),children:S.map((x,L)=>v.jsx(pm,{...E(x),ButtonRenderer:R},L))})},pm=r=>{const{label:e,useLabel:t,icon:n,className:i,onDelete:l,onClick:u,ButtonRenderer:f=F2,width:g="fit-content",style:m,...R}=r;return e===void 0?v.jsx(v.Fragment,{}):v.jsxs($r,{...R,style:{...m,width:g},onClick:u,className:Be.clsx("NoSelect",zu.AChip,u&&zu.Clickable,u&&"IsClickable",i),children:[v.jsx(Sa,{children:e}),f({...r})]})},F2=r=>{const{label:e,icon:t,onDelete:n,useLabel:i}=r,[,l]=nn(i,e),[u,f]=A.useState(!1),g=A.useCallback(w=>{n&&(w.stopPropagation(),l==null||l(void 0),n(r))},[n,r,l]),m=()=>{f(!0)},R=()=>{f(!1)};return v.jsx(v.Fragment,{children:n&&v.jsxs(v.Fragment,{children:[v.jsx(Qc,{}),v.jsx(mn,{w:24}),v.jsx($r,{className:Be.clsx(zu.AChipDelete,"IsClickable",u&&zu.IsHover)}),v.jsx(_i,{type:"Raw",onClick:g,onMouseEnter:m,onMouseLeave:R,icon:t||v.jsx(jr,{icon:"Close",stroke:"currentColor",width:14,height:14}),className:zu.AChipDeleteIcon})]})})},Kc=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]}`},ET=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=i.toString().padStart(2,"0"),e},kT=/[a-zA-Z0-9]/,RT=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,IT=/^[a-zA-Z0-9._-]+$/,LT=/^[0-9a-fA-F-]+$/i,MT=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,DT=/^\S*$/,OT=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,PT=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,NT=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,FT=/^[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}$/,jT={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)},j2={secondToTime:ET,validate:jT,FileSizeTrans:Kc},BT=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:i,actionRef:l,wrapProps:u,helperText:f,label:g,...m}=r,[R,w]=A.useState(0),[b,S]=A.useState(!i);A.useEffect(()=>{if(!b||m.isDisabled||m.isLoading)return;const O=setInterval(()=>w(B=>B+1),t);return()=>clearInterval(O)},[t,b,m.isDisabled,m.isLoading]);const _=A.useCallback(()=>{n==null||n(),S(!1)},[n]);A.useEffect(()=>{R>=e&&!m.isDisabled&&!m.isLoading&&_()},[R,e,_,m.isDisabled,m.isLoading]);const M=A.useCallback(()=>{m.isDisabled||S(!0)},[m.isDisabled]),E=A.useCallback(()=>{m.isDisabled||S(!1)},[m.isDisabled]),x=A.useCallback(()=>{m.isDisabled||(S(!1),w(0))},[m.isDisabled]);A.useEffect(()=>{l&&(l.current={start:M,stop:E,reset:x,setTicks:w})},[l,M,E,x]);const L=e-R;return v.jsx(ec,{wrapProps:u,helperText:f,label:g,children:v.jsx($r,{...m,children:j2.secondToTime(L>0?L:0)})})};function zs(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 HT(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function qT(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function zT(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function t0(r,e){return zs(r)===zs(e)}function $u(r,e){return zs(r)>zs(e)}function Yd(r,e){return zs(r)>=zs(e)}function Xd(r,e){return zs(r)<zs(e)}function Jd(r,e){return zs(r)<=zs(e)}function r0(r,e,t){return $u(r,t)?$u(e,t)&&Xd(e,r):$u(e,r)&&Xd(e,t)}function n0(r,e,t){return $u(r,t)?Yd(e,t)&&Jd(e,r):Yd(e,r)&&Jd(e,t)}const Yt={toString:zs,toDate:HT,makeSDate:qT,makeEDate:zT,"===":t0,">":$u,">=":Yd,"<":Xd,"<=":Jd,"s<d<e|e<d<s":r0,"s<=d<=e|e<=d<=s":n0,eq:t0,g:$u,ge:Yd,l:Xd,le:Jd,b:r0,be:n0},$T="_InputContainer_gsbiq_7",UT="_AInput_gsbiq_21",WT="_LeftAddon_gsbiq_40",VT="_RightAddon_gsbiq_46",GT="_ErrorHelperText_gsbiq_52",ZT="_Primary_gsbiq_56",KT="_UnAvailable_gsbiq_61",YT="_Secondary_gsbiq_72",XT="_ReadOnly_gsbiq_87",to={InputContainer:$T,AInput:UT,LeftAddon:WT,RightAddon:VT,ErrorHelperText:GT,Primary:ZT,UnAvailable:KT,Secondary:YT,ReadOnly:XT,Error:"_Error_gsbiq_52"},JT=["Primary","Secondary","ReadOnly","Error"],tc=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:i,useValue:l,isReadonly:u,placeholder:f,minLength:g,maxLength:m,tabIndex:R,autoFocus:w,isPassword:b,autoComplete:S="off",inputProps:_,LeftAddon:M,RightAddon:E,wrapProps:x,helperText:L,label:O,wrapType:B,labelProps:H,...z}=r,K=A.useMemo(()=>QT(t)?"Error":n,[t,n]),ue=A.useMemo(()=>K==="ReadOnly"?!0:u,[K,u]),J=A.useMemo(()=>z.isDisabled||z.isLoading,[z.isDisabled,z.isLoading]),[fe,j]=nn(l,""),te=A.useCallback(re=>{var de;J||((de=_==null?void 0:_.onKeyDown)==null||de.call(_,re),["Escape","Enter","ArrowUp","ArrowDown"].includes(re.key)||re.stopPropagation(),re.key==="Enter"&&e&&e(re.currentTarget.value))},[J,_,e]),X=A.useCallback(re=>{var de;J||g&&re.target.value.length<g||(j==null||j(re.target.value),(de=_==null?void 0:_.onChange)==null||de.call(_,re))},[J,g,j,_]);return b?v.jsx(ec,{wrapProps:x,label:O,helperText:L,errorMessage:t,wrapType:B,labelProps:H,children:v.jsx("form",{onSubmit:re=>re.preventDefault(),children:v.jsxs($r,{...z,className:Be.clsx(to.InputContainer,to[K],J&&to.UnAvailable,z.className),children:[M&&v.jsx("div",{className:to.LeftAddon,children:M}),v.jsx("input",{..._,className:Be.clsx(to.AInput,K==="Error"&&to.InputError,_==null?void 0:_.className),value:fe,type:"password",readOnly:ue,onChange:X,onKeyDown:te,placeholder:f,maxLength:m,tabIndex:z.isDisabled||z.isLoading?-1:R,autoFocus:w,autoComplete:S,ref:i}),E&&v.jsx("div",{className:Be.clsx(to.RightAddon,"NoSelect"),children:E})]})})}):v.jsx(ec,{wrapProps:x,label:O,helperText:L,errorMessage:t,wrapType:B,labelProps:H,children:v.jsxs($r,{...z,className:Be.clsx(to.InputContainer,to[K],J&&to.UnAvailable,z.className),children:[M&&v.jsx("div",{className:to.LeftAddon,children:M}),v.jsx("input",{..._,className:Be.clsx(to.AInput,K==="Error"&&to.InputError,_==null?void 0:_.className),value:fe,readOnly:ue,onChange:X,onKeyDown:te,placeholder:f,maxLength:m,tabIndex:z.isDisabled||z.isLoading?-1:R,autoFocus:w,autoComplete:S,ref:i}),E&&v.jsx("div",{className:to.RightAddon,children:E})]})})};function QT(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const e6="_ASelect_ocngk_1",t6="_Arrow_ocngk_14",r6="_Primary_ocngk_23",n6="_UnAvailable_ocngk_34",i6="_IsOpen_ocngk_34",o6="_Secondary_ocngk_41",s6="_Placeholder_ocngk_57",a6="_ValuesContainer_ocngk_61",l6="_Values_ocngk_61",c6="_Options_ocngk_80",u6="_Option_ocngk_80",f6="_Selected_ocngk_122",d6="_CheckBox_ocngk_129",Ho={ASelect:e6,Arrow:t6,Primary:r6,UnAvailable:n6,IsOpen:i6,Secondary:o6,Placeholder:s6,ValuesContainer:a6,Values:l6,Options:c6,Option:u6,Selected:f6,CheckBox:d6},h6=["Primary","Secondary"],rc=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.ASelect["Select(Placeholder)"],onClose:l,OptionRenderer:u=g6,SelectedRenderer:f=m6,minShowRows:g=2,maxShowRows:m=6,arrowProps:R,isAutoWidth:w=!1,...b}=r,S=A.useRef(null),_=A.useMemo(()=>b.abaseRef??S,[b.abaseRef]),M=A.useRef(null),[E,x]=nn(t,e[0]),[L,O]=A.useState(void 0),[B,H]=A.useState(!1),[z,K]=A.useState(!1),ue=A.useRef(e),J=A.useRef(null),fe=A.useCallback(()=>K(!1),[]),j=A.useCallback(()=>{b.isDisabled||b.isLoading||e.length<1||(K(!0),setTimeout(()=>H(!0),0),setTimeout(()=>Xh(M,_,e,g,m),0))},[_,b.isDisabled,b.isLoading,e,g,m]),te=A.useCallback(()=>{H(!1),K(!0),l==null||l()},[l]),X=A.useCallback(le=>{var se;B?te():j(),setTimeout(()=>Xh(M,_,e,g,m),0),(se=b.onClick)==null||se.call(b,le)},[_,b,e,B,te,j,g,m]),re=A.useCallback(()=>{Xh(M,_,e,g,m)},[_,e,g,m]);A.useEffect(()=>{if(!B||!_.current)return;const le=_.current;let se=le.parentElement;for(;se;)se.addEventListener("scroll",re),se=se.parentElement;return()=>{let pe=le.parentElement;for(;pe;)pe.removeEventListener("scroll",re),pe=pe.parentElement}},[_,B,re]),A.useEffect(()=>{if(B)return window.addEventListener("resize",re),()=>window.removeEventListener("resize",re)},[B,re]);const de=A.useCallback(le=>{le[0].intersectionRatio===0&&te()},[te]);A.useEffect(()=>{if(!B)return;const le=new IntersectionObserver(de,{threshold:0});return _.current&&le.observe(_.current),()=>le.disconnect()},[_,B,de]);const ge=A.useCallback(le=>{const se=le.target,pe=_.current,Ne=M.current;!pe||!se||!Ne||!pe.contains(se)&&!Ne.contains(se)&&te()},[_,te]),ye=A.useMemo(()=>b.isDisabled||b.isLoading||e.length<1,[b.isDisabled,b.isLoading,e]);A.useEffect(()=>{if(B)return setTimeout(()=>document.addEventListener("mousedown",ge),0),()=>document.removeEventListener("mousedown",ge)},[B,ge]);const ce=A.useCallback((le,se)=>{le.stopPropagation(),le.preventDefault(),x==null||x(se),te()},[x,te]),Ae=A.useCallback(()=>{if(!w||!_.current)return;const le=Zc.calculateOptimalSelectWidth({elementRef:_,options:e,selectedOption:E,placeholder:i,optionRenderer:se=>se===null?null:u({option:se}),type:n,isMulti:!1});O(le)},[w,_,e,E,i,u,n]);return A.useEffect(()=>w?((e!==ue.current||L===void 0)&&(J.current!==null&&cancelAnimationFrame(J.current),J.current=requestAnimationFrame(()=>{Ae(),J.current=null,ue.current=[...e]})),()=>{J.current!==null&&(cancelAnimationFrame(J.current),J.current=null)}):void 0,[w,e,Ae,L]),A.useEffect(()=>()=>{typeof Zc.clearCache=="function"&&Zc.clearCache()},[]),v.jsxs(v.Fragment,{children:[v.jsxs($r,{...b,isDisabled:b.isDisabled||e.length<1,className:Be.clsx(b.className,Ho.ASelect,"NoSelect",B&&Ho.IsOpen,ye&&Ho.UnAvailable,Ho[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:L?`${L}px`:w?"100px":void 0,...b.style},abaseRef:_,onClick:X,children:[v.jsx("div",{className:Ho.ValuesContainer,children:v.jsx("div",{className:Be.clsx(Ho.Values,(E==null||E==="")&&Ho.Placeholder),children:v.jsx(f,{selectedOption:E,OptionRenderer:u,placeholder:i})})}),v.jsx("div",{...R,className:Be.clsx(Ho.Arrow,R==null?void 0:R.className),children:v.jsx(jr,{style:{transform:B?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(B||z)&&Hs.createPortal(v.jsx("div",{className:Be.clsx(Ho.Options,Ho[n]),onTransitionEnd:fe,style:{opacity:+B,visibility:B?"visible":"hidden",pointerEvents:B?void 0:"none",borderRadius:_.current?window.getComputedStyle(_.current).borderRadius:void 0,width:L?`${L}px`:w?"100px":void 0},ref:M,children:e.map((le,se)=>{const pe=E===le,Ne=_.current?window.getComputedStyle(_.current):void 0;return le===null?null:v.jsx("div",{className:Be.clsx(Ho.Option,pe&&Ho.Selected,"NoSelect",Ho[n]),style:{height:Ne==null?void 0:Ne.height},onClick:Ye=>ce(Ye,le),children:v.jsx(u,{option:le})},se)})}),document.body)]})};function Xh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=p6(l,t.length,n,i),f=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${f.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.width||(r.current.style.minWidth=u.minWidth+"px"),r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function p6(r,e,t,n){const i={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<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const g6=r=>{const{option:e}=r;return er.isReactNode(e)?e:null},m6=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:v.jsx(t,{option:e})},v6="_Anchor_502n9_1",y6="_Primary_502n9_18",b6="_Secondary_502n9_21",_6="_Placeholder_502n9_25",x6="_Icon_502n9_30",S6="_ADatePicker_502n9_37",C6="_StringInputWrap_502n9_48",w6="_StringInputContainer_502n9_53",A6="_StringInput_502n9_48",T6="_IsIdx_502n9_68",E6="_CalendarContainer_502n9_72",k6="_Header_502n9_78",R6="_Prev_502n9_82",I6="_Next_502n9_83",L6="_MonthYear_502n9_116",M6="_Select_502n9_121",D6="_Calendar_502n9_72",O6="_Cell_502n9_132",P6="_IsNotCurrentMonth_502n9_144",N6="_IsSelected_502n9_148",F6="_IsDisabled_502n9_152",j6="_IsHovered_502n9_155",B6="_Week_502n9_159",H6="_WeekDay_502n9_164",rn={Anchor:v6,Primary:y6,Secondary:b6,Placeholder:_6,Icon:x6,ADatePicker:S6,StringInputWrap:C6,StringInputContainer:w6,StringInput:A6,String:"_String_502n9_48",IsIdx:T6,CalendarContainer:E6,Header:k6,Prev:R6,Next:I6,MonthYear:L6,Select:M6,Calendar:D6,Cell:O6,IsNotCurrentMonth:P6,IsSelected:N6,IsDisabled:F6,IsHovered:j6,Week:B6,WeekDay:H6},q6="_Anchor_iz4hf_1",z6="_Primary_iz4hf_18",$6="_Secondary_iz4hf_22",U6="_Placeholder_iz4hf_26",W6="_Icon_iz4hf_31",V6="_ADateRangePicker_iz4hf_38",G6="_StringInputWrap_iz4hf_49",Z6="_StringInputContainer_iz4hf_53",K6="_StringInput_iz4hf_49",Y6="_IsIdx_iz4hf_69",X6="_CalendarContainer_iz4hf_73",J6="_Header_iz4hf_79",Q6="_Prev_iz4hf_83",eE="_Next_iz4hf_84",tE="_MonthYear_iz4hf_117",rE="_Select_iz4hf_122",nE="_Calendar_iz4hf_73",iE="_Cell_iz4hf_133",oE="_IsNotCurrentMonth_iz4hf_145",sE="_IsSelected_iz4hf_149",aE="_IsDisabled_iz4hf_153",lE="_IsHovered_iz4hf_156",cE="_Week_iz4hf_160",uE="_WeekDay_iz4hf_165",fE="_ChoiceButton_iz4hf_169",Hr={Anchor:q6,Primary:z6,Secondary:$6,Placeholder:U6,Icon:W6,ADateRangePicker:V6,StringInputWrap:G6,StringInputContainer:Z6,StringInput:K6,String:"_String_iz4hf_49",IsIdx:Y6,CalendarContainer:X6,Header:J6,Prev:Q6,Next:eE,MonthYear:tE,Select:rE,Calendar:nE,Cell:iE,IsNotCurrentMonth:oE,IsSelected:sE,IsDisabled:aE,IsHovered:lE,Week:cE,WeekDay:uE,ChoiceButton:fE},gm=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:i,position:l=ef.SE,minDate:u,maxDate:f,isDisabled:g,isLoading:m,yearsOptionSize:R,noDefaultChoices:w,LeftAddon:b,RightAddon:S,placeholder:_,noClearButton:M,resources:E,onClick:x,...L}=r,O=A.useMemo(()=>({...hn.ADateRangePicker,...E}),[E]),B=A.useMemo(()=>_??O["Select DateRange"],[_,O]),[H,z]=A.useMemo(()=>{let ne,et;if(u&&(ne=Yt.makeSDate(u)),f&&(et=Yt.makeEDate(f)),ne&&et&&Yt["<"](et,ne)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const ct=ne;ne=et,et=ct}return[ne,et]},[u,f]),[K,ue]=A.useState("sD"),[J,fe]=nn(n,void 0),j=A.useCallback(ne=>{fe&&(ne===void 0?(fe(void 0),be(""),Ct("")):(fe({sDate:Yt.makeSDate(ne.sDate),eDate:Yt.makeEDate(ne.eDate)}),be(Yt.toString(ne.sDate)),Ct(Yt.toString(ne.eDate))))},[fe]);A.useEffect(()=>{J&&(be(Yt.toString(J.sDate)),Ct(Yt.toString(J.eDate)))},[J]);const te=A.useCallback(ne=>{if(!fe)return;let et=J?J.sDate:Yt.makeSDate(ne);ne=Yt.makeEDate(ne),fe({sDate:et,eDate:ne}),be(Yt.toString(et)),Ct(Yt.toString(ne))},[fe,J]),[X,re]=A.useState(),[de,ge]=A.useState(),ye=A.useCallback(ne=>{K==="sD"&&j({sDate:ne,eDate:ne}),re(ne),ge(ne)},[K,j,re]),ce=A.useCallback(ne=>{K==="sD"?X&&(Yt.eq(X,ne)?ue("eD"):Yt[">"](ne,X)?(te(ne),re(void 0)):(j({sDate:ne,eDate:X}),re(void 0))):(J?Yt["<"](ne,J.sDate)?j({sDate:ne,eDate:J.eDate}):te(ne):j({sDate:ne,eDate:ne}),re(void 0),ue("sD"))},[te,X,ue,K,j,J,re]),Ae=A.useCallback(ne=>{X&&ge(ne)},[X]),le=A.useCallback(()=>{ge(void 0),re(void 0),ue("sD")},[ue,re]),[se,pe]=A.useState(i0(J,H,z)),Ne=A.useMemo(()=>mm(se.year,H,z,R),[se.year,H,z,R]),Ye=A.useMemo(()=>Kf(se.year,H,z),[H,z,se.year]),we=A.useCallback(ne=>{if(!Ne.includes(ne))return;const et={month:se.month,year:ne},ct=Kf(et.year,H,z);ct.length<1||(ct.includes(et.month)||(et.month<ct[0]?et.month=ct[0]:et.month>ct[ct.length-1]&&(et.month=ct[ct.length-1])),pe(et))},[H,z,Ne,se.month]),De=A.useCallback(ne=>{Ye.includes(ne)&&pe({month:ne,year:se.year})},[Ye,se.year]),Fe=A.useMemo(()=>z?new Date(se.year,se.month+1,1)>z:!1,[se,z]),ze=A.useCallback(()=>{if(Fe||Ye.length<1)return;const ne=se.month+1;ne>11?pe({month:Ye[0],year:se.year+1}):pe({month:ne,year:se.year})},[Fe,Ye,se]),Ge=A.useMemo(()=>H?new Date(se.year,se.month,0)<H:!1,[se,H]),Me=A.useCallback(()=>{if(Ge||Ye.length<1)return;const ne=se.month-1;ne<Ye[0]?pe({month:Ye[Ye.length-1],year:se.year-1}):pe({month:ne,year:se.year})},[Ge,Ye,se]),[Te,be]=A.useState(J!=null&&J.sDate?Yt.toString(J.sDate):""),We=A.useCallback(ne=>{if(ne.length>10||(be(ne),ne.length<10)||!fe)return;let et=Yt.toDate(ne);if(!et)return;H&&et<H&&(et=H),z&&et>z&&(et=z);let ct=J?J.eDate:et;J&&Yt[">"](et,ct)&&([et,ct]=o0(et,ct)),j({sDate:et,eDate:ct}),pe({month:et.getMonth(),year:et.getFullYear()})},[fe,j,J,H,z]),[ht,Ct]=A.useState(J!=null&&J.eDate?Yt.toString(J.eDate):""),it=A.useCallback(ne=>{if(ne.length>10||(Ct(ne),ne.length<10)||!fe)return;let et=Yt.toDate(ne);if(!et)return;H&&et<H&&(et=H),z&&et>z&&(et=z);let ct=J?J.sDate:et;J&&Yt[">"](ct,et)&&([ct,et]=o0(ct,et)),j({sDate:ct,eDate:et}),pe({month:et.getMonth(),year:et.getFullYear()})},[fe,j,J,H,z]),Ie=A.useCallback(()=>{J&&(be(Yt.toString(J.sDate)),Ct(Yt.toString(J.eDate)))},[J]),Oe=A.useMemo(()=>{const{month:ne,year:et}=se,ct=new Date(et,ne,1),tt=new Date(et,ne+1,0),Le=[];for(let kt=0;kt<ct.getDay();kt++){const Bt=new Date(et,ne,0).getDate()-ct.getDay()+kt+1,Wt=new Date(et,ne-1,Bt),rr=H&&H>Wt||z&&z<Wt,Ht=J?Yt.be(J.sDate,Wt,J.eDate):!1,$t=de&&J&&Yt.be(J.sDate,Wt,de);Le.push({day:Bt,isSelected:Ht,isHovered:$t,date:Wt,isDisabled:rr,isCurrentMonth:!1})}for(let kt=1;kt<=tt.getDate();kt++){const _t=new Date(et,ne,kt),Bt=H&&H>_t||z&&z<_t,Wt=J?Yt.be(J.sDate,_t,J.eDate):!1,rr=de&&J&&Yt.be(J.sDate,_t,de);Le.push({day:kt,isSelected:Wt,isHovered:rr,date:_t,isDisabled:Bt,isCurrentMonth:!0})}for(let kt=0;kt<7-tt.getDay()-1;kt++){const _t=new Date(et,ne+1,kt+1),Bt=H&&H>_t||z&&z<_t,Wt=J?Yt.be(J.sDate,_t,J.eDate):!1,rr=de&&J&&Yt.be(J.sDate,_t,de);Le.push({day:kt+1,isSelected:Wt,isHovered:rr,date:_t,isDisabled:Bt,isCurrentMonth:!1})}const pt=[];for(let kt=0;kt<Le.length/7;kt++)pt.push(v.jsx("div",{className:Hr.Week,children:Le.slice(kt*7,kt*7+7).map((_t,Bt)=>v.jsx(Fi,{type:"Raw",className:Be.clsx(Hr.Day,Hr.Cell,_t.isDisabled?Hr.IsDisabled:_t.isCurrentMonth?_t.isSelected?Hr.IsSelected:_t.isHovered&&Hr.IsHovered:Hr.IsNotCurrentMonth),isDisabled:_t.isDisabled,onMouseDown:()=>_t.isCurrentMonth&&ye(_t.date),onMouseUp:()=>_t.isCurrentMonth&&ce(_t.date),onMouseEnter:()=>_t.isCurrentMonth&&Ae(_t.date),children:_t.day},Bt))},kt));return pt},[se,de,J,H,z,ye,ce,Ae]),st=A.useRef(null),vt=A.useCallback(()=>{st&&dm(st,je,l)},[st,l]),[wt,Et]=A.useState(!1),[xt,It]=A.useState(!1),je=A.useRef(null),Qe=A.useCallback(()=>{g||m||(Et(!0),setTimeout(()=>It(!0),0),setTimeout(()=>vt(),0),pe(i0(J,H,z)))},[g,m,J,vt,H,z]),gt=A.useCallback(()=>{g||m||(Et(!0),It(!1))},[g,m]),Ft=A.useMemo(()=>xt?gt:Qe,[xt,Qe,gt]),bt=A.useCallback(()=>Et(!1),[]),$e=A.useCallback(ne=>{const et=document.getElementById("root"),ct=ne.target,tt=je.current,Le=st.current;!et||!tt||!ct||!Le||!tt.contains(ct)&&et.contains(ct)&&!Le.contains(ct)&>()},[gt]);A.useEffect(()=>{if(xt)return setTimeout(()=>document.addEventListener("mousedown",$e),0),()=>document.removeEventListener("mousedown",$e)},[xt,$e]);const Lt=A.useCallback(()=>{vt()},[vt]);A.useEffect(()=>{if(!xt||!(st!=null&&st.current))return;const ne=st.current;let et=ne.parentElement;for(;et;)et.addEventListener("scroll",Lt),et=et.parentElement;return()=>{let ct=ne.parentElement;for(;ct;)ct.removeEventListener("scroll",Lt),ct=ct.parentElement}},[st,xt,Lt]),A.useEffect(()=>{if(xt)return window.addEventListener("resize",Lt),()=>window.removeEventListener("resize",Lt)},[xt,Lt]);const Dt=A.useCallback(ne=>{ne[0].intersectionRatio===0&>()},[gt]);A.useEffect(()=>{if(!xt)return;const ne=new IntersectionObserver(Dt,{threshold:0});return je.current&&ne.observe(je.current),()=>ne.disconnect()},[je,xt,Dt]),A.useEffect(()=>{i&&(i.current={open:Qe,close:gt,toggle:Ft})},[i,Qe,gt,Ft]),A.useEffect(()=>{if(!J)return;let ne={sDate:J.sDate,eDate:J.eDate};H&&(Yt["<"](J.sDate,H)&&(ne.sDate=H),Yt["<"](J.eDate,H)&&(ne.eDate=H)),z&&(Yt[">"](J.sDate,z)&&(ne.sDate=z),Yt[">"](J.eDate,z)&&(ne.eDate=z)),(ne.sDate!==J.sDate||ne.eDate!==J.eDate)&&j(ne)},[H,z,J,j]);const pr=A.useCallback(ne=>{x==null||x(ne),Ft()},[x,Ft]),xr=A.useCallback(ne=>{j(void 0),gt(),ne.stopPropagation()},[j,gt]),wr=A.useCallback(()=>J?v.jsx(_i,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:xr}):null,[J,xr]),me=A.useMemo(()=>J?`${Yt.toString(J.sDate)} ~ ${Yt.toString(J.eDate)}`:v.jsx("span",{className:Hr.Placeholder,children:B}),[J,B]);return v.jsxs(v.Fragment,{children:[v.jsxs($r,{...L,isLoading:m,isDisabled:g,className:Be.clsx(Hr.Anchor,"IsClickable",Hr[e],t),onClick:pr,abaseRef:st,children:[b,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(jr,{icon:"CalendarDay",className:Be.clsx(Hr.Icon,Hr[e])}),v.jsx(mn,{w:4})]}),me,v.jsx(Qc,{}),!M&&v.jsx(wr,{}),e==="Secondary"&&v.jsx(jr,{icon:"CalendarDay",className:Be.clsx(Hr.Icon,Hr[e])}),S&&S]}),(xt||wt)&&Hs.createPortal(v.jsxs("div",{className:Hr.ADateRangePicker,onTransitionEnd:bt,onMouseLeave:le,style:{opacity:+xt,visibility:xt?"visible":"hidden"},ref:je,children:[v.jsxs("div",{className:Hr.StringInputContainer,children:[v.jsxs(Sn,{children:[v.jsx(tc,{maxLength:11,wrapProps:{className:Hr.StringInputWrap},inputProps:{className:Hr.StringInput},className:Be.clsx(Hr.String,K==="sD"&&de&&Hr.IsIdx),useValue:[Te,We],placeholder:"YYYY-MM-DD",onBlur:Ie}),v.jsx(mn,{w:8}),v.jsx(tc,{maxLength:11,wrapProps:{className:Hr.StringInputWrap},inputProps:{className:Hr.StringInput},className:Be.clsx(Hr.String,K==="eD"&&de&&Hr.IsIdx),useValue:[ht,it],placeholder:"YYYY-MM-DD",onBlur:Ie})]}),!w&&v.jsxs(Sn,{style:{marginTop:4},children:[v.jsx(Ed,{children:O["1일"],onClick:()=>j({sDate:new Date,eDate:new Date})}),v.jsx(Ed,{children:O["1주일"],onClick:()=>j({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),v.jsx(Ed,{children:O["1개월"],onClick:()=>j({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),v.jsx(Ed,{children:O["3개월"],onClick:()=>j({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),v.jsxs("div",{className:Hr.CalendarContainer,children:[v.jsxs(Sn,{className:Hr.Header,children:[v.jsx(Fi,{type:"Raw",className:Hr.Prev,onClick:Me,isDisabled:Ge}),v.jsxs("div",{className:Hr.MonthYear,children:[v.jsx(rc,{type:"Secondary",useSelect:[se.month,De],className:Hr.Select,options:Ye,OptionRenderer:ne=>O.months(ne.option),SelectedRenderer:ne=>O.months(ne.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(rc,{type:"Secondary",useSelect:[se.year,we],className:Hr.Select,options:Ne})]}),v.jsx(Fi,{type:"Raw",className:Hr.Next,onClick:ze,isDisabled:Fe})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:Hr.Calendar,children:[v.jsx("div",{className:Hr.Week,children:[0,1,2,3,4,5,6].map(ne=>v.jsx("div",{className:Be.clsx(Hr.WeekDay,Hr.Cell),children:O.weekDays(ne)},ne))}),Oe]})]})]}),document.body)]})};function Kf(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let i=11;t&&t.getFullYear()===r&&(i=t.getMonth());const l=[];for(let u=n;u<=i;u++)l.push(u);return l}function mm(r,e,t,n=5){const i=[];let l=r-n/2+n%2/2;e&&l<e.getFullYear()&&(l=e.getFullYear());let u=l+n-1;t&&u>t.getFullYear()&&(u=t.getFullYear());for(let f=l;f<=u;f++)i.push(f);return i}function i0(r,e,t){return r??(r={sDate:new Date,eDate:new Date}),e&&Yt["<"](r.sDate,e)?{month:e.getMonth(),year:e.getFullYear()}:t&&Yt[">"](r.eDate,t)?{month:t.getMonth(),year:t.getFullYear()}:{month:r.sDate.getMonth(),year:r.sDate.getFullYear()}}function o0(r,e){return[e,r]}const Ed=r=>v.jsx(Fi,{className:Be.clsx(Hr.ChoiceButton,"Headline2"),type:"Secondary",...r}),dE=["Primary","Secondary","Raw"],vm=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:i,position:l=ef.SE,minDate:u,maxDate:f,isDisabled:g,isLoading:m,placeholder:R,LeftAddon:w,RightAddon:b,resources:S,noClearButton:_,onClick:M,...E}=r,x=A.useMemo(()=>({...hn.ADatePicker,...S}),[S]),L=A.useMemo(()=>R??x["Select Date"],[R,x]),[O,B]=A.useMemo(()=>{let je,Qe;return u&&(je=Yt.makeSDate(u)),f&&(Qe=Yt.makeEDate(f)),je&&Qe&&Yt["<"](Qe,je)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[Yt.makeSDate(Qe),Yt.makeEDate(je)]):[je,Qe]},[u,f]),[H,z]=nn(n,null),[K,ue]=A.useState(H?Yt.toString(H):""),[J,fe]=A.useState(()=>{const je=H??new Date;return O&&je<O?O.getMonth():B&&je>B?B.getMonth():(je??new Date).getMonth()}),[j,te]=A.useState(()=>{const je=H??new Date;return O&&je<O?O.getFullYear():B&&je>B?B.getFullYear():(je??new Date).getFullYear()}),X=A.useCallback(je=>{te(je);const Qe=Kf(je,O,B);Qe.includes(J)||(J<Qe[0]?fe(Qe[0]):J>Qe[Qe.length-1]&&fe(Qe[Qe.length-1]))},[O,B,J]),re=A.useCallback(je=>{if(je.length>10||(ue(je),je.length<10)||!z)return;let Qe=Yt.toDate(je);Qe&&(O&&Qe<O&&(Qe=O),B&&Qe>B&&(Qe=B),z(Qe),te(Qe.getFullYear()),fe(Qe.getMonth()))},[z,O,B]),de=A.useCallback(je=>{const Qe=j+je;Qe<0||te(Qe)},[j]),ge=A.useCallback(je=>{const Qe=J+je;Qe<0?(fe(11),de(-1)):Qe>11?(fe(0),de(1)):fe(Qe)},[J,de]),ye=A.useCallback(je=>{z&&(je===void 0?(z(void 0),ue("")):(z(je),ue(Yt.toString(je))))},[z]),ce=A.useMemo(()=>{const je=new Date(j,J,0);return O&&je<O},[j,J,O]),Ae=A.useMemo(()=>{const je=new Date(j,J+1,1);return B&&je>B},[j,J,B]),le=A.useCallback(()=>{ce||ge(-1)},[ge,ce]),se=A.useCallback(()=>{Ae||ge(1)},[ge,Ae]),[pe,Ne]=A.useState(null),Ye=A.useCallback(()=>{z&&Ne(null)},[z]),we=A.useCallback(je=>{z&&Ne(je)},[z]),De=A.useMemo(()=>{const je=new Date(j,J,1),Qe=new Date(j,J+1,0),gt=[];for(let bt=0;bt<je.getDay();bt++){const Lt=new Date(j,J,0).getDate()-je.getDay()+bt+1,Dt=new Date(j,J-1,Lt),pr=O&&O>Dt||B&&B<Dt,xr=H&&Yt.eq(Dt,H),wr=pe&&Yt.eq(Dt,pe);gt.push({day:Lt,isSelected:xr,date:Dt,isDisabled:pr,isHovered:wr,isCurrentMonth:!1})}for(let bt=1;bt<=Qe.getDate();bt++){const $e=new Date(j,J,bt),Lt=O&&O>$e||B&&B<$e,Dt=H&&Yt.eq($e,H),pr=pe&&Yt.eq($e,pe);gt.push({day:bt,isSelected:Dt,date:$e,isDisabled:Lt,isHovered:pr,isCurrentMonth:!0})}for(let bt=0;bt<7-Qe.getDay()-1;bt++){const $e=new Date(j,J+1,bt+1),Lt=O&&O>$e||B&&B<$e,Dt=H&&Yt.eq($e,H),pr=pe&&Yt.eq($e,pe);gt.push({day:bt+1,isSelected:Dt,date:$e,isDisabled:Lt,isHovered:pr,isCurrentMonth:!1})}const Ft=[];for(let bt=0;bt<gt.length/7;bt++)Ft.push(v.jsx("div",{className:rn.Week,children:gt.slice(bt*7,bt*7+7).map(($e,Lt)=>v.jsx(Fi,{type:"Raw",className:Be.clsx(rn.Day,rn.Cell,$e.isDisabled?rn.IsDisabled:$e.isCurrentMonth?$e.isSelected?rn.IsSelected:$e.isHovered&&rn.IsHovered:rn.IsNotCurrentMonth),isDisabled:$e.isDisabled,onClick:()=>$e.isCurrentMonth&&ye($e.date),onMouseLeave:()=>$e.isCurrentMonth&&Ye(),onMouseEnter:()=>$e.isCurrentMonth&&we($e.date),children:$e.day},Lt))},bt));return Ft},[J,ye,H,j,O,B,pe,Ye,we]),Fe=A.useRef(null),ze=A.useCallback(()=>{Fe&&dm(Fe,We,l)},[Fe,l]),[Ge,Me]=A.useState(!1),[Te,be]=A.useState(!1),We=A.useRef(null),ht=A.useCallback(()=>{g||m||(Me(!0),setTimeout(()=>be(!0),0),setTimeout(()=>ze(),0),ue(H?Yt.toString(H):""),fe(()=>{const je=H??new Date;return O&&je<O?O.getMonth():B&&je>B?B.getMonth():je.getMonth()}),te(()=>{const je=H??new Date;return O&&je<O?O.getFullYear():B&&je>B?B.getFullYear():je.getFullYear()}))},[g,m,H,ze,O,B]),Ct=A.useCallback(()=>{g||m||(Me(!0),be(!1))},[g,m]),it=A.useMemo(()=>Te?Ct:ht,[Te,ht,Ct]),Ie=A.useCallback(()=>Me(!1),[]),Oe=A.useCallback(je=>{const Qe=document.getElementById("root"),gt=je.target,Ft=We.current,bt=Fe.current;!Qe||!Ft||!gt||!bt||!Ft.contains(gt)&&Qe.contains(gt)&&!bt.contains(gt)&&Ct()},[Ct]);A.useEffect(()=>{if(Te)return setTimeout(()=>document.addEventListener("mousedown",Oe),0),()=>document.removeEventListener("mousedown",Oe)},[Te,Oe]);const st=A.useCallback(()=>{ze()},[ze]);A.useEffect(()=>{if(!Te||!(Fe!=null&&Fe.current))return;const je=Fe.current;let Qe=je.parentElement;for(;Qe;)Qe.addEventListener("scroll",st),Qe=Qe.parentElement;return()=>{let gt=je.parentElement;for(;gt;)gt.removeEventListener("scroll",st),gt=gt.parentElement}},[Fe,Te,st]),A.useEffect(()=>{if(Te)return window.addEventListener("resize",st),()=>window.removeEventListener("resize",st)},[Te,st]);const vt=A.useCallback(je=>{je[0].intersectionRatio===0&&Ct()},[Ct]);A.useEffect(()=>{if(!Te)return;const je=new IntersectionObserver(vt,{threshold:0});return We.current&&je.observe(We.current),()=>je.disconnect()},[We,Te,vt]),A.useEffect(()=>{i&&(i.current={open:ht,close:Ct,toggle:it})},[i,ht,Ct,it]);const wt=A.useCallback(je=>{M==null||M(je),it()},[M,it]),Et=A.useCallback(je=>{ye(void 0),Ct(),je.stopPropagation()},[ye,Ct]),xt=A.useCallback(()=>H?v.jsx(_i,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:Et}):null,[H,Et]),It=A.useMemo(()=>H?Yt.toString(H):v.jsx("span",{className:rn.Placeholder,children:L}),[H,L]);return v.jsxs(v.Fragment,{children:[v.jsxs($r,{...E,isLoading:m,isDisabled:g,className:Be.clsx(rn.Anchor,"IsClickable",rn[e],t),onClick:wt,abaseRef:Fe,children:[w,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(jr,{icon:"CalendarDay",className:Be.clsx(rn.Icon,rn[e])}),v.jsx(mn,{w:4})]}),It,v.jsx(Qc,{}),!_&&v.jsx(xt,{}),e==="Secondary"&&v.jsx(jr,{icon:"CalendarDay",className:Be.clsx(rn.Icon,rn[e])}),b&&b]}),(Te||Ge)&&Hs.createPortal(v.jsxs("div",{className:rn.ADatePicker,onTransitionEnd:Ie,style:{opacity:+Te,visibility:Te?"visible":"hidden"},ref:We,children:[v.jsx("div",{className:rn.StringInputContainer,children:v.jsx(tc,{maxLength:H?30:11,wrapProps:{className:rn.StringInputWrap},inputProps:{className:rn.StringInput},className:rn.String,useValue:[K,re],placeholder:"YYYY-MM-DD"})}),v.jsxs("div",{className:rn.CalendarContainer,children:[v.jsxs(Sn,{className:rn.Header,children:[v.jsx(Fi,{type:"Raw",className:rn.Prev,onClick:le,isDisabled:ce}),v.jsxs("div",{className:rn.MonthYear,children:[v.jsx(rc,{type:"Secondary",useSelect:[J,fe],className:rn.Select,options:Kf(j,O,B),OptionRenderer:je=>x.months(je.option),SelectedRenderer:je=>x.months(je.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(rc,{type:"Secondary",useSelect:[j,X],className:rn.Select,options:mm(j,O,B)})]}),v.jsx(Fi,{type:"Raw",className:rn.Next,onClick:se,isDisabled:Ae})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:rn.Calendar,children:[v.jsx("div",{className:rn.Week,children:[0,1,2,3,4,5,6].map(je=>v.jsx("div",{className:Be.clsx(rn.WeekDay,rn.Cell),children:x.weekDays(je)},je))}),De]})]})]}),document.body)]})},hE="_Paper_e69j5_1",pE="_Card_e69j5_15",gE="_Body_e69j5_26",mE="_Title_e69j5_35",vE="_Content_e69j5_42",yE="_Action_e69j5_45",bE="_Button_e69j5_58",ba={Paper:hE,Card:pE,Body:gE,Title:mE,Content:vE,Action:yE,Button:bE},_E=["okCancel","cancelOk","ok","cancel","none"],xE=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:i,style:l,titleStyle:u,bodyStyle:f,contentStyle:g,okButtonStyle:m,cancelButtonStyle:R,actionStyle:w,onOk:b,onCancel:S,onClose:_,onEnterPress:M,onEscPress:E,onSpacePress:x,onPaperClick:L,noDim:O=!1,isLoading:B,isOkDisabled:H,isOkLoading:z,isCancelDisabled:K,isCancelLoading:ue,buttonNoInteractive:J,okButtonClassName:fe,cancelButtonClassName:j,resources:te}=r,X=A.useMemo(()=>({...hn.ADialog,...te}),[te]),[re,de]=A.useState(0);A.useEffect(()=>de(1),[]);const ge=A.useCallback(()=>{de(0)},[]),ye=A.useCallback(()=>{if(!re){const[,Te]=e.state.useIsOpen;Te==null||Te(!1),_==null||_()}},[re,_,e]),ce=A.useCallback(async()=>{if(!re||t==="cancel"||t==="none"||B||H||z)return;const{event:Te,e:be}=Gc();await(b==null?void 0:b(be)),!Te.preventDefault&&ge()},[re,t,ge,b,H,B,z]),Ae=A.useCallback(async()=>{if(!re||t==="ok"||t==="none"||B||K||ue)return;const{event:Te,e:be}=Gc();await(S==null?void 0:S(be)),!Te.preventDefault&&ge()},[re,t,ge,S,K,B,ue]);A.useEffect(()=>{e&&e.state.setAction({close:ge,ok:ce,cancel:Ae})},[e,ge,ce,Ae]);const le=A.useCallback(async()=>{const{event:Te,e:be}=Gc();await(M==null?void 0:M(be)),!Te.preventDefault&&ce()},[M,ce]),se=A.useCallback(async()=>{const{event:Te,e:be}=Gc();await(x==null?void 0:x(be)),!Te.preventDefault&&ce()},[x,ce]),pe=A.useCallback(async()=>{const{event:Te,e:be}=Gc();await(E==null?void 0:E(be)),!Te.preventDefault&&Ae()},[E,Ae]),Ne=A.useRef(null),Ye=A.useCallback(Te=>{const be=document.body.getElementsByClassName(ba.Paper);be.length===0||be[be.length-1]!==Ne.current||(Te.key==="Enter"&&re?le():Te.key===" "&&re?se():Te.key==="Escape"&&re&&pe())},[re,le,se,pe]);A.useEffect(()=>{if(re)return window.addEventListener("keydown",Ye),()=>window.removeEventListener("keydown",Ye)},[re,Ye]);const we=A.useRef(!1),De=A.useRef(!1),Fe=A.useCallback(()=>{we.current=!0},[]),ze=A.useCallback(()=>{we.current=!1,De.current=!1},[]),Ge=A.useCallback(()=>{De.current=!0},[]),Me=A.useCallback(async()=>{const Te=!De.current||we.current;if(we.current=!1,De.current=!1,Te)return;const{event:be,e:We}=Gc();await(L==null?void 0:L(We)),!be.preventDefault&&Ae()},[L,Ae]);return Hs.createPortal(v.jsx("div",{className:ba.Paper,style:{backgroundColor:O?"transparent":void 0,pointerEvents:re?void 0:"none",opacity:re},onMouseUp:Me,onMouseDown:Ge,onTransitionEnd:ye,ref:Ne,children:v.jsxs($r,{className:ba.Card,onMouseDown:Fe,onMouseUp:ze,style:l,isLoading:B,children:[v.jsxs("div",{className:ba.Body,style:f,children:[n&&v.jsx(SE,{title:n,titleStyle:u}),i&&v.jsx("div",{className:ba.Content,style:g,children:i})]}),t!=="none"&&v.jsx(CE,{type:t,ok:ce,cancel:Ae,resources:X,isOkDisabled:H,isOkLoading:z,isCancelDisabled:K,isCancelLoading:ue,okButtonStyle:m,cancelButtonStyle:R,actionStyle:w,buttonNoInteractive:J,okButtonClassName:fe,cancelButtonClassName:j})]})}),document.body)},SE=r=>{const{title:e,titleStyle:t}=r;return v.jsx("div",{className:Be.clsx(ba.Title,"NoSelect","Title3"),style:t,children:e})},CE=r=>{const{type:e,ok:t,cancel:n,resources:i,isOkDisabled:l,isOkLoading:u,isCancelDisabled:f,isCancelLoading:g,okButtonStyle:m,cancelButtonStyle:R,actionStyle:w,buttonNoInteractive:b,okButtonClassName:S,cancelButtonClassName:_}=r,M=A.useMemo(()=>({onClick:t,isDisabled:l,isLoading:u,children:i.Ok,style:m,noInteractive:b,className:Be.clsx(ba.Button,S)}),[t,l,u,i.Ok,m,b,S]),E=A.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:f,isLoading:g,children:i.Cancel,style:R,noInteractive:b,className:Be.clsx(ba.Button,_)}),[n,f,g,i.Cancel,R,b,_]);if(e==="okCancel"||e==="ok")return v.jsxs("div",{className:ba.Action,style:{...w},children:[v.jsx(Fi,{...M}),e==="okCancel"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Fi,{...E})]})]},e);if(e==="cancelOk"||e==="cancel")return v.jsxs("div",{className:ba.Action,children:[v.jsx(Fi,{...E}),e==="cancelOk"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Fi,{...M})]})]},e)},wE=r=>{const e=A.useMemo(()=>Math.random().toFixed(32),[]),t=A.useMemo(()=>{const S={};return r.forEach(_=>{S[_]=_+e}),S},[r,e]),n=A.useMemo(()=>[],[]),i=A.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[l,u]=A.useState([]),f=A.useRef((()=>{const S={};return i.forEach(_=>{S[_]={open:()=>u(M=>[...M,_]),close:()=>{},ok:()=>{},cancel:()=>{}}}),S})()),g=A.useMemo(()=>{const S={};return i.forEach(_=>{S[_]=M=>{u(E=>!M&&E.includes(_)?E.filter(x=>x!==_):M&&!E.includes(_)?[...E,_]:E)}}),S},[i]),m=A.useMemo(()=>{const S={};return i.forEach(_=>{const E=[l.includes(_),g[_]],x=L=>{f.current[_]={...f.current[_],...L}};S[_]={useIsOpen:E,setAction:x}}),S},[l,g,i]),R=A.useMemo(()=>{const S={};return i.forEach(_=>{const M=()=>f.current[_].open(),E=()=>f.current[_].close(),x=()=>f.current[_].ok(),L=()=>f.current[_].cancel();S[_]={open:M,close:E,ok:x,cancel:L}}),S},[i]),w=A.useMemo(()=>({}),[]),b=A.useMemo(()=>(i.forEach(S=>{w[S]={state:m[S],action:R[S]}}),w),[w,i,m,R]);return A.useEffect(()=>(Object.keys(b).forEach(_=>{const M=b[_],E=t[_],x=js.find(L=>{L.id});x?x.core=M:js.push({id:E,core:M})}),()=>{const _=Object.keys(b),M=js.filter(E=>_.includes(E.id));js.length=0,js.push(...M)}),[b,t]),b},AE=()=>{const r=A.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=A.useState(!1),n=A.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),i=A.useMemo(()=>({useIsOpen:[e,t],setAction:g=>{n.current={...n.current,...g}}}),[e]),l=A.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),u=A.useMemo(()=>({}),[]),f=A.useMemo(()=>(u.state=i,u.action=l,u),[u,i,l]);return A.useEffect(()=>{const g=js.find(m=>m.id===r);return g?g.core=f:js.push({id:r,core:f}),()=>{const m=js.filter(R=>R.id!==r);js.length=0,js.push(...m)}},[r,f]),f},TE=r=>{const{dlgCore:e,children:t}=r,[n,i]=A.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return A.useEffect(()=>()=>i==null?void 0:i(!1),[i]),v.jsx(A.Suspense,{children:n&&t})},EE=r=>e=>{const{dlgCore:t}=e;return v.jsx(TE,{dlgCore:t,children:A.cloneElement(v.jsx(r,{...e}),{dlgCore:t})})},js=[],kE={closeAllDlgs:()=>{js.forEach(r=>{r.core.action.close()})}},RE="_AFileBox_1hlo1_1",IE="_SelectedFile_1hlo1_16",LE="_Dropping_1hlo1_26",lh={AFileBox:RE,SelectedFile:IE,Dropping:LE},ME=r=>{const{useFile:e,FileRenderer:t=DE,SelectRenderer:n=OE,DropRenderer:i=PE,resources:l,accept:u="",onInvalidFileFormat:f,fileSelectButtonClassName:g,isDisabled:m,isLoading:R,className:w,...b}=r,S=A.useMemo(()=>({...hn.AFileBox,...l}),[l]),_=A.useRef(null),M=A.useRef(null),[E,x]=nn(e,null),[L,O]=A.useState(!1),B=A.useMemo(()=>u.split(",").map(re=>re.trim()).filter(re=>re.length>0&&re.startsWith(".")),[u]),H=A.useCallback(re=>{if(B.length===0)return!1;const de=re.name.split(".").pop();return de?!B.includes(`.${de}`):!0},[B]),z=A.useCallback(re=>{if(x)if(H(re)){f==null||f();return}else x(re);else return},[x,H,f]),K=A.useCallback(re=>{re.target.files&&re.target.files.length>0&&z(re.target.files[0])},[z]),ue=A.useCallback(re=>{re.preventDefault(),O(!1),!(m||R)&&re.dataTransfer.files&&re.dataTransfer.files.length>0&&z(re.dataTransfer.files[0])},[z,m,R]),J=A.useCallback(re=>{re.preventDefault(),!(m||R)&&O(!0)},[m,R]),fe=A.useCallback(re=>{re.target===_.current&&re.relatedTarget.contains(_.current.parentElement)&&(re.preventDefault(),O(!1))},[]),j=A.useCallback(re=>re.preventDefault(),[]),te=A.useCallback(()=>{var re;(re=M.current)==null||re.click()},[]),X=A.useMemo(()=>L?v.jsx(i,{resources:S}):E?v.jsx(t,{file:E,useFile:e}):v.jsx(n,{onClick:te,resources:S,fileSelectButtonClassName:g}),[t,n,i,S,L,E,e,g,te]);return v.jsxs($r,{...b,isDisabled:m,isLoading:R,className:Be.clsx(lh.AFileBox,w),onDrop:ue,onDragEnter:J,onDragLeave:fe,onDragOver:j,abaseRef:_,children:[v.jsx("input",{style:{display:"none"},ref:M,type:"file",onChange:K,value:"",accept:u}),X]})},DE=r=>{const{file:e,useFile:t}=r,[,n]=nn(t,null);return v.jsxs(Sn,{className:lh.SelectedFile,style:{backgroundColor:""},children:[v.jsx(jr,{icon:"File"}),v.jsx(Sa,{children:e.name}),v.jsx(_i,{type:"Raw",icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},onClick:()=>n==null?void 0:n(null)})]})},OE=r=>{const{onClick:e,resources:t,fileSelectButtonClassName:n}=r;return v.jsxs(Sn,{className:Be.clsx(lh.SelectFile,"NoSelect"),children:[v.jsx(Fi,{className:n,onClick:e,children:t["Select File"]}),v.jsx(mn,{w:4}),t["or Drag & Drop"]]})},PE=r=>{const{resources:e}=r;return v.jsxs(P2,{className:Be.clsx(lh.Dropping,"NoSelect","Headline2"),children:[v.jsx(jr,{icon:"FileDownload"}),e["drop file to select"]]})},NE="_AFileUploader_u134i_1",FE="_LabelContainer_u134i_14",jE="_LabelButton_u134i_23",BE="_Disabled_u134i_29",HE="_Delete_u134i_36",qE="_FileSize_u134i_40",zE="_TotalFileSize_u134i_47",$E="_FileBox_u134i_51",UE="_SelectRenderer_u134i_69",WE="_ChipsContainer_u134i_79",VE="_FileChip_u134i_89",GE="_FileChipContent_u134i_101",ZE="_FileNameContainer_u134i_112",KE="_ButtonRenderer_u134i_118",YE="_ErrorBorder_u134i_128",XE="_ErrorColor_u134i_132",JE="_ErrorCursor_u134i_136",Fn={AFileUploader:NE,LabelContainer:FE,LabelButton:jE,Disabled:BE,Delete:HE,FileSize:qE,TotalFileSize:zE,FileBox:$E,SelectRenderer:UE,ChipsContainer:WE,FileChip:VE,FileChipContent:GE,FileNameContainer:ZE,ButtonRenderer:KE,ErrorBorder:YE,ErrorColor:XE,ErrorCursor:JE},QE=r=>{const{helperText:e,label:t,labelProps:n,wrapProps:i,wrapType:l,errorMessage:u,useFiles:f,accept:g,onInvalidFileFormat:m,onDownload:R,onDownloads:w,onDelete:b,type:S,limit:_=1024*1024*1024,useError:M,useStatus:E,isLoading:x,resources:L,className:O,...B}=r,H=A.useMemo(()=>({...hn.AFileUploader,...L}),[L]),[z,K]=nn(f,void 0),[ue,J]=nn(M,!1),[fe,j]=nn(E,{}),[te,X]=A.useState(!1),re=A.useRef(null),de=A.useRef(null),ge=A.useCallback(Ie=>`${Ie.name}-${Ie.size}-${Ie.lastModified||""}`,[]),ye=A.useMemo(()=>(z==null?void 0:z.reduce((Ie,Oe)=>Ie+Oe.size,0))||0,[z]);A.useEffect(()=>{J&&J(ye>_)},[ye,_,J]);const ce=A.useCallback(Ie=>{var vt;if(!g||g==="*"||g==="")return!0;const Oe=g.split(",").map(wt=>wt.trim()),st=`.${(vt=Ie.name.split(".").pop())==null?void 0:vt.toLowerCase()}`;return Oe.includes(st)?!0:Oe.some(wt=>{var Et;if(wt.startsWith("."))return!1;if(wt.endsWith("/*")){const xt=wt.split("/")[0];return(Et=Ie.type)==null?void 0:Et.startsWith(`${xt}/`)}return Ie.type===wt})},[g]),Ae=A.useCallback((Ie,Oe)=>{j==null||j({...fe,[Ie]:Oe})},[fe,j]),le=A.useCallback(Ie=>{const Oe=ge(Ie);return fe[Oe]||"Normal"},[fe,ge]),se=A.useCallback(Ie=>x||le(Ie)==="Loading",[x,le]),pe=A.useCallback(Ie=>le(Ie)==="Error"||S==="Upload"&&Ie.size>_,[le,_,S]),Ne=A.useMemo(()=>z!=null&&z.length?S==="Download"?z.every(pe):!1:!0,[z,S,pe]),Ye=A.useCallback(()=>{re.current&&(re.current.value="")},[]),we=A.useCallback(Ie=>{if(!K)return;const Oe=[];let st=!1,vt=[];if(Array.from(Ie).forEach(wt=>{if(!ce(wt)){st=!0,vt.push(wt.name);return}const Et=wt;Oe.push(Et)}),st)if(m)m();else{const wt=g?g.replace(/,/g,", "):"",Et=wt?`${H["Supported file format(s)"]}: ${wt}`:"",xt=vt.length>3?`${vt.slice(0,3).join(", ")} ${H.and} ${vt.length-3} ${H["more file(s)"]}`:vt.join(", ");alert(`${H["Unsupported file format detected."]}
|
156
|
+
`+h.stack}}var Ll=t.ReactCurrentDispatcher,ua=t.ReactDebugCurrentFrame,Ml=0,co=1,Dl=2,Es=3,xu=4,Ha=0,fa=1,da=2,Tc=12800;function Su(d){return console.error(d),null}function ks(){}function Ol(d,s,c,h,y,D,F,W,ie){var Se=[],Je=new Set,lt={destination:null,responseState:s,progressiveChunkSize:h===void 0?Tc:h,status:Ha,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Je,pingedTasks:Se,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:y===void 0?Su:y,onAllReady:D===void 0?ks:D,onShellReady:F===void 0?ks:F,onShellError:W===void 0?ks:W,onFatalError:ie===void 0?ks:ie},Rt=qa(lt,0,null,c,!1,!1);Rt.parentFlushed=!0;var tr=Po(lt,d,null,Rt,Je,Ln,Cl,gf);return Se.push(tr),lt}function Oo(d,s){var c=d.pingedTasks;c.push(s),c.length===1&&u(function(){return Fc(d)})}function Pl(d,s){return{id:Ci,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null}}function Po(d,s,c,h,y,D,F,W){d.allPendingTasks++,c===null?d.pendingRootTasks++:c.pendingTasks++;var ie={node:s,ping:function(){return Oo(d,ie)},blockedBoundary:c,blockedSegment:h,abortSet:y,legacyContext:D,context:F,treeContext:W};return ie.componentStack=null,y.add(ie),ie}function qa(d,s,c,h,y,D){return{status:Ml,id:-1,index:s,parentFlushed:!1,chunks:[],children:[],formatContext:h,boundary:c,lastPushedText:y,textEmbedded:D}}var Zi=null;function Ki(){return Zi===null||Zi.componentStack===null?"":ca(Zi.componentStack)}function uo(d,s){d.componentStack={tag:0,parent:d.componentStack,type:s}}function za(d,s){d.componentStack={tag:1,parent:d.componentStack,type:s}}function ts(d,s){d.componentStack={tag:2,parent:d.componentStack,type:s}}function Yi(d){d.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):d.componentStack=d.componentStack.parent}var ha=null;function Nl(d,s){{var c;typeof s=="string"?c=s:s&&typeof s.message=="string"?c=s.message:c=String(s);var h=ha||Ki();ha=null,d.errorMessage=c,d.errorComponentStack=h}}function $a(d,s){var c=d.onError(s);if(c!=null&&typeof c!="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 c+'" instead');return c}function pa(d,s){var c=d.onShellError;c(s);var h=d.onFatalError;h(s),d.destination!==null?(d.status=da,L(d.destination,s)):(d.status=fa,d.fatalError=s)}function Cu(d,s,c){uo(s,"Suspense");var h=s.blockedBoundary,y=s.blockedSegment,D=c.fallback,F=c.children,W=new Set,ie=Pl(d,W),Se=y.chunks.length,Je=qa(d,Se,ie,y.formatContext,!1,!1);y.children.push(Je),y.lastPushedText=!1;var lt=qa(d,0,null,y.formatContext,!1,!1);lt.parentFlushed=!0,s.blockedBoundary=ie,s.blockedSegment=lt;try{if(rs(d,s,F),pn(lt.chunks,d.responseState,lt.lastPushedText,lt.textEmbedded),lt.status=co,ns(ie,lt),ie.pendingTasks===0){Yi(s);return}}catch(tr){lt.status=xu,ie.forceClientRender=!0,ie.errorDigest=$a(d,tr),Nl(ie,tr)}finally{s.blockedBoundary=h,s.blockedSegment=y}var Rt=Po(d,D,h,Je,W,s.legacyContext,s.context,s.treeContext);Rt.componentStack=s.componentStack,d.pingedTasks.push(Rt),Yi(s)}function Ec(d,s,c,h){uo(s,c);var y=s.blockedSegment,D=gr(y.chunks,c,h,d.responseState,y.formatContext);y.lastPushedText=!1;var F=y.formatContext;y.formatContext=Si(F,c,h),rs(d,s,D),y.formatContext=F,Tr(y.chunks,c),y.lastPushedText=!1,Yi(s)}function kc(d){return d.prototype&&d.prototype.isReactComponent}function Rs(d,s,c,h,y){var D={};_c(s,D);var F=c(h,y);return ws(c,h,F,y)}function Rc(d,s,c,h,y){var D=c.render();c.props!==y&&(Lc||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ln(h)||"a component"),Lc=!0);{var F=h.childContextTypes;if(F!=null){var W=s.legacyContext,ie=dc(c,h,W,F);s.legacyContext=ie,oi(d,s,D),s.legacyContext=W;return}}oi(d,s,D)}function Fl(d,s,c,h){ts(s,c);var y=Go(c,s.legacyContext),D=ao(c,h,y);Fa(D,c,h,y),Rc(d,s,D,c,h),Yi(s)}var mr={},Ua={},Ic={},Is={},Lc=!1,wu=!1,Mc=!1,Di=!1;function _f(d,s,c,h){var y;if(y=Go(c,s.legacyContext),za(s,c),c.prototype&&typeof c.prototype.render=="function"){var D=ln(c)||"Unknown";mr[D]||(i("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.",D,D),mr[D]=!0)}var F=Rs(d,s,c,h,y),W=di();if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){var ie=ln(c)||"Unknown";Ua[ie]||(i("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.",ie,ie,ie),Ua[ie]=!0)}if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){{var Se=ln(c)||"Unknown";Ua[Se]||(i("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.",Se,Se,Se),Ua[Se]=!0)}Fa(F,c,h,y),Rc(d,s,F,c,h)}else if(jl(c),W){var Je=s.treeContext,lt=1,Rt=0;s.treeContext=mc(Je,lt,Rt);try{oi(d,s,F)}finally{s.treeContext=Je}}else oi(d,s,F);Yi(s)}function jl(d){{if(d&&d.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",d.displayName||d.name||"Component"),typeof d.getDerivedStateFromProps=="function"){var s=ln(d)||"Unknown";Is[s]||(i("%s: Function components do not support getDerivedStateFromProps.",s),Is[s]=!0)}if(typeof d.contextType=="object"&&d.contextType!==null){var c=ln(d)||"Unknown";Ic[c]||(i("%s: Function components do not support contextType.",c),Ic[c]=!0)}}}function Bl(d,s){if(d&&d.defaultProps){var c=ki({},s),h=d.defaultProps;for(var y in h)c[y]===void 0&&(c[y]=h[y]);return c}return s}function Au(d,s,c,h,y){za(s,c.render);var D=Rs(d,s,c.render,h,y),F=di();if(F){var W=s.treeContext,ie=1,Se=0;s.treeContext=mc(W,ie,Se);try{oi(d,s,D)}finally{s.treeContext=W}}else oi(d,s,D);Yi(s)}function Hl(d,s,c,h,y){var D=c.type,F=Bl(D,h);Wa(d,s,D,F,y)}function Oi(d,s,c,h){c._context===void 0?c!==c.Consumer&&(Di||(Di=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var y=h.children;typeof y!="function"&&i("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 D=sa(c),F=y(D);oi(d,s,F)}function Tn(d,s,c,h){var y=c._context,D=h.value,F=h.children,W;W=s.context,s.context=hc(y,D),oi(d,s,F),s.context=ff(y),W!==s.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Dc(d,s,c,h,y){uo(s,"Lazy");var D=c._payload,F=c._init,W=F(D),ie=Bl(W,h);Wa(d,s,W,ie,y),Yi(s)}function Wa(d,s,c,h,y){if(typeof c=="function")if(kc(c)){Fl(d,s,c,h);return}else{_f(d,s,c,h);return}if(typeof c=="string"){Ec(d,s,c,h);return}switch(c){case bl:case Bi:case ve:case Ve:case Ao:{oi(d,s,h.children);return}case bn:{uo(s,"SuspenseList"),oi(d,s,h.children),Yi(s);return}case uu:throw new Error("ReactDOMServer does not yet support scope components.");case Pr:{Cu(d,s,h);return}}if(typeof c=="object"&&c!==null)switch(c.$$typeof){case sr:{Au(d,s,c,h,y);return}case Wr:{Hl(d,s,c,h,y);return}case Oe:{Tn(d,s,c,h);return}case Pt:{Oi(d,s,c,h);return}case Js:{Dc(d,s,c,h);return}}var D="";throw(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(D+=" 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: "+(c==null?c:typeof c)+"."+D))}function ql(d,s){typeof Symbol=="function"&&d[Symbol.toStringTag]==="Generator"&&(wu||i("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."),wu=!0),d.entries===s&&(Mc||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Mc=!0)}function oi(d,s,c){try{return Oc(d,s,c)}catch(h){throw typeof h=="object"&&h!==null&&typeof h.then=="function"||(ha=ha!==null?ha:Ki()),h}}function Oc(d,s,c){if(s.node=c,typeof c=="object"&&c!==null){switch(c.$$typeof){case cu:{var h=c,y=h.type,D=h.props,F=h.ref;Wa(d,s,y,D,F);return}case yl: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 Js:{var W=c,ie=W._payload,Se=W._init,Je;try{Je=Se(ie)}catch(po){throw typeof po=="object"&&po!==null&&typeof po.then=="function"&&uo(s,"Lazy"),po}oi(d,s,Je);return}}if(jt(c)){Pc(d,s,c);return}var lt=Wo(c);if(lt){ql(c,lt);var Rt=lt.call(c);if(Rt){var tr=Rt.next();if(!tr.done){var Dr=[];do Dr.push(tr.value),tr=Rt.next();while(!tr.done);Pc(d,s,Dr);return}return}}var Wn=Object.prototype.toString.call(c);throw new Error("Objects are not valid as a React child (found: "+(Wn==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":Wn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof c=="string"){var is=s.blockedSegment;is.lastPushedText=sn(s.blockedSegment.chunks,c,d.responseState,is.lastPushedText);return}if(typeof c=="number"){var ho=s.blockedSegment;ho.lastPushedText=sn(s.blockedSegment.chunks,""+c,d.responseState,ho.lastPushedText);return}typeof c=="function"&&i("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 Pc(d,s,c){for(var h=c.length,y=0;y<h;y++){var D=s.treeContext;s.treeContext=mc(D,h,y);try{rs(d,s,c[y])}finally{s.treeContext=D}}}function zl(d,s,c){var h=s.blockedSegment,y=h.chunks.length,D=qa(d,y,null,h.formatContext,h.lastPushedText,!0);h.children.push(D),h.lastPushedText=!1;var F=Po(d,s.node,s.blockedBoundary,D,s.abortSet,s.legacyContext,s.context,s.treeContext);s.componentStack!==null&&(F.componentStack=s.componentStack.parent);var W=F.ping;c.then(W,W)}function rs(d,s,c){var h=s.blockedSegment.formatContext,y=s.legacyContext,D=s.context,F=null;F=s.componentStack;try{return oi(d,s,c)}catch(W){if(xc(),typeof W=="object"&&W!==null&&typeof W.then=="function"){zl(d,s,W),s.blockedSegment.formatContext=h,s.legacyContext=y,s.context=D,Yo(D),s.componentStack=F;return}else throw s.blockedSegment.formatContext=h,s.legacyContext=y,s.context=D,Yo(D),s.componentStack=F,W}}function No(d,s,c,h){var y=$a(d,h);if(s===null?pa(d,h):(s.pendingTasks--,s.forceClientRender||(s.forceClientRender=!0,s.errorDigest=y,Nl(s,h),s.parentFlushed&&d.clientRenderedBoundaries.push(s))),d.allPendingTasks--,d.allPendingTasks===0){var D=d.onAllReady;D()}}function xf(d){var s=this,c=d.blockedBoundary,h=d.blockedSegment;h.status=Es,ga(s,c,h)}function fo(d,s,c){var h=d.blockedBoundary,y=d.blockedSegment;if(y.status=Es,h===null)s.allPendingTasks--,s.status!==da&&(s.status=da,s.destination!==null&&_(s.destination));else{if(h.pendingTasks--,!h.forceClientRender){h.forceClientRender=!0;var D=c===void 0?new Error("The render was aborted by the server without a reason."):c;h.errorDigest=s.onError(D);{var F="The server did not finish this Suspense boundary: ";D&&typeof D.message=="string"?D=F+D.message:D=F+String(D);var W=Zi;Zi=d;try{Nl(h,D)}finally{Zi=W}}h.parentFlushed&&s.clientRenderedBoundaries.push(h)}if(h.fallbackAbortableTasks.forEach(function(Se){return fo(Se,s,c)}),h.fallbackAbortableTasks.clear(),s.allPendingTasks--,s.allPendingTasks===0){var ie=s.onAllReady;ie()}}}function ns(d,s){if(s.chunks.length===0&&s.children.length===1&&s.children[0].boundary===null){var c=s.children[0];c.id=s.id,c.parentFlushed=!0,c.status===co&&ns(d,c)}else{var h=d.completedSegments;h.push(s)}}function ga(d,s,c){if(s===null){if(c.parentFlushed){if(d.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");d.completedRootSegment=c}if(d.pendingRootTasks--,d.pendingRootTasks===0){d.onShellError=ks;var h=d.onShellReady;h()}}else if(s.pendingTasks--,!s.forceClientRender){if(s.pendingTasks===0)c.parentFlushed&&c.status===co&&ns(s,c),s.parentFlushed&&d.completedBoundaries.push(s),s.fallbackAbortableTasks.forEach(xf,d),s.fallbackAbortableTasks.clear();else if(c.parentFlushed&&c.status===co){ns(s,c);var y=s.completedSegments;y.length===1&&s.parentFlushed&&d.partialBoundaries.push(s)}}if(d.allPendingTasks--,d.allPendingTasks===0){var D=d.onAllReady;D()}}function Nc(d,s){var c=s.blockedSegment;if(c.status===Ml){Yo(s.context);var h=null;h=Zi,Zi=s;try{oi(d,s,s.node),pn(c.chunks,d.responseState,c.lastPushedText,c.textEmbedded),s.abortSet.delete(s),c.status=co,ga(d,s.blockedBoundary,c)}catch(D){if(xc(),typeof D=="object"&&D!==null&&typeof D.then=="function"){var y=s.ping;D.then(y,y)}else s.abortSet.delete(s),c.status=xu,No(d,s.blockedBoundary,c,D)}finally{Zi=h}}}function Fc(d){if(d.status!==da){var s=hu(),c=Ll.current;Ll.current=Pn;var h;h=ua.getCurrentStack,ua.getCurrentStack=Ki;var y=Ts;Il(d.responseState);try{var D=d.pingedTasks,F;for(F=0;F<D.length;F++){var W=D[F];Nc(d,W)}D.splice(0,F),d.destination!==null&&si(d,d.destination)}catch(ie){$a(d,ie),pa(d,ie)}finally{Il(y),Ll.current=c,ua.getCurrentStack=h,c===Pn&&Yo(s)}}}function Va(d,s,c){switch(c.parentFlushed=!0,c.status){case Ml:{var h=c.id=d.nextSegmentId++;return c.lastPushedText=!1,c.textEmbedded=!1,Br(s,d.responseState,h)}case co:{c.status=Dl;for(var y=!0,D=c.chunks,F=0,W=c.children,ie=0;ie<W.length;ie++){for(var Se=W[ie];F<Se.index;F++)w(s,D[F]);y=$l(d,s,Se)}for(;F<D.length-1;F++)w(s,D[F]);return F<D.length&&(y=b(s,D[F])),y}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function $l(d,s,c){var h=c.boundary;if(h===null)return Va(d,s,c);if(h.parentFlushed=!0,h.forceClientRender)return $n(s,d.responseState,h.errorDigest,h.errorMessage,h.errorComponentStack),Va(d,s,c),Ea(s,d.responseState);if(h.pendingTasks>0){h.rootSegmentID=d.nextSegmentId++,h.completedSegments.length>0&&d.partialBoundaries.push(h);var y=h.id=kn(d.responseState);return So(s,d.responseState,y),Va(d,s,c),Ai(s,d.responseState)}else{if(h.byteSize>d.progressiveChunkSize)return h.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(h),So(s,d.responseState,h.id),Va(d,s,c),Ai(s,d.responseState);Wi(s,d.responseState);var D=h.completedSegments;if(D.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var F=D[0];return $l(d,s,F),Kr(s,d.responseState)}}function jc(d,s,c){return au(s,d.responseState,c.id,c.errorDigest,c.errorMessage,c.errorComponentStack)}function Ga(d,s,c){return ar(s,d.responseState,c.formatContext,c.id),$l(d,s,c),Gr(s,c.formatContext)}function Tu(d,s,c){for(var h=c.completedSegments,y=0;y<h.length;y++){var D=h[y];Bc(d,s,c,D)}return h.length=0,Ra(s,d.responseState,c.id,c.rootSegmentID)}function Eu(d,s,c){for(var h=c.completedSegments,y=0;y<h.length;y++){var D=h[y];if(!Bc(d,s,c,D))return y++,h.splice(0,y),!1}return h.splice(0,y),!0}function Bc(d,s,c,h){if(h.status===Dl)return!0;var y=h.id;if(y===-1){var D=h.id=c.rootSegmentID;if(D===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ga(d,s,h)}else return Ga(d,s,h),of(s,d.responseState,y)}function si(d,s){R();try{var c=d.completedRootSegment;c!==null&&d.pendingRootTasks===0&&($l(d,s,c),d.completedRootSegment=null,Jr(s,d.responseState));var h=d.clientRenderedBoundaries,y;for(y=0;y<h.length;y++){var D=h[y];jc(d,s,D)}h.splice(0,y);var F=d.completedBoundaries;for(y=0;y<F.length;y++){var W=F[y];Tu(d,s,W)}F.splice(0,y),S(s),R(s);var ie=d.partialBoundaries;for(y=0;y<ie.length;y++){var Se=ie[y];if(!Eu(d,s,Se)){d.destination=null,y++,ie.splice(0,y);return}}ie.splice(0,y);var Je=d.completedBoundaries;for(y=0;y<Je.length;y++){var lt=Je[y];Tu(d,s,lt)}Je.splice(0,y)}finally{S(s),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&(d.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),_(s))}}function Xi(d){u(function(){return Fc(d)})}function Sf(d,s){if(d.status===fa){d.status=da,L(s,d.fatalError);return}if(d.status!==da&&d.destination===null){d.destination=s;try{si(d,s)}catch(c){$a(d,c),pa(d,c)}}}function ku(d,s){try{var c=d.abortableTasks;c.forEach(function(h){return fo(h,d,s)}),c.clear(),d.destination!==null&&si(d,d.destination)}catch(h){$a(d,h),pa(d,h)}}function Ul(d,s){return new Promise(function(c,h){var y,D,F=new Promise(function(Rt,tr){D=Rt,y=tr});function W(){var Rt=new ReadableStream({type:"bytes",pull:function(tr){Sf(Se,tr)},cancel:function(tr){ku(Se)}},{highWaterMark:0});Rt.allReady=F,c(Rt)}function ie(Rt){F.catch(function(){}),h(Rt)}var Se=Ol(d,Cn(s?s.identifierPrefix:void 0,s?s.nonce:void 0,s?s.bootstrapScriptContent:void 0,s?s.bootstrapScripts:void 0,s?s.bootstrapModules:void 0),hi(s?s.namespaceURI:void 0),s?s.progressiveChunkSize:void 0,s?s.onError:void 0,D,W,ie,y);if(s&&s.signal){var Je=s.signal,lt=function(){ku(Se,Je.reason),Je.removeEventListener("abort",lt)};Je.addEventListener("abort",lt)}Xi(Se)})}Ad.renderToReadableStream=Ul,Ad.version=e}()),Ad}var Xv;function V4(){if(Xv)return Vl;Xv=1;var r,e;return process.env.NODE_ENV==="production"?(r=z4(),e=$4()):(r=U4(),e=W4()),Vl.version=r.version,Vl.renderToString=r.renderToString,Vl.renderToStaticMarkup=r.renderToStaticMarkup,Vl.renderToNodeStream=r.renderToNodeStream,Vl.renderToStaticNodeStream=r.renderToStaticNodeStream,Vl.renderToReadableStream=e.renderToReadableStream,Vl}var X_=V4();const Ns=al(X_);function Nf(r,e,t){return e!==void 0&&r<e?e:t!==void 0&&r>t?t:r}const Zc={_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 i,l,u,f,g,m;const t=`${r}|${e}`;if(this._charWidthMap.has(t))return this._charWidthMap.get(t);try{this._canvas||(this._canvas=document.createElement("canvas"));const R=this._canvas.getContext("2d");if(R){R.font=e;const w=R.measureText(r).width;return this._charWidthMap.set(t,w),w}}catch{}let n;return r===" "?n=parseInt(((i=e.match(/(\d+)px/))==null?void 0:i[1])||"14")/3:/^[A-Z]$/.test(r)?n=parseInt(((l=e.match(/(\d+)px/))==null?void 0:l[1])||"14")*.67:/^[a-z]$/.test(r)?n=parseInt(((u=e.match(/(\d+)px/))==null?void 0:u[1])||"14")*.5:/^\d$/.test(r)?n=parseInt(((f=e.match(/(\d+)px/))==null?void 0:f[1])||"14")*.6:/^[.,;:!?]$/.test(r)?n=parseInt(((g=e.match(/(\d+)px/))==null?void 0:g[1])||"14")*.25:n=parseInt(((m=e.match(/(\d+)px/))==null?void 0:m[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(A.isValidElement(r))try{const t=X_.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 l;if(!r)return 0;const t=e||this.getDefaultFont(),n=`${r}|${t}`,i=this._cache.get(n);if(i!==void 0)return i;try{this._canvas||(this._canvas=document.createElement("canvas"));const u=this._canvas.getContext("2d");if(u){u.font=t;const f=u.measureText(r),g=Math.ceil(f.width);return this._cache.size>=300&&[...this._cache.keys()].slice(0,50).forEach(R=>this._cache.delete(R)),this._cache.set(n,g),g}}catch{}try{const u=document.createElement("span");u.style.font=t,u.style.position="absolute",u.style.visibility="hidden",u.style.whiteSpace="nowrap",u.textContent=r,document.body.appendChild(u);const f=Math.ceil(u.getBoundingClientRect().width);return document.body.removeChild(u),this._cache.set(n,f),f}catch{}try{let u=0;for(let g=0;g<r.length;g++)u+=this.measureCharWidth(r[g],t);u*=.95;const f=Math.ceil(u);return this._cache.set(n,f),f}catch{}try{const u=parseInt(((l=t.match(/(\d+)px/))==null?void 0:l[1])||"14");let f=0;for(let m=0;m<r.length;m++){const R=r[m];R===" "?f+=.33:/^[A-Z]$/.test(R)?f+=.67:/^[a-z]$/.test(R)?f+=.5:/^\d$/.test(R)?f+=.6:/^[.,;:!?]$/.test(R)?f+=.25:f+=.67}const g=Math.ceil(f*u);return this._cache.set(n,g),g}catch{const f=r.length*10;return this._cache.set(n,f),f}},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:i="",optionRenderer:l,type:u="Primary",isMulti:f=!1}){if(!r.current)return 200;try{let g=0;if(e&&e.length>0){const S=[...e.length>0?[e[0]]:[],...e.length>1?[e[e.length-1]]:[],...e.length>10?Array.from({length:8},(M,E)=>e[Math.floor(E*e.length/8)]):e,...e.length>20?Array.from({length:5},()=>e[Math.floor(Math.random()*e.length)]):[]],_=Array.from(new Set(S.filter(Boolean)));for(const M of _){if(!M)continue;const E=this.measureRenderedOptionWidth(M,l);g=Math.max(g,E)}}let m=0;if(!f&&t)m=this.measureRenderedOptionWidth(t,l);else if(f&&n&&n.length){if(n.length===1)m=this.measureRenderedOptionWidth(n[0],l);else if(m=this.measureTextWidth(`${n.length} selected`),n.length>0){let S=0;for(const _ of n){const M=this.measureRenderedOptionWidth(_,l);S=Math.max(S,M)}m=Math.max(m,S)}}let R=0;i&&(R=this.measureReactNodeWidth(i));const b=Math.max(g,m,R,50);if(r.current){const S=window.getComputedStyle(r.current),_=parseFloat(S.paddingLeft||"0")+parseFloat(S.paddingRight||"0"),M=parseFloat(S.borderLeftWidth||"0")+parseFloat(S.borderRightWidth||"0"),E=u==="Primary"?30:20,x=f?24:0,L=Math.ceil(b*.05)+10;return Math.ceil(b+_+M+E+x+L)}return b+60}catch{return 200}}};var yi=(r=>(r.N="North",r.S="South",r.E="East",r.W="West",r))(yi||{}),ef=(r=>(r.N="North",r.NW="NorthWest",r.NE="NorthEast",r.S="South",r.SW="SouthWest",r.SE="SouthEast",r.E="East",r.EN="EastNorth",r.ES="EastSouth",r.W="West",r.WN="WestNorth",r.WS="WestSouth",r))(ef||{});function dm(r,e,t,n){if(!r.current||!e.current)return;const i=r.current.getBoundingClientRect(),l=e.current.getBoundingClientRect();let u={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":u=l?{bottom:window.innerHeight-i.top,left:i.left+i.width/2-l.width/2}:{bottom:window.innerHeight-i.top,left:i.left};break;case"NorthWest":u={bottom:window.innerHeight-i.top,left:i.left};break;case"NorthEast":u={bottom:window.innerHeight-i.top,right:window.innerWidth-i.left-i.width};break;case"South":u=l?{top:i.bottom,left:i.left+i.width/2-l.width/2}:{top:i.bottom,left:i.left};break;case"SouthWest":u={top:i.bottom,left:i.left};break;case"SouthEast":u={top:i.bottom,right:window.innerWidth-i.left-i.width};break;case"East":u=l?{top:i.top+i.height/2-l.height/2,left:i.right}:{top:i.top,left:i.right};break;case"EastNorth":u={bottom:window.innerHeight-i.top-i.height,left:i.right};break;case"EastSouth":u={top:i.top,left:i.right};break;case"West":u=l?{top:i.top+i.height/2-l.height/2,right:window.innerWidth-i.left}:{top:i.top,right:window.innerWidth-i.left};break;case"WestNorth":u={bottom:window.innerHeight-i.top-i.height,right:window.innerWidth-i.left};break;case"WestSouth":u={top:i.top,right:window.innerWidth-i.left};break;default:u={top:i.top,left:i.left}}n&&(n.x&&u.left&&(u.left+=n.x),n.y&&u.top&&(u.top+=n.y)),u=Q_(u,l),e.current.style.top=u.top+"px",e.current.style.left=u.left+"px",e.current.style.bottom=u.bottom+"px",e.current.style.right=u.right+"px"}function J_(r,e,t,n){if(!r)return;const i=e instanceof HTMLElement?e:e==null?void 0:e.current;if(!i)return;const l=r.getBoundingClientRect(),u=i.getBoundingClientRect();let f={bottom:void 0,left:void 0,right:void 0,top:void 0};switch(t){case"North":f=u?{bottom:window.innerHeight-l.top,left:l.left+l.width/2-u.width/2}:{bottom:window.innerHeight-l.top,left:l.left};break;case"NorthWest":f={bottom:window.innerHeight-l.top,left:l.left};break;case"NorthEast":f={bottom:window.innerHeight-l.top,right:window.innerWidth-l.left-l.width};break;case"South":f=u?{top:l.bottom,left:l.left+l.width/2-u.width/2}:{top:l.bottom,left:l.left};break;case"SouthWest":f={top:l.bottom,left:l.left};break;case"SouthEast":f={top:l.bottom,right:window.innerWidth-l.left-l.width};break;case"East":f=u?{top:l.top+l.height/2-u.height/2,left:l.right}:{top:l.top,left:l.right};break;case"EastNorth":f={bottom:window.innerHeight-l.top-l.height,left:l.right};break;case"EastSouth":f={top:l.top,left:l.right};break;case"West":f=u?{top:l.top+l.height/2-u.height/2,right:window.innerWidth-l.left}:{top:l.top,right:window.innerWidth-l.left};break;case"WestNorth":f={bottom:window.innerHeight-l.top-l.height,right:window.innerWidth-l.left};break;case"WestSouth":f={top:l.top,right:window.innerWidth-l.left};break;default:f={top:l.top,left:l.left}}return n&&(n.x&&f.left&&(f.left+=n.x),n.y&&f.top&&(f.top+=n.y)),f=Q_(f,u),i.style.top=f.top+"px",i.style.left=f.left+"px",i.style.bottom=f.bottom+"px",i.style.right=f.right+"px",f}function Q_(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 Gc(){const r={preventDefault:!1};return{event:r,e:{preventDefault:()=>r.preventDefault=!0}}}const G4="_Tooltip_3l8se_1",Z4="_Arrow_3l8se_17",Jv={Tooltip:G4,Arrow:Z4},e2=r=>{const{tooltip:e,targetRef:t,delay:n=0,distance:i=10,direction:l=yi.S}=r,[u,f]=A.useState(!1),g=A.useRef(null),m=A.useRef(null),R=A.useRef(),w=A.useCallback(()=>{f(!0),R.current&&(clearTimeout(R.current),R.current=void 0);const M=setTimeout(()=>Qv(t,g,m,i,l),n);R.current=M},[t,n,i,l]),b=A.useCallback(()=>f(!1),[]);A.useEffect(()=>{const M=t.current;if(M)return M.addEventListener("mouseenter",w),M.addEventListener("mouseleave",b),()=>{M.removeEventListener("mouseenter",w),M.removeEventListener("mouseleave",b)}},[t,b,w]);const S=A.useCallback(()=>{Qv(t,g,m,i,l)},[t,i,l]);A.useEffect(()=>{if(!t.current||!g.current||!u)return;const M=t.current.parentElement;let E=M;for(;E;)E.addEventListener("scroll",S),E=E.parentElement;return()=>{let x=M;for(;x;)x.removeEventListener("scroll",S),x=x.parentElement}},[t,S,u]),A.useEffect(()=>{S()},[e,S]);const _=A.useMemo(()=>{switch(typeof e){case"boolean":return!0;case"string":return e==="";case"number":return!1;default:return!e}},[e]);return!u||_?null:Hs.createPortal(v.jsxs("div",{className:Be.clsx(Jv.Tooltip,"NoSelect"),ref:g,children:[e,v.jsx("div",{ref:m,className:Jv.Arrow})]}),document.body)},Td="5px solid var(--ATooltip_background-color)";function Qv(r,e,t,n,i=yi.S){if(!r.current||!e.current||!t.current)return;const l=K4(r.current,e.current,n,i);if(!l)return;const{left:u,top:f,arrowDir:g,arrow:m}=l;e.current.style.left=`${u}px`,e.current.style.top=`${f}px`,e.current.style.visibility="visible",e.current.style.opacity="1",t.current.style.border="5px solid transparent",g===yi.N?(t.current.style.top="-9px",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderBottom=Td):g===yi.S?(t.current.style.top="100%",t.current.style.left=`calc(50% - 5px + ${m.left??0}px)`,t.current.style.borderTop=Td):g===yi.W?(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="-9px",t.current.style.borderRight=Td):g===yi.E&&(t.current.style.top=`calc(50% - 5px + ${m.top??0}px)`,t.current.style.left="100%",t.current.style.borderLeft=Td)}const Gl=5;function K4(r,e,t,n){const i=r.getBoundingClientRect(),l=e.getBoundingClientRect();function u(){if(window.innerHeight-i.bottom>l.height+t){const R=i.bottom+t,w=i.left+(i.width-l.width)/2,b=Nf(w,Gl,window.innerWidth-Gl-l.width),S=yi.N;return{left:b,top:R,arrowDir:S,arrow:{left:w-b}}}}function f(){if(i.top>l.height+t){const R=i.top-l.height-t,w=i.left+(i.width-l.width)/2,b=Nf(w,Gl,window.innerWidth-Gl-l.width),S=yi.S;return{left:b,top:R,arrowDir:S,arrow:{left:w-b}}}}function g(){if(window.innerWidth-i.right>l.width+t){const R=i.right+t,w=i.top+(i.height-l.height)/2,b=Nf(w,Gl,window.innerHeight-Gl-l.height),S=yi.W;return{left:R,top:b,arrowDir:S,arrow:{top:w-b}}}}function m(){if(i.left>l.width+t){const R=i.left-l.width-t,w=i.top+(i.height-l.height)/2,b=Nf(w,Gl,window.innerHeight-Gl-l.height),S=yi.E;return{left:R,top:b,arrowDir:S,arrow:{top:w-b}}}}if(n===yi.E)return g()||m()||u()||f();if(n===yi.S)return u()||f()||g()||m();if(n===yi.W)return m()||g()||u()||f();if(n===yi.N)return f()||u()||g()||m()}const Y4="_ABase_xbi52_1",X4="_UseDimming_xbi52_6",J4="_Dimmer_xbi52_6",Q4="_Spinner_xbi52_9",e5="_Dimmed_xbi52_12",t5="_IsDimmed_xbi52_33",r5="_IsLoading_xbi52_38",n5="_IsDisabled_xbi52_43",Rf={ABase:Y4,UseDimming:X4,Dimmer:J4,Spinner:Q4,Dimmed:e5,IsDimmed:t5,IsLoading:r5,IsDisabled:n5},$r=r=>{const{children:e,abaseRef:t,isDisabled:n,isLoading:i,isDimmed:l,tooltip:u,tooltipDistance:f=10,tooltipDelay:g=0,tooltipDirection:m=yi.S,...R}=r,w=A.useRef(null),b=A.useMemo(()=>t??w,[t]),S=A.useMemo(()=>typeof n=="string"&&n!==""?n:u!==void 0?u:"",[n,u]),_=A.useMemo(()=>n||i||l,[n,i,l]),M=A.useMemo(()=>n!==void 0||i!==void 0||l!==void 0,[n,i,l]);return v.jsxs("div",{...R,className:Be.clsx(R.className,Rf.ABase,M&&Rf.UseDimming,_&&Rf.Dimmed),ref:b,children:[e,M&&v.jsx("div",{className:Be.sclsx(Rf,"Dimmer",n&&"IsDisabled",i&&"IsLoading",l&&"IsDimmed")}),i&&v.jsx("div",{className:Be.sclsx(Rf,"Spinner",n&&"IsDisabled",i&&"IsLoading"),children:v.jsx(jr,{icon:"Spinner"})}),v.jsx(e2,{tooltip:S,delay:g,distance:f,direction:m,targetRef:b})]})},i5="_AButton_vulhu_1",o5="_Primary_vulhu_14",s5="_Secondary_vulhu_19",a5="_Alter_vulhu_24",l5="_AIconButton_vulhu_30",c5="_AThemeButton_vulhu_71",Zf={AButton:i5,Primary:o5,Secondary:s5,Alter:a5,AIconButton:l5,AThemeButton:c5},u5=["Primary","Secondary","Alter","Raw"],Fi=r=>{const{type:e="Primary",onClick:t,noInteractive:n,...i}=r,l=A.useMemo(()=>i.isDisabled||i.isLoading,[i.isDisabled,i.isLoading]),u=A.useCallback(f=>{l||t==null||t(f)},[l,t]);return v.jsx($r,{...i,className:Be.clsx(i.className,Zf.AButton,e!=="Raw"&&Zf[e],"IsClickable",!l&&!n&&"IsInteractive"),onClick:u})},f5=["Primary","Secondary","Raw"],_i=r=>{const{icon:e,iconSize:t,type:n="Primary",onClick:i,isDisabled:l,isLoading:u,tooltip:f,className:g,...m}=r,R=A.useMemo(()=>l||u,[l,u]),w=A.useCallback(S=>{R||i==null||i(S)},[R,i]),b=A.useMemo(()=>fm.includes(e)?v.jsx(jr,{icon:e,size:t}):e,[e,t]);return v.jsx($r,{className:Be.clsx(Zf.AIconButton,!l&&!u&&"IsClickable",n!=="Raw"&&Zf[n],g),onClick:w,isDisabled:l,isLoading:u,tooltip:f,...m,children:b})};function nn(r,e){r!==void 0&&r.length===1&&(e=r[0]);const t=A.useState(e);return A.useMemo(()=>r===void 0||r.length===1?t:r,[t,r])}const d5={Ok:"Ok",Cancel:"Cancel"},h5={"select n":r=>v.jsxs(v.Fragment,{children:["Select ",r]}),"deselect n":r=>v.jsxs(v.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..."},p5={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"},g5={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"},m5={"drop file to select":"Drop file to select","or Drag & Drop":"or Drag & Drop","Select File":"Select File"},v5={"Checked n items":r=>v.jsxs(v.Fragment,{children:["Checked ",r," items"]}),"Searched n items":r=>v.jsxs(v.Fragment,{children:["Searched ",r," items"]}),"Total n items":r=>v.jsxs(v.Fragment,{children:["Total ",r," items"]}),"Sort by x":r=>v.jsxs(v.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"},y5={"Select(Placeholder)":"Select"},b5={"Select(Placeholder)":"Select"},_5={"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","Image size adjust":"Image size adjust",Center:"Center",floatLeft:"Left",floatRight:"Right","Input on mouse down":"Input on mouse down",Restore:"Restore","Right click to open properties":"Right click to open properties",Default:"Default"},x5={Asterisk:"Required field"},S5={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)"},hn={ADialog:d5,ATree:h5,ADatePicker:p5,ADateRangePicker:g5,AFileBox:m5,ATable:v5,ASelect:y5,AMultiSelect:b5,AEditor:_5,AWrap:x5,AFileUploader:S5};function C5(r,e){er.keys(e).forEach(t=>{r[t]=e[t]})}const w5=(r,e)=>{C5(hn[r],e)},A5="_AWrap_16uyn_1",T5="_Label_16uyn_8",E5="_Asterisk_16uyn_19",k5="_HelperTextConatiner_16uyn_23",R5="_HelperText_16uyn_23",Du={AWrap:A5,Label:T5,Asterisk:E5,HelperTextConatiner:k5,HelperText:R5,Error:"_Error_16uyn_38"},I5=["Default","Error"],ec=r=>{const{wrapProps:e,errorMessage:t,helperText:n,wrapType:i="Default",label:l,labelProps:u,children:f}=r,g=A.useRef(null),[m,R]=A.useState({height:0}),w=A.useRef(null),[b,S]=A.useMemo(()=>{let M=n,E=i;if(Array.isArray(t)){const x=t.filter(Boolean);x.length>0&&([M,E]=[x,"Error"])}else t&&([M,E]=[t,"Error"]);return Array.isArray(M)&&(E!=="Error"&&(M=M.filter(Boolean)),M=M.map((x,L)=>v.jsxs(A.Fragment,{children:[x,v.jsx("br",{})]},L))),[M,E]},[n,t,i]);A.useEffect(()=>{if(!b||!g.current)R({height:0});else{const M=g.current.getBoundingClientRect();R({height:M.height,marginTop:M.height===0?0:6})}},[b]);const _=A.useMemo(()=>{switch(typeof(u==null?void 0:u.prefix)){case"string":return v.jsx(jr,{width:"1rem",height:"1rem",icon:u.prefix});case"boolean":return v.jsx(jr,{width:10,height:10,icon:"Target"});default:return u==null?void 0:u.prefix}},[u==null?void 0:u.prefix]);return v.jsxs("div",{...e,className:Be.clsx(e==null?void 0:e.className,Du.AWrap),ref:w,children:[l&&v.jsxs("div",{className:Be.clsx(Du.Label,"NoSelect",u==null?void 0:u.className),style:u==null?void 0:u.style,children:[_,l,(u==null?void 0:u.asterisk)&&v.jsx($r,{tooltip:hn.AWrap.Asterisk,className:Du.Asterisk,children:"*"})]}),f,b!==void 0&&v.jsx("div",{className:Be.clsx(Du.HelperTextConatiner,"NoSelect"),style:m,children:v.jsx("div",{className:Be.clsx(Du.HelperText,Du[S]),ref:g,children:b})})]})},L5="_ASwitch_1uv2e_1",M5="_Track_1uv2e_6",D5="_Truthy_1uv2e_13",O5="_Thumb_1uv2e_17",If={ASwitch:L5,Track:M5,Truthy:D5,Thumb:O5},t2=r=>{const{wrapProps:e,helperText:t,label:n,useCheck:i,...l}=r,[u,f]=nn(i,!1),g=A.useCallback(m=>{var R;l.isDisabled||l.isLoading||(f==null||f(!u),(R=l.onClick)==null||R.call(l,m))},[l,u,f]);return v.jsx(ec,{helperText:t,label:n,wrapProps:{...e},children:v.jsx($r,{...l,className:If.ASwitch,onClick:g,children:v.jsx("div",{className:Be.clsx(If.Track,u&&If.Truthy),children:v.jsx("div",{className:Be.clsx(If.Thumb,u&&If.Truthy)})})})})},P5={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","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","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"}}},xi=$_.cloneDeep(P5);er.keys(xi.semantic).forEach(r=>{const e=xi.semantic[r];er.keys(e).forEach(t=>{e[t]=`var(--${e[t]})`})});const oh=er.keys(xi.palette),r2=er.keys(xi.palette[oh[0]]);function N5(){return ai.paletteMode}function F5(r,e=ai.paletteMode){return xi.palette[e][r]}function j5(r){return ah(r)}const Zd=[];function n2(r){ai.paletteMode=r,r2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,xi.palette[r][e])),Zd.forEach(e=>e(r))}function i2(r,e="all"){er.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?oh.forEach(l=>{xi.palette[l][n]=i}):xi.palette[e][n]=i)})}const Gu=er.keys(xi.semantic),o2=er.keys(xi.semantic[Gu[0]]);function B5(){return ai.semanticMode}function H5(r,e=ai.semanticMode){return xi.semantic[e][r]}function q5(r){return ah(r)}const Kd=[];function hm(r){ai.semanticMode=r,document.documentElement.setAttribute("data-theme",r),o2.forEach(e=>document.documentElement.style.setProperty(`--${e}`,xi.semantic[r][e])),Kd.forEach(e=>e(r)),ai.save==="localStorage"?localStorage.setItem("semanticMode",r):ai.save==="sessionStorage"&&sessionStorage.setItem("semanticMode",r)}function s2(r,e=ai.semanticMode){er.keys(r).forEach(n=>{const i=r[n];i!==void 0&&(document.documentElement.style.setProperty(`--${n}`,i),e==="all"?Gu.forEach(l=>{xi.semantic[l][n]=i}):xi.semantic[e][n]=i)})}const a2=["Body-background-color","Body-color","Body-transition","Font","Scrollbar-handle","Scrollbar-handle-hover","Scrollbar-handle-active","Scrollbar-track","Scrollbar-border-radius","Scrollbar-width","Transition"],l2=["ABase_Dimming_background-color"],c2=["ATooltip_background-color","ATooltip_color"],u2=["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"],f2=["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"],d2=["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"],h2=["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"],p2=["ACheckBox_color"],g2=["ADialog_Paper_background-color","ADialog_background-color","ADialog_border","ADialog_Action_background-color"],m2=["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"],v2=["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"],y2=["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"],b2=["ASwitch_Track_Falsy_border","ASwitch_Track_Truthy_border","ASwitch_Thumb_border"],_2=["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"],x2=["AFileBox_border","AFileBox_background-color","AFileBox_SelectedFile_color","AFileBox_Dropping_color"],S2=["AListView_border-thin","AListView_border-thick"],C2=["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"],w2=["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"],A2=["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"],T2=["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"],E2=["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"],k2=["ADivideFrame_DividerInner_background-color"],R2=["AFloatMenu_background-color","AFloatMenu_hover_background-color","AFloatMenu_color","AFloatMenu_border"],I2=["ALoadingBorder_background-color","ALoadingBorder_ProgressBar_background-color","ALoadingBorder_Cover_background-color"],L2=["AWrap_Error_color"],M2=["ARadioSelect_RadioButton_border","ARadioSelect_RadioButton_InnerCircle_isChecked_background-color"],D2=["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"],z5=[...a2,...l2,...c2,...u2,...f2,...d2,...h2,...p2,...g2,...m2,...v2,...y2,...b2,..._2,...x2,...S2,...C2,...w2,...A2,...T2,...E2,...k2,...R2,...I2,...L2,...M2,...D2],sh={"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","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 $5(r){return sh[r]}function U5(r){return ah(r)}function O2(r){er.keys(r).forEach(t=>{const n=r[t];n!==void 0&&(document.documentElement.style.setProperty(`--${t}`,n),sh[t]=n)})}function W5(r){er.keys(r).forEach(t=>{const n=r[t];if(n===void 0)return;const i=xi.semantic[ai.semanticMode][n];i!==void 0&&(document.documentElement.style.setProperty(t,i),sh[t]=i)})}const ai={paletteMode:oh[0],semanticMode:Gu[0],save:"",followDeviceSetting:!1};function V5({semanticMode:r,save:e,followDeviceSetting:t}){if(t!==void 0&&(ai.followDeviceSetting=t,t)){const n=window.matchMedia("(prefers-color-scheme: dark)"),i=u=>{ai.semanticMode=u.matches?"dark":"light"};i(n);const l=u=>i(u);n.addEventListener("change",l)}if(e!==void 0){if(ai.save=e,e==="localStorage"){const n=localStorage.getItem("semanticMode");Gu.includes(n)&&(ai.semanticMode=n)}else if(e==="sessionStorage"){const n=sessionStorage.getItem("semanticMode");Gu.includes(n)&&(ai.semanticMode=n)}}r!==void 0&&(ai.semanticMode=r),n2(ai.paletteMode),hm(ai.semanticMode),i2(xi.palette[ai.paletteMode]),s2(xi.semantic[ai.semanticMode]),O2(sh)}function G5(r){r.type==="semanticModeChange"?Kd.push(r.listener):r.type==="paletteModeChange"?Zd.push(r.listener):console.error("AThemes.addEventListener : parameter is not valid")}function Z5(r){if(r.type==="semanticModeChange"){const e=Kd.indexOf(r.listener);e!==-1&&Kd.splice(e,1)}else if(r.type==="paletteModeChange"){const e=Zd.indexOf(r.listener);e!==-1&&Zd.splice(e,1)}else console.error("AThemes.removeEventListener : parameter is not valid")}function ah(r){const e=window.getComputedStyle(document.documentElement);let t=e.getPropertyValue(r);return t===""&&(t=e.getPropertyValue(`--${r}`)),t}function K5(r){Object.assign(Be.additionalClasses,r),Be.updateKeys(),Be.additionalClasses=Be.additionalClasses}const Ff={getCurrentPaletteMode:N5,getPaletteValue:F5,getPaletteDeepValue:j5,changePaletteMode:n2,editPalette:i2,getCurrentSemanticMode:B5,getSemanticValue:H5,getSemanticDeepValue:q5,changeSemanticMode:hm,editSemantic:s2,getComponentStyleValue:$5,getComponentStyleDeepValue:U5,editComponentStyle:O2,editComponentStyleWithSemantic:W5,init:V5,addEventListener:G5,removeEventListener:Z5,getDeepValue:ah,addClasses:K5},Y5=r=>{const{onChange:e,onClick:t,type:n="Icon",...i}=r,[l,u]=A.useState(Ff.getCurrentSemanticMode()==="dark"?"Moon":"Sun"),f=A.useCallback(g=>{const m=Ff.getCurrentSemanticMode();let R="light";m==="light"?R="dark":m==="dark"&&(R="light"),Ff.changeSemanticMode(R),u(X5[R]),e==null||e(R),t==null||t(g)},[e,t]);if(n==="Icon")return v.jsx(_i,{...i,className:Be.clsx(Zf.AThemeButton,i.className,"IsInteractive"),type:"Raw",icon:l,onClick:f});if(n==="Switch")return v.jsx(t2,{...i,useCheck:[Ff.getCurrentSemanticMode()==="dark",f]})},X5={light:"Sun",dark:"Moon"},J5="_ACheckBoxWrap_1ozuz_1",Q5="_ACheckBox_1ozuz_1",e0={ACheckBoxWrap:J5,ACheckBox:Q5},Zu=r=>{const{useCheck:e,isIndeterminate:t,isDisabled:n,isLoading:i,onClick:l,...u}=r,[f,g]=nn(e,!1),m=A.useCallback(R=>{n||i||(g==null||g(!f),l==null||l(R))},[n,i,l,f,g]);return v.jsx($r,{...u,className:Be.clsx(u.className,e0.ACheckBoxWrap),isDisabled:n,isLoading:i,onClick:m,children:v.jsx(jr,{className:e0.ACheckBox,icon:t?"Check.Indeterminate":f?"Check.Checked":"Check.UnChecked"})})};function eT(r){return typeof r=="function"}function tT(r,e){return eT(r)?r(e):r}const Lr={getContent:tT},rT="_ARowFrame_1586b_1",nT="_AColFrame_1586b_7",iT="_AOverflowFrame_1586b_13",oT="_ADivideFrame_1586b_22",sT="_Row_1586b_28",aT="_Col_1586b_31",lT="_ChildFrame_1586b_35",cT="_IsReturning_1586b_48",uT="_Divider_1586b_52",fT="_IsMoving_1586b_60",dT="_DividerInner_1586b_66",hT="_IsClicked_1586b_91",qo={ARowFrame:rT,AColFrame:nT,AOverflowFrame:iT,ADivideFrame:oT,Row:sT,Col:aT,ChildFrame:lT,IsReturning:cT,Divider:uT,IsMoving:fT,DividerInner:dT,IsClicked:hT},Sn=r=>v.jsx($r,{...r,className:Be.clsx(qo.ARowFrame,r.className),children:r.children}),P2=r=>v.jsx("div",{...r,className:Be.clsx(qo.AColFrame,r.className),children:r.children}),Sa=r=>{const{tooltip:e,children:t,abaseRef:n,isDisabled:i,className:l,noOverflowTooltip:u,...f}=r,g=A.useRef(null),m=A.useMemo(()=>n??g,[n]),[R,w]=A.useState(!1),b=A.useCallback(()=>w(!0),[]),S=A.useCallback(()=>w(!1),[]);A.useEffect(()=>{const M=m.current;if(M)return M.addEventListener("mouseenter",b),M.addEventListener("mouseleave",S),()=>{M.removeEventListener("mouseenter",b),M.removeEventListener("mouseleave",S)}},[m,b,S]);const _=A.useMemo(()=>i?"":u||!R||!m.current?e:m.current.scrollWidth>m.current.clientWidth?t:e,[m,i,t,e,u,R]);return v.jsx($r,{...f,isDisabled:i,children:t,abaseRef:m,tooltip:_,className:Be.clsx(qo.AOverflowFrame,l)})},N2=r=>{const{value:e,map:t}=r;return t[e]===void 0?t.fallback:v.jsx(A.Suspense,{children:t[e]})},Yh={},pT=r=>{const{pk:e,direction:t="Row",lefts:n,minLength:i=40,children:l,childStyle:u,childClassName:f,dividerStyle:g,dividerClassName:m,dividerPadding:R,dividerInnerClassName:w,dividerInnerStyle:b,...S}=r,_=A.useMemo(()=>{let re;return typeof l=="object"&&Array.isArray(l)?re=l:re=[l],re=re.filter(de=>de!=null&&de!==!1),re},[l]),[M,E]=A.useState(e===void 0?n:Yh[e]??n),x=A.useMemo(()=>typeof i=="number"?Array(_.length).fill(i+(R??0)):i.map(re=>re+(R??0)),[i,_.length,R]),[L,O]=A.useState(),B=A.useMemo(()=>L!==void 0?L:M,[L,M]),H=A.useRef(null),z=A.useRef({x:0,y:0}),[K,ue]=A.useState(),J=A.useCallback((re,de)=>{if(H.current===null)return;const me=H.current;z.current={x:re.clientX,y:re.clientY},O(M),ue(de);let ye=[...M];const ce=le=>{const se=me.getBoundingClientRect(),pe=t==="Row"?se.left:se.top,Ne=t==="Row"?se.width:se.height;ye=vT(M,t,de,le,pe,Ne,x),O(ye)},Ee=()=>{ue(void 0),O(void 0),E(ye),e!==void 0&&(Yh[e]=ye),window.removeEventListener("mousemove",ce),window.removeEventListener("mouseup",Ee)};window.addEventListener("mousemove",ce),window.addEventListener("mouseup",Ee)},[M,e,t,x]),[fe,j]=A.useState(!1),te=A.useCallback(()=>{E(n),e!==void 0&&(Yh[e]=n),j(!0)},[n,e]),X=A.useMemo(()=>_.map((re,de)=>{const me=B[de],ye=me-(de===0?0:B[de-1]),ce=de===0,Ee=de===_.length-1,le={...u,...gT(t,ye,Ee)};return R!==void 0&&(t==="Row"?(ce||(le.paddingLeft=R),Ee||(le.paddingRight=R)):(ce||(le.paddingTop=R),Ee||(le.paddingBottom=R))),v.jsxs(A.Fragment,{children:[v.jsx("div",{className:Be.clsx(qo.ChildFrame,f,fe&&qo.IsReturning,qo[t]),onTransitionEnd:()=>j(!1),style:le,children:re}),!Ee&&v.jsx("div",{className:Be.clsx(qo.Divider,qo[t],"NoSelect",K!==void 0&&qo.IsMoving,K===de&&qo.IsClicked,m),style:{...g,...mT(t,me)},onMouseDown:se=>J(se,de),onDoubleClick:te,children:v.jsx("div",{className:Be.clsx(qo.DividerInner,w),style:b})})]},de)}),[_,B,u,t,R,f,fe,K,m,g,te,w,b,J]);return v.jsx("div",{...S,className:Be.clsx(qo.ADivideFrame,r.className,qo[t]),ref:H,children:X})};function gT(r,e,t){return t?{}:r==="Col"?{height:e,minHeight:e,maxHeight:e}:{maxWidth:e,width:e,minWidth:e}}function mT(r,e){return r==="Col"?{top:e}:{left:e}}function vT(r,e,t,n,i,l,u){const f=[...r];let g=n.clientX-i-r[t];e==="Col"&&(g=n.clientY-i-r[t]);const m=w=>u.slice(0,w+1).reduce((b,S)=>b+S,0),R=w=>u.slice(w+1).reduce((b,S)=>b+S,0);if(g<0){let w=f[t]+g;if(w<=m(t))for(let b=0;b<=t;b++)f[b]=m(b);else if(f[t]=w,t>0)for(let b=t-1;b>=0&&w-f[b]<u[b];b--)f[b]=w-u[t],w=f[b]}else if(g>0){let w=f[t]+g;if(w>=l-R(t))for(let b=t;b<r.length;b++)f[b]=l-R(b);else if(f[t]=w,t<r.length-1)for(let b=t+1;b<r.length&&f[b]-w<u[b];b++)f[b]=w+u[b],w=f[b]}return f}const Qc=()=>v.jsx("div",{style:{display:"flex",flexGrow:1}}),yT="_ASpace_1okqf_1",bT={ASpace:yT},mn=r=>{const{h:e,w:t,...n}=r;return v.jsx("div",{...n,className:Be.clsx(bT.ASpace,n.className),style:{height:e,minHeight:e,maxHeight:e,width:t,minWidth:t,maxWidth:t,...n.style}})},_T="_AChipsContainer_1ag9v_1",xT="_AChip_1ag9v_1",ST="_Clickable_1ag9v_21",CT="_AChipDelete_1ag9v_26",wT="_IsHover_1ag9v_40",AT="_AChipDeleteIcon_1ag9v_45",zu={AChipsContainer:_T,AChip:xT,Clickable:ST,AChipDelete:CT,IsHover:wT,AChipDeleteIcon:AT},TT=r=>{const{useLabels:e,alignItems:t="flex-start",ChipStyle:n,ChipClassName:i,ChipOnDelete:l,ChipOnClick:u,ChipIcon:f,className:g,style:m,ButtonRenderer:R=F2,gap:w=8,...b}=r,[S,_]=nn(e,[]),M=A.useCallback(x=>{!_||!l||(l({label:x}),_(S.filter(L=>L!==x)))},[_,l,S]),E=A.useCallback(x=>{const L={label:x};return{label:x,useLabel:[x,()=>{}],style:Lr.getContent(n,L),className:Lr.getContent(i,L),icon:Lr.getContent(f,L),onDelete:()=>M(x),onClick:u?()=>u({label:x}):void 0}},[i,f,u,n,M]);return v.jsx($r,{...b,style:{...m,alignItems:t,gap:w},className:Be.clsx(zu.AChipsContainer,g),children:S.map((x,L)=>v.jsx(pm,{...E(x),ButtonRenderer:R},L))})},pm=r=>{const{label:e,useLabel:t,icon:n,className:i,onDelete:l,onClick:u,ButtonRenderer:f=F2,width:g="fit-content",style:m,...R}=r;return e===void 0?v.jsx(v.Fragment,{}):v.jsxs($r,{...R,style:{...m,width:g},onClick:u,className:Be.clsx("NoSelect",zu.AChip,u&&zu.Clickable,u&&"IsClickable",i),children:[v.jsx(Sa,{children:e}),f({...r})]})},F2=r=>{const{label:e,icon:t,onDelete:n,useLabel:i}=r,[,l]=nn(i,e),[u,f]=A.useState(!1),g=A.useCallback(w=>{n&&(w.stopPropagation(),l==null||l(void 0),n(r))},[n,r,l]),m=()=>{f(!0)},R=()=>{f(!1)};return v.jsx(v.Fragment,{children:n&&v.jsxs(v.Fragment,{children:[v.jsx(Qc,{}),v.jsx(mn,{w:24}),v.jsx($r,{className:Be.clsx(zu.AChipDelete,"IsClickable",u&&zu.IsHover)}),v.jsx(_i,{type:"Raw",onClick:g,onMouseEnter:m,onMouseLeave:R,icon:t||v.jsx(jr,{icon:"Close",stroke:"currentColor",width:14,height:14}),className:zu.AChipDeleteIcon})]})})},Kc=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]}`},ET=r=>{let e="";r<0&&(e+="-",r=-r);const t=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60;return t>0&&(e+=t.toString().padStart(2,"0")+":"),e+=n.toString().padStart(2,"0")+":",e+=i.toString().padStart(2,"0"),e},kT=/[a-zA-Z0-9]/,RT=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9]{2,}$/,IT=/^[a-zA-Z0-9._-]+$/,LT=/^[0-9a-fA-F-]+$/i,MT=/[가-힣ㄱ-ㅎㅏ-ㅣ]/,DT=/^\S*$/,OT=/^([^ㄱ-ㅎㅏ-ㅣ])*$/i,PT=/[!@#$%^&*+=;:?/<>\\[\](){}~\-_.(),]/,NT=/^(?=.*[A-Za-z])(?=.*\d)(?=.*[\W_])[A-Za-z\d\W_]{8,}$/,FT=/^[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}$/,jT={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)},j2={secondToTime:ET,validate:jT,FileSizeTrans:Kc},BT=r=>{const{maxTicks:e=300,interval:t=1e3,onFinish:n,noStartOnRender:i,actionRef:l,wrapProps:u,helperText:f,label:g,...m}=r,[R,w]=A.useState(0),[b,S]=A.useState(!i);A.useEffect(()=>{if(!b||m.isDisabled||m.isLoading)return;const O=setInterval(()=>w(B=>B+1),t);return()=>clearInterval(O)},[t,b,m.isDisabled,m.isLoading]);const _=A.useCallback(()=>{n==null||n(),S(!1)},[n]);A.useEffect(()=>{R>=e&&!m.isDisabled&&!m.isLoading&&_()},[R,e,_,m.isDisabled,m.isLoading]);const M=A.useCallback(()=>{m.isDisabled||S(!0)},[m.isDisabled]),E=A.useCallback(()=>{m.isDisabled||S(!1)},[m.isDisabled]),x=A.useCallback(()=>{m.isDisabled||(S(!1),w(0))},[m.isDisabled]);A.useEffect(()=>{l&&(l.current={start:M,stop:E,reset:x,setTicks:w})},[l,M,E,x]);const L=e-R;return v.jsx(ec,{wrapProps:u,helperText:f,label:g,children:v.jsx($r,{...m,children:j2.secondToTime(L>0?L:0)})})};function zs(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 HT(r){try{if(!r)return;const e=new Date(r);return isNaN(e.getTime())?void 0:e}catch{return}}function qT(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0)}function zT(r){return new Date(r.getFullYear(),r.getMonth(),r.getDate(),23,59,59,999)}function t0(r,e){return zs(r)===zs(e)}function $u(r,e){return zs(r)>zs(e)}function Yd(r,e){return zs(r)>=zs(e)}function Xd(r,e){return zs(r)<zs(e)}function Jd(r,e){return zs(r)<=zs(e)}function r0(r,e,t){return $u(r,t)?$u(e,t)&&Xd(e,r):$u(e,r)&&Xd(e,t)}function n0(r,e,t){return $u(r,t)?Yd(e,t)&&Jd(e,r):Yd(e,r)&&Jd(e,t)}const Yt={toString:zs,toDate:HT,makeSDate:qT,makeEDate:zT,"===":t0,">":$u,">=":Yd,"<":Xd,"<=":Jd,"s<d<e|e<d<s":r0,"s<=d<=e|e<=d<=s":n0,eq:t0,g:$u,ge:Yd,l:Xd,le:Jd,b:r0,be:n0},$T="_InputContainer_gsbiq_7",UT="_AInput_gsbiq_21",WT="_LeftAddon_gsbiq_40",VT="_RightAddon_gsbiq_46",GT="_ErrorHelperText_gsbiq_52",ZT="_Primary_gsbiq_56",KT="_UnAvailable_gsbiq_61",YT="_Secondary_gsbiq_72",XT="_ReadOnly_gsbiq_87",to={InputContainer:$T,AInput:UT,LeftAddon:WT,RightAddon:VT,ErrorHelperText:GT,Primary:ZT,UnAvailable:KT,Secondary:YT,ReadOnly:XT,Error:"_Error_gsbiq_52"},JT=["Primary","Secondary","ReadOnly","Error"],tc=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",inputRef:i,useValue:l,isReadonly:u,placeholder:f,minLength:g,maxLength:m,tabIndex:R,autoFocus:w,isPassword:b,autoComplete:S="off",inputProps:_,LeftAddon:M,RightAddon:E,wrapProps:x,helperText:L,label:O,wrapType:B,labelProps:H,...z}=r,K=A.useMemo(()=>QT(t)?"Error":n,[t,n]),ue=A.useMemo(()=>K==="ReadOnly"?!0:u,[K,u]),J=A.useMemo(()=>z.isDisabled||z.isLoading,[z.isDisabled,z.isLoading]),[fe,j]=nn(l,""),te=A.useCallback(re=>{var de;J||((de=_==null?void 0:_.onKeyDown)==null||de.call(_,re),["Escape","Enter","ArrowUp","ArrowDown"].includes(re.key)||re.stopPropagation(),re.key==="Enter"&&e&&e(re.currentTarget.value))},[J,_,e]),X=A.useCallback(re=>{var de;J||g&&re.target.value.length<g||(j==null||j(re.target.value),(de=_==null?void 0:_.onChange)==null||de.call(_,re))},[J,g,j,_]);return b?v.jsx(ec,{wrapProps:x,label:O,helperText:L,errorMessage:t,wrapType:B,labelProps:H,children:v.jsx("form",{onSubmit:re=>re.preventDefault(),children:v.jsxs($r,{...z,className:Be.clsx(to.InputContainer,to[K],J&&to.UnAvailable,z.className),children:[M&&v.jsx("div",{className:to.LeftAddon,children:M}),v.jsx("input",{..._,className:Be.clsx(to.AInput,K==="Error"&&to.InputError,_==null?void 0:_.className),value:fe,type:"password",readOnly:ue,onChange:X,onKeyDown:te,placeholder:f,maxLength:m,tabIndex:z.isDisabled||z.isLoading?-1:R,autoFocus:w,autoComplete:S,ref:i}),E&&v.jsx("div",{className:Be.clsx(to.RightAddon,"NoSelect"),children:E})]})})}):v.jsx(ec,{wrapProps:x,label:O,helperText:L,errorMessage:t,wrapType:B,labelProps:H,children:v.jsxs($r,{...z,className:Be.clsx(to.InputContainer,to[K],J&&to.UnAvailable,z.className),children:[M&&v.jsx("div",{className:to.LeftAddon,children:M}),v.jsx("input",{..._,className:Be.clsx(to.AInput,K==="Error"&&to.InputError,_==null?void 0:_.className),value:fe,readOnly:ue,onChange:X,onKeyDown:te,placeholder:f,maxLength:m,tabIndex:z.isDisabled||z.isLoading?-1:R,autoFocus:w,autoComplete:S,ref:i}),E&&v.jsx("div",{className:to.RightAddon,children:E})]})})};function QT(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}const e6="_ASelect_ocngk_1",t6="_Arrow_ocngk_14",r6="_Primary_ocngk_23",n6="_UnAvailable_ocngk_34",i6="_IsOpen_ocngk_34",o6="_Secondary_ocngk_41",s6="_Placeholder_ocngk_57",a6="_ValuesContainer_ocngk_61",l6="_Values_ocngk_61",c6="_Options_ocngk_80",u6="_Option_ocngk_80",f6="_Selected_ocngk_122",d6="_CheckBox_ocngk_129",Ho={ASelect:e6,Arrow:t6,Primary:r6,UnAvailable:n6,IsOpen:i6,Secondary:o6,Placeholder:s6,ValuesContainer:a6,Values:l6,Options:c6,Option:u6,Selected:f6,CheckBox:d6},h6=["Primary","Secondary"],rc=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.ASelect["Select(Placeholder)"],onClose:l,OptionRenderer:u=g6,SelectedRenderer:f=m6,minShowRows:g=2,maxShowRows:m=6,arrowProps:R,isAutoWidth:w=!1,...b}=r,S=A.useRef(null),_=A.useMemo(()=>b.abaseRef??S,[b.abaseRef]),M=A.useRef(null),[E,x]=nn(t,e[0]),[L,O]=A.useState(void 0),[B,H]=A.useState(!1),[z,K]=A.useState(!1),ue=A.useRef(e),J=A.useRef(null),fe=A.useCallback(()=>K(!1),[]),j=A.useCallback(()=>{b.isDisabled||b.isLoading||e.length<1||(K(!0),setTimeout(()=>H(!0),0),setTimeout(()=>Xh(M,_,e,g,m),0))},[_,b.isDisabled,b.isLoading,e,g,m]),te=A.useCallback(()=>{H(!1),K(!0),l==null||l()},[l]),X=A.useCallback(le=>{var se;B?te():j(),setTimeout(()=>Xh(M,_,e,g,m),0),(se=b.onClick)==null||se.call(b,le)},[_,b,e,B,te,j,g,m]),re=A.useCallback(()=>{Xh(M,_,e,g,m)},[_,e,g,m]);A.useEffect(()=>{if(!B||!_.current)return;const le=_.current;let se=le.parentElement;for(;se;)se.addEventListener("scroll",re),se=se.parentElement;return()=>{let pe=le.parentElement;for(;pe;)pe.removeEventListener("scroll",re),pe=pe.parentElement}},[_,B,re]),A.useEffect(()=>{if(B)return window.addEventListener("resize",re),()=>window.removeEventListener("resize",re)},[B,re]);const de=A.useCallback(le=>{le[0].intersectionRatio===0&&te()},[te]);A.useEffect(()=>{if(!B)return;const le=new IntersectionObserver(de,{threshold:0});return _.current&&le.observe(_.current),()=>le.disconnect()},[_,B,de]);const me=A.useCallback(le=>{const se=le.target,pe=_.current,Ne=M.current;!pe||!se||!Ne||!pe.contains(se)&&!Ne.contains(se)&&te()},[_,te]),ye=A.useMemo(()=>b.isDisabled||b.isLoading||e.length<1,[b.isDisabled,b.isLoading,e]);A.useEffect(()=>{if(B)return setTimeout(()=>document.addEventListener("mousedown",me),0),()=>document.removeEventListener("mousedown",me)},[B,me]);const ce=A.useCallback((le,se)=>{le.stopPropagation(),le.preventDefault(),x==null||x(se),te()},[x,te]),Ee=A.useCallback(()=>{if(!w||!_.current)return;const le=Zc.calculateOptimalSelectWidth({elementRef:_,options:e,selectedOption:E,placeholder:i,optionRenderer:se=>se===null?null:u({option:se}),type:n,isMulti:!1});O(le)},[w,_,e,E,i,u,n]);return A.useEffect(()=>w?((e!==ue.current||L===void 0)&&(J.current!==null&&cancelAnimationFrame(J.current),J.current=requestAnimationFrame(()=>{Ee(),J.current=null,ue.current=[...e]})),()=>{J.current!==null&&(cancelAnimationFrame(J.current),J.current=null)}):void 0,[w,e,Ee,L]),A.useEffect(()=>()=>{typeof Zc.clearCache=="function"&&Zc.clearCache()},[]),v.jsxs(v.Fragment,{children:[v.jsxs($r,{...b,isDisabled:b.isDisabled||e.length<1,className:Be.clsx(b.className,Ho.ASelect,"NoSelect",B&&Ho.IsOpen,ye&&Ho.UnAvailable,Ho[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:L?`${L}px`:w?"100px":void 0,...b.style},abaseRef:_,onClick:X,children:[v.jsx("div",{className:Ho.ValuesContainer,children:v.jsx("div",{className:Be.clsx(Ho.Values,(E==null||E==="")&&Ho.Placeholder),children:v.jsx(f,{selectedOption:E,OptionRenderer:u,placeholder:i})})}),v.jsx("div",{...R,className:Be.clsx(Ho.Arrow,R==null?void 0:R.className),children:v.jsx(jr,{style:{transform:B?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(B||z)&&Hs.createPortal(v.jsx("div",{className:Be.clsx(Ho.Options,Ho[n]),onTransitionEnd:fe,style:{opacity:+B,visibility:B?"visible":"hidden",pointerEvents:B?void 0:"none",borderRadius:_.current?window.getComputedStyle(_.current).borderRadius:void 0,width:L?`${L}px`:w?"100px":void 0},ref:M,children:e.map((le,se)=>{const pe=E===le,Ne=_.current?window.getComputedStyle(_.current):void 0;return le===null?null:v.jsx("div",{className:Be.clsx(Ho.Option,pe&&Ho.Selected,"NoSelect",Ho[n]),style:{height:Ne==null?void 0:Ne.height},onClick:Ye=>ce(Ye,le),children:v.jsx(u,{option:le})},se)})}),document.body)]})};function Xh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=p6(l,t.length,n,i),f=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${f.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.width||(r.current.style.minWidth=u.minWidth+"px"),r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function p6(r,e,t,n){const i={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<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const g6=r=>{const{option:e}=r;return er.isReactNode(e)?e:null},m6=r=>{const{selectedOption:e,OptionRenderer:t,placeholder:n}=r;return e==null||e===""?n:v.jsx(t,{option:e})},v6="_Anchor_502n9_1",y6="_Primary_502n9_18",b6="_Secondary_502n9_21",_6="_Placeholder_502n9_25",x6="_Icon_502n9_30",S6="_ADatePicker_502n9_37",C6="_StringInputWrap_502n9_48",w6="_StringInputContainer_502n9_53",A6="_StringInput_502n9_48",T6="_IsIdx_502n9_68",E6="_CalendarContainer_502n9_72",k6="_Header_502n9_78",R6="_Prev_502n9_82",I6="_Next_502n9_83",L6="_MonthYear_502n9_116",M6="_Select_502n9_121",D6="_Calendar_502n9_72",O6="_Cell_502n9_132",P6="_IsNotCurrentMonth_502n9_144",N6="_IsSelected_502n9_148",F6="_IsDisabled_502n9_152",j6="_IsHovered_502n9_155",B6="_Week_502n9_159",H6="_WeekDay_502n9_164",rn={Anchor:v6,Primary:y6,Secondary:b6,Placeholder:_6,Icon:x6,ADatePicker:S6,StringInputWrap:C6,StringInputContainer:w6,StringInput:A6,String:"_String_502n9_48",IsIdx:T6,CalendarContainer:E6,Header:k6,Prev:R6,Next:I6,MonthYear:L6,Select:M6,Calendar:D6,Cell:O6,IsNotCurrentMonth:P6,IsSelected:N6,IsDisabled:F6,IsHovered:j6,Week:B6,WeekDay:H6},q6="_Anchor_iz4hf_1",z6="_Primary_iz4hf_18",$6="_Secondary_iz4hf_22",U6="_Placeholder_iz4hf_26",W6="_Icon_iz4hf_31",V6="_ADateRangePicker_iz4hf_38",G6="_StringInputWrap_iz4hf_49",Z6="_StringInputContainer_iz4hf_53",K6="_StringInput_iz4hf_49",Y6="_IsIdx_iz4hf_69",X6="_CalendarContainer_iz4hf_73",J6="_Header_iz4hf_79",Q6="_Prev_iz4hf_83",eE="_Next_iz4hf_84",tE="_MonthYear_iz4hf_117",rE="_Select_iz4hf_122",nE="_Calendar_iz4hf_73",iE="_Cell_iz4hf_133",oE="_IsNotCurrentMonth_iz4hf_145",sE="_IsSelected_iz4hf_149",aE="_IsDisabled_iz4hf_153",lE="_IsHovered_iz4hf_156",cE="_Week_iz4hf_160",uE="_WeekDay_iz4hf_165",fE="_ChoiceButton_iz4hf_169",Hr={Anchor:q6,Primary:z6,Secondary:$6,Placeholder:U6,Icon:W6,ADateRangePicker:V6,StringInputWrap:G6,StringInputContainer:Z6,StringInput:K6,String:"_String_iz4hf_49",IsIdx:Y6,CalendarContainer:X6,Header:J6,Prev:Q6,Next:eE,MonthYear:tE,Select:rE,Calendar:nE,Cell:iE,IsNotCurrentMonth:oE,IsSelected:sE,IsDisabled:aE,IsHovered:lE,Week:cE,WeekDay:uE,ChoiceButton:fE},gm=r=>{const{type:e="Primary",className:t,useDateRange:n,actionRef:i,position:l=ef.SE,minDate:u,maxDate:f,isDisabled:g,isLoading:m,yearsOptionSize:R,noDefaultChoices:w,LeftAddon:b,RightAddon:S,placeholder:_,noClearButton:M,resources:E,onClick:x,...L}=r,O=A.useMemo(()=>({...hn.ADateRangePicker,...E}),[E]),B=A.useMemo(()=>_??O["Select DateRange"],[_,O]),[H,z]=A.useMemo(()=>{let ne,et;if(u&&(ne=Yt.makeSDate(u)),f&&(et=Yt.makeEDate(f)),ne&&et&&Yt["<"](et,ne)){console.warn("ADateRangePicker: maxDate should be greater than minDate. maxDate and minDate are swapped.");const ct=ne;ne=et,et=ct}return[ne,et]},[u,f]),[K,ue]=A.useState("sD"),[J,fe]=nn(n,void 0),j=A.useCallback(ne=>{fe&&(ne===void 0?(fe(void 0),be(""),Ct("")):(fe({sDate:Yt.makeSDate(ne.sDate),eDate:Yt.makeEDate(ne.eDate)}),be(Yt.toString(ne.sDate)),Ct(Yt.toString(ne.eDate))))},[fe]);A.useEffect(()=>{J&&(be(Yt.toString(J.sDate)),Ct(Yt.toString(J.eDate)))},[J]);const te=A.useCallback(ne=>{if(!fe)return;let et=J?J.sDate:Yt.makeSDate(ne);ne=Yt.makeEDate(ne),fe({sDate:et,eDate:ne}),be(Yt.toString(et)),Ct(Yt.toString(ne))},[fe,J]),[X,re]=A.useState(),[de,me]=A.useState(),ye=A.useCallback(ne=>{K==="sD"&&j({sDate:ne,eDate:ne}),re(ne),me(ne)},[K,j,re]),ce=A.useCallback(ne=>{K==="sD"?X&&(Yt.eq(X,ne)?ue("eD"):Yt[">"](ne,X)?(te(ne),re(void 0)):(j({sDate:ne,eDate:X}),re(void 0))):(J?Yt["<"](ne,J.sDate)?j({sDate:ne,eDate:J.eDate}):te(ne):j({sDate:ne,eDate:ne}),re(void 0),ue("sD"))},[te,X,ue,K,j,J,re]),Ee=A.useCallback(ne=>{X&&me(ne)},[X]),le=A.useCallback(()=>{me(void 0),re(void 0),ue("sD")},[ue,re]),[se,pe]=A.useState(i0(J,H,z)),Ne=A.useMemo(()=>mm(se.year,H,z,R),[se.year,H,z,R]),Ye=A.useMemo(()=>Kf(se.year,H,z),[H,z,se.year]),we=A.useCallback(ne=>{if(!Ne.includes(ne))return;const et={month:se.month,year:ne},ct=Kf(et.year,H,z);ct.length<1||(ct.includes(et.month)||(et.month<ct[0]?et.month=ct[0]:et.month>ct[ct.length-1]&&(et.month=ct[ct.length-1])),pe(et))},[H,z,Ne,se.month]),De=A.useCallback(ne=>{Ye.includes(ne)&&pe({month:ne,year:se.year})},[Ye,se.year]),Fe=A.useMemo(()=>z?new Date(se.year,se.month+1,1)>z:!1,[se,z]),ze=A.useCallback(()=>{if(Fe||Ye.length<1)return;const ne=se.month+1;ne>11?pe({month:Ye[0],year:se.year+1}):pe({month:ne,year:se.year})},[Fe,Ye,se]),Ge=A.useMemo(()=>H?new Date(se.year,se.month,0)<H:!1,[se,H]),Le=A.useCallback(()=>{if(Ge||Ye.length<1)return;const ne=se.month-1;ne<Ye[0]?pe({month:Ye[Ye.length-1],year:se.year-1}):pe({month:ne,year:se.year})},[Ge,Ye,se]),[Ae,be]=A.useState(J!=null&&J.sDate?Yt.toString(J.sDate):""),We=A.useCallback(ne=>{if(ne.length>10||(be(ne),ne.length<10)||!fe)return;let et=Yt.toDate(ne);if(!et)return;H&&et<H&&(et=H),z&&et>z&&(et=z);let ct=J?J.eDate:et;J&&Yt[">"](et,ct)&&([et,ct]=o0(et,ct)),j({sDate:et,eDate:ct}),pe({month:et.getMonth(),year:et.getFullYear()})},[fe,j,J,H,z]),[ht,Ct]=A.useState(J!=null&&J.eDate?Yt.toString(J.eDate):""),it=A.useCallback(ne=>{if(ne.length>10||(Ct(ne),ne.length<10)||!fe)return;let et=Yt.toDate(ne);if(!et)return;H&&et<H&&(et=H),z&&et>z&&(et=z);let ct=J?J.sDate:et;J&&Yt[">"](ct,et)&&([ct,et]=o0(ct,et)),j({sDate:ct,eDate:et}),pe({month:et.getMonth(),year:et.getFullYear()})},[fe,j,J,H,z]),Ie=A.useCallback(()=>{J&&(be(Yt.toString(J.sDate)),Ct(Yt.toString(J.eDate)))},[J]),Pe=A.useMemo(()=>{const{month:ne,year:et}=se,ct=new Date(et,ne,1),tt=new Date(et,ne+1,0),Me=[];for(let kt=0;kt<ct.getDay();kt++){const Bt=new Date(et,ne,0).getDate()-ct.getDay()+kt+1,Wt=new Date(et,ne-1,Bt),rr=H&&H>Wt||z&&z<Wt,Ht=J?Yt.be(J.sDate,Wt,J.eDate):!1,$t=de&&J&&Yt.be(J.sDate,Wt,de);Me.push({day:Bt,isSelected:Ht,isHovered:$t,date:Wt,isDisabled:rr,isCurrentMonth:!1})}for(let kt=1;kt<=tt.getDate();kt++){const _t=new Date(et,ne,kt),Bt=H&&H>_t||z&&z<_t,Wt=J?Yt.be(J.sDate,_t,J.eDate):!1,rr=de&&J&&Yt.be(J.sDate,_t,de);Me.push({day:kt,isSelected:Wt,isHovered:rr,date:_t,isDisabled:Bt,isCurrentMonth:!0})}for(let kt=0;kt<7-tt.getDay()-1;kt++){const _t=new Date(et,ne+1,kt+1),Bt=H&&H>_t||z&&z<_t,Wt=J?Yt.be(J.sDate,_t,J.eDate):!1,rr=de&&J&&Yt.be(J.sDate,_t,de);Me.push({day:kt+1,isSelected:Wt,isHovered:rr,date:_t,isDisabled:Bt,isCurrentMonth:!1})}const pt=[];for(let kt=0;kt<Me.length/7;kt++)pt.push(v.jsx("div",{className:Hr.Week,children:Me.slice(kt*7,kt*7+7).map((_t,Bt)=>v.jsx(Fi,{type:"Raw",className:Be.clsx(Hr.Day,Hr.Cell,_t.isDisabled?Hr.IsDisabled:_t.isCurrentMonth?_t.isSelected?Hr.IsSelected:_t.isHovered&&Hr.IsHovered:Hr.IsNotCurrentMonth),isDisabled:_t.isDisabled,onMouseDown:()=>_t.isCurrentMonth&&ye(_t.date),onMouseUp:()=>_t.isCurrentMonth&&ce(_t.date),onMouseEnter:()=>_t.isCurrentMonth&&Ee(_t.date),children:_t.day},Bt))},kt));return pt},[se,de,J,H,z,ye,ce,Ee]),at=A.useRef(null),gt=A.useCallback(()=>{at&&dm(at,je,l)},[at,l]),[wt,Et]=A.useState(!1),[xt,It]=A.useState(!1),je=A.useRef(null),Qe=A.useCallback(()=>{g||m||(Et(!0),setTimeout(()=>It(!0),0),setTimeout(()=>gt(),0),pe(i0(J,H,z)))},[g,m,J,gt,H,z]),mt=A.useCallback(()=>{g||m||(Et(!0),It(!1))},[g,m]),Ft=A.useMemo(()=>xt?mt:Qe,[xt,Qe,mt]),bt=A.useCallback(()=>Et(!1),[]),$e=A.useCallback(ne=>{const et=document.getElementById("root"),ct=ne.target,tt=je.current,Me=at.current;!et||!tt||!ct||!Me||!tt.contains(ct)&&et.contains(ct)&&!Me.contains(ct)&&mt()},[mt]);A.useEffect(()=>{if(xt)return setTimeout(()=>document.addEventListener("mousedown",$e),0),()=>document.removeEventListener("mousedown",$e)},[xt,$e]);const Lt=A.useCallback(()=>{gt()},[gt]);A.useEffect(()=>{if(!xt||!(at!=null&&at.current))return;const ne=at.current;let et=ne.parentElement;for(;et;)et.addEventListener("scroll",Lt),et=et.parentElement;return()=>{let ct=ne.parentElement;for(;ct;)ct.removeEventListener("scroll",Lt),ct=ct.parentElement}},[at,xt,Lt]),A.useEffect(()=>{if(xt)return window.addEventListener("resize",Lt),()=>window.removeEventListener("resize",Lt)},[xt,Lt]);const Dt=A.useCallback(ne=>{ne[0].intersectionRatio===0&&mt()},[mt]);A.useEffect(()=>{if(!xt)return;const ne=new IntersectionObserver(Dt,{threshold:0});return je.current&&ne.observe(je.current),()=>ne.disconnect()},[je,xt,Dt]),A.useEffect(()=>{i&&(i.current={open:Qe,close:mt,toggle:Ft})},[i,Qe,mt,Ft]),A.useEffect(()=>{if(!J)return;let ne={sDate:J.sDate,eDate:J.eDate};H&&(Yt["<"](J.sDate,H)&&(ne.sDate=H),Yt["<"](J.eDate,H)&&(ne.eDate=H)),z&&(Yt[">"](J.sDate,z)&&(ne.sDate=z),Yt[">"](J.eDate,z)&&(ne.eDate=z)),(ne.sDate!==J.sDate||ne.eDate!==J.eDate)&&j(ne)},[H,z,J,j]);const pr=A.useCallback(ne=>{x==null||x(ne),Ft()},[x,Ft]),xr=A.useCallback(ne=>{j(void 0),mt(),ne.stopPropagation()},[j,mt]),wr=A.useCallback(()=>J?v.jsx(_i,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:xr}):null,[J,xr]),ge=A.useMemo(()=>J?`${Yt.toString(J.sDate)} ~ ${Yt.toString(J.eDate)}`:v.jsx("span",{className:Hr.Placeholder,children:B}),[J,B]);return v.jsxs(v.Fragment,{children:[v.jsxs($r,{...L,isLoading:m,isDisabled:g,className:Be.clsx(Hr.Anchor,"IsClickable",Hr[e],t),onClick:pr,abaseRef:at,children:[b,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(jr,{icon:"CalendarDay",className:Be.clsx(Hr.Icon,Hr[e])}),v.jsx(mn,{w:4})]}),ge,v.jsx(Qc,{}),!M&&v.jsx(wr,{}),e==="Secondary"&&v.jsx(jr,{icon:"CalendarDay",className:Be.clsx(Hr.Icon,Hr[e])}),S&&S]}),(xt||wt)&&Hs.createPortal(v.jsxs("div",{className:Hr.ADateRangePicker,onTransitionEnd:bt,onMouseLeave:le,style:{opacity:+xt,visibility:xt?"visible":"hidden"},ref:je,children:[v.jsxs("div",{className:Hr.StringInputContainer,children:[v.jsxs(Sn,{children:[v.jsx(tc,{maxLength:11,wrapProps:{className:Hr.StringInputWrap},inputProps:{className:Hr.StringInput},className:Be.clsx(Hr.String,K==="sD"&&de&&Hr.IsIdx),useValue:[Ae,We],placeholder:"YYYY-MM-DD",onBlur:Ie}),v.jsx(mn,{w:8}),v.jsx(tc,{maxLength:11,wrapProps:{className:Hr.StringInputWrap},inputProps:{className:Hr.StringInput},className:Be.clsx(Hr.String,K==="eD"&&de&&Hr.IsIdx),useValue:[ht,it],placeholder:"YYYY-MM-DD",onBlur:Ie})]}),!w&&v.jsxs(Sn,{style:{marginTop:4},children:[v.jsx(Ed,{children:O["1일"],onClick:()=>j({sDate:new Date,eDate:new Date})}),v.jsx(Ed,{children:O["1주일"],onClick:()=>j({sDate:new Date(new Date().setDate(new Date().getDate()-7)),eDate:new Date})}),v.jsx(Ed,{children:O["1개월"],onClick:()=>j({sDate:new Date(new Date().setMonth(new Date().getMonth()-1)),eDate:new Date})}),v.jsx(Ed,{children:O["3개월"],onClick:()=>j({sDate:new Date(new Date().setMonth(new Date().getMonth()-3)),eDate:new Date})})]})]}),v.jsxs("div",{className:Hr.CalendarContainer,children:[v.jsxs(Sn,{className:Hr.Header,children:[v.jsx(Fi,{type:"Raw",className:Hr.Prev,onClick:Le,isDisabled:Ge}),v.jsxs("div",{className:Hr.MonthYear,children:[v.jsx(rc,{type:"Secondary",useSelect:[se.month,De],className:Hr.Select,options:Ye,OptionRenderer:ne=>O.months(ne.option),SelectedRenderer:ne=>O.months(ne.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(rc,{type:"Secondary",useSelect:[se.year,we],className:Hr.Select,options:Ne})]}),v.jsx(Fi,{type:"Raw",className:Hr.Next,onClick:ze,isDisabled:Fe})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:Hr.Calendar,children:[v.jsx("div",{className:Hr.Week,children:[0,1,2,3,4,5,6].map(ne=>v.jsx("div",{className:Be.clsx(Hr.WeekDay,Hr.Cell),children:O.weekDays(ne)},ne))}),Pe]})]})]}),document.body)]})};function Kf(r,e,t){let n=0;e&&e.getFullYear()===r&&(n=e.getMonth());let i=11;t&&t.getFullYear()===r&&(i=t.getMonth());const l=[];for(let u=n;u<=i;u++)l.push(u);return l}function mm(r,e,t,n=5){const i=[];let l=r-n/2+n%2/2;e&&l<e.getFullYear()&&(l=e.getFullYear());let u=l+n-1;t&&u>t.getFullYear()&&(u=t.getFullYear());for(let f=l;f<=u;f++)i.push(f);return i}function i0(r,e,t){return r??(r={sDate:new Date,eDate:new Date}),e&&Yt["<"](r.sDate,e)?{month:e.getMonth(),year:e.getFullYear()}:t&&Yt[">"](r.eDate,t)?{month:t.getMonth(),year:t.getFullYear()}:{month:r.sDate.getMonth(),year:r.sDate.getFullYear()}}function o0(r,e){return[e,r]}const Ed=r=>v.jsx(Fi,{className:Be.clsx(Hr.ChoiceButton,"Headline2"),type:"Secondary",...r}),dE=["Primary","Secondary","Raw"],vm=r=>{const{type:e="Primary",className:t,useDate:n,actionRef:i,position:l=ef.SE,minDate:u,maxDate:f,isDisabled:g,isLoading:m,placeholder:R,LeftAddon:w,RightAddon:b,resources:S,noClearButton:_,onClick:M,...E}=r,x=A.useMemo(()=>({...hn.ADatePicker,...S}),[S]),L=A.useMemo(()=>R??x["Select Date"],[R,x]),[O,B]=A.useMemo(()=>{let je,Qe;return u&&(je=Yt.makeSDate(u)),f&&(Qe=Yt.makeEDate(f)),je&&Qe&&Yt["<"](Qe,je)?(console.warn("ADatePicker: maxDate should be greater than minDate. maxDate and minDate are swapped."),[Yt.makeSDate(Qe),Yt.makeEDate(je)]):[je,Qe]},[u,f]),[H,z]=nn(n,null),[K,ue]=A.useState(H?Yt.toString(H):""),[J,fe]=A.useState(()=>{const je=H??new Date;return O&&je<O?O.getMonth():B&&je>B?B.getMonth():(je??new Date).getMonth()}),[j,te]=A.useState(()=>{const je=H??new Date;return O&&je<O?O.getFullYear():B&&je>B?B.getFullYear():(je??new Date).getFullYear()}),X=A.useCallback(je=>{te(je);const Qe=Kf(je,O,B);Qe.includes(J)||(J<Qe[0]?fe(Qe[0]):J>Qe[Qe.length-1]&&fe(Qe[Qe.length-1]))},[O,B,J]),re=A.useCallback(je=>{if(je.length>10||(ue(je),je.length<10)||!z)return;let Qe=Yt.toDate(je);Qe&&(O&&Qe<O&&(Qe=O),B&&Qe>B&&(Qe=B),z(Qe),te(Qe.getFullYear()),fe(Qe.getMonth()))},[z,O,B]),de=A.useCallback(je=>{const Qe=j+je;Qe<0||te(Qe)},[j]),me=A.useCallback(je=>{const Qe=J+je;Qe<0?(fe(11),de(-1)):Qe>11?(fe(0),de(1)):fe(Qe)},[J,de]),ye=A.useCallback(je=>{z&&(je===void 0?(z(void 0),ue("")):(z(je),ue(Yt.toString(je))))},[z]),ce=A.useMemo(()=>{const je=new Date(j,J,0);return O&&je<O},[j,J,O]),Ee=A.useMemo(()=>{const je=new Date(j,J+1,1);return B&&je>B},[j,J,B]),le=A.useCallback(()=>{ce||me(-1)},[me,ce]),se=A.useCallback(()=>{Ee||me(1)},[me,Ee]),[pe,Ne]=A.useState(null),Ye=A.useCallback(()=>{z&&Ne(null)},[z]),we=A.useCallback(je=>{z&&Ne(je)},[z]),De=A.useMemo(()=>{const je=new Date(j,J,1),Qe=new Date(j,J+1,0),mt=[];for(let bt=0;bt<je.getDay();bt++){const Lt=new Date(j,J,0).getDate()-je.getDay()+bt+1,Dt=new Date(j,J-1,Lt),pr=O&&O>Dt||B&&B<Dt,xr=H&&Yt.eq(Dt,H),wr=pe&&Yt.eq(Dt,pe);mt.push({day:Lt,isSelected:xr,date:Dt,isDisabled:pr,isHovered:wr,isCurrentMonth:!1})}for(let bt=1;bt<=Qe.getDate();bt++){const $e=new Date(j,J,bt),Lt=O&&O>$e||B&&B<$e,Dt=H&&Yt.eq($e,H),pr=pe&&Yt.eq($e,pe);mt.push({day:bt,isSelected:Dt,date:$e,isDisabled:Lt,isHovered:pr,isCurrentMonth:!0})}for(let bt=0;bt<7-Qe.getDay()-1;bt++){const $e=new Date(j,J+1,bt+1),Lt=O&&O>$e||B&&B<$e,Dt=H&&Yt.eq($e,H),pr=pe&&Yt.eq($e,pe);mt.push({day:bt+1,isSelected:Dt,date:$e,isDisabled:Lt,isHovered:pr,isCurrentMonth:!1})}const Ft=[];for(let bt=0;bt<mt.length/7;bt++)Ft.push(v.jsx("div",{className:rn.Week,children:mt.slice(bt*7,bt*7+7).map(($e,Lt)=>v.jsx(Fi,{type:"Raw",className:Be.clsx(rn.Day,rn.Cell,$e.isDisabled?rn.IsDisabled:$e.isCurrentMonth?$e.isSelected?rn.IsSelected:$e.isHovered&&rn.IsHovered:rn.IsNotCurrentMonth),isDisabled:$e.isDisabled,onClick:()=>$e.isCurrentMonth&&ye($e.date),onMouseLeave:()=>$e.isCurrentMonth&&Ye(),onMouseEnter:()=>$e.isCurrentMonth&&we($e.date),children:$e.day},Lt))},bt));return Ft},[J,ye,H,j,O,B,pe,Ye,we]),Fe=A.useRef(null),ze=A.useCallback(()=>{Fe&&dm(Fe,We,l)},[Fe,l]),[Ge,Le]=A.useState(!1),[Ae,be]=A.useState(!1),We=A.useRef(null),ht=A.useCallback(()=>{g||m||(Le(!0),setTimeout(()=>be(!0),0),setTimeout(()=>ze(),0),ue(H?Yt.toString(H):""),fe(()=>{const je=H??new Date;return O&&je<O?O.getMonth():B&&je>B?B.getMonth():je.getMonth()}),te(()=>{const je=H??new Date;return O&&je<O?O.getFullYear():B&&je>B?B.getFullYear():je.getFullYear()}))},[g,m,H,ze,O,B]),Ct=A.useCallback(()=>{g||m||(Le(!0),be(!1))},[g,m]),it=A.useMemo(()=>Ae?Ct:ht,[Ae,ht,Ct]),Ie=A.useCallback(()=>Le(!1),[]),Pe=A.useCallback(je=>{const Qe=document.getElementById("root"),mt=je.target,Ft=We.current,bt=Fe.current;!Qe||!Ft||!mt||!bt||!Ft.contains(mt)&&Qe.contains(mt)&&!bt.contains(mt)&&Ct()},[Ct]);A.useEffect(()=>{if(Ae)return setTimeout(()=>document.addEventListener("mousedown",Pe),0),()=>document.removeEventListener("mousedown",Pe)},[Ae,Pe]);const at=A.useCallback(()=>{ze()},[ze]);A.useEffect(()=>{if(!Ae||!(Fe!=null&&Fe.current))return;const je=Fe.current;let Qe=je.parentElement;for(;Qe;)Qe.addEventListener("scroll",at),Qe=Qe.parentElement;return()=>{let mt=je.parentElement;for(;mt;)mt.removeEventListener("scroll",at),mt=mt.parentElement}},[Fe,Ae,at]),A.useEffect(()=>{if(Ae)return window.addEventListener("resize",at),()=>window.removeEventListener("resize",at)},[Ae,at]);const gt=A.useCallback(je=>{je[0].intersectionRatio===0&&Ct()},[Ct]);A.useEffect(()=>{if(!Ae)return;const je=new IntersectionObserver(gt,{threshold:0});return We.current&&je.observe(We.current),()=>je.disconnect()},[We,Ae,gt]),A.useEffect(()=>{i&&(i.current={open:ht,close:Ct,toggle:it})},[i,ht,Ct,it]);const wt=A.useCallback(je=>{M==null||M(je),it()},[M,it]),Et=A.useCallback(je=>{ye(void 0),Ct(),je.stopPropagation()},[ye,Ct]),xt=A.useCallback(()=>H?v.jsx(_i,{style:{scale:"0.8"},type:"Raw",icon:"Close",onClick:Et}):null,[H,Et]),It=A.useMemo(()=>H?Yt.toString(H):v.jsx("span",{className:rn.Placeholder,children:L}),[H,L]);return v.jsxs(v.Fragment,{children:[v.jsxs($r,{...E,isLoading:m,isDisabled:g,className:Be.clsx(rn.Anchor,"IsClickable",rn[e],t),onClick:wt,abaseRef:Fe,children:[w,e==="Primary"&&v.jsxs(v.Fragment,{children:[v.jsx(jr,{icon:"CalendarDay",className:Be.clsx(rn.Icon,rn[e])}),v.jsx(mn,{w:4})]}),It,v.jsx(Qc,{}),!_&&v.jsx(xt,{}),e==="Secondary"&&v.jsx(jr,{icon:"CalendarDay",className:Be.clsx(rn.Icon,rn[e])}),b&&b]}),(Ae||Ge)&&Hs.createPortal(v.jsxs("div",{className:rn.ADatePicker,onTransitionEnd:Ie,style:{opacity:+Ae,visibility:Ae?"visible":"hidden"},ref:We,children:[v.jsx("div",{className:rn.StringInputContainer,children:v.jsx(tc,{maxLength:H?30:11,wrapProps:{className:rn.StringInputWrap},inputProps:{className:rn.StringInput},className:rn.String,useValue:[K,re],placeholder:"YYYY-MM-DD"})}),v.jsxs("div",{className:rn.CalendarContainer,children:[v.jsxs(Sn,{className:rn.Header,children:[v.jsx(Fi,{type:"Raw",className:rn.Prev,onClick:le,isDisabled:ce}),v.jsxs("div",{className:rn.MonthYear,children:[v.jsx(rc,{type:"Secondary",useSelect:[J,fe],className:rn.Select,options:Kf(j,O,B),OptionRenderer:je=>x.months(je.option),SelectedRenderer:je=>x.months(je.selectedOption)}),v.jsx(mn,{w:8}),v.jsx(rc,{type:"Secondary",useSelect:[j,X],className:rn.Select,options:mm(j,O,B)})]}),v.jsx(Fi,{type:"Raw",className:rn.Next,onClick:se,isDisabled:Ee})]}),v.jsx(mn,{h:10}),v.jsxs("div",{className:rn.Calendar,children:[v.jsx("div",{className:rn.Week,children:[0,1,2,3,4,5,6].map(je=>v.jsx("div",{className:Be.clsx(rn.WeekDay,rn.Cell),children:x.weekDays(je)},je))}),De]})]})]}),document.body)]})},hE="_Paper_e69j5_1",pE="_Card_e69j5_15",gE="_Body_e69j5_26",mE="_Title_e69j5_35",vE="_Content_e69j5_42",yE="_Action_e69j5_45",bE="_Button_e69j5_58",ba={Paper:hE,Card:pE,Body:gE,Title:mE,Content:vE,Action:yE,Button:bE},_E=["okCancel","cancelOk","ok","cancel","none"],xE=r=>{const{dlgCore:e,type:t="okCancel",title:n,children:i,style:l,titleStyle:u,bodyStyle:f,contentStyle:g,okButtonStyle:m,cancelButtonStyle:R,actionStyle:w,onOk:b,onCancel:S,onClose:_,onEnterPress:M,onEscPress:E,onSpacePress:x,onPaperClick:L,noDim:O=!1,isLoading:B,isOkDisabled:H,isOkLoading:z,isCancelDisabled:K,isCancelLoading:ue,buttonNoInteractive:J,okButtonClassName:fe,cancelButtonClassName:j,resources:te}=r,X=A.useMemo(()=>({...hn.ADialog,...te}),[te]),[re,de]=A.useState(0);A.useEffect(()=>de(1),[]);const me=A.useCallback(()=>{de(0)},[]),ye=A.useCallback(()=>{if(!re){const[,Ae]=e.state.useIsOpen;Ae==null||Ae(!1),_==null||_()}},[re,_,e]),ce=A.useCallback(async()=>{if(!re||t==="cancel"||t==="none"||B||H||z)return;const{event:Ae,e:be}=Gc();await(b==null?void 0:b(be)),!Ae.preventDefault&&me()},[re,t,me,b,H,B,z]),Ee=A.useCallback(async()=>{if(!re||t==="ok"||t==="none"||B||K||ue)return;const{event:Ae,e:be}=Gc();await(S==null?void 0:S(be)),!Ae.preventDefault&&me()},[re,t,me,S,K,B,ue]);A.useEffect(()=>{e&&e.state.setAction({close:me,ok:ce,cancel:Ee})},[e,me,ce,Ee]);const le=A.useCallback(async()=>{const{event:Ae,e:be}=Gc();await(M==null?void 0:M(be)),!Ae.preventDefault&&ce()},[M,ce]),se=A.useCallback(async()=>{const{event:Ae,e:be}=Gc();await(x==null?void 0:x(be)),!Ae.preventDefault&&ce()},[x,ce]),pe=A.useCallback(async()=>{const{event:Ae,e:be}=Gc();await(E==null?void 0:E(be)),!Ae.preventDefault&&Ee()},[E,Ee]),Ne=A.useRef(null),Ye=A.useCallback(Ae=>{const be=document.body.getElementsByClassName(ba.Paper);be.length===0||be[be.length-1]!==Ne.current||(Ae.key==="Enter"&&re?le():Ae.key===" "&&re?se():Ae.key==="Escape"&&re&&pe())},[re,le,se,pe]);A.useEffect(()=>{if(re)return window.addEventListener("keydown",Ye),()=>window.removeEventListener("keydown",Ye)},[re,Ye]);const we=A.useRef(!1),De=A.useRef(!1),Fe=A.useCallback(()=>{we.current=!0},[]),ze=A.useCallback(()=>{we.current=!1,De.current=!1},[]),Ge=A.useCallback(()=>{De.current=!0},[]),Le=A.useCallback(async()=>{const Ae=!De.current||we.current;if(we.current=!1,De.current=!1,Ae)return;const{event:be,e:We}=Gc();await(L==null?void 0:L(We)),!be.preventDefault&&Ee()},[L,Ee]);return Hs.createPortal(v.jsx("div",{className:ba.Paper,style:{backgroundColor:O?"transparent":void 0,pointerEvents:re?void 0:"none",opacity:re},onMouseUp:Le,onMouseDown:Ge,onTransitionEnd:ye,ref:Ne,children:v.jsxs($r,{className:ba.Card,onMouseDown:Fe,onMouseUp:ze,style:l,isLoading:B,children:[v.jsxs("div",{className:ba.Body,style:f,children:[n&&v.jsx(SE,{title:n,titleStyle:u}),i&&v.jsx("div",{className:ba.Content,style:g,children:i})]}),t!=="none"&&v.jsx(CE,{type:t,ok:ce,cancel:Ee,resources:X,isOkDisabled:H,isOkLoading:z,isCancelDisabled:K,isCancelLoading:ue,okButtonStyle:m,cancelButtonStyle:R,actionStyle:w,buttonNoInteractive:J,okButtonClassName:fe,cancelButtonClassName:j})]})}),document.body)},SE=r=>{const{title:e,titleStyle:t}=r;return v.jsx("div",{className:Be.clsx(ba.Title,"NoSelect","Title3"),style:t,children:e})},CE=r=>{const{type:e,ok:t,cancel:n,resources:i,isOkDisabled:l,isOkLoading:u,isCancelDisabled:f,isCancelLoading:g,okButtonStyle:m,cancelButtonStyle:R,actionStyle:w,buttonNoInteractive:b,okButtonClassName:S,cancelButtonClassName:_}=r,M=A.useMemo(()=>({onClick:t,isDisabled:l,isLoading:u,children:i.Ok,style:m,noInteractive:b,className:Be.clsx(ba.Button,S)}),[t,l,u,i.Ok,m,b,S]),E=A.useMemo(()=>({type:"Secondary",onClick:n,isDisabled:f,isLoading:g,children:i.Cancel,style:R,noInteractive:b,className:Be.clsx(ba.Button,_)}),[n,f,g,i.Cancel,R,b,_]);if(e==="okCancel"||e==="ok")return v.jsxs("div",{className:ba.Action,style:{...w},children:[v.jsx(Fi,{...M}),e==="okCancel"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Fi,{...E})]})]},e);if(e==="cancelOk"||e==="cancel")return v.jsxs("div",{className:ba.Action,children:[v.jsx(Fi,{...E}),e==="cancelOk"&&v.jsxs(v.Fragment,{children:[v.jsx(mn,{w:8}),v.jsx(Fi,{...M})]})]},e)},wE=r=>{const e=A.useMemo(()=>Math.random().toFixed(32),[]),t=A.useMemo(()=>{const S={};return r.forEach(_=>{S[_]=_+e}),S},[r,e]),n=A.useMemo(()=>[],[]),i=A.useMemo(()=>(n.length=0,n.push(...r),n),[n,r]),[l,u]=A.useState([]),f=A.useRef((()=>{const S={};return i.forEach(_=>{S[_]={open:()=>u(M=>[...M,_]),close:()=>{},ok:()=>{},cancel:()=>{}}}),S})()),g=A.useMemo(()=>{const S={};return i.forEach(_=>{S[_]=M=>{u(E=>!M&&E.includes(_)?E.filter(x=>x!==_):M&&!E.includes(_)?[...E,_]:E)}}),S},[i]),m=A.useMemo(()=>{const S={};return i.forEach(_=>{const E=[l.includes(_),g[_]],x=L=>{f.current[_]={...f.current[_],...L}};S[_]={useIsOpen:E,setAction:x}}),S},[l,g,i]),R=A.useMemo(()=>{const S={};return i.forEach(_=>{const M=()=>f.current[_].open(),E=()=>f.current[_].close(),x=()=>f.current[_].ok(),L=()=>f.current[_].cancel();S[_]={open:M,close:E,ok:x,cancel:L}}),S},[i]),w=A.useMemo(()=>({}),[]),b=A.useMemo(()=>(i.forEach(S=>{w[S]={state:m[S],action:R[S]}}),w),[w,i,m,R]);return A.useEffect(()=>(Object.keys(b).forEach(_=>{const M=b[_],E=t[_],x=js.find(L=>{L.id});x?x.core=M:js.push({id:E,core:M})}),()=>{const _=Object.keys(b),M=js.filter(E=>_.includes(E.id));js.length=0,js.push(...M)}),[b,t]),b},AE=()=>{const r=A.useMemo(()=>Math.random().toFixed(32),[]),[e,t]=A.useState(!1),n=A.useRef({open:()=>t(!0),close:()=>{},ok:()=>{},cancel:()=>{}}),i=A.useMemo(()=>({useIsOpen:[e,t],setAction:g=>{n.current={...n.current,...g}}}),[e]),l=A.useMemo(()=>({open:()=>n.current.open(),close:()=>n.current.close(),ok:()=>n.current.ok(),cancel:()=>n.current.cancel()}),[]),u=A.useMemo(()=>({}),[]),f=A.useMemo(()=>(u.state=i,u.action=l,u),[u,i,l]);return A.useEffect(()=>{const g=js.find(m=>m.id===r);return g?g.core=f:js.push({id:r,core:f}),()=>{const m=js.filter(R=>R.id!==r);js.length=0,js.push(...m)}},[r,f]),f},TE=r=>{const{dlgCore:e,children:t}=r,[n,i]=A.useMemo(()=>e.state.useIsOpen,[e.state.useIsOpen]);return A.useEffect(()=>()=>i==null?void 0:i(!1),[i]),v.jsx(A.Suspense,{children:n&&t})},EE=r=>e=>{const{dlgCore:t}=e;return v.jsx(TE,{dlgCore:t,children:A.cloneElement(v.jsx(r,{...e}),{dlgCore:t})})},js=[],kE={closeAllDlgs:()=>{js.forEach(r=>{r.core.action.close()})}},RE="_AFileBox_1hlo1_1",IE="_SelectedFile_1hlo1_16",LE="_Dropping_1hlo1_26",lh={AFileBox:RE,SelectedFile:IE,Dropping:LE},ME=r=>{const{useFile:e,FileRenderer:t=DE,SelectRenderer:n=OE,DropRenderer:i=PE,resources:l,accept:u="",onInvalidFileFormat:f,fileSelectButtonClassName:g,isDisabled:m,isLoading:R,className:w,...b}=r,S=A.useMemo(()=>({...hn.AFileBox,...l}),[l]),_=A.useRef(null),M=A.useRef(null),[E,x]=nn(e,null),[L,O]=A.useState(!1),B=A.useMemo(()=>u.split(",").map(re=>re.trim()).filter(re=>re.length>0&&re.startsWith(".")),[u]),H=A.useCallback(re=>{if(B.length===0)return!1;const de=re.name.split(".").pop();return de?!B.includes(`.${de}`):!0},[B]),z=A.useCallback(re=>{if(x)if(H(re)){f==null||f();return}else x(re);else return},[x,H,f]),K=A.useCallback(re=>{re.target.files&&re.target.files.length>0&&z(re.target.files[0])},[z]),ue=A.useCallback(re=>{re.preventDefault(),O(!1),!(m||R)&&re.dataTransfer.files&&re.dataTransfer.files.length>0&&z(re.dataTransfer.files[0])},[z,m,R]),J=A.useCallback(re=>{re.preventDefault(),!(m||R)&&O(!0)},[m,R]),fe=A.useCallback(re=>{re.target===_.current&&re.relatedTarget.contains(_.current.parentElement)&&(re.preventDefault(),O(!1))},[]),j=A.useCallback(re=>re.preventDefault(),[]),te=A.useCallback(()=>{var re;(re=M.current)==null||re.click()},[]),X=A.useMemo(()=>L?v.jsx(i,{resources:S}):E?v.jsx(t,{file:E,useFile:e}):v.jsx(n,{onClick:te,resources:S,fileSelectButtonClassName:g}),[t,n,i,S,L,E,e,g,te]);return v.jsxs($r,{...b,isDisabled:m,isLoading:R,className:Be.clsx(lh.AFileBox,w),onDrop:ue,onDragEnter:J,onDragLeave:fe,onDragOver:j,abaseRef:_,children:[v.jsx("input",{style:{display:"none"},ref:M,type:"file",onChange:K,value:"",accept:u}),X]})},DE=r=>{const{file:e,useFile:t}=r,[,n]=nn(t,null);return v.jsxs(Sn,{className:lh.SelectedFile,style:{backgroundColor:""},children:[v.jsx(jr,{icon:"File"}),v.jsx(Sa,{children:e.name}),v.jsx(_i,{type:"Raw",icon:"Close",style:{marginLeft:2,transform:"scale(0.8)"},onClick:()=>n==null?void 0:n(null)})]})},OE=r=>{const{onClick:e,resources:t,fileSelectButtonClassName:n}=r;return v.jsxs(Sn,{className:Be.clsx(lh.SelectFile,"NoSelect"),children:[v.jsx(Fi,{className:n,onClick:e,children:t["Select File"]}),v.jsx(mn,{w:4}),t["or Drag & Drop"]]})},PE=r=>{const{resources:e}=r;return v.jsxs(P2,{className:Be.clsx(lh.Dropping,"NoSelect","Headline2"),children:[v.jsx(jr,{icon:"FileDownload"}),e["drop file to select"]]})},NE="_AFileUploader_u134i_1",FE="_LabelContainer_u134i_14",jE="_LabelButton_u134i_23",BE="_Disabled_u134i_29",HE="_Delete_u134i_36",qE="_FileSize_u134i_40",zE="_TotalFileSize_u134i_47",$E="_FileBox_u134i_51",UE="_SelectRenderer_u134i_69",WE="_ChipsContainer_u134i_79",VE="_FileChip_u134i_89",GE="_FileChipContent_u134i_101",ZE="_FileNameContainer_u134i_112",KE="_ButtonRenderer_u134i_118",YE="_ErrorBorder_u134i_128",XE="_ErrorColor_u134i_132",JE="_ErrorCursor_u134i_136",Fn={AFileUploader:NE,LabelContainer:FE,LabelButton:jE,Disabled:BE,Delete:HE,FileSize:qE,TotalFileSize:zE,FileBox:$E,SelectRenderer:UE,ChipsContainer:WE,FileChip:VE,FileChipContent:GE,FileNameContainer:ZE,ButtonRenderer:KE,ErrorBorder:YE,ErrorColor:XE,ErrorCursor:JE},QE=r=>{const{helperText:e,label:t,labelProps:n,wrapProps:i,wrapType:l,errorMessage:u,useFiles:f,accept:g,onInvalidFileFormat:m,onDownload:R,onDownloads:w,onDelete:b,type:S,limit:_=1024*1024*1024,useError:M,useStatus:E,isLoading:x,resources:L,className:O,...B}=r,H=A.useMemo(()=>({...hn.AFileUploader,...L}),[L]),[z,K]=nn(f,void 0),[ue,J]=nn(M,!1),[fe,j]=nn(E,{}),[te,X]=A.useState(!1),re=A.useRef(null),de=A.useRef(null),me=A.useCallback(Ie=>`${Ie.name}-${Ie.size}-${Ie.lastModified||""}`,[]),ye=A.useMemo(()=>(z==null?void 0:z.reduce((Ie,Pe)=>Ie+Pe.size,0))||0,[z]);A.useEffect(()=>{J&&J(ye>_)},[ye,_,J]);const ce=A.useCallback(Ie=>{var gt;if(!g||g==="*"||g==="")return!0;const Pe=g.split(",").map(wt=>wt.trim()),at=`.${(gt=Ie.name.split(".").pop())==null?void 0:gt.toLowerCase()}`;return Pe.includes(at)?!0:Pe.some(wt=>{var Et;if(wt.startsWith("."))return!1;if(wt.endsWith("/*")){const xt=wt.split("/")[0];return(Et=Ie.type)==null?void 0:Et.startsWith(`${xt}/`)}return Ie.type===wt})},[g]),Ee=A.useCallback((Ie,Pe)=>{j==null||j({...fe,[Ie]:Pe})},[fe,j]),le=A.useCallback(Ie=>{const Pe=me(Ie);return fe[Pe]||"Normal"},[fe,me]),se=A.useCallback(Ie=>x||le(Ie)==="Loading",[x,le]),pe=A.useCallback(Ie=>le(Ie)==="Error"||S==="Upload"&&Ie.size>_,[le,_,S]),Ne=A.useMemo(()=>z!=null&&z.length?S==="Download"?z.every(pe):!1:!0,[z,S,pe]),Ye=A.useCallback(()=>{re.current&&(re.current.value="")},[]),we=A.useCallback(Ie=>{if(!K)return;const Pe=[];let at=!1,gt=[];if(Array.from(Ie).forEach(wt=>{if(!ce(wt)){at=!0,gt.push(wt.name);return}const Et=wt;Pe.push(Et)}),at)if(m)m();else{const wt=g?g.replace(/,/g,", "):"",Et=wt?`${H["Supported file format(s)"]}: ${wt}`:"",xt=gt.length>3?`${gt.slice(0,3).join(", ")} ${H.and} ${gt.length-3} ${H["more file(s)"]}`:gt.join(", ");alert(`${H["Unsupported file format detected."]}
|
157
157
|
|
158
158
|
${H["Invalid file(s)"]}: ${xt}${Et?`
|
159
159
|
|
160
|
-
`+Et:""}`)}Oe.length>0&&K([...z||[],...Oe])},[K,ce,m,g,H,z]),De=A.useCallback(()=>{var Ie;return(Ie=re.current)==null?void 0:Ie.click()},[]),Fe=A.useCallback(Ie=>{const Oe=Ie.target.files;Oe!=null&&Oe.length&&(we(Oe),Ye())},[we,Ye]),ze=A.useCallback(Ie=>{if(b==null||b(Ie),!K||!z)return;const Oe=ge(Ie),st=z.filter(vt=>ge(vt)!==Oe);K(st),Ye()},[b,K,z,Ye,ge]),Ge=A.useCallback(()=>{K&&(K([]),Ye())},[K,Ye]),Me=A.useCallback(Ie=>{if(!R)return;const Oe=ge(Ie);Ae(Oe,"Loading"),R(Ie,st=>Ae(Oe,st))},[R,ge,Ae]),Te=A.useCallback(()=>{if(!w||!(z!=null&&z.length))return;const Ie={...fe};z.forEach(Oe=>{const st=ge(Oe);Ie[st]="Loading"}),j==null||j(Ie),w(z.map(Oe=>({file:Oe,updateStatus:st=>Ae(ge(Oe),st)})))},[w,z,ge,Ae,fe,j]),be=A.useMemo(()=>{const Ie=Oe=>(Oe.preventDefault(),Oe.stopPropagation(),Oe);return{onDragEnter:Oe=>{Ie(Oe),!ue&&!x&&X(!0)},onDragOver:Oe=>{Ie(Oe),!ue&&!x&&Oe.dataTransfer&&(Oe.dataTransfer.dropEffect="copy")},onDragLeave:Oe=>{var vt;Ie(Oe);const st=(vt=de.current)==null?void 0:vt.contains(Oe.relatedTarget);(!Oe.relatedTarget||!st)&&X(!1)},onDrop:Oe=>{var st;Ie(Oe),X(!1),!ue&&!x&&((st=Oe.dataTransfer.files)!=null&&st.length)&&we(Oe.dataTransfer.files)}}},[ue,x,we]),We=A.useMemo(()=>{const Ie=Be.clsx(Fn.ButtonRenderer,"NoSelect");return{upload:Oe=>v.jsx(_i,{icon:"X",iconSize:"sm",tooltip:H.Delete,type:"Raw",className:Ie,style:{color:"var(--label-neutral)"},onClick:()=>ze(Oe)}),loading:()=>v.jsx(_i,{icon:"Spinner",iconSize:"sm",type:"Raw",className:Ie}),error:()=>v.jsx(_i,{icon:"CircleAlertOutline",iconSize:"sm",type:"Raw",className:Be.clsx(Ie,Fn.ErrorColor,Fn.ErrorCursor),tooltip:H["Fail Download"]}),download:Oe=>v.jsx(_i,{icon:"FileDownload",iconSize:"sm",tooltip:H.Download,type:"Raw",className:Ie,style:{color:"var(--acent-brand)"},onClick:()=>Me(Oe)})}},[H,ze,Me]),ht=A.useCallback((Ie,Oe)=>{const st=se(Ie),vt=pe(Ie),wt=()=>S==="Upload"?We.upload(Ie):st?We.loading():vt?We.error():We.download(Ie);return v.jsx(pm,{label:v.jsx("div",{className:Fn.FileChipContent,children:v.jsxs(Sn,{className:Fn.FileNameContainer,children:[v.jsx(Sa,{className:Be.clsx(vt&&Fn.ErrorColor),children:Ie.name}),v.jsx("span",{className:Fn.FileSize,children:Kc(Ie.size)})]})}),ButtonRenderer:wt,className:Be.clsx(Fn.FileChip,vt&&Fn.ErrorBorder)},Oe)},[se,pe,S,We]),Ct=A.useCallback(()=>v.jsx("div",{className:Be.clsx(Fn.FileBox,ue&&Fn.ErrorBorder,ue&&Fn.ErrorColor,ue&&Fn.ErrorCursor),...be,ref:de,children:te?v.jsxs(Sn,{className:Be.clsx("NoSelect"),style:{gap:4},children:[v.jsx(jr,{icon:"FileDownload"}),v.jsx("span",{children:H["Drop file to select"]})]}):v.jsx(Fi,{type:"Raw",className:Be.clsx(Fn.SelectRenderer,"NoSelect"),onClick:De,isDisabled:ue||x,children:H["Insert File"]})}),[ue,te,H,De,x,be]),it=A.useMemo(()=>{const Ie=S==="Upload",Oe=Ie?H["Delete All"]:H["Download All"],st=Ie?Ge:Te;return v.jsxs(Sn,{className:Fn.LabelContainer,children:[t,S==="Upload"&&v.jsxs(Sa,{className:Be.clsx(Fn.TotalFileSize,"NoSelect"),children:["(",v.jsx("span",{className:Be.clsx(ue&&Fn.ErrorColor),children:Kc(ye)})," / ",Kc(_),")"]}),v.jsx("span",{className:Be.clsx(Fn.LabelButton,"Label1",Ne&&Fn.Disabled,Ie&&Fn.Delete),onClick:Ne?void 0:st,children:Oe})]})},[S,H,Ge,Te,t,ue,ye,_,Ne]);return S==="Download"&&!(z!=null&&z.length)?null:v.jsxs(ec,{helperText:e,wrapProps:i,wrapType:l,labelProps:n,errorMessage:u,label:it,children:[v.jsx("input",{style:{display:"none"},ref:re,type:"file",multiple:!0,onChange:Fe,accept:g||""}),v.jsx($r,{...B,className:Be.clsx(Fn.AFileUploader,O),children:v.jsxs(Sn,{className:Fn.ChipsContainer,children:[S==="Upload"&&Ct(),z==null?void 0:z.map(ht)]})})]})},ek="_AFloatMenu_xco8u_1",tk="_Content_xco8u_10",s0={AFloatMenu:ek,Content:tk},B2=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:i,onClose:l,onClick:u,onPaperClick:f,position:g=ef.ES,width:m=137}=r,R=A.useMemo(()=>({content:rk,...t}),[t]),w=A.useMemo(()=>{const j={};return er.keys(e).forEach(te=>{const X=e[te],re={...R,...X};re.noDisplay||(j[te]=re)}),j},[R,e]),[b,S]=A.useState(null),_=A.useCallback(j=>{J_(j,O,g,i),S(j)},[g,i]),[M,E]=A.useState(!1),[x,L]=A.useState(!1),O=A.useRef(null),B=A.useCallback(j=>{L(!0),setTimeout(()=>E(!0),0),setTimeout(()=>_(j),0)},[_]),H=A.useCallback(()=>{E(!1),L(!0),l==null||l()},[l]),z=A.useCallback(()=>L(!1),[]),K=A.useCallback(async j=>{const te=document.getElementById("root"),X=j.target,re=O.current;!te||!re||!X||!re.contains(X)&&te.contains(X)&&(await(f==null?void 0:f(j)),H())},[H,f]);A.useEffect(()=>{if(M)return setTimeout(()=>document.addEventListener("mousedown",K),0),()=>document.removeEventListener("mousedown",K)},[M,K]);const ue=A.useCallback(()=>{b&&_(b)},[_,b]);A.useEffect(()=>{if(!M||!b)return;let j=b.parentElement;for(;j;)j.addEventListener("scroll",ue),j=j.parentElement;return()=>{let te=b.parentElement;for(;te;)te.removeEventListener("scroll",ue),te=te.parentElement}},[b,M,ue]),A.useEffect(()=>{if(M)return window.addEventListener("resize",ue),()=>window.removeEventListener("resize",ue)},[M,ue]);const J=A.useCallback(j=>{j[0].intersectionRatio===0&&H()},[H]);A.useEffect(()=>{if(!M)return;const j=new IntersectionObserver(J,{threshold:0});return O.current&&j.observe(O.current),()=>j.disconnect()},[O,M,J]),A.useEffect(()=>{n&&(n.current={open:B,close:H})},[n,B,H]);const fe=A.useCallback(j=>{var te;if(M){if((te=w[j])!=null&&te.isDisabled)return}else return;u==null||u(j),H()},[M,u,H,w]);return!M&&!x?null:Hs.createPortal(v.jsx("div",{className:s0.AFloatMenu,style:{opacity:+M,visibility:M&&Object.keys(w).length>0?"visible":"hidden",minWidth:m},onTransitionEnd:z,ref:O,children:er.map(w,([j],te)=>{const X={...R,...w[j]};let{content:re,noDisplay:de,tooltipDirection:ge=yi.E,...ye}=X;return de?null:(re=Lr.getContent(X.content,{defKey:j,def:X}),A.createElement($r,{...ye,key:te,className:Be.clsx(s0.Content,"Label2","IsClickable",ye.className),onClick:ce=>{var Ae;fe==null||fe(j),(Ae=ye.onClick)==null||Ae.call(ye,ce)},tooltipDirection:ge},re))})}),document.body)},rk=r=>r.defKey;function nk(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const H2={parseInt:nk},ik=`${Number.MAX_SAFE_INTEGER}`.length-1,ok=r=>{const{unit:e,type:t="Secondary",min:n,max:i,useValue:l,onEnterPress:u,canAsterisk:f=!1,onFocus:g,...m}=r,R=A.useMemo(()=>i!==void 0&&n!==void 0?Math.max(`${i}`.length+1,`${n}`.length+1):ik,[n,i]),[w,b]=nn(l,""),S=A.useCallback(x=>{if(b)if(f&&x.startsWith("*"))b("*");else if(x==="")b("");else if(x==="-")b("-");else{x=x.replace(/[^0-9-]/g,"");try{const L=H2.parseInt(x);L!==void 0&&(n!==void 0&&L<n?b(`${n}`):i!==void 0&&L>i?b(`${i}`):b(`${L}`))}catch(L){console.error("ANumInput : ",L)}}},[b,f,n,i]),_=A.useRef(null),M=A.useCallback(x=>{var L;(L=_.current)==null||L.blur(),u==null||u(x)},[u]),E=A.useMemo(()=>n===void 0&&i===void 0?e??"number":`${n??""}~${i??""}`,[n,i,e]);return v.jsx(tc,{...m,type:t,className:Be.clsx(to.ANumInput,r.className),autoComplete:"off",onEnterPress:M,useValue:[w,S],maxLength:R,placeholder:E,RightAddon:r.unit&&v.jsx("span",{style:{marginRight:4},children:r.unit}),inputRef:_})},sk="_AListView_k7t2d_1",ak="_Row_k7t2d_10",lk="_Label_k7t2d_20",ck="_Content_k7t2d_30",kd={AListView:sk,Row:ak,Label:lk,Content:ck},uk=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:i,labelWidth:l,noBorder:u,style:f,...g}=r,m=u?"":"var(--AListView_border-thin)",R=u?"":"var(--AListView_border-thick)",w=A.useMemo(()=>({content:dk,label:fk,...t}),[t]),b=A.useMemo(()=>{const S={};return er.keys(e).forEach(_=>{const M=e[_],E={...w,...M};S[_]=E}),S},[w,e]);return v.jsx($r,{...g,className:Be.clsx(kd.AListView,g.className),style:{...f,borderTop:m},children:er.map(b,([S])=>{const _={...w,...b[S]},M=Lr.getContent(_.label,{defKey:S,item:n,def:_}),E=Lr.getContent(_.content,{defKey:S,item:n||{[S]:""},def:_}),x=Lr.getContent(_.bold||"label",{defKey:S,item:n,def:_});return v.jsxs("div",{className:kd.Row,style:{height:i,borderBottom:m},children:[v.jsx("div",{className:Be.clsx(kd.Label,"NoSelect",x!=="content"&&"Bold"),style:{width:l,minWidth:l,maxWidth:l,borderLeft:R,paddingLeft:u?0:10},children:v.jsx(Sa,{children:M})}),v.jsx("div",{className:Be.clsx(kd.Content,x!=="label"&&"Bold"),style:{borderLeft:R,borderRight:R},children:v.jsx(Sa,{style:{width:"100%",padding:u?0:10},children:E})})]},S)})})},fk=r=>r.defKey,dk=r=>{const{defKey:e,item:t}=r;if(t)if(er.hasKey(t,e)){const n=t[e];return er.isReactNode(n)?n:null}else return null;else return null},hk="_ALoadingBorder_kwc1g_1",pk="_ProgressBar_kwc1g_9",gk="_IsLoading_kwc1g_15",mk="_load_kwc1g_1",vk="_Cover_kwc1g_19",Lf={ALoadingBorder:hk,ProgressBar:pk,IsLoading:gk,load:mk,Cover:vk},ym=r=>{const{isLoading:e}=r,[t,n]=A.useState(!1),i=A.useRef(null);return A.useEffect(()=>{e?(n(!0),i.current&&clearTimeout(i.current)):i.current=setTimeout(()=>n(!1),300)},[e]),v.jsxs("div",{className:Lf.ALoadingBorder,children:[v.jsx("div",{className:Be.clsx(Lf.ProgressBar,t&&Lf.IsLoading)}),v.jsx("div",{className:Be.clsx(Lf.Cover,e&&Lf.IsLoading),style:{transition:"all 300ms"}})]})},yk="_Container_tmqll_1",bk="_Option_tmqll_7",_k="_RadioButton_tmqll_14",xk="_InnerCircle_tmqll_24",Sk="_isChecked_tmqll_29",qu={Container:yk,Option:bk,RadioButton:_k,InnerCircle:xk,isChecked:Sk},Ck=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:i=23,innerRadius:l=i*.6,OptionRenderer:u=q2}=r,[f,g]=nn(t,e[0]);return v.jsx("div",{className:qu.Container,children:e.map((m,R)=>{const w=n==null?void 0:n(m),b=()=>w?null:g==null?void 0:g(m);return v.jsxs(Sn,{className:Be.clsx(qu.Option,"IsClickable"),isDisabled:w,onClick:b,children:[v.jsx(wk,{isChecked:f===m,radius:i,innerRadius:l},R),v.jsx(u,{option:m})]},R)})})},q2=({option:r})=>r,wk=({isChecked:r,radius:e,innerRadius:t})=>v.jsx($r,{className:Be.clsx(qu.RadioButton,r&&qu.isChecked),style:{width:e,height:e},children:v.jsx($r,{className:Be.clsx(qu.InnerCircle,r&&qu.isChecked),style:{width:t,height:t}})}),Ak="_AMultiSelect_mr38x_1",Tk="_Arrow_mr38x_15",Ek="_Primary_mr38x_24",kk="_UnAvailable_mr38x_35",Rk="_IsOpen_mr38x_35",Ik="_Secondary_mr38x_42",Lk="_Placeholder_mr38x_58",Mk="_ValuesContainer_mr38x_63",Dk="_Values_mr38x_63",Ok="_Options_mr38x_82",Pk="_Option_mr38x_82",Nk="_Selected_mr38x_124",Fk="_CheckBox_mr38x_131",yo={AMultiSelect:Ak,Arrow:Tk,Primary:Ek,UnAvailable:kk,IsOpen:Rk,Secondary:Ik,Placeholder:Lk,ValuesContainer:Mk,Values:Dk,Options:Ok,Option:Pk,Selected:Nk,CheckBox:Fk},jk=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.AMultiSelect["Select(Placeholder)"],onClose:l,SelectedRenderer:u=Hk,OptionRenderer:f=qk,minShowRows:g=2,maxShowRows:m=6,arrowProps:R,isAutoWidth:w=!1,...b}=r,S=A.useRef(null),_=A.useMemo(()=>b.abaseRef??S,[b.abaseRef]),M=A.useRef(null),[E,x]=nn(t,[]),[L,O]=A.useState(void 0),B=A.useRef(e),H=A.useRef(null),[z,K]=A.useState(!1),[ue,J]=A.useState(!1),fe=A.useCallback(()=>J(!1),[]),j=A.useCallback(()=>{b.isDisabled||b.isLoading||e.length<1||(J(!0),setTimeout(()=>K(!0),0),setTimeout(()=>Jh(M,_,e,g,m),0))},[_,b.isDisabled,b.isLoading,e,g,m]),te=A.useCallback(()=>{K(!1),J(!0),l==null||l()},[l]),X=A.useCallback(le=>{var se;z?te():j(),setTimeout(()=>Jh(M,_,e,g,m),0),(se=b.onClick)==null||se.call(b,le)},[_,b,e,z,te,j,g,m]),re=A.useCallback(()=>{Jh(M,_,e,g,m)},[_,e,g,m]);A.useEffect(()=>{if(!z||!_.current)return;const le=_.current;let se=le.parentElement;for(;se;)se.addEventListener("scroll",re),se=se.parentElement;return()=>{let pe=le.parentElement;for(;pe;)pe.removeEventListener("scroll",re),pe=pe.parentElement}},[_,z,re]),A.useEffect(()=>{if(z)return window.addEventListener("resize",re),()=>window.removeEventListener("resize",re)},[z,re]);const de=A.useCallback(le=>{le[0].intersectionRatio===0&&te()},[te]);A.useEffect(()=>{if(!z)return;const le=new IntersectionObserver(de,{threshold:0});return _.current&&le.observe(_.current),()=>le.disconnect()},[_,z,de]);const ge=A.useCallback(le=>{const se=le.target,pe=_.current,Ne=M.current;!pe||!se||!Ne||!pe.contains(se)&&!Ne.contains(se)&&te()},[_,te]),ye=A.useMemo(()=>b.isDisabled||b.isLoading||e.length<1,[b.isDisabled,b.isLoading,e]);A.useEffect(()=>{if(z)return setTimeout(()=>document.addEventListener("mousedown",ge),0),()=>document.removeEventListener("mousedown",ge)},[z,ge]);const ce=A.useCallback((le,se)=>{le.stopPropagation(),le.preventDefault();let pe=[...E];pe.includes(se)?pe=pe.filter(Ne=>Ne!==se):pe.push(se),x==null||x(pe)},[E,x]),Ae=A.useCallback(()=>{if(!w||!_.current)return;const le=Zc.calculateOptimalSelectWidth({elementRef:_,options:e,selectedOptions:E,placeholder:i,optionRenderer:se=>f({option:se}),type:n,isMulti:!0});O(le)},[w,_,e,E,i,f,n]);return A.useEffect(()=>w?((e!==B.current||L===void 0)&&(H.current!==null&&cancelAnimationFrame(H.current),H.current=requestAnimationFrame(()=>{Ae(),H.current=null,B.current=[...e]})),()=>{H.current!==null&&(cancelAnimationFrame(H.current),H.current=null)}):void 0,[w,e,Ae,L]),A.useEffect(()=>()=>{typeof Zc.clearCache=="function"&&Zc.clearCache()},[]),v.jsxs(v.Fragment,{children:[v.jsxs($r,{...b,isDisabled:b.isDisabled||e.length<1,className:Be.clsx(b.className,yo.AMultiSelect,"NoSelect",z&&yo.IsOpen,ye&&yo.UnAvailable,yo[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:L?`${L}px`:w?"100px":void 0,...b.style},abaseRef:_,onClick:X,children:[v.jsx("div",{className:yo.ValuesContainer,children:v.jsx("div",{className:Be.clsx(yo.Values,E.length<1&&yo.Placeholder),children:v.jsx(u,{OptionRenderer:f,selectedOptions:E,placeholder:i})})}),v.jsx("div",{...R,className:Be.clsx(yo.Arrow,R==null?void 0:R.className),children:v.jsx(jr,{style:{transform:z?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(z||ue)&&Hs.createPortal(v.jsx("div",{className:Be.clsx(yo.Options,yo[n]),onTransitionEnd:fe,style:{opacity:+z,visibility:z?"visible":"hidden",pointerEvents:z?void 0:"none",width:L?`${L}px`:w?"100px":void 0,borderRadius:_.current?window.getComputedStyle(_.current).borderRadius:void 0},ref:M,children:e.map((le,se)=>{var Ne;const pe=E.includes(le);return v.jsxs("div",{className:Be.clsx(yo.Option,pe&&yo.Selected,"NoSelect",yo[n]),style:{height:(Ne=_.current)==null?void 0:Ne.getBoundingClientRect().height},onClick:Ye=>ce(Ye,le),children:[v.jsx(Zu,{className:yo.CheckBox,useCheck:[+pe,void 0]}),v.jsx(f,{option:le})]},se)})}),document.body)]})};function Jh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=Bk(l,t.length,n,i),f=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${f.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.width||(r.current.style.minWidth=u.minWidth+"px"),r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function Bk(r,e,t,n){const i={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<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const Hk=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?v.jsx(e,{option:t[0]}):`${t.length} selected`},qk=r=>{const{option:e}=r;return er.isReactNode(e)?e:null},zk="_Container_10ion_1",$k="_Steps_10ion_9",Uk="_Step_10ion_9",Wk="_OutCircle_10ion_26",Vk="_IsOver_10ion_37",Gk="_InCircle_10ion_41",Zk="_Line_10ion_54",Kk="_Left_10ion_66",Yk="_Right_10ion_69",Xk="_ContentContainer_10ion_73",Jk="_Content_10ion_73",eo={Container:zk,Steps:$k,Step:Uk,OutCircle:Wk,IsOver:Vk,InCircle:Gk,Line:Zk,Left:Kk,Right:Yk,ContentContainer:Xk,Content:Jk},Qk=r=>{const{useSelect:e,steps:t,StepRenderer:n=a0,ContentRenderer:i=a0}=r;if(t.length===0)throw new Error("steps should have at least one element");const l=A.useRef(null),[u,f]=nn(e,t[0]),g=A.useCallback(R=>f==null?void 0:f(R),[f]),m=A.useMemo(()=>t.indexOf(u),[u,t]);return A.useEffect(()=>{m<0&&g(t[0])},[m,t,g]),v.jsxs("div",{className:eo.Container,children:[v.jsx("div",{className:eo.Steps,children:t.map((R,w)=>{const b=t.indexOf(R),S=m>=w,_=m>w;return v.jsxs("div",{className:eo.Step,children:[w!==0&&v.jsx("div",{className:Be.clsx(eo.Line,eo.Left,S&&eo.IsOver)}),w!==t.length-1&&v.jsx("div",{className:Be.clsx(eo.Line,eo.Right,_&&eo.IsOver)}),v.jsx(Fi,{type:"Raw",className:Be.clsx(eo.OutCircle,S&&eo.IsOver),onClick:()=>g(R),children:v.jsx("div",{className:Be.clsx(eo.InCircle,S&&eo.IsOver)})}),v.jsx(n,{step:R,stepIdx:b})]},w)})}),v.jsx("div",{className:eo.ContentContainer,ref:l,children:t.map((R,w)=>{const b=t.indexOf(R);return v.jsx("div",{className:eo.Content,style:w===0?{marginLeft:`${m*-100}%`}:{},children:v.jsx(i,{step:R,stepIdx:b})},w)})})]})},a0=r=>{const{step:e}=r;return typeof e=="object"?er.stringify(e):e},e8="_ATab_1ikea_1",t8="_Option_1ikea_9",r8="_Underline_1ikea_22",n8="_IsSelected_1ikea_22",i8="_IndicatorTrack_1ikea_33",o8="_Indicator_1ikea_33",s8="_Primary_1ikea_49",a8="_Secondary_1ikea_56",l8="_IsDisabled_1ikea_66",c8="_Tertiary_1ikea_80",u8="_Quaternary_1ikea_110",Zl={ATab:e8,Option:t8,Underline:r8,IsSelected:n8,IndicatorTrack:i8,Indicator:o8,Primary:s8,Secondary:a8,IsDisabled:l8,Tertiary:c8,Quaternary:u8},f8=["Primary","Secondary","Tertiary","Quaternary"],z2=r=>{const{options:e,useSelect:t,selectDisabled:n,type:i="Primary",tabProps:l,optionProps:u,optionWidth:f,OptionRenderer:g=d8,RightAddon:m,color:R,underline:w}=r;if(e.length===0)throw new Error("options should have at least one element");const b=A.useMemo(()=>e.findIndex(ce=>!(n!=null&&n(ce))),[e,n]),S=i==="Tertiary"?2:0,_=i==="Secondary"?8:0,M=A.useMemo(()=>S+_,[S,_]),E=i==="Tertiary"?2:0,x=A.useMemo(()=>(_-S-E-E)/e.length,[e.length,S,_,E]),[L,O]=nn(t,e[b]),B=A.useRef([]),H=A.useCallback(ce=>O==null?void 0:O(ce),[O]),z=A.useMemo(()=>typeof f=="number"?f+"px":f,[f]),K=A.useMemo(()=>e.indexOf(L),[e,L]),ue=A.useMemo(()=>`calc(${100/e.length}% + ${x}px)`,[e.length,x]),J=A.useMemo(()=>z||`calc(${ue} - ${M}px)`,[ue,M,z]),[fe,j]=A.useState(0),[te,X]=A.useState(0),[re,de]=A.useState(J),ge=A.useMemo(()=>{let ce;switch(z){case void 0:ce=`calc(${ue} * ${K})`;break;case"fit-content":ce=`calc(${fe}px)`;break;default:ce=`calc((${z} + ${M}px) * ${K})`;break}return`calc(${ce} + ${E}px)`},[z,E,ue,K,fe,M]),ye=A.useMemo(()=>{switch(z){case void 0:return;case"fit-content":return`calc(${te}px)`;default:return`calc((${z} + ${M}px - ${x}px) * ${e.length})`}},[z,x,M,e,te]);return A.useEffect(()=>{var Ae,le;if(e.includes(L)||O==null||O(e[b]),z!=="fit-content"){de(J);return}let ce=0;B.current.forEach((se,pe)=>{pe<K&&se.current&&(ce+=se.current.offsetWidth+M)}),j(ce),de(`calc(${((le=(Ae=B.current[K])==null?void 0:Ae.current)==null?void 0:le.offsetWidth)||0}px)`),X(B.current.reduce((se,pe)=>{var Ne;return se+((((Ne=pe.current)==null?void 0:Ne.offsetWidth)||0)+M-x)},0))},[z,B,e,L,O,b,x,M,K,J]),v.jsxs("div",{...l,className:Be.clsx(Zl.ATab,"Headline2",Zl[i],l==null?void 0:l.className),children:[v.jsx("div",{className:Zl.Indicator,style:{minWidth:re,left:ge,marginLeft:S}}),v.jsx("div",{className:Zl.IndicatorTrack,style:{width:ye}}),v.jsx(mn,{w:E}),e.map((ce,Ae)=>{const le=n==null?void 0:n(ce);return B.current[Ae]||(B.current[Ae]=A.createRef()),v.jsx($r,{abaseRef:B.current[Ae],...u,style:{minWidth:J,maxWidth:J,marginLeft:S,marginRight:_,"--color":R,...u==null?void 0:u.style},className:Be.clsx(Zl.Option,le&&Zl.IsDiabled,ce===L&&Zl.IsSelected,"IsClickable",w&&Zl.Underline,u==null?void 0:u.className),onClick:se=>{!le&&H(ce),u&&u.onClick&&u.onClick(se)},isDisabled:le,children:v.jsx(g,{option:ce})},Ae)}),v.jsx(mn,{w:E+S}),m&&v.jsxs(v.Fragment,{children:[v.jsx(Qc,{}),m]})]})},d8=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=er.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 $2(...r){const e=A.useRef(!1);A.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const U2={String:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;if(t==="")return er.keys(e).some(R=>{const w=e[R],b=Lr.getContent(w.asText,{defKey:R,def:w,item:r});if(b!==void 0)return b.toString().toLowerCase().includes(i.toLowerCase());const S=Lr.getContent(w.content,{defKey:R,def:w,item:r});return["string","number"].includes(typeof S)&&S!==void 0&&S!==null?S.toString().toLowerCase().includes(i.toLowerCase()):!1});const l=er.keys(e),u=t;if(!l.includes(u))return!1;const f=e[u],g=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(g!==void 0)return g.toString().toLowerCase().includes(i.toLowerCase());const m=Lr.getContent(f.content,{defKey:u,def:f,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?m.toString().toLowerCase().includes(i.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:i}=n;if(i==null)return!1;const l=er.keys(e),u=t;if(!l.includes(u))return!1;const f=e[u],g=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(g!==void 0)return i.toString().toLowerCase()===g.toString().toLowerCase();const m=Lr.getContent(f.content,{defKey:u,def:f,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?i.toString().toLowerCase()===m.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=er.keys(e),u=t;if(!l.includes(u))return!1;const f=e[u],g=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(g!==void 0){const R=Yt.toDate(g.toString());return R&&Yt.eq(R,i)}const m=Lr.getContent(f.content,{defKey:u,def:f,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const R=Yt.toDate(m.toString());return R&&Yt.eq(R,i)}return!1},DateRange:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=er.keys(e),u=t;if(!l.includes(u))return!1;const f=e[u],g=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(g!==void 0){const R=Yt.toDate(g.toString());return R&&Yt.be(i.sDate,R,i.eDate)}const m=Lr.getContent(f.content,{defKey:u,def:f,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const R=Yt.toDate(m.toString());return R&&Yt.be(i.sDate,R,i.eDate)}return!1}},h8=(r,e,t)=>{let n=r;return er.keys(t).forEach(l=>{const u=t[l];u.value===void 0||u.value===null||u.value===""||(n=n.filter(f=>{var g;return(g=u.predicate??U2[u.type])==null?void 0:g(f,e,l,u)}))}),n},p8=(r,e,t)=>{if(!t)return r;const n=t.defKey,i=e[n];if(n===void 0)return r;const l=t.sortF??((u,f)=>{const g=Lr.getContent(i.content,{defKey:n,def:i,item:u}),m=Lr.getContent(i.content,{defKey:n,def:i,item:f});return typeof g=="string"&&typeof m=="string"?g<m?-1:g>m?1:0:typeof g=="number"&&typeof m=="number"?g-m:typeof g=="string"&&typeof m=="number"?-1:typeof g=="number"&&typeof m=="string"||g===void 0&&m!==void 0?1:g!==void 0&&m===void 0?-1:0});return r.slice().sort((u,f)=>t.isAsc?l(u,f):l(f,u))},g8=(r,e,t)=>r.slice((e-1)*t,e*t),W2=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,i)=>i+1)},m8=(r,e,t,n)=>{const i=W2(e,t),l=Math.floor((r-1)/n),u=l*n+1,f=(l+1)*n,g=i.slice(u-1,f);return{pages:i,rangedPages:g}},v8=(r,e,t)=>{const n=[],i=Object.keys(t),l=[];i.forEach(b=>{const S=t[b],_=Lr.getContent(S.hContent,{defKey:b,def:S});if(_!==void 0){if(typeof _=="string"){l.push(_);return}else if(typeof _=="number"){l.push(_.toString());return}}const M=Lr.getContent(S.name,{defKey:b,def:S});if(M!==void 0&&typeof M=="string"){l.push(M);return}l.push(b)});const u=l.map(b=>`"${b.replaceAll('"','""')}"`);n.push(u.join(",")),e.forEach(b=>{const S=[];i.forEach(M=>{const E=t[M],x=Lr.getContent(E.content,{defKey:M,def:E,item:b});if(x!==void 0){if(typeof x=="string"){S.push(x);return}else if(typeof x=="number"){S.push(x.toString());return}}const L=b[M];typeof L=="string"?S.push(L):typeof L=="number"?S.push(L.toString()):S.push("")});const _=S.map(M=>`"${M.replaceAll('"','""')}"`);n.push(_.join(","))});const f=`${r}.csv`,g="\uFEFF"+n.join(`
|
161
|
-
`),m=new Blob([g],{type:"text/csv;charset=UTF-8"}),R=URL.createObjectURL(m),w=document.createElement("a");w.href=R,w.download=f,w.click(),URL.revokeObjectURL(R)},y8=r=>{const e=er.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},b8=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,i])=>{!i||i.value===void 0||i.value===null||i.value===""||(i.type==="DateRange"?(t[i.sFilterKey]=i.value.sDate,t[i.eFilterKey]=i.value.eDate):t[i.filterKey??n]=i.value)}),t},_8=r=>{const e=er.keys(r).filter(i=>i!=="");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}},tl={applyFilteration:h8,applySortation:p8,applyPagination:g8,getPages:W2,getRangedPages:m8,downloadCsv:v8,getSingleFilterValue:y8,getMultiFilterValues:b8,getSelectFilterValue:_8},x8="_ATable_12zow_1",S8={ATable:x8};function V2(r,e,t,n){A.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const C8="_BodyHeader_ys4y0_1",w8="_TRow_ys4y0_7",A8="_OverflowSpace_ys4y0_11",T8="_BodyBody_ys4y0_16",E8="_IsSelected_ys4y0_35",k8="_IsSelectable_ys4y0_39",R8="_IsRowMarked_ys4y0_47",I8="_TH_ys4y0_52",L8="_TD_ys4y0_57",M8="_IsMarked_ys4y0_57",D8="_Resizer_ys4y0_76",O8="_IsMoving_ys4y0_88",P8="_IsResizable_ys4y0_91",N8="_ResizerCenter_ys4y0_94",F8="_ResizerOut_ys4y0_100",j8="_ResizerIn_ys4y0_104",B8="_IsClicked_ys4y0_139",H8="_NoItems_ys4y0_146",q8="_Content_ys4y0_152",_n={BodyHeader:C8,TRow:w8,OverflowSpace:A8,BodyBody:T8,IsSelected:E8,IsSelectable:k8,IsRowMarked:R8,TH:I8,TD:L8,IsMarked:M8,Resizer:D8,IsMoving:O8,IsResizable:P8,ResizerCenter:N8,ResizerOut:F8,ResizerIn:j8,IsClicked:B8,NoItems:H8,Content:q8},Yl=25,Qh=50,z8=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:i,isTableDisabled:l,isSelectMulti:u,selectDisabled:f,appliedFilteration:g,useSortation:m,pagination:R,pagedItems:w,noMarking:b,noDefHeader:S,isLoading:_,showRows:M,RowRenderer:E=W8,isRowRendered:x,rowHeight:L,resources:O}=r,[B,H]=A.useMemo(()=>i??[],[i]),z=A.useCallback(it=>{l||!H||!B||f!=null&&f(it)||(u?B.some(Ie=>t(Ie,it))?H(B.filter(Ie=>!t(Ie,it))):H([...B,it]):H([it]))},[B,f,H,t,l,u]);A.useEffect(()=>{u||!B||!H||B.length>1&&H([B[B.length-1]])},[B,H,u]),A.useEffect(()=>{if(!B||!H)return;B.filter(Ie=>f==null?void 0:f(Ie)).length>0&&H(B.filter(Ie=>!(f!=null&&f(Ie))))},[B,H,f]);const[K,ue]=m,J=A.useCallback((it,Ie)=>{ue&&((K==null?void 0:K.defKey)===it?K.isAsc===!0?ue({defKey:it,isAsc:!1,sortF:Ie}):K.isAsc===!1?ue(void 0):ue({defKey:it,isAsc:!0,sortF:Ie}):ue({defKey:it,isAsc:!0,sortF:Ie}))},[K,ue]),[fe,j]=A.useState({elem:null,row:null}),te=A.useRef(null),X=A.useRef(null),re=A.useCallback(()=>j({elem:te.current,row:X.current}),[]);A.useEffect(()=>re(),[w.length,re]),V2(window,"resize",re);const[de,ge]=A.useState(L);A.useEffect(()=>{const{row:it}=fe;it!=null&&ge(it.clientHeight)},[fe,de]);const ye=A.useMemo(()=>{const{elem:it}=fe;return it?Math.floor(it.clientHeight/de):0},[fe,de]),ce=A.useMemo(()=>M||(w.length<=ye?ye:w.length),[ye,M,w]),Ae=A.useMemo(()=>{if(M!==void 0)return M*de},[M,de]),le=A.useMemo(()=>Ae,[Ae]),se=A.useMemo(()=>{const{elem:it}=fe;return it?it.getBoundingClientRect().height/de<w.length:!1},[fe,de,w.length]),[pe,Ne]=A.useState(),Ye=A.useMemo(()=>{const{elem:it}=fe;return!pe||!it?"100%":it.clientHeight+(x?0:50)},[pe,x,fe]),we=A.useRef(null),[De,Fe]=A.useState({}),ze=A.useRef({x:0,y:0}),Ge=A.useRef({}),Me=A.useMemo(()=>er.keys(De),[De]),Te=A.useCallback((it,Ie)=>{const Oe=we.current;if(!Oe)return;const st=[];Oe.childNodes.forEach(xt=>{xt.classList.contains(_n.TH)&&st.push(xt)});const vt={};er.keys(e).forEach((xt,It)=>{const je=st[It];if(!je)return;const Qe=je.getBoundingClientRect().width;vt[xt]=Qe}),Ge.current=vt,Ne(Ie),ze.current={x:it.clientX,y:it.clientY};const wt=xt=>{if(!we.current)return;const je=xt.clientX-ze.current.x,Qe=U8(e,Ie,Ge.current,je);Fe(Qe)};document.addEventListener("mousemove",wt);const Et=()=>{Ne(void 0),document.removeEventListener("mousemove",wt),document.removeEventListener("mouseup",Et)};document.addEventListener("mouseup",Et)},[e]),be=A.useCallback(()=>{Ne(void 0),Fe({})},[]),We=A.useMemo(()=>{if(Me.length===0){const Oe={},st=er.keys(e);for(let vt=0;vt<st.length;vt++){const wt=st[vt],Et=e[wt],xt=Lr.getContent(Et.colSpan,{defKey:wt,def:Et}),It=Et.width??80,je=Et.minWidth??Yl,Qe=Et.maxWidth,gt={width:It,minWidth:je,maxWidth:Qe,flexGrow:xt??1};if(Oe[wt]=gt,xt!==void 0){for(let Ft=1;Ft<Math.min(xt,st.length-vt);Ft++){const bt=e[st[vt+Ft]],$e=bt.width??80,Lt=bt.minWidth??Yl,Dt=bt.maxWidth;gt.width+=$e,gt.minWidth+=Lt,gt.maxWidth!==void 0&&(Dt!==void 0?gt.maxWidth+=Dt:gt.maxWidth=void 0)}vt+=xt-1}}return Oe}const it={},Ie=er.keys(e);for(let Oe=0;Oe<Ie.length;Oe++){let st=Ie[Oe];const vt=e[st];let wt=De[st];const Et=Lr.getContent(vt.colSpan,{defKey:st,def:vt}),xt=vt.minWidth??Yl,It=vt.maxWidth,je={width:wt,minWidth:xt,maxWidth:It,flexGrow:Et??1};if(it[st]=je,Et!==void 0){for(let Qe=1;Qe<Math.min(Et,Ie.length-Oe);Qe++){const gt=e[Ie[Oe+Qe]],Ft=De[Ie[Oe+Qe]],bt=gt.minWidth??Yl,$e=gt.maxWidth;je.width+=Ft,je.minWidth+=bt,je.maxWidth!==void 0&&($e!==void 0?je.maxWidth+=$e:je.maxWidth=void 0)}Oe+=Et-1}}return it},[e,Me,De]),ht=A.useRef(null),Ct=A.useMemo(()=>tl.getSingleFilterValue(g),[g]);return A.useEffect(()=>{te.current&&te.current.scrollTo({top:0})},[R.page]),A.useEffect(()=>{x&&X.current&&X.current.scrollIntoView({behavior:"smooth",block:"center"})},[B,w,x]),v.jsxs(v.Fragment,{children:[v.jsx(ym,{isLoading:_}),v.jsx("div",{className:Be.clsx(_n.BodyHeader,pe!==void 0&&_n.IsClicked),onResizeCapture:re,ref:ht,style:{display:S||x?"none":"flex"},children:v.jsx("div",{className:_n.TRow,ref:we,style:{minHeight:Qh,maxHeight:Qh},children:er.map(e,([it],Ie)=>{const Oe=e[it],st=Lr.getContent(Oe.hContent,{defKey:it,def:Oe}),vt=Oe.name,wt=Ie===er.keys(e).length-1,Et=Oe.width??80,xt=Oe.minWidth??Yl,It=Oe.maxWidth,je={width:Et,minWidth:xt,maxWidth:It,justifyContent:Lr.getContent(Oe.hAlign,{defKey:it,def:Oe})??"flex-start",...Lr.getContent(Oe.hStyle,{defKey:it,def:Oe})};Me.includes(it)&&(je.width=De[it]);const Qe=Oe.isSortable,gt=(K==null?void 0:K.defKey)===it,Ft=K==null?void 0:K.isAsc;return v.jsxs(A.Fragment,{children:[v.jsxs("div",{style:je,onClick:()=>Qe&&J(it,Oe.sortF),className:Be.clsx(_n.TH,"Label1",Qe?"IsClickable":"NoSelect"),children:[v.jsx(Sa,{className:_n.Content,children:st??vt}),Qe&&v.jsx(jr,{icon:gt?Ft?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!wt&&v.jsxs("div",{className:Be.sclsx(_n,"Resizer","IsResizable","NoSelect",pe!==void 0&&"IsMoving"),onMouseDown:bt=>Te(bt,it),onDoubleClick:be,children:[v.jsx("div",{className:_n.ResizerOut}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerCenter,style:{height:Ye}}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerOut})]}),wt&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:Qh,style:{color:je.color,backgroundColor:je.backgroundColor,transition:je.transition}})]},it)})})}),v.jsxs("div",{className:Be.clsx(_n.BodyBody,pe!==void 0&&_n.IsClicked),ref:te,style:{overflowY:se?"scroll":"hidden",minHeight:Ae,maxHeight:le},children:[w.map((it,Ie)=>{const Oe=Lr.getContent(n,{item:it}),st=H&&!l,vt=B==null?void 0:B.some(It=>t(It,it)),wt=B&&(f==null?void 0:f(it)),Et=typeof wt=="string"?wt:void 0,xt={...it};return x&&er.keys(e).forEach(It=>{const je=e[It],Qe=Lr.getContent(je.content,{defKey:It,def:je,item:it});let gt=!1;if(Ct&&!b){const Ft=Lr.getContent(je.asText,{defKey:It,def:je,item:it});Ft!==void 0?gt=Ft.toString().toLowerCase().includes(Ct.toLowerCase()):["string","number"].includes(typeof Qe)&&Qe!==void 0&&Qe!==null&&(gt=Qe.toString().toLowerCase().includes(Ct.toLowerCase()))}xt[It]=v.jsx("span",{className:Be.clsx(gt&&_n.IsRowMarked),children:xt[It]})}),v.jsx($r,{isDisabled:wt,tooltip:Et,...Oe,onClick:It=>{var je;z(it),(je=Oe==null?void 0:Oe.onClick)==null||je.call(Oe,It)},className:Be.clsx(Oe==null?void 0:Oe.className,st&&_n.IsSelectable,vt&&_n.IsSelected),abaseRef:vt?X:void 0,children:v.jsx(E,{defs:e,item:it,markedItem:xt,noMarking:b,spanWidths:We,singleFilterValue:Ct,isBodyBodyOverflowed:se,rowHeight:L})},Ie)}),v.jsx($8,{showRows:ce,itemsLength:w.length,isRowRendered:x,rowHeight:de,resources:O})]})]})},$8=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:i,rowHeight:l}=r,u=A.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:u},(f,g)=>v.jsx("div",{className:Be.clsx(_n.TRow,"NoSelect"),style:{minHeight:l,maxHeight:l,...i&&{border:"none"}},children:t===0&&g===Math.floor(e/2)&&v.jsx(Sn,{className:_n.NoItems,children:n["No Items"]})},g))};function U8(r,e,t,n){const i={...t},l=er.keys(r).findIndex(m=>m===e)+1,u=Object.entries(r);let f=l-1,g=l;if(n<0){for(;n<0&&!(f<0||g>=u.length);){const[m,R]=[u[f][0],u[f][1]],[w,b]=[u[g][0],u[g][1]],S=R.minWidth??Yl,_=b.maxWidth,M=i[m],E=i[w];let x=M-S;_!==void 0&&(x=Math.min(x,_-E));let L=-n;L=Math.min(L,x),M-L<=S&&f--,_!==void 0&&E+L>=_&&g++,i[m]=M-L,i[w]=E+L,n+=L}return i}else if(n>0){for(;n>0&&!(f<0||g>=u.length);){const[m,R]=[u[f][0],u[f][1]],[w,b]=[u[g][0],u[g][1]],S=b.minWidth??Yl,_=R.maxWidth,M=i[w],E=i[m];let x=M-S;_!==void 0&&(x=Math.min(x,_-E));let L=n;L=Math.min(L,x),M-L<=S&&g++,_!==void 0&&E+L>=_&&f--,i[w]=M-L,i[m]=E+L,n-=L}return i}return i}const W8=r=>{const{defs:e,item:t,noMarking:n,spanWidths:i,singleFilterValue:l,isBodyBodyOverflowed:u,rowHeight:f}=r;return v.jsx("div",{className:Be.clsx(_n.TRow),style:{minHeight:f,maxHeight:f},children:er.map(e,([g],m)=>{const R=i[g];if(R===void 0)return null;const w=m===er.keys(e).length-1,b=e[g],S=Lr.getContent(b.content,{defKey:g,def:b,item:t}),_={width:R.width,minWidth:R.minWidth,maxWidth:R.maxWidth,flexGrow:R.flexGrow,justifyContent:Lr.getContent(b.align,{defKey:g,def:b,item:t})??"flex-start",...Lr.getContent(b.style,{defKey:g,def:b,item:t})};let M=!1;if(l&&!n){const E=Lr.getContent(b.asText,{defKey:g,def:b,item:t});E!==void 0?M=E.toString().toLowerCase().includes(l.toLowerCase()):["string","number"].includes(typeof S)&&S!==void 0&&S!==null&&(M=S.toString().toLowerCase().includes(l.toLowerCase()))}return v.jsxs(A.Fragment,{children:[v.jsx("div",{style:_,className:Be.clsx(_n.TD,"Label1",M&&_n.IsMarked),children:v.jsx(Sa,{className:_n.Content,children:S})}),!u&&w&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:f,style:{color:_.color,backgroundColor:_.backgroundColor}})]},g)})})},V8="_ATableFooter_w090q_1",G8="_Button_w090q_10",Z8="_IsSelected_w090q_26",K8="_IsDisabled_w090q_31",Ds={ATableFooter:V8,Button:G8,IsSelected:Z8,IsDisabled:K8},Y8=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:i}=r,l=A.useMemo(()=>e[e.length-1],[e]);return v.jsxs(Sn,{className:Ds.ATableFooter,children:[v.jsx(jr,{icon:"FirstPage",className:Be.clsx(Ds.Button,i.page===1&&Ds.IsDisabled),onClick:n.moveFirst}),v.jsx(jr,{icon:"NavigateBefore",className:Be.clsx(Ds.Button,i.page===1&&Ds.IsDisabled),onClick:n.movePrev}),t.map(u=>v.jsx("div",{className:Be.clsx(Ds.Button,"NoSelect",i.page===u&&Ds.IsSelected),onClick:()=>n.move(u),children:u},u)),v.jsx(jr,{icon:"NavigateNext",className:Be.clsx(Ds.Button,i.page===l&&Ds.IsDisabled),onClick:n.moveNext}),v.jsx(jr,{icon:"LastPage",className:Be.clsx(Ds.Button,i.page===l&&Ds.IsDisabled),onClick:n.moveLast})]})},X8="_Filter_1b9j0_1",J8="_SelectFilter_1b9j0_11",Q8="_MainFilter_1b9j0_15",eR="_IsOpen_1b9j0_26",tR="_SubFilters_1b9j0_30",rR="_Input_1b9j0_44",nR="_Main_1b9j0_15",iR="_Sub_1b9j0_30",oR="_Actions_1b9j0_62",sR="_Icon_1b9j0_67",aR="_LeftIcon_1b9j0_74",lR="_CircleAlertOutline_1b9j0_79",cR="_Rotate_1b9j0_87",uR="_rotate_1b9j0_1",kr={Filter:X8,SelectFilter:J8,MainFilter:Q8,IsOpen:eR,SubFilters:tR,Input:rR,Main:nR,Sub:iR,Actions:oR,Icon:sR,LeftIcon:aR,CircleAlertOutline:lR,Rotate:cR,rotate:uR},fR=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:i,isRowRendered:l,isFilterSort:u,filterType:f,resources:g,placeholder:m}=r,[R,w]=A.useState([]),[b,S]=A.useMemo(()=>t,[t]),_=A.useMemo(()=>f==="Select",[f]),M=A.useMemo(()=>er.keys(b).map(De=>String(De)),[b]),[E,x]=A.useState(_&&M.length>0?M[0]:null),L=A.useCallback((De,Fe,ze)=>{if(!S)return;const Ge={...b};De.value=Fe,S(Ge),w(Me=>Me.map((Te,be)=>be===(ze?ze+1:0)?"":Te))},[b,S]),O=A.useMemo(()=>{let De=[],Fe=er.keys(b);_&&E&&(Fe=Fe.filter(ze=>ze===E));for(const ze of Fe)De.push({key:ze,def:e[ze],filter:b[ze]});return De},[b,e,_,E]),B=A.useMemo(()=>O.length>0?O[0]:null,[O]),H=A.useMemo(()=>R.length>0?R[0]:"",[R]),z=A.useMemo(()=>O.length>1?O.slice(1):[],[O]),K=A.useMemo(()=>R.length>1?R.slice(1):[],[R]),ue=A.useMemo(()=>z.length>0,[z]),[J,fe]=A.useState(!1),[j,te]=A.useState(!1),X=A.useRef(null),re=A.useCallback(()=>fe(!1),[]),de=A.useRef(null),ge=A.useCallback(()=>{te(!1),fe(!0),de.current&&(document.removeEventListener("mousedown",de.current),de.current=null)},[]),ye=A.useCallback(()=>{const De=Fe=>{const ze=document.getElementById("root"),Ge=Fe.target,Me=X.current;!ze||!Me||!Ge||!Me.contains(Ge)&&ze.contains(Ge)&&ge()};return de.current=De,De},[ge]),ce=A.useCallback(()=>{fe(!0),te(!0),setTimeout(()=>{const De=ye();document.addEventListener("mousedown",De)},0)},[ye]),Ae=A.useMemo(()=>j?ge:ce,[j,ce,ge]),le=A.useCallback(()=>{const De=O.map((Fe,ze)=>Fe.filter.type==="String"&&Fe.filter.validation?Fe.filter.validation(Fe.filter.value||""):Fe.filter.type==="Date"&&Fe.filter.validation||Fe.filter.type==="DateRange"&&Fe.filter.validation?Fe.filter.validation(Fe.filter.value):R[ze]);w(De),De.every(Fe=>!Fe)&&i.apply()},[R,i,O]),se=A.useCallback(De=>{De.key==="Enter"?(le(),De.stopPropagation()):De.key==="Escape"&&(te(!1),De.currentTarget.focus(),De.currentTarget.blur(),De.stopPropagation())},[le,te]),pe=A.useMemo(()=>({open:ce,close:ge,toggle:Ae,validate:le}),[ce,ge,Ae,le]),Ne=A.useCallback(()=>{le(),!R.some(Fe=>Fe)&&i.apply()},[le,R,i]),Ye=A.useCallback(()=>{i.clear()},[i]),we=A.useCallback(De=>{if(!S||!De)return;x(De);const Fe={...b};er.keys(Fe).forEach(ze=>{if(ze!==De&&Fe[ze])switch(Fe[ze].type){case"String":Fe[ze].value="";break;case"Select":Fe[ze].value=null;break;case"Date":Fe[ze].value=void 0;break;case"DateRange":Fe[ze].value=void 0;break}}),w([]),S(Fe),i.clear(),setTimeout(()=>{var Ge;const ze=(Ge=X.current)==null?void 0:Ge.querySelector("input");ze&&ze.focus()},0)},[b,S,w,i]);return B?v.jsxs(v.Fragment,{children:[_&&v.jsx(rc,{className:Be.clsx(kr.SelectFilter),options:M,isAutoWidth:!0,useSelect:[E,we],type:"Secondary",OptionRenderer:({option:De})=>{const Fe=e[De];let ze;if(Fe!=null&&Fe.hContent){const Ge={defKey:De,def:Fe};ze=typeof Fe.hContent=="function"?Fe.hContent(Ge):Fe.hContent}else{const Ge=b[De],Me=(Fe==null?void 0:Fe.name)||(Ge==null?void 0:Ge.placeholder)||String(De);ze=v.jsx("span",{children:Me})}return ze}}),v.jsxs("div",{className:Be.clsx(kr.Filter),ref:X,onKeyDown:se,onClick:De=>{De.preventDefault(),De.stopPropagation()},style:{minWidth:l?u?180:void 0:180,maxWidth:l?u?300:void 0:300},tabIndex:-1,children:[v.jsx(dR,{filterSet:B,hasToggleFilteration:n,onChange:L,filterF:i,hasSubFilters:ue,popupF:pe,isOpen:j,resources:g,errorMessage:H,hasSelectFilterType:_,onSearchClick:Ne,placeholder:m}),!_&&v.jsx(hR,{subFilterSets:z,onChange:L,onClearClick:Ye,onSearchClick:Ne,isOpen:j,isTransitioning:J,onTransitionEnd:re,resources:g,errorMessages:K,placeholder:m})]})]}):null},dR=r=>{var S,_,M,E;const{filterSet:e,hasToggleFilteration:t,hasSelectFilterType:n,onChange:i,filterF:l,hasSubFilters:u,popupF:f,isOpen:g,resources:m,errorMessage:R,onSearchClick:w,placeholder:b}=r;if(e.filter.type==="String"){const x=[e.filter.value??"",H=>i(e.filter,H)],L=b??e.filter.placeholder??((S=e.def)==null?void 0:S.name),O=e.filter.icon,B=e.filter.iconTooltip??L;return v.jsxs("div",{className:Be.clsx(kr.MainFilter,g&&kr.IsOpen),children:[v.jsx(ya,{icon:O??"Type",tooltip:B,isOpen:g}),v.jsx(tc,{className:Be.clsx(kr.Input,kr.Main),useValue:x,placeholder:L??m["Search(Placeholder)"],wrapProps:{style:{width:"100%",boxSizing:"border-box"}},LeftAddon:t&&v.jsx(Rd,{isOpen:g,filterF:l,popupF:f,resources:m}),RightAddon:v.jsx(Id,{hasSubFilters:u,popupF:f,isOpen:g,resources:m,errorMessage:R,hasSelectFilterType:n}),autoFocus:e.filter.autoFocus,maxLength:e.filter.maxLength,type:R?"Error":"Primary"})]})}else if(e.filter.type==="Select"){const x=[e.filter.value??null,H=>{i(e.filter,H),n&&setTimeout(()=>w(),0)}],L=b??e.filter.placeholder??((_=e.def)==null?void 0:_.name),O=e.filter.icon,B=e.filter.iconTooltip??L;return v.jsxs("div",{className:Be.clsx(kr.MainFilter,g&&kr.IsOpen),children:[v.jsx(ya,{icon:O??"Menu",tooltip:B,isOpen:g}),v.jsx(rc,{className:Be.clsx(kr.Input,kr.Main),options:e.filter.options,useSelect:x,placeholder:L,OptionRenderer:e.filter.OptionRenderer,SelectedRenderer:({OptionRenderer:H,selectedOption:z})=>z===null?L||e.filter.placeholder:v.jsxs(v.Fragment,{children:[t&&v.jsx(Rd,{isOpen:g,filterF:l,popupF:f,resources:m}),v.jsx(H,{option:z}),v.jsx(Id,{hasSubFilters:u,popupF:f,isOpen:g,resources:m,hideSearchButton:!0,hasSelectFilterType:n})]})})]})}else if(e.filter.type==="Date"){const x=[e.filter.value,H=>i(e.filter,H)],L=b??e.filter.placeholder??((M=e.def)==null?void 0:M.name),O=e.filter.icon,B=e.filter.iconTooltip??L;return v.jsxs("div",{className:Be.clsx(kr.MainFilter,g&&kr.IsOpen),children:[v.jsx(ya,{icon:O??"CalendarDay",tooltip:B,isOpen:g}),v.jsx(vm,{type:"Raw",className:Be.clsx(kr.DatePicker,kr.Input,kr.Main),useDate:x,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:L,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(Rd,{isOpen:g,filterF:l,popupF:f,resources:m}),!t&&v.jsx(mn,{w:g?0:6}),v.jsx(ya,{icon:O??"CalendarDay",tooltip:B,isOpen:!g}),v.jsx(mn,{w:g?8:0})]}),RightAddon:v.jsx(Id,{hasSubFilters:u,popupF:f,isOpen:g,resources:m,hasSelectFilterType:n})})]})}else if(e.filter.type==="DateRange"){const x=[e.filter.value,z=>i(e.filter,z)],{noDefaultChoices:L}=e.filter,O=b??e.filter.placeholder??((E=e.def)==null?void 0:E.name),B=e.filter.icon,H=e.filter.iconTooltip??O;return v.jsxs("div",{className:Be.clsx(kr.MainFilter,g&&kr.IsOpen),children:[v.jsx(ya,{icon:B??"CalendarDay",tooltip:H,isOpen:g}),v.jsx(gm,{type:"Raw",className:Be.clsx(kr.DatePicker,kr.Input,kr.Main),useDateRange:x,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:O,noDefaultChoices:L,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(Rd,{isOpen:g,filterF:l,popupF:f,resources:m}),!t&&v.jsx(mn,{w:g?0:6}),v.jsx(ya,{icon:B??"CalendarDay",tooltip:H,isOpen:!g}),v.jsx(mn,{w:g?8:0})]}),RightAddon:v.jsx(Id,{hasSubFilters:u,popupF:f,isOpen:g,resources:m,hasSelectFilterType:n})})]})}return null},Rd=r=>{const{filterF:e,popupF:t,resources:n,isOpen:i}=r;return v.jsx(_i,{type:"Raw",className:kr.Icon,icon:"Convert",tooltip:n["Toggle Filter"],onMouseDown:l=>l.currentTarget.classList.remove(kr.Rotate),style:{width:i?0:24,marginLeft:i?0:8},onClick:l=>{l.currentTarget.classList.add(kr.Rotate),e.toggle(),t.close(),l.stopPropagation()}})},Id=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:i,errorMessage:l,hideSearchButton:u,hasSelectFilterType:f}=r,g=A.useCallback(w=>{w.stopPropagation(),t.open()},[t]),m=A.useCallback(w=>{w.stopPropagation(),t.close()},[t]),R=A.useCallback(w=>{w.stopPropagation(),t.validate()},[t]);return v.jsxs(A.Fragment,{children:[l&&v.jsx(_i,{type:"Raw",className:kr.CircleAlertOutline,iconSize:"xs",icon:"CircleAlertOutline",tooltip:l}),e&&!f&&v.jsx(_i,{type:"Raw",className:kr.Icon,icon:"ListAdd",onClick:g,style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0}}),e&&!f&&v.jsx(_i,{type:"Raw",className:kr.Icon,icon:"ListRemove",onClick:m,style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"}}),!u&&v.jsx(_i,{type:"Raw",className:kr.Icon,icon:"Search",tooltip:i["Search(Button)"],onClick:R,style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4}})]})},hR=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,onSearchClick:i,isOpen:l,isTransitioning:u,onTransitionEnd:f,resources:g,errorMessages:m,placeholder:R}=r;return!l&&!u?null:v.jsxs("div",{className:kr.SubFilters,onTransitionEnd:f,style:{opacity:+l,visibility:+l?"visible":"hidden"},children:[e.map((w,b)=>{var S,_,M,E;if(w.filter.type==="String"){const x=[w.filter.value??"",z=>t(w.filter,z,b)],L=m[b],O=R??w.filter.placeholder??((S=w.def)==null?void 0:S.name),B=w.filter.icon,H=w.filter.iconTooltip??O;return v.jsxs(Sn,{style:{marginBottom:6},children:[v.jsx(ya,{tooltip:H,icon:B??"Type"}),v.jsx(tc,{className:Be.clsx(kr.Input,kr.Sub),wrapProps:{style:{width:"100%"}},useValue:x,placeholder:O??g["Search(Placeholder)"],type:L?"Error":"Secondary",RightAddon:L&&v.jsx(_i,{type:"Raw",className:kr.CircleAlertOutline,iconSize:"xs",icon:"CircleAlertOutline",tooltip:L}),autoFocus:w.filter.autoFocus,maxLength:w.filter.maxLength}),v.jsx(mn,{h:8})]},b)}else if(w.filter.type==="Select"){const x=[w.filter.value??null,H=>t(w.filter,H)],L=R??w.filter.placeholder??((_=w.def)==null?void 0:_.name),O=w.filter.icon,B=w.filter.iconTooltip??L;return v.jsxs(Sn,{style:{marginBottom:6},children:[v.jsx(ya,{tooltip:B,icon:O??"Menu"}),v.jsx(rc,{className:Be.clsx(kr.Input,kr.Sub),options:w.filter.options,placeholder:L,OptionRenderer:w.filter.OptionRenderer,useSelect:x,arrowProps:{style:{marginRight:4}},type:"Secondary"}),v.jsx(mn,{h:8})]},b)}else if(w.filter.type==="Date"){const x=[w.filter.value,H=>t(w.filter,H)],L=R??w.filter.placeholder??((M=w.def)==null?void 0:M.name),O=w.filter.icon,B=w.filter.iconTooltip??L;return v.jsxs(Sn,{style:{marginBottom:6},children:[v.jsx(ya,{tooltip:B,icon:O??"CalendarDay"}),v.jsx(vm,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),placeholder:L,className:Be.clsx(kr.DatePicker,kr.Input,kr.Sub),useDate:x,minDate:w.filter.minDate,maxDate:w.filter.maxDate}),v.jsx(mn,{h:8})]},b)}else if(w.filter.type==="DateRange"){const x=[w.filter.value,z=>t(w.filter,z)],{noDefaultChoices:L}=w.filter,O=R??w.filter.placeholder??((E=w.def)==null?void 0:E.name),B=w.filter.icon,H=w.filter.iconTooltip??O;return v.jsxs(Sn,{style:{marginBottom:6},children:[v.jsx(ya,{tooltip:H,icon:B??"CalendarDay"}),v.jsx(gm,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),className:Be.clsx(kr.DatePicker,kr.Input,kr.Sub),useDateRange:x,placeholder:O,minDate:w.filter.minDate,maxDate:w.filter.maxDate,noDefaultChoices:L})]},b)}else return null}),v.jsxs(Sn,{className:kr.Actions,children:[v.jsx(Fi,{type:"Secondary",onClick:n,children:g["Clear(Button)"]}),v.jsx(Fi,{onClick:i,children:g["Search(Button)"]})]})]})},ya=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return v.jsx(_i,{type:"Raw",className:kr.LeftIcon,tooltip:t,icon:e,style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},pR="_ATableHeader_1hzfz_1",gR="_LeftHeaderContent_1hzfz_11",mR="_RightHeaderContent_1hzfz_19",vR="_TopRightAddon_1hzfz_27",yR="_HItem_1hzfz_32",Vc={ATableHeader:pR,LeftHeaderContent:gR,RightHeaderContent:mR,TopRightAddon:vR,HItem:yR},bR=r=>{const{defs:e,title:t,totalCount:n,useCheck:i,useFilteration:l,hasToggleFilteration:u,filterF:f,noFilter:g,noCount:m,isFiltered:R,TopLeftAddon:w,TopRightAddon:b,useSortation:S,resources:_=hn.ATable,filterType:M,placeholder:E}=r,[x]=A.useMemo(()=>i||[],[i]),L=A.useMemo(()=>R?_["Searched n items"](n):_["Total n items"](n),[_,R,n]),[O]=l,[B,H]=S,[z,K]=A.useState(!1),ue=A.useMemo(()=>{const ye=er.values(O).filter(le=>le.type==="DateRange"),ce=er.keys(O).filter(le=>ye.includes(O[le])),Ae=er.keys(e).filter(le=>e[le].isSortable);return ce.length>0?(ce.length>1&&K(!0),Ae.map(se=>ce.includes(se)?[se+"_Asc",se+"_Desc"]:se).flat()):Ae},[e,O]),J=A.useMemo(()=>r.isRowRendered&&ue.length>0,[ue.length,r.isRowRendered]),fe=A.useCallback((ye,ce)=>{H&&(B==null?void 0:B.defKey)===ye&&(B.isAsc===!0?H({defKey:ye,isAsc:!1,sortF:ce}):H({defKey:ye,isAsc:!0,sortF:ce}))},[B,H]),j=A.useRef(),[te,X]=A.useState(),[re,de]=A.useState(B?B.defKey:ue[0]),ge=A.useMemo(()=>{if(!te)return{};const ye=e[te];return{SortUp:{onClick:()=>{H==null||H({defKey:te,isAsc:!0,sortF:ye.sortF}),de(te)},content:()=>_["Sort up"]},SortDown:{onClick:()=>{H==null||H({defKey:te,isAsc:!1,sortF:ye.sortF}),de(te)},content:()=>_["Sort down"]}}},[H,te,e,_]);return v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:Be.clsx(Vc.ATableHeader),children:[v.jsxs("div",{className:Be.clsx(Vc.LeftHeaderContent,"NoSelect"),children:[v.jsxs(Sn,{style:{marginBottom:J?8:0},children:[w&&v.jsx("div",{className:Be.clsx(Vc.HItem),children:w}),t&&v.jsx("div",{className:Be.clsx(Vc.HItem),style:{whiteSpace:"nowrap"},children:t}),!m&&v.jsxs("div",{className:Be.clsx(Vc.HItem),style:{maxHeight:14,...J&&{minHeight:14,color:"var(--label-neutral)"}},children:[L,x&&x.length>0&&v.jsxs(v.Fragment,{children:[" / ",_["Checked n items"](x.length)]})]})]}),J&&v.jsx(z2,{type:"Tertiary",options:ue,useSelect:[re,()=>{}],optionWidth:"fit-content",tabProps:{style:{marginRight:8}},optionProps:{style:{cursor:"default"},onClick:ye=>{var le;const ce=ye.currentTarget.textContent;if(ce===_[ce])return;ye.currentTarget.querySelector("svg")===null&&((le=j.current)==null||le.open(ye.currentTarget))}},OptionRenderer:ye=>{const ce=/_Asc|_Desc/.test(ye.option),Ae=(B==null?void 0:B.defKey)===ye.option,le=re===ye.option,se=B==null?void 0:B.isAsc,pe=()=>{if(ce){X(void 0),de(ye.option);const[we,De]=ye.option.split("_"),Fe=De==="Asc";H==null||H({defKey:we,isAsc:Fe,sortF:e[we].sortF})}else le?fe(ye.option,e[ye.option].sortF):X(ye.option)},Ye=ce?(we=>{const[De,Fe]=we.split("_");return(z?De+" ":"")+_[Fe]})(ye.option):_["Sort by x"](ye.option);return v.jsxs(Sn,{style:{height:"100%"},className:Be.clsx(!(ce&&le)&&"IsClickable"),onClick:pe,children:[Ye,le&&!ce&&v.jsx(jr,{style:{marginRight:-5,marginLeft:4},icon:Ae?se?"RowSortUp":"RowSortDown":"RowSortBoth"})]},ye.option)}})]}),v.jsx(Qc,{}),v.jsxs("div",{className:Be.clsx(Vc.RightHeaderContent,"NoSelect"),children:[!g&&v.jsx(fR,{defs:e,useFilteration:l,hasToggleFilteration:u,filterF:f,isRowRendered:r.isRowRendered,isFilterSort:ue.length>0,resources:_,filterType:M,placeholder:E}),b&&v.jsx(Sn,{className:Be.clsx(Vc.TopRightAddon),children:b})]})]}),v.jsx(B2,{defs:ge,actionRef:j,onClose:()=>X(void 0),width:100,position:ef.S})]})},_R=r=>{const{defs:e,pk:t,defaultDef:n,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:f,useCheck:g,checkDisabled:m,isLoading:R,isDisabled:w,title:b,entireItems:S,onStateChange:_,pagedItems:M,totalCount:E,useFilteration:x,useToggleFilteration:L,filterType:O="Default",placeholder:B,rowHeight:H=40,usePagination:z,useSortation:K,showRows:ue,noHeader:J,noDefHeader:fe,noFooter:j,noFilter:te,noCount:X,noMarking:re,noStateChangeOnMount:de,TopLeftAddon:ge,TopRightAddon:ye,actionRef:ce,RowRenderer:Ae,resources:le}=r,se=A.useMemo(()=>({...hn.ATable,...le}),[le]),pe=A.useCallback((ke,Ze)=>t!==void 0?Array.isArray(t)?t.every(St=>nl.isEqual(ke[St],Ze[St])):nl.isEqual(ke[t],Ze[t]):nl.isEqual(ke,Ze),[t]),Ne=A.useMemo(()=>({content:xR,...n}),[n]),Ye=A.useMemo(()=>{const ke={};return er.keys(e).forEach(Ze=>{const St=e[Ze],jt={...Ne,...St};ke[Ze]=jt}),ke},[Ne,e]),[we,De]=nn(nl.cloneDeep(x),{"":{type:"String",placeholder:se["Search(Placeholder)"],value:""}}),[Fe,ze]=nn(nl.cloneDeep(L),void 0),[Ge,Me]=A.useState(!1),[Te,be]=A.useMemo(()=>Ge&&Fe?[Fe,ze]:[we,De],[we,Ge,De,ze,Fe]),[We,ht]=A.useState(Te),Ct=A.useMemo(()=>S?tl.applyFilteration(S,Ye,We):[],[S,Ye,We]),it=A.useMemo(()=>{for(const ke in We){const Ze=We[ke];if(Ze.value!==void 0&&Ze.value!==null&&Ze.value!=="")return!0}return!1},[We]),[Ie,Oe]=nn(K,void 0),st=A.useMemo(()=>tl.applySortation(Ct,Ye,Ie),[Ct,Ye,Ie]),vt=A.useMemo(()=>{if(M!==void 0)return tl.applySortation(M,Ye,Ie)},[M,Ye,Ie]),[wt,Et]=nn(z,{page:1,pageSize:50,pageRange:10}),xt=A.useMemo(()=>({pageSize:50,page:1,pageRange:10,...wt}),[wt]),{pagedItems:It,totalCount:je,pagination:Qe}=A.useMemo(()=>{const ke={...xt};if(vt!==void 0){let Ze=E??vt.length;const St=tl.getPages(Ze,ke.pageSize);return ke.page>St.length?ke.page=St.length:ke.page<1&&(ke.page=1),{pagedItems:vt,totalCount:Ze,pagination:ke}}else if(S!==void 0){const Ze=E??st.length,St=tl.getPages(Ze,ke.pageSize);return ke.page>St.length?ke.page=St.length:ke.page<1&&(ke.page=1),{pagedItems:tl.applyPagination(st,ke.page,ke.pageSize),totalCount:Ze,pagination:ke}}else return{pagedItems:[],totalCount:E??0,pagination:xt}},[S,vt,E,xt,st]),{pages:gt,rangedPages:Ft}=A.useMemo(()=>tl.getRangedPages(Qe.page,je,Qe.pageSize,Qe.pageRange),[je,Qe.pageSize,Qe.page,Qe.pageRange]),[bt,$e]=A.useMemo(()=>g??[],[g]),Lt=A.useMemo(()=>It.filter(ke=>bt==null?void 0:bt.some(Ze=>pe(Ze,ke))),[It,bt,pe]),Dt=A.useMemo(()=>It.filter(ke=>!(m!=null&&m(ke))),[It,m]),pr=A.useMemo(()=>Dt.length>0&&Dt.every(ke=>Lt.some(Ze=>pe(Ze,ke))),[Lt,Dt,pe]),xr=A.useMemo(()=>pr?!1:Dt.some(ke=>Lt.some(Ze=>pe(Ze,ke))),[Lt,Dt,pr,pe]),wr=A.useCallback(()=>{!bt||!$e||w||$e(pr||xr?bt.filter(ke=>!Dt.some(Ze=>pe(Ze,ke))):[...bt,...Dt])},[bt,$e,pr,xr,Dt,w,pe]),me=A.useCallback(ke=>{!bt||!$e||w||(bt.some(Ze=>pe(Ze,ke))?$e(bt.filter(Ze=>!pe(Ze,ke))):$e([...bt,ke]))},[bt,$e,w,pe]);A.useEffect(()=>{if(!$e||!bt||!m)return;bt.filter(Ze=>m(Ze)).length>0&&$e(bt.filter(Ze=>!m(Ze)))},[m,bt,$e]);const ne=A.useMemo(()=>({hContent:bt&&v.jsx(Zu,{useCheck:[pr,wr],isIndeterminate:xr}),content:ke=>{const{item:Ze}=ke,St=m==null?void 0:m(Ze),jt=typeof St=="string"?St:void 0,At=bt==null?void 0:bt.some(qt=>pe(qt,Ze));return v.jsx(Zu,{style:{zIndex:1},isDisabled:St,tooltip:jt,onClick:qt=>qt.stopPropagation(),useCheck:[At,()=>me(Ze)]})},minWidth:32,maxWidth:32}),[bt,pr,xr,pe,wr,m,me]),et=A.useMemo(()=>g?{checkDef:ne,...Ye}:Ye,[Ye,ne,g]),[ct,tt]=A.useState(!1),Le=A.useMemo(()=>R??ct,[R,ct]),pt=A.useCallback(async ke=>{_&&(tt(!0),await _(ke),tt(!1)),Et==null||Et(ke.pagination),Oe==null||Oe(ke.sortation),ht(ke.filteration)},[_,Et,Oe]);A.useEffect(()=>{if(!ce)return;const ke=St=>{const jt={entireItems:S,filteration:Te,pagination:Qe,sortation:Ie},At=St?St(jt):jt;pt(At)},Ze=St=>{const jt={...Qe,page:1},At=St?St(Te):Te;pt({entireItems:S,filteration:At,pagination:jt,sortation:Ie}),be==null||be(At)};ce.current={fireOnStateChange:ke,applyFilteration:Ze}},[ce,pt,S,be,Te,Qe,Ie]);const kt=A.useCallback(ke=>{ke.page===Qe.page&&ke.pageSize===Qe.pageSize||(ke.page<1?ke.page=1:ke.page>gt[gt.length-1]&&(ke.page=gt[gt.length-1]),pt({entireItems:S,filteration:We,pagination:ke,sortation:Ie}))},[Qe,gt,pt,S,We,Ie]),_t=A.useCallback(ke=>{be&&be(ke)},[be]),Bt=A.useCallback(ke=>{pt({entireItems:S,filteration:We,pagination:Qe,sortation:ke})},[pt,S,We,Qe]),Wt=A.useCallback(ke=>{kt({...Qe,page:ke})},[kt,Qe]),rr=A.useCallback(()=>{Wt(Qe.page-1)},[Wt,Qe.page]),Ht=A.useCallback(()=>{Wt(Qe.page+1)},[Wt,Qe.page]),$t=A.useCallback(()=>{Wt(1)},[Wt]),nr=A.useCallback(()=>{Wt(gt[gt.length-1])},[Wt,gt]),rt=A.useMemo(()=>({move:Wt,movePrev:rr,moveNext:Ht,moveFirst:$t,moveLast:nr}),[Wt,rr,Ht,$t,nr]),Tt=A.useCallback(()=>{const ke={...Qe,page:1};pt({entireItems:S,filteration:Te,pagination:ke,sortation:Ie})},[Te,Qe,pt,S,Ie]),yt=A.useCallback(()=>{Me(!Ge)},[Ge]),Mt=A.useCallback(()=>{Ge&&Fe?ze==null||ze(l0(Fe)):be==null||be(l0(we))},[Ge,Fe,ze,we,be]),vr=A.useMemo(()=>({apply:Tt,toggle:yt,clear:Mt}),[Tt,yt,Mt]);$2(()=>{de||pt({entireItems:S,filteration:Te,pagination:Qe,sortation:Ie})});const Y=A.useMemo(()=>er.map(Ye,([Ze])=>Ye[Ze].minWidth??Yl).reduce((Ze,St)=>Ze+St,0),[Ye]),Ue=A.useMemo(()=>Ae!==void 0,[Ae]);return v.jsxs($r,{className:S8.ATable,isDisabled:w,style:{minWidth:Y},children:[!J&&v.jsx(bR,{defs:Ye,title:b,totalCount:je,useCheck:g&&bt?[bt,$e]:void 0,useFilteration:[Te,_t],useSortation:[Ie,Bt],isRowRendered:Ue,hasToggleFilteration:Fe!==void 0,filterF:vr,noFilter:te,noCount:X,isFiltered:it,TopLeftAddon:ge,TopRightAddon:ye,resources:se,filterType:O,placeholder:B}),v.jsx(z8,{defs:et,isEqual:pe,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:f,isTableDisabled:w,appliedFilteration:We,useSortation:[Ie,Bt],pagination:Qe,pagedItems:It,showRows:ue,isLoading:Le,noMarking:re,noDefHeader:fe,resources:se,RowRenderer:Ae,isRowRendered:Ue,rowHeight:H}),!j&&v.jsx(Y8,{pages:gt,rangedPages:Ft,pageF:rt,pagination:Qe})]})},xR=r=>{const{defKey:e,item:t}=r;if(er.hasKey(t,e)){const n=t[e];return er.isReactNode(n)?n:null}else return null};function l0(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const SR="_AText_1asz6_1",CR={AText:SR},G2=r=>{const{text:e,styled:t,style:n}=r,i=A.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?v.jsx("b",{children:e}):v.jsx("span",{style:n,children:e});if(typeof t=="string"){const l=e.split(t);return n==="bold"?l.map((u,f)=>v.jsxs(A.Fragment,{children:[Ld(u),f<l.length-1?v.jsx("b",{children:Ld(t)}):""]},f)):l.map((u,f)=>v.jsxs(A.Fragment,{children:[Ld(u),f<l.length-1&&v.jsx("span",{style:n,children:Ld(t)})]},f))}}else return e;else return e;else return""},[e,n,t]);return v.jsx("div",{className:Be.clsx("Body1Reading",CR.AText,"NoSelect"),children:i})};function Ld(r){const e=r.split(`
|
162
|
-
`);return e.map((t,n)=>v.jsxs(A.Fragment,{children:[t,n!==e.length-1&&v.jsx("br",{})]},n))}const wR="_Base_sw5fu_7",AR="_ATextArea_sw5fu_11",TR="_Primary_sw5fu_34",ER="_UnAvailable_sw5fu_39",kR="_Secondary_sw5fu_47",RR="_ReadOnly_sw5fu_59",Md={Base:wR,ATextArea:AR,Primary:TR,UnAvailable:ER,Secondary:kR,ReadOnly:RR,Error:"_Error_sw5fu_66"},IR=["Primary","Secondary","ReadOnly","Error"],LR=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:i,useValue:l,rows:u,isReadonly:f,placeholder:g,maxLength:m,tabIndex:R,autoFocus:w,textAreaProps:b,wrapProps:S,helperText:_,label:M,wrapType:E,labelProps:x,...L}=r,O=A.useMemo(()=>MR(t)?"Error":n,[t,n]),B=A.useMemo(()=>O==="ReadOnly"?!0:f,[O,f]),H=A.useMemo(()=>L.isDisabled||L.isLoading,[L.isDisabled,L.isLoading]),[z,K]=nn(l,""),ue=A.useCallback(j=>{K&&K(j)},[K]),J=A.useCallback(j=>{var te;H||(ue(j.target.value),(te=b==null?void 0:b.onChange)==null||te.call(b,j))},[H,ue,b]),fe=A.useCallback(j=>{var te;if(!H){if((te=b==null?void 0:b.onKeyDown)==null||te.call(b,j),j.key==="Tab"){const X=j.currentTarget.selectionStart,re=j.currentTarget.selectionEnd;j.currentTarget.value=j.currentTarget.value.substring(0,X)+" "+j.currentTarget.value.substring(re),j.currentTarget.selectionStart=j.currentTarget.selectionEnd=X+1,j.preventDefault()}else j.key==="Enter"&&(e==null||e(j.currentTarget.value),j.stopPropagation());j.key!=="Escape"&&j.stopPropagation()}},[H,e,b]);return v.jsx(ec,{wrapProps:S,label:M,helperText:_,errorMessage:t,labelProps:x,wrapType:E??O==="Error"?"Error":"Default",children:v.jsx($r,{...L,className:Be.clsx(Md.Base,L.className),children:v.jsx("textarea",{...b,className:Be.clsx(Md.ATextArea,Md[O],H&&Md.UnAvailable,b==null?void 0:b.className),value:z,rows:u,readOnly:B,onChange:J,onKeyDown:fe,placeholder:g,maxLength:m,tabIndex:L.isDisabled||L.isLoading?-1:R,autoFocus:w,ref:i})})})};function MR(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var Z2=typeof global=="object"&&global&&global.Object===Object&&global,DR=typeof self=="object"&&self&&self.Object===Object&&self,Aa=Z2||DR||Function("return this")(),nc=Aa.Symbol,K2=Object.prototype,OR=K2.hasOwnProperty,PR=K2.toString,Mf=nc?nc.toStringTag:void 0;function NR(r){var e=OR.call(r,Mf),t=r[Mf];try{r[Mf]=void 0;var n=!0}catch{}var i=PR.call(r);return n&&(e?r[Mf]=t:delete r[Mf]),i}var FR=Object.prototype,jR=FR.toString;function BR(r){return jR.call(r)}var HR="[object Null]",qR="[object Undefined]",c0=nc?nc.toStringTag:void 0;function tf(r){return r==null?r===void 0?qR:HR:c0&&c0 in Object(r)?NR(r):BR(r)}function il(r){return r!=null&&typeof r=="object"}var Yc=Array.isArray;function ic(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function Y2(r){return r}var zR="[object AsyncFunction]",$R="[object Function]",UR="[object GeneratorFunction]",WR="[object Proxy]";function bm(r){if(!ic(r))return!1;var e=tf(r);return e==$R||e==UR||e==zR||e==WR}var ep=Aa["__core-js_shared__"],u0=function(){var r=/[^.]+$/.exec(ep&&ep.keys&&ep.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function VR(r){return!!u0&&u0 in r}var GR=Function.prototype,ZR=GR.toString;function eu(r){if(r!=null){try{return ZR.call(r)}catch{}try{return r+""}catch{}}return""}var KR=/[\\^$.*+?()[\]{}|]/g,YR=/^\[object .+?Constructor\]$/,XR=Function.prototype,JR=Object.prototype,QR=XR.toString,e9=JR.hasOwnProperty,t9=RegExp("^"+QR.call(e9).replace(KR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function r9(r){if(!ic(r)||VR(r))return!1;var e=bm(r)?t9:YR;return e.test(eu(r))}function n9(r,e){return r==null?void 0:r[e]}function tu(r,e){var t=n9(r,e);return r9(t)?t:void 0}var H1=tu(Aa,"WeakMap"),f0=Object.create,i9=function(){function r(){}return function(e){if(!ic(e))return{};if(f0)return f0(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function o9(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 X2(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var s9=800,a9=16,l9=Date.now;function c9(r){var e=0,t=0;return function(){var n=l9(),i=a9-(n-t);if(t=n,i>0){if(++e>=s9)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function u9(r){return function(){return r}}var Qd=function(){try{var r=tu(Object,"defineProperty");return r({},"",{}),r}catch{}}(),f9=Qd?function(r,e){return Qd(r,"toString",{configurable:!0,enumerable:!1,value:u9(e),writable:!0})}:Y2,d9=c9(f9);function h9(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var p9=9007199254740991,g9=/^(?:0|[1-9]\d*)$/;function J2(r,e){var t=typeof r;return e=e??p9,!!e&&(t=="number"||t!="symbol"&&g9.test(r))&&r>-1&&r%1==0&&r<e}function _m(r,e,t){e=="__proto__"&&Qd?Qd(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function nd(r,e){return r===e||r!==r&&e!==e}var m9=Object.prototype,v9=m9.hasOwnProperty;function Q2(r,e,t){var n=r[e];(!(v9.call(r,e)&&nd(n,t))||t===void 0&&!(e in r))&&_m(r,e,t)}function id(r,e,t,n){var i=!t;t||(t={});for(var l=-1,u=e.length;++l<u;){var f=e[l],g=void 0;g===void 0&&(g=r[f]),i?_m(t,f,g):Q2(t,f,g)}return t}var d0=Math.max;function y9(r,e,t){return e=d0(e===void 0?r.length-1:e,0),function(){for(var n=arguments,i=-1,l=d0(n.length-e,0),u=Array(l);++i<l;)u[i]=n[e+i];i=-1;for(var f=Array(e+1);++i<e;)f[i]=n[i];return f[e]=t(u),o9(r,this,f)}}function b9(r,e){return d9(y9(r,e,Y2),r+"")}var _9=9007199254740991;function ex(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=_9}function ch(r){return r!=null&&ex(r.length)&&!bm(r)}function x9(r,e,t){if(!ic(t))return!1;var n=typeof e;return(n=="number"?ch(t)&&J2(e,t.length):n=="string"&&e in t)?nd(t[e],r):!1}function S9(r){return b9(function(e,t){var n=-1,i=t.length,l=i>1?t[i-1]:void 0,u=i>2?t[2]:void 0;for(l=r.length>3&&typeof l=="function"?(i--,l):void 0,u&&x9(t[0],t[1],u)&&(l=i<3?void 0:l,i=1),e=Object(e);++n<i;){var f=t[n];f&&r(e,f,n,l)}return e})}var C9=Object.prototype;function xm(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||C9;return r===t}function w9(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var A9="[object Arguments]";function h0(r){return il(r)&&tf(r)==A9}var tx=Object.prototype,T9=tx.hasOwnProperty,E9=tx.propertyIsEnumerable,q1=h0(function(){return arguments}())?h0:function(r){return il(r)&&T9.call(r,"callee")&&!E9.call(r,"callee")};function k9(){return!1}var rx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,p0=rx&&typeof module=="object"&&module&&!module.nodeType&&module,R9=p0&&p0.exports===rx,g0=R9?Aa.Buffer:void 0,I9=g0?g0.isBuffer:void 0,Yf=I9||k9,L9="[object Arguments]",M9="[object Array]",D9="[object Boolean]",O9="[object Date]",P9="[object Error]",N9="[object Function]",F9="[object Map]",j9="[object Number]",B9="[object Object]",H9="[object RegExp]",q9="[object Set]",z9="[object String]",$9="[object WeakMap]",U9="[object ArrayBuffer]",W9="[object DataView]",V9="[object Float32Array]",G9="[object Float64Array]",Z9="[object Int8Array]",K9="[object Int16Array]",Y9="[object Int32Array]",X9="[object Uint8Array]",J9="[object Uint8ClampedArray]",Q9="[object Uint16Array]",e7="[object Uint32Array]",xn={};xn[V9]=xn[G9]=xn[Z9]=xn[K9]=xn[Y9]=xn[X9]=xn[J9]=xn[Q9]=xn[e7]=!0;xn[L9]=xn[M9]=xn[U9]=xn[D9]=xn[W9]=xn[O9]=xn[P9]=xn[N9]=xn[F9]=xn[j9]=xn[B9]=xn[H9]=xn[q9]=xn[z9]=xn[$9]=!1;function t7(r){return il(r)&&ex(r.length)&&!!xn[tf(r)]}function Sm(r){return function(e){return r(e)}}var nx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$f=nx&&typeof module=="object"&&module&&!module.nodeType&&module,r7=$f&&$f.exports===nx,tp=r7&&Z2.process,Ku=function(){try{var r=$f&&$f.require&&$f.require("util").types;return r||tp&&tp.binding&&tp.binding("util")}catch{}}(),m0=Ku&&Ku.isTypedArray,Cm=m0?Sm(m0):t7,n7=Object.prototype,i7=n7.hasOwnProperty;function ix(r,e){var t=Yc(r),n=!t&&q1(r),i=!t&&!n&&Yf(r),l=!t&&!n&&!i&&Cm(r),u=t||n||i||l,f=u?w9(r.length,String):[],g=f.length;for(var m in r)(e||i7.call(r,m))&&!(u&&(m=="length"||i&&(m=="offset"||m=="parent")||l&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||J2(m,g)))&&f.push(m);return f}function ox(r,e){return function(t){return r(e(t))}}var o7=ox(Object.keys,Object),s7=Object.prototype,a7=s7.hasOwnProperty;function l7(r){if(!xm(r))return o7(r);var e=[];for(var t in Object(r))a7.call(r,t)&&t!="constructor"&&e.push(t);return e}function wm(r){return ch(r)?ix(r):l7(r)}function c7(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var u7=Object.prototype,f7=u7.hasOwnProperty;function d7(r){if(!ic(r))return c7(r);var e=xm(r),t=[];for(var n in r)n=="constructor"&&(e||!f7.call(r,n))||t.push(n);return t}function od(r){return ch(r)?ix(r,!0):d7(r)}var Xf=tu(Object,"create");function h7(){this.__data__=Xf?Xf(null):{},this.size=0}function p7(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var g7="__lodash_hash_undefined__",m7=Object.prototype,v7=m7.hasOwnProperty;function y7(r){var e=this.__data__;if(Xf){var t=e[r];return t===g7?void 0:t}return v7.call(e,r)?e[r]:void 0}var b7=Object.prototype,_7=b7.hasOwnProperty;function x7(r){var e=this.__data__;return Xf?e[r]!==void 0:_7.call(e,r)}var S7="__lodash_hash_undefined__";function C7(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Xf&&e===void 0?S7:e,this}function Xc(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])}}Xc.prototype.clear=h7;Xc.prototype.delete=p7;Xc.prototype.get=y7;Xc.prototype.has=x7;Xc.prototype.set=C7;function w7(){this.__data__=[],this.size=0}function uh(r,e){for(var t=r.length;t--;)if(nd(r[t][0],e))return t;return-1}var A7=Array.prototype,T7=A7.splice;function E7(r){var e=this.__data__,t=uh(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():T7.call(e,t,1),--this.size,!0}function k7(r){var e=this.__data__,t=uh(e,r);return t<0?void 0:e[t][1]}function R7(r){return uh(this.__data__,r)>-1}function I7(r,e){var t=this.__data__,n=uh(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function ll(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])}}ll.prototype.clear=w7;ll.prototype.delete=E7;ll.prototype.get=k7;ll.prototype.has=R7;ll.prototype.set=I7;var Jf=tu(Aa,"Map");function L7(){this.size=0,this.__data__={hash:new Xc,map:new(Jf||ll),string:new Xc}}function M7(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function fh(r,e){var t=r.__data__;return M7(e)?t[typeof e=="string"?"string":"hash"]:t.map}function D7(r){var e=fh(this,r).delete(r);return this.size-=e?1:0,e}function O7(r){return fh(this,r).get(r)}function P7(r){return fh(this,r).has(r)}function N7(r,e){var t=fh(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function ru(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])}}ru.prototype.clear=L7;ru.prototype.delete=D7;ru.prototype.get=O7;ru.prototype.has=P7;ru.prototype.set=N7;function sx(r,e){for(var t=-1,n=e.length,i=r.length;++t<n;)r[i+t]=e[t];return r}var Am=ox(Object.getPrototypeOf,Object),F7="[object Object]",j7=Function.prototype,B7=Object.prototype,ax=j7.toString,H7=B7.hasOwnProperty,q7=ax.call(Object);function z7(r){if(!il(r)||tf(r)!=F7)return!1;var e=Am(r);if(e===null)return!0;var t=H7.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&ax.call(t)==q7}function $7(){this.__data__=new ll,this.size=0}function U7(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function W7(r){return this.__data__.get(r)}function V7(r){return this.__data__.has(r)}var G7=200;function Z7(r,e){var t=this.__data__;if(t instanceof ll){var n=t.__data__;if(!Jf||n.length<G7-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new ru(n)}return t.set(r,e),this.size=t.size,this}function _a(r){var e=this.__data__=new ll(r);this.size=e.size}_a.prototype.clear=$7;_a.prototype.delete=U7;_a.prototype.get=W7;_a.prototype.has=V7;_a.prototype.set=Z7;function K7(r,e){return r&&id(e,wm(e),r)}function Y7(r,e){return r&&id(e,od(e),r)}var lx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,v0=lx&&typeof module=="object"&&module&&!module.nodeType&&module,X7=v0&&v0.exports===lx,y0=X7?Aa.Buffer:void 0,b0=y0?y0.allocUnsafe:void 0;function cx(r,e){if(e)return r.slice();var t=r.length,n=b0?b0(t):new r.constructor(t);return r.copy(n),n}function J7(r,e){for(var t=-1,n=r==null?0:r.length,i=0,l=[];++t<n;){var u=r[t];e(u,t,r)&&(l[i++]=u)}return l}function ux(){return[]}var Q7=Object.prototype,eI=Q7.propertyIsEnumerable,_0=Object.getOwnPropertySymbols,Tm=_0?function(r){return r==null?[]:(r=Object(r),J7(_0(r),function(e){return eI.call(r,e)}))}:ux;function tI(r,e){return id(r,Tm(r),e)}var rI=Object.getOwnPropertySymbols,fx=rI?function(r){for(var e=[];r;)sx(e,Tm(r)),r=Am(r);return e}:ux;function nI(r,e){return id(r,fx(r),e)}function dx(r,e,t){var n=e(r);return Yc(r)?n:sx(n,t(r))}function z1(r){return dx(r,wm,Tm)}function iI(r){return dx(r,od,fx)}var $1=tu(Aa,"DataView"),U1=tu(Aa,"Promise"),W1=tu(Aa,"Set"),x0="[object Map]",oI="[object Object]",S0="[object Promise]",C0="[object Set]",w0="[object WeakMap]",A0="[object DataView]",sI=eu($1),aI=eu(Jf),lI=eu(U1),cI=eu(W1),uI=eu(H1),Fs=tf;($1&&Fs(new $1(new ArrayBuffer(1)))!=A0||Jf&&Fs(new Jf)!=x0||U1&&Fs(U1.resolve())!=S0||W1&&Fs(new W1)!=C0||H1&&Fs(new H1)!=w0)&&(Fs=function(r){var e=tf(r),t=e==oI?r.constructor:void 0,n=t?eu(t):"";if(n)switch(n){case sI:return A0;case aI:return x0;case lI:return S0;case cI:return C0;case uI:return w0}return e});var fI=Object.prototype,dI=fI.hasOwnProperty;function hI(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&dI.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var eh=Aa.Uint8Array;function Em(r){var e=new r.constructor(r.byteLength);return new eh(e).set(new eh(r)),e}function pI(r,e){var t=e?Em(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var gI=/\w*$/;function mI(r){var e=new r.constructor(r.source,gI.exec(r));return e.lastIndex=r.lastIndex,e}var T0=nc?nc.prototype:void 0,E0=T0?T0.valueOf:void 0;function vI(r){return E0?Object(E0.call(r)):{}}function hx(r,e){var t=e?Em(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var yI="[object Boolean]",bI="[object Date]",_I="[object Map]",xI="[object Number]",SI="[object RegExp]",CI="[object Set]",wI="[object String]",AI="[object Symbol]",TI="[object ArrayBuffer]",EI="[object DataView]",kI="[object Float32Array]",RI="[object Float64Array]",II="[object Int8Array]",LI="[object Int16Array]",MI="[object Int32Array]",DI="[object Uint8Array]",OI="[object Uint8ClampedArray]",PI="[object Uint16Array]",NI="[object Uint32Array]";function FI(r,e,t){var n=r.constructor;switch(e){case TI:return Em(r);case yI:case bI:return new n(+r);case EI:return pI(r,t);case kI:case RI:case II:case LI:case MI:case DI:case OI:case PI:case NI:return hx(r,t);case _I:return new n;case xI:case wI:return new n(r);case SI:return mI(r);case CI:return new n;case AI:return vI(r)}}function px(r){return typeof r.constructor=="function"&&!xm(r)?i9(Am(r)):{}}var jI="[object Map]";function BI(r){return il(r)&&Fs(r)==jI}var k0=Ku&&Ku.isMap,HI=k0?Sm(k0):BI,qI="[object Set]";function zI(r){return il(r)&&Fs(r)==qI}var R0=Ku&&Ku.isSet,$I=R0?Sm(R0):zI,UI=1,WI=2,VI=4,gx="[object Arguments]",GI="[object Array]",ZI="[object Boolean]",KI="[object Date]",YI="[object Error]",mx="[object Function]",XI="[object GeneratorFunction]",JI="[object Map]",QI="[object Number]",vx="[object Object]",eL="[object RegExp]",tL="[object Set]",rL="[object String]",nL="[object Symbol]",iL="[object WeakMap]",oL="[object ArrayBuffer]",sL="[object DataView]",aL="[object Float32Array]",lL="[object Float64Array]",cL="[object Int8Array]",uL="[object Int16Array]",fL="[object Int32Array]",dL="[object Uint8Array]",hL="[object Uint8ClampedArray]",pL="[object Uint16Array]",gL="[object Uint32Array]",gn={};gn[gx]=gn[GI]=gn[oL]=gn[sL]=gn[ZI]=gn[KI]=gn[aL]=gn[lL]=gn[cL]=gn[uL]=gn[fL]=gn[JI]=gn[QI]=gn[vx]=gn[eL]=gn[tL]=gn[rL]=gn[nL]=gn[dL]=gn[hL]=gn[pL]=gn[gL]=!0;gn[YI]=gn[mx]=gn[iL]=!1;function Ud(r,e,t,n,i,l){var u,f=e&UI,g=e&WI,m=e&VI;if(u!==void 0)return u;if(!ic(r))return r;var R=Yc(r);if(R){if(u=hI(r),!f)return X2(r,u)}else{var w=Fs(r),b=w==mx||w==XI;if(Yf(r))return cx(r,f);if(w==vx||w==gx||b&&!i){if(u=g||b?{}:px(r),!f)return g?nI(r,Y7(u,r)):tI(r,K7(u,r))}else{if(!gn[w])return i?r:{};u=FI(r,w,f)}}l||(l=new _a);var S=l.get(r);if(S)return S;l.set(r,u),$I(r)?r.forEach(function(E){u.add(Ud(E,e,t,E,r,l))}):HI(r)&&r.forEach(function(E,x){u.set(x,Ud(E,e,t,x,r,l))});var _=m?g?iI:z1:g?od:wm,M=R?void 0:_(r);return h9(M||r,function(E,x){M&&(x=E,E=r[x]),Q2(u,x,Ud(E,e,t,x,r,l))}),u}var mL=1,vL=4;function Uu(r){return Ud(r,mL|vL)}var yL="__lodash_hash_undefined__";function bL(r){return this.__data__.set(r,yL),this}function _L(r){return this.__data__.has(r)}function th(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new ru;++e<t;)this.add(r[e])}th.prototype.add=th.prototype.push=bL;th.prototype.has=_L;function xL(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 SL(r,e){return r.has(e)}var CL=1,wL=2;function yx(r,e,t,n,i,l){var u=t&CL,f=r.length,g=e.length;if(f!=g&&!(u&&g>f))return!1;var m=l.get(r),R=l.get(e);if(m&&R)return m==e&&R==r;var w=-1,b=!0,S=t&wL?new th:void 0;for(l.set(r,e),l.set(e,r);++w<f;){var _=r[w],M=e[w];if(n)var E=u?n(M,_,w,e,r,l):n(_,M,w,r,e,l);if(E!==void 0){if(E)continue;b=!1;break}if(S){if(!xL(e,function(x,L){if(!SL(S,L)&&(_===x||i(_,x,t,n,l)))return S.push(L)})){b=!1;break}}else if(!(_===M||i(_,M,t,n,l))){b=!1;break}}return l.delete(r),l.delete(e),b}function AL(r){var e=-1,t=Array(r.size);return r.forEach(function(n,i){t[++e]=[i,n]}),t}function TL(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var EL=1,kL=2,RL="[object Boolean]",IL="[object Date]",LL="[object Error]",ML="[object Map]",DL="[object Number]",OL="[object RegExp]",PL="[object Set]",NL="[object String]",FL="[object Symbol]",jL="[object ArrayBuffer]",BL="[object DataView]",I0=nc?nc.prototype:void 0,rp=I0?I0.valueOf:void 0;function HL(r,e,t,n,i,l,u){switch(t){case BL:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case jL:return!(r.byteLength!=e.byteLength||!l(new eh(r),new eh(e)));case RL:case IL:case DL:return nd(+r,+e);case LL:return r.name==e.name&&r.message==e.message;case OL:case NL:return r==e+"";case ML:var f=AL;case PL:var g=n&EL;if(f||(f=TL),r.size!=e.size&&!g)return!1;var m=u.get(r);if(m)return m==e;n|=kL,u.set(r,e);var R=yx(f(r),f(e),n,i,l,u);return u.delete(r),R;case FL:if(rp)return rp.call(r)==rp.call(e)}return!1}var qL=1,zL=Object.prototype,$L=zL.hasOwnProperty;function UL(r,e,t,n,i,l){var u=t&qL,f=z1(r),g=f.length,m=z1(e),R=m.length;if(g!=R&&!u)return!1;for(var w=g;w--;){var b=f[w];if(!(u?b in e:$L.call(e,b)))return!1}var S=l.get(r),_=l.get(e);if(S&&_)return S==e&&_==r;var M=!0;l.set(r,e),l.set(e,r);for(var E=u;++w<g;){b=f[w];var x=r[b],L=e[b];if(n)var O=u?n(L,x,b,e,r,l):n(x,L,b,r,e,l);if(!(O===void 0?x===L||i(x,L,t,n,l):O)){M=!1;break}E||(E=b=="constructor")}if(M&&!E){var B=r.constructor,H=e.constructor;B!=H&&"constructor"in r&&"constructor"in e&&!(typeof B=="function"&&B instanceof B&&typeof H=="function"&&H instanceof H)&&(M=!1)}return l.delete(r),l.delete(e),M}var WL=1,L0="[object Arguments]",M0="[object Array]",Dd="[object Object]",VL=Object.prototype,D0=VL.hasOwnProperty;function GL(r,e,t,n,i,l){var u=Yc(r),f=Yc(e),g=u?M0:Fs(r),m=f?M0:Fs(e);g=g==L0?Dd:g,m=m==L0?Dd:m;var R=g==Dd,w=m==Dd,b=g==m;if(b&&Yf(r)){if(!Yf(e))return!1;u=!0,R=!1}if(b&&!R)return l||(l=new _a),u||Cm(r)?yx(r,e,t,n,i,l):HL(r,e,g,t,n,i,l);if(!(t&WL)){var S=R&&D0.call(r,"__wrapped__"),_=w&&D0.call(e,"__wrapped__");if(S||_){var M=S?r.value():r,E=_?e.value():e;return l||(l=new _a),i(M,E,t,n,l)}}return b?(l||(l=new _a),UL(r,e,t,n,i,l)):!1}function bx(r,e,t,n,i){return r===e?!0:r==null||e==null||!il(r)&&!il(e)?r!==r&&e!==e:GL(r,e,t,n,bx,i)}function ZL(r){return function(e,t,n){for(var i=-1,l=Object(e),u=n(e),f=u.length;f--;){var g=u[++i];if(t(l[g],g,l)===!1)break}return e}}var KL=ZL();function V1(r,e,t){(t!==void 0&&!nd(r[e],t)||t===void 0&&!(e in r))&&_m(r,e,t)}function YL(r){return il(r)&&ch(r)}function G1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function XL(r){return id(r,od(r))}function JL(r,e,t,n,i,l,u){var f=G1(r,t),g=G1(e,t),m=u.get(g);if(m){V1(r,t,m);return}var R=l?l(f,g,t+"",r,e,u):void 0,w=R===void 0;if(w){var b=Yc(g),S=!b&&Yf(g),_=!b&&!S&&Cm(g);R=g,b||S||_?Yc(f)?R=f:YL(f)?R=X2(f):S?(w=!1,R=cx(g,!0)):_?(w=!1,R=hx(g,!0)):R=[]:z7(g)||q1(g)?(R=f,q1(f)?R=XL(f):(!ic(f)||bm(f))&&(R=px(g))):w=!1}w&&(u.set(g,R),i(R,g,n,l,u),u.delete(g)),V1(r,t,R)}function _x(r,e,t,n,i){r!==e&&KL(e,function(l,u){if(i||(i=new _a),ic(l))JL(r,e,u,t,_x,n,i);else{var f=n?n(G1(r,u),l,u+"",r,e,i):void 0;f===void 0&&(f=l),V1(r,u,f)}},od)}function km(r,e){return bx(r,e)}var Ql=S9(function(r,e,t){_x(r,e,t)}),Qt=(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))(Qt||{});class Ca{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const i=Qt.TYPE&Qt.ATTRIBUTE;this.scope=n.scope!=null?n.scope&Qt.LEVEL|i:Qt.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 Wu extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const xx=class Z1{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 i=this.query(t);if(i==null)throw new Wu(`Unable to create ${t} blot`);const l=i,u=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:l.create(n),f=new l(e,u,n);return Z1.blots.set(f.domNode,f),f}find(e,t=!1){return Z1.find(e,t)}query(e,t=Qt.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&Qt.LEVEL&Qt.BLOCK?n=this.types.block:e&Qt.LEVEL&Qt.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(i=>(n=this.classes[i],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&Qt.LEVEL&n.scope&&t&Qt.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,i="attrName"in t;if(!n&&!i)throw new Wu("Invalid definition");if(n&&t.blotName==="abstract")throw new Wu("Cannot register abstract class");const l=n?t.blotName:i?t.attrName:void 0;return this.types[l]=t,i?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(u=>u.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(u=>{(this.tags[u]==null||t.className==null)&&(this.tags[u]=t)}))),t})}};xx.blots=new WeakMap;let Yu=xx;function O0(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class QL extends Ca{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){O0(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(O0(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const Us=QL;function np(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class eM extends Ca{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[np(this.keyName)]=t,!0):!1}remove(e){e.style[np(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[np(this.keyName)];return this.canAdd(e,t)?t:""}}const oc=eM;class tM{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=Yu.find(this.domNode);if(e==null)return;const t=Ca.keys(this.domNode),n=Us.keys(this.domNode),i=oc.keys(this.domNode);t.concat(n).concat(i).forEach(l=>{const u=e.scroll.query(l,Qt.ATTRIBUTE);u instanceof Ca&&(this.attributes[u.attrName]=u)})}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 dh=tM,Sx=class{constructor(e,t){this.scroll=e,this.domNode=t,Yu.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new Wu("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),Yu.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,i){const l=this.isolate(e,t);if(this.scroll.query(n,Qt.BLOT)!=null&&i)l.wrap(n,i);else if(this.scroll.query(n,Qt.ATTRIBUTE)!=null){const u=this.scroll.create(this.statics.scope);l.wrap(u),u.format(n,i)}}insertAt(e,t,n){const i=n==null?this.scroll.create("text",t):this.scroll.create(t,n),l=this.split(e);this.parent.insertBefore(i,l||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 Wu(`Cannot wrap ${e}`);return n.appendChild(this),n}};Sx.blotName="abstract";let Cx=Sx;const wx=class extends Cx{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}}};wx.scope=Qt.INLINE_BLOT;let rM=wx;const qi=rM;class nM{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(),i=0;for(;n;){if(n===e)return i;i+=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 i=n();for(;i;){const l=i.length();if(e<l||t&&e===l&&(i.next==null||i.next.length()!==0))return[i,e];e-=l,i=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[i,l]=this.find(e);let u=e-l;const f=this.iterator(i);let g=f();for(;g&&u<e+t;){const m=g.length();e>u?n(g,e-u,Math.min(t,u+m-e)):n(g,0,Math.min(m,e+t-u)),u+=m,g=f()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let i=n();for(;i;)t=e(t,i),i=n();return t}}function P0(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(Qt.INLINE);return Array.from(r.childNodes).forEach(i=>{n.domNode.appendChild(i)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const Ax=class Kl extends Cx{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,Kl.uiClass&&this.uiNode.classList.add(Kl.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new nM,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=P0(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof Wu)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,i,l)=>{n.deleteAt(i,l)})}descendant(e,t=0){const[n,i]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,i]:n instanceof Kl?n.descendant(e,i):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let i=[],l=n;return this.children.forEachAt(t,n,(u,f,g)=>{(e.blotName==null&&e(u)||e.blotName!=null&&u instanceof e)&&i.push(u),u instanceof Kl&&(i=i.concat(u.descendants(e,f,l))),l-=g}),i}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===Qt.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof Kl?t.unwrap():t.remove())})}formatAt(e,t,n,i){this.children.forEachAt(e,t,(l,u,f)=>{l.formatAt(u,f,n,i)})}insertAt(e,t,n){const[i,l]=this.children.find(e);if(i)i.insertAt(l,t,n);else{const u=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(u)}}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,i]=this.children.find(e,t),l=[[this,e]];return n instanceof Kl?l.concat(n.path(i,t)):(n!=null&&l.push([n,i]),l)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof Kl&&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(),(i,l,u)=>{const f=i.split(l,t);f!=null&&n.appendChild(f)}),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=[],i=[];e.forEach(l=>{l.target===this.domNode&&l.type==="childList"&&(n.push(...l.addedNodes),i.push(...l.removedNodes))}),i.forEach(l=>{if(l.parentNode!=null&&l.tagName!=="IFRAME"&&document.body.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const u=this.scroll.find(l);u!=null&&(u.domNode.parentNode==null||u.domNode.parentNode===this.domNode)&&u.detach()}),n.filter(l=>l.parentNode===this.domNode&&l!==this.uiNode).sort((l,u)=>l===u?0:l.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(l=>{let u=null;l.nextSibling!=null&&(u=this.scroll.find(l.nextSibling));const f=P0(l,this.scroll);(f.next!==u||f.next==null)&&(f.parent!=null&&f.parent.removeChild(this),this.insertBefore(f,u||void 0))}),this.enforceAllowedChildren()}};Ax.uiClass="";let iM=Ax;const qs=iM;function oM(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 Pu=class Nu extends qs{static create(e){return super.create(e)}static formats(e,t){const n=t.query(Nu.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 dh(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof Nu||(n=n.wrap(Nu.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,Qt.INLINE);if(n==null)return;n instanceof Ca?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,i){this.formats()[n]!=null||this.scroll.query(n,Qt.ATTRIBUTE)?this.isolate(e,t).format(n,i):super.formatAt(e,t,n,i)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof Nu&&n.prev===this&&oM(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 Nu&&this.attributes.move(n),n}};Pu.allowedChildren=[Pu,qi],Pu.blotName="inline",Pu.scope=Qt.INLINE_BLOT,Pu.tagName="SPAN";let sM=Pu;const Rm=sM,Fu=class K1 extends qs{static create(e){return super.create(e)}static formats(e,t){const n=t.query(K1.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 dh(this.domNode)}format(e,t){const n=this.scroll.query(e,Qt.BLOCK);n!=null&&(n instanceof Ca?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(K1.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,i){this.scroll.query(n,Qt.BLOCK)!=null?this.format(n,i):super.formatAt(e,t,n,i)}insertAt(e,t,n){if(n==null||this.scroll.query(t,Qt.INLINE)!=null)super.insertAt(e,t,n);else{const i=this.split(e);if(i!=null){const l=this.scroll.create(t,n);i.parent.insertBefore(l,i)}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()}};Fu.blotName="block",Fu.scope=Qt.BLOCK_BLOT,Fu.tagName="P",Fu.allowedChildren=[Rm,Fu,qi];let aM=Fu;const Qf=aM,Y1=class extends qs{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,i){super.formatAt(e,t,n,i),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())}};Y1.blotName="container",Y1.scope=Qt.BLOCK_BLOT;let lM=Y1;const hh=lM;class cM extends qi{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,i){e===0&&t===this.length()?this.format(n,i):super.formatAt(e,t,n,i)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const zo=cM,uM={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},fM=100,ju=class extends qs{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,uM),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=Qt.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,i){this.update(),super.formatAt(e,t,n,i)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let i=Array.from(this.observer.takeRecords());for(;i.length>0;)e.push(i.pop());const l=(g,m=!0)=>{g==null||g===this||g.domNode.parentNode!=null&&(n.has(g.domNode)||n.set(g.domNode,[]),m&&l(g.parent))},u=g=>{n.has(g.domNode)&&(g instanceof qs&&g.children.forEach(u),n.delete(g.domNode),g.optimize(t))};let f=e;for(let g=0;f.length>0;g+=1){if(g>=fM)throw new Error("[Parchment] Maximum optimize iterations reached");for(f.forEach(m=>{const R=this.find(m.target,!0);R!=null&&(R.domNode===m.target&&(m.type==="childList"?(l(this.find(m.previousSibling,!1)),Array.from(m.addedNodes).forEach(w=>{const b=this.find(w,!1);l(b,!1),b instanceof qs&&b.children.forEach(S=>{l(S,!1)})})):m.type==="attributes"&&l(R.prev)),l(R))}),this.children.forEach(u),f=Array.from(this.observer.takeRecords()),i=f.slice();i.length>0;)e.push(i.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(i=>{const l=this.find(i.target,!0);return l==null?null:n.has(l.domNode)?(n.get(l.domNode).push(i),null):(n.set(l.domNode,[i]),l)}).forEach(i=>{i!=null&&i!==this&&n.has(i.domNode)&&i.update(n.get(i.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};ju.blotName="scroll",ju.defaultChild=Qf,ju.allowedChildren=[Qf,hh],ju.scope=Qt.BLOCK_BLOT,ju.tagName="DIV";let dM=ju;const Im=dM,X1=class Tx extends qi{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 Tx&&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}};X1.blotName="text",X1.scope=Qt.INLINE_BLOT;let hM=X1;const rh=hM,pM=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Ca,AttributorStore:dh,BlockBlot:Qf,ClassAttributor:Us,ContainerBlot:hh,EmbedBlot:zo,InlineBlot:Rm,LeafBlot:qi,ParentBlot:qs,Registry:Yu,Scope:Qt,ScrollBlot:Im,StyleAttributor:oc,TextBlot:rh},Symbol.toStringTag,{value:"Module"}));var Od={exports:{}},ip,N0;function gM(){if(N0)return ip;N0=1;var r=-1,e=1,t=0;function n(j,te,X,re,de){if(j===te)return j?[[t,j]]:[];if(X!=null){var ge=J(j,te,X);if(ge)return ge}var ye=f(j,te),ce=j.substring(0,ye);j=j.substring(ye),te=te.substring(ye),ye=m(j,te);var Ae=j.substring(j.length-ye);j=j.substring(0,j.length-ye),te=te.substring(0,te.length-ye);var le=i(j,te);return ce&&le.unshift([t,ce]),Ae&&le.push([t,Ae]),L(le,de),re&&w(le),le}function i(j,te){var X;if(!j)return[[e,te]];if(!te)return[[r,j]];var re=j.length>te.length?j:te,de=j.length>te.length?te:j,ge=re.indexOf(de);if(ge!==-1)return X=[[e,re.substring(0,ge)],[t,de],[e,re.substring(ge+de.length)]],j.length>te.length&&(X[0][0]=X[2][0]=r),X;if(de.length===1)return[[r,j],[e,te]];var ye=R(j,te);if(ye){var ce=ye[0],Ae=ye[1],le=ye[2],se=ye[3],pe=ye[4],Ne=n(ce,le),Ye=n(Ae,se);return Ne.concat([[t,pe]],Ye)}return l(j,te)}function l(j,te){for(var X=j.length,re=te.length,de=Math.ceil((X+re)/2),ge=de,ye=2*de,ce=new Array(ye),Ae=new Array(ye),le=0;le<ye;le++)ce[le]=-1,Ae[le]=-1;ce[ge+1]=0,Ae[ge+1]=0;for(var se=X-re,pe=se%2!==0,Ne=0,Ye=0,we=0,De=0,Fe=0;Fe<de;Fe++){for(var ze=-Fe+Ne;ze<=Fe-Ye;ze+=2){var Ge=ge+ze,Me;ze===-Fe||ze!==Fe&&ce[Ge-1]<ce[Ge+1]?Me=ce[Ge+1]:Me=ce[Ge-1]+1;for(var Te=Me-ze;Me<X&&Te<re&&j.charAt(Me)===te.charAt(Te);)Me++,Te++;if(ce[Ge]=Me,Me>X)Ye+=2;else if(Te>re)Ne+=2;else if(pe){var be=ge+se-ze;if(be>=0&&be<ye&&Ae[be]!==-1){var We=X-Ae[be];if(Me>=We)return u(j,te,Me,Te)}}}for(var ht=-Fe+we;ht<=Fe-De;ht+=2){var be=ge+ht,We;ht===-Fe||ht!==Fe&&Ae[be-1]<Ae[be+1]?We=Ae[be+1]:We=Ae[be-1]+1;for(var Ct=We-ht;We<X&&Ct<re&&j.charAt(X-We-1)===te.charAt(re-Ct-1);)We++,Ct++;if(Ae[be]=We,We>X)De+=2;else if(Ct>re)we+=2;else if(!pe){var Ge=ge+se-ht;if(Ge>=0&&Ge<ye&&ce[Ge]!==-1){var Me=ce[Ge],Te=ge+Me-Ge;if(We=X-We,Me>=We)return u(j,te,Me,Te)}}}}return[[r,j],[e,te]]}function u(j,te,X,re){var de=j.substring(0,X),ge=te.substring(0,re),ye=j.substring(X),ce=te.substring(re),Ae=n(de,ge),le=n(ye,ce);return Ae.concat(le)}function f(j,te){if(!j||!te||j.charAt(0)!==te.charAt(0))return 0;for(var X=0,re=Math.min(j.length,te.length),de=re,ge=0;X<de;)j.substring(ge,de)==te.substring(ge,de)?(X=de,ge=X):re=de,de=Math.floor((re-X)/2+X);return O(j.charCodeAt(de-1))&&de--,de}function g(j,te){var X=j.length,re=te.length;if(X==0||re==0)return 0;X>re?j=j.substring(X-re):X<re&&(te=te.substring(0,X));var de=Math.min(X,re);if(j==te)return de;for(var ge=0,ye=1;;){var ce=j.substring(de-ye),Ae=te.indexOf(ce);if(Ae==-1)return ge;ye+=Ae,(Ae==0||j.substring(de-ye)==te.substring(0,ye))&&(ge=ye,ye++)}}function m(j,te){if(!j||!te||j.slice(-1)!==te.slice(-1))return 0;for(var X=0,re=Math.min(j.length,te.length),de=re,ge=0;X<de;)j.substring(j.length-de,j.length-ge)==te.substring(te.length-de,te.length-ge)?(X=de,ge=X):re=de,de=Math.floor((re-X)/2+X);return B(j.charCodeAt(j.length-de))&&de--,de}function R(j,te){var X=j.length>te.length?j:te,re=j.length>te.length?te:j;if(X.length<4||re.length*2<X.length)return null;function de(Ye,we,De){for(var Fe=Ye.substring(De,De+Math.floor(Ye.length/4)),ze=-1,Ge="",Me,Te,be,We;(ze=we.indexOf(Fe,ze+1))!==-1;){var ht=f(Ye.substring(De),we.substring(ze)),Ct=m(Ye.substring(0,De),we.substring(0,ze));Ge.length<Ct+ht&&(Ge=we.substring(ze-Ct,ze)+we.substring(ze,ze+ht),Me=Ye.substring(0,De-Ct),Te=Ye.substring(De+ht),be=we.substring(0,ze-Ct),We=we.substring(ze+ht))}return Ge.length*2>=Ye.length?[Me,Te,be,We,Ge]:null}var ge=de(X,re,Math.ceil(X.length/4)),ye=de(X,re,Math.ceil(X.length/2)),ce;if(!ge&&!ye)return null;ye?ge?ce=ge[4].length>ye[4].length?ge:ye:ce=ye:ce=ge;var Ae,le,se,pe;j.length>te.length?(Ae=ce[0],le=ce[1],se=ce[2],pe=ce[3]):(se=ce[0],pe=ce[1],Ae=ce[2],le=ce[3]);var Ne=ce[4];return[Ae,le,se,pe,Ne]}function w(j){for(var te=!1,X=[],re=0,de=null,ge=0,ye=0,ce=0,Ae=0,le=0;ge<j.length;)j[ge][0]==t?(X[re++]=ge,ye=Ae,ce=le,Ae=0,le=0,de=j[ge][1]):(j[ge][0]==e?Ae+=j[ge][1].length:le+=j[ge][1].length,de&&de.length<=Math.max(ye,ce)&&de.length<=Math.max(Ae,le)&&(j.splice(X[re-1],0,[r,de]),j[X[re-1]+1][0]=e,re--,re--,ge=re>0?X[re-1]:-1,ye=0,ce=0,Ae=0,le=0,de=null,te=!0)),ge++;for(te&&L(j),x(j),ge=1;ge<j.length;){if(j[ge-1][0]==r&&j[ge][0]==e){var se=j[ge-1][1],pe=j[ge][1],Ne=g(se,pe),Ye=g(pe,se);Ne>=Ye?(Ne>=se.length/2||Ne>=pe.length/2)&&(j.splice(ge,0,[t,pe.substring(0,Ne)]),j[ge-1][1]=se.substring(0,se.length-Ne),j[ge+1][1]=pe.substring(Ne),ge++):(Ye>=se.length/2||Ye>=pe.length/2)&&(j.splice(ge,0,[t,se.substring(0,Ye)]),j[ge-1][0]=e,j[ge-1][1]=pe.substring(0,pe.length-Ye),j[ge+1][0]=r,j[ge+1][1]=se.substring(Ye),ge++),ge++}ge++}}var b=/[^a-zA-Z0-9]/,S=/\s/,_=/[\r\n]/,M=/\n\r?\n$/,E=/^\r?\n\r?\n/;function x(j){function te(Ye,we){if(!Ye||!we)return 6;var De=Ye.charAt(Ye.length-1),Fe=we.charAt(0),ze=De.match(b),Ge=Fe.match(b),Me=ze&&De.match(S),Te=Ge&&Fe.match(S),be=Me&&De.match(_),We=Te&&Fe.match(_),ht=be&&Ye.match(M),Ct=We&&we.match(E);return ht||Ct?5:be||We?4:ze&&!Me&&Te?3:Me||Te?2:ze||Ge?1:0}for(var X=1;X<j.length-1;){if(j[X-1][0]==t&&j[X+1][0]==t){var re=j[X-1][1],de=j[X][1],ge=j[X+1][1],ye=m(re,de);if(ye){var ce=de.substring(de.length-ye);re=re.substring(0,re.length-ye),de=ce+de.substring(0,de.length-ye),ge=ce+ge}for(var Ae=re,le=de,se=ge,pe=te(re,de)+te(de,ge);de.charAt(0)===ge.charAt(0);){re+=de.charAt(0),de=de.substring(1)+ge.charAt(0),ge=ge.substring(1);var Ne=te(re,de)+te(de,ge);Ne>=pe&&(pe=Ne,Ae=re,le=de,se=ge)}j[X-1][1]!=Ae&&(Ae?j[X-1][1]=Ae:(j.splice(X-1,1),X--),j[X][1]=le,se?j[X+1][1]=se:(j.splice(X+1,1),X--))}X++}}function L(j,te){j.push([t,""]);for(var X=0,re=0,de=0,ge="",ye="",ce;X<j.length;){if(X<j.length-1&&!j[X][1]){j.splice(X,1);continue}switch(j[X][0]){case e:de++,ye+=j[X][1],X++;break;case r:re++,ge+=j[X][1],X++;break;case t:var Ae=X-de-re-1;if(te){if(Ae>=0&&z(j[Ae][1])){var le=j[Ae][1].slice(-1);if(j[Ae][1]=j[Ae][1].slice(0,-1),ge=le+ge,ye=le+ye,!j[Ae][1]){j.splice(Ae,1),X--;var se=Ae-1;j[se]&&j[se][0]===e&&(de++,ye=j[se][1]+ye,se--),j[se]&&j[se][0]===r&&(re++,ge=j[se][1]+ge,se--),Ae=se}}if(H(j[X][1])){var le=j[X][1].charAt(0);j[X][1]=j[X][1].slice(1),ge+=le,ye+=le}}if(X<j.length-1&&!j[X][1]){j.splice(X,1);break}if(ge.length>0||ye.length>0){ge.length>0&&ye.length>0&&(ce=f(ye,ge),ce!==0&&(Ae>=0?j[Ae][1]+=ye.substring(0,ce):(j.splice(0,0,[t,ye.substring(0,ce)]),X++),ye=ye.substring(ce),ge=ge.substring(ce)),ce=m(ye,ge),ce!==0&&(j[X][1]=ye.substring(ye.length-ce)+j[X][1],ye=ye.substring(0,ye.length-ce),ge=ge.substring(0,ge.length-ce)));var pe=de+re;ge.length===0&&ye.length===0?(j.splice(X-pe,pe),X=X-pe):ge.length===0?(j.splice(X-pe,pe,[e,ye]),X=X-pe+1):ye.length===0?(j.splice(X-pe,pe,[r,ge]),X=X-pe+1):(j.splice(X-pe,pe,[r,ge],[e,ye]),X=X-pe+2)}X!==0&&j[X-1][0]===t?(j[X-1][1]+=j[X][1],j.splice(X,1)):X++,de=0,re=0,ge="",ye="";break}}j[j.length-1][1]===""&&j.pop();var Ne=!1;for(X=1;X<j.length-1;)j[X-1][0]===t&&j[X+1][0]===t&&(j[X][1].substring(j[X][1].length-j[X-1][1].length)===j[X-1][1]?(j[X][1]=j[X-1][1]+j[X][1].substring(0,j[X][1].length-j[X-1][1].length),j[X+1][1]=j[X-1][1]+j[X+1][1],j.splice(X-1,1),Ne=!0):j[X][1].substring(0,j[X+1][1].length)==j[X+1][1]&&(j[X-1][1]+=j[X+1][1],j[X][1]=j[X][1].substring(j[X+1][1].length)+j[X+1][1],j.splice(X+1,1),Ne=!0)),X++;Ne&&L(j,te)}function O(j){return j>=55296&&j<=56319}function B(j){return j>=56320&&j<=57343}function H(j){return B(j.charCodeAt(0))}function z(j){return O(j.charCodeAt(j.length-1))}function K(j){for(var te=[],X=0;X<j.length;X++)j[X][1].length>0&&te.push(j[X]);return te}function ue(j,te,X,re){return z(j)||H(re)?null:K([[t,j],[r,te],[e,X],[t,re]])}function J(j,te,X){var re=typeof X=="number"?{index:X,length:0}:X.oldRange,de=typeof X=="number"?null:X.newRange,ge=j.length,ye=te.length;if(re.length===0&&(de===null||de.length===0)){var ce=re.index,Ae=j.slice(0,ce),le=j.slice(ce),se=de?de.index:null;e:{var pe=ce+ye-ge;if(se!==null&&se!==pe||pe<0||pe>ye)break e;var Ne=te.slice(0,pe),Ye=te.slice(pe);if(Ye!==le)break e;var we=Math.min(ce,pe),De=Ae.slice(0,we),Fe=Ne.slice(0,we);if(De!==Fe)break e;var ze=Ae.slice(we),Ge=Ne.slice(we);return ue(De,ze,Ge,le)}e:{if(se!==null&&se!==ce)break e;var Me=ce,Ne=te.slice(0,Me),Ye=te.slice(Me);if(Ne!==Ae)break e;var Te=Math.min(ge-Me,ye-Me),be=le.slice(le.length-Te),We=Ye.slice(Ye.length-Te);if(be!==We)break e;var ze=le.slice(0,le.length-Te),Ge=Ye.slice(0,Ye.length-Te);return ue(Ae,ze,Ge,be)}}if(re.length>0&&de&&de.length===0)e:{var De=j.slice(0,re.index),be=j.slice(re.index+re.length),we=De.length,Te=be.length;if(ye<we+Te)break e;var Fe=te.slice(0,we),We=te.slice(ye-Te);if(De!==Fe||be!==We)break e;var ze=j.slice(we,ge-Te),Ge=te.slice(we,ye-Te);return ue(De,ze,Ge,be)}return null}function fe(j,te,X,re){return n(j,te,X,re,!0)}return fe.INSERT=e,fe.DELETE=r,fe.EQUAL=t,ip=fe,ip}var jf={exports:{}};jf.exports;var F0;function Ex(){return F0||(F0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=9007199254740991,l="[object Arguments]",u="[object Array]",f="[object Boolean]",g="[object Date]",m="[object Error]",R="[object Function]",w="[object GeneratorFunction]",b="[object Map]",S="[object Number]",_="[object Object]",M="[object Promise]",E="[object RegExp]",x="[object Set]",L="[object String]",O="[object Symbol]",B="[object WeakMap]",H="[object ArrayBuffer]",z="[object DataView]",K="[object Float32Array]",ue="[object Float64Array]",J="[object Int8Array]",fe="[object Int16Array]",j="[object Int32Array]",te="[object Uint8Array]",X="[object Uint8ClampedArray]",re="[object Uint16Array]",de="[object Uint32Array]",ge=/[\\^$.*+?()[\]{}|]/g,ye=/\w*$/,ce=/^\[object .+?Constructor\]$/,Ae=/^(?:0|[1-9]\d*)$/,le={};le[l]=le[u]=le[H]=le[z]=le[f]=le[g]=le[K]=le[ue]=le[J]=le[fe]=le[j]=le[b]=le[S]=le[_]=le[E]=le[x]=le[L]=le[O]=le[te]=le[X]=le[re]=le[de]=!0,le[m]=le[R]=le[B]=!1;var se=typeof bi=="object"&&bi&&bi.Object===Object&&bi,pe=typeof self=="object"&&self&&self.Object===Object&&self,Ne=se||pe||Function("return this")(),Ye=e&&!e.nodeType&&e,we=Ye&&!0&&r&&!r.nodeType&&r,De=we&&we.exports===Ye;function Fe(I,G){return I.set(G[0],G[1]),I}function ze(I,G){return I.add(G),I}function Ge(I,G){for(var ae=-1,qe=I?I.length:0;++ae<qe&&G(I[ae],ae,I)!==!1;);return I}function Me(I,G){for(var ae=-1,qe=G.length,Xt=I.length;++ae<qe;)I[Xt+ae]=G[ae];return I}function Te(I,G,ae,qe){for(var Xt=-1,Gt=I?I.length:0;++Xt<Gt;)ae=G(ae,I[Xt],Xt,I);return ae}function be(I,G){for(var ae=-1,qe=Array(I);++ae<I;)qe[ae]=G(ae);return qe}function We(I,G){return I==null?void 0:I[G]}function ht(I){var G=!1;if(I!=null&&typeof I.toString!="function")try{G=!!(I+"")}catch{}return G}function Ct(I){var G=-1,ae=Array(I.size);return I.forEach(function(qe,Xt){ae[++G]=[Xt,qe]}),ae}function it(I,G){return function(ae){return I(G(ae))}}function Ie(I){var G=-1,ae=Array(I.size);return I.forEach(function(qe){ae[++G]=qe}),ae}var Oe=Array.prototype,st=Function.prototype,vt=Object.prototype,wt=Ne["__core-js_shared__"],Et=function(){var I=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),xt=st.toString,It=vt.hasOwnProperty,je=vt.toString,Qe=RegExp("^"+xt.call(It).replace(ge,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gt=De?Ne.Buffer:void 0,Ft=Ne.Symbol,bt=Ne.Uint8Array,$e=it(Object.getPrototypeOf,Object),Lt=Object.create,Dt=vt.propertyIsEnumerable,pr=Oe.splice,xr=Object.getOwnPropertySymbols,wr=gt?gt.isBuffer:void 0,me=it(Object.keys,Object),ne=Ot(Ne,"DataView"),et=Ot(Ne,"Map"),ct=Ot(Ne,"Promise"),tt=Ot(Ne,"Set"),Le=Ot(Ne,"WeakMap"),pt=Ot(Object,"create"),kt=Xr(ne),_t=Xr(et),Bt=Xr(ct),Wt=Xr(tt),rr=Xr(Le),Ht=Ft?Ft.prototype:void 0,$t=Ht?Ht.valueOf:void 0;function nr(I){var G=-1,ae=I?I.length:0;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function rt(){this.__data__=pt?pt(null):{}}function Tt(I){return this.has(I)&&delete this.__data__[I]}function yt(I){var G=this.__data__;if(pt){var ae=G[I];return ae===n?void 0:ae}return It.call(G,I)?G[I]:void 0}function Mt(I){var G=this.__data__;return pt?G[I]!==void 0:It.call(G,I)}function vr(I,G){var ae=this.__data__;return ae[I]=pt&&G===void 0?n:G,this}nr.prototype.clear=rt,nr.prototype.delete=Tt,nr.prototype.get=yt,nr.prototype.has=Mt,nr.prototype.set=vr;function Y(I){var G=-1,ae=I?I.length:0;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function Ue(){this.__data__=[]}function ke(I){var G=this.__data__,ae=Jn(G,I);if(ae<0)return!1;var qe=G.length-1;return ae==qe?G.pop():pr.call(G,ae,1),!0}function Ze(I){var G=this.__data__,ae=Jn(G,I);return ae<0?void 0:G[ae][1]}function St(I){return Jn(this.__data__,I)>-1}function jt(I,G){var ae=this.__data__,qe=Jn(ae,I);return qe<0?ae.push([I,G]):ae[qe][1]=G,this}Y.prototype.clear=Ue,Y.prototype.delete=ke,Y.prototype.get=Ze,Y.prototype.has=St,Y.prototype.set=jt;function At(I){var G=-1,ae=I?I.length:0;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function qt(){this.__data__={hash:new nr,map:new(et||Y),string:new nr}}function ir(I){return at(this,I).delete(I)}function or(I){return at(this,I).get(I)}function fr(I){return at(this,I).has(I)}function Ur(I,G){return at(this,I).set(I,G),this}At.prototype.clear=qt,At.prototype.delete=ir,At.prototype.get=or,At.prototype.has=fr,At.prototype.set=Ur;function yr(I){this.__data__=new Y(I)}function Kn(){this.__data__=new Y}function Cn(I){return this.__data__.delete(I)}function Dn(I){return this.__data__.get(I)}function Yr(I){return this.__data__.has(I)}function Yn(I,G){var ae=this.__data__;if(ae instanceof Y){var qe=ae.__data__;if(!et||qe.length<t-1)return qe.push([I,G]),this;ae=this.__data__=new At(qe)}return ae.set(I,G),this}yr.prototype.clear=Kn,yr.prototype.delete=Cn,yr.prototype.get=Dn,yr.prototype.has=Yr,yr.prototype.set=Yn;function En(I,G){var ae=bo(I)||ei(I)?be(I.length,String):[],qe=ae.length,Xt=!!qe;for(var Gt in I)It.call(I,Gt)&&!(Xt&&(Gt=="length"||yn(Gt,qe)))&&ae.push(Gt);return ae}function Xn(I,G,ae){var qe=I[G];(!(It.call(I,G)&&Hn(qe,ae))||ae===void 0&&!(G in I))&&(I[G]=ae)}function Jn(I,G){for(var ae=I.length;ae--;)if(Hn(I[ae][0],G))return ae;return-1}function on(I,G){return I&&Ee(G,Or(G),I)}function On(I,G,ae,qe,Xt,Gt,gr){var Cr;if(qe&&(Cr=Gt?qe(I,Xt,Gt,gr):qe(I)),Cr!==void 0)return Cr;if(!ri(I))return I;var dr=bo(I);if(dr){if(Cr=Sr(I),!G)return Q(I,Cr)}else{var Tr=zt(I),Jr=Tr==R||Tr==w;if(Rn(I))return An(I,G);if(Tr==_||Tr==l||Jr&&!Gt){if(ht(I))return Gt?I:{};if(Cr=Zr(Jr?{}:I),!G)return xe(I,on(Cr,I))}else{if(!le[Tr])return Gt?I:{};Cr=vn(I,Tr,On,G)}}gr||(gr=new yr);var In=gr.get(I);if(In)return In;if(gr.set(I,Cr),!dr)var Vr=ae?He(I):Or(I);return Ge(Vr||I,function(Br,Qr){Vr&&(Qr=Br,Br=I[Qr]),Xn(Cr,Qr,On(Br,G,ae,qe,Qr,I,gr))}),Cr}function wn(I){return ri(I)?Lt(I):{}}function hi(I,G,ae){var qe=G(I);return bo(I)?qe:Me(qe,ae(I))}function Si(I){return je.call(I)}function Ci(I){if(!ri(I)||Bn(I))return!1;var G=_o(I)||ht(I)?Qe:ce;return G.test(Xr(I))}function kn(I){if(!wi(I))return me(I);var G=[];for(var ae in Object(I))It.call(I,ae)&&ae!="constructor"&&G.push(ae);return G}function An(I,G){if(G)return I.slice();var ae=new I.constructor(I.length);return I.copy(ae),ae}function un(I){var G=new I.constructor(I.byteLength);return new bt(G).set(new bt(I)),G}function Qn(I,G){var ae=G?un(I.buffer):I.buffer;return new I.constructor(ae,I.byteOffset,I.byteLength)}function sn(I,G,ae){var qe=G?ae(Ct(I),!0):Ct(I);return Te(qe,Fe,new I.constructor)}function pn(I){var G=new I.constructor(I.source,ye.exec(I));return G.lastIndex=I.lastIndex,G}function C(I,G,ae){var qe=G?ae(Ie(I),!0):Ie(I);return Te(qe,ze,new I.constructor)}function N(I){return $t?Object($t.call(I)):{}}function V(I,G){var ae=G?un(I.buffer):I.buffer;return new I.constructor(ae,I.byteOffset,I.length)}function Q(I,G){var ae=-1,qe=I.length;for(G||(G=Array(qe));++ae<qe;)G[ae]=I[ae];return G}function Ee(I,G,ae,qe){ae||(ae={});for(var Xt=-1,Gt=G.length;++Xt<Gt;){var gr=G[Xt],Cr=void 0;Xn(ae,gr,Cr===void 0?I[gr]:Cr)}return ae}function xe(I,G){return Ee(I,Ut(I),G)}function He(I){return hi(I,Or,Ut)}function at(I,G){var ae=I.__data__;return li(G)?ae[typeof G=="string"?"string":"hash"]:ae.map}function Ot(I,G){var ae=We(I,G);return Ci(ae)?ae:void 0}var Ut=xr?it(xr,Object):Ar,zt=Si;(ne&&zt(new ne(new ArrayBuffer(1)))!=z||et&&zt(new et)!=b||ct&&zt(ct.resolve())!=M||tt&&zt(new tt)!=x||Le&&zt(new Le)!=B)&&(zt=function(I){var G=je.call(I),ae=G==_?I.constructor:void 0,qe=ae?Xr(ae):void 0;if(qe)switch(qe){case kt:return z;case _t:return b;case Bt:return M;case Wt:return x;case rr:return B}return G});function Sr(I){var G=I.length,ae=I.constructor(G);return G&&typeof I[0]=="string"&&It.call(I,"index")&&(ae.index=I.index,ae.input=I.input),ae}function Zr(I){return typeof I.constructor=="function"&&!wi(I)?wn($e(I)):{}}function vn(I,G,ae,qe){var Xt=I.constructor;switch(G){case H:return un(I);case f:case g:return new Xt(+I);case z:return Qn(I,qe);case K:case ue:case J:case fe:case j:case te:case X:case re:case de:return V(I,qe);case b:return sn(I,qe,ae);case S:case L:return new Xt(I);case E:return pn(I);case x:return C(I,qe,ae);case O:return N(I)}}function yn(I,G){return G=G??i,!!G&&(typeof I=="number"||Ae.test(I))&&I>-1&&I%1==0&&I<G}function li(I){var G=typeof I;return G=="string"||G=="number"||G=="symbol"||G=="boolean"?I!=="__proto__":I===null}function Bn(I){return!!Et&&Et in I}function wi(I){var G=I&&I.constructor,ae=typeof G=="function"&&G.prototype||vt;return I===ae}function Xr(I){if(I!=null){try{return xt.call(I)}catch{}try{return I+""}catch{}}return""}function pi(I){return On(I,!0,!0)}function Hn(I,G){return I===G||I!==I&&G!==G}function ei(I){return no(I)&&It.call(I,"callee")&&(!Dt.call(I,"callee")||je.call(I)==l)}var bo=Array.isArray;function ro(I){return I!=null&&ti(I.length)&&!_o(I)}function no(I){return $i(I)&&ro(I)}var Rn=wr||Mr;function _o(I){var G=ri(I)?je.call(I):"";return G==R||G==w}function ti(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=i}function ri(I){var G=typeof I;return!!I&&(G=="object"||G=="function")}function $i(I){return!!I&&typeof I=="object"}function Or(I){return ro(I)?En(I):kn(I)}function Ar(){return[]}function Mr(){return!1}r.exports=pi}(jf,jf.exports)),jf.exports}var Bf={exports:{}};Bf.exports;var j0;function kx(){return j0||(j0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=1,l=2,u=9007199254740991,f="[object Arguments]",g="[object Array]",m="[object AsyncFunction]",R="[object Boolean]",w="[object Date]",b="[object Error]",S="[object Function]",_="[object GeneratorFunction]",M="[object Map]",E="[object Number]",x="[object Null]",L="[object Object]",O="[object Promise]",B="[object Proxy]",H="[object RegExp]",z="[object Set]",K="[object String]",ue="[object Symbol]",J="[object Undefined]",fe="[object WeakMap]",j="[object ArrayBuffer]",te="[object DataView]",X="[object Float32Array]",re="[object Float64Array]",de="[object Int8Array]",ge="[object Int16Array]",ye="[object Int32Array]",ce="[object Uint8Array]",Ae="[object Uint8ClampedArray]",le="[object Uint16Array]",se="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,Ne=/^\[object .+?Constructor\]$/,Ye=/^(?:0|[1-9]\d*)$/,we={};we[X]=we[re]=we[de]=we[ge]=we[ye]=we[ce]=we[Ae]=we[le]=we[se]=!0,we[f]=we[g]=we[j]=we[R]=we[te]=we[w]=we[b]=we[S]=we[M]=we[E]=we[L]=we[H]=we[z]=we[K]=we[fe]=!1;var De=typeof bi=="object"&&bi&&bi.Object===Object&&bi,Fe=typeof self=="object"&&self&&self.Object===Object&&self,ze=De||Fe||Function("return this")(),Ge=e&&!e.nodeType&&e,Me=Ge&&!0&&r&&!r.nodeType&&r,Te=Me&&Me.exports===Ge,be=Te&&De.process,We=function(){try{return be&&be.binding&&be.binding("util")}catch{}}(),ht=We&&We.isTypedArray;function Ct(I,G){for(var ae=-1,qe=I==null?0:I.length,Xt=0,Gt=[];++ae<qe;){var gr=I[ae];G(gr,ae,I)&&(Gt[Xt++]=gr)}return Gt}function it(I,G){for(var ae=-1,qe=G.length,Xt=I.length;++ae<qe;)I[Xt+ae]=G[ae];return I}function Ie(I,G){for(var ae=-1,qe=I==null?0:I.length;++ae<qe;)if(G(I[ae],ae,I))return!0;return!1}function Oe(I,G){for(var ae=-1,qe=Array(I);++ae<I;)qe[ae]=G(ae);return qe}function st(I){return function(G){return I(G)}}function vt(I,G){return I.has(G)}function wt(I,G){return I==null?void 0:I[G]}function Et(I){var G=-1,ae=Array(I.size);return I.forEach(function(qe,Xt){ae[++G]=[Xt,qe]}),ae}function xt(I,G){return function(ae){return I(G(ae))}}function It(I){var G=-1,ae=Array(I.size);return I.forEach(function(qe){ae[++G]=qe}),ae}var je=Array.prototype,Qe=Function.prototype,gt=Object.prototype,Ft=ze["__core-js_shared__"],bt=Qe.toString,$e=gt.hasOwnProperty,Lt=function(){var I=/[^.]+$/.exec(Ft&&Ft.keys&&Ft.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),Dt=gt.toString,pr=RegExp("^"+bt.call($e).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xr=Te?ze.Buffer:void 0,wr=ze.Symbol,me=ze.Uint8Array,ne=gt.propertyIsEnumerable,et=je.splice,ct=wr?wr.toStringTag:void 0,tt=Object.getOwnPropertySymbols,Le=xr?xr.isBuffer:void 0,pt=xt(Object.keys,Object),kt=Ut(ze,"DataView"),_t=Ut(ze,"Map"),Bt=Ut(ze,"Promise"),Wt=Ut(ze,"Set"),rr=Ut(ze,"WeakMap"),Ht=Ut(Object,"create"),$t=Xr(kt),nr=Xr(_t),rt=Xr(Bt),Tt=Xr(Wt),yt=Xr(rr),Mt=wr?wr.prototype:void 0,vr=Mt?Mt.valueOf:void 0;function Y(I){var G=-1,ae=I==null?0:I.length;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function Ue(){this.__data__=Ht?Ht(null):{},this.size=0}function ke(I){var G=this.has(I)&&delete this.__data__[I];return this.size-=G?1:0,G}function Ze(I){var G=this.__data__;if(Ht){var ae=G[I];return ae===n?void 0:ae}return $e.call(G,I)?G[I]:void 0}function St(I){var G=this.__data__;return Ht?G[I]!==void 0:$e.call(G,I)}function jt(I,G){var ae=this.__data__;return this.size+=this.has(I)?0:1,ae[I]=Ht&&G===void 0?n:G,this}Y.prototype.clear=Ue,Y.prototype.delete=ke,Y.prototype.get=Ze,Y.prototype.has=St,Y.prototype.set=jt;function At(I){var G=-1,ae=I==null?0:I.length;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function qt(){this.__data__=[],this.size=0}function ir(I){var G=this.__data__,ae=An(G,I);if(ae<0)return!1;var qe=G.length-1;return ae==qe?G.pop():et.call(G,ae,1),--this.size,!0}function or(I){var G=this.__data__,ae=An(G,I);return ae<0?void 0:G[ae][1]}function fr(I){return An(this.__data__,I)>-1}function Ur(I,G){var ae=this.__data__,qe=An(ae,I);return qe<0?(++this.size,ae.push([I,G])):ae[qe][1]=G,this}At.prototype.clear=qt,At.prototype.delete=ir,At.prototype.get=or,At.prototype.has=fr,At.prototype.set=Ur;function yr(I){var G=-1,ae=I==null?0:I.length;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function Kn(){this.size=0,this.__data__={hash:new Y,map:new(_t||At),string:new Y}}function Cn(I){var G=Ot(this,I).delete(I);return this.size-=G?1:0,G}function Dn(I){return Ot(this,I).get(I)}function Yr(I){return Ot(this,I).has(I)}function Yn(I,G){var ae=Ot(this,I),qe=ae.size;return ae.set(I,G),this.size+=ae.size==qe?0:1,this}yr.prototype.clear=Kn,yr.prototype.delete=Cn,yr.prototype.get=Dn,yr.prototype.has=Yr,yr.prototype.set=Yn;function En(I){var G=-1,ae=I==null?0:I.length;for(this.__data__=new yr;++G<ae;)this.add(I[G])}function Xn(I){return this.__data__.set(I,n),this}function Jn(I){return this.__data__.has(I)}En.prototype.add=En.prototype.push=Xn,En.prototype.has=Jn;function on(I){var G=this.__data__=new At(I);this.size=G.size}function On(){this.__data__=new At,this.size=0}function wn(I){var G=this.__data__,ae=G.delete(I);return this.size=G.size,ae}function hi(I){return this.__data__.get(I)}function Si(I){return this.__data__.has(I)}function Ci(I,G){var ae=this.__data__;if(ae instanceof At){var qe=ae.__data__;if(!_t||qe.length<t-1)return qe.push([I,G]),this.size=++ae.size,this;ae=this.__data__=new yr(qe)}return ae.set(I,G),this.size=ae.size,this}on.prototype.clear=On,on.prototype.delete=wn,on.prototype.get=hi,on.prototype.has=Si,on.prototype.set=Ci;function kn(I,G){var ae=ei(I),qe=!ae&&Hn(I),Xt=!ae&&!qe&&ro(I),Gt=!ae&&!qe&&!Xt&&$i(I),gr=ae||qe||Xt||Gt,Cr=gr?Oe(I.length,String):[],dr=Cr.length;for(var Tr in I)$e.call(I,Tr)&&!(gr&&(Tr=="length"||Xt&&(Tr=="offset"||Tr=="parent")||Gt&&(Tr=="buffer"||Tr=="byteLength"||Tr=="byteOffset")||vn(Tr,dr)))&&Cr.push(Tr);return Cr}function An(I,G){for(var ae=I.length;ae--;)if(pi(I[ae][0],G))return ae;return-1}function un(I,G,ae){var qe=G(I);return ei(I)?qe:it(qe,ae(I))}function Qn(I){return I==null?I===void 0?J:x:ct&&ct in Object(I)?zt(I):wi(I)}function sn(I){return ri(I)&&Qn(I)==f}function pn(I,G,ae,qe,Xt){return I===G?!0:I==null||G==null||!ri(I)&&!ri(G)?I!==I&&G!==G:C(I,G,ae,qe,pn,Xt)}function C(I,G,ae,qe,Xt,Gt){var gr=ei(I),Cr=ei(G),dr=gr?g:Zr(I),Tr=Cr?g:Zr(G);dr=dr==f?L:dr,Tr=Tr==f?L:Tr;var Jr=dr==L,In=Tr==L,Vr=dr==Tr;if(Vr&&ro(I)){if(!ro(G))return!1;gr=!0,Jr=!1}if(Vr&&!Jr)return Gt||(Gt=new on),gr||$i(I)?Ee(I,G,ae,qe,Xt,Gt):xe(I,G,dr,ae,qe,Xt,Gt);if(!(ae&i)){var Br=Jr&&$e.call(I,"__wrapped__"),Qr=In&&$e.call(G,"__wrapped__");if(Br||Qr){var ci=Br?I.value():I,gi=Qr?G.value():G;return Gt||(Gt=new on),Xt(ci,gi,ae,qe,Gt)}}return Vr?(Gt||(Gt=new on),He(I,G,ae,qe,Xt,Gt)):!1}function N(I){if(!ti(I)||li(I))return!1;var G=Rn(I)?pr:Ne;return G.test(Xr(I))}function V(I){return ri(I)&&_o(I.length)&&!!we[Qn(I)]}function Q(I){if(!Bn(I))return pt(I);var G=[];for(var ae in Object(I))$e.call(I,ae)&&ae!="constructor"&&G.push(ae);return G}function Ee(I,G,ae,qe,Xt,Gt){var gr=ae&i,Cr=I.length,dr=G.length;if(Cr!=dr&&!(gr&&dr>Cr))return!1;var Tr=Gt.get(I);if(Tr&&Gt.get(G))return Tr==G;var Jr=-1,In=!0,Vr=ae&l?new En:void 0;for(Gt.set(I,G),Gt.set(G,I);++Jr<Cr;){var Br=I[Jr],Qr=G[Jr];if(qe)var ci=gr?qe(Qr,Br,Jr,G,I,Gt):qe(Br,Qr,Jr,I,G,Gt);if(ci!==void 0){if(ci)continue;In=!1;break}if(Vr){if(!Ie(G,function(gi,qn){if(!vt(Vr,qn)&&(Br===gi||Xt(Br,gi,ae,qe,Gt)))return Vr.push(qn)})){In=!1;break}}else if(!(Br===Qr||Xt(Br,Qr,ae,qe,Gt))){In=!1;break}}return Gt.delete(I),Gt.delete(G),In}function xe(I,G,ae,qe,Xt,Gt,gr){switch(ae){case te:if(I.byteLength!=G.byteLength||I.byteOffset!=G.byteOffset)return!1;I=I.buffer,G=G.buffer;case j:return!(I.byteLength!=G.byteLength||!Gt(new me(I),new me(G)));case R:case w:case E:return pi(+I,+G);case b:return I.name==G.name&&I.message==G.message;case H:case K:return I==G+"";case M:var Cr=Et;case z:var dr=qe&i;if(Cr||(Cr=It),I.size!=G.size&&!dr)return!1;var Tr=gr.get(I);if(Tr)return Tr==G;qe|=l,gr.set(I,G);var Jr=Ee(Cr(I),Cr(G),qe,Xt,Gt,gr);return gr.delete(I),Jr;case ue:if(vr)return vr.call(I)==vr.call(G)}return!1}function He(I,G,ae,qe,Xt,Gt){var gr=ae&i,Cr=at(I),dr=Cr.length,Tr=at(G),Jr=Tr.length;if(dr!=Jr&&!gr)return!1;for(var In=dr;In--;){var Vr=Cr[In];if(!(gr?Vr in G:$e.call(G,Vr)))return!1}var Br=Gt.get(I);if(Br&&Gt.get(G))return Br==G;var Qr=!0;Gt.set(I,G),Gt.set(G,I);for(var ci=gr;++In<dr;){Vr=Cr[In];var gi=I[Vr],qn=G[Vr];if(qe)var xo=gr?qe(qn,gi,Vr,G,I,Gt):qe(gi,qn,Vr,I,G,Gt);if(!(xo===void 0?gi===qn||Xt(gi,qn,ae,qe,Gt):xo)){Qr=!1;break}ci||(ci=Vr=="constructor")}if(Qr&&!ci){var Ui=I.constructor,an=G.constructor;Ui!=an&&"constructor"in I&&"constructor"in G&&!(typeof Ui=="function"&&Ui instanceof Ui&&typeof an=="function"&&an instanceof an)&&(Qr=!1)}return Gt.delete(I),Gt.delete(G),Qr}function at(I){return un(I,Or,Sr)}function Ot(I,G){var ae=I.__data__;return yn(G)?ae[typeof G=="string"?"string":"hash"]:ae.map}function Ut(I,G){var ae=wt(I,G);return N(ae)?ae:void 0}function zt(I){var G=$e.call(I,ct),ae=I[ct];try{I[ct]=void 0;var qe=!0}catch{}var Xt=Dt.call(I);return qe&&(G?I[ct]=ae:delete I[ct]),Xt}var Sr=tt?function(I){return I==null?[]:(I=Object(I),Ct(tt(I),function(G){return ne.call(I,G)}))}:Ar,Zr=Qn;(kt&&Zr(new kt(new ArrayBuffer(1)))!=te||_t&&Zr(new _t)!=M||Bt&&Zr(Bt.resolve())!=O||Wt&&Zr(new Wt)!=z||rr&&Zr(new rr)!=fe)&&(Zr=function(I){var G=Qn(I),ae=G==L?I.constructor:void 0,qe=ae?Xr(ae):"";if(qe)switch(qe){case $t:return te;case nr:return M;case rt:return O;case Tt:return z;case yt:return fe}return G});function vn(I,G){return G=G??u,!!G&&(typeof I=="number"||Ye.test(I))&&I>-1&&I%1==0&&I<G}function yn(I){var G=typeof I;return G=="string"||G=="number"||G=="symbol"||G=="boolean"?I!=="__proto__":I===null}function li(I){return!!Lt&&Lt in I}function Bn(I){var G=I&&I.constructor,ae=typeof G=="function"&&G.prototype||gt;return I===ae}function wi(I){return Dt.call(I)}function Xr(I){if(I!=null){try{return bt.call(I)}catch{}try{return I+""}catch{}}return""}function pi(I,G){return I===G||I!==I&&G!==G}var Hn=sn(function(){return arguments}())?sn:function(I){return ri(I)&&$e.call(I,"callee")&&!ne.call(I,"callee")},ei=Array.isArray;function bo(I){return I!=null&&_o(I.length)&&!Rn(I)}var ro=Le||Mr;function no(I,G){return pn(I,G)}function Rn(I){if(!ti(I))return!1;var G=Qn(I);return G==S||G==_||G==m||G==B}function _o(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=u}function ti(I){var G=typeof I;return I!=null&&(G=="object"||G=="function")}function ri(I){return I!=null&&typeof I=="object"}var $i=ht?st(ht):V;function Or(I){return bo(I)?kn(I):Q(I)}function Ar(){return[]}function Mr(){return!1}r.exports=no}(Bf,Bf.exports)),Bf.exports}var Pd={},B0;function mM(){if(B0)return Pd;B0=1,Object.defineProperty(Pd,"__esModule",{value:!0});const r=Ex(),e=kx();var t;return function(n){function i(g={},m={},R=!1){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});let w=r(m);R||(w=Object.keys(w).reduce((b,S)=>(w[S]!=null&&(b[S]=w[S]),b),{}));for(const b in g)g[b]!==void 0&&m[b]===void 0&&(w[b]=g[b]);return Object.keys(w).length>0?w:void 0}n.compose=i;function l(g={},m={}){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});const R=Object.keys(g).concat(Object.keys(m)).reduce((w,b)=>(e(g[b],m[b])||(w[b]=m[b]===void 0?null:m[b]),w),{});return Object.keys(R).length>0?R:void 0}n.diff=l;function u(g={},m={}){g=g||{};const R=Object.keys(m).reduce((w,b)=>(m[b]!==g[b]&&g[b]!==void 0&&(w[b]=m[b]),w),{});return Object.keys(g).reduce((w,b)=>(g[b]!==m[b]&&m[b]===void 0&&(w[b]=null),w),R)}n.invert=u;function f(g,m,R=!1){if(typeof g!="object")return m;if(typeof m!="object")return;if(!R)return m;const w=Object.keys(m).reduce((b,S)=>(g[S]===void 0&&(b[S]=m[S]),b),{});return Object.keys(w).length>0?w:void 0}n.transform=f}(t||(t={})),Pd.default=t,Pd}var Nd={},H0;function Rx(){if(H0)return Nd;H0=1,Object.defineProperty(Nd,"__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={})),Nd.default=r,Nd}var Fd={},q0;function vM(){if(q0)return Fd;q0=1,Object.defineProperty(Fd,"__esModule",{value:!0});const r=Rx();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 i=this.ops[this.index];if(i){const l=this.offset,u=r.default.length(i);if(n>=u-l?(n=u-l,this.index+=1,this.offset=0):this.offset+=n,typeof i.delete=="number")return{delete:n};{const f={};return i.attributes&&(f.attributes=i.attributes),typeof i.retain=="number"?f.retain=n:typeof i.retain=="object"&&i.retain!==null?f.retain=i.retain:typeof i.insert=="string"?f.insert=i.insert.substr(l,n):f.insert=i.insert,f}}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,i=this.index,l=this.next(),u=this.ops.slice(this.index);return this.offset=n,this.index=i,[l].concat(u)}}else return[]}}return Fd.default=e,Fd}var z0;function yM(){return z0||(z0=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=gM(),n=Ex(),i=kx(),l=mM();e.AttributeMap=l.default;const u=Rx();e.Op=u.default;const f=vM();e.OpIterator=f.default;const g="\0",m=(w,b)=>{if(typeof w!="object"||w===null)throw new Error(`cannot retain a ${typeof w}`);if(typeof b!="object"||b===null)throw new Error(`cannot retain a ${typeof b}`);const S=Object.keys(w)[0];if(!S||S!==Object.keys(b)[0])throw new Error(`embed types not matched: ${S} != ${Object.keys(b)[0]}`);return[S,w[S],b[S]]};class R{constructor(b){Array.isArray(b)?this.ops=b:b!=null&&Array.isArray(b.ops)?this.ops=b.ops:this.ops=[]}static registerEmbed(b,S){this.handlers[b]=S}static unregisterEmbed(b){delete this.handlers[b]}static getHandler(b){const S=this.handlers[b];if(!S)throw new Error(`no handlers for embed type "${b}"`);return S}insert(b,S){const _={};return typeof b=="string"&&b.length===0?this:(_.insert=b,S!=null&&typeof S=="object"&&Object.keys(S).length>0&&(_.attributes=S),this.push(_))}delete(b){return b<=0?this:this.push({delete:b})}retain(b,S){if(typeof b=="number"&&b<=0)return this;const _={retain:b};return S!=null&&typeof S=="object"&&Object.keys(S).length>0&&(_.attributes=S),this.push(_)}push(b){let S=this.ops.length,_=this.ops[S-1];if(b=n(b),typeof _=="object"){if(typeof b.delete=="number"&&typeof _.delete=="number")return this.ops[S-1]={delete:_.delete+b.delete},this;if(typeof _.delete=="number"&&b.insert!=null&&(S-=1,_=this.ops[S-1],typeof _!="object"))return this.ops.unshift(b),this;if(i(b.attributes,_.attributes)){if(typeof b.insert=="string"&&typeof _.insert=="string")return this.ops[S-1]={insert:_.insert+b.insert},typeof b.attributes=="object"&&(this.ops[S-1].attributes=b.attributes),this;if(typeof b.retain=="number"&&typeof _.retain=="number")return this.ops[S-1]={retain:_.retain+b.retain},typeof b.attributes=="object"&&(this.ops[S-1].attributes=b.attributes),this}}return S===this.ops.length?this.ops.push(b):this.ops.splice(S,0,b),this}chop(){const b=this.ops[this.ops.length-1];return b&&typeof b.retain=="number"&&!b.attributes&&this.ops.pop(),this}filter(b){return this.ops.filter(b)}forEach(b){this.ops.forEach(b)}map(b){return this.ops.map(b)}partition(b){const S=[],_=[];return this.forEach(M=>{(b(M)?S:_).push(M)}),[S,_]}reduce(b,S){return this.ops.reduce(b,S)}changeLength(){return this.reduce((b,S)=>S.insert?b+u.default.length(S):S.delete?b-S.delete:b,0)}length(){return this.reduce((b,S)=>b+u.default.length(S),0)}slice(b=0,S=1/0){const _=[],M=new f.default(this.ops);let E=0;for(;E<S&&M.hasNext();){let x;E<b?x=M.next(b-E):(x=M.next(S-E),_.push(x)),E+=u.default.length(x)}return new R(_)}compose(b){const S=new f.default(this.ops),_=new f.default(b.ops),M=[],E=_.peek();if(E!=null&&typeof E.retain=="number"&&E.attributes==null){let L=E.retain;for(;S.peekType()==="insert"&&S.peekLength()<=L;)L-=S.peekLength(),M.push(S.next());E.retain-L>0&&_.next(E.retain-L)}const x=new R(M);for(;S.hasNext()||_.hasNext();)if(_.peekType()==="insert")x.push(_.next());else if(S.peekType()==="delete")x.push(S.next());else{const L=Math.min(S.peekLength(),_.peekLength()),O=S.next(L),B=_.next(L);if(B.retain){const H={};if(typeof O.retain=="number")H.retain=typeof B.retain=="number"?L:B.retain;else if(typeof B.retain=="number")O.retain==null?H.insert=O.insert:H.retain=O.retain;else{const K=O.retain==null?"insert":"retain",[ue,J,fe]=m(O[K],B.retain),j=R.getHandler(ue);H[K]={[ue]:j.compose(J,fe,K==="retain")}}const z=l.default.compose(O.attributes,B.attributes,typeof O.retain=="number");if(z&&(H.attributes=z),x.push(H),!_.hasNext()&&i(x.ops[x.ops.length-1],H)){const K=new R(S.rest());return x.concat(K).chop()}}else typeof B.delete=="number"&&(typeof O.retain=="number"||typeof O.retain=="object"&&O.retain!==null)&&x.push(B)}return x.chop()}concat(b){const S=new R(this.ops.slice());return b.ops.length>0&&(S.push(b.ops[0]),S.ops=S.ops.concat(b.ops.slice(1))),S}diff(b,S){if(this.ops===b.ops)return new R;const _=[this,b].map(O=>O.map(B=>{if(B.insert!=null)return typeof B.insert=="string"?B.insert:g;const H=O===b?"on":"with";throw new Error("diff() called "+H+" non-document")}).join("")),M=new R,E=t(_[0],_[1],S,!0),x=new f.default(this.ops),L=new f.default(b.ops);return E.forEach(O=>{let B=O[1].length;for(;B>0;){let H=0;switch(O[0]){case t.INSERT:H=Math.min(L.peekLength(),B),M.push(L.next(H));break;case t.DELETE:H=Math.min(B,x.peekLength()),x.next(H),M.delete(H);break;case t.EQUAL:H=Math.min(x.peekLength(),L.peekLength(),B);const z=x.next(H),K=L.next(H);i(z.insert,K.insert)?M.retain(H,l.default.diff(z.attributes,K.attributes)):M.push(K).delete(H);break}B-=H}}),M.chop()}eachLine(b,S=`
|
160
|
+
`+Et:""}`)}Pe.length>0&&K([...z||[],...Pe])},[K,ce,m,g,H,z]),De=A.useCallback(()=>{var Ie;return(Ie=re.current)==null?void 0:Ie.click()},[]),Fe=A.useCallback(Ie=>{const Pe=Ie.target.files;Pe!=null&&Pe.length&&(we(Pe),Ye())},[we,Ye]),ze=A.useCallback(Ie=>{if(b==null||b(Ie),!K||!z)return;const Pe=me(Ie),at=z.filter(gt=>me(gt)!==Pe);K(at),Ye()},[b,K,z,Ye,me]),Ge=A.useCallback(()=>{K&&(K([]),Ye())},[K,Ye]),Le=A.useCallback(Ie=>{if(!R)return Promise.resolve();const Pe=me(Ie);return Ee(Pe,"Loading"),new Promise(at=>{R(Ie,gt=>{Ee(Pe,gt),at()})})},[R,me,Ee]),Ae=A.useCallback(async()=>{if(!(z!=null&&z.length))return;const Ie={...fe};z.forEach(Pe=>Ie[me(Pe)]="Loading"),j==null||j(Ie);for(const Pe of z)await Le(Pe)},[z,me,fe,j,Le]),be=A.useMemo(()=>{const Ie=Pe=>(Pe.preventDefault(),Pe.stopPropagation(),Pe);return{onDragEnter:Pe=>{Ie(Pe),!ue&&!x&&X(!0)},onDragOver:Pe=>{Ie(Pe),!ue&&!x&&Pe.dataTransfer&&(Pe.dataTransfer.dropEffect="copy")},onDragLeave:Pe=>{var gt;Ie(Pe);const at=(gt=de.current)==null?void 0:gt.contains(Pe.relatedTarget);(!Pe.relatedTarget||!at)&&X(!1)},onDrop:Pe=>{var at;Ie(Pe),X(!1),!ue&&!x&&((at=Pe.dataTransfer.files)!=null&&at.length)&&we(Pe.dataTransfer.files)}}},[ue,x,we]),We=A.useMemo(()=>{const Ie=Be.clsx(Fn.ButtonRenderer,"NoSelect");return{upload:Pe=>v.jsx(_i,{icon:"X",iconSize:"sm",tooltip:H.Delete,type:"Raw",className:Ie,style:{color:"var(--label-neutral)"},onClick:()=>ze(Pe)}),loading:()=>v.jsx(_i,{icon:"Spinner",iconSize:"sm",type:"Raw",className:Ie}),error:()=>v.jsx(_i,{icon:"CircleAlertOutline",iconSize:"sm",type:"Raw",className:Be.clsx(Ie,Fn.ErrorColor,Fn.ErrorCursor),tooltip:H["Fail Download"]}),download:Pe=>v.jsx(_i,{icon:"FileDownload",iconSize:"sm",tooltip:H.Download,type:"Raw",className:Ie,style:{color:"var(--acent-brand)"},onClick:()=>Le(Pe)})}},[H,ze,Le]),ht=A.useCallback((Ie,Pe)=>{const at=se(Ie),gt=pe(Ie),wt=()=>S==="Upload"?We.upload(Ie):at?We.loading():gt?We.error():We.download(Ie);return v.jsx(pm,{label:v.jsx("div",{className:Fn.FileChipContent,children:v.jsxs(Sn,{className:Fn.FileNameContainer,children:[v.jsx(Sa,{className:Be.clsx(gt&&Fn.ErrorColor),children:Ie.name}),v.jsx("span",{className:Fn.FileSize,children:Kc(Ie.size)})]})}),ButtonRenderer:wt,className:Be.clsx(Fn.FileChip,gt&&Fn.ErrorBorder)},Pe)},[se,pe,S,We]),Ct=A.useCallback(()=>v.jsx("div",{className:Be.clsx(Fn.FileBox,ue&&Fn.ErrorBorder,ue&&Fn.ErrorColor,ue&&Fn.ErrorCursor),...be,ref:de,children:te?v.jsxs(Sn,{className:Be.clsx("NoSelect"),style:{gap:4},children:[v.jsx(jr,{icon:"FileDownload"}),v.jsx("span",{children:H["Drop file to select"]})]}):v.jsx(Fi,{type:"Raw",className:Be.clsx(Fn.SelectRenderer,"NoSelect"),onClick:De,isDisabled:ue||x,children:H["Insert File"]})}),[ue,te,H,De,x,be]),it=A.useMemo(()=>{const Ie=S==="Upload",Pe=Ie?H["Delete All"]:H["Download All"],at=Ie?Ge:Ae;return v.jsxs(Sn,{className:Fn.LabelContainer,children:[t,S==="Upload"&&v.jsxs(Sa,{className:Be.clsx(Fn.TotalFileSize,"NoSelect"),children:["(",v.jsx("span",{className:Be.clsx(ue&&Fn.ErrorColor),children:Kc(ye)})," / ",Kc(_),")"]}),v.jsx("span",{className:Be.clsx(Fn.LabelButton,"Label1",Ne&&Fn.Disabled,Ie&&Fn.Delete),onClick:Ne?void 0:at,children:Pe})]})},[S,H,Ge,Ae,t,ue,ye,_,Ne]);return S==="Download"&&!(z!=null&&z.length)?null:v.jsxs(ec,{helperText:e,wrapProps:i,wrapType:l,labelProps:n,errorMessage:u,label:it,children:[v.jsx("input",{style:{display:"none"},ref:re,type:"file",multiple:!0,onChange:Fe,accept:g||""}),v.jsx($r,{...B,className:Be.clsx(Fn.AFileUploader,O),children:v.jsxs(Sn,{className:Fn.ChipsContainer,children:[S==="Upload"&&Ct(),z==null?void 0:z.map(ht)]})})]})},ek="_AFloatMenu_xco8u_1",tk="_Content_xco8u_10",s0={AFloatMenu:ek,Content:tk},B2=r=>{const{defs:e,defaultDef:t,actionRef:n,offset:i,onClose:l,onClick:u,onPaperClick:f,position:g=ef.ES,width:m=137}=r,R=A.useMemo(()=>({content:rk,...t}),[t]),w=A.useMemo(()=>{const j={};return er.keys(e).forEach(te=>{const X=e[te],re={...R,...X};re.noDisplay||(j[te]=re)}),j},[R,e]),[b,S]=A.useState(null),_=A.useCallback(j=>{J_(j,O,g,i),S(j)},[g,i]),[M,E]=A.useState(!1),[x,L]=A.useState(!1),O=A.useRef(null),B=A.useCallback(j=>{L(!0),setTimeout(()=>E(!0),0),setTimeout(()=>_(j),0)},[_]),H=A.useCallback(()=>{E(!1),L(!0),l==null||l()},[l]),z=A.useCallback(()=>L(!1),[]),K=A.useCallback(async j=>{const te=document.getElementById("root"),X=j.target,re=O.current;!te||!re||!X||!re.contains(X)&&te.contains(X)&&(await(f==null?void 0:f(j)),H())},[H,f]);A.useEffect(()=>{if(M)return setTimeout(()=>document.addEventListener("mousedown",K),0),()=>document.removeEventListener("mousedown",K)},[M,K]);const ue=A.useCallback(()=>{b&&_(b)},[_,b]);A.useEffect(()=>{if(!M||!b)return;let j=b.parentElement;for(;j;)j.addEventListener("scroll",ue),j=j.parentElement;return()=>{let te=b.parentElement;for(;te;)te.removeEventListener("scroll",ue),te=te.parentElement}},[b,M,ue]),A.useEffect(()=>{if(M)return window.addEventListener("resize",ue),()=>window.removeEventListener("resize",ue)},[M,ue]);const J=A.useCallback(j=>{j[0].intersectionRatio===0&&H()},[H]);A.useEffect(()=>{if(!M)return;const j=new IntersectionObserver(J,{threshold:0});return O.current&&j.observe(O.current),()=>j.disconnect()},[O,M,J]),A.useEffect(()=>{n&&(n.current={open:B,close:H})},[n,B,H]);const fe=A.useCallback(j=>{var te;if(M){if((te=w[j])!=null&&te.isDisabled)return}else return;u==null||u(j),H()},[M,u,H,w]);return!M&&!x?null:Hs.createPortal(v.jsx("div",{className:s0.AFloatMenu,style:{opacity:+M,visibility:M&&Object.keys(w).length>0?"visible":"hidden",minWidth:m},onTransitionEnd:z,ref:O,children:er.map(w,([j],te)=>{const X={...R,...w[j]};let{content:re,noDisplay:de,tooltipDirection:me=yi.E,...ye}=X;return de?null:(re=Lr.getContent(X.content,{defKey:j,def:X}),A.createElement($r,{...ye,key:te,className:Be.clsx(s0.Content,"Label2","IsClickable",ye.className),onClick:ce=>{var Ee;fe==null||fe(j),(Ee=ye.onClick)==null||Ee.call(ye,ce)},tooltipDirection:me},re))})}),document.body)},rk=r=>r.defKey;function nk(r){try{const e=Number.parseInt(r);return isNaN(e)?void 0:e}catch{return}}const H2={parseInt:nk},ik=`${Number.MAX_SAFE_INTEGER}`.length-1,ok=r=>{const{unit:e,type:t="Secondary",min:n,max:i,useValue:l,onEnterPress:u,canAsterisk:f=!1,onFocus:g,...m}=r,R=A.useMemo(()=>i!==void 0&&n!==void 0?Math.max(`${i}`.length+1,`${n}`.length+1):ik,[n,i]),[w,b]=nn(l,""),S=A.useCallback(x=>{if(b)if(f&&x.startsWith("*"))b("*");else if(x==="")b("");else if(x==="-")b("-");else{x=x.replace(/[^0-9-]/g,"");try{const L=H2.parseInt(x);L!==void 0&&(n!==void 0&&L<n?b(`${n}`):i!==void 0&&L>i?b(`${i}`):b(`${L}`))}catch(L){console.error("ANumInput : ",L)}}},[b,f,n,i]),_=A.useRef(null),M=A.useCallback(x=>{var L;(L=_.current)==null||L.blur(),u==null||u(x)},[u]),E=A.useMemo(()=>n===void 0&&i===void 0?e??"number":`${n??""}~${i??""}`,[n,i,e]);return v.jsx(tc,{...m,type:t,className:Be.clsx(to.ANumInput,r.className),autoComplete:"off",onEnterPress:M,useValue:[w,S],maxLength:R,placeholder:E,RightAddon:r.unit&&v.jsx("span",{style:{marginRight:4},children:r.unit}),inputRef:_})},sk="_AListView_k7t2d_1",ak="_Row_k7t2d_10",lk="_Label_k7t2d_20",ck="_Content_k7t2d_30",kd={AListView:sk,Row:ak,Label:lk,Content:ck},uk=r=>{const{defs:e,defaultDef:t,item:n,rowHeight:i,labelWidth:l,noBorder:u,style:f,...g}=r,m=u?"":"var(--AListView_border-thin)",R=u?"":"var(--AListView_border-thick)",w=A.useMemo(()=>({content:dk,label:fk,...t}),[t]),b=A.useMemo(()=>{const S={};return er.keys(e).forEach(_=>{const M=e[_],E={...w,...M};S[_]=E}),S},[w,e]);return v.jsx($r,{...g,className:Be.clsx(kd.AListView,g.className),style:{...f,borderTop:m},children:er.map(b,([S])=>{const _={...w,...b[S]},M=Lr.getContent(_.label,{defKey:S,item:n,def:_}),E=Lr.getContent(_.content,{defKey:S,item:n||{[S]:""},def:_}),x=Lr.getContent(_.bold||"label",{defKey:S,item:n,def:_});return v.jsxs("div",{className:kd.Row,style:{height:i,borderBottom:m},children:[v.jsx("div",{className:Be.clsx(kd.Label,"NoSelect",x!=="content"&&"Bold"),style:{width:l,minWidth:l,maxWidth:l,borderLeft:R,paddingLeft:u?0:10},children:v.jsx(Sa,{children:M})}),v.jsx("div",{className:Be.clsx(kd.Content,x!=="label"&&"Bold"),style:{borderLeft:R,borderRight:R},children:v.jsx(Sa,{style:{width:"100%",padding:u?0:10},children:E})})]},S)})})},fk=r=>r.defKey,dk=r=>{const{defKey:e,item:t}=r;if(t)if(er.hasKey(t,e)){const n=t[e];return er.isReactNode(n)?n:null}else return null;else return null},hk="_ALoadingBorder_kwc1g_1",pk="_ProgressBar_kwc1g_9",gk="_IsLoading_kwc1g_15",mk="_load_kwc1g_1",vk="_Cover_kwc1g_19",Lf={ALoadingBorder:hk,ProgressBar:pk,IsLoading:gk,load:mk,Cover:vk},ym=r=>{const{isLoading:e}=r,[t,n]=A.useState(!1),i=A.useRef(null);return A.useEffect(()=>{e?(n(!0),i.current&&clearTimeout(i.current)):i.current=setTimeout(()=>n(!1),300)},[e]),v.jsxs("div",{className:Lf.ALoadingBorder,children:[v.jsx("div",{className:Be.clsx(Lf.ProgressBar,t&&Lf.IsLoading)}),v.jsx("div",{className:Be.clsx(Lf.Cover,e&&Lf.IsLoading),style:{transition:"all 300ms"}})]})},yk="_Container_tmqll_1",bk="_Option_tmqll_7",_k="_RadioButton_tmqll_14",xk="_InnerCircle_tmqll_24",Sk="_isChecked_tmqll_29",qu={Container:yk,Option:bk,RadioButton:_k,InnerCircle:xk,isChecked:Sk},Ck=r=>{const{options:e,useSelect:t,selectDisabled:n,radius:i=23,innerRadius:l=i*.6,OptionRenderer:u=q2}=r,[f,g]=nn(t,e[0]);return v.jsx("div",{className:qu.Container,children:e.map((m,R)=>{const w=n==null?void 0:n(m),b=()=>w?null:g==null?void 0:g(m);return v.jsxs(Sn,{className:Be.clsx(qu.Option,"IsClickable"),isDisabled:w,onClick:b,children:[v.jsx(wk,{isChecked:f===m,radius:i,innerRadius:l},R),v.jsx(u,{option:m})]},R)})})},q2=({option:r})=>r,wk=({isChecked:r,radius:e,innerRadius:t})=>v.jsx($r,{className:Be.clsx(qu.RadioButton,r&&qu.isChecked),style:{width:e,height:e},children:v.jsx($r,{className:Be.clsx(qu.InnerCircle,r&&qu.isChecked),style:{width:t,height:t}})}),Ak="_AMultiSelect_mr38x_1",Tk="_Arrow_mr38x_15",Ek="_Primary_mr38x_24",kk="_UnAvailable_mr38x_35",Rk="_IsOpen_mr38x_35",Ik="_Secondary_mr38x_42",Lk="_Placeholder_mr38x_58",Mk="_ValuesContainer_mr38x_63",Dk="_Values_mr38x_63",Ok="_Options_mr38x_82",Pk="_Option_mr38x_82",Nk="_Selected_mr38x_124",Fk="_CheckBox_mr38x_131",yo={AMultiSelect:Ak,Arrow:Tk,Primary:Ek,UnAvailable:kk,IsOpen:Rk,Secondary:Ik,Placeholder:Lk,ValuesContainer:Mk,Values:Dk,Options:Ok,Option:Pk,Selected:Nk,CheckBox:Fk},jk=r=>{const{options:e,useSelect:t,type:n="Primary",placeholder:i=hn.AMultiSelect["Select(Placeholder)"],onClose:l,SelectedRenderer:u=Hk,OptionRenderer:f=qk,minShowRows:g=2,maxShowRows:m=6,arrowProps:R,isAutoWidth:w=!1,...b}=r,S=A.useRef(null),_=A.useMemo(()=>b.abaseRef??S,[b.abaseRef]),M=A.useRef(null),[E,x]=nn(t,[]),[L,O]=A.useState(void 0),B=A.useRef(e),H=A.useRef(null),[z,K]=A.useState(!1),[ue,J]=A.useState(!1),fe=A.useCallback(()=>J(!1),[]),j=A.useCallback(()=>{b.isDisabled||b.isLoading||e.length<1||(J(!0),setTimeout(()=>K(!0),0),setTimeout(()=>Jh(M,_,e,g,m),0))},[_,b.isDisabled,b.isLoading,e,g,m]),te=A.useCallback(()=>{K(!1),J(!0),l==null||l()},[l]),X=A.useCallback(le=>{var se;z?te():j(),setTimeout(()=>Jh(M,_,e,g,m),0),(se=b.onClick)==null||se.call(b,le)},[_,b,e,z,te,j,g,m]),re=A.useCallback(()=>{Jh(M,_,e,g,m)},[_,e,g,m]);A.useEffect(()=>{if(!z||!_.current)return;const le=_.current;let se=le.parentElement;for(;se;)se.addEventListener("scroll",re),se=se.parentElement;return()=>{let pe=le.parentElement;for(;pe;)pe.removeEventListener("scroll",re),pe=pe.parentElement}},[_,z,re]),A.useEffect(()=>{if(z)return window.addEventListener("resize",re),()=>window.removeEventListener("resize",re)},[z,re]);const de=A.useCallback(le=>{le[0].intersectionRatio===0&&te()},[te]);A.useEffect(()=>{if(!z)return;const le=new IntersectionObserver(de,{threshold:0});return _.current&&le.observe(_.current),()=>le.disconnect()},[_,z,de]);const me=A.useCallback(le=>{const se=le.target,pe=_.current,Ne=M.current;!pe||!se||!Ne||!pe.contains(se)&&!Ne.contains(se)&&te()},[_,te]),ye=A.useMemo(()=>b.isDisabled||b.isLoading||e.length<1,[b.isDisabled,b.isLoading,e]);A.useEffect(()=>{if(z)return setTimeout(()=>document.addEventListener("mousedown",me),0),()=>document.removeEventListener("mousedown",me)},[z,me]);const ce=A.useCallback((le,se)=>{le.stopPropagation(),le.preventDefault();let pe=[...E];pe.includes(se)?pe=pe.filter(Ne=>Ne!==se):pe.push(se),x==null||x(pe)},[E,x]),Ee=A.useCallback(()=>{if(!w||!_.current)return;const le=Zc.calculateOptimalSelectWidth({elementRef:_,options:e,selectedOptions:E,placeholder:i,optionRenderer:se=>f({option:se}),type:n,isMulti:!0});O(le)},[w,_,e,E,i,f,n]);return A.useEffect(()=>w?((e!==B.current||L===void 0)&&(H.current!==null&&cancelAnimationFrame(H.current),H.current=requestAnimationFrame(()=>{Ee(),H.current=null,B.current=[...e]})),()=>{H.current!==null&&(cancelAnimationFrame(H.current),H.current=null)}):void 0,[w,e,Ee,L]),A.useEffect(()=>()=>{typeof Zc.clearCache=="function"&&Zc.clearCache()},[]),v.jsxs(v.Fragment,{children:[v.jsxs($r,{...b,isDisabled:b.isDisabled||e.length<1,className:Be.clsx(b.className,yo.AMultiSelect,"NoSelect",z&&yo.IsOpen,ye&&yo.UnAvailable,yo[n]),style:{padding:n==="Secondary"?"8px 8px 8px 0":0,width:L?`${L}px`:w?"100px":void 0,...b.style},abaseRef:_,onClick:X,children:[v.jsx("div",{className:yo.ValuesContainer,children:v.jsx("div",{className:Be.clsx(yo.Values,E.length<1&&yo.Placeholder),children:v.jsx(u,{OptionRenderer:f,selectedOptions:E,placeholder:i})})}),v.jsx("div",{...R,className:Be.clsx(yo.Arrow,R==null?void 0:R.className),children:v.jsx(jr,{style:{transform:z?"rotate(180deg)":"",transition:"var(--Transition)"},icon:"TriangleDown"})})]}),e.length>0&&(z||ue)&&Hs.createPortal(v.jsx("div",{className:Be.clsx(yo.Options,yo[n]),onTransitionEnd:fe,style:{opacity:+z,visibility:z?"visible":"hidden",pointerEvents:z?void 0:"none",width:L?`${L}px`:w?"100px":void 0,borderRadius:_.current?window.getComputedStyle(_.current).borderRadius:void 0},ref:M,children:e.map((le,se)=>{var Ne;const pe=E.includes(le);return v.jsxs("div",{className:Be.clsx(yo.Option,pe&&yo.Selected,"NoSelect",yo[n]),style:{height:(Ne=_.current)==null?void 0:Ne.getBoundingClientRect().height},onClick:Ye=>ce(Ye,le),children:[v.jsx(Zu,{className:yo.CheckBox,useCheck:[+pe,void 0]}),v.jsx(f,{option:le})]},se)})}),document.body)]})};function Jh(r,e,t,n,i){if(!e.current||!r.current||!t||t.length<1)return;const l=e.current.getBoundingClientRect(),u=Bk(l,t.length,n,i),f=window.getComputedStyle(e.current);r.current.style.top=`calc(${u.top??0}px - ${f.borderTopWidth})`,r.current.style.bottom=u.bottom?u.bottom+"px":"",r.current.style.left=u.left+"px",r.current.style.width||(r.current.style.minWidth=u.minWidth+"px"),r.current.style.minHeight=u.minHeight+"px",r.current.style.maxHeight=u.maxHeight+"px",r.current.style.visibility="visible"}function Bk(r,e,t,n){const i={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<i.height&&(window.innerHeight-r.bottom-10<i.minHeight?(i.top=r.top-e*r.height,i.top<0&&(i.top=10,i.minHeight=r.top-10,i.height=r.top-10)):i.height=window.innerHeight-r.bottom-10),i}const Hk=r=>{const{OptionRenderer:e,selectedOptions:t,placeholder:n}=r;return t.length<1?n:t.length===1?v.jsx(e,{option:t[0]}):`${t.length} selected`},qk=r=>{const{option:e}=r;return er.isReactNode(e)?e:null},zk="_Container_10ion_1",$k="_Steps_10ion_9",Uk="_Step_10ion_9",Wk="_OutCircle_10ion_26",Vk="_IsOver_10ion_37",Gk="_InCircle_10ion_41",Zk="_Line_10ion_54",Kk="_Left_10ion_66",Yk="_Right_10ion_69",Xk="_ContentContainer_10ion_73",Jk="_Content_10ion_73",eo={Container:zk,Steps:$k,Step:Uk,OutCircle:Wk,IsOver:Vk,InCircle:Gk,Line:Zk,Left:Kk,Right:Yk,ContentContainer:Xk,Content:Jk},Qk=r=>{const{useSelect:e,steps:t,StepRenderer:n=a0,ContentRenderer:i=a0}=r;if(t.length===0)throw new Error("steps should have at least one element");const l=A.useRef(null),[u,f]=nn(e,t[0]),g=A.useCallback(R=>f==null?void 0:f(R),[f]),m=A.useMemo(()=>t.indexOf(u),[u,t]);return A.useEffect(()=>{m<0&&g(t[0])},[m,t,g]),v.jsxs("div",{className:eo.Container,children:[v.jsx("div",{className:eo.Steps,children:t.map((R,w)=>{const b=t.indexOf(R),S=m>=w,_=m>w;return v.jsxs("div",{className:eo.Step,children:[w!==0&&v.jsx("div",{className:Be.clsx(eo.Line,eo.Left,S&&eo.IsOver)}),w!==t.length-1&&v.jsx("div",{className:Be.clsx(eo.Line,eo.Right,_&&eo.IsOver)}),v.jsx(Fi,{type:"Raw",className:Be.clsx(eo.OutCircle,S&&eo.IsOver),onClick:()=>g(R),children:v.jsx("div",{className:Be.clsx(eo.InCircle,S&&eo.IsOver)})}),v.jsx(n,{step:R,stepIdx:b})]},w)})}),v.jsx("div",{className:eo.ContentContainer,ref:l,children:t.map((R,w)=>{const b=t.indexOf(R);return v.jsx("div",{className:eo.Content,style:w===0?{marginLeft:`${m*-100}%`}:{},children:v.jsx(i,{step:R,stepIdx:b})},w)})})]})},a0=r=>{const{step:e}=r;return typeof e=="object"?er.stringify(e):e},e8="_ATab_1ikea_1",t8="_Option_1ikea_9",r8="_Underline_1ikea_22",n8="_IsSelected_1ikea_22",i8="_IndicatorTrack_1ikea_33",o8="_Indicator_1ikea_33",s8="_Primary_1ikea_49",a8="_Secondary_1ikea_56",l8="_IsDisabled_1ikea_66",c8="_Tertiary_1ikea_80",u8="_Quaternary_1ikea_110",Zl={ATab:e8,Option:t8,Underline:r8,IsSelected:n8,IndicatorTrack:i8,Indicator:o8,Primary:s8,Secondary:a8,IsDisabled:l8,Tertiary:c8,Quaternary:u8},f8=["Primary","Secondary","Tertiary","Quaternary"],z2=r=>{const{options:e,useSelect:t,selectDisabled:n,type:i="Primary",tabProps:l,optionProps:u,optionWidth:f,OptionRenderer:g=d8,RightAddon:m,color:R,underline:w}=r;if(e.length===0)throw new Error("options should have at least one element");const b=A.useMemo(()=>e.findIndex(ce=>!(n!=null&&n(ce))),[e,n]),S=i==="Tertiary"?2:0,_=i==="Secondary"?8:0,M=A.useMemo(()=>S+_,[S,_]),E=i==="Tertiary"?2:0,x=A.useMemo(()=>(_-S-E-E)/e.length,[e.length,S,_,E]),[L,O]=nn(t,e[b]),B=A.useRef([]),H=A.useCallback(ce=>O==null?void 0:O(ce),[O]),z=A.useMemo(()=>typeof f=="number"?f+"px":f,[f]),K=A.useMemo(()=>e.indexOf(L),[e,L]),ue=A.useMemo(()=>`calc(${100/e.length}% + ${x}px)`,[e.length,x]),J=A.useMemo(()=>z||`calc(${ue} - ${M}px)`,[ue,M,z]),[fe,j]=A.useState(0),[te,X]=A.useState(0),[re,de]=A.useState(J),me=A.useMemo(()=>{let ce;switch(z){case void 0:ce=`calc(${ue} * ${K})`;break;case"fit-content":ce=`calc(${fe}px)`;break;default:ce=`calc((${z} + ${M}px) * ${K})`;break}return`calc(${ce} + ${E}px)`},[z,E,ue,K,fe,M]),ye=A.useMemo(()=>{switch(z){case void 0:return;case"fit-content":return`calc(${te}px)`;default:return`calc((${z} + ${M}px - ${x}px) * ${e.length})`}},[z,x,M,e,te]);return A.useEffect(()=>{var Ee,le;if(e.includes(L)||O==null||O(e[b]),z!=="fit-content"){de(J);return}let ce=0;B.current.forEach((se,pe)=>{pe<K&&se.current&&(ce+=se.current.offsetWidth+M)}),j(ce),de(`calc(${((le=(Ee=B.current[K])==null?void 0:Ee.current)==null?void 0:le.offsetWidth)||0}px)`),X(B.current.reduce((se,pe)=>{var Ne;return se+((((Ne=pe.current)==null?void 0:Ne.offsetWidth)||0)+M-x)},0))},[z,B,e,L,O,b,x,M,K,J]),v.jsxs("div",{...l,className:Be.clsx(Zl.ATab,"Headline2",Zl[i],l==null?void 0:l.className),children:[v.jsx("div",{className:Zl.Indicator,style:{minWidth:re,left:me,marginLeft:S}}),v.jsx("div",{className:Zl.IndicatorTrack,style:{width:ye}}),v.jsx(mn,{w:E}),e.map((ce,Ee)=>{const le=n==null?void 0:n(ce);return B.current[Ee]||(B.current[Ee]=A.createRef()),v.jsx($r,{abaseRef:B.current[Ee],...u,style:{minWidth:J,maxWidth:J,marginLeft:S,marginRight:_,"--color":R,...u==null?void 0:u.style},className:Be.clsx(Zl.Option,le&&Zl.IsDiabled,ce===L&&Zl.IsSelected,"IsClickable",w&&Zl.Underline,u==null?void 0:u.className),onClick:se=>{!le&&H(ce),u&&u.onClick&&u.onClick(se)},isDisabled:le,children:v.jsx(g,{option:ce})},Ee)}),v.jsx(mn,{w:E+S}),m&&v.jsxs(v.Fragment,{children:[v.jsx(Qc,{}),m]})]})},d8=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=er.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 $2(...r){const e=A.useRef(!1);A.useEffect(()=>{e.current||(e.current=!0,r.forEach(t=>t()))},[r])}const U2={String:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;if(t==="")return er.keys(e).some(R=>{const w=e[R],b=Lr.getContent(w.asText,{defKey:R,def:w,item:r});if(b!==void 0)return b.toString().toLowerCase().includes(i.toLowerCase());const S=Lr.getContent(w.content,{defKey:R,def:w,item:r});return["string","number"].includes(typeof S)&&S!==void 0&&S!==null?S.toString().toLowerCase().includes(i.toLowerCase()):!1});const l=er.keys(e),u=t;if(!l.includes(u))return!1;const f=e[u],g=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(g!==void 0)return g.toString().toLowerCase().includes(i.toLowerCase());const m=Lr.getContent(f.content,{defKey:u,def:f,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?m.toString().toLowerCase().includes(i.toLowerCase()):!1},Select:(r,e,t,n)=>{const{value:i}=n;if(i==null)return!1;const l=er.keys(e),u=t;if(!l.includes(u))return!1;const f=e[u],g=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(g!==void 0)return i.toString().toLowerCase()===g.toString().toLowerCase();const m=Lr.getContent(f.content,{defKey:u,def:f,item:r});return["string","number"].includes(typeof m)&&m!==void 0&&m!==null?i.toString().toLowerCase()===m.toString().toLowerCase():!1},Date:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=er.keys(e),u=t;if(!l.includes(u))return!1;const f=e[u],g=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(g!==void 0){const R=Yt.toDate(g.toString());return R&&Yt.eq(R,i)}const m=Lr.getContent(f.content,{defKey:u,def:f,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const R=Yt.toDate(m.toString());return R&&Yt.eq(R,i)}return!1},DateRange:(r,e,t,n)=>{const{value:i}=n;if(i===void 0)return!1;const l=er.keys(e),u=t;if(!l.includes(u))return!1;const f=e[u],g=Lr.getContent(f.asText,{defKey:u,def:f,item:r});if(g!==void 0){const R=Yt.toDate(g.toString());return R&&Yt.be(i.sDate,R,i.eDate)}const m=Lr.getContent(f.content,{defKey:u,def:f,item:r});if(["string","number"].includes(typeof m)&&m!==void 0&&m!==null){const R=Yt.toDate(m.toString());return R&&Yt.be(i.sDate,R,i.eDate)}return!1}},h8=(r,e,t)=>{let n=r;return er.keys(t).forEach(l=>{const u=t[l];u.value===void 0||u.value===null||u.value===""||(n=n.filter(f=>{var g;return(g=u.predicate??U2[u.type])==null?void 0:g(f,e,l,u)}))}),n},p8=(r,e,t)=>{if(!t)return r;const n=t.defKey,i=e[n];if(n===void 0)return r;const l=t.sortF??((u,f)=>{const g=Lr.getContent(i.content,{defKey:n,def:i,item:u}),m=Lr.getContent(i.content,{defKey:n,def:i,item:f});return typeof g=="string"&&typeof m=="string"?g<m?-1:g>m?1:0:typeof g=="number"&&typeof m=="number"?g-m:typeof g=="string"&&typeof m=="number"?-1:typeof g=="number"&&typeof m=="string"||g===void 0&&m!==void 0?1:g!==void 0&&m===void 0?-1:0});return r.slice().sort((u,f)=>t.isAsc?l(u,f):l(f,u))},g8=(r,e,t)=>r.slice((e-1)*t,e*t),W2=(r,e)=>{const t=Math.max(Math.ceil(r/e),1);return Array.from({length:t},(n,i)=>i+1)},m8=(r,e,t,n)=>{const i=W2(e,t),l=Math.floor((r-1)/n),u=l*n+1,f=(l+1)*n,g=i.slice(u-1,f);return{pages:i,rangedPages:g}},v8=(r,e,t)=>{const n=[],i=Object.keys(t),l=[];i.forEach(b=>{const S=t[b],_=Lr.getContent(S.hContent,{defKey:b,def:S});if(_!==void 0){if(typeof _=="string"){l.push(_);return}else if(typeof _=="number"){l.push(_.toString());return}}const M=Lr.getContent(S.name,{defKey:b,def:S});if(M!==void 0&&typeof M=="string"){l.push(M);return}l.push(b)});const u=l.map(b=>`"${b.replaceAll('"','""')}"`);n.push(u.join(",")),e.forEach(b=>{const S=[];i.forEach(M=>{const E=t[M],x=Lr.getContent(E.content,{defKey:M,def:E,item:b});if(x!==void 0){if(typeof x=="string"){S.push(x);return}else if(typeof x=="number"){S.push(x.toString());return}}const L=b[M];typeof L=="string"?S.push(L):typeof L=="number"?S.push(L.toString()):S.push("")});const _=S.map(M=>`"${M.replaceAll('"','""')}"`);n.push(_.join(","))});const f=`${r}.csv`,g="\uFEFF"+n.join(`
|
161
|
+
`),m=new Blob([g],{type:"text/csv;charset=UTF-8"}),R=URL.createObjectURL(m),w=document.createElement("a");w.href=R,w.download=f,w.click(),URL.revokeObjectURL(R)},y8=r=>{const e=er.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},b8=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,i])=>{!i||i.value===void 0||i.value===null||i.value===""||(i.type==="DateRange"?(t[i.sFilterKey]=i.value.sDate,t[i.eFilterKey]=i.value.eDate):t[i.filterKey??n]=i.value)}),t},_8=r=>{const e=er.keys(r).filter(i=>i!=="");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}},tl={applyFilteration:h8,applySortation:p8,applyPagination:g8,getPages:W2,getRangedPages:m8,downloadCsv:v8,getSingleFilterValue:y8,getMultiFilterValues:b8,getSelectFilterValue:_8},x8="_ATable_12zow_1",S8={ATable:x8};function V2(r,e,t,n){A.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const C8="_BodyHeader_ys4y0_1",w8="_TRow_ys4y0_7",A8="_OverflowSpace_ys4y0_11",T8="_BodyBody_ys4y0_16",E8="_IsSelected_ys4y0_35",k8="_IsSelectable_ys4y0_39",R8="_IsRowMarked_ys4y0_47",I8="_TH_ys4y0_52",L8="_TD_ys4y0_57",M8="_IsMarked_ys4y0_57",D8="_Resizer_ys4y0_76",O8="_IsMoving_ys4y0_88",P8="_IsResizable_ys4y0_91",N8="_ResizerCenter_ys4y0_94",F8="_ResizerOut_ys4y0_100",j8="_ResizerIn_ys4y0_104",B8="_IsClicked_ys4y0_139",H8="_NoItems_ys4y0_146",q8="_Content_ys4y0_152",_n={BodyHeader:C8,TRow:w8,OverflowSpace:A8,BodyBody:T8,IsSelected:E8,IsSelectable:k8,IsRowMarked:R8,TH:I8,TD:L8,IsMarked:M8,Resizer:D8,IsMoving:O8,IsResizable:P8,ResizerCenter:N8,ResizerOut:F8,ResizerIn:j8,IsClicked:B8,NoItems:H8,Content:q8},Yl=25,Qh=50,z8=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:i,isTableDisabled:l,isSelectMulti:u,selectDisabled:f,appliedFilteration:g,useSortation:m,pagination:R,pagedItems:w,noMarking:b,noDefHeader:S,isLoading:_,showRows:M,RowRenderer:E=W8,isRowRendered:x,rowHeight:L,resources:O}=r,[B,H]=A.useMemo(()=>i??[],[i]),z=A.useCallback(it=>{l||!H||!B||f!=null&&f(it)||(u?B.some(Ie=>t(Ie,it))?H(B.filter(Ie=>!t(Ie,it))):H([...B,it]):H([it]))},[B,f,H,t,l,u]);A.useEffect(()=>{u||!B||!H||B.length>1&&H([B[B.length-1]])},[B,H,u]),A.useEffect(()=>{if(!B||!H)return;B.filter(Ie=>f==null?void 0:f(Ie)).length>0&&H(B.filter(Ie=>!(f!=null&&f(Ie))))},[B,H,f]);const[K,ue]=m,J=A.useCallback((it,Ie)=>{ue&&((K==null?void 0:K.defKey)===it?K.isAsc===!0?ue({defKey:it,isAsc:!1,sortF:Ie}):K.isAsc===!1?ue(void 0):ue({defKey:it,isAsc:!0,sortF:Ie}):ue({defKey:it,isAsc:!0,sortF:Ie}))},[K,ue]),[fe,j]=A.useState({elem:null,row:null}),te=A.useRef(null),X=A.useRef(null),re=A.useCallback(()=>j({elem:te.current,row:X.current}),[]);A.useEffect(()=>re(),[w.length,re]),V2(window,"resize",re);const[de,me]=A.useState(L);A.useEffect(()=>{const{row:it}=fe;it!=null&&me(it.clientHeight)},[fe,de]);const ye=A.useMemo(()=>{const{elem:it}=fe;return it?Math.floor(it.clientHeight/de):0},[fe,de]),ce=A.useMemo(()=>M||(w.length<=ye?ye:w.length),[ye,M,w]),Ee=A.useMemo(()=>{if(M!==void 0)return M*de},[M,de]),le=A.useMemo(()=>Ee,[Ee]),se=A.useMemo(()=>{const{elem:it}=fe;return it?it.getBoundingClientRect().height/de<w.length:!1},[fe,de,w.length]),[pe,Ne]=A.useState(),Ye=A.useMemo(()=>{const{elem:it}=fe;return!pe||!it?"100%":it.clientHeight+(x?0:50)},[pe,x,fe]),we=A.useRef(null),[De,Fe]=A.useState({}),ze=A.useRef({x:0,y:0}),Ge=A.useRef({}),Le=A.useMemo(()=>er.keys(De),[De]),Ae=A.useCallback((it,Ie)=>{const Pe=we.current;if(!Pe)return;const at=[];Pe.childNodes.forEach(xt=>{xt.classList.contains(_n.TH)&&at.push(xt)});const gt={};er.keys(e).forEach((xt,It)=>{const je=at[It];if(!je)return;const Qe=je.getBoundingClientRect().width;gt[xt]=Qe}),Ge.current=gt,Ne(Ie),ze.current={x:it.clientX,y:it.clientY};const wt=xt=>{if(!we.current)return;const je=xt.clientX-ze.current.x,Qe=U8(e,Ie,Ge.current,je);Fe(Qe)};document.addEventListener("mousemove",wt);const Et=()=>{Ne(void 0),document.removeEventListener("mousemove",wt),document.removeEventListener("mouseup",Et)};document.addEventListener("mouseup",Et)},[e]),be=A.useCallback(()=>{Ne(void 0),Fe({})},[]),We=A.useMemo(()=>{if(Le.length===0){const Pe={},at=er.keys(e);for(let gt=0;gt<at.length;gt++){const wt=at[gt],Et=e[wt],xt=Lr.getContent(Et.colSpan,{defKey:wt,def:Et}),It=Et.width??80,je=Et.minWidth??Yl,Qe=Et.maxWidth,mt={width:It,minWidth:je,maxWidth:Qe,flexGrow:xt??1};if(Pe[wt]=mt,xt!==void 0){for(let Ft=1;Ft<Math.min(xt,at.length-gt);Ft++){const bt=e[at[gt+Ft]],$e=bt.width??80,Lt=bt.minWidth??Yl,Dt=bt.maxWidth;mt.width+=$e,mt.minWidth+=Lt,mt.maxWidth!==void 0&&(Dt!==void 0?mt.maxWidth+=Dt:mt.maxWidth=void 0)}gt+=xt-1}}return Pe}const it={},Ie=er.keys(e);for(let Pe=0;Pe<Ie.length;Pe++){let at=Ie[Pe];const gt=e[at];let wt=De[at];const Et=Lr.getContent(gt.colSpan,{defKey:at,def:gt}),xt=gt.minWidth??Yl,It=gt.maxWidth,je={width:wt,minWidth:xt,maxWidth:It,flexGrow:Et??1};if(it[at]=je,Et!==void 0){for(let Qe=1;Qe<Math.min(Et,Ie.length-Pe);Qe++){const mt=e[Ie[Pe+Qe]],Ft=De[Ie[Pe+Qe]],bt=mt.minWidth??Yl,$e=mt.maxWidth;je.width+=Ft,je.minWidth+=bt,je.maxWidth!==void 0&&($e!==void 0?je.maxWidth+=$e:je.maxWidth=void 0)}Pe+=Et-1}}return it},[e,Le,De]),ht=A.useRef(null),Ct=A.useMemo(()=>tl.getSingleFilterValue(g),[g]);return A.useEffect(()=>{te.current&&te.current.scrollTo({top:0})},[R.page]),A.useEffect(()=>{x&&X.current&&X.current.scrollIntoView({behavior:"smooth",block:"center"})},[B,w,x]),v.jsxs(v.Fragment,{children:[v.jsx(ym,{isLoading:_}),v.jsx("div",{className:Be.clsx(_n.BodyHeader,pe!==void 0&&_n.IsClicked),onResizeCapture:re,ref:ht,style:{display:S||x?"none":"flex"},children:v.jsx("div",{className:_n.TRow,ref:we,style:{minHeight:Qh,maxHeight:Qh},children:er.map(e,([it],Ie)=>{const Pe=e[it],at=Lr.getContent(Pe.hContent,{defKey:it,def:Pe}),gt=Pe.name,wt=Ie===er.keys(e).length-1,Et=Pe.width??80,xt=Pe.minWidth??Yl,It=Pe.maxWidth,je={width:Et,minWidth:xt,maxWidth:It,justifyContent:Lr.getContent(Pe.hAlign,{defKey:it,def:Pe})??"flex-start",...Lr.getContent(Pe.hStyle,{defKey:it,def:Pe})};Le.includes(it)&&(je.width=De[it]);const Qe=Pe.isSortable,mt=(K==null?void 0:K.defKey)===it,Ft=K==null?void 0:K.isAsc;return v.jsxs(A.Fragment,{children:[v.jsxs("div",{style:je,onClick:()=>Qe&&J(it,Pe.sortF),className:Be.clsx(_n.TH,"Label1",Qe?"IsClickable":"NoSelect"),children:[v.jsx(Sa,{className:_n.Content,children:at??gt}),Qe&&v.jsx(jr,{icon:mt?Ft?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!wt&&v.jsxs("div",{className:Be.sclsx(_n,"Resizer","IsResizable","NoSelect",pe!==void 0&&"IsMoving"),onMouseDown:bt=>Ae(bt,it),onDoubleClick:be,children:[v.jsx("div",{className:_n.ResizerOut}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerCenter,style:{height:Ye}}),v.jsx("div",{className:_n.ResizerIn}),v.jsx("div",{className:_n.ResizerOut})]}),wt&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:Qh,style:{color:je.color,backgroundColor:je.backgroundColor,transition:je.transition}})]},it)})})}),v.jsxs("div",{className:Be.clsx(_n.BodyBody,pe!==void 0&&_n.IsClicked),ref:te,style:{overflowY:se?"scroll":"hidden",minHeight:Ee,maxHeight:le},children:[w.map((it,Ie)=>{const Pe=Lr.getContent(n,{item:it}),at=H&&!l,gt=B==null?void 0:B.some(It=>t(It,it)),wt=B&&(f==null?void 0:f(it)),Et=typeof wt=="string"?wt:void 0,xt={...it};return x&&er.keys(e).forEach(It=>{const je=e[It],Qe=Lr.getContent(je.content,{defKey:It,def:je,item:it});let mt=!1;if(Ct&&!b){const Ft=Lr.getContent(je.asText,{defKey:It,def:je,item:it});Ft!==void 0?mt=Ft.toString().toLowerCase().includes(Ct.toLowerCase()):["string","number"].includes(typeof Qe)&&Qe!==void 0&&Qe!==null&&(mt=Qe.toString().toLowerCase().includes(Ct.toLowerCase()))}xt[It]=v.jsx("span",{className:Be.clsx(mt&&_n.IsRowMarked),children:xt[It]})}),v.jsx($r,{isDisabled:wt,tooltip:Et,...Pe,onClick:It=>{var je;z(it),(je=Pe==null?void 0:Pe.onClick)==null||je.call(Pe,It)},className:Be.clsx(Pe==null?void 0:Pe.className,at&&_n.IsSelectable,gt&&_n.IsSelected),abaseRef:gt?X:void 0,children:v.jsx(E,{defs:e,item:it,markedItem:xt,noMarking:b,spanWidths:We,singleFilterValue:Ct,isBodyBodyOverflowed:se,rowHeight:L})},Ie)}),v.jsx($8,{showRows:ce,itemsLength:w.length,isRowRendered:x,rowHeight:de,resources:O})]})]})},$8=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:i,rowHeight:l}=r,u=A.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:u},(f,g)=>v.jsx("div",{className:Be.clsx(_n.TRow,"NoSelect"),style:{minHeight:l,maxHeight:l,...i&&{border:"none"}},children:t===0&&g===Math.floor(e/2)&&v.jsx(Sn,{className:_n.NoItems,children:n["No Items"]})},g))};function U8(r,e,t,n){const i={...t},l=er.keys(r).findIndex(m=>m===e)+1,u=Object.entries(r);let f=l-1,g=l;if(n<0){for(;n<0&&!(f<0||g>=u.length);){const[m,R]=[u[f][0],u[f][1]],[w,b]=[u[g][0],u[g][1]],S=R.minWidth??Yl,_=b.maxWidth,M=i[m],E=i[w];let x=M-S;_!==void 0&&(x=Math.min(x,_-E));let L=-n;L=Math.min(L,x),M-L<=S&&f--,_!==void 0&&E+L>=_&&g++,i[m]=M-L,i[w]=E+L,n+=L}return i}else if(n>0){for(;n>0&&!(f<0||g>=u.length);){const[m,R]=[u[f][0],u[f][1]],[w,b]=[u[g][0],u[g][1]],S=b.minWidth??Yl,_=R.maxWidth,M=i[w],E=i[m];let x=M-S;_!==void 0&&(x=Math.min(x,_-E));let L=n;L=Math.min(L,x),M-L<=S&&g++,_!==void 0&&E+L>=_&&f--,i[w]=M-L,i[m]=E+L,n-=L}return i}return i}const W8=r=>{const{defs:e,item:t,noMarking:n,spanWidths:i,singleFilterValue:l,isBodyBodyOverflowed:u,rowHeight:f}=r;return v.jsx("div",{className:Be.clsx(_n.TRow),style:{minHeight:f,maxHeight:f},children:er.map(e,([g],m)=>{const R=i[g];if(R===void 0)return null;const w=m===er.keys(e).length-1,b=e[g],S=Lr.getContent(b.content,{defKey:g,def:b,item:t}),_={width:R.width,minWidth:R.minWidth,maxWidth:R.maxWidth,flexGrow:R.flexGrow,justifyContent:Lr.getContent(b.align,{defKey:g,def:b,item:t})??"flex-start",...Lr.getContent(b.style,{defKey:g,def:b,item:t})};let M=!1;if(l&&!n){const E=Lr.getContent(b.asText,{defKey:g,def:b,item:t});E!==void 0?M=E.toString().toLowerCase().includes(l.toLowerCase()):["string","number"].includes(typeof S)&&S!==void 0&&S!==null&&(M=S.toString().toLowerCase().includes(l.toLowerCase()))}return v.jsxs(A.Fragment,{children:[v.jsx("div",{style:_,className:Be.clsx(_n.TD,"Label1",M&&_n.IsMarked),children:v.jsx(Sa,{className:_n.Content,children:S})}),!u&&w&&v.jsx(mn,{className:_n.OverflowSpace,w:"var(--Scrollbar-width)",h:f,style:{color:_.color,backgroundColor:_.backgroundColor}})]},g)})})},V8="_ATableFooter_w090q_1",G8="_Button_w090q_10",Z8="_IsSelected_w090q_26",K8="_IsDisabled_w090q_31",Ds={ATableFooter:V8,Button:G8,IsSelected:Z8,IsDisabled:K8},Y8=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:i}=r,l=A.useMemo(()=>e[e.length-1],[e]);return v.jsxs(Sn,{className:Ds.ATableFooter,children:[v.jsx(jr,{icon:"FirstPage",className:Be.clsx(Ds.Button,i.page===1&&Ds.IsDisabled),onClick:n.moveFirst}),v.jsx(jr,{icon:"NavigateBefore",className:Be.clsx(Ds.Button,i.page===1&&Ds.IsDisabled),onClick:n.movePrev}),t.map(u=>v.jsx("div",{className:Be.clsx(Ds.Button,"NoSelect",i.page===u&&Ds.IsSelected),onClick:()=>n.move(u),children:u},u)),v.jsx(jr,{icon:"NavigateNext",className:Be.clsx(Ds.Button,i.page===l&&Ds.IsDisabled),onClick:n.moveNext}),v.jsx(jr,{icon:"LastPage",className:Be.clsx(Ds.Button,i.page===l&&Ds.IsDisabled),onClick:n.moveLast})]})},X8="_Filter_1b9j0_1",J8="_SelectFilter_1b9j0_11",Q8="_MainFilter_1b9j0_15",eR="_IsOpen_1b9j0_26",tR="_SubFilters_1b9j0_30",rR="_Input_1b9j0_44",nR="_Main_1b9j0_15",iR="_Sub_1b9j0_30",oR="_Actions_1b9j0_62",sR="_Icon_1b9j0_67",aR="_LeftIcon_1b9j0_74",lR="_CircleAlertOutline_1b9j0_79",cR="_Rotate_1b9j0_87",uR="_rotate_1b9j0_1",kr={Filter:X8,SelectFilter:J8,MainFilter:Q8,IsOpen:eR,SubFilters:tR,Input:rR,Main:nR,Sub:iR,Actions:oR,Icon:sR,LeftIcon:aR,CircleAlertOutline:lR,Rotate:cR,rotate:uR},fR=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:i,isRowRendered:l,isFilterSort:u,filterType:f,resources:g,placeholder:m}=r,[R,w]=A.useState([]),[b,S]=A.useMemo(()=>t,[t]),_=A.useMemo(()=>f==="Select",[f]),M=A.useMemo(()=>er.keys(b).map(De=>String(De)),[b]),[E,x]=A.useState(_&&M.length>0?M[0]:null),L=A.useCallback((De,Fe,ze)=>{if(!S)return;const Ge={...b};De.value=Fe,S(Ge),w(Le=>Le.map((Ae,be)=>be===(ze?ze+1:0)?"":Ae))},[b,S]),O=A.useMemo(()=>{let De=[],Fe=er.keys(b);_&&E&&(Fe=Fe.filter(ze=>ze===E));for(const ze of Fe)De.push({key:ze,def:e[ze],filter:b[ze]});return De},[b,e,_,E]),B=A.useMemo(()=>O.length>0?O[0]:null,[O]),H=A.useMemo(()=>R.length>0?R[0]:"",[R]),z=A.useMemo(()=>O.length>1?O.slice(1):[],[O]),K=A.useMemo(()=>R.length>1?R.slice(1):[],[R]),ue=A.useMemo(()=>z.length>0,[z]),[J,fe]=A.useState(!1),[j,te]=A.useState(!1),X=A.useRef(null),re=A.useCallback(()=>fe(!1),[]),de=A.useRef(null),me=A.useCallback(()=>{te(!1),fe(!0),de.current&&(document.removeEventListener("mousedown",de.current),de.current=null)},[]),ye=A.useCallback(()=>{const De=Fe=>{const ze=document.getElementById("root"),Ge=Fe.target,Le=X.current;!ze||!Le||!Ge||!Le.contains(Ge)&&ze.contains(Ge)&&me()};return de.current=De,De},[me]),ce=A.useCallback(()=>{fe(!0),te(!0),setTimeout(()=>{const De=ye();document.addEventListener("mousedown",De)},0)},[ye]),Ee=A.useMemo(()=>j?me:ce,[j,ce,me]),le=A.useCallback(()=>{const De=O.map((Fe,ze)=>Fe.filter.type==="String"&&Fe.filter.validation?Fe.filter.validation(Fe.filter.value||""):Fe.filter.type==="Date"&&Fe.filter.validation||Fe.filter.type==="DateRange"&&Fe.filter.validation?Fe.filter.validation(Fe.filter.value):R[ze]);w(De),De.every(Fe=>!Fe)&&i.apply()},[R,i,O]),se=A.useCallback(De=>{De.key==="Enter"?(le(),De.stopPropagation()):De.key==="Escape"&&(te(!1),De.currentTarget.focus(),De.currentTarget.blur(),De.stopPropagation())},[le,te]),pe=A.useMemo(()=>({open:ce,close:me,toggle:Ee,validate:le}),[ce,me,Ee,le]),Ne=A.useCallback(()=>{le(),!R.some(Fe=>Fe)&&i.apply()},[le,R,i]),Ye=A.useCallback(()=>{i.clear()},[i]),we=A.useCallback(De=>{if(!S||!De)return;x(De);const Fe={...b};er.keys(Fe).forEach(ze=>{if(ze!==De&&Fe[ze])switch(Fe[ze].type){case"String":Fe[ze].value="";break;case"Select":Fe[ze].value=null;break;case"Date":Fe[ze].value=void 0;break;case"DateRange":Fe[ze].value=void 0;break}}),w([]),S(Fe),i.clear(),setTimeout(()=>{var Ge;const ze=(Ge=X.current)==null?void 0:Ge.querySelector("input");ze&&ze.focus()},0)},[b,S,w,i]);return B?v.jsxs(v.Fragment,{children:[_&&v.jsx(rc,{className:Be.clsx(kr.SelectFilter),options:M,isAutoWidth:!0,useSelect:[E,we],type:"Secondary",OptionRenderer:({option:De})=>{const Fe=e[De];let ze;if(Fe!=null&&Fe.hContent){const Ge={defKey:De,def:Fe};ze=typeof Fe.hContent=="function"?Fe.hContent(Ge):Fe.hContent}else{const Ge=b[De],Le=(Fe==null?void 0:Fe.name)||(Ge==null?void 0:Ge.placeholder)||String(De);ze=v.jsx("span",{children:Le})}return ze}}),v.jsxs("div",{className:Be.clsx(kr.Filter),ref:X,onKeyDown:se,onClick:De=>{De.preventDefault(),De.stopPropagation()},style:{minWidth:l?u?180:void 0:180,maxWidth:l?u?300:void 0:300},tabIndex:-1,children:[v.jsx(dR,{filterSet:B,hasToggleFilteration:n,onChange:L,filterF:i,hasSubFilters:ue,popupF:pe,isOpen:j,resources:g,errorMessage:H,hasSelectFilterType:_,onSearchClick:Ne,placeholder:m}),!_&&v.jsx(hR,{subFilterSets:z,onChange:L,onClearClick:Ye,onSearchClick:Ne,isOpen:j,isTransitioning:J,onTransitionEnd:re,resources:g,errorMessages:K,placeholder:m})]})]}):null},dR=r=>{var S,_,M,E;const{filterSet:e,hasToggleFilteration:t,hasSelectFilterType:n,onChange:i,filterF:l,hasSubFilters:u,popupF:f,isOpen:g,resources:m,errorMessage:R,onSearchClick:w,placeholder:b}=r;if(e.filter.type==="String"){const x=[e.filter.value??"",H=>i(e.filter,H)],L=b??e.filter.placeholder??((S=e.def)==null?void 0:S.name),O=e.filter.icon,B=e.filter.iconTooltip??L;return v.jsxs("div",{className:Be.clsx(kr.MainFilter,g&&kr.IsOpen),children:[v.jsx(ya,{icon:O??"Type",tooltip:B,isOpen:g}),v.jsx(tc,{className:Be.clsx(kr.Input,kr.Main),useValue:x,placeholder:L??m["Search(Placeholder)"],wrapProps:{style:{width:"100%",boxSizing:"border-box"}},LeftAddon:t&&v.jsx(Rd,{isOpen:g,filterF:l,popupF:f,resources:m}),RightAddon:v.jsx(Id,{hasSubFilters:u,popupF:f,isOpen:g,resources:m,errorMessage:R,hasSelectFilterType:n}),autoFocus:e.filter.autoFocus,maxLength:e.filter.maxLength,type:R?"Error":"Primary"})]})}else if(e.filter.type==="Select"){const x=[e.filter.value??null,H=>{i(e.filter,H),n&&setTimeout(()=>w(),0)}],L=b??e.filter.placeholder??((_=e.def)==null?void 0:_.name),O=e.filter.icon,B=e.filter.iconTooltip??L;return v.jsxs("div",{className:Be.clsx(kr.MainFilter,g&&kr.IsOpen),children:[v.jsx(ya,{icon:O??"Menu",tooltip:B,isOpen:g}),v.jsx(rc,{className:Be.clsx(kr.Input,kr.Main),options:e.filter.options,useSelect:x,placeholder:L,OptionRenderer:e.filter.OptionRenderer,SelectedRenderer:({OptionRenderer:H,selectedOption:z})=>z===null?L||e.filter.placeholder:v.jsxs(v.Fragment,{children:[t&&v.jsx(Rd,{isOpen:g,filterF:l,popupF:f,resources:m}),v.jsx(H,{option:z}),v.jsx(Id,{hasSubFilters:u,popupF:f,isOpen:g,resources:m,hideSearchButton:!0,hasSelectFilterType:n})]})})]})}else if(e.filter.type==="Date"){const x=[e.filter.value,H=>i(e.filter,H)],L=b??e.filter.placeholder??((M=e.def)==null?void 0:M.name),O=e.filter.icon,B=e.filter.iconTooltip??L;return v.jsxs("div",{className:Be.clsx(kr.MainFilter,g&&kr.IsOpen),children:[v.jsx(ya,{icon:O??"CalendarDay",tooltip:B,isOpen:g}),v.jsx(vm,{type:"Raw",className:Be.clsx(kr.DatePicker,kr.Input,kr.Main),useDate:x,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:L,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(Rd,{isOpen:g,filterF:l,popupF:f,resources:m}),!t&&v.jsx(mn,{w:g?0:6}),v.jsx(ya,{icon:O??"CalendarDay",tooltip:B,isOpen:!g}),v.jsx(mn,{w:g?8:0})]}),RightAddon:v.jsx(Id,{hasSubFilters:u,popupF:f,isOpen:g,resources:m,hasSelectFilterType:n})})]})}else if(e.filter.type==="DateRange"){const x=[e.filter.value,z=>i(e.filter,z)],{noDefaultChoices:L}=e.filter,O=b??e.filter.placeholder??((E=e.def)==null?void 0:E.name),B=e.filter.icon,H=e.filter.iconTooltip??O;return v.jsxs("div",{className:Be.clsx(kr.MainFilter,g&&kr.IsOpen),children:[v.jsx(ya,{icon:B??"CalendarDay",tooltip:H,isOpen:g}),v.jsx(gm,{type:"Raw",className:Be.clsx(kr.DatePicker,kr.Input,kr.Main),useDateRange:x,minDate:e.filter.minDate,maxDate:e.filter.maxDate,placeholder:O,noDefaultChoices:L,LeftAddon:v.jsxs(v.Fragment,{children:[t&&v.jsx(Rd,{isOpen:g,filterF:l,popupF:f,resources:m}),!t&&v.jsx(mn,{w:g?0:6}),v.jsx(ya,{icon:B??"CalendarDay",tooltip:H,isOpen:!g}),v.jsx(mn,{w:g?8:0})]}),RightAddon:v.jsx(Id,{hasSubFilters:u,popupF:f,isOpen:g,resources:m,hasSelectFilterType:n})})]})}return null},Rd=r=>{const{filterF:e,popupF:t,resources:n,isOpen:i}=r;return v.jsx(_i,{type:"Raw",className:kr.Icon,icon:"Convert",tooltip:n["Toggle Filter"],onMouseDown:l=>l.currentTarget.classList.remove(kr.Rotate),style:{width:i?0:24,marginLeft:i?0:8},onClick:l=>{l.currentTarget.classList.add(kr.Rotate),e.toggle(),t.close(),l.stopPropagation()}})},Id=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:i,errorMessage:l,hideSearchButton:u,hasSelectFilterType:f}=r,g=A.useCallback(w=>{w.stopPropagation(),t.open()},[t]),m=A.useCallback(w=>{w.stopPropagation(),t.close()},[t]),R=A.useCallback(w=>{w.stopPropagation(),t.validate()},[t]);return v.jsxs(A.Fragment,{children:[l&&v.jsx(_i,{type:"Raw",className:kr.CircleAlertOutline,iconSize:"xs",icon:"CircleAlertOutline",tooltip:l}),e&&!f&&v.jsx(_i,{type:"Raw",className:kr.Icon,icon:"ListAdd",onClick:g,style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0}}),e&&!f&&v.jsx(_i,{type:"Raw",className:kr.Icon,icon:"ListRemove",onClick:m,style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"}}),!u&&v.jsx(_i,{type:"Raw",className:kr.Icon,icon:"Search",tooltip:i["Search(Button)"],onClick:R,style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4}})]})},hR=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,onSearchClick:i,isOpen:l,isTransitioning:u,onTransitionEnd:f,resources:g,errorMessages:m,placeholder:R}=r;return!l&&!u?null:v.jsxs("div",{className:kr.SubFilters,onTransitionEnd:f,style:{opacity:+l,visibility:+l?"visible":"hidden"},children:[e.map((w,b)=>{var S,_,M,E;if(w.filter.type==="String"){const x=[w.filter.value??"",z=>t(w.filter,z,b)],L=m[b],O=R??w.filter.placeholder??((S=w.def)==null?void 0:S.name),B=w.filter.icon,H=w.filter.iconTooltip??O;return v.jsxs(Sn,{style:{marginBottom:6},children:[v.jsx(ya,{tooltip:H,icon:B??"Type"}),v.jsx(tc,{className:Be.clsx(kr.Input,kr.Sub),wrapProps:{style:{width:"100%"}},useValue:x,placeholder:O??g["Search(Placeholder)"],type:L?"Error":"Secondary",RightAddon:L&&v.jsx(_i,{type:"Raw",className:kr.CircleAlertOutline,iconSize:"xs",icon:"CircleAlertOutline",tooltip:L}),autoFocus:w.filter.autoFocus,maxLength:w.filter.maxLength}),v.jsx(mn,{h:8})]},b)}else if(w.filter.type==="Select"){const x=[w.filter.value??null,H=>t(w.filter,H)],L=R??w.filter.placeholder??((_=w.def)==null?void 0:_.name),O=w.filter.icon,B=w.filter.iconTooltip??L;return v.jsxs(Sn,{style:{marginBottom:6},children:[v.jsx(ya,{tooltip:B,icon:O??"Menu"}),v.jsx(rc,{className:Be.clsx(kr.Input,kr.Sub),options:w.filter.options,placeholder:L,OptionRenderer:w.filter.OptionRenderer,useSelect:x,arrowProps:{style:{marginRight:4}},type:"Secondary"}),v.jsx(mn,{h:8})]},b)}else if(w.filter.type==="Date"){const x=[w.filter.value,H=>t(w.filter,H)],L=R??w.filter.placeholder??((M=w.def)==null?void 0:M.name),O=w.filter.icon,B=w.filter.iconTooltip??L;return v.jsxs(Sn,{style:{marginBottom:6},children:[v.jsx(ya,{tooltip:B,icon:O??"CalendarDay"}),v.jsx(vm,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),placeholder:L,className:Be.clsx(kr.DatePicker,kr.Input,kr.Sub),useDate:x,minDate:w.filter.minDate,maxDate:w.filter.maxDate}),v.jsx(mn,{h:8})]},b)}else if(w.filter.type==="DateRange"){const x=[w.filter.value,z=>t(w.filter,z)],{noDefaultChoices:L}=w.filter,O=R??w.filter.placeholder??((E=w.def)==null?void 0:E.name),B=w.filter.icon,H=w.filter.iconTooltip??O;return v.jsxs(Sn,{style:{marginBottom:6},children:[v.jsx(ya,{tooltip:H,icon:B??"CalendarDay"}),v.jsx(gm,{type:"Raw",LeftAddon:v.jsx(mn,{w:12}),className:Be.clsx(kr.DatePicker,kr.Input,kr.Sub),useDateRange:x,placeholder:O,minDate:w.filter.minDate,maxDate:w.filter.maxDate,noDefaultChoices:L})]},b)}else return null}),v.jsxs(Sn,{className:kr.Actions,children:[v.jsx(Fi,{type:"Secondary",onClick:n,children:g["Clear(Button)"]}),v.jsx(Fi,{onClick:i,children:g["Search(Button)"]})]})]})},ya=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return v.jsx(_i,{type:"Raw",className:kr.LeftIcon,tooltip:t,icon:e,style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},pR="_ATableHeader_1hzfz_1",gR="_LeftHeaderContent_1hzfz_11",mR="_RightHeaderContent_1hzfz_19",vR="_TopRightAddon_1hzfz_27",yR="_HItem_1hzfz_32",Vc={ATableHeader:pR,LeftHeaderContent:gR,RightHeaderContent:mR,TopRightAddon:vR,HItem:yR},bR=r=>{const{defs:e,title:t,totalCount:n,useCheck:i,useFilteration:l,hasToggleFilteration:u,filterF:f,noFilter:g,noCount:m,isFiltered:R,TopLeftAddon:w,TopRightAddon:b,useSortation:S,resources:_=hn.ATable,filterType:M,placeholder:E}=r,[x]=A.useMemo(()=>i||[],[i]),L=A.useMemo(()=>R?_["Searched n items"](n):_["Total n items"](n),[_,R,n]),[O]=l,[B,H]=S,[z,K]=A.useState(!1),ue=A.useMemo(()=>{const ye=er.values(O).filter(le=>le.type==="DateRange"),ce=er.keys(O).filter(le=>ye.includes(O[le])),Ee=er.keys(e).filter(le=>e[le].isSortable);return ce.length>0?(ce.length>1&&K(!0),Ee.map(se=>ce.includes(se)?[se+"_Asc",se+"_Desc"]:se).flat()):Ee},[e,O]),J=A.useMemo(()=>r.isRowRendered&&ue.length>0,[ue.length,r.isRowRendered]),fe=A.useCallback((ye,ce)=>{H&&(B==null?void 0:B.defKey)===ye&&(B.isAsc===!0?H({defKey:ye,isAsc:!1,sortF:ce}):H({defKey:ye,isAsc:!0,sortF:ce}))},[B,H]),j=A.useRef(),[te,X]=A.useState(),[re,de]=A.useState(B?B.defKey:ue[0]),me=A.useMemo(()=>{if(!te)return{};const ye=e[te];return{SortUp:{onClick:()=>{H==null||H({defKey:te,isAsc:!0,sortF:ye.sortF}),de(te)},content:()=>_["Sort up"]},SortDown:{onClick:()=>{H==null||H({defKey:te,isAsc:!1,sortF:ye.sortF}),de(te)},content:()=>_["Sort down"]}}},[H,te,e,_]);return v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:Be.clsx(Vc.ATableHeader),children:[v.jsxs("div",{className:Be.clsx(Vc.LeftHeaderContent,"NoSelect"),children:[v.jsxs(Sn,{style:{marginBottom:J?8:0},children:[w&&v.jsx("div",{className:Be.clsx(Vc.HItem),children:w}),t&&v.jsx("div",{className:Be.clsx(Vc.HItem),style:{whiteSpace:"nowrap"},children:t}),!m&&v.jsxs("div",{className:Be.clsx(Vc.HItem),style:{maxHeight:14,...J&&{minHeight:14,color:"var(--label-neutral)"}},children:[L,x&&x.length>0&&v.jsxs(v.Fragment,{children:[" / ",_["Checked n items"](x.length)]})]})]}),J&&v.jsx(z2,{type:"Tertiary",options:ue,useSelect:[re,()=>{}],optionWidth:"fit-content",tabProps:{style:{marginRight:8}},optionProps:{style:{cursor:"default"},onClick:ye=>{var le;const ce=ye.currentTarget.textContent;if(ce===_[ce])return;ye.currentTarget.querySelector("svg")===null&&((le=j.current)==null||le.open(ye.currentTarget))}},OptionRenderer:ye=>{const ce=/_Asc|_Desc/.test(ye.option),Ee=(B==null?void 0:B.defKey)===ye.option,le=re===ye.option,se=B==null?void 0:B.isAsc,pe=()=>{if(ce){X(void 0),de(ye.option);const[we,De]=ye.option.split("_"),Fe=De==="Asc";H==null||H({defKey:we,isAsc:Fe,sortF:e[we].sortF})}else le?fe(ye.option,e[ye.option].sortF):X(ye.option)},Ye=ce?(we=>{const[De,Fe]=we.split("_");return(z?De+" ":"")+_[Fe]})(ye.option):_["Sort by x"](ye.option);return v.jsxs(Sn,{style:{height:"100%"},className:Be.clsx(!(ce&&le)&&"IsClickable"),onClick:pe,children:[Ye,le&&!ce&&v.jsx(jr,{style:{marginRight:-5,marginLeft:4},icon:Ee?se?"RowSortUp":"RowSortDown":"RowSortBoth"})]},ye.option)}})]}),v.jsx(Qc,{}),v.jsxs("div",{className:Be.clsx(Vc.RightHeaderContent,"NoSelect"),children:[!g&&v.jsx(fR,{defs:e,useFilteration:l,hasToggleFilteration:u,filterF:f,isRowRendered:r.isRowRendered,isFilterSort:ue.length>0,resources:_,filterType:M,placeholder:E}),b&&v.jsx(Sn,{className:Be.clsx(Vc.TopRightAddon),children:b})]})]}),v.jsx(B2,{defs:me,actionRef:j,onClose:()=>X(void 0),width:100,position:ef.S})]})},_R=r=>{const{defs:e,pk:t,defaultDef:n,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:f,useCheck:g,checkDisabled:m,isLoading:R,isDisabled:w,title:b,entireItems:S,onStateChange:_,pagedItems:M,totalCount:E,useFilteration:x,useToggleFilteration:L,filterType:O="Default",placeholder:B,rowHeight:H=40,usePagination:z,useSortation:K,showRows:ue,noHeader:J,noDefHeader:fe,noFooter:j,noFilter:te,noCount:X,noMarking:re,noStateChangeOnMount:de,TopLeftAddon:me,TopRightAddon:ye,actionRef:ce,RowRenderer:Ee,resources:le}=r,se=A.useMemo(()=>({...hn.ATable,...le}),[le]),pe=A.useCallback((ke,Ze)=>t!==void 0?Array.isArray(t)?t.every(St=>nl.isEqual(ke[St],Ze[St])):nl.isEqual(ke[t],Ze[t]):nl.isEqual(ke,Ze),[t]),Ne=A.useMemo(()=>({content:xR,...n}),[n]),Ye=A.useMemo(()=>{const ke={};return er.keys(e).forEach(Ze=>{const St=e[Ze],jt={...Ne,...St};ke[Ze]=jt}),ke},[Ne,e]),[we,De]=nn(nl.cloneDeep(x),{"":{type:"String",placeholder:se["Search(Placeholder)"],value:""}}),[Fe,ze]=nn(nl.cloneDeep(L),void 0),[Ge,Le]=A.useState(!1),[Ae,be]=A.useMemo(()=>Ge&&Fe?[Fe,ze]:[we,De],[we,Ge,De,ze,Fe]),[We,ht]=A.useState(Ae),Ct=A.useMemo(()=>S?tl.applyFilteration(S,Ye,We):[],[S,Ye,We]),it=A.useMemo(()=>{for(const ke in We){const Ze=We[ke];if(Ze.value!==void 0&&Ze.value!==null&&Ze.value!=="")return!0}return!1},[We]),[Ie,Pe]=nn(K,void 0),at=A.useMemo(()=>tl.applySortation(Ct,Ye,Ie),[Ct,Ye,Ie]),gt=A.useMemo(()=>{if(M!==void 0)return tl.applySortation(M,Ye,Ie)},[M,Ye,Ie]),[wt,Et]=nn(z,{page:1,pageSize:50,pageRange:10}),xt=A.useMemo(()=>({pageSize:50,page:1,pageRange:10,...wt}),[wt]),{pagedItems:It,totalCount:je,pagination:Qe}=A.useMemo(()=>{const ke={...xt};if(gt!==void 0){let Ze=E??gt.length;const St=tl.getPages(Ze,ke.pageSize);return ke.page>St.length?ke.page=St.length:ke.page<1&&(ke.page=1),{pagedItems:gt,totalCount:Ze,pagination:ke}}else if(S!==void 0){const Ze=E??at.length,St=tl.getPages(Ze,ke.pageSize);return ke.page>St.length?ke.page=St.length:ke.page<1&&(ke.page=1),{pagedItems:tl.applyPagination(at,ke.page,ke.pageSize),totalCount:Ze,pagination:ke}}else return{pagedItems:[],totalCount:E??0,pagination:xt}},[S,gt,E,xt,at]),{pages:mt,rangedPages:Ft}=A.useMemo(()=>tl.getRangedPages(Qe.page,je,Qe.pageSize,Qe.pageRange),[je,Qe.pageSize,Qe.page,Qe.pageRange]),[bt,$e]=A.useMemo(()=>g??[],[g]),Lt=A.useMemo(()=>It.filter(ke=>bt==null?void 0:bt.some(Ze=>pe(Ze,ke))),[It,bt,pe]),Dt=A.useMemo(()=>It.filter(ke=>!(m!=null&&m(ke))),[It,m]),pr=A.useMemo(()=>Dt.length>0&&Dt.every(ke=>Lt.some(Ze=>pe(Ze,ke))),[Lt,Dt,pe]),xr=A.useMemo(()=>pr?!1:Dt.some(ke=>Lt.some(Ze=>pe(Ze,ke))),[Lt,Dt,pr,pe]),wr=A.useCallback(()=>{!bt||!$e||w||$e(pr||xr?bt.filter(ke=>!Dt.some(Ze=>pe(Ze,ke))):[...bt,...Dt])},[bt,$e,pr,xr,Dt,w,pe]),ge=A.useCallback(ke=>{!bt||!$e||w||(bt.some(Ze=>pe(Ze,ke))?$e(bt.filter(Ze=>!pe(Ze,ke))):$e([...bt,ke]))},[bt,$e,w,pe]);A.useEffect(()=>{if(!$e||!bt||!m)return;bt.filter(Ze=>m(Ze)).length>0&&$e(bt.filter(Ze=>!m(Ze)))},[m,bt,$e]);const ne=A.useMemo(()=>({hContent:bt&&v.jsx(Zu,{useCheck:[pr,wr],isIndeterminate:xr}),content:ke=>{const{item:Ze}=ke,St=m==null?void 0:m(Ze),jt=typeof St=="string"?St:void 0,At=bt==null?void 0:bt.some(qt=>pe(qt,Ze));return v.jsx(Zu,{style:{zIndex:1},isDisabled:St,tooltip:jt,onClick:qt=>qt.stopPropagation(),useCheck:[At,()=>ge(Ze)]})},minWidth:32,maxWidth:32}),[bt,pr,xr,pe,wr,m,ge]),et=A.useMemo(()=>g?{checkDef:ne,...Ye}:Ye,[Ye,ne,g]),[ct,tt]=A.useState(!1),Me=A.useMemo(()=>R??ct,[R,ct]),pt=A.useCallback(async ke=>{_&&(tt(!0),await _(ke),tt(!1)),Et==null||Et(ke.pagination),Pe==null||Pe(ke.sortation),ht(ke.filteration)},[_,Et,Pe]);A.useEffect(()=>{if(!ce)return;const ke=St=>{const jt={entireItems:S,filteration:Ae,pagination:Qe,sortation:Ie},At=St?St(jt):jt;pt(At)},Ze=St=>{const jt={...Qe,page:1},At=St?St(Ae):Ae;pt({entireItems:S,filteration:At,pagination:jt,sortation:Ie}),be==null||be(At)};ce.current={fireOnStateChange:ke,applyFilteration:Ze}},[ce,pt,S,be,Ae,Qe,Ie]);const kt=A.useCallback(ke=>{ke.page===Qe.page&&ke.pageSize===Qe.pageSize||(ke.page<1?ke.page=1:ke.page>mt[mt.length-1]&&(ke.page=mt[mt.length-1]),pt({entireItems:S,filteration:We,pagination:ke,sortation:Ie}))},[Qe,mt,pt,S,We,Ie]),_t=A.useCallback(ke=>{be&&be(ke)},[be]),Bt=A.useCallback(ke=>{pt({entireItems:S,filteration:We,pagination:Qe,sortation:ke})},[pt,S,We,Qe]),Wt=A.useCallback(ke=>{kt({...Qe,page:ke})},[kt,Qe]),rr=A.useCallback(()=>{Wt(Qe.page-1)},[Wt,Qe.page]),Ht=A.useCallback(()=>{Wt(Qe.page+1)},[Wt,Qe.page]),$t=A.useCallback(()=>{Wt(1)},[Wt]),nr=A.useCallback(()=>{Wt(mt[mt.length-1])},[Wt,mt]),rt=A.useMemo(()=>({move:Wt,movePrev:rr,moveNext:Ht,moveFirst:$t,moveLast:nr}),[Wt,rr,Ht,$t,nr]),Tt=A.useCallback(()=>{const ke={...Qe,page:1};pt({entireItems:S,filteration:Ae,pagination:ke,sortation:Ie})},[Ae,Qe,pt,S,Ie]),yt=A.useCallback(()=>{Le(!Ge)},[Ge]),Mt=A.useCallback(()=>{Ge&&Fe?ze==null||ze(l0(Fe)):be==null||be(l0(we))},[Ge,Fe,ze,we,be]),vr=A.useMemo(()=>({apply:Tt,toggle:yt,clear:Mt}),[Tt,yt,Mt]);$2(()=>{de||pt({entireItems:S,filteration:Ae,pagination:Qe,sortation:Ie})});const Y=A.useMemo(()=>er.map(Ye,([Ze])=>Ye[Ze].minWidth??Yl).reduce((Ze,St)=>Ze+St,0),[Ye]),Ue=A.useMemo(()=>Ee!==void 0,[Ee]);return v.jsxs($r,{className:S8.ATable,isDisabled:w,style:{minWidth:Y},children:[!J&&v.jsx(bR,{defs:Ye,title:b,totalCount:je,useCheck:g&&bt?[bt,$e]:void 0,useFilteration:[Ae,_t],useSortation:[Ie,Bt],isRowRendered:Ue,hasToggleFilteration:Fe!==void 0,filterF:vr,noFilter:te,noCount:X,isFiltered:it,TopLeftAddon:me,TopRightAddon:ye,resources:se,filterType:O,placeholder:B}),v.jsx(z8,{defs:et,isEqual:pe,rProps:i,useSelect:l,isSelectMulti:u,selectDisabled:f,isTableDisabled:w,appliedFilteration:We,useSortation:[Ie,Bt],pagination:Qe,pagedItems:It,showRows:ue,isLoading:Me,noMarking:re,noDefHeader:fe,resources:se,RowRenderer:Ee,isRowRendered:Ue,rowHeight:H}),!j&&v.jsx(Y8,{pages:mt,rangedPages:Ft,pageF:rt,pagination:Qe})]})},xR=r=>{const{defKey:e,item:t}=r;if(er.hasKey(t,e)){const n=t[e];return er.isReactNode(n)?n:null}else return null};function l0(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const SR="_AText_1asz6_1",CR={AText:SR},G2=r=>{const{text:e,styled:t,style:n}=r,i=A.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?v.jsx("b",{children:e}):v.jsx("span",{style:n,children:e});if(typeof t=="string"){const l=e.split(t);return n==="bold"?l.map((u,f)=>v.jsxs(A.Fragment,{children:[Ld(u),f<l.length-1?v.jsx("b",{children:Ld(t)}):""]},f)):l.map((u,f)=>v.jsxs(A.Fragment,{children:[Ld(u),f<l.length-1&&v.jsx("span",{style:n,children:Ld(t)})]},f))}}else return e;else return e;else return""},[e,n,t]);return v.jsx("div",{className:Be.clsx("Body1Reading",CR.AText,"NoSelect"),children:i})};function Ld(r){const e=r.split(`
|
162
|
+
`);return e.map((t,n)=>v.jsxs(A.Fragment,{children:[t,n!==e.length-1&&v.jsx("br",{})]},n))}const wR="_Base_sw5fu_7",AR="_ATextArea_sw5fu_11",TR="_Primary_sw5fu_34",ER="_UnAvailable_sw5fu_39",kR="_Secondary_sw5fu_47",RR="_ReadOnly_sw5fu_59",Md={Base:wR,ATextArea:AR,Primary:TR,UnAvailable:ER,Secondary:kR,ReadOnly:RR,Error:"_Error_sw5fu_66"},IR=["Primary","Secondary","ReadOnly","Error"],LR=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:i,useValue:l,rows:u,isReadonly:f,placeholder:g,maxLength:m,tabIndex:R,autoFocus:w,textAreaProps:b,wrapProps:S,helperText:_,label:M,wrapType:E,labelProps:x,...L}=r,O=A.useMemo(()=>MR(t)?"Error":n,[t,n]),B=A.useMemo(()=>O==="ReadOnly"?!0:f,[O,f]),H=A.useMemo(()=>L.isDisabled||L.isLoading,[L.isDisabled,L.isLoading]),[z,K]=nn(l,""),ue=A.useCallback(j=>{K&&K(j)},[K]),J=A.useCallback(j=>{var te;H||(ue(j.target.value),(te=b==null?void 0:b.onChange)==null||te.call(b,j))},[H,ue,b]),fe=A.useCallback(j=>{var te;if(!H){if((te=b==null?void 0:b.onKeyDown)==null||te.call(b,j),j.key==="Tab"){const X=j.currentTarget.selectionStart,re=j.currentTarget.selectionEnd;j.currentTarget.value=j.currentTarget.value.substring(0,X)+" "+j.currentTarget.value.substring(re),j.currentTarget.selectionStart=j.currentTarget.selectionEnd=X+1,j.preventDefault()}else j.key==="Enter"&&(e==null||e(j.currentTarget.value),j.stopPropagation());j.key!=="Escape"&&j.stopPropagation()}},[H,e,b]);return v.jsx(ec,{wrapProps:S,label:M,helperText:_,errorMessage:t,labelProps:x,wrapType:E??O==="Error"?"Error":"Default",children:v.jsx($r,{...L,className:Be.clsx(Md.Base,L.className),children:v.jsx("textarea",{...b,className:Be.clsx(Md.ATextArea,Md[O],H&&Md.UnAvailable,b==null?void 0:b.className),value:z,rows:u,readOnly:B,onChange:J,onKeyDown:fe,placeholder:g,maxLength:m,tabIndex:L.isDisabled||L.isLoading?-1:R,autoFocus:w,ref:i})})})};function MR(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}var Z2=typeof global=="object"&&global&&global.Object===Object&&global,DR=typeof self=="object"&&self&&self.Object===Object&&self,Aa=Z2||DR||Function("return this")(),nc=Aa.Symbol,K2=Object.prototype,OR=K2.hasOwnProperty,PR=K2.toString,Mf=nc?nc.toStringTag:void 0;function NR(r){var e=OR.call(r,Mf),t=r[Mf];try{r[Mf]=void 0;var n=!0}catch{}var i=PR.call(r);return n&&(e?r[Mf]=t:delete r[Mf]),i}var FR=Object.prototype,jR=FR.toString;function BR(r){return jR.call(r)}var HR="[object Null]",qR="[object Undefined]",c0=nc?nc.toStringTag:void 0;function tf(r){return r==null?r===void 0?qR:HR:c0&&c0 in Object(r)?NR(r):BR(r)}function il(r){return r!=null&&typeof r=="object"}var Yc=Array.isArray;function ic(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function Y2(r){return r}var zR="[object AsyncFunction]",$R="[object Function]",UR="[object GeneratorFunction]",WR="[object Proxy]";function bm(r){if(!ic(r))return!1;var e=tf(r);return e==$R||e==UR||e==zR||e==WR}var ep=Aa["__core-js_shared__"],u0=function(){var r=/[^.]+$/.exec(ep&&ep.keys&&ep.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function VR(r){return!!u0&&u0 in r}var GR=Function.prototype,ZR=GR.toString;function eu(r){if(r!=null){try{return ZR.call(r)}catch{}try{return r+""}catch{}}return""}var KR=/[\\^$.*+?()[\]{}|]/g,YR=/^\[object .+?Constructor\]$/,XR=Function.prototype,JR=Object.prototype,QR=XR.toString,e9=JR.hasOwnProperty,t9=RegExp("^"+QR.call(e9).replace(KR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function r9(r){if(!ic(r)||VR(r))return!1;var e=bm(r)?t9:YR;return e.test(eu(r))}function n9(r,e){return r==null?void 0:r[e]}function tu(r,e){var t=n9(r,e);return r9(t)?t:void 0}var H1=tu(Aa,"WeakMap"),f0=Object.create,i9=function(){function r(){}return function(e){if(!ic(e))return{};if(f0)return f0(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function o9(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 X2(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var s9=800,a9=16,l9=Date.now;function c9(r){var e=0,t=0;return function(){var n=l9(),i=a9-(n-t);if(t=n,i>0){if(++e>=s9)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function u9(r){return function(){return r}}var Qd=function(){try{var r=tu(Object,"defineProperty");return r({},"",{}),r}catch{}}(),f9=Qd?function(r,e){return Qd(r,"toString",{configurable:!0,enumerable:!1,value:u9(e),writable:!0})}:Y2,d9=c9(f9);function h9(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var p9=9007199254740991,g9=/^(?:0|[1-9]\d*)$/;function J2(r,e){var t=typeof r;return e=e??p9,!!e&&(t=="number"||t!="symbol"&&g9.test(r))&&r>-1&&r%1==0&&r<e}function _m(r,e,t){e=="__proto__"&&Qd?Qd(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function nd(r,e){return r===e||r!==r&&e!==e}var m9=Object.prototype,v9=m9.hasOwnProperty;function Q2(r,e,t){var n=r[e];(!(v9.call(r,e)&&nd(n,t))||t===void 0&&!(e in r))&&_m(r,e,t)}function id(r,e,t,n){var i=!t;t||(t={});for(var l=-1,u=e.length;++l<u;){var f=e[l],g=void 0;g===void 0&&(g=r[f]),i?_m(t,f,g):Q2(t,f,g)}return t}var d0=Math.max;function y9(r,e,t){return e=d0(e===void 0?r.length-1:e,0),function(){for(var n=arguments,i=-1,l=d0(n.length-e,0),u=Array(l);++i<l;)u[i]=n[e+i];i=-1;for(var f=Array(e+1);++i<e;)f[i]=n[i];return f[e]=t(u),o9(r,this,f)}}function b9(r,e){return d9(y9(r,e,Y2),r+"")}var _9=9007199254740991;function ex(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=_9}function ch(r){return r!=null&&ex(r.length)&&!bm(r)}function x9(r,e,t){if(!ic(t))return!1;var n=typeof e;return(n=="number"?ch(t)&&J2(e,t.length):n=="string"&&e in t)?nd(t[e],r):!1}function S9(r){return b9(function(e,t){var n=-1,i=t.length,l=i>1?t[i-1]:void 0,u=i>2?t[2]:void 0;for(l=r.length>3&&typeof l=="function"?(i--,l):void 0,u&&x9(t[0],t[1],u)&&(l=i<3?void 0:l,i=1),e=Object(e);++n<i;){var f=t[n];f&&r(e,f,n,l)}return e})}var C9=Object.prototype;function xm(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||C9;return r===t}function w9(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var A9="[object Arguments]";function h0(r){return il(r)&&tf(r)==A9}var tx=Object.prototype,T9=tx.hasOwnProperty,E9=tx.propertyIsEnumerable,q1=h0(function(){return arguments}())?h0:function(r){return il(r)&&T9.call(r,"callee")&&!E9.call(r,"callee")};function k9(){return!1}var rx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,p0=rx&&typeof module=="object"&&module&&!module.nodeType&&module,R9=p0&&p0.exports===rx,g0=R9?Aa.Buffer:void 0,I9=g0?g0.isBuffer:void 0,Yf=I9||k9,L9="[object Arguments]",M9="[object Array]",D9="[object Boolean]",O9="[object Date]",P9="[object Error]",N9="[object Function]",F9="[object Map]",j9="[object Number]",B9="[object Object]",H9="[object RegExp]",q9="[object Set]",z9="[object String]",$9="[object WeakMap]",U9="[object ArrayBuffer]",W9="[object DataView]",V9="[object Float32Array]",G9="[object Float64Array]",Z9="[object Int8Array]",K9="[object Int16Array]",Y9="[object Int32Array]",X9="[object Uint8Array]",J9="[object Uint8ClampedArray]",Q9="[object Uint16Array]",e7="[object Uint32Array]",xn={};xn[V9]=xn[G9]=xn[Z9]=xn[K9]=xn[Y9]=xn[X9]=xn[J9]=xn[Q9]=xn[e7]=!0;xn[L9]=xn[M9]=xn[U9]=xn[D9]=xn[W9]=xn[O9]=xn[P9]=xn[N9]=xn[F9]=xn[j9]=xn[B9]=xn[H9]=xn[q9]=xn[z9]=xn[$9]=!1;function t7(r){return il(r)&&ex(r.length)&&!!xn[tf(r)]}function Sm(r){return function(e){return r(e)}}var nx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$f=nx&&typeof module=="object"&&module&&!module.nodeType&&module,r7=$f&&$f.exports===nx,tp=r7&&Z2.process,Ku=function(){try{var r=$f&&$f.require&&$f.require("util").types;return r||tp&&tp.binding&&tp.binding("util")}catch{}}(),m0=Ku&&Ku.isTypedArray,Cm=m0?Sm(m0):t7,n7=Object.prototype,i7=n7.hasOwnProperty;function ix(r,e){var t=Yc(r),n=!t&&q1(r),i=!t&&!n&&Yf(r),l=!t&&!n&&!i&&Cm(r),u=t||n||i||l,f=u?w9(r.length,String):[],g=f.length;for(var m in r)(e||i7.call(r,m))&&!(u&&(m=="length"||i&&(m=="offset"||m=="parent")||l&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||J2(m,g)))&&f.push(m);return f}function ox(r,e){return function(t){return r(e(t))}}var o7=ox(Object.keys,Object),s7=Object.prototype,a7=s7.hasOwnProperty;function l7(r){if(!xm(r))return o7(r);var e=[];for(var t in Object(r))a7.call(r,t)&&t!="constructor"&&e.push(t);return e}function wm(r){return ch(r)?ix(r):l7(r)}function c7(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var u7=Object.prototype,f7=u7.hasOwnProperty;function d7(r){if(!ic(r))return c7(r);var e=xm(r),t=[];for(var n in r)n=="constructor"&&(e||!f7.call(r,n))||t.push(n);return t}function od(r){return ch(r)?ix(r,!0):d7(r)}var Xf=tu(Object,"create");function h7(){this.__data__=Xf?Xf(null):{},this.size=0}function p7(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var g7="__lodash_hash_undefined__",m7=Object.prototype,v7=m7.hasOwnProperty;function y7(r){var e=this.__data__;if(Xf){var t=e[r];return t===g7?void 0:t}return v7.call(e,r)?e[r]:void 0}var b7=Object.prototype,_7=b7.hasOwnProperty;function x7(r){var e=this.__data__;return Xf?e[r]!==void 0:_7.call(e,r)}var S7="__lodash_hash_undefined__";function C7(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Xf&&e===void 0?S7:e,this}function Xc(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])}}Xc.prototype.clear=h7;Xc.prototype.delete=p7;Xc.prototype.get=y7;Xc.prototype.has=x7;Xc.prototype.set=C7;function w7(){this.__data__=[],this.size=0}function uh(r,e){for(var t=r.length;t--;)if(nd(r[t][0],e))return t;return-1}var A7=Array.prototype,T7=A7.splice;function E7(r){var e=this.__data__,t=uh(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():T7.call(e,t,1),--this.size,!0}function k7(r){var e=this.__data__,t=uh(e,r);return t<0?void 0:e[t][1]}function R7(r){return uh(this.__data__,r)>-1}function I7(r,e){var t=this.__data__,n=uh(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function ll(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])}}ll.prototype.clear=w7;ll.prototype.delete=E7;ll.prototype.get=k7;ll.prototype.has=R7;ll.prototype.set=I7;var Jf=tu(Aa,"Map");function L7(){this.size=0,this.__data__={hash:new Xc,map:new(Jf||ll),string:new Xc}}function M7(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function fh(r,e){var t=r.__data__;return M7(e)?t[typeof e=="string"?"string":"hash"]:t.map}function D7(r){var e=fh(this,r).delete(r);return this.size-=e?1:0,e}function O7(r){return fh(this,r).get(r)}function P7(r){return fh(this,r).has(r)}function N7(r,e){var t=fh(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function ru(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])}}ru.prototype.clear=L7;ru.prototype.delete=D7;ru.prototype.get=O7;ru.prototype.has=P7;ru.prototype.set=N7;function sx(r,e){for(var t=-1,n=e.length,i=r.length;++t<n;)r[i+t]=e[t];return r}var Am=ox(Object.getPrototypeOf,Object),F7="[object Object]",j7=Function.prototype,B7=Object.prototype,ax=j7.toString,H7=B7.hasOwnProperty,q7=ax.call(Object);function z7(r){if(!il(r)||tf(r)!=F7)return!1;var e=Am(r);if(e===null)return!0;var t=H7.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&ax.call(t)==q7}function $7(){this.__data__=new ll,this.size=0}function U7(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function W7(r){return this.__data__.get(r)}function V7(r){return this.__data__.has(r)}var G7=200;function Z7(r,e){var t=this.__data__;if(t instanceof ll){var n=t.__data__;if(!Jf||n.length<G7-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new ru(n)}return t.set(r,e),this.size=t.size,this}function _a(r){var e=this.__data__=new ll(r);this.size=e.size}_a.prototype.clear=$7;_a.prototype.delete=U7;_a.prototype.get=W7;_a.prototype.has=V7;_a.prototype.set=Z7;function K7(r,e){return r&&id(e,wm(e),r)}function Y7(r,e){return r&&id(e,od(e),r)}var lx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,v0=lx&&typeof module=="object"&&module&&!module.nodeType&&module,X7=v0&&v0.exports===lx,y0=X7?Aa.Buffer:void 0,b0=y0?y0.allocUnsafe:void 0;function cx(r,e){if(e)return r.slice();var t=r.length,n=b0?b0(t):new r.constructor(t);return r.copy(n),n}function J7(r,e){for(var t=-1,n=r==null?0:r.length,i=0,l=[];++t<n;){var u=r[t];e(u,t,r)&&(l[i++]=u)}return l}function ux(){return[]}var Q7=Object.prototype,eI=Q7.propertyIsEnumerable,_0=Object.getOwnPropertySymbols,Tm=_0?function(r){return r==null?[]:(r=Object(r),J7(_0(r),function(e){return eI.call(r,e)}))}:ux;function tI(r,e){return id(r,Tm(r),e)}var rI=Object.getOwnPropertySymbols,fx=rI?function(r){for(var e=[];r;)sx(e,Tm(r)),r=Am(r);return e}:ux;function nI(r,e){return id(r,fx(r),e)}function dx(r,e,t){var n=e(r);return Yc(r)?n:sx(n,t(r))}function z1(r){return dx(r,wm,Tm)}function iI(r){return dx(r,od,fx)}var $1=tu(Aa,"DataView"),U1=tu(Aa,"Promise"),W1=tu(Aa,"Set"),x0="[object Map]",oI="[object Object]",S0="[object Promise]",C0="[object Set]",w0="[object WeakMap]",A0="[object DataView]",sI=eu($1),aI=eu(Jf),lI=eu(U1),cI=eu(W1),uI=eu(H1),Fs=tf;($1&&Fs(new $1(new ArrayBuffer(1)))!=A0||Jf&&Fs(new Jf)!=x0||U1&&Fs(U1.resolve())!=S0||W1&&Fs(new W1)!=C0||H1&&Fs(new H1)!=w0)&&(Fs=function(r){var e=tf(r),t=e==oI?r.constructor:void 0,n=t?eu(t):"";if(n)switch(n){case sI:return A0;case aI:return x0;case lI:return S0;case cI:return C0;case uI:return w0}return e});var fI=Object.prototype,dI=fI.hasOwnProperty;function hI(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&dI.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var eh=Aa.Uint8Array;function Em(r){var e=new r.constructor(r.byteLength);return new eh(e).set(new eh(r)),e}function pI(r,e){var t=e?Em(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var gI=/\w*$/;function mI(r){var e=new r.constructor(r.source,gI.exec(r));return e.lastIndex=r.lastIndex,e}var T0=nc?nc.prototype:void 0,E0=T0?T0.valueOf:void 0;function vI(r){return E0?Object(E0.call(r)):{}}function hx(r,e){var t=e?Em(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var yI="[object Boolean]",bI="[object Date]",_I="[object Map]",xI="[object Number]",SI="[object RegExp]",CI="[object Set]",wI="[object String]",AI="[object Symbol]",TI="[object ArrayBuffer]",EI="[object DataView]",kI="[object Float32Array]",RI="[object Float64Array]",II="[object Int8Array]",LI="[object Int16Array]",MI="[object Int32Array]",DI="[object Uint8Array]",OI="[object Uint8ClampedArray]",PI="[object Uint16Array]",NI="[object Uint32Array]";function FI(r,e,t){var n=r.constructor;switch(e){case TI:return Em(r);case yI:case bI:return new n(+r);case EI:return pI(r,t);case kI:case RI:case II:case LI:case MI:case DI:case OI:case PI:case NI:return hx(r,t);case _I:return new n;case xI:case wI:return new n(r);case SI:return mI(r);case CI:return new n;case AI:return vI(r)}}function px(r){return typeof r.constructor=="function"&&!xm(r)?i9(Am(r)):{}}var jI="[object Map]";function BI(r){return il(r)&&Fs(r)==jI}var k0=Ku&&Ku.isMap,HI=k0?Sm(k0):BI,qI="[object Set]";function zI(r){return il(r)&&Fs(r)==qI}var R0=Ku&&Ku.isSet,$I=R0?Sm(R0):zI,UI=1,WI=2,VI=4,gx="[object Arguments]",GI="[object Array]",ZI="[object Boolean]",KI="[object Date]",YI="[object Error]",mx="[object Function]",XI="[object GeneratorFunction]",JI="[object Map]",QI="[object Number]",vx="[object Object]",eL="[object RegExp]",tL="[object Set]",rL="[object String]",nL="[object Symbol]",iL="[object WeakMap]",oL="[object ArrayBuffer]",sL="[object DataView]",aL="[object Float32Array]",lL="[object Float64Array]",cL="[object Int8Array]",uL="[object Int16Array]",fL="[object Int32Array]",dL="[object Uint8Array]",hL="[object Uint8ClampedArray]",pL="[object Uint16Array]",gL="[object Uint32Array]",gn={};gn[gx]=gn[GI]=gn[oL]=gn[sL]=gn[ZI]=gn[KI]=gn[aL]=gn[lL]=gn[cL]=gn[uL]=gn[fL]=gn[JI]=gn[QI]=gn[vx]=gn[eL]=gn[tL]=gn[rL]=gn[nL]=gn[dL]=gn[hL]=gn[pL]=gn[gL]=!0;gn[YI]=gn[mx]=gn[iL]=!1;function Ud(r,e,t,n,i,l){var u,f=e&UI,g=e&WI,m=e&VI;if(u!==void 0)return u;if(!ic(r))return r;var R=Yc(r);if(R){if(u=hI(r),!f)return X2(r,u)}else{var w=Fs(r),b=w==mx||w==XI;if(Yf(r))return cx(r,f);if(w==vx||w==gx||b&&!i){if(u=g||b?{}:px(r),!f)return g?nI(r,Y7(u,r)):tI(r,K7(u,r))}else{if(!gn[w])return i?r:{};u=FI(r,w,f)}}l||(l=new _a);var S=l.get(r);if(S)return S;l.set(r,u),$I(r)?r.forEach(function(E){u.add(Ud(E,e,t,E,r,l))}):HI(r)&&r.forEach(function(E,x){u.set(x,Ud(E,e,t,x,r,l))});var _=m?g?iI:z1:g?od:wm,M=R?void 0:_(r);return h9(M||r,function(E,x){M&&(x=E,E=r[x]),Q2(u,x,Ud(E,e,t,x,r,l))}),u}var mL=1,vL=4;function Uu(r){return Ud(r,mL|vL)}var yL="__lodash_hash_undefined__";function bL(r){return this.__data__.set(r,yL),this}function _L(r){return this.__data__.has(r)}function th(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new ru;++e<t;)this.add(r[e])}th.prototype.add=th.prototype.push=bL;th.prototype.has=_L;function xL(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 SL(r,e){return r.has(e)}var CL=1,wL=2;function yx(r,e,t,n,i,l){var u=t&CL,f=r.length,g=e.length;if(f!=g&&!(u&&g>f))return!1;var m=l.get(r),R=l.get(e);if(m&&R)return m==e&&R==r;var w=-1,b=!0,S=t&wL?new th:void 0;for(l.set(r,e),l.set(e,r);++w<f;){var _=r[w],M=e[w];if(n)var E=u?n(M,_,w,e,r,l):n(_,M,w,r,e,l);if(E!==void 0){if(E)continue;b=!1;break}if(S){if(!xL(e,function(x,L){if(!SL(S,L)&&(_===x||i(_,x,t,n,l)))return S.push(L)})){b=!1;break}}else if(!(_===M||i(_,M,t,n,l))){b=!1;break}}return l.delete(r),l.delete(e),b}function AL(r){var e=-1,t=Array(r.size);return r.forEach(function(n,i){t[++e]=[i,n]}),t}function TL(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var EL=1,kL=2,RL="[object Boolean]",IL="[object Date]",LL="[object Error]",ML="[object Map]",DL="[object Number]",OL="[object RegExp]",PL="[object Set]",NL="[object String]",FL="[object Symbol]",jL="[object ArrayBuffer]",BL="[object DataView]",I0=nc?nc.prototype:void 0,rp=I0?I0.valueOf:void 0;function HL(r,e,t,n,i,l,u){switch(t){case BL:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case jL:return!(r.byteLength!=e.byteLength||!l(new eh(r),new eh(e)));case RL:case IL:case DL:return nd(+r,+e);case LL:return r.name==e.name&&r.message==e.message;case OL:case NL:return r==e+"";case ML:var f=AL;case PL:var g=n&EL;if(f||(f=TL),r.size!=e.size&&!g)return!1;var m=u.get(r);if(m)return m==e;n|=kL,u.set(r,e);var R=yx(f(r),f(e),n,i,l,u);return u.delete(r),R;case FL:if(rp)return rp.call(r)==rp.call(e)}return!1}var qL=1,zL=Object.prototype,$L=zL.hasOwnProperty;function UL(r,e,t,n,i,l){var u=t&qL,f=z1(r),g=f.length,m=z1(e),R=m.length;if(g!=R&&!u)return!1;for(var w=g;w--;){var b=f[w];if(!(u?b in e:$L.call(e,b)))return!1}var S=l.get(r),_=l.get(e);if(S&&_)return S==e&&_==r;var M=!0;l.set(r,e),l.set(e,r);for(var E=u;++w<g;){b=f[w];var x=r[b],L=e[b];if(n)var O=u?n(L,x,b,e,r,l):n(x,L,b,r,e,l);if(!(O===void 0?x===L||i(x,L,t,n,l):O)){M=!1;break}E||(E=b=="constructor")}if(M&&!E){var B=r.constructor,H=e.constructor;B!=H&&"constructor"in r&&"constructor"in e&&!(typeof B=="function"&&B instanceof B&&typeof H=="function"&&H instanceof H)&&(M=!1)}return l.delete(r),l.delete(e),M}var WL=1,L0="[object Arguments]",M0="[object Array]",Dd="[object Object]",VL=Object.prototype,D0=VL.hasOwnProperty;function GL(r,e,t,n,i,l){var u=Yc(r),f=Yc(e),g=u?M0:Fs(r),m=f?M0:Fs(e);g=g==L0?Dd:g,m=m==L0?Dd:m;var R=g==Dd,w=m==Dd,b=g==m;if(b&&Yf(r)){if(!Yf(e))return!1;u=!0,R=!1}if(b&&!R)return l||(l=new _a),u||Cm(r)?yx(r,e,t,n,i,l):HL(r,e,g,t,n,i,l);if(!(t&WL)){var S=R&&D0.call(r,"__wrapped__"),_=w&&D0.call(e,"__wrapped__");if(S||_){var M=S?r.value():r,E=_?e.value():e;return l||(l=new _a),i(M,E,t,n,l)}}return b?(l||(l=new _a),UL(r,e,t,n,i,l)):!1}function bx(r,e,t,n,i){return r===e?!0:r==null||e==null||!il(r)&&!il(e)?r!==r&&e!==e:GL(r,e,t,n,bx,i)}function ZL(r){return function(e,t,n){for(var i=-1,l=Object(e),u=n(e),f=u.length;f--;){var g=u[++i];if(t(l[g],g,l)===!1)break}return e}}var KL=ZL();function V1(r,e,t){(t!==void 0&&!nd(r[e],t)||t===void 0&&!(e in r))&&_m(r,e,t)}function YL(r){return il(r)&&ch(r)}function G1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function XL(r){return id(r,od(r))}function JL(r,e,t,n,i,l,u){var f=G1(r,t),g=G1(e,t),m=u.get(g);if(m){V1(r,t,m);return}var R=l?l(f,g,t+"",r,e,u):void 0,w=R===void 0;if(w){var b=Yc(g),S=!b&&Yf(g),_=!b&&!S&&Cm(g);R=g,b||S||_?Yc(f)?R=f:YL(f)?R=X2(f):S?(w=!1,R=cx(g,!0)):_?(w=!1,R=hx(g,!0)):R=[]:z7(g)||q1(g)?(R=f,q1(f)?R=XL(f):(!ic(f)||bm(f))&&(R=px(g))):w=!1}w&&(u.set(g,R),i(R,g,n,l,u),u.delete(g)),V1(r,t,R)}function _x(r,e,t,n,i){r!==e&&KL(e,function(l,u){if(i||(i=new _a),ic(l))JL(r,e,u,t,_x,n,i);else{var f=n?n(G1(r,u),l,u+"",r,e,i):void 0;f===void 0&&(f=l),V1(r,u,f)}},od)}function km(r,e){return bx(r,e)}var Ql=S9(function(r,e,t){_x(r,e,t)}),Qt=(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))(Qt||{});class Ca{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const i=Qt.TYPE&Qt.ATTRIBUTE;this.scope=n.scope!=null?n.scope&Qt.LEVEL|i:Qt.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 Wu extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const xx=class Z1{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 i=this.query(t);if(i==null)throw new Wu(`Unable to create ${t} blot`);const l=i,u=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:l.create(n),f=new l(e,u,n);return Z1.blots.set(f.domNode,f),f}find(e,t=!1){return Z1.find(e,t)}query(e,t=Qt.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&Qt.LEVEL&Qt.BLOCK?n=this.types.block:e&Qt.LEVEL&Qt.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(i=>(n=this.classes[i],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&Qt.LEVEL&n.scope&&t&Qt.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,i="attrName"in t;if(!n&&!i)throw new Wu("Invalid definition");if(n&&t.blotName==="abstract")throw new Wu("Cannot register abstract class");const l=n?t.blotName:i?t.attrName:void 0;return this.types[l]=t,i?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(u=>u.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(u=>{(this.tags[u]==null||t.className==null)&&(this.tags[u]=t)}))),t})}};xx.blots=new WeakMap;let Yu=xx;function O0(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class QL extends Ca{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){O0(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(O0(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const Us=QL;function np(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class eM extends Ca{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[np(this.keyName)]=t,!0):!1}remove(e){e.style[np(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[np(this.keyName)];return this.canAdd(e,t)?t:""}}const oc=eM;class tM{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=Yu.find(this.domNode);if(e==null)return;const t=Ca.keys(this.domNode),n=Us.keys(this.domNode),i=oc.keys(this.domNode);t.concat(n).concat(i).forEach(l=>{const u=e.scroll.query(l,Qt.ATTRIBUTE);u instanceof Ca&&(this.attributes[u.attrName]=u)})}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 dh=tM,Sx=class{constructor(e,t){this.scroll=e,this.domNode=t,Yu.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new Wu("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),Yu.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,i){const l=this.isolate(e,t);if(this.scroll.query(n,Qt.BLOT)!=null&&i)l.wrap(n,i);else if(this.scroll.query(n,Qt.ATTRIBUTE)!=null){const u=this.scroll.create(this.statics.scope);l.wrap(u),u.format(n,i)}}insertAt(e,t,n){const i=n==null?this.scroll.create("text",t):this.scroll.create(t,n),l=this.split(e);this.parent.insertBefore(i,l||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 Wu(`Cannot wrap ${e}`);return n.appendChild(this),n}};Sx.blotName="abstract";let Cx=Sx;const wx=class extends Cx{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}}};wx.scope=Qt.INLINE_BLOT;let rM=wx;const qi=rM;class nM{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(),i=0;for(;n;){if(n===e)return i;i+=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 i=n();for(;i;){const l=i.length();if(e<l||t&&e===l&&(i.next==null||i.next.length()!==0))return[i,e];e-=l,i=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[i,l]=this.find(e);let u=e-l;const f=this.iterator(i);let g=f();for(;g&&u<e+t;){const m=g.length();e>u?n(g,e-u,Math.min(t,u+m-e)):n(g,0,Math.min(m,e+t-u)),u+=m,g=f()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let i=n();for(;i;)t=e(t,i),i=n();return t}}function P0(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(Qt.INLINE);return Array.from(r.childNodes).forEach(i=>{n.domNode.appendChild(i)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const Ax=class Kl extends Cx{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,Kl.uiClass&&this.uiNode.classList.add(Kl.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new nM,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=P0(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof Wu)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,i,l)=>{n.deleteAt(i,l)})}descendant(e,t=0){const[n,i]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,i]:n instanceof Kl?n.descendant(e,i):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let i=[],l=n;return this.children.forEachAt(t,n,(u,f,g)=>{(e.blotName==null&&e(u)||e.blotName!=null&&u instanceof e)&&i.push(u),u instanceof Kl&&(i=i.concat(u.descendants(e,f,l))),l-=g}),i}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===Qt.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof Kl?t.unwrap():t.remove())})}formatAt(e,t,n,i){this.children.forEachAt(e,t,(l,u,f)=>{l.formatAt(u,f,n,i)})}insertAt(e,t,n){const[i,l]=this.children.find(e);if(i)i.insertAt(l,t,n);else{const u=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(u)}}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,i]=this.children.find(e,t),l=[[this,e]];return n instanceof Kl?l.concat(n.path(i,t)):(n!=null&&l.push([n,i]),l)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof Kl&&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(),(i,l,u)=>{const f=i.split(l,t);f!=null&&n.appendChild(f)}),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=[],i=[];e.forEach(l=>{l.target===this.domNode&&l.type==="childList"&&(n.push(...l.addedNodes),i.push(...l.removedNodes))}),i.forEach(l=>{if(l.parentNode!=null&&l.tagName!=="IFRAME"&&document.body.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const u=this.scroll.find(l);u!=null&&(u.domNode.parentNode==null||u.domNode.parentNode===this.domNode)&&u.detach()}),n.filter(l=>l.parentNode===this.domNode&&l!==this.uiNode).sort((l,u)=>l===u?0:l.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(l=>{let u=null;l.nextSibling!=null&&(u=this.scroll.find(l.nextSibling));const f=P0(l,this.scroll);(f.next!==u||f.next==null)&&(f.parent!=null&&f.parent.removeChild(this),this.insertBefore(f,u||void 0))}),this.enforceAllowedChildren()}};Ax.uiClass="";let iM=Ax;const qs=iM;function oM(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 Pu=class Nu extends qs{static create(e){return super.create(e)}static formats(e,t){const n=t.query(Nu.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 dh(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof Nu||(n=n.wrap(Nu.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,Qt.INLINE);if(n==null)return;n instanceof Ca?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,i){this.formats()[n]!=null||this.scroll.query(n,Qt.ATTRIBUTE)?this.isolate(e,t).format(n,i):super.formatAt(e,t,n,i)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof Nu&&n.prev===this&&oM(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 Nu&&this.attributes.move(n),n}};Pu.allowedChildren=[Pu,qi],Pu.blotName="inline",Pu.scope=Qt.INLINE_BLOT,Pu.tagName="SPAN";let sM=Pu;const Rm=sM,Fu=class K1 extends qs{static create(e){return super.create(e)}static formats(e,t){const n=t.query(K1.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 dh(this.domNode)}format(e,t){const n=this.scroll.query(e,Qt.BLOCK);n!=null&&(n instanceof Ca?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(K1.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,i){this.scroll.query(n,Qt.BLOCK)!=null?this.format(n,i):super.formatAt(e,t,n,i)}insertAt(e,t,n){if(n==null||this.scroll.query(t,Qt.INLINE)!=null)super.insertAt(e,t,n);else{const i=this.split(e);if(i!=null){const l=this.scroll.create(t,n);i.parent.insertBefore(l,i)}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()}};Fu.blotName="block",Fu.scope=Qt.BLOCK_BLOT,Fu.tagName="P",Fu.allowedChildren=[Rm,Fu,qi];let aM=Fu;const Qf=aM,Y1=class extends qs{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,i){super.formatAt(e,t,n,i),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())}};Y1.blotName="container",Y1.scope=Qt.BLOCK_BLOT;let lM=Y1;const hh=lM;class cM extends qi{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,i){e===0&&t===this.length()?this.format(n,i):super.formatAt(e,t,n,i)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const zo=cM,uM={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},fM=100,ju=class extends qs{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,uM),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=Qt.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,i){this.update(),super.formatAt(e,t,n,i)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let i=Array.from(this.observer.takeRecords());for(;i.length>0;)e.push(i.pop());const l=(g,m=!0)=>{g==null||g===this||g.domNode.parentNode!=null&&(n.has(g.domNode)||n.set(g.domNode,[]),m&&l(g.parent))},u=g=>{n.has(g.domNode)&&(g instanceof qs&&g.children.forEach(u),n.delete(g.domNode),g.optimize(t))};let f=e;for(let g=0;f.length>0;g+=1){if(g>=fM)throw new Error("[Parchment] Maximum optimize iterations reached");for(f.forEach(m=>{const R=this.find(m.target,!0);R!=null&&(R.domNode===m.target&&(m.type==="childList"?(l(this.find(m.previousSibling,!1)),Array.from(m.addedNodes).forEach(w=>{const b=this.find(w,!1);l(b,!1),b instanceof qs&&b.children.forEach(S=>{l(S,!1)})})):m.type==="attributes"&&l(R.prev)),l(R))}),this.children.forEach(u),f=Array.from(this.observer.takeRecords()),i=f.slice();i.length>0;)e.push(i.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(i=>{const l=this.find(i.target,!0);return l==null?null:n.has(l.domNode)?(n.get(l.domNode).push(i),null):(n.set(l.domNode,[i]),l)}).forEach(i=>{i!=null&&i!==this&&n.has(i.domNode)&&i.update(n.get(i.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};ju.blotName="scroll",ju.defaultChild=Qf,ju.allowedChildren=[Qf,hh],ju.scope=Qt.BLOCK_BLOT,ju.tagName="DIV";let dM=ju;const Im=dM,X1=class Tx extends qi{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 Tx&&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}};X1.blotName="text",X1.scope=Qt.INLINE_BLOT;let hM=X1;const rh=hM,pM=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Ca,AttributorStore:dh,BlockBlot:Qf,ClassAttributor:Us,ContainerBlot:hh,EmbedBlot:zo,InlineBlot:Rm,LeafBlot:qi,ParentBlot:qs,Registry:Yu,Scope:Qt,ScrollBlot:Im,StyleAttributor:oc,TextBlot:rh},Symbol.toStringTag,{value:"Module"}));var Od={exports:{}},ip,N0;function gM(){if(N0)return ip;N0=1;var r=-1,e=1,t=0;function n(j,te,X,re,de){if(j===te)return j?[[t,j]]:[];if(X!=null){var me=J(j,te,X);if(me)return me}var ye=f(j,te),ce=j.substring(0,ye);j=j.substring(ye),te=te.substring(ye),ye=m(j,te);var Ee=j.substring(j.length-ye);j=j.substring(0,j.length-ye),te=te.substring(0,te.length-ye);var le=i(j,te);return ce&&le.unshift([t,ce]),Ee&&le.push([t,Ee]),L(le,de),re&&w(le),le}function i(j,te){var X;if(!j)return[[e,te]];if(!te)return[[r,j]];var re=j.length>te.length?j:te,de=j.length>te.length?te:j,me=re.indexOf(de);if(me!==-1)return X=[[e,re.substring(0,me)],[t,de],[e,re.substring(me+de.length)]],j.length>te.length&&(X[0][0]=X[2][0]=r),X;if(de.length===1)return[[r,j],[e,te]];var ye=R(j,te);if(ye){var ce=ye[0],Ee=ye[1],le=ye[2],se=ye[3],pe=ye[4],Ne=n(ce,le),Ye=n(Ee,se);return Ne.concat([[t,pe]],Ye)}return l(j,te)}function l(j,te){for(var X=j.length,re=te.length,de=Math.ceil((X+re)/2),me=de,ye=2*de,ce=new Array(ye),Ee=new Array(ye),le=0;le<ye;le++)ce[le]=-1,Ee[le]=-1;ce[me+1]=0,Ee[me+1]=0;for(var se=X-re,pe=se%2!==0,Ne=0,Ye=0,we=0,De=0,Fe=0;Fe<de;Fe++){for(var ze=-Fe+Ne;ze<=Fe-Ye;ze+=2){var Ge=me+ze,Le;ze===-Fe||ze!==Fe&&ce[Ge-1]<ce[Ge+1]?Le=ce[Ge+1]:Le=ce[Ge-1]+1;for(var Ae=Le-ze;Le<X&&Ae<re&&j.charAt(Le)===te.charAt(Ae);)Le++,Ae++;if(ce[Ge]=Le,Le>X)Ye+=2;else if(Ae>re)Ne+=2;else if(pe){var be=me+se-ze;if(be>=0&&be<ye&&Ee[be]!==-1){var We=X-Ee[be];if(Le>=We)return u(j,te,Le,Ae)}}}for(var ht=-Fe+we;ht<=Fe-De;ht+=2){var be=me+ht,We;ht===-Fe||ht!==Fe&&Ee[be-1]<Ee[be+1]?We=Ee[be+1]:We=Ee[be-1]+1;for(var Ct=We-ht;We<X&&Ct<re&&j.charAt(X-We-1)===te.charAt(re-Ct-1);)We++,Ct++;if(Ee[be]=We,We>X)De+=2;else if(Ct>re)we+=2;else if(!pe){var Ge=me+se-ht;if(Ge>=0&&Ge<ye&&ce[Ge]!==-1){var Le=ce[Ge],Ae=me+Le-Ge;if(We=X-We,Le>=We)return u(j,te,Le,Ae)}}}}return[[r,j],[e,te]]}function u(j,te,X,re){var de=j.substring(0,X),me=te.substring(0,re),ye=j.substring(X),ce=te.substring(re),Ee=n(de,me),le=n(ye,ce);return Ee.concat(le)}function f(j,te){if(!j||!te||j.charAt(0)!==te.charAt(0))return 0;for(var X=0,re=Math.min(j.length,te.length),de=re,me=0;X<de;)j.substring(me,de)==te.substring(me,de)?(X=de,me=X):re=de,de=Math.floor((re-X)/2+X);return O(j.charCodeAt(de-1))&&de--,de}function g(j,te){var X=j.length,re=te.length;if(X==0||re==0)return 0;X>re?j=j.substring(X-re):X<re&&(te=te.substring(0,X));var de=Math.min(X,re);if(j==te)return de;for(var me=0,ye=1;;){var ce=j.substring(de-ye),Ee=te.indexOf(ce);if(Ee==-1)return me;ye+=Ee,(Ee==0||j.substring(de-ye)==te.substring(0,ye))&&(me=ye,ye++)}}function m(j,te){if(!j||!te||j.slice(-1)!==te.slice(-1))return 0;for(var X=0,re=Math.min(j.length,te.length),de=re,me=0;X<de;)j.substring(j.length-de,j.length-me)==te.substring(te.length-de,te.length-me)?(X=de,me=X):re=de,de=Math.floor((re-X)/2+X);return B(j.charCodeAt(j.length-de))&&de--,de}function R(j,te){var X=j.length>te.length?j:te,re=j.length>te.length?te:j;if(X.length<4||re.length*2<X.length)return null;function de(Ye,we,De){for(var Fe=Ye.substring(De,De+Math.floor(Ye.length/4)),ze=-1,Ge="",Le,Ae,be,We;(ze=we.indexOf(Fe,ze+1))!==-1;){var ht=f(Ye.substring(De),we.substring(ze)),Ct=m(Ye.substring(0,De),we.substring(0,ze));Ge.length<Ct+ht&&(Ge=we.substring(ze-Ct,ze)+we.substring(ze,ze+ht),Le=Ye.substring(0,De-Ct),Ae=Ye.substring(De+ht),be=we.substring(0,ze-Ct),We=we.substring(ze+ht))}return Ge.length*2>=Ye.length?[Le,Ae,be,We,Ge]:null}var me=de(X,re,Math.ceil(X.length/4)),ye=de(X,re,Math.ceil(X.length/2)),ce;if(!me&&!ye)return null;ye?me?ce=me[4].length>ye[4].length?me:ye:ce=ye:ce=me;var Ee,le,se,pe;j.length>te.length?(Ee=ce[0],le=ce[1],se=ce[2],pe=ce[3]):(se=ce[0],pe=ce[1],Ee=ce[2],le=ce[3]);var Ne=ce[4];return[Ee,le,se,pe,Ne]}function w(j){for(var te=!1,X=[],re=0,de=null,me=0,ye=0,ce=0,Ee=0,le=0;me<j.length;)j[me][0]==t?(X[re++]=me,ye=Ee,ce=le,Ee=0,le=0,de=j[me][1]):(j[me][0]==e?Ee+=j[me][1].length:le+=j[me][1].length,de&&de.length<=Math.max(ye,ce)&&de.length<=Math.max(Ee,le)&&(j.splice(X[re-1],0,[r,de]),j[X[re-1]+1][0]=e,re--,re--,me=re>0?X[re-1]:-1,ye=0,ce=0,Ee=0,le=0,de=null,te=!0)),me++;for(te&&L(j),x(j),me=1;me<j.length;){if(j[me-1][0]==r&&j[me][0]==e){var se=j[me-1][1],pe=j[me][1],Ne=g(se,pe),Ye=g(pe,se);Ne>=Ye?(Ne>=se.length/2||Ne>=pe.length/2)&&(j.splice(me,0,[t,pe.substring(0,Ne)]),j[me-1][1]=se.substring(0,se.length-Ne),j[me+1][1]=pe.substring(Ne),me++):(Ye>=se.length/2||Ye>=pe.length/2)&&(j.splice(me,0,[t,se.substring(0,Ye)]),j[me-1][0]=e,j[me-1][1]=pe.substring(0,pe.length-Ye),j[me+1][0]=r,j[me+1][1]=se.substring(Ye),me++),me++}me++}}var b=/[^a-zA-Z0-9]/,S=/\s/,_=/[\r\n]/,M=/\n\r?\n$/,E=/^\r?\n\r?\n/;function x(j){function te(Ye,we){if(!Ye||!we)return 6;var De=Ye.charAt(Ye.length-1),Fe=we.charAt(0),ze=De.match(b),Ge=Fe.match(b),Le=ze&&De.match(S),Ae=Ge&&Fe.match(S),be=Le&&De.match(_),We=Ae&&Fe.match(_),ht=be&&Ye.match(M),Ct=We&&we.match(E);return ht||Ct?5:be||We?4:ze&&!Le&&Ae?3:Le||Ae?2:ze||Ge?1:0}for(var X=1;X<j.length-1;){if(j[X-1][0]==t&&j[X+1][0]==t){var re=j[X-1][1],de=j[X][1],me=j[X+1][1],ye=m(re,de);if(ye){var ce=de.substring(de.length-ye);re=re.substring(0,re.length-ye),de=ce+de.substring(0,de.length-ye),me=ce+me}for(var Ee=re,le=de,se=me,pe=te(re,de)+te(de,me);de.charAt(0)===me.charAt(0);){re+=de.charAt(0),de=de.substring(1)+me.charAt(0),me=me.substring(1);var Ne=te(re,de)+te(de,me);Ne>=pe&&(pe=Ne,Ee=re,le=de,se=me)}j[X-1][1]!=Ee&&(Ee?j[X-1][1]=Ee:(j.splice(X-1,1),X--),j[X][1]=le,se?j[X+1][1]=se:(j.splice(X+1,1),X--))}X++}}function L(j,te){j.push([t,""]);for(var X=0,re=0,de=0,me="",ye="",ce;X<j.length;){if(X<j.length-1&&!j[X][1]){j.splice(X,1);continue}switch(j[X][0]){case e:de++,ye+=j[X][1],X++;break;case r:re++,me+=j[X][1],X++;break;case t:var Ee=X-de-re-1;if(te){if(Ee>=0&&z(j[Ee][1])){var le=j[Ee][1].slice(-1);if(j[Ee][1]=j[Ee][1].slice(0,-1),me=le+me,ye=le+ye,!j[Ee][1]){j.splice(Ee,1),X--;var se=Ee-1;j[se]&&j[se][0]===e&&(de++,ye=j[se][1]+ye,se--),j[se]&&j[se][0]===r&&(re++,me=j[se][1]+me,se--),Ee=se}}if(H(j[X][1])){var le=j[X][1].charAt(0);j[X][1]=j[X][1].slice(1),me+=le,ye+=le}}if(X<j.length-1&&!j[X][1]){j.splice(X,1);break}if(me.length>0||ye.length>0){me.length>0&&ye.length>0&&(ce=f(ye,me),ce!==0&&(Ee>=0?j[Ee][1]+=ye.substring(0,ce):(j.splice(0,0,[t,ye.substring(0,ce)]),X++),ye=ye.substring(ce),me=me.substring(ce)),ce=m(ye,me),ce!==0&&(j[X][1]=ye.substring(ye.length-ce)+j[X][1],ye=ye.substring(0,ye.length-ce),me=me.substring(0,me.length-ce)));var pe=de+re;me.length===0&&ye.length===0?(j.splice(X-pe,pe),X=X-pe):me.length===0?(j.splice(X-pe,pe,[e,ye]),X=X-pe+1):ye.length===0?(j.splice(X-pe,pe,[r,me]),X=X-pe+1):(j.splice(X-pe,pe,[r,me],[e,ye]),X=X-pe+2)}X!==0&&j[X-1][0]===t?(j[X-1][1]+=j[X][1],j.splice(X,1)):X++,de=0,re=0,me="",ye="";break}}j[j.length-1][1]===""&&j.pop();var Ne=!1;for(X=1;X<j.length-1;)j[X-1][0]===t&&j[X+1][0]===t&&(j[X][1].substring(j[X][1].length-j[X-1][1].length)===j[X-1][1]?(j[X][1]=j[X-1][1]+j[X][1].substring(0,j[X][1].length-j[X-1][1].length),j[X+1][1]=j[X-1][1]+j[X+1][1],j.splice(X-1,1),Ne=!0):j[X][1].substring(0,j[X+1][1].length)==j[X+1][1]&&(j[X-1][1]+=j[X+1][1],j[X][1]=j[X][1].substring(j[X+1][1].length)+j[X+1][1],j.splice(X+1,1),Ne=!0)),X++;Ne&&L(j,te)}function O(j){return j>=55296&&j<=56319}function B(j){return j>=56320&&j<=57343}function H(j){return B(j.charCodeAt(0))}function z(j){return O(j.charCodeAt(j.length-1))}function K(j){for(var te=[],X=0;X<j.length;X++)j[X][1].length>0&&te.push(j[X]);return te}function ue(j,te,X,re){return z(j)||H(re)?null:K([[t,j],[r,te],[e,X],[t,re]])}function J(j,te,X){var re=typeof X=="number"?{index:X,length:0}:X.oldRange,de=typeof X=="number"?null:X.newRange,me=j.length,ye=te.length;if(re.length===0&&(de===null||de.length===0)){var ce=re.index,Ee=j.slice(0,ce),le=j.slice(ce),se=de?de.index:null;e:{var pe=ce+ye-me;if(se!==null&&se!==pe||pe<0||pe>ye)break e;var Ne=te.slice(0,pe),Ye=te.slice(pe);if(Ye!==le)break e;var we=Math.min(ce,pe),De=Ee.slice(0,we),Fe=Ne.slice(0,we);if(De!==Fe)break e;var ze=Ee.slice(we),Ge=Ne.slice(we);return ue(De,ze,Ge,le)}e:{if(se!==null&&se!==ce)break e;var Le=ce,Ne=te.slice(0,Le),Ye=te.slice(Le);if(Ne!==Ee)break e;var Ae=Math.min(me-Le,ye-Le),be=le.slice(le.length-Ae),We=Ye.slice(Ye.length-Ae);if(be!==We)break e;var ze=le.slice(0,le.length-Ae),Ge=Ye.slice(0,Ye.length-Ae);return ue(Ee,ze,Ge,be)}}if(re.length>0&&de&&de.length===0)e:{var De=j.slice(0,re.index),be=j.slice(re.index+re.length),we=De.length,Ae=be.length;if(ye<we+Ae)break e;var Fe=te.slice(0,we),We=te.slice(ye-Ae);if(De!==Fe||be!==We)break e;var ze=j.slice(we,me-Ae),Ge=te.slice(we,ye-Ae);return ue(De,ze,Ge,be)}return null}function fe(j,te,X,re){return n(j,te,X,re,!0)}return fe.INSERT=e,fe.DELETE=r,fe.EQUAL=t,ip=fe,ip}var jf={exports:{}};jf.exports;var F0;function Ex(){return F0||(F0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=9007199254740991,l="[object Arguments]",u="[object Array]",f="[object Boolean]",g="[object Date]",m="[object Error]",R="[object Function]",w="[object GeneratorFunction]",b="[object Map]",S="[object Number]",_="[object Object]",M="[object Promise]",E="[object RegExp]",x="[object Set]",L="[object String]",O="[object Symbol]",B="[object WeakMap]",H="[object ArrayBuffer]",z="[object DataView]",K="[object Float32Array]",ue="[object Float64Array]",J="[object Int8Array]",fe="[object Int16Array]",j="[object Int32Array]",te="[object Uint8Array]",X="[object Uint8ClampedArray]",re="[object Uint16Array]",de="[object Uint32Array]",me=/[\\^$.*+?()[\]{}|]/g,ye=/\w*$/,ce=/^\[object .+?Constructor\]$/,Ee=/^(?:0|[1-9]\d*)$/,le={};le[l]=le[u]=le[H]=le[z]=le[f]=le[g]=le[K]=le[ue]=le[J]=le[fe]=le[j]=le[b]=le[S]=le[_]=le[E]=le[x]=le[L]=le[O]=le[te]=le[X]=le[re]=le[de]=!0,le[m]=le[R]=le[B]=!1;var se=typeof bi=="object"&&bi&&bi.Object===Object&&bi,pe=typeof self=="object"&&self&&self.Object===Object&&self,Ne=se||pe||Function("return this")(),Ye=e&&!e.nodeType&&e,we=Ye&&!0&&r&&!r.nodeType&&r,De=we&&we.exports===Ye;function Fe(I,G){return I.set(G[0],G[1]),I}function ze(I,G){return I.add(G),I}function Ge(I,G){for(var ae=-1,qe=I?I.length:0;++ae<qe&&G(I[ae],ae,I)!==!1;);return I}function Le(I,G){for(var ae=-1,qe=G.length,Xt=I.length;++ae<qe;)I[Xt+ae]=G[ae];return I}function Ae(I,G,ae,qe){for(var Xt=-1,Gt=I?I.length:0;++Xt<Gt;)ae=G(ae,I[Xt],Xt,I);return ae}function be(I,G){for(var ae=-1,qe=Array(I);++ae<I;)qe[ae]=G(ae);return qe}function We(I,G){return I==null?void 0:I[G]}function ht(I){var G=!1;if(I!=null&&typeof I.toString!="function")try{G=!!(I+"")}catch{}return G}function Ct(I){var G=-1,ae=Array(I.size);return I.forEach(function(qe,Xt){ae[++G]=[Xt,qe]}),ae}function it(I,G){return function(ae){return I(G(ae))}}function Ie(I){var G=-1,ae=Array(I.size);return I.forEach(function(qe){ae[++G]=qe}),ae}var Pe=Array.prototype,at=Function.prototype,gt=Object.prototype,wt=Ne["__core-js_shared__"],Et=function(){var I=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),xt=at.toString,It=gt.hasOwnProperty,je=gt.toString,Qe=RegExp("^"+xt.call(It).replace(me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mt=De?Ne.Buffer:void 0,Ft=Ne.Symbol,bt=Ne.Uint8Array,$e=it(Object.getPrototypeOf,Object),Lt=Object.create,Dt=gt.propertyIsEnumerable,pr=Pe.splice,xr=Object.getOwnPropertySymbols,wr=mt?mt.isBuffer:void 0,ge=it(Object.keys,Object),ne=Ot(Ne,"DataView"),et=Ot(Ne,"Map"),ct=Ot(Ne,"Promise"),tt=Ot(Ne,"Set"),Me=Ot(Ne,"WeakMap"),pt=Ot(Object,"create"),kt=Xr(ne),_t=Xr(et),Bt=Xr(ct),Wt=Xr(tt),rr=Xr(Me),Ht=Ft?Ft.prototype:void 0,$t=Ht?Ht.valueOf:void 0;function nr(I){var G=-1,ae=I?I.length:0;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function rt(){this.__data__=pt?pt(null):{}}function Tt(I){return this.has(I)&&delete this.__data__[I]}function yt(I){var G=this.__data__;if(pt){var ae=G[I];return ae===n?void 0:ae}return It.call(G,I)?G[I]:void 0}function Mt(I){var G=this.__data__;return pt?G[I]!==void 0:It.call(G,I)}function vr(I,G){var ae=this.__data__;return ae[I]=pt&&G===void 0?n:G,this}nr.prototype.clear=rt,nr.prototype.delete=Tt,nr.prototype.get=yt,nr.prototype.has=Mt,nr.prototype.set=vr;function Y(I){var G=-1,ae=I?I.length:0;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function Ue(){this.__data__=[]}function ke(I){var G=this.__data__,ae=Jn(G,I);if(ae<0)return!1;var qe=G.length-1;return ae==qe?G.pop():pr.call(G,ae,1),!0}function Ze(I){var G=this.__data__,ae=Jn(G,I);return ae<0?void 0:G[ae][1]}function St(I){return Jn(this.__data__,I)>-1}function jt(I,G){var ae=this.__data__,qe=Jn(ae,I);return qe<0?ae.push([I,G]):ae[qe][1]=G,this}Y.prototype.clear=Ue,Y.prototype.delete=ke,Y.prototype.get=Ze,Y.prototype.has=St,Y.prototype.set=jt;function At(I){var G=-1,ae=I?I.length:0;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function qt(){this.__data__={hash:new nr,map:new(et||Y),string:new nr}}function ir(I){return st(this,I).delete(I)}function or(I){return st(this,I).get(I)}function fr(I){return st(this,I).has(I)}function Ur(I,G){return st(this,I).set(I,G),this}At.prototype.clear=qt,At.prototype.delete=ir,At.prototype.get=or,At.prototype.has=fr,At.prototype.set=Ur;function yr(I){this.__data__=new Y(I)}function Kn(){this.__data__=new Y}function Cn(I){return this.__data__.delete(I)}function Dn(I){return this.__data__.get(I)}function Yr(I){return this.__data__.has(I)}function Yn(I,G){var ae=this.__data__;if(ae instanceof Y){var qe=ae.__data__;if(!et||qe.length<t-1)return qe.push([I,G]),this;ae=this.__data__=new At(qe)}return ae.set(I,G),this}yr.prototype.clear=Kn,yr.prototype.delete=Cn,yr.prototype.get=Dn,yr.prototype.has=Yr,yr.prototype.set=Yn;function En(I,G){var ae=bo(I)||ei(I)?be(I.length,String):[],qe=ae.length,Xt=!!qe;for(var Gt in I)It.call(I,Gt)&&!(Xt&&(Gt=="length"||yn(Gt,qe)))&&ae.push(Gt);return ae}function Xn(I,G,ae){var qe=I[G];(!(It.call(I,G)&&Hn(qe,ae))||ae===void 0&&!(G in I))&&(I[G]=ae)}function Jn(I,G){for(var ae=I.length;ae--;)if(Hn(I[ae][0],G))return ae;return-1}function on(I,G){return I&&Te(G,Or(G),I)}function On(I,G,ae,qe,Xt,Gt,gr){var Cr;if(qe&&(Cr=Gt?qe(I,Xt,Gt,gr):qe(I)),Cr!==void 0)return Cr;if(!ri(I))return I;var dr=bo(I);if(dr){if(Cr=Sr(I),!G)return Q(I,Cr)}else{var Tr=zt(I),Jr=Tr==R||Tr==w;if(Rn(I))return An(I,G);if(Tr==_||Tr==l||Jr&&!Gt){if(ht(I))return Gt?I:{};if(Cr=Zr(Jr?{}:I),!G)return xe(I,on(Cr,I))}else{if(!le[Tr])return Gt?I:{};Cr=vn(I,Tr,On,G)}}gr||(gr=new yr);var In=gr.get(I);if(In)return In;if(gr.set(I,Cr),!dr)var Vr=ae?He(I):Or(I);return Ge(Vr||I,function(Br,Qr){Vr&&(Qr=Br,Br=I[Qr]),Xn(Cr,Qr,On(Br,G,ae,qe,Qr,I,gr))}),Cr}function wn(I){return ri(I)?Lt(I):{}}function hi(I,G,ae){var qe=G(I);return bo(I)?qe:Le(qe,ae(I))}function Si(I){return je.call(I)}function Ci(I){if(!ri(I)||Bn(I))return!1;var G=_o(I)||ht(I)?Qe:ce;return G.test(Xr(I))}function kn(I){if(!wi(I))return ge(I);var G=[];for(var ae in Object(I))It.call(I,ae)&&ae!="constructor"&&G.push(ae);return G}function An(I,G){if(G)return I.slice();var ae=new I.constructor(I.length);return I.copy(ae),ae}function un(I){var G=new I.constructor(I.byteLength);return new bt(G).set(new bt(I)),G}function Qn(I,G){var ae=G?un(I.buffer):I.buffer;return new I.constructor(ae,I.byteOffset,I.byteLength)}function sn(I,G,ae){var qe=G?ae(Ct(I),!0):Ct(I);return Ae(qe,Fe,new I.constructor)}function pn(I){var G=new I.constructor(I.source,ye.exec(I));return G.lastIndex=I.lastIndex,G}function C(I,G,ae){var qe=G?ae(Ie(I),!0):Ie(I);return Ae(qe,ze,new I.constructor)}function N(I){return $t?Object($t.call(I)):{}}function V(I,G){var ae=G?un(I.buffer):I.buffer;return new I.constructor(ae,I.byteOffset,I.length)}function Q(I,G){var ae=-1,qe=I.length;for(G||(G=Array(qe));++ae<qe;)G[ae]=I[ae];return G}function Te(I,G,ae,qe){ae||(ae={});for(var Xt=-1,Gt=G.length;++Xt<Gt;){var gr=G[Xt],Cr=void 0;Xn(ae,gr,Cr===void 0?I[gr]:Cr)}return ae}function xe(I,G){return Te(I,Ut(I),G)}function He(I){return hi(I,Or,Ut)}function st(I,G){var ae=I.__data__;return li(G)?ae[typeof G=="string"?"string":"hash"]:ae.map}function Ot(I,G){var ae=We(I,G);return Ci(ae)?ae:void 0}var Ut=xr?it(xr,Object):Ar,zt=Si;(ne&&zt(new ne(new ArrayBuffer(1)))!=z||et&&zt(new et)!=b||ct&&zt(ct.resolve())!=M||tt&&zt(new tt)!=x||Me&&zt(new Me)!=B)&&(zt=function(I){var G=je.call(I),ae=G==_?I.constructor:void 0,qe=ae?Xr(ae):void 0;if(qe)switch(qe){case kt:return z;case _t:return b;case Bt:return M;case Wt:return x;case rr:return B}return G});function Sr(I){var G=I.length,ae=I.constructor(G);return G&&typeof I[0]=="string"&&It.call(I,"index")&&(ae.index=I.index,ae.input=I.input),ae}function Zr(I){return typeof I.constructor=="function"&&!wi(I)?wn($e(I)):{}}function vn(I,G,ae,qe){var Xt=I.constructor;switch(G){case H:return un(I);case f:case g:return new Xt(+I);case z:return Qn(I,qe);case K:case ue:case J:case fe:case j:case te:case X:case re:case de:return V(I,qe);case b:return sn(I,qe,ae);case S:case L:return new Xt(I);case E:return pn(I);case x:return C(I,qe,ae);case O:return N(I)}}function yn(I,G){return G=G??i,!!G&&(typeof I=="number"||Ee.test(I))&&I>-1&&I%1==0&&I<G}function li(I){var G=typeof I;return G=="string"||G=="number"||G=="symbol"||G=="boolean"?I!=="__proto__":I===null}function Bn(I){return!!Et&&Et in I}function wi(I){var G=I&&I.constructor,ae=typeof G=="function"&&G.prototype||gt;return I===ae}function Xr(I){if(I!=null){try{return xt.call(I)}catch{}try{return I+""}catch{}}return""}function pi(I){return On(I,!0,!0)}function Hn(I,G){return I===G||I!==I&&G!==G}function ei(I){return no(I)&&It.call(I,"callee")&&(!Dt.call(I,"callee")||je.call(I)==l)}var bo=Array.isArray;function ro(I){return I!=null&&ti(I.length)&&!_o(I)}function no(I){return $i(I)&&ro(I)}var Rn=wr||Mr;function _o(I){var G=ri(I)?je.call(I):"";return G==R||G==w}function ti(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=i}function ri(I){var G=typeof I;return!!I&&(G=="object"||G=="function")}function $i(I){return!!I&&typeof I=="object"}function Or(I){return ro(I)?En(I):kn(I)}function Ar(){return[]}function Mr(){return!1}r.exports=pi}(jf,jf.exports)),jf.exports}var Bf={exports:{}};Bf.exports;var j0;function kx(){return j0||(j0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",i=1,l=2,u=9007199254740991,f="[object Arguments]",g="[object Array]",m="[object AsyncFunction]",R="[object Boolean]",w="[object Date]",b="[object Error]",S="[object Function]",_="[object GeneratorFunction]",M="[object Map]",E="[object Number]",x="[object Null]",L="[object Object]",O="[object Promise]",B="[object Proxy]",H="[object RegExp]",z="[object Set]",K="[object String]",ue="[object Symbol]",J="[object Undefined]",fe="[object WeakMap]",j="[object ArrayBuffer]",te="[object DataView]",X="[object Float32Array]",re="[object Float64Array]",de="[object Int8Array]",me="[object Int16Array]",ye="[object Int32Array]",ce="[object Uint8Array]",Ee="[object Uint8ClampedArray]",le="[object Uint16Array]",se="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,Ne=/^\[object .+?Constructor\]$/,Ye=/^(?:0|[1-9]\d*)$/,we={};we[X]=we[re]=we[de]=we[me]=we[ye]=we[ce]=we[Ee]=we[le]=we[se]=!0,we[f]=we[g]=we[j]=we[R]=we[te]=we[w]=we[b]=we[S]=we[M]=we[E]=we[L]=we[H]=we[z]=we[K]=we[fe]=!1;var De=typeof bi=="object"&&bi&&bi.Object===Object&&bi,Fe=typeof self=="object"&&self&&self.Object===Object&&self,ze=De||Fe||Function("return this")(),Ge=e&&!e.nodeType&&e,Le=Ge&&!0&&r&&!r.nodeType&&r,Ae=Le&&Le.exports===Ge,be=Ae&&De.process,We=function(){try{return be&&be.binding&&be.binding("util")}catch{}}(),ht=We&&We.isTypedArray;function Ct(I,G){for(var ae=-1,qe=I==null?0:I.length,Xt=0,Gt=[];++ae<qe;){var gr=I[ae];G(gr,ae,I)&&(Gt[Xt++]=gr)}return Gt}function it(I,G){for(var ae=-1,qe=G.length,Xt=I.length;++ae<qe;)I[Xt+ae]=G[ae];return I}function Ie(I,G){for(var ae=-1,qe=I==null?0:I.length;++ae<qe;)if(G(I[ae],ae,I))return!0;return!1}function Pe(I,G){for(var ae=-1,qe=Array(I);++ae<I;)qe[ae]=G(ae);return qe}function at(I){return function(G){return I(G)}}function gt(I,G){return I.has(G)}function wt(I,G){return I==null?void 0:I[G]}function Et(I){var G=-1,ae=Array(I.size);return I.forEach(function(qe,Xt){ae[++G]=[Xt,qe]}),ae}function xt(I,G){return function(ae){return I(G(ae))}}function It(I){var G=-1,ae=Array(I.size);return I.forEach(function(qe){ae[++G]=qe}),ae}var je=Array.prototype,Qe=Function.prototype,mt=Object.prototype,Ft=ze["__core-js_shared__"],bt=Qe.toString,$e=mt.hasOwnProperty,Lt=function(){var I=/[^.]+$/.exec(Ft&&Ft.keys&&Ft.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),Dt=mt.toString,pr=RegExp("^"+bt.call($e).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xr=Ae?ze.Buffer:void 0,wr=ze.Symbol,ge=ze.Uint8Array,ne=mt.propertyIsEnumerable,et=je.splice,ct=wr?wr.toStringTag:void 0,tt=Object.getOwnPropertySymbols,Me=xr?xr.isBuffer:void 0,pt=xt(Object.keys,Object),kt=Ut(ze,"DataView"),_t=Ut(ze,"Map"),Bt=Ut(ze,"Promise"),Wt=Ut(ze,"Set"),rr=Ut(ze,"WeakMap"),Ht=Ut(Object,"create"),$t=Xr(kt),nr=Xr(_t),rt=Xr(Bt),Tt=Xr(Wt),yt=Xr(rr),Mt=wr?wr.prototype:void 0,vr=Mt?Mt.valueOf:void 0;function Y(I){var G=-1,ae=I==null?0:I.length;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function Ue(){this.__data__=Ht?Ht(null):{},this.size=0}function ke(I){var G=this.has(I)&&delete this.__data__[I];return this.size-=G?1:0,G}function Ze(I){var G=this.__data__;if(Ht){var ae=G[I];return ae===n?void 0:ae}return $e.call(G,I)?G[I]:void 0}function St(I){var G=this.__data__;return Ht?G[I]!==void 0:$e.call(G,I)}function jt(I,G){var ae=this.__data__;return this.size+=this.has(I)?0:1,ae[I]=Ht&&G===void 0?n:G,this}Y.prototype.clear=Ue,Y.prototype.delete=ke,Y.prototype.get=Ze,Y.prototype.has=St,Y.prototype.set=jt;function At(I){var G=-1,ae=I==null?0:I.length;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function qt(){this.__data__=[],this.size=0}function ir(I){var G=this.__data__,ae=An(G,I);if(ae<0)return!1;var qe=G.length-1;return ae==qe?G.pop():et.call(G,ae,1),--this.size,!0}function or(I){var G=this.__data__,ae=An(G,I);return ae<0?void 0:G[ae][1]}function fr(I){return An(this.__data__,I)>-1}function Ur(I,G){var ae=this.__data__,qe=An(ae,I);return qe<0?(++this.size,ae.push([I,G])):ae[qe][1]=G,this}At.prototype.clear=qt,At.prototype.delete=ir,At.prototype.get=or,At.prototype.has=fr,At.prototype.set=Ur;function yr(I){var G=-1,ae=I==null?0:I.length;for(this.clear();++G<ae;){var qe=I[G];this.set(qe[0],qe[1])}}function Kn(){this.size=0,this.__data__={hash:new Y,map:new(_t||At),string:new Y}}function Cn(I){var G=Ot(this,I).delete(I);return this.size-=G?1:0,G}function Dn(I){return Ot(this,I).get(I)}function Yr(I){return Ot(this,I).has(I)}function Yn(I,G){var ae=Ot(this,I),qe=ae.size;return ae.set(I,G),this.size+=ae.size==qe?0:1,this}yr.prototype.clear=Kn,yr.prototype.delete=Cn,yr.prototype.get=Dn,yr.prototype.has=Yr,yr.prototype.set=Yn;function En(I){var G=-1,ae=I==null?0:I.length;for(this.__data__=new yr;++G<ae;)this.add(I[G])}function Xn(I){return this.__data__.set(I,n),this}function Jn(I){return this.__data__.has(I)}En.prototype.add=En.prototype.push=Xn,En.prototype.has=Jn;function on(I){var G=this.__data__=new At(I);this.size=G.size}function On(){this.__data__=new At,this.size=0}function wn(I){var G=this.__data__,ae=G.delete(I);return this.size=G.size,ae}function hi(I){return this.__data__.get(I)}function Si(I){return this.__data__.has(I)}function Ci(I,G){var ae=this.__data__;if(ae instanceof At){var qe=ae.__data__;if(!_t||qe.length<t-1)return qe.push([I,G]),this.size=++ae.size,this;ae=this.__data__=new yr(qe)}return ae.set(I,G),this.size=ae.size,this}on.prototype.clear=On,on.prototype.delete=wn,on.prototype.get=hi,on.prototype.has=Si,on.prototype.set=Ci;function kn(I,G){var ae=ei(I),qe=!ae&&Hn(I),Xt=!ae&&!qe&&ro(I),Gt=!ae&&!qe&&!Xt&&$i(I),gr=ae||qe||Xt||Gt,Cr=gr?Pe(I.length,String):[],dr=Cr.length;for(var Tr in I)$e.call(I,Tr)&&!(gr&&(Tr=="length"||Xt&&(Tr=="offset"||Tr=="parent")||Gt&&(Tr=="buffer"||Tr=="byteLength"||Tr=="byteOffset")||vn(Tr,dr)))&&Cr.push(Tr);return Cr}function An(I,G){for(var ae=I.length;ae--;)if(pi(I[ae][0],G))return ae;return-1}function un(I,G,ae){var qe=G(I);return ei(I)?qe:it(qe,ae(I))}function Qn(I){return I==null?I===void 0?J:x:ct&&ct in Object(I)?zt(I):wi(I)}function sn(I){return ri(I)&&Qn(I)==f}function pn(I,G,ae,qe,Xt){return I===G?!0:I==null||G==null||!ri(I)&&!ri(G)?I!==I&&G!==G:C(I,G,ae,qe,pn,Xt)}function C(I,G,ae,qe,Xt,Gt){var gr=ei(I),Cr=ei(G),dr=gr?g:Zr(I),Tr=Cr?g:Zr(G);dr=dr==f?L:dr,Tr=Tr==f?L:Tr;var Jr=dr==L,In=Tr==L,Vr=dr==Tr;if(Vr&&ro(I)){if(!ro(G))return!1;gr=!0,Jr=!1}if(Vr&&!Jr)return Gt||(Gt=new on),gr||$i(I)?Te(I,G,ae,qe,Xt,Gt):xe(I,G,dr,ae,qe,Xt,Gt);if(!(ae&i)){var Br=Jr&&$e.call(I,"__wrapped__"),Qr=In&&$e.call(G,"__wrapped__");if(Br||Qr){var ci=Br?I.value():I,gi=Qr?G.value():G;return Gt||(Gt=new on),Xt(ci,gi,ae,qe,Gt)}}return Vr?(Gt||(Gt=new on),He(I,G,ae,qe,Xt,Gt)):!1}function N(I){if(!ti(I)||li(I))return!1;var G=Rn(I)?pr:Ne;return G.test(Xr(I))}function V(I){return ri(I)&&_o(I.length)&&!!we[Qn(I)]}function Q(I){if(!Bn(I))return pt(I);var G=[];for(var ae in Object(I))$e.call(I,ae)&&ae!="constructor"&&G.push(ae);return G}function Te(I,G,ae,qe,Xt,Gt){var gr=ae&i,Cr=I.length,dr=G.length;if(Cr!=dr&&!(gr&&dr>Cr))return!1;var Tr=Gt.get(I);if(Tr&&Gt.get(G))return Tr==G;var Jr=-1,In=!0,Vr=ae&l?new En:void 0;for(Gt.set(I,G),Gt.set(G,I);++Jr<Cr;){var Br=I[Jr],Qr=G[Jr];if(qe)var ci=gr?qe(Qr,Br,Jr,G,I,Gt):qe(Br,Qr,Jr,I,G,Gt);if(ci!==void 0){if(ci)continue;In=!1;break}if(Vr){if(!Ie(G,function(gi,qn){if(!gt(Vr,qn)&&(Br===gi||Xt(Br,gi,ae,qe,Gt)))return Vr.push(qn)})){In=!1;break}}else if(!(Br===Qr||Xt(Br,Qr,ae,qe,Gt))){In=!1;break}}return Gt.delete(I),Gt.delete(G),In}function xe(I,G,ae,qe,Xt,Gt,gr){switch(ae){case te:if(I.byteLength!=G.byteLength||I.byteOffset!=G.byteOffset)return!1;I=I.buffer,G=G.buffer;case j:return!(I.byteLength!=G.byteLength||!Gt(new ge(I),new ge(G)));case R:case w:case E:return pi(+I,+G);case b:return I.name==G.name&&I.message==G.message;case H:case K:return I==G+"";case M:var Cr=Et;case z:var dr=qe&i;if(Cr||(Cr=It),I.size!=G.size&&!dr)return!1;var Tr=gr.get(I);if(Tr)return Tr==G;qe|=l,gr.set(I,G);var Jr=Te(Cr(I),Cr(G),qe,Xt,Gt,gr);return gr.delete(I),Jr;case ue:if(vr)return vr.call(I)==vr.call(G)}return!1}function He(I,G,ae,qe,Xt,Gt){var gr=ae&i,Cr=st(I),dr=Cr.length,Tr=st(G),Jr=Tr.length;if(dr!=Jr&&!gr)return!1;for(var In=dr;In--;){var Vr=Cr[In];if(!(gr?Vr in G:$e.call(G,Vr)))return!1}var Br=Gt.get(I);if(Br&&Gt.get(G))return Br==G;var Qr=!0;Gt.set(I,G),Gt.set(G,I);for(var ci=gr;++In<dr;){Vr=Cr[In];var gi=I[Vr],qn=G[Vr];if(qe)var xo=gr?qe(qn,gi,Vr,G,I,Gt):qe(gi,qn,Vr,I,G,Gt);if(!(xo===void 0?gi===qn||Xt(gi,qn,ae,qe,Gt):xo)){Qr=!1;break}ci||(ci=Vr=="constructor")}if(Qr&&!ci){var Ui=I.constructor,an=G.constructor;Ui!=an&&"constructor"in I&&"constructor"in G&&!(typeof Ui=="function"&&Ui instanceof Ui&&typeof an=="function"&&an instanceof an)&&(Qr=!1)}return Gt.delete(I),Gt.delete(G),Qr}function st(I){return un(I,Or,Sr)}function Ot(I,G){var ae=I.__data__;return yn(G)?ae[typeof G=="string"?"string":"hash"]:ae.map}function Ut(I,G){var ae=wt(I,G);return N(ae)?ae:void 0}function zt(I){var G=$e.call(I,ct),ae=I[ct];try{I[ct]=void 0;var qe=!0}catch{}var Xt=Dt.call(I);return qe&&(G?I[ct]=ae:delete I[ct]),Xt}var Sr=tt?function(I){return I==null?[]:(I=Object(I),Ct(tt(I),function(G){return ne.call(I,G)}))}:Ar,Zr=Qn;(kt&&Zr(new kt(new ArrayBuffer(1)))!=te||_t&&Zr(new _t)!=M||Bt&&Zr(Bt.resolve())!=O||Wt&&Zr(new Wt)!=z||rr&&Zr(new rr)!=fe)&&(Zr=function(I){var G=Qn(I),ae=G==L?I.constructor:void 0,qe=ae?Xr(ae):"";if(qe)switch(qe){case $t:return te;case nr:return M;case rt:return O;case Tt:return z;case yt:return fe}return G});function vn(I,G){return G=G??u,!!G&&(typeof I=="number"||Ye.test(I))&&I>-1&&I%1==0&&I<G}function yn(I){var G=typeof I;return G=="string"||G=="number"||G=="symbol"||G=="boolean"?I!=="__proto__":I===null}function li(I){return!!Lt&&Lt in I}function Bn(I){var G=I&&I.constructor,ae=typeof G=="function"&&G.prototype||mt;return I===ae}function wi(I){return Dt.call(I)}function Xr(I){if(I!=null){try{return bt.call(I)}catch{}try{return I+""}catch{}}return""}function pi(I,G){return I===G||I!==I&&G!==G}var Hn=sn(function(){return arguments}())?sn:function(I){return ri(I)&&$e.call(I,"callee")&&!ne.call(I,"callee")},ei=Array.isArray;function bo(I){return I!=null&&_o(I.length)&&!Rn(I)}var ro=Me||Mr;function no(I,G){return pn(I,G)}function Rn(I){if(!ti(I))return!1;var G=Qn(I);return G==S||G==_||G==m||G==B}function _o(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=u}function ti(I){var G=typeof I;return I!=null&&(G=="object"||G=="function")}function ri(I){return I!=null&&typeof I=="object"}var $i=ht?at(ht):V;function Or(I){return bo(I)?kn(I):Q(I)}function Ar(){return[]}function Mr(){return!1}r.exports=no}(Bf,Bf.exports)),Bf.exports}var Pd={},B0;function mM(){if(B0)return Pd;B0=1,Object.defineProperty(Pd,"__esModule",{value:!0});const r=Ex(),e=kx();var t;return function(n){function i(g={},m={},R=!1){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});let w=r(m);R||(w=Object.keys(w).reduce((b,S)=>(w[S]!=null&&(b[S]=w[S]),b),{}));for(const b in g)g[b]!==void 0&&m[b]===void 0&&(w[b]=g[b]);return Object.keys(w).length>0?w:void 0}n.compose=i;function l(g={},m={}){typeof g!="object"&&(g={}),typeof m!="object"&&(m={});const R=Object.keys(g).concat(Object.keys(m)).reduce((w,b)=>(e(g[b],m[b])||(w[b]=m[b]===void 0?null:m[b]),w),{});return Object.keys(R).length>0?R:void 0}n.diff=l;function u(g={},m={}){g=g||{};const R=Object.keys(m).reduce((w,b)=>(m[b]!==g[b]&&g[b]!==void 0&&(w[b]=m[b]),w),{});return Object.keys(g).reduce((w,b)=>(g[b]!==m[b]&&m[b]===void 0&&(w[b]=null),w),R)}n.invert=u;function f(g,m,R=!1){if(typeof g!="object")return m;if(typeof m!="object")return;if(!R)return m;const w=Object.keys(m).reduce((b,S)=>(g[S]===void 0&&(b[S]=m[S]),b),{});return Object.keys(w).length>0?w:void 0}n.transform=f}(t||(t={})),Pd.default=t,Pd}var Nd={},H0;function Rx(){if(H0)return Nd;H0=1,Object.defineProperty(Nd,"__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={})),Nd.default=r,Nd}var Fd={},q0;function vM(){if(q0)return Fd;q0=1,Object.defineProperty(Fd,"__esModule",{value:!0});const r=Rx();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 i=this.ops[this.index];if(i){const l=this.offset,u=r.default.length(i);if(n>=u-l?(n=u-l,this.index+=1,this.offset=0):this.offset+=n,typeof i.delete=="number")return{delete:n};{const f={};return i.attributes&&(f.attributes=i.attributes),typeof i.retain=="number"?f.retain=n:typeof i.retain=="object"&&i.retain!==null?f.retain=i.retain:typeof i.insert=="string"?f.insert=i.insert.substr(l,n):f.insert=i.insert,f}}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,i=this.index,l=this.next(),u=this.ops.slice(this.index);return this.offset=n,this.index=i,[l].concat(u)}}else return[]}}return Fd.default=e,Fd}var z0;function yM(){return z0||(z0=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=gM(),n=Ex(),i=kx(),l=mM();e.AttributeMap=l.default;const u=Rx();e.Op=u.default;const f=vM();e.OpIterator=f.default;const g="\0",m=(w,b)=>{if(typeof w!="object"||w===null)throw new Error(`cannot retain a ${typeof w}`);if(typeof b!="object"||b===null)throw new Error(`cannot retain a ${typeof b}`);const S=Object.keys(w)[0];if(!S||S!==Object.keys(b)[0])throw new Error(`embed types not matched: ${S} != ${Object.keys(b)[0]}`);return[S,w[S],b[S]]};class R{constructor(b){Array.isArray(b)?this.ops=b:b!=null&&Array.isArray(b.ops)?this.ops=b.ops:this.ops=[]}static registerEmbed(b,S){this.handlers[b]=S}static unregisterEmbed(b){delete this.handlers[b]}static getHandler(b){const S=this.handlers[b];if(!S)throw new Error(`no handlers for embed type "${b}"`);return S}insert(b,S){const _={};return typeof b=="string"&&b.length===0?this:(_.insert=b,S!=null&&typeof S=="object"&&Object.keys(S).length>0&&(_.attributes=S),this.push(_))}delete(b){return b<=0?this:this.push({delete:b})}retain(b,S){if(typeof b=="number"&&b<=0)return this;const _={retain:b};return S!=null&&typeof S=="object"&&Object.keys(S).length>0&&(_.attributes=S),this.push(_)}push(b){let S=this.ops.length,_=this.ops[S-1];if(b=n(b),typeof _=="object"){if(typeof b.delete=="number"&&typeof _.delete=="number")return this.ops[S-1]={delete:_.delete+b.delete},this;if(typeof _.delete=="number"&&b.insert!=null&&(S-=1,_=this.ops[S-1],typeof _!="object"))return this.ops.unshift(b),this;if(i(b.attributes,_.attributes)){if(typeof b.insert=="string"&&typeof _.insert=="string")return this.ops[S-1]={insert:_.insert+b.insert},typeof b.attributes=="object"&&(this.ops[S-1].attributes=b.attributes),this;if(typeof b.retain=="number"&&typeof _.retain=="number")return this.ops[S-1]={retain:_.retain+b.retain},typeof b.attributes=="object"&&(this.ops[S-1].attributes=b.attributes),this}}return S===this.ops.length?this.ops.push(b):this.ops.splice(S,0,b),this}chop(){const b=this.ops[this.ops.length-1];return b&&typeof b.retain=="number"&&!b.attributes&&this.ops.pop(),this}filter(b){return this.ops.filter(b)}forEach(b){this.ops.forEach(b)}map(b){return this.ops.map(b)}partition(b){const S=[],_=[];return this.forEach(M=>{(b(M)?S:_).push(M)}),[S,_]}reduce(b,S){return this.ops.reduce(b,S)}changeLength(){return this.reduce((b,S)=>S.insert?b+u.default.length(S):S.delete?b-S.delete:b,0)}length(){return this.reduce((b,S)=>b+u.default.length(S),0)}slice(b=0,S=1/0){const _=[],M=new f.default(this.ops);let E=0;for(;E<S&&M.hasNext();){let x;E<b?x=M.next(b-E):(x=M.next(S-E),_.push(x)),E+=u.default.length(x)}return new R(_)}compose(b){const S=new f.default(this.ops),_=new f.default(b.ops),M=[],E=_.peek();if(E!=null&&typeof E.retain=="number"&&E.attributes==null){let L=E.retain;for(;S.peekType()==="insert"&&S.peekLength()<=L;)L-=S.peekLength(),M.push(S.next());E.retain-L>0&&_.next(E.retain-L)}const x=new R(M);for(;S.hasNext()||_.hasNext();)if(_.peekType()==="insert")x.push(_.next());else if(S.peekType()==="delete")x.push(S.next());else{const L=Math.min(S.peekLength(),_.peekLength()),O=S.next(L),B=_.next(L);if(B.retain){const H={};if(typeof O.retain=="number")H.retain=typeof B.retain=="number"?L:B.retain;else if(typeof B.retain=="number")O.retain==null?H.insert=O.insert:H.retain=O.retain;else{const K=O.retain==null?"insert":"retain",[ue,J,fe]=m(O[K],B.retain),j=R.getHandler(ue);H[K]={[ue]:j.compose(J,fe,K==="retain")}}const z=l.default.compose(O.attributes,B.attributes,typeof O.retain=="number");if(z&&(H.attributes=z),x.push(H),!_.hasNext()&&i(x.ops[x.ops.length-1],H)){const K=new R(S.rest());return x.concat(K).chop()}}else typeof B.delete=="number"&&(typeof O.retain=="number"||typeof O.retain=="object"&&O.retain!==null)&&x.push(B)}return x.chop()}concat(b){const S=new R(this.ops.slice());return b.ops.length>0&&(S.push(b.ops[0]),S.ops=S.ops.concat(b.ops.slice(1))),S}diff(b,S){if(this.ops===b.ops)return new R;const _=[this,b].map(O=>O.map(B=>{if(B.insert!=null)return typeof B.insert=="string"?B.insert:g;const H=O===b?"on":"with";throw new Error("diff() called "+H+" non-document")}).join("")),M=new R,E=t(_[0],_[1],S,!0),x=new f.default(this.ops),L=new f.default(b.ops);return E.forEach(O=>{let B=O[1].length;for(;B>0;){let H=0;switch(O[0]){case t.INSERT:H=Math.min(L.peekLength(),B),M.push(L.next(H));break;case t.DELETE:H=Math.min(B,x.peekLength()),x.next(H),M.delete(H);break;case t.EQUAL:H=Math.min(x.peekLength(),L.peekLength(),B);const z=x.next(H),K=L.next(H);i(z.insert,K.insert)?M.retain(H,l.default.diff(z.attributes,K.attributes)):M.push(K).delete(H);break}B-=H}}),M.chop()}eachLine(b,S=`
|
163
163
|
`){const _=new f.default(this.ops);let M=new R,E=0;for(;_.hasNext();){if(_.peekType()!=="insert")return;const x=_.peek(),L=u.default.length(x)-_.peekLength(),O=typeof x.insert=="string"?x.insert.indexOf(S,L)-L:-1;if(O<0)M.push(_.next());else if(O>0)M.push(_.next(O));else{if(b(M,_.next(1).attributes||{},E)===!1)return;E+=1,M=new R}}M.length()>0&&b(M,{},E)}invert(b){const S=new R;return this.reduce((_,M)=>{if(M.insert)S.delete(u.default.length(M));else{if(typeof M.retain=="number"&&M.attributes==null)return S.retain(M.retain),_+M.retain;if(M.delete||typeof M.retain=="number"){const E=M.delete||M.retain;return b.slice(_,_+E).forEach(L=>{M.delete?S.push(L):M.retain&&M.attributes&&S.retain(u.default.length(L),l.default.invert(M.attributes,L.attributes))}),_+E}else if(typeof M.retain=="object"&&M.retain!==null){const E=b.slice(_,_+1),x=new f.default(E.ops).next(),[L,O,B]=m(M.retain,x.insert),H=R.getHandler(L);return S.retain({[L]:H.invert(O,B)},l.default.invert(M.attributes,x.attributes)),_+1}}return _},0),S.chop()}transform(b,S=!1){if(S=!!S,typeof b=="number")return this.transformPosition(b,S);const _=b,M=new f.default(this.ops),E=new f.default(_.ops),x=new R;for(;M.hasNext()||E.hasNext();)if(M.peekType()==="insert"&&(S||E.peekType()!=="insert"))x.retain(u.default.length(M.next()));else if(E.peekType()==="insert")x.push(E.next());else{const L=Math.min(M.peekLength(),E.peekLength()),O=M.next(L),B=E.next(L);if(O.delete)continue;if(B.delete)x.push(B);else{const H=O.retain,z=B.retain;let K=typeof z=="object"&&z!==null?z:L;if(typeof H=="object"&&H!==null&&typeof z=="object"&&z!==null){const ue=Object.keys(H)[0];if(ue===Object.keys(z)[0]){const J=R.getHandler(ue);J&&(K={[ue]:J.transform(H[ue],z[ue],S)})}}x.retain(K,l.default.transform(O.attributes,B.attributes,S))}}return x.chop()}transformPosition(b,S=!1){S=!!S;const _=new f.default(this.ops);let M=0;for(;_.hasNext()&&M<=b;){const E=_.peekLength(),x=_.peekType();if(_.next(),x==="delete"){b-=Math.min(E,b-M);continue}else x==="insert"&&(M<b||!S)&&(b+=E);M+=E}return b}}R.Op=u.default,R.OpIterator=f.default,R.AttributeMap=l.default,R.handlers={},e.default=R,r.exports=R,r.exports.default=R}(Od,Od.exports)),Od.exports}var hs=yM();const Zt=al(hs);class Ws extends zo{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}Ws.blotName="break";Ws.tagName="BR";let $s=class extends rh{};const bM={"&":"&","<":"<",">":">",'"':""","'":"'"};function ph(r){return r.replace(/[&<>"']/g,e=>bM[e])}const va=class va extends Rm{static compare(e,t){const n=va.order.indexOf(e),i=va.order.indexOf(t);return n>=0||i>=0?n-i:e===t?0:e<t?-1:1}formatAt(e,t,n,i){if(va.compare(this.statics.blotName,n)<0&&this.scroll.query(n,Qt.BLOT)){const l=this.isolate(e,t);i&&l.wrap(n,i)}else super.formatAt(e,t,n,i)}optimize(e){if(super.optimize(e),this.parent instanceof va&&va.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}};ft(va,"allowedChildren",[va,Ws,zo,$s]),ft(va,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);let wa=va;const $0=1;class ji extends Qf{constructor(){super(...arguments);ft(this,"cache",{})}delta(){return this.cache.delta==null&&(this.cache.delta=Ix(this)),this.cache.delta}deleteAt(t,n){super.deleteAt(t,n),this.cache={}}formatAt(t,n,i,l){n<=0||(this.scroll.query(i,Qt.BLOCK)?t+n===this.length()&&this.format(i,l):super.formatAt(t,Math.min(n,this.length()-t-1),i,l),this.cache={})}insertAt(t,n,i){if(i!=null){super.insertAt(t,n,i),this.cache={};return}if(n.length===0)return;const l=n.split(`
|
164
164
|
`),u=l.shift();u.length>0&&(t<this.length()-1||this.children.tail==null?super.insertAt(Math.min(t,this.length()-1),u):this.children.tail.insertAt(this.children.tail.length(),u),this.cache={});let f=this;l.reduce((g,m)=>(f=f.split(g,!0),f.insertAt(0,m),m.length),t+u.length)}insertBefore(t,n){const{head:i}=this.children;super.insertBefore(t,n),i instanceof Ws&&i.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+$0),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()-$0)){const l=this.clone();return t===0?(this.parent.insertBefore(l,this),this):(this.parent.insertBefore(l,this.next),l)}const i=super.split(t,n);return this.cache={},i}}ji.blotName="block";ji.tagName="P";ji.defaultChild=Ws;ji.allowedChildren=[Ws,wa,zo,$s];class ds extends zo{attach(){super.attach(),this.attributes=new dh(this.domNode)}delta(){return new Zt().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){const n=this.scroll.query(e,Qt.BLOCK_ATTRIBUTE);n!=null&&this.attributes.attribute(n,t)}formatAt(e,t,n,i){this.format(n,i)}insertAt(e,t,n){if(n!=null){super.insertAt(e,t,n);return}const i=t.split(`
|
165
165
|
`),l=i.pop(),u=i.map(g=>{const m=this.scroll.create(ji.blotName);return m.insertAt(0,g),m}),f=this.split(e);u.forEach(g=>{this.parent.insertBefore(g,f)}),l&&this.parent.insertBefore(this.scroll.create("text",l),f)}}ds.scope=Qt.BLOCK_BLOT;function Ix(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.descendants(qi).reduce((t,n)=>n.length()===0?t:t.insert(n.value(),us(n,{},e)),new Zt).insert(`
|
@@ -207,7 +207,7 @@ ${ph(this.code(e,t))}
|
|
207
207
|
`,{[zi.blotName]:t}),i.insert(l)),new Zt);const n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(zi.className),n.innerHTML=LD(this.options.hljs,t,e),jm(this.quill.scroll,n,[(i,l)=>{const u=Hf.value(i);return u?l.compose(new Zt().retain(l.length(),{[ol.blotName]:u})):l}],[(i,l)=>i.data.split(`
|
208
208
|
`).reduce((u,f,g)=>(g!==0&&u.insert(`
|
209
209
|
`,{[zi.blotName]:t}),u.insert(f)),l)],new WeakMap)}}Zx.DEFAULTS={hljs:window.hljs,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};const Vf=class Vf extends ji{static create(e){const t=super.create();return e?t.setAttribute("data-row",e):t.setAttribute("data-row",Bm()),t}static formats(e){if(e.hasAttribute("data-row"))return e.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(e,t){e===Vf.blotName&&t?this.domNode.setAttribute("data-row",t):super.format(e,t)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}};ft(Vf,"blotName","table"),ft(Vf,"tagName","TD");let Bs=Vf;class sl extends nu{checkMerge(){if(super.checkMerge()&&this.next.children.head!=null){const e=this.children.head.formats(),t=this.children.tail.formats(),n=this.next.children.head.formats(),i=this.next.children.tail.formats();return e.table===t.table&&e.table===n.table&&e.table===i.table}return!1}optimize(e){super.optimize(e),this.children.forEach(t=>{if(t.next==null)return;const n=t.formats(),i=t.next.formats();if(n.table!==i.table){const l=this.splitAfter(t);l&&l.optimize(),this.prev&&this.prev.optimize()}})}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}ft(sl,"blotName","table-row"),ft(sl,"tagName","TR");class xa extends nu{}ft(xa,"blotName","table-body"),ft(xa,"tagName","TBODY");class Qu extends nu{balanceCells(){const e=this.descendants(sl),t=e.reduce((n,i)=>Math.max(i.children.length,n),0);e.forEach(n=>{new Array(t-n.children.length).fill(0).forEach(()=>{let i;n.children.head!=null&&(i=Bs.formats(n.children.head.domNode));const l=this.scroll.create(Bs.blotName,i);n.appendChild(l),l.optimize()})})}cells(e){return this.rows().map(t=>t.children.at(e))}deleteColumn(e){const[t]=this.descendant(xa);t==null||t.children.head==null||t.children.forEach(n=>{const i=n.children.at(e);i!=null&&i.remove()})}insertColumn(e){const[t]=this.descendant(xa);t==null||t.children.head==null||t.children.forEach(n=>{const i=n.children.at(e),l=Bs.formats(n.children.head.domNode),u=this.scroll.create(Bs.blotName,l);n.insertBefore(u,i)})}insertRow(e){const[t]=this.descendant(xa);if(t==null||t.children.head==null)return;const n=Bm(),i=this.scroll.create(sl.blotName);t.children.head.children.forEach(()=>{const u=this.scroll.create(Bs.blotName,n);i.appendChild(u)});const l=t.children.at(e);t.insertBefore(i,l)}rows(){const e=this.children.head;return e==null?[]:e.children.map(t=>t)}}ft(Qu,"blotName","table-container"),ft(Qu,"tagName","TABLE");Qu.allowedChildren=[xa];xa.requiredContainer=Qu;xa.allowedChildren=[sl];sl.requiredContainer=xa;sl.allowedChildren=[Bs];Bs.requiredContainer=sl;function Bm(){return`row-${Math.random().toString(36).slice(2,6)}`}class MD extends Vs{static register(){Ke.register(Bs),Ke.register(sl),Ke.register(xa),Ke.register(Qu)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(Qu).forEach(e=>{e.balanceCells()})}deleteColumn(){const[e,,t]=this.getTable();t!=null&&(e.deleteColumn(t.cellOffset()),this.quill.update(Ke.sources.USER))}deleteRow(){const[,e]=this.getTable();e!=null&&(e.remove(),this.quill.update(Ke.sources.USER))}deleteTable(){const[e]=this.getTable();if(e==null)return;const t=e.offset();e.remove(),this.quill.update(Ke.sources.USER),this.quill.setSelection(t,Ke.sources.SILENT)}getTable(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.quill.getSelection();if(e==null)return[null,null,null,-1];const[t,n]=this.quill.getLine(e.index);if(t==null||t.statics.blotName!==Bs.blotName)return[null,null,null,-1];const i=t.parent;return[i.parent.parent,i,t,n]}insertColumn(e){const t=this.quill.getSelection();if(!t)return;const[n,i,l]=this.getTable(t);if(l==null)return;const u=l.cellOffset();n.insertColumn(u+e),this.quill.update(Ke.sources.USER);let f=i.rowOffset();e===0&&(f+=1),this.quill.setSelection(t.index+f,t.length,Ke.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(e){const t=this.quill.getSelection();if(!t)return;const[n,i,l]=this.getTable(t);if(l==null)return;const u=i.rowOffset();n.insertRow(u+e),this.quill.update(Ke.sources.USER),e>0?this.quill.setSelection(t,Ke.sources.SILENT):this.quill.setSelection(t.index+i.children.length,t.length,Ke.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(e,t){const n=this.quill.getSelection();if(n==null)return;const i=new Array(e).fill(0).reduce(l=>{const u=new Array(t).fill(`
|
210
|
-
`).join("");return l.insert(u,{table:Bm()})},new Zt().retain(n.index));this.quill.updateContents(i,Ke.sources.USER),this.quill.setSelection(n.index,Ke.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(Ke.events.SCROLL_OPTIMIZE,e=>{e.some(t=>["TD","TR","TBODY","TABLE"].includes(t.target.tagName)?(this.quill.once(Ke.events.TEXT_CHANGE,(n,i,l)=>{l===Ke.sources.USER&&this.balanceTables()}),!0):!1)})}}const ay=cl("quill:toolbar");class Hm extends Vs{constructor(e,t){var n,i;if(super(e,t),Array.isArray(this.options.container)){const l=document.createElement("div");l.setAttribute("role","toolbar"),DD(l,this.options.container),(i=(n=e.container)==null?void 0:n.parentNode)==null||i.insertBefore(l,e.container),this.container=l}else typeof this.options.container=="string"?this.container=document.querySelector(this.options.container):this.container=this.options.container;if(!(this.container instanceof HTMLElement)){ay.error("Container required for toolbar",this.options);return}this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach(l=>{var f;const u=(f=this.options.handlers)==null?void 0:f[l];u&&this.addHandler(l,u)}),Array.from(this.container.querySelectorAll("button, select")).forEach(l=>{this.attach(l)}),this.quill.on(Ke.events.EDITOR_CHANGE,()=>{const[l]=this.quill.selection.getRange();this.update(l)})}addHandler(e,t){this.handlers[e]=t}attach(e){let t=Array.from(e.classList).find(i=>i.indexOf("ql-")===0);if(!t)return;if(t=t.slice(3),e.tagName==="BUTTON"&&e.setAttribute("type","button"),this.handlers[t]==null&&this.quill.scroll.query(t)==null){ay.warn("ignoring attaching to nonexistent format",t,e);return}const n=e.tagName==="SELECT"?"change":"click";e.addEventListener(n,i=>{let l;if(e.tagName==="SELECT"){if(e.selectedIndex<0)return;const f=e.options[e.selectedIndex];f.hasAttribute("selected")?l=!1:l=f.value||!1}else e.classList.contains("ql-active")?l=!1:l=e.value||!e.hasAttribute("value"),i.preventDefault();this.quill.focus();const[u]=this.quill.selection.getRange();if(this.handlers[t]!=null)this.handlers[t].call(this,l);else if(this.quill.scroll.query(t).prototype instanceof zo){if(l=prompt(`Enter ${t}`),!l)return;this.quill.updateContents(new Zt().retain(u.index).delete(u.length).insert({[t]:l}),Ke.sources.USER)}else this.quill.format(t,l,Ke.sources.USER);this.update(u)}),this.controls.push([t,e])}update(e){const t=e==null?{}:this.quill.getFormat(e);this.controls.forEach(n=>{const[i,l]=n;if(l.tagName==="SELECT"){let u=null;if(e==null)u=null;else if(t[i]==null)u=l.querySelector("option[selected]");else if(!Array.isArray(t[i])){let f=t[i];typeof f=="string"&&(f=f.replace(/"/g,'\\"')),u=l.querySelector(`option[value="${f}"]`)}u==null?(l.value="",l.selectedIndex=-1):u.selected=!0}else if(e==null)l.classList.remove("ql-active"),l.setAttribute("aria-pressed","false");else if(l.hasAttribute("value")){const u=t[i],f=u===l.getAttribute("value")||u!=null&&u.toString()===l.getAttribute("value")||u==null&&!l.getAttribute("value");l.classList.toggle("ql-active",f),l.setAttribute("aria-pressed",f.toString())}else{const u=t[i]!=null;l.classList.toggle("ql-active",u),l.setAttribute("aria-pressed",u.toString())}})}}Hm.DEFAULTS={};function ly(r,e,t){const n=document.createElement("button");n.setAttribute("type","button"),n.classList.add(`ql-${e}`),n.setAttribute("aria-pressed","false"),t!=null?(n.value=t,n.setAttribute("aria-label",`${e}: ${t}`)):n.setAttribute("aria-label",e),r.appendChild(n)}function DD(r,e){Array.isArray(e[0])||(e=[e]),e.forEach(t=>{const n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(i=>{if(typeof i=="string")ly(n,i);else{const l=Object.keys(i)[0],u=i[l];Array.isArray(u)?OD(n,l,u):ly(n,l,u)}}),r.appendChild(n)})}function OD(r,e,t){const n=document.createElement("select");n.classList.add(`ql-${e}`),t.forEach(i=>{const l=document.createElement("option");i!==!1?l.setAttribute("value",String(i)):l.setAttribute("selected","selected"),n.appendChild(l)}),r.appendChild(n)}Hm.DEFAULTS={container:null,handlers:{clean(){const r=this.quill.getSelection();if(r!=null)if(r.length===0){const e=this.quill.getFormat();Object.keys(e).forEach(t=>{this.quill.scroll.query(t,Qt.INLINE)!=null&&this.quill.format(t,!1,Ke.sources.USER)})}else this.quill.removeFormat(r.index,r.length,Ke.sources.USER)},direction(r){const{align:e}=this.quill.getFormat();r==="rtl"&&e==null?this.quill.format("align","right",Ke.sources.USER):!r&&e==="right"&&this.quill.format("align",!1,Ke.sources.USER),this.quill.format("direction",r,Ke.sources.USER)},indent(r){const e=this.quill.getSelection(),t=this.quill.getFormat(e),n=parseInt(t.indent||0,10);if(r==="+1"||r==="-1"){let i=r==="+1"?1:-1;t.direction==="rtl"&&(i*=-1),this.quill.format("indent",n+i,Ke.sources.USER)}},link(r){r===!0&&(r=prompt("Enter link URL:")),this.quill.format("link",r,Ke.sources.USER)},list(r){const e=this.quill.getSelection(),t=this.quill.getFormat(e);r==="check"?t.list==="checked"||t.list==="unchecked"?this.quill.format("list",!1,Ke.sources.USER):this.quill.format("list","unchecked",Ke.sources.USER):this.quill.format("list",r,Ke.sources.USER)}}};const PD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>',ND='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>',FD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>',jD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>',BD='<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>',HD='<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>',qD='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>',zD='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>',cy='<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>',$D='<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>',UD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>',WD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>',VD='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>',GD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>',ZD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',KD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',YD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>',XD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',JD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>',QD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>',eO='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>',tO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>',rO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>',nO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>',iO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>',oO='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>',sO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>',aO='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>',lO='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>',cO='<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>',uO='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>',fO='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>',dO='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>',rd={align:{"":PD,center:ND,right:FD,justify:jD},background:BD,blockquote:HD,bold:qD,clean:zD,code:cy,"code-block":cy,color:$D,direction:{"":UD,rtl:WD},formula:VD,header:{1:GD,2:ZD,3:KD,4:YD,5:XD,6:JD},italic:QD,image:eO,indent:{"+1":tO,"-1":rO},link:nO,list:{bullet:iO,check:oO,ordered:sO},script:{sub:aO,super:lO},strike:cO,table:uO,underline:fO,video:dO},hO='<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';let uy=0;function fy(r,e){r.setAttribute(e,`${r.getAttribute(e)!=="true"}`)}class mh{constructor(e){this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",()=>{this.togglePicker()}),this.label.addEventListener("keydown",t=>{switch(t.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),t.preventDefault();break}}),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),fy(this.label,"aria-expanded"),fy(this.options,"aria-hidden")}buildItem(e){const t=document.createElement("span");t.tabIndex="0",t.setAttribute("role","button"),t.classList.add("ql-picker-item");const n=e.getAttribute("value");return n&&t.setAttribute("data-value",n),e.textContent&&t.setAttribute("data-label",e.textContent),t.addEventListener("click",()=>{this.selectItem(t,!0)}),t.addEventListener("keydown",i=>{switch(i.key){case"Enter":this.selectItem(t,!0),i.preventDefault();break;case"Escape":this.escape(),i.preventDefault();break}}),t}buildLabel(){const e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=hO,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}buildOptions(){const e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id=`ql-picker-options-${uy}`,uy+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,Array.from(this.select.options).forEach(t=>{const n=this.buildItem(t);e.appendChild(n),t.selected===!0&&this.selectItem(n)}),this.container.appendChild(e)}buildPicker(){Array.from(this.select.attributes).forEach(e=>{this.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout(()=>this.label.focus(),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=this.container.querySelector(".ql-selected");e!==n&&(n!=null&&n.classList.remove("ql-selected"),e!=null&&(e.classList.add("ql-selected"),this.select.selectedIndex=Array.from(e.parentNode.children).indexOf(e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let e;if(this.select.selectedIndex>-1){const n=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(n)}else this.selectItem(null);const t=e!=null&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",t)}}class Kx extends mh{constructor(e,t){super(e),this.label.innerHTML=t,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach(n=>{n.classList.add("ql-primary")})}buildItem(e){const t=super.buildItem(e);return t.style.backgroundColor=e.getAttribute("value")||"",t}selectItem(e,t){super.selectItem(e,t);const n=this.label.querySelector(".ql-color-label"),i=e&&e.getAttribute("data-value")||"";n&&(n.tagName==="line"?n.style.stroke=i:n.style.fill=i)}}class Yx extends mh{constructor(e,t){super(e),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach(n=>{n.innerHTML=t[n.getAttribute("data-value")||""]}),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(e,t){super.selectItem(e,t);const n=e||this.defaultItem;if(n!=null){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}}const pO=r=>{const{overflowY:e}=getComputedStyle(r,null);return e!=="visible"&&e!=="clip"};class Xx{constructor(e,t){this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,pO(this.quill.root)&&this.quill.root.addEventListener("scroll",()=>{this.root.style.marginTop=`${-1*this.quill.root.scrollTop}px`}),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(e){const t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=`${t}px`,this.root.style.top=`${n}px`,this.root.classList.remove("ql-flip");const i=this.boundsContainer.getBoundingClientRect(),l=this.root.getBoundingClientRect();let u=0;if(l.right>i.right&&(u=i.right-l.right,this.root.style.left=`${t+u}px`),l.left<i.left&&(u=i.left-l.left,this.root.style.left=`${t+u}px`),l.bottom>i.bottom){const f=l.bottom-l.top,g=e.bottom-e.top+f;this.root.style.top=`${n-g}px`,this.root.classList.add("ql-flip")}return u}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}const gO=[!1,"center","right","justify"],mO=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],vO=[!1,"serif","monospace"],yO=["1","2","3",!1],bO=["small",!1,"large","huge"];class cd extends Ju{constructor(e,t){super(e,t);const n=i=>{if(!document.body.contains(e.root)){document.body.removeEventListener("click",n);return}this.tooltip!=null&&!this.tooltip.root.contains(i.target)&&document.activeElement!==this.tooltip.textbox&&!this.quill.hasFocus()&&this.tooltip.hide(),this.pickers!=null&&this.pickers.forEach(l=>{l.container.contains(i.target)||l.close()})};e.emitter.listenDOM("click",document.body,n)}addModule(e){const t=super.addModule(e);return e==="toolbar"&&this.extendToolbar(t),t}buildButtons(e,t){Array.from(e).forEach(n=>{(n.getAttribute("class")||"").split(/\s+/).forEach(l=>{if(l.startsWith("ql-")&&(l=l.slice(3),t[l]!=null))if(l==="direction")n.innerHTML=t[l][""]+t[l].rtl;else if(typeof t[l]=="string")n.innerHTML=t[l];else{const u=n.value||"";u!=null&&t[l][u]&&(n.innerHTML=t[l][u])}})})}buildPickers(e,t){this.pickers=Array.from(e).map(i=>{if(i.classList.contains("ql-align")&&(i.querySelector("option")==null&&Df(i,gO),typeof t.align=="object"))return new Yx(i,t.align);if(i.classList.contains("ql-background")||i.classList.contains("ql-color")){const l=i.classList.contains("ql-background")?"background":"color";return i.querySelector("option")==null&&Df(i,mO,l==="background"?"#ffffff":"#000000"),new Kx(i,t[l])}return i.querySelector("option")==null&&(i.classList.contains("ql-font")?Df(i,vO):i.classList.contains("ql-header")?Df(i,yO):i.classList.contains("ql-size")&&Df(i,bO)),new mh(i)});const n=()=>{this.pickers.forEach(i=>{i.update()})};this.quill.on(Kt.events.EDITOR_CHANGE,n)}}cd.DEFAULTS=Ql({},Ju.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let r=this.container.querySelector("input.ql-image[type=file]");r==null&&(r=document.createElement("input"),r.setAttribute("type","file"),r.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),r.classList.add("ql-image"),r.addEventListener("change",()=>{const e=this.quill.getSelection(!0);this.quill.uploader.upload(e,r.files),r.value=""}),this.container.appendChild(r)),r.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class Jx extends Xx{constructor(e,t){super(e,t),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",e=>{e.key==="Enter"?(this.save(),e.preventDefault()):e.key==="Escape"&&(this.cancel(),e.preventDefault())})}cancel(){this.hide(),this.restoreFocus()}edit(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),this.textbox==null)return;t!=null?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value="");const n=this.quill.getBounds(this.quill.selection.savedRange);n!=null&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${e}`)||""),this.root.setAttribute("data-mode",e)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:e}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{const{scrollTop:t}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,Kt.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,Kt.sources.USER)),this.quill.root.scrollTop=t;break}case"video":e=_O(e);case"formula":{if(!e)break;const t=this.quill.getSelection(!0);if(t!=null){const n=t.index+t.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),e,Kt.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(n+1," ",Kt.sources.USER),this.quill.setSelection(n+2,Kt.sources.USER)}break}}this.textbox.value="",this.hide()}}function _O(r){let e=r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?`${e[1]||"https"}://www.youtube.com/embed/${e[2]}?showinfo=0`:(e=r.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${e[1]||"https"}://player.vimeo.com/video/${e[2]}/`:r}function Df(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;e.forEach(n=>{const i=document.createElement("option");n===t?i.setAttribute("selected","selected"):i.setAttribute("value",String(n)),r.appendChild(i)})}const xO=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class Qx extends Jx{constructor(e,t){super(e,t),this.quill.on(Kt.events.EDITOR_CHANGE,(n,i,l,u)=>{if(n===Kt.events.SELECTION_CHANGE)if(i!=null&&i.length>0&&u===Kt.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;const f=this.quill.getLines(i.index,i.length);if(f.length===1){const g=this.quill.getBounds(i);g!=null&&this.position(g)}else{const g=f[f.length-1],m=this.quill.getIndex(g),R=Math.min(g.length()-1,i.index+i.length-m),w=this.quill.getBounds(new Jc(m,R));w!=null&&this.position(w)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()})}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",()=>{this.root.classList.remove("ql-editing")}),this.quill.on(Kt.events.SCROLL_OPTIMIZE,()=>{setTimeout(()=>{if(this.root.classList.contains("ql-hidden"))return;const e=this.quill.getSelection();if(e!=null){const t=this.quill.getBounds(e);t!=null&&this.position(t)}},1)})}cancel(){this.show()}position(e){const t=super.position(e),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",t!==0&&(n.style.marginLeft=`${-1*t-n.offsetWidth/2}px`),t}}ft(Qx,"TEMPLATE",['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""));class eS extends cd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=xO),super(e,t),this.quill.container.classList.add("ql-bubble")}extendToolbar(e){this.tooltip=new Qx(this.quill,this.options.bounds),e.container!=null&&(this.tooltip.root.appendChild(e.container),this.buildButtons(e.container.querySelectorAll("button"),rd),this.buildPickers(e.container.querySelectorAll("select"),rd))}}eS.DEFAULTS=Ql({},cd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){r?this.quill.theme.tooltip.edit():this.quill.format("link",!1,Ke.sources.USER)}}}}});const SO=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class tS extends Jx{constructor(){super(...arguments);ft(this,"preview",this.root.querySelector("a.ql-preview"))}listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",t=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",t=>{if(this.linkRange!=null){const n=this.linkRange;this.restoreFocus(),this.quill.formatText(n,"link",!1,Kt.sources.USER),delete this.linkRange}t.preventDefault(),this.hide()}),this.quill.on(Kt.events.SELECTION_CHANGE,(t,n,i)=>{if(t!=null){if(t.length===0&&i===Kt.sources.USER){const[l,u]=this.quill.scroll.descendant(Jl,t.index);if(l!=null){this.linkRange=new Jc(t.index-u,l.length());const f=Jl.formats(l.domNode);this.preview.textContent=f,this.preview.setAttribute("href",f),this.show();const g=this.quill.getBounds(this.linkRange);g!=null&&this.position(g);return}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}ft(tS,"TEMPLATE",['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""));class rS extends cd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=SO),super(e,t),this.quill.container.classList.add("ql-snow")}extendToolbar(e){e.container!=null&&(e.container.classList.add("ql-snow"),this.buildButtons(e.container.querySelectorAll("button"),rd),this.buildPickers(e.container.querySelectorAll("select"),rd),this.tooltip=new tS(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},(t,n)=>{e.handlers.link.call(e,!n.format.link)}))}}rS.DEFAULTS=Ql({},cd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){if(r){const e=this.quill.getSelection();if(e==null||e.length===0)return;let t=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(t)&&t.indexOf("mailto:")!==0&&(t=`mailto:${t}`);const{tooltip:n}=this.quill.theme;n.edit("link",t)}else this.quill.format("link",!1,Ke.sources.USER)}}}}});Ke.register({"attributors/attribute/direction":Px,"attributors/class/align":Mx,"attributors/class/background":BM,"attributors/class/color":jM,"attributors/class/direction":Nx,"attributors/class/font":Bx,"attributors/class/size":qx,"attributors/style/align":Dx,"attributors/style/background":Om,"attributors/style/color":Dm,"attributors/style/direction":Fx,"attributors/style/font":Hx,"attributors/style/size":zx},!0);Ke.register({"formats/align":Mx,"formats/direction":Nx,"formats/indent":RD,"formats/background":Om,"formats/color":Dm,"formats/font":Bx,"formats/size":qx,"formats/blockquote":rm,"formats/code-block":zi,"formats/header":nm,"formats/list":ld,"formats/bold":td,"formats/code":Pm,"formats/italic":im,"formats/link":Jl,"formats/script":om,"formats/strike":sm,"formats/underline":am,"formats/formula":Wd,"formats/image":ID,"formats/video":Vd,"modules/syntax":Zx,"modules/table":MD,"modules/toolbar":Hm,"themes/bubble":eS,"themes/snow":rS,"ui/icons":rd,"ui/picker":mh,"ui/icon-picker":Yx,"ui/color-picker":Kx,"ui/tooltip":Xx},!0);var pp={exports:{}},dy;function CO(){return dy||(dy=1,function(r,e){(function(t,n){r.exports=n()})(self,()=>(()=>{var t={321:(l,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.ConsoleLogger=void 0;var f=function(){function g(m,R){this.debug=m,this.suppressErrorLogging=R}return g.prototype.prefixString=function(){return"</> quill-image-compress: "},Object.defineProperty(g.prototype,"log",{get:function(){return this.debug?console.log.bind(console,this.prefixString()):function(){}},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"error",{get:function(){return this.suppressErrorLogging?function(){}:console.error.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"warn",{get:function(){return this.suppressErrorLogging?function(){}:console.warn.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),g}();u.ConsoleLogger=f},337:function(l,u){var f=this&&this.__awaiter||function(m,R,w,b){return new(w||(w=Promise))(function(S,_){function M(L){try{x(b.next(L))}catch(O){_(O)}}function E(L){try{x(b.throw(L))}catch(O){_(O)}}function x(L){var O;L.done?S(L.value):(O=L.value,O instanceof w?O:new w(function(B){B(O)})).then(M,E)}x((b=b.apply(m,R||[])).next())})},g=this&&this.__generator||function(m,R){var w,b,S,_={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]},M=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return M.next=E(0),M.throw=E(1),M.return=E(2),typeof Symbol=="function"&&(M[Symbol.iterator]=function(){return this}),M;function E(x){return function(L){return function(O){if(w)throw new TypeError("Generator is already executing.");for(;M&&(M=0,O[0]&&(_=0)),_;)try{if(w=1,b&&(S=2&O[0]?b.return:O[0]?b.throw||((S=b.return)&&S.call(b),0):b.next)&&!(S=S.call(b,O[1])).done)return S;switch(b=0,S&&(O=[2&O[0],S.value]),O[0]){case 0:case 1:S=O;break;case 4:return _.label++,{value:O[1],done:!1};case 5:_.label++,b=O[1],O=[0];continue;case 7:O=_.ops.pop(),_.trys.pop();continue;default:if(S=_.trys,!((S=S.length>0&&S[S.length-1])||O[0]!==6&&O[0]!==2)){_=0;continue}if(O[0]===3&&(!S||O[1]>S[0]&&O[1]<S[3])){_.label=O[1];break}if(O[0]===6&&_.label<S[1]){_.label=S[1],S=O;break}if(S&&_.label<S[2]){_.label=S[2],_.ops.push(O);break}S[2]&&_.ops.pop(),_.trys.pop();continue}O=R.call(m,_)}catch(B){O=[6,B],b=0}finally{w=S=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([x,L])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.downscaleImage=function(m,R,w,b,S,_,M,E){return f(this,void 0,void 0,function(){var x,L,O,B,H,z,K,ue;return g(this,function(J){switch(J.label){case 0:return x=R.split(";")[0].split(":")[1],S=S||"image/jpeg",E=E||.7,(L=new Image).src=R,[4,new Promise(function(fe){L.onload=function(){fe()}})];case 1:return J.sent(),O=function(fe,j,te,X){if(te&&X&&fe<=te&&j<=X)return[fe,j];if(te&&fe>te){var re=te,de=Math.floor(j/fe*re);if(X&&de>X){var ge=X;return[Math.floor(fe/j*ge),ge]}return[re,de]}return X&&j>X?(de=X,[re=Math.floor(fe/j*de),de]):[j,fe]}(L.width,L.height,w,b),B=O[0],H=O[1],(z=document.createElement("canvas")).width=B,z.height=H,K=z.getContext("2d"),S==="image/jpeg"&&(K.fillStyle="#FFFFFF",K.fillRect(0,0,L.width,L.height)),M!=null&&M.includes(x)?[2,R]:(_!=null&&_.includes(x)&&(S=x),K.drawImage(L,0,0,B,H),ue=z.toDataURL(S,E),m.log("downscaling image...",{args:{dataUrl:R,maxWidth:w,maxHeight:b,imageType:S,ignoreImageTypes:M,keepImageTypes:_,imageQuality:E},newHeight:H,newWidth:B}),[2,ue])}})})}},922:function(l,u){var f=this&&this.__awaiter||function(m,R,w,b){return new(w||(w=Promise))(function(S,_){function M(L){try{x(b.next(L))}catch(O){_(O)}}function E(L){try{x(b.throw(L))}catch(O){_(O)}}function x(L){var O;L.done?S(L.value):(O=L.value,O instanceof w?O:new w(function(B){B(O)})).then(M,E)}x((b=b.apply(m,R||[])).next())})},g=this&&this.__generator||function(m,R){var w,b,S,_={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]},M=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return M.next=E(0),M.throw=E(1),M.return=E(2),typeof Symbol=="function"&&(M[Symbol.iterator]=function(){return this}),M;function E(x){return function(L){return function(O){if(w)throw new TypeError("Generator is already executing.");for(;M&&(M=0,O[0]&&(_=0)),_;)try{if(w=1,b&&(S=2&O[0]?b.return:O[0]?b.throw||((S=b.return)&&S.call(b),0):b.next)&&!(S=S.call(b,O[1])).done)return S;switch(b=0,S&&(O=[2&O[0],S.value]),O[0]){case 0:case 1:S=O;break;case 4:return _.label++,{value:O[1],done:!1};case 5:_.label++,b=O[1],O=[0];continue;case 7:O=_.ops.pop(),_.trys.pop();continue;default:if(S=_.trys,!((S=S.length>0&&S[S.length-1])||O[0]!==6&&O[0]!==2)){_=0;continue}if(O[0]===3&&(!S||O[1]>S[0]&&O[1]<S[3])){_.label=O[1];break}if(O[0]===6&&_.label<S[1]){_.label=S[1],S=O;break}if(S&&_.label<S[2]){_.label=S[2],_.ops.push(O);break}S[2]&&_.ops.pop(),_.trys.pop();continue}O=R.call(m,_)}catch(B){O=[6,B],b=0}finally{w=S=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([x,L])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.file2b64=function(m){return f(this,void 0,void 0,function(){var R,w;return g(this,function(b){return R=new FileReader,w=new Promise(function(S,_){R.addEventListener("load",function(){var M,E=(M=R.result)===null||M===void 0?void 0:M.toString();E?S(E):_("could not convert file to base64")},!1)}),R.readAsDataURL(m),[2,w]})})}},457:(l,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.warnAboutOptions=function(f,g){f.maxWidth=f.maxWidth||1e3,f.maxHeight=f.maxHeight||1e3,f.maxWidth&&typeof f.maxWidth!="number"&&(g.warn(`[config error] 'maxWidth' is required to be a "number" (in pixels),
|
210
|
+
`).join("");return l.insert(u,{table:Bm()})},new Zt().retain(n.index));this.quill.updateContents(i,Ke.sources.USER),this.quill.setSelection(n.index,Ke.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(Ke.events.SCROLL_OPTIMIZE,e=>{e.some(t=>["TD","TR","TBODY","TABLE"].includes(t.target.tagName)?(this.quill.once(Ke.events.TEXT_CHANGE,(n,i,l)=>{l===Ke.sources.USER&&this.balanceTables()}),!0):!1)})}}const ay=cl("quill:toolbar");class Hm extends Vs{constructor(e,t){var n,i;if(super(e,t),Array.isArray(this.options.container)){const l=document.createElement("div");l.setAttribute("role","toolbar"),DD(l,this.options.container),(i=(n=e.container)==null?void 0:n.parentNode)==null||i.insertBefore(l,e.container),this.container=l}else typeof this.options.container=="string"?this.container=document.querySelector(this.options.container):this.container=this.options.container;if(!(this.container instanceof HTMLElement)){ay.error("Container required for toolbar",this.options);return}this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach(l=>{var f;const u=(f=this.options.handlers)==null?void 0:f[l];u&&this.addHandler(l,u)}),Array.from(this.container.querySelectorAll("button, select")).forEach(l=>{this.attach(l)}),this.quill.on(Ke.events.EDITOR_CHANGE,()=>{const[l]=this.quill.selection.getRange();this.update(l)})}addHandler(e,t){this.handlers[e]=t}attach(e){let t=Array.from(e.classList).find(i=>i.indexOf("ql-")===0);if(!t)return;if(t=t.slice(3),e.tagName==="BUTTON"&&e.setAttribute("type","button"),this.handlers[t]==null&&this.quill.scroll.query(t)==null){ay.warn("ignoring attaching to nonexistent format",t,e);return}const n=e.tagName==="SELECT"?"change":"click";e.addEventListener(n,i=>{let l;if(e.tagName==="SELECT"){if(e.selectedIndex<0)return;const f=e.options[e.selectedIndex];f.hasAttribute("selected")?l=!1:l=f.value||!1}else e.classList.contains("ql-active")?l=!1:l=e.value||!e.hasAttribute("value"),i.preventDefault();this.quill.focus();const[u]=this.quill.selection.getRange();if(this.handlers[t]!=null)this.handlers[t].call(this,l);else if(this.quill.scroll.query(t).prototype instanceof zo){if(l=prompt(`Enter ${t}`),!l)return;this.quill.updateContents(new Zt().retain(u.index).delete(u.length).insert({[t]:l}),Ke.sources.USER)}else this.quill.format(t,l,Ke.sources.USER);this.update(u)}),this.controls.push([t,e])}update(e){const t=e==null?{}:this.quill.getFormat(e);this.controls.forEach(n=>{const[i,l]=n;if(l.tagName==="SELECT"){let u=null;if(e==null)u=null;else if(t[i]==null)u=l.querySelector("option[selected]");else if(!Array.isArray(t[i])){let f=t[i];typeof f=="string"&&(f=f.replace(/"/g,'\\"')),u=l.querySelector(`option[value="${f}"]`)}u==null?(l.value="",l.selectedIndex=-1):u.selected=!0}else if(e==null)l.classList.remove("ql-active"),l.setAttribute("aria-pressed","false");else if(l.hasAttribute("value")){const u=t[i],f=u===l.getAttribute("value")||u!=null&&u.toString()===l.getAttribute("value")||u==null&&!l.getAttribute("value");l.classList.toggle("ql-active",f),l.setAttribute("aria-pressed",f.toString())}else{const u=t[i]!=null;l.classList.toggle("ql-active",u),l.setAttribute("aria-pressed",u.toString())}})}}Hm.DEFAULTS={};function ly(r,e,t){const n=document.createElement("button");n.setAttribute("type","button"),n.classList.add(`ql-${e}`),n.setAttribute("aria-pressed","false"),t!=null?(n.value=t,n.setAttribute("aria-label",`${e}: ${t}`)):n.setAttribute("aria-label",e),r.appendChild(n)}function DD(r,e){Array.isArray(e[0])||(e=[e]),e.forEach(t=>{const n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(i=>{if(typeof i=="string")ly(n,i);else{const l=Object.keys(i)[0],u=i[l];Array.isArray(u)?OD(n,l,u):ly(n,l,u)}}),r.appendChild(n)})}function OD(r,e,t){const n=document.createElement("select");n.classList.add(`ql-${e}`),t.forEach(i=>{const l=document.createElement("option");i!==!1?l.setAttribute("value",String(i)):l.setAttribute("selected","selected"),n.appendChild(l)}),r.appendChild(n)}Hm.DEFAULTS={container:null,handlers:{clean(){const r=this.quill.getSelection();if(r!=null)if(r.length===0){const e=this.quill.getFormat();Object.keys(e).forEach(t=>{this.quill.scroll.query(t,Qt.INLINE)!=null&&this.quill.format(t,!1,Ke.sources.USER)})}else this.quill.removeFormat(r.index,r.length,Ke.sources.USER)},direction(r){const{align:e}=this.quill.getFormat();r==="rtl"&&e==null?this.quill.format("align","right",Ke.sources.USER):!r&&e==="right"&&this.quill.format("align",!1,Ke.sources.USER),this.quill.format("direction",r,Ke.sources.USER)},indent(r){const e=this.quill.getSelection(),t=this.quill.getFormat(e),n=parseInt(t.indent||0,10);if(r==="+1"||r==="-1"){let i=r==="+1"?1:-1;t.direction==="rtl"&&(i*=-1),this.quill.format("indent",n+i,Ke.sources.USER)}},link(r){r===!0&&(r=prompt("Enter link URL:")),this.quill.format("link",r,Ke.sources.USER)},list(r){const e=this.quill.getSelection(),t=this.quill.getFormat(e);r==="check"?t.list==="checked"||t.list==="unchecked"?this.quill.format("list",!1,Ke.sources.USER):this.quill.format("list","unchecked",Ke.sources.USER):this.quill.format("list",r,Ke.sources.USER)}}};const PD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>',ND='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>',FD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>',jD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>',BD='<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>',HD='<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>',qD='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>',zD='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>',cy='<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>',$D='<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>',UD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>',WD='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>',VD='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>',GD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>',ZD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',KD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',YD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>',XD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',JD='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>',QD='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>',eO='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>',tO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>',rO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>',nO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>',iO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>',oO='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>',sO='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>',aO='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>',lO='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>',cO='<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>',uO='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>',fO='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>',dO='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>',rd={align:{"":PD,center:ND,right:FD,justify:jD},background:BD,blockquote:HD,bold:qD,clean:zD,code:cy,"code-block":cy,color:$D,direction:{"":UD,rtl:WD},formula:VD,header:{1:GD,2:ZD,3:KD,4:YD,5:XD,6:JD},italic:QD,image:eO,indent:{"+1":tO,"-1":rO},link:nO,list:{bullet:iO,check:oO,ordered:sO},script:{sub:aO,super:lO},strike:cO,table:uO,underline:fO,video:dO},hO='<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';let uy=0;function fy(r,e){r.setAttribute(e,`${r.getAttribute(e)!=="true"}`)}class mh{constructor(e){this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",()=>{this.togglePicker()}),this.label.addEventListener("keydown",t=>{switch(t.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),t.preventDefault();break}}),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),fy(this.label,"aria-expanded"),fy(this.options,"aria-hidden")}buildItem(e){const t=document.createElement("span");t.tabIndex="0",t.setAttribute("role","button"),t.classList.add("ql-picker-item");const n=e.getAttribute("value");return n&&t.setAttribute("data-value",n),e.textContent&&t.setAttribute("data-label",e.textContent),t.addEventListener("click",()=>{this.selectItem(t,!0)}),t.addEventListener("keydown",i=>{switch(i.key){case"Enter":this.selectItem(t,!0),i.preventDefault();break;case"Escape":this.escape(),i.preventDefault();break}}),t}buildLabel(){const e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=hO,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}buildOptions(){const e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id=`ql-picker-options-${uy}`,uy+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,Array.from(this.select.options).forEach(t=>{const n=this.buildItem(t);e.appendChild(n),t.selected===!0&&this.selectItem(n)}),this.container.appendChild(e)}buildPicker(){Array.from(this.select.attributes).forEach(e=>{this.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout(()=>this.label.focus(),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=this.container.querySelector(".ql-selected");e!==n&&(n!=null&&n.classList.remove("ql-selected"),e!=null&&(e.classList.add("ql-selected"),this.select.selectedIndex=Array.from(e.parentNode.children).indexOf(e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let e;if(this.select.selectedIndex>-1){const n=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(n)}else this.selectItem(null);const t=e!=null&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",t)}}class Kx extends mh{constructor(e,t){super(e),this.label.innerHTML=t,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach(n=>{n.classList.add("ql-primary")})}buildItem(e){const t=super.buildItem(e);return t.style.backgroundColor=e.getAttribute("value")||"",t}selectItem(e,t){super.selectItem(e,t);const n=this.label.querySelector(".ql-color-label"),i=e&&e.getAttribute("data-value")||"";n&&(n.tagName==="line"?n.style.stroke=i:n.style.fill=i)}}class Yx extends mh{constructor(e,t){super(e),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach(n=>{n.innerHTML=t[n.getAttribute("data-value")||""]}),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(e,t){super.selectItem(e,t);const n=e||this.defaultItem;if(n!=null){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}}const pO=r=>{const{overflowY:e}=getComputedStyle(r,null);return e!=="visible"&&e!=="clip"};class Xx{constructor(e,t){this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,pO(this.quill.root)&&this.quill.root.addEventListener("scroll",()=>{this.root.style.marginTop=`${-1*this.quill.root.scrollTop}px`}),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(e){const t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=`${t}px`,this.root.style.top=`${n}px`,this.root.classList.remove("ql-flip");const i=this.boundsContainer.getBoundingClientRect(),l=this.root.getBoundingClientRect();let u=0;if(l.right>i.right&&(u=i.right-l.right,this.root.style.left=`${t+u}px`),l.left<i.left&&(u=i.left-l.left,this.root.style.left=`${t+u}px`),l.bottom>i.bottom){const f=l.bottom-l.top,g=e.bottom-e.top+f;this.root.style.top=`${n-g}px`,this.root.classList.add("ql-flip")}return u}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}const gO=[!1,"center","right","justify"],mO=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],vO=[!1,"serif","monospace"],yO=["1","2","3",!1],bO=["small",!1,"large","huge"];class cd extends Ju{constructor(e,t){super(e,t);const n=i=>{if(!document.body.contains(e.root)){document.body.removeEventListener("click",n);return}this.tooltip!=null&&!this.tooltip.root.contains(i.target)&&document.activeElement!==this.tooltip.textbox&&!this.quill.hasFocus()&&this.tooltip.hide(),this.pickers!=null&&this.pickers.forEach(l=>{l.container.contains(i.target)||l.close()})};e.emitter.listenDOM("click",document.body,n)}addModule(e){const t=super.addModule(e);return e==="toolbar"&&this.extendToolbar(t),t}buildButtons(e,t){Array.from(e).forEach(n=>{(n.getAttribute("class")||"").split(/\s+/).forEach(l=>{if(l.startsWith("ql-")&&(l=l.slice(3),t[l]!=null))if(l==="direction")n.innerHTML=t[l][""]+t[l].rtl;else if(typeof t[l]=="string")n.innerHTML=t[l];else{const u=n.value||"";u!=null&&t[l][u]&&(n.innerHTML=t[l][u])}})})}buildPickers(e,t){this.pickers=Array.from(e).map(i=>{if(i.classList.contains("ql-align")&&(i.querySelector("option")==null&&Df(i,gO),typeof t.align=="object"))return new Yx(i,t.align);if(i.classList.contains("ql-background")||i.classList.contains("ql-color")){const l=i.classList.contains("ql-background")?"background":"color";return i.querySelector("option")==null&&Df(i,mO,l==="background"?"#ffffff":"#000000"),new Kx(i,t[l])}return i.querySelector("option")==null&&(i.classList.contains("ql-font")?Df(i,vO):i.classList.contains("ql-header")?Df(i,yO):i.classList.contains("ql-size")&&Df(i,bO)),new mh(i)});const n=()=>{this.pickers.forEach(i=>{i.update()})};this.quill.on(Kt.events.EDITOR_CHANGE,n)}}cd.DEFAULTS=Ql({},Ju.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let r=this.container.querySelector("input.ql-image[type=file]");r==null&&(r=document.createElement("input"),r.setAttribute("type","file"),r.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),r.classList.add("ql-image"),r.addEventListener("change",()=>{const e=this.quill.getSelection(!0);this.quill.uploader.upload(e,r.files),r.value=""}),this.container.appendChild(r)),r.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class Jx extends Xx{constructor(e,t){super(e,t),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",e=>{e.key==="Enter"?(this.save(),e.preventDefault()):e.key==="Escape"&&(this.cancel(),e.preventDefault())})}cancel(){this.hide(),this.restoreFocus()}edit(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),this.textbox==null)return;t!=null?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value="");const n=this.quill.getBounds(this.quill.selection.savedRange);n!=null&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${e}`)||""),this.root.setAttribute("data-mode",e)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:e}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{const{scrollTop:t}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,Kt.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,Kt.sources.USER)),this.quill.root.scrollTop=t;break}case"video":e=_O(e);case"formula":{if(!e)break;const t=this.quill.getSelection(!0);if(t!=null){const n=t.index+t.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),e,Kt.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(n+1," ",Kt.sources.USER),this.quill.setSelection(n+2,Kt.sources.USER)}break}}this.textbox.value="",this.hide()}}function _O(r){let e=r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?`${e[1]||"https"}://www.youtube.com/embed/${e[2]}?showinfo=0`:(e=r.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${e[1]||"https"}://player.vimeo.com/video/${e[2]}/`:r}function Df(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;e.forEach(n=>{const i=document.createElement("option");n===t?i.setAttribute("selected","selected"):i.setAttribute("value",String(n)),r.appendChild(i)})}const xO=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class Qx extends Jx{constructor(e,t){super(e,t),this.quill.on(Kt.events.EDITOR_CHANGE,(n,i,l,u)=>{if(n===Kt.events.SELECTION_CHANGE)if(i!=null&&i.length>0&&u===Kt.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;const f=this.quill.getLines(i.index,i.length);if(f.length===1){const g=this.quill.getBounds(i);g!=null&&this.position(g)}else{const g=f[f.length-1],m=this.quill.getIndex(g),R=Math.min(g.length()-1,i.index+i.length-m),w=this.quill.getBounds(new Jc(m,R));w!=null&&this.position(w)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()})}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",()=>{this.root.classList.remove("ql-editing")}),this.quill.on(Kt.events.SCROLL_OPTIMIZE,()=>{setTimeout(()=>{if(this.root.classList.contains("ql-hidden"))return;const e=this.quill.getSelection();if(e!=null){const t=this.quill.getBounds(e);t!=null&&this.position(t)}},1)})}cancel(){this.show()}position(e){const t=super.position(e),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",t!==0&&(n.style.marginLeft=`${-1*t-n.offsetWidth/2}px`),t}}ft(Qx,"TEMPLATE",['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""));class eS extends cd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=xO),super(e,t),this.quill.container.classList.add("ql-bubble")}extendToolbar(e){this.tooltip=new Qx(this.quill,this.options.bounds),e.container!=null&&(this.tooltip.root.appendChild(e.container),this.buildButtons(e.container.querySelectorAll("button"),rd),this.buildPickers(e.container.querySelectorAll("select"),rd))}}eS.DEFAULTS=Ql({},cd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){r?this.quill.theme.tooltip.edit():this.quill.format("link",!1,Ke.sources.USER)}}}}});const SO=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class tS extends Jx{constructor(){super(...arguments);ft(this,"preview",this.root.querySelector("a.ql-preview"))}listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",t=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",t=>{if(this.linkRange!=null){const n=this.linkRange;this.restoreFocus(),this.quill.formatText(n,"link",!1,Kt.sources.USER),delete this.linkRange}t.preventDefault(),this.hide()}),this.quill.on(Kt.events.SELECTION_CHANGE,(t,n,i)=>{if(t!=null){if(t.length===0&&i===Kt.sources.USER){const[l,u]=this.quill.scroll.descendant(Jl,t.index);if(l!=null){this.linkRange=new Jc(t.index-u,l.length());const f=Jl.formats(l.domNode);this.preview.textContent=f,this.preview.setAttribute("href",f),this.show();const g=this.quill.getBounds(this.linkRange);g!=null&&this.position(g);return}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}ft(tS,"TEMPLATE",['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""));class rS extends cd{constructor(e,t){t.modules.toolbar!=null&&t.modules.toolbar.container==null&&(t.modules.toolbar.container=SO),super(e,t),this.quill.container.classList.add("ql-snow")}extendToolbar(e){e.container!=null&&(e.container.classList.add("ql-snow"),this.buildButtons(e.container.querySelectorAll("button"),rd),this.buildPickers(e.container.querySelectorAll("select"),rd),this.tooltip=new tS(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},(t,n)=>{e.handlers.link.call(e,!n.format.link)}))}}rS.DEFAULTS=Ql({},cd.DEFAULTS,{modules:{toolbar:{handlers:{link(r){if(r){const e=this.quill.getSelection();if(e==null||e.length===0)return;let t=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(t)&&t.indexOf("mailto:")!==0&&(t=`mailto:${t}`);const{tooltip:n}=this.quill.theme;n.edit("link",t)}else this.quill.format("link",!1,Ke.sources.USER)}}}}});Ke.register({"attributors/attribute/direction":Px,"attributors/class/align":Mx,"attributors/class/background":BM,"attributors/class/color":jM,"attributors/class/direction":Nx,"attributors/class/font":Bx,"attributors/class/size":qx,"attributors/style/align":Dx,"attributors/style/background":Om,"attributors/style/color":Dm,"attributors/style/direction":Fx,"attributors/style/font":Hx,"attributors/style/size":zx},!0);Ke.register({"formats/align":Mx,"formats/direction":Nx,"formats/indent":RD,"formats/background":Om,"formats/color":Dm,"formats/font":Bx,"formats/size":qx,"formats/blockquote":rm,"formats/code-block":zi,"formats/header":nm,"formats/list":ld,"formats/bold":td,"formats/code":Pm,"formats/italic":im,"formats/link":Jl,"formats/script":om,"formats/strike":sm,"formats/underline":am,"formats/formula":Wd,"formats/image":ID,"formats/video":Vd,"modules/syntax":Zx,"modules/table":MD,"modules/toolbar":Hm,"themes/bubble":eS,"themes/snow":rS,"ui/icons":rd,"ui/picker":mh,"ui/icon-picker":Yx,"ui/color-picker":Kx,"ui/tooltip":Xx},!0);var pp={exports:{}},dy;function CO(){return dy||(dy=1,function(r,e){(function(t,n){r.exports=n()})(self,()=>(()=>{var t={321:(l,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.ConsoleLogger=void 0;var f=function(){function g(m,R){this.debug=m,this.suppressErrorLogging=R}return g.prototype.prefixString=function(){return"</> quill-image-compress: "},Object.defineProperty(g.prototype,"log",{get:function(){return this.debug?console.log.bind(console,this.prefixString()):function(){}},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"error",{get:function(){return this.suppressErrorLogging?function(){}:console.error.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"warn",{get:function(){return this.suppressErrorLogging?function(){}:console.warn.bind(console,this.prefixString())},enumerable:!1,configurable:!0}),g}();u.ConsoleLogger=f},337:function(l,u){var f=this&&this.__awaiter||function(m,R,w,b){return new(w||(w=Promise))(function(S,_){function M(L){try{x(b.next(L))}catch(O){_(O)}}function E(L){try{x(b.throw(L))}catch(O){_(O)}}function x(L){var O;L.done?S(L.value):(O=L.value,O instanceof w?O:new w(function(B){B(O)})).then(M,E)}x((b=b.apply(m,R||[])).next())})},g=this&&this.__generator||function(m,R){var w,b,S,_={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]},M=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return M.next=E(0),M.throw=E(1),M.return=E(2),typeof Symbol=="function"&&(M[Symbol.iterator]=function(){return this}),M;function E(x){return function(L){return function(O){if(w)throw new TypeError("Generator is already executing.");for(;M&&(M=0,O[0]&&(_=0)),_;)try{if(w=1,b&&(S=2&O[0]?b.return:O[0]?b.throw||((S=b.return)&&S.call(b),0):b.next)&&!(S=S.call(b,O[1])).done)return S;switch(b=0,S&&(O=[2&O[0],S.value]),O[0]){case 0:case 1:S=O;break;case 4:return _.label++,{value:O[1],done:!1};case 5:_.label++,b=O[1],O=[0];continue;case 7:O=_.ops.pop(),_.trys.pop();continue;default:if(S=_.trys,!((S=S.length>0&&S[S.length-1])||O[0]!==6&&O[0]!==2)){_=0;continue}if(O[0]===3&&(!S||O[1]>S[0]&&O[1]<S[3])){_.label=O[1];break}if(O[0]===6&&_.label<S[1]){_.label=S[1],S=O;break}if(S&&_.label<S[2]){_.label=S[2],_.ops.push(O);break}S[2]&&_.ops.pop(),_.trys.pop();continue}O=R.call(m,_)}catch(B){O=[6,B],b=0}finally{w=S=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([x,L])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.downscaleImage=function(m,R,w,b,S,_,M,E){return f(this,void 0,void 0,function(){var x,L,O,B,H,z,K,ue;return g(this,function(J){switch(J.label){case 0:return x=R.split(";")[0].split(":")[1],S=S||"image/jpeg",E=E||.7,(L=new Image).src=R,[4,new Promise(function(fe){L.onload=function(){fe()}})];case 1:return J.sent(),O=function(fe,j,te,X){if(te&&X&&fe<=te&&j<=X)return[fe,j];if(te&&fe>te){var re=te,de=Math.floor(j/fe*re);if(X&&de>X){var me=X;return[Math.floor(fe/j*me),me]}return[re,de]}return X&&j>X?(de=X,[re=Math.floor(fe/j*de),de]):[j,fe]}(L.width,L.height,w,b),B=O[0],H=O[1],(z=document.createElement("canvas")).width=B,z.height=H,K=z.getContext("2d"),S==="image/jpeg"&&(K.fillStyle="#FFFFFF",K.fillRect(0,0,L.width,L.height)),M!=null&&M.includes(x)?[2,R]:(_!=null&&_.includes(x)&&(S=x),K.drawImage(L,0,0,B,H),ue=z.toDataURL(S,E),m.log("downscaling image...",{args:{dataUrl:R,maxWidth:w,maxHeight:b,imageType:S,ignoreImageTypes:M,keepImageTypes:_,imageQuality:E},newHeight:H,newWidth:B}),[2,ue])}})})}},922:function(l,u){var f=this&&this.__awaiter||function(m,R,w,b){return new(w||(w=Promise))(function(S,_){function M(L){try{x(b.next(L))}catch(O){_(O)}}function E(L){try{x(b.throw(L))}catch(O){_(O)}}function x(L){var O;L.done?S(L.value):(O=L.value,O instanceof w?O:new w(function(B){B(O)})).then(M,E)}x((b=b.apply(m,R||[])).next())})},g=this&&this.__generator||function(m,R){var w,b,S,_={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]},M=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return M.next=E(0),M.throw=E(1),M.return=E(2),typeof Symbol=="function"&&(M[Symbol.iterator]=function(){return this}),M;function E(x){return function(L){return function(O){if(w)throw new TypeError("Generator is already executing.");for(;M&&(M=0,O[0]&&(_=0)),_;)try{if(w=1,b&&(S=2&O[0]?b.return:O[0]?b.throw||((S=b.return)&&S.call(b),0):b.next)&&!(S=S.call(b,O[1])).done)return S;switch(b=0,S&&(O=[2&O[0],S.value]),O[0]){case 0:case 1:S=O;break;case 4:return _.label++,{value:O[1],done:!1};case 5:_.label++,b=O[1],O=[0];continue;case 7:O=_.ops.pop(),_.trys.pop();continue;default:if(S=_.trys,!((S=S.length>0&&S[S.length-1])||O[0]!==6&&O[0]!==2)){_=0;continue}if(O[0]===3&&(!S||O[1]>S[0]&&O[1]<S[3])){_.label=O[1];break}if(O[0]===6&&_.label<S[1]){_.label=S[1],S=O;break}if(S&&_.label<S[2]){_.label=S[2],_.ops.push(O);break}S[2]&&_.ops.pop(),_.trys.pop();continue}O=R.call(m,_)}catch(B){O=[6,B],b=0}finally{w=S=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([x,L])}}};Object.defineProperty(u,"__esModule",{value:!0}),u.file2b64=function(m){return f(this,void 0,void 0,function(){var R,w;return g(this,function(b){return R=new FileReader,w=new Promise(function(S,_){R.addEventListener("load",function(){var M,E=(M=R.result)===null||M===void 0?void 0:M.toString();E?S(E):_("could not convert file to base64")},!1)}),R.readAsDataURL(m),[2,w]})})}},457:(l,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.warnAboutOptions=function(f,g){f.maxWidth=f.maxWidth||1e3,f.maxHeight=f.maxHeight||1e3,f.maxWidth&&typeof f.maxWidth!="number"&&(g.warn(`[config error] 'maxWidth' is required to be a "number" (in pixels),
|
211
211
|
received: `.concat(f.maxWidth,`
|
212
212
|
-> using default 1000`)),f.maxWidth=1e3),f.maxHeight&&typeof f.maxHeight!="number"&&(g.warn(`[config error] 'maxHeight' is required to be a "number" (in pixels),
|
213
213
|
received: `.concat(f.maxHeight,`
|
@@ -344,15 +344,15 @@ received: `.concat(f.imageType,`
|
|
344
344
|
<a class="btn" data-type="align" data-styles="">{4}</a>
|
345
345
|
</div>
|
346
346
|
</div>
|
347
|
-
`,R=function(){function _(M,E,x,L){this.resizer=null,this.startResizePosition=null,this.i18n=new u((L==null?void 0:L.locale)||f),this.options=L,this.resizeTarget=M,M.originSize||(M.originSize={width:M.clientWidth,height:M.clientHeight}),this.editor=x,this.container=E,this.initResizer(),this.positionResizerToTarget(M),this.resizing=this.resizing.bind(this),this.endResize=this.endResize.bind(this),this.startResize=this.startResize.bind(this),this.toolbarClick=this.toolbarClick.bind(this),this.toolbarInputChange=this.toolbarInputChange.bind(this),this.onScroll=this.onScroll.bind(this),this.bindEvents()}return _.prototype.initResizer=function(){var M=this.container.querySelector("#editor-resizer");M||(M=document.createElement("div"),M.setAttribute("id","editor-resizer"),M.innerHTML=g(m,this.i18n.findLabel("altTip"),this.i18n.findLabel("floatLeft"),this.i18n.findLabel("center"),this.i18n.findLabel("floatRight"),this.i18n.findLabel("restore"),this.i18n.findLabel("inputTip")),this.container.appendChild(M)),this.resizer=M},_.prototype.positionResizerToTarget=function(M){this.resizer!==null&&(this.resizer.style.setProperty("left",M.offsetLeft+"px"),this.resizer.style.setProperty("top",M.offsetTop-this.editor.scrollTop+"px"),this.resizer.style.setProperty("width",M.clientWidth+"px"),this.resizer.style.setProperty("height",M.clientHeight+"px"))},_.prototype.bindEvents=function(){this.resizer!==null&&(this.resizer.addEventListener("mousedown",this.startResize),this.resizer.addEventListener("click",this.toolbarClick),this.resizer.addEventListener("change",this.toolbarInputChange)),window.addEventListener("mouseup",this.endResize),window.addEventListener("mousemove",this.resizing),this.editor.addEventListener("scroll",this.onScroll)},_.prototype.onScroll=function(){this.positionResizerToTarget(this.resizeTarget)},_.prototype._setStylesForToolbar=function(M,E){var x,L="_styles_"+M,O=this.resizeTarget.style,B=this.resizeTarget[L];O.cssText=O.cssText.replaceAll(" ","").replace(B,"")+(";"+E),this.resizeTarget[L]=E,this.positionResizerToTarget(this.resizeTarget),(x=this.options)===null||x===void 0||x.onChange(this.resizeTarget)},_.prototype.toolbarInputChange=function(M){var E,x=M.target,L=(E=x==null?void 0:x.dataset)===null||E===void 0?void 0:E.type,O=x.value;L&&Number(O)&&this._setStylesForToolbar(L,"width: "+Number(O)+"%;")},_.prototype.toolbarClick=function(M){var E,x,L=M.target,O=(E=L==null?void 0:L.dataset)===null||E===void 0?void 0:E.type;O&&L.classList.contains("btn")&&this._setStylesForToolbar(O,(x=L==null?void 0:L.dataset)===null||x===void 0?void 0:x.styles)},_.prototype.startResize=function(M){var E=M.target;E.classList.contains("handler")&&M.which===1&&(this.startResizePosition={left:M.clientX,top:M.clientY,width:this.resizeTarget.clientWidth,height:this.resizeTarget.clientHeight})},_.prototype.endResize=function(){var M;this.startResizePosition=null,(M=this.options)===null||M===void 0||M.onChange(this.resizeTarget)},_.prototype.resizing=function(M){if(this.startResizePosition){var E=M.clientX-this.startResizePosition.left,x=M.clientY-this.startResizePosition.top,L=this.startResizePosition.width,O=this.startResizePosition.height;if(L+=E,O+=x,M.altKey){var B=this.resizeTarget.originSize,H=B.height/B.width;O=H*L}this.resizeTarget.style.setProperty("width",Math.max(L,30)+"px"),this.resizeTarget.style.setProperty("height",Math.max(O,30)+"px"),this.positionResizerToTarget(this.resizeTarget)}},_.prototype.destory=function(){this.container.removeChild(this.resizer),window.removeEventListener("mouseup",this.endResize),window.removeEventListener("mousemove",this.resizing),this.editor.removeEventListener("scroll",this.onScroll),this.resizer=null},_}(),w=function(){function _(M,E){this.element=M,this.cb=E,this.hasTracked=!1}return _}(),b=function(){function _(){}return _.track=function(M,E){this.iframes.push(new w(M,E)),this.interval||(this.interval=setInterval(function(){_.checkClick()},this.resolution))},_.checkClick=function(){if(document.activeElement){var M=document.activeElement;for(var E in this.iframes)M===this.iframes[E].element?this.iframes[E].hasTracked==!1&&(this.iframes[E].cb.apply(window,[]),this.iframes[E].hasTracked=!0):this.iframes[E].hasTracked=!1}},_.resolution=200,_.iframes=[],_.interval=null,_}();function S(_,M){var E=_.root,x,L;function O(){var B=_.getContents().constructor,H=new B().retain(1);_.updateContents(H)}E.addEventListener("click",function(B){var H=B.target;B.target&&["img","video"].includes(H.tagName.toLowerCase())&&(x=H,L=new R(H,E.parentElement,E,l(l({},M),{onChange:O})))}),_.on("text-change",function(B,H){E.querySelectorAll("iframe").forEach(function(z){b.track(z,function(){x=z,L=new R(z,E.parentElement,E,l(l({},M),{onChange:O}))})})}),document.addEventListener("mousedown",function(B){var H,z,K,ue=B.target;ue!==x&&!(!((z=(H=L==null?void 0:L.resizer)===null||H===void 0?void 0:H.contains)===null||z===void 0)&&z.call(H,ue))&&((K=L==null?void 0:L.destory)===null||K===void 0||K.call(L),L=null,x=null)},{capture:!0})}return S})}(Gd)),Gd.exports}var kO=EO();const RO=al(kO);var gp,py;function IO(){if(py)return gp;py=1;function r(){this.__data__=[],this.size=0}return gp=r,gp}var mp,gy;function nS(){if(gy)return mp;gy=1;function r(e,t){return e===t||e!==e&&t!==t}return mp=r,mp}var vp,my;function vh(){if(my)return vp;my=1;var r=nS();function e(t,n){for(var i=t.length;i--;)if(r(t[i][0],n))return i;return-1}return vp=e,vp}var yp,vy;function LO(){if(vy)return yp;vy=1;var r=vh(),e=Array.prototype,t=e.splice;function n(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var f=l.length-1;return u==f?l.pop():t.call(l,u,1),--this.size,!0}return yp=n,yp}var bp,yy;function MO(){if(yy)return bp;yy=1;var r=vh();function e(t){var n=this.__data__,i=r(n,t);return i<0?void 0:n[i][1]}return bp=e,bp}var _p,by;function DO(){if(by)return _p;by=1;var r=vh();function e(t){return r(this.__data__,t)>-1}return _p=e,_p}var xp,_y;function OO(){if(_y)return xp;_y=1;var r=vh();function e(t,n){var i=this.__data__,l=r(i,t);return l<0?(++this.size,i.push([t,n])):i[l][1]=n,this}return xp=e,xp}var Sp,xy;function yh(){if(xy)return Sp;xy=1;var r=IO(),e=LO(),t=MO(),n=DO(),i=OO();function l(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var m=u[f];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,Sp=l,Sp}var Cp,Sy;function PO(){if(Sy)return Cp;Sy=1;var r=yh();function e(){this.__data__=new r,this.size=0}return Cp=e,Cp}var wp,Cy;function NO(){if(Cy)return wp;Cy=1;function r(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}return wp=r,wp}var Ap,wy;function FO(){if(wy)return Ap;wy=1;function r(e){return this.__data__.get(e)}return Ap=r,Ap}var Tp,Ay;function jO(){if(Ay)return Tp;Ay=1;function r(e){return this.__data__.has(e)}return Tp=r,Tp}var Ep,Ty;function iS(){if(Ty)return Ep;Ty=1;var r=typeof bi=="object"&&bi&&bi.Object===Object&&bi;return Ep=r,Ep}var kp,Ey;function ul(){if(Ey)return kp;Ey=1;var r=iS(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return kp=t,kp}var Rp,ky;function qm(){if(ky)return Rp;ky=1;var r=ul(),e=r.Symbol;return Rp=e,Rp}var Ip,Ry;function BO(){if(Ry)return Ip;Ry=1;var r=qm(),e=Object.prototype,t=e.hasOwnProperty,n=e.toString,i=r?r.toStringTag:void 0;function l(u){var f=t.call(u,i),g=u[i];try{u[i]=void 0;var m=!0}catch{}var R=n.call(u);return m&&(f?u[i]=g:delete u[i]),R}return Ip=l,Ip}var Lp,Iy;function HO(){if(Iy)return Lp;Iy=1;var r=Object.prototype,e=r.toString;function t(n){return e.call(n)}return Lp=t,Lp}var Mp,Ly;function bh(){if(Ly)return Mp;Ly=1;var r=qm(),e=BO(),t=HO(),n="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(f){return f==null?f===void 0?i:n:l&&l in Object(f)?e(f):t(f)}return Mp=u,Mp}var Dp,My;function oS(){if(My)return Dp;My=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return Dp=r,Dp}var Op,Dy;function sS(){if(Dy)return Op;Dy=1;var r=bh(),e=oS(),t="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(f){if(!e(f))return!1;var g=r(f);return g==n||g==i||g==t||g==l}return Op=u,Op}var Pp,Oy;function qO(){if(Oy)return Pp;Oy=1;var r=ul(),e=r["__core-js_shared__"];return Pp=e,Pp}var Np,Py;function zO(){if(Py)return Np;Py=1;var r=qO(),e=function(){var n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function t(n){return!!e&&e in n}return Np=t,Np}var Fp,Ny;function aS(){if(Ny)return Fp;Ny=1;var r=Function.prototype,e=r.toString;function t(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Fp=t,Fp}var jp,Fy;function $O(){if(Fy)return jp;Fy=1;var r=sS(),e=zO(),t=oS(),n=aS(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,f=Object.prototype,g=u.toString,m=f.hasOwnProperty,R=RegExp("^"+g.call(m).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function w(b){if(!t(b)||e(b))return!1;var S=r(b)?R:l;return S.test(n(b))}return jp=w,jp}var Bp,jy;function UO(){if(jy)return Bp;jy=1;function r(e,t){return e==null?void 0:e[t]}return Bp=r,Bp}var Hp,By;function rf(){if(By)return Hp;By=1;var r=$O(),e=UO();function t(n,i){var l=e(n,i);return r(l)?l:void 0}return Hp=t,Hp}var qp,Hy;function zm(){if(Hy)return qp;Hy=1;var r=rf(),e=ul(),t=r(e,"Map");return qp=t,qp}var zp,qy;function _h(){if(qy)return zp;qy=1;var r=rf(),e=r(Object,"create");return zp=e,zp}var $p,zy;function WO(){if(zy)return $p;zy=1;var r=_h();function e(){this.__data__=r?r(null):{},this.size=0}return $p=e,$p}var Up,$y;function VO(){if($y)return Up;$y=1;function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}return Up=r,Up}var Wp,Uy;function GO(){if(Uy)return Wp;Uy=1;var r=_h(),e="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function i(l){var u=this.__data__;if(r){var f=u[l];return f===e?void 0:f}return n.call(u,l)?u[l]:void 0}return Wp=i,Wp}var Vp,Wy;function ZO(){if(Wy)return Vp;Wy=1;var r=_h(),e=Object.prototype,t=e.hasOwnProperty;function n(i){var l=this.__data__;return r?l[i]!==void 0:t.call(l,i)}return Vp=n,Vp}var Gp,Vy;function KO(){if(Vy)return Gp;Vy=1;var r=_h(),e="__lodash_hash_undefined__";function t(n,i){var l=this.__data__;return this.size+=this.has(n)?0:1,l[n]=r&&i===void 0?e:i,this}return Gp=t,Gp}var Zp,Gy;function YO(){if(Gy)return Zp;Gy=1;var r=WO(),e=VO(),t=GO(),n=ZO(),i=KO();function l(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var m=u[f];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,Zp=l,Zp}var Kp,Zy;function XO(){if(Zy)return Kp;Zy=1;var r=YO(),e=yh(),t=zm();function n(){this.size=0,this.__data__={hash:new r,map:new(t||e),string:new r}}return Kp=n,Kp}var Yp,Ky;function JO(){if(Ky)return Yp;Ky=1;function r(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}return Yp=r,Yp}var Xp,Yy;function xh(){if(Yy)return Xp;Yy=1;var r=JO();function e(t,n){var i=t.__data__;return r(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Xp=e,Xp}var Jp,Xy;function QO(){if(Xy)return Jp;Xy=1;var r=xh();function e(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}return Jp=e,Jp}var Qp,Jy;function eP(){if(Jy)return Qp;Jy=1;var r=xh();function e(t){return r(this,t).get(t)}return Qp=e,Qp}var eg,Qy;function tP(){if(Qy)return eg;Qy=1;var r=xh();function e(t){return r(this,t).has(t)}return eg=e,eg}var tg,eb;function rP(){if(eb)return tg;eb=1;var r=xh();function e(t,n){var i=r(this,t),l=i.size;return i.set(t,n),this.size+=i.size==l?0:1,this}return tg=e,tg}var rg,tb;function lS(){if(tb)return rg;tb=1;var r=XO(),e=QO(),t=eP(),n=tP(),i=rP();function l(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var m=u[f];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,rg=l,rg}var ng,rb;function nP(){if(rb)return ng;rb=1;var r=yh(),e=zm(),t=lS(),n=200;function i(l,u){var f=this.__data__;if(f instanceof r){var g=f.__data__;if(!e||g.length<n-1)return g.push([l,u]),this.size=++f.size,this;f=this.__data__=new t(g)}return f.set(l,u),this.size=f.size,this}return ng=i,ng}var ig,nb;function iP(){if(nb)return ig;nb=1;var r=yh(),e=PO(),t=NO(),n=FO(),i=jO(),l=nP();function u(f){var g=this.__data__=new r(f);this.size=g.size}return u.prototype.clear=e,u.prototype.delete=t,u.prototype.get=n,u.prototype.has=i,u.prototype.set=l,ig=u,ig}var og,ib;function oP(){if(ib)return og;ib=1;var r="__lodash_hash_undefined__";function e(t){return this.__data__.set(t,r),this}return og=e,og}var sg,ob;function sP(){if(ob)return sg;ob=1;function r(e){return this.__data__.has(e)}return sg=r,sg}var ag,sb;function aP(){if(sb)return ag;sb=1;var r=lS(),e=oP(),t=sP();function n(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}return n.prototype.add=n.prototype.push=e,n.prototype.has=t,ag=n,ag}var lg,ab;function lP(){if(ab)return lg;ab=1;function r(e,t){for(var n=-1,i=e==null?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}return lg=r,lg}var cg,lb;function cP(){if(lb)return cg;lb=1;function r(e,t){return e.has(t)}return cg=r,cg}var ug,cb;function cS(){if(cb)return ug;cb=1;var r=aP(),e=lP(),t=cP(),n=1,i=2;function l(u,f,g,m,R,w){var b=g&n,S=u.length,_=f.length;if(S!=_&&!(b&&_>S))return!1;var M=w.get(u),E=w.get(f);if(M&&E)return M==f&&E==u;var x=-1,L=!0,O=g&i?new r:void 0;for(w.set(u,f),w.set(f,u);++x<S;){var B=u[x],H=f[x];if(m)var z=b?m(H,B,x,f,u,w):m(B,H,x,u,f,w);if(z!==void 0){if(z)continue;L=!1;break}if(O){if(!e(f,function(K,ue){if(!t(O,ue)&&(B===K||R(B,K,g,m,w)))return O.push(ue)})){L=!1;break}}else if(!(B===H||R(B,H,g,m,w))){L=!1;break}}return w.delete(u),w.delete(f),L}return ug=l,ug}var fg,ub;function uP(){if(ub)return fg;ub=1;var r=ul(),e=r.Uint8Array;return fg=e,fg}var dg,fb;function fP(){if(fb)return dg;fb=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i,l){n[++t]=[l,i]}),n}return dg=r,dg}var hg,db;function dP(){if(db)return hg;db=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i){n[++t]=i}),n}return hg=r,hg}var pg,hb;function hP(){if(hb)return pg;hb=1;var r=qm(),e=uP(),t=nS(),n=cS(),i=fP(),l=dP(),u=1,f=2,g="[object Boolean]",m="[object Date]",R="[object Error]",w="[object Map]",b="[object Number]",S="[object RegExp]",_="[object Set]",M="[object String]",E="[object Symbol]",x="[object ArrayBuffer]",L="[object DataView]",O=r?r.prototype:void 0,B=O?O.valueOf:void 0;function H(z,K,ue,J,fe,j,te){switch(ue){case L:if(z.byteLength!=K.byteLength||z.byteOffset!=K.byteOffset)return!1;z=z.buffer,K=K.buffer;case x:return!(z.byteLength!=K.byteLength||!j(new e(z),new e(K)));case g:case m:case b:return t(+z,+K);case R:return z.name==K.name&&z.message==K.message;case S:case M:return z==K+"";case w:var X=i;case _:var re=J&u;if(X||(X=l),z.size!=K.size&&!re)return!1;var de=te.get(z);if(de)return de==K;J|=f,te.set(z,K);var ge=n(X(z),X(K),J,fe,j,te);return te.delete(z),ge;case E:if(B)return B.call(z)==B.call(K)}return!1}return pg=H,pg}var gg,pb;function pP(){if(pb)return gg;pb=1;function r(e,t){for(var n=-1,i=t.length,l=e.length;++n<i;)e[l+n]=t[n];return e}return gg=r,gg}var mg,gb;function $m(){if(gb)return mg;gb=1;var r=Array.isArray;return mg=r,mg}var vg,mb;function gP(){if(mb)return vg;mb=1;var r=pP(),e=$m();function t(n,i,l){var u=i(n);return e(n)?u:r(u,l(n))}return vg=t,vg}var yg,vb;function mP(){if(vb)return yg;vb=1;function r(e,t){for(var n=-1,i=e==null?0:e.length,l=0,u=[];++n<i;){var f=e[n];t(f,n,e)&&(u[l++]=f)}return u}return yg=r,yg}var bg,yb;function vP(){if(yb)return bg;yb=1;function r(){return[]}return bg=r,bg}var _g,bb;function yP(){if(bb)return _g;bb=1;var r=mP(),e=vP(),t=Object.prototype,n=t.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(f){return n.call(u,f)}))}:e;return _g=l,_g}var xg,_b;function bP(){if(_b)return xg;_b=1;function r(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}return xg=r,xg}var Sg,xb;function Sh(){if(xb)return Sg;xb=1;function r(e){return e!=null&&typeof e=="object"}return Sg=r,Sg}var Cg,Sb;function _P(){if(Sb)return Cg;Sb=1;var r=bh(),e=Sh(),t="[object Arguments]";function n(i){return e(i)&&r(i)==t}return Cg=n,Cg}var wg,Cb;function xP(){if(Cb)return wg;Cb=1;var r=_P(),e=Sh(),t=Object.prototype,n=t.hasOwnProperty,i=t.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return e(u)&&n.call(u,"callee")&&!i.call(u,"callee")};return wg=l,wg}var qf={exports:{}},Ag,wb;function SP(){if(wb)return Ag;wb=1;function r(){return!1}return Ag=r,Ag}qf.exports;var Ab;function uS(){return Ab||(Ab=1,function(r,e){var t=ul(),n=SP(),i=e&&!e.nodeType&&e,l=i&&!0&&r&&!r.nodeType&&r,u=l&&l.exports===i,f=u?t.Buffer:void 0,g=f?f.isBuffer:void 0,m=g||n;r.exports=m}(qf,qf.exports)),qf.exports}var Tg,Tb;function CP(){if(Tb)return Tg;Tb=1;var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function t(n,i){var l=typeof n;return i=i??r,!!i&&(l=="number"||l!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<i}return Tg=t,Tg}var Eg,Eb;function fS(){if(Eb)return Eg;Eb=1;var r=9007199254740991;function e(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=r}return Eg=e,Eg}var kg,kb;function wP(){if(kb)return kg;kb=1;var r=bh(),e=fS(),t=Sh(),n="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",f="[object Error]",g="[object Function]",m="[object Map]",R="[object Number]",w="[object Object]",b="[object RegExp]",S="[object Set]",_="[object String]",M="[object WeakMap]",E="[object ArrayBuffer]",x="[object DataView]",L="[object Float32Array]",O="[object Float64Array]",B="[object Int8Array]",H="[object Int16Array]",z="[object Int32Array]",K="[object Uint8Array]",ue="[object Uint8ClampedArray]",J="[object Uint16Array]",fe="[object Uint32Array]",j={};j[L]=j[O]=j[B]=j[H]=j[z]=j[K]=j[ue]=j[J]=j[fe]=!0,j[n]=j[i]=j[E]=j[l]=j[x]=j[u]=j[f]=j[g]=j[m]=j[R]=j[w]=j[b]=j[S]=j[_]=j[M]=!1;function te(X){return t(X)&&e(X.length)&&!!j[r(X)]}return kg=te,kg}var Rg,Rb;function AP(){if(Rb)return Rg;Rb=1;function r(e){return function(t){return e(t)}}return Rg=r,Rg}var zf={exports:{}};zf.exports;var Ib;function TP(){return Ib||(Ib=1,function(r,e){var t=iS(),n=e&&!e.nodeType&&e,i=n&&!0&&r&&!r.nodeType&&r,l=i&&i.exports===n,u=l&&t.process,f=function(){try{var g=i&&i.require&&i.require("util").types;return g||u&&u.binding&&u.binding("util")}catch{}}();r.exports=f}(zf,zf.exports)),zf.exports}var Ig,Lb;function dS(){if(Lb)return Ig;Lb=1;var r=wP(),e=AP(),t=TP(),n=t&&t.isTypedArray,i=n?e(n):r;return Ig=i,Ig}var Lg,Mb;function EP(){if(Mb)return Lg;Mb=1;var r=bP(),e=xP(),t=$m(),n=uS(),i=CP(),l=dS(),u=Object.prototype,f=u.hasOwnProperty;function g(m,R){var w=t(m),b=!w&&e(m),S=!w&&!b&&n(m),_=!w&&!b&&!S&&l(m),M=w||b||S||_,E=M?r(m.length,String):[],x=E.length;for(var L in m)(R||f.call(m,L))&&!(M&&(L=="length"||S&&(L=="offset"||L=="parent")||_&&(L=="buffer"||L=="byteLength"||L=="byteOffset")||i(L,x)))&&E.push(L);return E}return Lg=g,Lg}var Mg,Db;function kP(){if(Db)return Mg;Db=1;var r=Object.prototype;function e(t){var n=t&&t.constructor,i=typeof n=="function"&&n.prototype||r;return t===i}return Mg=e,Mg}var Dg,Ob;function RP(){if(Ob)return Dg;Ob=1;function r(e,t){return function(n){return e(t(n))}}return Dg=r,Dg}var Og,Pb;function IP(){if(Pb)return Og;Pb=1;var r=RP(),e=r(Object.keys,Object);return Og=e,Og}var Pg,Nb;function LP(){if(Nb)return Pg;Nb=1;var r=kP(),e=IP(),t=Object.prototype,n=t.hasOwnProperty;function i(l){if(!r(l))return e(l);var u=[];for(var f in Object(l))n.call(l,f)&&f!="constructor"&&u.push(f);return u}return Pg=i,Pg}var Ng,Fb;function MP(){if(Fb)return Ng;Fb=1;var r=sS(),e=fS();function t(n){return n!=null&&e(n.length)&&!r(n)}return Ng=t,Ng}var Fg,jb;function DP(){if(jb)return Fg;jb=1;var r=EP(),e=LP(),t=MP();function n(i){return t(i)?r(i):e(i)}return Fg=n,Fg}var jg,Bb;function OP(){if(Bb)return jg;Bb=1;var r=gP(),e=yP(),t=DP();function n(i){return r(i,t,e)}return jg=n,jg}var Bg,Hb;function PP(){if(Hb)return Bg;Hb=1;var r=OP(),e=1,t=Object.prototype,n=t.hasOwnProperty;function i(l,u,f,g,m,R){var w=f&e,b=r(l),S=b.length,_=r(u),M=_.length;if(S!=M&&!w)return!1;for(var E=S;E--;){var x=b[E];if(!(w?x in u:n.call(u,x)))return!1}var L=R.get(l),O=R.get(u);if(L&&O)return L==u&&O==l;var B=!0;R.set(l,u),R.set(u,l);for(var H=w;++E<S;){x=b[E];var z=l[x],K=u[x];if(g)var ue=w?g(K,z,x,u,l,R):g(z,K,x,l,u,R);if(!(ue===void 0?z===K||m(z,K,f,g,R):ue)){B=!1;break}H||(H=x=="constructor")}if(B&&!H){var J=l.constructor,fe=u.constructor;J!=fe&&"constructor"in l&&"constructor"in u&&!(typeof J=="function"&&J instanceof J&&typeof fe=="function"&&fe instanceof fe)&&(B=!1)}return R.delete(l),R.delete(u),B}return Bg=i,Bg}var Hg,qb;function NP(){if(qb)return Hg;qb=1;var r=rf(),e=ul(),t=r(e,"DataView");return Hg=t,Hg}var qg,zb;function FP(){if(zb)return qg;zb=1;var r=rf(),e=ul(),t=r(e,"Promise");return qg=t,qg}var zg,$b;function jP(){if($b)return zg;$b=1;var r=rf(),e=ul(),t=r(e,"Set");return zg=t,zg}var $g,Ub;function BP(){if(Ub)return $g;Ub=1;var r=rf(),e=ul(),t=r(e,"WeakMap");return $g=t,$g}var Ug,Wb;function HP(){if(Wb)return Ug;Wb=1;var r=NP(),e=zm(),t=FP(),n=jP(),i=BP(),l=bh(),u=aS(),f="[object Map]",g="[object Object]",m="[object Promise]",R="[object Set]",w="[object WeakMap]",b="[object DataView]",S=u(r),_=u(e),M=u(t),E=u(n),x=u(i),L=l;return(r&&L(new r(new ArrayBuffer(1)))!=b||e&&L(new e)!=f||t&&L(t.resolve())!=m||n&&L(new n)!=R||i&&L(new i)!=w)&&(L=function(O){var B=l(O),H=B==g?O.constructor:void 0,z=H?u(H):"";if(z)switch(z){case S:return b;case _:return f;case M:return m;case E:return R;case x:return w}return B}),Ug=L,Ug}var Wg,Vb;function qP(){if(Vb)return Wg;Vb=1;var r=iP(),e=cS(),t=hP(),n=PP(),i=HP(),l=$m(),u=uS(),f=dS(),g=1,m="[object Arguments]",R="[object Array]",w="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function _(M,E,x,L,O,B){var H=l(M),z=l(E),K=H?R:i(M),ue=z?R:i(E);K=K==m?w:K,ue=ue==m?w:ue;var J=K==w,fe=ue==w,j=K==ue;if(j&&u(M)){if(!u(E))return!1;H=!0,J=!1}if(j&&!J)return B||(B=new r),H||f(M)?e(M,E,x,L,O,B):t(M,E,K,x,L,O,B);if(!(x&g)){var te=J&&S.call(M,"__wrapped__"),X=fe&&S.call(E,"__wrapped__");if(te||X){var re=te?M.value():M,de=X?E.value():E;return B||(B=new r),O(re,de,x,L,B)}}return j?(B||(B=new r),n(M,E,x,L,O,B)):!1}return Wg=_,Wg}var Vg,Gb;function zP(){if(Gb)return Vg;Gb=1;var r=qP(),e=Sh();function t(n,i,l,u,f){return n===i?!0:n==null||i==null||!e(n)&&!e(i)?n!==n&&i!==i:r(n,i,l,u,t,f)}return Vg=t,Vg}var Gg,Zb;function $P(){if(Zb)return Gg;Zb=1;var r=zP();function e(t,n){return r(t,n)}return Gg=e,Gg}var UP=$P();const Of=al(UP);class Ch extends A.Component{constructor(e){super(e),this.editingAreaRef=A.createRef(),this.dirtyProps=["modules","formats","bounds","theme","children"],this.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],this.state={generation:0},this.selection=null,this.onEditorChange=(n,i,l,u)=>{var f,g;n==="text-change"?(f=this.onEditorChangeText)==null||f.call(this,this.editor.root.innerHTML,i,u,this.unprivilegedEditor):n==="selection-change"&&((g=this.onEditorChangeSelection)==null||g.call(this,i,u,this.unprivilegedEditor))};const t=this.isControlled()?e.value:e.defaultValue;this.value=t??""}validateProps(e){if(A.Children.count(e.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(A.Children.count(e.children)){const t=A.Children.only(e.children);if((t==null?void 0:t.type)==="textarea")throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}if(this.lastDeltaChangeSet&&e.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")}shouldComponentUpdate(e,t){if(this.validateProps(e),!this.editor||this.state.generation!==t.generation)return!0;if("value"in e){const n=this.getEditorContents(),i=e.value??"";this.isEqualValue(i,n)||this.setEditorContents(this.editor,i)}return e.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,e.readOnly),[...this.cleanProps,...this.dirtyProps].some(n=>!Of(e[n],this.props[n]))}shouldComponentRegenerate(e){return this.dirtyProps.some(t=>!Of(e[t],this.props[t]))}componentDidMount(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())}componentWillUnmount(){this.destroyEditor()}componentDidUpdate(e,t){if(this.editor&&this.shouldComponentRegenerate(e)){const n=this.editor.getContents(),i=this.editor.getSelection();this.regenerationSnapshot={delta:n,selection:i},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==t.generation){const{delta:n,selection:i}=this.regenerationSnapshot;delete this.regenerationSnapshot,this.instantiateEditor();const l=this.editor;l.setContents(n),Kb(()=>this.setEditorSelection(l,i))}}instantiateEditor(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())}destroyEditor(){this.editor&&this.unhookEditor(this.editor)}isControlled(){return"value"in this.props}getEditorConfig(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,tabIndex:this.props.tabIndex,theme:this.props.theme}}getEditor(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor}createEditor(e,t){const n=new Ke(e,t);return t.tabIndex!=null&&this.setEditorTabIndex(n,t.tabIndex),this.hookEditor(n),n}hookEditor(e){this.unprivilegedEditor=this.makeUnprivilegedEditor(e),e.on("editor-change",this.onEditorChange)}unhookEditor(e){e.off("editor-change",this.onEditorChange)}getEditorContents(){return this.value}getEditorSelection(){return this.selection}isDelta(e){return e&&e.ops}isEqualValue(e,t){return this.isDelta(e)&&this.isDelta(t)?Of(e.ops,t.ops):Of(e,t)}setEditorContents(e,t){this.value=t;const n=this.getEditorSelection();typeof t=="string"?e.setContents(e.clipboard.convert({html:t})):e.setContents(t),Kb(()=>this.setEditorSelection(e,n))}setEditorSelection(e,t){if(this.selection=t,t){const n=e.getLength();t.index=Math.max(0,Math.min(t.index,n-1)),t.length=Math.max(0,Math.min(t.length,n-1-t.index)),e.setSelection(t)}}setEditorTabIndex(e,t){var n;(n=e==null?void 0:e.scroll)!=null&&n.domNode&&(e.scroll.domNode.tabIndex=t)}setEditorReadOnly(e,t){t?e.disable():e.enable()}makeUnprivilegedEditor(e){const t=e;return{getHTML:()=>t.root.innerHTML,getSemanticHTML:t.getSemanticHTML.bind(t),getLength:t.getLength.bind(t),getText:t.getText.bind(t),getContents:t.getContents.bind(t),getSelection:t.getSelection.bind(t),getBounds:t.getBounds.bind(t)}}getEditingArea(){const e=this.editingAreaRef.current;if(!e)throw new Error("Cannot find element for editing area");if(e.nodeType===3)throw new Error("Editing area cannot be a text node");return e}renderEditingArea(){const{children:e,preserveWhitespace:t}=this.props,{generation:n}=this.state,i={key:n,ref:this.editingAreaRef};return A.Children.count(e)?A.cloneElement(A.Children.only(e),i):t?A.createElement("pre",{...i}):A.createElement("div",{...i})}render(){return A.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:`quill ${this.props.className??""}`,onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())}onEditorChangeText(e,t,n,i){var u,f;if(!this.editor)return;const l=this.isDelta(this.value)?i.getContents():i.getHTML();l!==this.getEditorContents()&&(this.lastDeltaChangeSet=t,this.value=l,(f=(u=this.props).onChange)==null||f.call(u,e,t,n,i))}onEditorChangeSelection(e,t,n){var f,g,m,R,w,b;if(!this.editor)return;const i=this.getEditorSelection(),l=!i&&e,u=i&&!e;Of(e,i)||(this.selection=e,(g=(f=this.props).onChangeSelection)==null||g.call(f,e,t,n),l?(R=(m=this.props).onFocus)==null||R.call(m,e,t,n):u&&((b=(w=this.props).onBlur)==null||b.call(w,i,t,n)))}focus(){this.editor&&this.editor.focus()}blur(){this.editor&&(this.selection=null,this.editor.blur())}}Ch.displayName="React Quill";Ch.Quill=Ke;Ch.defaultProps={theme:"snow",modules:{},readOnly:!1};function Kb(r){Promise.resolve().then(r)}const WP="_AEditorWrapper_1i771_1",VP="_AEditorContainer_1i771_7",GP="_AEditor_1i771_1",ZP="_Primary_1i771_466",KP="_ReadOnly_1i771_536",YP="_Raw_1i771_687",XP="_LimitContainer_1i771_701",JP="_Limit_1i771_701",QP="_Indicator_1i771_724",eN="_Resizer_1i771_733",jn={AEditorWrapper:WP,AEditorContainer:VP,AEditor:GP,Primary:ZP,ReadOnly:KP,Error:"_Error_1i771_613",Raw:YP,LimitContainer:XP,Limit:JP,Indicator:QP,Resizer:eN,"ql-tablepicker-row":"_ql-tablepicker-row_1i771_767","ql-tablepicker-cell":"_ql-tablepicker-cell_1i771_770","ql-tablepicker-grid":"_ql-tablepicker-grid_1i771_778","ql-tablepicker-inner-cell":"_ql-tablepicker-inner-cell_1i771_782","ql-tablepicker-options":"_ql-tablepicker-options_1i771_791","ql-tablepicker-tooltip":"_ql-tablepicker-tooltip_1i771_802","ql-tableui-options":"_ql-tableui-options_1i771_821","ql-tableui-options__item":"_ql-tableui-options__item_1i771_833","ql-tableui-options__item-icon":"_ql-tableui-options__item-icon_1i771_852","ql-tableui-options__item-text":"_ql-tableui-options__item-text_1i771_857","ql-tableui-helper":"_ql-tableui-helper_1i771_861","ql-tableui-helper__icon":"_ql-tableui-helper__icon_1i771_873","ql-tableui-helper__text":"_ql-tableui-helper__text_1i771_883"};class tN{constructor(e){ft(this,"quill");ft(this,"picker",null);ft(this,"tooltip",null);ft(this,"toolbar",null);ft(this,"tableButton",null);ft(this,"CONSTANTS",{MAX_ROWS:10,MAX_COLS:10,CELL_SIZE:18,SPACING:5,PICKER_PADDING:20});ft(this,"CLASSNAMES",{tooltip:jn["ql-tablepicker-tooltip"],grid:jn["ql-tablepicker-grid"],row:jn["ql-tablepicker-row"],cell:jn["ql-tablepicker-cell"],innerCell:jn["ql-tablepicker-inner-cell"],options:jn["ql-tablepicker-options"]});ft(this,"COLORS",{highlight:"var(--AEditor_Addon_hover_color)",normal:"var(--AEditor_Addon_Primary_background-color)",border:"1px solid var(--AEditor_Addon_Primary_color)"});ft(this,"boundHandlers",{globalClick:this.handleGlobalClick.bind(this),tableButtonClick:this.handleTableButtonClick.bind(this),gridMouseOver:this.handleGridMouseOver.bind(this),gridMouseOut:this.handleGridMouseOut.bind(this),gridClick:this.handleGridClick.bind(this),highlightReset:()=>this.highlightCells(0,0)});this.quill=e,this.initializeTablePicker(),document.addEventListener("click",this.boundHandlers.globalClick)}destroy(){document.removeEventListener("click",this.boundHandlers.globalClick),this.tableButton&&this.tableButton.removeEventListener("click",this.boundHandlers.tableButtonClick),this.hidePicker()}handleGlobalClick(e){if(!this.picker)return;const t=e.target;this.isTableButtonOrPicker(t)||this.hidePicker()}isTableButtonOrPicker(e){return!!e.closest("button.ql-table")||!!e.closest(`.${this.CLASSNAMES.options}`)}initializeTablePicker(){if(this.toolbar=this.quill.getModule("toolbar"),this.tableButton=this.toolbar.container.querySelector("button.ql-table"),!this.tableButton){console.warn("Table button not found");return}this.toolbar.handlers.table=()=>{},this.tableButton.addEventListener("click",this.boundHandlers.tableButtonClick)}handleTableButtonClick(e){if(e.preventDefault(),e.stopPropagation(),this.picker&&document.body.contains(this.picker)){this.hidePicker();return}this.showTablePicker(e.target)}createElement(e,t){const n=document.createElement("div");return n.className=e,t&&(n.textContent=t),n}showTablePicker(e){this.hidePicker(),this.closeOtherOptions();const t=e.closest("button.ql-table");t&&t.classList.add("ql-expanded"),this.createPicker(e)}closeOtherOptions(){document.querySelectorAll(".ql-picker.ql-expanded").forEach(e=>{e.classList.remove("ql-expanded")})}createPicker(e){const t=document.createDocumentFragment();this.picker=this.createElement(this.CLASSNAMES.options);const n=this.createGrid();t.appendChild(n),this.picker.appendChild(t),this.positionPicker(e),document.body.appendChild(this.picker),this.picker.addEventListener("mouseover",this.boundHandlers.gridMouseOver),this.picker.addEventListener("mouseout",this.boundHandlers.gridMouseOut),this.picker.addEventListener("click",this.boundHandlers.gridClick),this.picker.addEventListener("mouseleave",this.boundHandlers.highlightReset)}handleGridMouseOver(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.highlightCells(n+1,i+1),this.showTooltip(t,n+1,i+1)}handleGridMouseOut(e){var t;(t=this.picker)!=null&&t.contains(e.relatedTarget)||this.removeTooltip()}handleGridClick(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.insertTable(n+1,i+1),this.removeTooltip(),this.hidePicker()}findTargetCell(e){return e.target.closest(`.${this.CLASSNAMES.cell}`)}getCellCoordinates(e){const t=parseInt(e.getAttribute("data-row")||"0",10),n=parseInt(e.getAttribute("data-col")||"0",10);return[t,n]}createGrid(){const e=this.createElement(this.CLASSNAMES.grid),t=document.createDocumentFragment(),{MAX_ROWS:n,MAX_COLS:i}=this.CONSTANTS;for(let l=0;l<n;l++){const u=this.createElement(this.CLASSNAMES.row);for(let f=0;f<i;f++){const g=this.createElement(this.CLASSNAMES.cell),m=this.createElement(this.CLASSNAMES.innerCell);g.setAttribute("data-row",l.toString()),g.setAttribute("data-col",f.toString()),g.appendChild(m),u.appendChild(g)}t.appendChild(u)}return e.appendChild(t),e}showTooltip(e,t,n){this.removeTooltip(),this.tooltip=this.createElement(this.CLASSNAMES.tooltip,`${t}×${n}`),document.body.appendChild(this.tooltip);const{top:i,left:l}=this.calculateTooltipPosition(e,this.tooltip);this.tooltip.style.top=`${i}px`,this.tooltip.style.left=`${l}px`}calculateTooltipPosition(e,t){const{SPACING:n}=this.CONSTANTS,i=e.getBoundingClientRect(),l=t.getBoundingClientRect(),u=this.getViewportMetrics();let f=i.top-l.height-n,g=i.left;return f<0&&(f=i.bottom+n),g+l.width>u.width&&(g=u.width-l.width-n),{top:f,left:g}}getViewportMetrics(){return{width:window.innerWidth,height:window.innerHeight,scrollTop:window.scrollY||document.documentElement.scrollTop,scrollLeft:window.scrollX||document.documentElement.scrollLeft}}removeTooltip(){this.tooltip&&(this.tooltip.remove(),this.tooltip=null)}positionPicker(e){if(!this.picker)return;const{CELL_SIZE:t,MAX_ROWS:n,MAX_COLS:i,PICKER_PADDING:l}=this.CONSTANTS,u=e.getBoundingClientRect(),f=this.getViewportMetrics(),g=t*n+l,m=t*i+l,R=this.isElementInViewport(u),{top:w,left:b}=this.calculatePickerPosition(u,R,{pickerWidth:m,pickerHeight:g,viewport:f});this.picker.style.top=`${w}px`,this.picker.style.left=`${b}px`}isElementInViewport(e){const t=this.getViewportMetrics();return e.top>=0&&e.left>=0&&e.bottom<=t.height&&e.right<=t.width}calculatePickerPosition(e,t,n){const{pickerWidth:i,pickerHeight:l,viewport:u}=n,{width:f,height:g,scrollTop:m,scrollLeft:R}=u;let w,b;if(t)w=e.bottom+m,b=e.left+R;else{const S=this.quill.getSelection();if(S){const _=this.quill.getBounds(S.index),M=this.quill.container.getBoundingClientRect();w=M.top+_.bottom+m,b=M.left+_.left+R}else w=(g-l)/2+m,b=(f-i)/2+R}return w+l>g+m&&(w=Math.max(m,w-l-(t?e.height:0))),b+i>f+R&&(b=Math.max(R,f+R-i)),{top:w,left:b}}highlightCells(e,t){if(!this.picker)return;const n=this.picker.querySelectorAll(`.${this.CLASSNAMES.innerCell}`),{NORMAL:i,HIGHLIGHT:l}={NORMAL:this.COLORS.normal,HIGHLIGHT:this.COLORS.highlight};for(let u=0;u<n.length;u++){const f=n[u],g=f.parentElement;if(!g)continue;const[m,R]=this.getCellCoordinates(g);f.style.backgroundColor=m<e&&R<t?l:i}}insertTable(e,t){const n=this.quill.getSelection(!0);if(!n)return;const[i]=this.quill.getLeaf(n.index);if(!i)return;this.prepareInsertionPoint(i,n);const l=this.quill.getModule("table");this.quill.setSelection(n.index,0),l.insertTable(e,t);const u=this.quill.root.querySelector("table:last-of-type");if(u){const f=u.querySelectorAll("td, th");for(let m=0;m<f.length;m++)f[m].style.border=this.COLORS.border;const g=this.quill.getSelection();g&&this.quill.setSelection(g.index,0)}}prepareInsertionPoint(e,t){const n=this.findTableParent(e.parent);if(n){const i=this.quill.getIndex(n)+n.length();this.quill.insertText(i,`
|
347
|
+
`,R=function(){function _(M,E,x,L){this.resizer=null,this.startResizePosition=null,this.i18n=new u((L==null?void 0:L.locale)||f),this.options=L,this.resizeTarget=M,M.originSize||(M.originSize={width:M.clientWidth,height:M.clientHeight}),this.editor=x,this.container=E,this.initResizer(),this.positionResizerToTarget(M),this.resizing=this.resizing.bind(this),this.endResize=this.endResize.bind(this),this.startResize=this.startResize.bind(this),this.toolbarClick=this.toolbarClick.bind(this),this.toolbarInputChange=this.toolbarInputChange.bind(this),this.onScroll=this.onScroll.bind(this),this.bindEvents()}return _.prototype.initResizer=function(){var M=this.container.querySelector("#editor-resizer");M||(M=document.createElement("div"),M.setAttribute("id","editor-resizer"),M.innerHTML=g(m,this.i18n.findLabel("altTip"),this.i18n.findLabel("floatLeft"),this.i18n.findLabel("center"),this.i18n.findLabel("floatRight"),this.i18n.findLabel("restore"),this.i18n.findLabel("inputTip")),this.container.appendChild(M)),this.resizer=M},_.prototype.positionResizerToTarget=function(M){this.resizer!==null&&(this.resizer.style.setProperty("left",M.offsetLeft+"px"),this.resizer.style.setProperty("top",M.offsetTop-this.editor.scrollTop+"px"),this.resizer.style.setProperty("width",M.clientWidth+"px"),this.resizer.style.setProperty("height",M.clientHeight+"px"))},_.prototype.bindEvents=function(){this.resizer!==null&&(this.resizer.addEventListener("mousedown",this.startResize),this.resizer.addEventListener("click",this.toolbarClick),this.resizer.addEventListener("change",this.toolbarInputChange)),window.addEventListener("mouseup",this.endResize),window.addEventListener("mousemove",this.resizing),this.editor.addEventListener("scroll",this.onScroll)},_.prototype.onScroll=function(){this.positionResizerToTarget(this.resizeTarget)},_.prototype._setStylesForToolbar=function(M,E){var x,L="_styles_"+M,O=this.resizeTarget.style,B=this.resizeTarget[L];O.cssText=O.cssText.replaceAll(" ","").replace(B,"")+(";"+E),this.resizeTarget[L]=E,this.positionResizerToTarget(this.resizeTarget),(x=this.options)===null||x===void 0||x.onChange(this.resizeTarget)},_.prototype.toolbarInputChange=function(M){var E,x=M.target,L=(E=x==null?void 0:x.dataset)===null||E===void 0?void 0:E.type,O=x.value;L&&Number(O)&&this._setStylesForToolbar(L,"width: "+Number(O)+"%;")},_.prototype.toolbarClick=function(M){var E,x,L=M.target,O=(E=L==null?void 0:L.dataset)===null||E===void 0?void 0:E.type;O&&L.classList.contains("btn")&&this._setStylesForToolbar(O,(x=L==null?void 0:L.dataset)===null||x===void 0?void 0:x.styles)},_.prototype.startResize=function(M){var E=M.target;E.classList.contains("handler")&&M.which===1&&(this.startResizePosition={left:M.clientX,top:M.clientY,width:this.resizeTarget.clientWidth,height:this.resizeTarget.clientHeight})},_.prototype.endResize=function(){var M;this.startResizePosition=null,(M=this.options)===null||M===void 0||M.onChange(this.resizeTarget)},_.prototype.resizing=function(M){if(this.startResizePosition){var E=M.clientX-this.startResizePosition.left,x=M.clientY-this.startResizePosition.top,L=this.startResizePosition.width,O=this.startResizePosition.height;if(L+=E,O+=x,M.altKey){var B=this.resizeTarget.originSize,H=B.height/B.width;O=H*L}this.resizeTarget.style.setProperty("width",Math.max(L,30)+"px"),this.resizeTarget.style.setProperty("height",Math.max(O,30)+"px"),this.positionResizerToTarget(this.resizeTarget)}},_.prototype.destory=function(){this.container.removeChild(this.resizer),window.removeEventListener("mouseup",this.endResize),window.removeEventListener("mousemove",this.resizing),this.editor.removeEventListener("scroll",this.onScroll),this.resizer=null},_}(),w=function(){function _(M,E){this.element=M,this.cb=E,this.hasTracked=!1}return _}(),b=function(){function _(){}return _.track=function(M,E){this.iframes.push(new w(M,E)),this.interval||(this.interval=setInterval(function(){_.checkClick()},this.resolution))},_.checkClick=function(){if(document.activeElement){var M=document.activeElement;for(var E in this.iframes)M===this.iframes[E].element?this.iframes[E].hasTracked==!1&&(this.iframes[E].cb.apply(window,[]),this.iframes[E].hasTracked=!0):this.iframes[E].hasTracked=!1}},_.resolution=200,_.iframes=[],_.interval=null,_}();function S(_,M){var E=_.root,x,L;function O(){var B=_.getContents().constructor,H=new B().retain(1);_.updateContents(H)}E.addEventListener("click",function(B){var H=B.target;B.target&&["img","video"].includes(H.tagName.toLowerCase())&&(x=H,L=new R(H,E.parentElement,E,l(l({},M),{onChange:O})))}),_.on("text-change",function(B,H){E.querySelectorAll("iframe").forEach(function(z){b.track(z,function(){x=z,L=new R(z,E.parentElement,E,l(l({},M),{onChange:O}))})})}),document.addEventListener("mousedown",function(B){var H,z,K,ue=B.target;ue!==x&&!(!((z=(H=L==null?void 0:L.resizer)===null||H===void 0?void 0:H.contains)===null||z===void 0)&&z.call(H,ue))&&((K=L==null?void 0:L.destory)===null||K===void 0||K.call(L),L=null,x=null)},{capture:!0})}return S})}(Gd)),Gd.exports}var kO=EO();const RO=al(kO);var gp,py;function IO(){if(py)return gp;py=1;function r(){this.__data__=[],this.size=0}return gp=r,gp}var mp,gy;function nS(){if(gy)return mp;gy=1;function r(e,t){return e===t||e!==e&&t!==t}return mp=r,mp}var vp,my;function vh(){if(my)return vp;my=1;var r=nS();function e(t,n){for(var i=t.length;i--;)if(r(t[i][0],n))return i;return-1}return vp=e,vp}var yp,vy;function LO(){if(vy)return yp;vy=1;var r=vh(),e=Array.prototype,t=e.splice;function n(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var f=l.length-1;return u==f?l.pop():t.call(l,u,1),--this.size,!0}return yp=n,yp}var bp,yy;function MO(){if(yy)return bp;yy=1;var r=vh();function e(t){var n=this.__data__,i=r(n,t);return i<0?void 0:n[i][1]}return bp=e,bp}var _p,by;function DO(){if(by)return _p;by=1;var r=vh();function e(t){return r(this.__data__,t)>-1}return _p=e,_p}var xp,_y;function OO(){if(_y)return xp;_y=1;var r=vh();function e(t,n){var i=this.__data__,l=r(i,t);return l<0?(++this.size,i.push([t,n])):i[l][1]=n,this}return xp=e,xp}var Sp,xy;function yh(){if(xy)return Sp;xy=1;var r=IO(),e=LO(),t=MO(),n=DO(),i=OO();function l(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var m=u[f];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,Sp=l,Sp}var Cp,Sy;function PO(){if(Sy)return Cp;Sy=1;var r=yh();function e(){this.__data__=new r,this.size=0}return Cp=e,Cp}var wp,Cy;function NO(){if(Cy)return wp;Cy=1;function r(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}return wp=r,wp}var Ap,wy;function FO(){if(wy)return Ap;wy=1;function r(e){return this.__data__.get(e)}return Ap=r,Ap}var Tp,Ay;function jO(){if(Ay)return Tp;Ay=1;function r(e){return this.__data__.has(e)}return Tp=r,Tp}var Ep,Ty;function iS(){if(Ty)return Ep;Ty=1;var r=typeof bi=="object"&&bi&&bi.Object===Object&&bi;return Ep=r,Ep}var kp,Ey;function ul(){if(Ey)return kp;Ey=1;var r=iS(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return kp=t,kp}var Rp,ky;function qm(){if(ky)return Rp;ky=1;var r=ul(),e=r.Symbol;return Rp=e,Rp}var Ip,Ry;function BO(){if(Ry)return Ip;Ry=1;var r=qm(),e=Object.prototype,t=e.hasOwnProperty,n=e.toString,i=r?r.toStringTag:void 0;function l(u){var f=t.call(u,i),g=u[i];try{u[i]=void 0;var m=!0}catch{}var R=n.call(u);return m&&(f?u[i]=g:delete u[i]),R}return Ip=l,Ip}var Lp,Iy;function HO(){if(Iy)return Lp;Iy=1;var r=Object.prototype,e=r.toString;function t(n){return e.call(n)}return Lp=t,Lp}var Mp,Ly;function bh(){if(Ly)return Mp;Ly=1;var r=qm(),e=BO(),t=HO(),n="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(f){return f==null?f===void 0?i:n:l&&l in Object(f)?e(f):t(f)}return Mp=u,Mp}var Dp,My;function oS(){if(My)return Dp;My=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return Dp=r,Dp}var Op,Dy;function sS(){if(Dy)return Op;Dy=1;var r=bh(),e=oS(),t="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(f){if(!e(f))return!1;var g=r(f);return g==n||g==i||g==t||g==l}return Op=u,Op}var Pp,Oy;function qO(){if(Oy)return Pp;Oy=1;var r=ul(),e=r["__core-js_shared__"];return Pp=e,Pp}var Np,Py;function zO(){if(Py)return Np;Py=1;var r=qO(),e=function(){var n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function t(n){return!!e&&e in n}return Np=t,Np}var Fp,Ny;function aS(){if(Ny)return Fp;Ny=1;var r=Function.prototype,e=r.toString;function t(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Fp=t,Fp}var jp,Fy;function $O(){if(Fy)return jp;Fy=1;var r=sS(),e=zO(),t=oS(),n=aS(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,f=Object.prototype,g=u.toString,m=f.hasOwnProperty,R=RegExp("^"+g.call(m).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function w(b){if(!t(b)||e(b))return!1;var S=r(b)?R:l;return S.test(n(b))}return jp=w,jp}var Bp,jy;function UO(){if(jy)return Bp;jy=1;function r(e,t){return e==null?void 0:e[t]}return Bp=r,Bp}var Hp,By;function rf(){if(By)return Hp;By=1;var r=$O(),e=UO();function t(n,i){var l=e(n,i);return r(l)?l:void 0}return Hp=t,Hp}var qp,Hy;function zm(){if(Hy)return qp;Hy=1;var r=rf(),e=ul(),t=r(e,"Map");return qp=t,qp}var zp,qy;function _h(){if(qy)return zp;qy=1;var r=rf(),e=r(Object,"create");return zp=e,zp}var $p,zy;function WO(){if(zy)return $p;zy=1;var r=_h();function e(){this.__data__=r?r(null):{},this.size=0}return $p=e,$p}var Up,$y;function VO(){if($y)return Up;$y=1;function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}return Up=r,Up}var Wp,Uy;function GO(){if(Uy)return Wp;Uy=1;var r=_h(),e="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function i(l){var u=this.__data__;if(r){var f=u[l];return f===e?void 0:f}return n.call(u,l)?u[l]:void 0}return Wp=i,Wp}var Vp,Wy;function ZO(){if(Wy)return Vp;Wy=1;var r=_h(),e=Object.prototype,t=e.hasOwnProperty;function n(i){var l=this.__data__;return r?l[i]!==void 0:t.call(l,i)}return Vp=n,Vp}var Gp,Vy;function KO(){if(Vy)return Gp;Vy=1;var r=_h(),e="__lodash_hash_undefined__";function t(n,i){var l=this.__data__;return this.size+=this.has(n)?0:1,l[n]=r&&i===void 0?e:i,this}return Gp=t,Gp}var Zp,Gy;function YO(){if(Gy)return Zp;Gy=1;var r=WO(),e=VO(),t=GO(),n=ZO(),i=KO();function l(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var m=u[f];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,Zp=l,Zp}var Kp,Zy;function XO(){if(Zy)return Kp;Zy=1;var r=YO(),e=yh(),t=zm();function n(){this.size=0,this.__data__={hash:new r,map:new(t||e),string:new r}}return Kp=n,Kp}var Yp,Ky;function JO(){if(Ky)return Yp;Ky=1;function r(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}return Yp=r,Yp}var Xp,Yy;function xh(){if(Yy)return Xp;Yy=1;var r=JO();function e(t,n){var i=t.__data__;return r(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Xp=e,Xp}var Jp,Xy;function QO(){if(Xy)return Jp;Xy=1;var r=xh();function e(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}return Jp=e,Jp}var Qp,Jy;function eP(){if(Jy)return Qp;Jy=1;var r=xh();function e(t){return r(this,t).get(t)}return Qp=e,Qp}var eg,Qy;function tP(){if(Qy)return eg;Qy=1;var r=xh();function e(t){return r(this,t).has(t)}return eg=e,eg}var tg,eb;function rP(){if(eb)return tg;eb=1;var r=xh();function e(t,n){var i=r(this,t),l=i.size;return i.set(t,n),this.size+=i.size==l?0:1,this}return tg=e,tg}var rg,tb;function lS(){if(tb)return rg;tb=1;var r=XO(),e=QO(),t=eP(),n=tP(),i=rP();function l(u){var f=-1,g=u==null?0:u.length;for(this.clear();++f<g;){var m=u[f];this.set(m[0],m[1])}}return l.prototype.clear=r,l.prototype.delete=e,l.prototype.get=t,l.prototype.has=n,l.prototype.set=i,rg=l,rg}var ng,rb;function nP(){if(rb)return ng;rb=1;var r=yh(),e=zm(),t=lS(),n=200;function i(l,u){var f=this.__data__;if(f instanceof r){var g=f.__data__;if(!e||g.length<n-1)return g.push([l,u]),this.size=++f.size,this;f=this.__data__=new t(g)}return f.set(l,u),this.size=f.size,this}return ng=i,ng}var ig,nb;function iP(){if(nb)return ig;nb=1;var r=yh(),e=PO(),t=NO(),n=FO(),i=jO(),l=nP();function u(f){var g=this.__data__=new r(f);this.size=g.size}return u.prototype.clear=e,u.prototype.delete=t,u.prototype.get=n,u.prototype.has=i,u.prototype.set=l,ig=u,ig}var og,ib;function oP(){if(ib)return og;ib=1;var r="__lodash_hash_undefined__";function e(t){return this.__data__.set(t,r),this}return og=e,og}var sg,ob;function sP(){if(ob)return sg;ob=1;function r(e){return this.__data__.has(e)}return sg=r,sg}var ag,sb;function aP(){if(sb)return ag;sb=1;var r=lS(),e=oP(),t=sP();function n(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}return n.prototype.add=n.prototype.push=e,n.prototype.has=t,ag=n,ag}var lg,ab;function lP(){if(ab)return lg;ab=1;function r(e,t){for(var n=-1,i=e==null?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}return lg=r,lg}var cg,lb;function cP(){if(lb)return cg;lb=1;function r(e,t){return e.has(t)}return cg=r,cg}var ug,cb;function cS(){if(cb)return ug;cb=1;var r=aP(),e=lP(),t=cP(),n=1,i=2;function l(u,f,g,m,R,w){var b=g&n,S=u.length,_=f.length;if(S!=_&&!(b&&_>S))return!1;var M=w.get(u),E=w.get(f);if(M&&E)return M==f&&E==u;var x=-1,L=!0,O=g&i?new r:void 0;for(w.set(u,f),w.set(f,u);++x<S;){var B=u[x],H=f[x];if(m)var z=b?m(H,B,x,f,u,w):m(B,H,x,u,f,w);if(z!==void 0){if(z)continue;L=!1;break}if(O){if(!e(f,function(K,ue){if(!t(O,ue)&&(B===K||R(B,K,g,m,w)))return O.push(ue)})){L=!1;break}}else if(!(B===H||R(B,H,g,m,w))){L=!1;break}}return w.delete(u),w.delete(f),L}return ug=l,ug}var fg,ub;function uP(){if(ub)return fg;ub=1;var r=ul(),e=r.Uint8Array;return fg=e,fg}var dg,fb;function fP(){if(fb)return dg;fb=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i,l){n[++t]=[l,i]}),n}return dg=r,dg}var hg,db;function dP(){if(db)return hg;db=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(i){n[++t]=i}),n}return hg=r,hg}var pg,hb;function hP(){if(hb)return pg;hb=1;var r=qm(),e=uP(),t=nS(),n=cS(),i=fP(),l=dP(),u=1,f=2,g="[object Boolean]",m="[object Date]",R="[object Error]",w="[object Map]",b="[object Number]",S="[object RegExp]",_="[object Set]",M="[object String]",E="[object Symbol]",x="[object ArrayBuffer]",L="[object DataView]",O=r?r.prototype:void 0,B=O?O.valueOf:void 0;function H(z,K,ue,J,fe,j,te){switch(ue){case L:if(z.byteLength!=K.byteLength||z.byteOffset!=K.byteOffset)return!1;z=z.buffer,K=K.buffer;case x:return!(z.byteLength!=K.byteLength||!j(new e(z),new e(K)));case g:case m:case b:return t(+z,+K);case R:return z.name==K.name&&z.message==K.message;case S:case M:return z==K+"";case w:var X=i;case _:var re=J&u;if(X||(X=l),z.size!=K.size&&!re)return!1;var de=te.get(z);if(de)return de==K;J|=f,te.set(z,K);var me=n(X(z),X(K),J,fe,j,te);return te.delete(z),me;case E:if(B)return B.call(z)==B.call(K)}return!1}return pg=H,pg}var gg,pb;function pP(){if(pb)return gg;pb=1;function r(e,t){for(var n=-1,i=t.length,l=e.length;++n<i;)e[l+n]=t[n];return e}return gg=r,gg}var mg,gb;function $m(){if(gb)return mg;gb=1;var r=Array.isArray;return mg=r,mg}var vg,mb;function gP(){if(mb)return vg;mb=1;var r=pP(),e=$m();function t(n,i,l){var u=i(n);return e(n)?u:r(u,l(n))}return vg=t,vg}var yg,vb;function mP(){if(vb)return yg;vb=1;function r(e,t){for(var n=-1,i=e==null?0:e.length,l=0,u=[];++n<i;){var f=e[n];t(f,n,e)&&(u[l++]=f)}return u}return yg=r,yg}var bg,yb;function vP(){if(yb)return bg;yb=1;function r(){return[]}return bg=r,bg}var _g,bb;function yP(){if(bb)return _g;bb=1;var r=mP(),e=vP(),t=Object.prototype,n=t.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(f){return n.call(u,f)}))}:e;return _g=l,_g}var xg,_b;function bP(){if(_b)return xg;_b=1;function r(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}return xg=r,xg}var Sg,xb;function Sh(){if(xb)return Sg;xb=1;function r(e){return e!=null&&typeof e=="object"}return Sg=r,Sg}var Cg,Sb;function _P(){if(Sb)return Cg;Sb=1;var r=bh(),e=Sh(),t="[object Arguments]";function n(i){return e(i)&&r(i)==t}return Cg=n,Cg}var wg,Cb;function xP(){if(Cb)return wg;Cb=1;var r=_P(),e=Sh(),t=Object.prototype,n=t.hasOwnProperty,i=t.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return e(u)&&n.call(u,"callee")&&!i.call(u,"callee")};return wg=l,wg}var qf={exports:{}},Ag,wb;function SP(){if(wb)return Ag;wb=1;function r(){return!1}return Ag=r,Ag}qf.exports;var Ab;function uS(){return Ab||(Ab=1,function(r,e){var t=ul(),n=SP(),i=e&&!e.nodeType&&e,l=i&&!0&&r&&!r.nodeType&&r,u=l&&l.exports===i,f=u?t.Buffer:void 0,g=f?f.isBuffer:void 0,m=g||n;r.exports=m}(qf,qf.exports)),qf.exports}var Tg,Tb;function CP(){if(Tb)return Tg;Tb=1;var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function t(n,i){var l=typeof n;return i=i??r,!!i&&(l=="number"||l!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<i}return Tg=t,Tg}var Eg,Eb;function fS(){if(Eb)return Eg;Eb=1;var r=9007199254740991;function e(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=r}return Eg=e,Eg}var kg,kb;function wP(){if(kb)return kg;kb=1;var r=bh(),e=fS(),t=Sh(),n="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",f="[object Error]",g="[object Function]",m="[object Map]",R="[object Number]",w="[object Object]",b="[object RegExp]",S="[object Set]",_="[object String]",M="[object WeakMap]",E="[object ArrayBuffer]",x="[object DataView]",L="[object Float32Array]",O="[object Float64Array]",B="[object Int8Array]",H="[object Int16Array]",z="[object Int32Array]",K="[object Uint8Array]",ue="[object Uint8ClampedArray]",J="[object Uint16Array]",fe="[object Uint32Array]",j={};j[L]=j[O]=j[B]=j[H]=j[z]=j[K]=j[ue]=j[J]=j[fe]=!0,j[n]=j[i]=j[E]=j[l]=j[x]=j[u]=j[f]=j[g]=j[m]=j[R]=j[w]=j[b]=j[S]=j[_]=j[M]=!1;function te(X){return t(X)&&e(X.length)&&!!j[r(X)]}return kg=te,kg}var Rg,Rb;function AP(){if(Rb)return Rg;Rb=1;function r(e){return function(t){return e(t)}}return Rg=r,Rg}var zf={exports:{}};zf.exports;var Ib;function TP(){return Ib||(Ib=1,function(r,e){var t=iS(),n=e&&!e.nodeType&&e,i=n&&!0&&r&&!r.nodeType&&r,l=i&&i.exports===n,u=l&&t.process,f=function(){try{var g=i&&i.require&&i.require("util").types;return g||u&&u.binding&&u.binding("util")}catch{}}();r.exports=f}(zf,zf.exports)),zf.exports}var Ig,Lb;function dS(){if(Lb)return Ig;Lb=1;var r=wP(),e=AP(),t=TP(),n=t&&t.isTypedArray,i=n?e(n):r;return Ig=i,Ig}var Lg,Mb;function EP(){if(Mb)return Lg;Mb=1;var r=bP(),e=xP(),t=$m(),n=uS(),i=CP(),l=dS(),u=Object.prototype,f=u.hasOwnProperty;function g(m,R){var w=t(m),b=!w&&e(m),S=!w&&!b&&n(m),_=!w&&!b&&!S&&l(m),M=w||b||S||_,E=M?r(m.length,String):[],x=E.length;for(var L in m)(R||f.call(m,L))&&!(M&&(L=="length"||S&&(L=="offset"||L=="parent")||_&&(L=="buffer"||L=="byteLength"||L=="byteOffset")||i(L,x)))&&E.push(L);return E}return Lg=g,Lg}var Mg,Db;function kP(){if(Db)return Mg;Db=1;var r=Object.prototype;function e(t){var n=t&&t.constructor,i=typeof n=="function"&&n.prototype||r;return t===i}return Mg=e,Mg}var Dg,Ob;function RP(){if(Ob)return Dg;Ob=1;function r(e,t){return function(n){return e(t(n))}}return Dg=r,Dg}var Og,Pb;function IP(){if(Pb)return Og;Pb=1;var r=RP(),e=r(Object.keys,Object);return Og=e,Og}var Pg,Nb;function LP(){if(Nb)return Pg;Nb=1;var r=kP(),e=IP(),t=Object.prototype,n=t.hasOwnProperty;function i(l){if(!r(l))return e(l);var u=[];for(var f in Object(l))n.call(l,f)&&f!="constructor"&&u.push(f);return u}return Pg=i,Pg}var Ng,Fb;function MP(){if(Fb)return Ng;Fb=1;var r=sS(),e=fS();function t(n){return n!=null&&e(n.length)&&!r(n)}return Ng=t,Ng}var Fg,jb;function DP(){if(jb)return Fg;jb=1;var r=EP(),e=LP(),t=MP();function n(i){return t(i)?r(i):e(i)}return Fg=n,Fg}var jg,Bb;function OP(){if(Bb)return jg;Bb=1;var r=gP(),e=yP(),t=DP();function n(i){return r(i,t,e)}return jg=n,jg}var Bg,Hb;function PP(){if(Hb)return Bg;Hb=1;var r=OP(),e=1,t=Object.prototype,n=t.hasOwnProperty;function i(l,u,f,g,m,R){var w=f&e,b=r(l),S=b.length,_=r(u),M=_.length;if(S!=M&&!w)return!1;for(var E=S;E--;){var x=b[E];if(!(w?x in u:n.call(u,x)))return!1}var L=R.get(l),O=R.get(u);if(L&&O)return L==u&&O==l;var B=!0;R.set(l,u),R.set(u,l);for(var H=w;++E<S;){x=b[E];var z=l[x],K=u[x];if(g)var ue=w?g(K,z,x,u,l,R):g(z,K,x,l,u,R);if(!(ue===void 0?z===K||m(z,K,f,g,R):ue)){B=!1;break}H||(H=x=="constructor")}if(B&&!H){var J=l.constructor,fe=u.constructor;J!=fe&&"constructor"in l&&"constructor"in u&&!(typeof J=="function"&&J instanceof J&&typeof fe=="function"&&fe instanceof fe)&&(B=!1)}return R.delete(l),R.delete(u),B}return Bg=i,Bg}var Hg,qb;function NP(){if(qb)return Hg;qb=1;var r=rf(),e=ul(),t=r(e,"DataView");return Hg=t,Hg}var qg,zb;function FP(){if(zb)return qg;zb=1;var r=rf(),e=ul(),t=r(e,"Promise");return qg=t,qg}var zg,$b;function jP(){if($b)return zg;$b=1;var r=rf(),e=ul(),t=r(e,"Set");return zg=t,zg}var $g,Ub;function BP(){if(Ub)return $g;Ub=1;var r=rf(),e=ul(),t=r(e,"WeakMap");return $g=t,$g}var Ug,Wb;function HP(){if(Wb)return Ug;Wb=1;var r=NP(),e=zm(),t=FP(),n=jP(),i=BP(),l=bh(),u=aS(),f="[object Map]",g="[object Object]",m="[object Promise]",R="[object Set]",w="[object WeakMap]",b="[object DataView]",S=u(r),_=u(e),M=u(t),E=u(n),x=u(i),L=l;return(r&&L(new r(new ArrayBuffer(1)))!=b||e&&L(new e)!=f||t&&L(t.resolve())!=m||n&&L(new n)!=R||i&&L(new i)!=w)&&(L=function(O){var B=l(O),H=B==g?O.constructor:void 0,z=H?u(H):"";if(z)switch(z){case S:return b;case _:return f;case M:return m;case E:return R;case x:return w}return B}),Ug=L,Ug}var Wg,Vb;function qP(){if(Vb)return Wg;Vb=1;var r=iP(),e=cS(),t=hP(),n=PP(),i=HP(),l=$m(),u=uS(),f=dS(),g=1,m="[object Arguments]",R="[object Array]",w="[object Object]",b=Object.prototype,S=b.hasOwnProperty;function _(M,E,x,L,O,B){var H=l(M),z=l(E),K=H?R:i(M),ue=z?R:i(E);K=K==m?w:K,ue=ue==m?w:ue;var J=K==w,fe=ue==w,j=K==ue;if(j&&u(M)){if(!u(E))return!1;H=!0,J=!1}if(j&&!J)return B||(B=new r),H||f(M)?e(M,E,x,L,O,B):t(M,E,K,x,L,O,B);if(!(x&g)){var te=J&&S.call(M,"__wrapped__"),X=fe&&S.call(E,"__wrapped__");if(te||X){var re=te?M.value():M,de=X?E.value():E;return B||(B=new r),O(re,de,x,L,B)}}return j?(B||(B=new r),n(M,E,x,L,O,B)):!1}return Wg=_,Wg}var Vg,Gb;function zP(){if(Gb)return Vg;Gb=1;var r=qP(),e=Sh();function t(n,i,l,u,f){return n===i?!0:n==null||i==null||!e(n)&&!e(i)?n!==n&&i!==i:r(n,i,l,u,t,f)}return Vg=t,Vg}var Gg,Zb;function $P(){if(Zb)return Gg;Zb=1;var r=zP();function e(t,n){return r(t,n)}return Gg=e,Gg}var UP=$P();const Of=al(UP);class Ch extends A.Component{constructor(e){super(e),this.editingAreaRef=A.createRef(),this.dirtyProps=["modules","formats","bounds","theme","children"],this.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],this.state={generation:0},this.selection=null,this.onEditorChange=(n,i,l,u)=>{var f,g;n==="text-change"?(f=this.onEditorChangeText)==null||f.call(this,this.editor.root.innerHTML,i,u,this.unprivilegedEditor):n==="selection-change"&&((g=this.onEditorChangeSelection)==null||g.call(this,i,u,this.unprivilegedEditor))};const t=this.isControlled()?e.value:e.defaultValue;this.value=t??""}validateProps(e){if(A.Children.count(e.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(A.Children.count(e.children)){const t=A.Children.only(e.children);if((t==null?void 0:t.type)==="textarea")throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}if(this.lastDeltaChangeSet&&e.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")}shouldComponentUpdate(e,t){if(this.validateProps(e),!this.editor||this.state.generation!==t.generation)return!0;if("value"in e){const n=this.getEditorContents(),i=e.value??"";this.isEqualValue(i,n)||this.setEditorContents(this.editor,i)}return e.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,e.readOnly),[...this.cleanProps,...this.dirtyProps].some(n=>!Of(e[n],this.props[n]))}shouldComponentRegenerate(e){return this.dirtyProps.some(t=>!Of(e[t],this.props[t]))}componentDidMount(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())}componentWillUnmount(){this.destroyEditor()}componentDidUpdate(e,t){if(this.editor&&this.shouldComponentRegenerate(e)){const n=this.editor.getContents(),i=this.editor.getSelection();this.regenerationSnapshot={delta:n,selection:i},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==t.generation){const{delta:n,selection:i}=this.regenerationSnapshot;delete this.regenerationSnapshot,this.instantiateEditor();const l=this.editor;l.setContents(n),Kb(()=>this.setEditorSelection(l,i))}}instantiateEditor(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())}destroyEditor(){this.editor&&this.unhookEditor(this.editor)}isControlled(){return"value"in this.props}getEditorConfig(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,tabIndex:this.props.tabIndex,theme:this.props.theme}}getEditor(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor}createEditor(e,t){const n=new Ke(e,t);return t.tabIndex!=null&&this.setEditorTabIndex(n,t.tabIndex),this.hookEditor(n),n}hookEditor(e){this.unprivilegedEditor=this.makeUnprivilegedEditor(e),e.on("editor-change",this.onEditorChange)}unhookEditor(e){e.off("editor-change",this.onEditorChange)}getEditorContents(){return this.value}getEditorSelection(){return this.selection}isDelta(e){return e&&e.ops}isEqualValue(e,t){return this.isDelta(e)&&this.isDelta(t)?Of(e.ops,t.ops):Of(e,t)}setEditorContents(e,t){this.value=t;const n=this.getEditorSelection();typeof t=="string"?e.setContents(e.clipboard.convert({html:t})):e.setContents(t),Kb(()=>this.setEditorSelection(e,n))}setEditorSelection(e,t){if(this.selection=t,t){const n=e.getLength();t.index=Math.max(0,Math.min(t.index,n-1)),t.length=Math.max(0,Math.min(t.length,n-1-t.index)),e.setSelection(t)}}setEditorTabIndex(e,t){var n;(n=e==null?void 0:e.scroll)!=null&&n.domNode&&(e.scroll.domNode.tabIndex=t)}setEditorReadOnly(e,t){t?e.disable():e.enable()}makeUnprivilegedEditor(e){const t=e;return{getHTML:()=>t.root.innerHTML,getSemanticHTML:t.getSemanticHTML.bind(t),getLength:t.getLength.bind(t),getText:t.getText.bind(t),getContents:t.getContents.bind(t),getSelection:t.getSelection.bind(t),getBounds:t.getBounds.bind(t)}}getEditingArea(){const e=this.editingAreaRef.current;if(!e)throw new Error("Cannot find element for editing area");if(e.nodeType===3)throw new Error("Editing area cannot be a text node");return e}renderEditingArea(){const{children:e,preserveWhitespace:t}=this.props,{generation:n}=this.state,i={key:n,ref:this.editingAreaRef};return A.Children.count(e)?A.cloneElement(A.Children.only(e),i):t?A.createElement("pre",{...i}):A.createElement("div",{...i})}render(){return A.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:`quill ${this.props.className??""}`,onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())}onEditorChangeText(e,t,n,i){var u,f;if(!this.editor)return;const l=this.isDelta(this.value)?i.getContents():i.getHTML();l!==this.getEditorContents()&&(this.lastDeltaChangeSet=t,this.value=l,(f=(u=this.props).onChange)==null||f.call(u,e,t,n,i))}onEditorChangeSelection(e,t,n){var f,g,m,R,w,b;if(!this.editor)return;const i=this.getEditorSelection(),l=!i&&e,u=i&&!e;Of(e,i)||(this.selection=e,(g=(f=this.props).onChangeSelection)==null||g.call(f,e,t,n),l?(R=(m=this.props).onFocus)==null||R.call(m,e,t,n):u&&((b=(w=this.props).onBlur)==null||b.call(w,i,t,n)))}focus(){this.editor&&this.editor.focus()}blur(){this.editor&&(this.selection=null,this.editor.blur())}}Ch.displayName="React Quill";Ch.Quill=Ke;Ch.defaultProps={theme:"snow",modules:{},readOnly:!1};function Kb(r){Promise.resolve().then(r)}const WP="_AEditorWrapper_1i771_1",VP="_AEditorContainer_1i771_7",GP="_AEditor_1i771_1",ZP="_Primary_1i771_466",KP="_ReadOnly_1i771_536",YP="_Raw_1i771_687",XP="_LimitContainer_1i771_701",JP="_Limit_1i771_701",QP="_Indicator_1i771_724",eN="_Resizer_1i771_733",jn={AEditorWrapper:WP,AEditorContainer:VP,AEditor:GP,Primary:ZP,ReadOnly:KP,Error:"_Error_1i771_613",Raw:YP,LimitContainer:XP,Limit:JP,Indicator:QP,Resizer:eN,"ql-tablepicker-row":"_ql-tablepicker-row_1i771_767","ql-tablepicker-cell":"_ql-tablepicker-cell_1i771_770","ql-tablepicker-grid":"_ql-tablepicker-grid_1i771_778","ql-tablepicker-inner-cell":"_ql-tablepicker-inner-cell_1i771_782","ql-tablepicker-options":"_ql-tablepicker-options_1i771_791","ql-tablepicker-tooltip":"_ql-tablepicker-tooltip_1i771_802","ql-tableui-options":"_ql-tableui-options_1i771_821","ql-tableui-options__item":"_ql-tableui-options__item_1i771_833","ql-tableui-options__item-icon":"_ql-tableui-options__item-icon_1i771_852","ql-tableui-options__item-text":"_ql-tableui-options__item-text_1i771_857","ql-tableui-helper":"_ql-tableui-helper_1i771_861","ql-tableui-helper__icon":"_ql-tableui-helper__icon_1i771_873","ql-tableui-helper__text":"_ql-tableui-helper__text_1i771_883"};class tN{constructor(e){ft(this,"quill");ft(this,"picker",null);ft(this,"tooltip",null);ft(this,"toolbar",null);ft(this,"tableButton",null);ft(this,"CONSTANTS",{MAX_ROWS:10,MAX_COLS:10,CELL_SIZE:18,SPACING:5,PICKER_PADDING:20});ft(this,"CLASSNAMES",{tooltip:jn["ql-tablepicker-tooltip"],grid:jn["ql-tablepicker-grid"],row:jn["ql-tablepicker-row"],cell:jn["ql-tablepicker-cell"],innerCell:jn["ql-tablepicker-inner-cell"],options:jn["ql-tablepicker-options"]});ft(this,"COLORS",{highlight:"var(--AEditor_Addon_hover_color)",normal:"var(--AEditor_Addon_Primary_background-color)",border:"1px solid var(--AEditor_Addon_Primary_color)"});ft(this,"boundHandlers",{globalClick:this.handleGlobalClick.bind(this),tableButtonClick:this.handleTableButtonClick.bind(this),gridMouseOver:this.handleGridMouseOver.bind(this),gridMouseOut:this.handleGridMouseOut.bind(this),gridClick:this.handleGridClick.bind(this),highlightReset:()=>this.highlightCells(0,0)});this.quill=e,this.initializeTablePicker(),document.addEventListener("click",this.boundHandlers.globalClick)}destroy(){document.removeEventListener("click",this.boundHandlers.globalClick),this.tableButton&&this.tableButton.removeEventListener("click",this.boundHandlers.tableButtonClick),this.hidePicker()}handleGlobalClick(e){if(!this.picker)return;const t=e.target;this.isTableButtonOrPicker(t)||this.hidePicker()}isTableButtonOrPicker(e){return!!e.closest("button.ql-table")||!!e.closest(`.${this.CLASSNAMES.options}`)}initializeTablePicker(){if(this.toolbar=this.quill.getModule("toolbar"),this.tableButton=this.toolbar.container.querySelector("button.ql-table"),!this.tableButton){console.warn("Table button not found");return}this.toolbar.handlers.table=()=>{},this.tableButton.addEventListener("click",this.boundHandlers.tableButtonClick)}handleTableButtonClick(e){if(e.preventDefault(),e.stopPropagation(),this.picker&&document.body.contains(this.picker)){this.hidePicker();return}this.showTablePicker(e.target)}createElement(e,t){const n=document.createElement("div");return n.className=e,t&&(n.textContent=t),n}showTablePicker(e){this.hidePicker(),this.closeOtherOptions();const t=e.closest("button.ql-table");t&&t.classList.add("ql-expanded"),this.createPicker(e)}closeOtherOptions(){document.querySelectorAll(".ql-picker.ql-expanded").forEach(e=>{e.classList.remove("ql-expanded")})}createPicker(e){const t=document.createDocumentFragment();this.picker=this.createElement(this.CLASSNAMES.options);const n=this.createGrid();t.appendChild(n),this.picker.appendChild(t),this.positionPicker(e),document.body.appendChild(this.picker),this.picker.addEventListener("mouseover",this.boundHandlers.gridMouseOver),this.picker.addEventListener("mouseout",this.boundHandlers.gridMouseOut),this.picker.addEventListener("click",this.boundHandlers.gridClick),this.picker.addEventListener("mouseleave",this.boundHandlers.highlightReset)}handleGridMouseOver(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.highlightCells(n+1,i+1),this.showTooltip(t,n+1,i+1)}handleGridMouseOut(e){var t;(t=this.picker)!=null&&t.contains(e.relatedTarget)||this.removeTooltip()}handleGridClick(e){const t=this.findTargetCell(e);if(!t)return;const[n,i]=this.getCellCoordinates(t);this.insertTable(n+1,i+1),this.removeTooltip(),this.hidePicker()}findTargetCell(e){return e.target.closest(`.${this.CLASSNAMES.cell}`)}getCellCoordinates(e){const t=parseInt(e.getAttribute("data-row")||"0",10),n=parseInt(e.getAttribute("data-col")||"0",10);return[t,n]}createGrid(){const e=this.createElement(this.CLASSNAMES.grid),t=document.createDocumentFragment(),{MAX_ROWS:n,MAX_COLS:i}=this.CONSTANTS;for(let l=0;l<n;l++){const u=this.createElement(this.CLASSNAMES.row);for(let f=0;f<i;f++){const g=this.createElement(this.CLASSNAMES.cell),m=this.createElement(this.CLASSNAMES.innerCell);g.setAttribute("data-row",l.toString()),g.setAttribute("data-col",f.toString()),g.appendChild(m),u.appendChild(g)}t.appendChild(u)}return e.appendChild(t),e}showTooltip(e,t,n){this.removeTooltip(),this.tooltip=this.createElement(this.CLASSNAMES.tooltip,`${t}×${n}`),document.body.appendChild(this.tooltip);const{top:i,left:l}=this.calculateTooltipPosition(e,this.tooltip);this.tooltip.style.top=`${i}px`,this.tooltip.style.left=`${l}px`}calculateTooltipPosition(e,t){const{SPACING:n}=this.CONSTANTS,i=e.getBoundingClientRect(),l=t.getBoundingClientRect(),u=this.getViewportMetrics();let f=i.top-l.height-n,g=i.left;return f<0&&(f=i.bottom+n),g+l.width>u.width&&(g=u.width-l.width-n),{top:f,left:g}}getViewportMetrics(){return{width:window.innerWidth,height:window.innerHeight,scrollTop:window.scrollY||document.documentElement.scrollTop,scrollLeft:window.scrollX||document.documentElement.scrollLeft}}removeTooltip(){this.tooltip&&(this.tooltip.remove(),this.tooltip=null)}positionPicker(e){if(!this.picker)return;const{CELL_SIZE:t,MAX_ROWS:n,MAX_COLS:i,PICKER_PADDING:l}=this.CONSTANTS,u=e.getBoundingClientRect(),f=this.getViewportMetrics(),g=t*n+l,m=t*i+l,R=this.isElementInViewport(u),{top:w,left:b}=this.calculatePickerPosition(u,R,{pickerWidth:m,pickerHeight:g,viewport:f});this.picker.style.top=`${w}px`,this.picker.style.left=`${b}px`}isElementInViewport(e){const t=this.getViewportMetrics();return e.top>=0&&e.left>=0&&e.bottom<=t.height&&e.right<=t.width}calculatePickerPosition(e,t,n){const{pickerWidth:i,pickerHeight:l,viewport:u}=n,{width:f,height:g,scrollTop:m,scrollLeft:R}=u;let w,b;if(t)w=e.bottom+m,b=e.left+R;else{const S=this.quill.getSelection();if(S){const _=this.quill.getBounds(S.index),M=this.quill.container.getBoundingClientRect();w=M.top+_.bottom+m,b=M.left+_.left+R}else w=(g-l)/2+m,b=(f-i)/2+R}return w+l>g+m&&(w=Math.max(m,w-l-(t?e.height:0))),b+i>f+R&&(b=Math.max(R,f+R-i)),{top:w,left:b}}highlightCells(e,t){if(!this.picker)return;const n=this.picker.querySelectorAll(`.${this.CLASSNAMES.innerCell}`),{NORMAL:i,HIGHLIGHT:l}={NORMAL:this.COLORS.normal,HIGHLIGHT:this.COLORS.highlight};for(let u=0;u<n.length;u++){const f=n[u],g=f.parentElement;if(!g)continue;const[m,R]=this.getCellCoordinates(g);f.style.backgroundColor=m<e&&R<t?l:i}}insertTable(e,t){const n=this.quill.getSelection(!0);if(!n)return;const[i]=this.quill.getLeaf(n.index);if(!i)return;this.prepareInsertionPoint(i,n);const l=this.quill.getModule("table");this.quill.setSelection(n.index,0),l.insertTable(e,t);const u=this.quill.root.querySelector("table:last-of-type");if(u){const f=u.querySelectorAll("td, th");for(let m=0;m<f.length;m++)f[m].style.border=this.COLORS.border;const g=this.quill.getSelection();g&&this.quill.setSelection(g.index,0)}}prepareInsertionPoint(e,t){const n=this.findTableParent(e.parent);if(n){const i=this.quill.getIndex(n)+n.length();this.quill.insertText(i,`
|
348
348
|
`,"user"),this.quill.setSelection(i+1,0),t.index=i+1}else{const l=this.quill.getLine(t.index)[0];l&&l.length()>1?(this.quill.insertText(t.index,`
|
349
349
|
|
350
350
|
`,"user"),t.index+=2):(this.quill.insertText(t.index,`
|
351
|
-
`,"user"),t.index+=1)}}findTableParent(e){let t=e;for(;t;){if(t.domNode&&t.domNode.tagName==="TABLE")return t;t=t.parent}return null}hidePicker(){this.removeTooltip(),this.picker&&(this.picker.remove(),this.picker=null),this.tableButton&&this.tableButton.classList.remove("ql-expanded")}}var Ou={},Yb;function rN(){if(Yb)return Ou;Yb=1;var r=Hs;if(process.env.NODE_ENV==="production")Ou.createRoot=r.createRoot,Ou.hydrateRoot=r.hydrateRoot;else{var e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ou.createRoot=function(t,n){e.usingClientEntryPoint=!0;try{return r.createRoot(t,n)}finally{e.usingClientEntryPoint=!1}},Ou.hydrateRoot=function(t,n,i){e.usingClientEntryPoint=!0;try{return r.hydrateRoot(t,n,i)}finally{e.usingClientEntryPoint=!1}}}return Ou}var nN=rN();const Xb=al(nN);class iN{constructor(e,t){ft(this,"DEFAULTS",{maxRowCount:-1});ft(this,"quill");ft(this,"options");ft(this,"position",null);ft(this,"table");ft(this,"selectedCell",null);ft(this,"menuRoot",null);ft(this,"helperTextElement",null);ft(this,"scrollTimeout",null);ft(this,"SCROLL_DEBOUNCE_TIME",80);ft(this,"lastSelectedCellRef",null);ft(this,"boundDocClickHandler",this.hideMenu.bind(this));ft(this,"boundEditorChangeHandler",this.editorChangeHandler.bind(this));ft(this,"boundContextMenuHandler",this.contextMenuHandler.bind(this));ft(this,"boundCopyHandler",this.copyHandler.bind(this));ft(this,"boundScrollHandler",this.handleScroll.bind(this));ft(this,"boundPasteHandler",this.pasteHandler.bind(this));ft(this,"menuItems",[]);ft(this,"positionCache",new Map);ft(this,"POSITION_CACHE_LIFETIME",1e3);ft(this,"reactRoot",null);if(this.quill=e,this.options={...this.DEFAULTS,...t},this.table=e.getModule("table"),!this.table){console.error('"table" module not found');return}this.initializeMenuItems(),this.overrideTableMethods(),this.initializeHelperText(),this.attachEventListeners()}initializeMenuItems(){this.menuItems=[{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnRight()},icon:Ns.renderToString(v.jsx(jr,{icon:"AddColRight"})),title:hn.AEditor["Insert Column Right"]},{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnLeft()},icon:Ns.renderToString(v.jsx(jr,{icon:"AddColLeft"})),title:hn.AEditor["Insert Column Left"]},{handler:()=>{this.table.insertRowAbove()},icon:Ns.renderToString(v.jsx(jr,{icon:"AddRowAbove"})),title:hn.AEditor["Insert Row Top"]},{handler:()=>{this.table.insertRowBelow()},icon:Ns.renderToString(v.jsx(jr,{icon:"AddRowBelow"})),title:hn.AEditor["Insert Row Bottom"]},{handler:()=>{this.table.deleteColumn()},icon:Ns.renderToString(v.jsx(jr,{icon:"RemoveCol"})),title:hn.AEditor["Delete Column"]},{handler:()=>{this.table.deleteRow()},icon:Ns.renderToString(v.jsx(jr,{icon:"RemoveRow"})),title:hn.AEditor["Delete Row"]},{handler:()=>{this.table.deleteTable()},icon:Ns.renderToString(v.jsx(jr,{icon:"Trash"})),title:hn.AEditor["Delete Table"]}]}overrideTableMethods(){const e=this.table.insertTable;this.table.insertTable=(...n)=>{const i=e.apply(this.table,n),l=this.quill.getSelection();return l&&(this.quill.focus(),setTimeout(()=>this.detectButton(l),0)),i};const t=this.table.deleteTable;this.table.deleteTable=(...n)=>{const i=t.apply(this.table,n);return this.cleanupTableUI(),i}}initializeHelperText(){this.helperTextElement=document.createElement("div"),this.helperTextElement.className=jn["ql-tableui-helper"];const e=document.createElement("span");e.className=Be.clsx("Caption1",jn["ql-tableui-helper__text"],"NoSelect"),e.textContent=hn.AEditor["Right click to open properties"];const t=document.createElement("span");t.className=jn["ql-tableui-helper__icon"],t.innerHTML=Ns.renderToString(v.jsx(jr,{icon:"MoreHorizontal",size:"xs"})),t.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),this.menuRoot?this.hideMenu():this.showMenu()}),this.helperTextElement.appendChild(e),this.helperTextElement.appendChild(t),this.helperTextElement.style.display="none",this.quill.container.appendChild(this.helperTextElement)}attachEventListeners(){this.quill.on("editor-change",this.boundEditorChangeHandler),this.quill.root.addEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.addEventListener("copy",this.boundCopyHandler),this.quill.root.addEventListener("paste",this.boundPasteHandler),window.addEventListener("scroll",this.boundScrollHandler,!0)}removeEventListeners(){this.quill.off("editor-change",this.boundEditorChangeHandler),this.quill.root.removeEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.removeEventListener("copy",this.boundCopyHandler),this.quill.root.removeEventListener("paste",this.boundPasteHandler),document.removeEventListener("click",this.boundDocClickHandler),window.removeEventListener("scroll",this.boundScrollHandler,!0)}editorChangeHandler(e,t,n,i){e==="selection-change"&&this.detectButton(t)}contextMenuHandler(e){return this.isTable()?(e.preventDefault(),this.showMenu(),!1):!0}copyHandler(e){if(!this.selectedCell||!e.clipboardData)return;e.preventDefault();const t=this.selectedCell.textContent||"";e.clipboardData.setData("text/plain",t)}isTable(e){return e=e||this.quill.getSelection(),e?!!(this.quill.getFormat(e.index).table&&!e.length):!1}getColCount(e){if(e=e||this.quill.getSelection(),!e)return 0;const[t]=this.table.getTable(e);return t?t.rows().reduce((n,i)=>Math.max(i.children.length,n),0):0}showMenu(){if(this.menuRoot){this.hideMenu();return}if(!this.selectedCell)return;this.menuRoot||(this.menuRoot=document.createElement("div"),document.body.appendChild(this.menuRoot));const e=this.getBoundingRectWithCache(this.selectedCell),t=window.innerWidth,n=window.innerHeight,i=A.memo(({item:u,index:f})=>v.jsxs("div",{className:jn["ql-tableui-options__item"],onClick:this.createItemClickHandler(u),children:[v.jsx("span",{className:jn["ql-tableui-options__item-icon"],dangerouslySetInnerHTML:{__html:u.icon}}),v.jsx("span",{className:jn["ql-tableui-options__item-text"],children:u.title})]},f)),l=()=>v.jsx("div",{className:jn["ql-tableui-options"],style:{position:"fixed",visibility:"hidden",zIndex:1e4},children:this.menuItems.map((u,f)=>v.jsx(i,{item:u,index:f},f))});try{Xb.createRoot?(this.reactRoot=Xb.createRoot(this.menuRoot),this.reactRoot.render(v.jsx(l,{}))):Hs.render(v.jsx(l,{}),this.menuRoot)}catch{Hs.render(v.jsx(l,{}),this.menuRoot)}document.addEventListener("click",this.boundDocClickHandler),requestAnimationFrame(()=>{if(!this.menuRoot)return;const u=this.menuRoot.firstElementChild;if(u){const f=u.getBoundingClientRect();let g=e.bottom+window.scrollY,m=e.left+window.scrollX;m+f.width>t&&(m=e.right-f.width+window.scrollX),g+f.height>n+window.scrollY&&(g=e.top-f.height+window.scrollY),u.style.top=`${g}px`,u.style.left=`${m}px`,u.style.visibility="visible"}})}hideMenu(){this.menuRoot&&(document.removeEventListener("click",this.boundDocClickHandler),this.reactRoot?(this.reactRoot.unmount(),this.reactRoot=null):Hs.unmountComponentAtNode(this.menuRoot),this.menuRoot.remove(),this.menuRoot=null)}detectButton(e){if(e)if(this.isTable(e)){const[t,n]=this.quill.getLine(e.index);if(!t||!t.domNode)return;const i=t.domNode,l=`${i.tagName}-${i.offsetLeft}-${i.offsetTop}`;this.selectedCell===i||this.lastSelectedCellRef===l||(this.clearAllTableCellOutlines(),i.style.outline="2px solid var(--acent-brand)",i.style.outlineOffset="-1px",this.selectedCell=i,this.lastSelectedCellRef=l),this.showHelperText();const f=this.quill.container.getBoundingClientRect(),g=i.getBoundingClientRect(),m={bottom:g.bottom-f.top,height:g.height,left:g.left-f.left,right:g.right-f.left,top:g.top-f.top,width:g.width,x:g.x,y:g.y,toJSON:()=>JSON.stringify(m)};this.position&&(this.position.top!==m.top||this.position.left!==m.left)&&this.hideMenu(),this.position=m}else this.cleanupTableUI()}clearAllTableCellOutlines(){this.selectedCell&&(this.selectedCell.style.removeProperty("outline"),this.selectedCell.style.removeProperty("outline-offset"),this.selectedCell=null),this.quill.root.querySelectorAll("td, th").forEach(t=>{t instanceof HTMLElement&&(t.style.removeProperty("outline"),t.style.removeProperty("outline-offset"))}),this.lastSelectedCellRef=null}showHelperText(){if(!this.selectedCell||!this.helperTextElement)return;const e=this.quill.getSelection();if(!e)return;const[t]=this.table.getTable(e);if(!t||!t.domNode)return;const i=t.domNode.getBoundingClientRect(),l=this.quill.container.getBoundingClientRect();if(!(i.bottom<l.top+5||i.top>l.bottom-5)){let f=i.top-l.top-20;i.top<l.top&&(f=5),this.helperTextElement.style.display="block",this.helperTextElement.style.left=`${i.left-l.left}px`,this.helperTextElement.style.top=`${f}px`}else this.helperTextElement.style.display="none"}removeHelperText(){this.helperTextElement&&(this.helperTextElement.style.display="none")}handleScroll(){this.removeHelperText(),this.hideMenu(),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{const e=this.quill.getSelection();e&&this.isTable(e)&&this.detectButton(e),this.scrollTimeout=null},this.SCROLL_DEBOUNCE_TIME)}destroy(){this.removeEventListeners(),this.cleanupTableUI(),this.helperTextElement&&this.helperTextElement.remove(),this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=null),this.positionCache.clear(),this.reactRoot=null,this.selectedCell=null,this.helperTextElement=null,this.position=null,this.options=this.DEFAULTS,this.menuRoot=null,this.table=null}createItemClickHandler(e){return t=>{t.preventDefault(),t.stopPropagation(),this.quill.focus(),e.handler(),this.hideMenu(),this.detectButton(this.quill.getSelection())}}getBoundingRectWithCache(e){const t=Date.now(),n=this.positionCache.get(e);if(n&&t-n.timestamp<this.POSITION_CACHE_LIFETIME)return n.rect;const i=e.getBoundingClientRect();return this.positionCache.set(e,{rect:i,timestamp:t}),i}pasteHandler(){this.clearAllTableCellOutlines(),setTimeout(()=>{const e=this.quill.getSelection();e&&this.detectButton(e)},0)}cleanupTableUI(){this.removeHelperText(),this.clearAllTableCellOutlines(),this.hideMenu(),this.lastSelectedCellRef=null}}const oN=()=>{const r=[1,2,3,!1,4],e=Ke.import("ui/icons");e.table=Ns.renderToString(v.jsx(jr,{icon:"Table",strokeWidth:2.5})),e.divider=Ns.renderToString(v.jsx(jr,{icon:"Minus",strokeWidth:2.5}));const t=Ke.import("blots/block/embed");class n extends t{static create(l){const u=super.create(l);return u.style.border="var(--AEditor_Addon_Primary_border)",u.style.borderBottom="none",u.style.transition="border var(--Transition)",u}}return ft(n,"blotName","divider"),ft(n,"tagName","hr"),Ke.register({"modules/imageCompress":AO,"modules/resize":RO,"modules/tablePicker":tN,"modules/tableUI":iN,"formats/header":cN(r),"formats/divider":n},!0),{header:r,FORMAT_DEFAULT:["bold","italic","underline","strike","blockquote","table","size","header","color","background","indent","list","align","image","link","video","divider"],FORMAT_TITLE:["bold","italic","underline","strike","color","background"],TOOLBAR_DEFAULT:[[{header:r}],["bold","italic","underline","strike","blockquote","divider","table",{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 Zg=null;const sN=()=>(Zg||(Zg=oN()),Zg),ls=r=>Array.from(r).length,aN=r=>r.ops?r.ops.reduce((e,t)=>typeof t.insert=="string"?e+t.insert.replace(/\n/g,"").split("").reduce((n,i)=>n+(i.charCodeAt(0)<=127?1:3),0):typeof t.insert=="object"&&t.insert.image?e+t.insert.image.length:e,0):0;function lN(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function cN(r){const e=Ke.import("formats/header");return e.whitelist=r,e}const uN=A.memo(r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:i,useValue:l,useError:u,placeholder:f,tabIndex:g,autoFocus:m,editorProps:R,wrapProps:w,helperText:b,label:S,labelProps:_,wrapType:M,style:E,minHeight:x,maxHeight:L,contentHeight:O,contentMaxHeight:B=1e3,toolbarSize:H="Med",toolbarType:z="Default",readOnly:K,limitPosition:ue="Bottom",maxLength:J,editorClassName:fe,editorStyle:j,...te}=r,X=A.useMemo(()=>sN(),[]),re=A.useMemo(()=>n==="ReadOnly"||K,[n,K]),de=A.useMemo(()=>O?20:0,[O]),[ge,ye]=A.useState(H==="Med"?40:50),ce=A.useMemo(()=>re?0:ge,[re,ge]),[Ae,le]=A.useMemo(()=>J||!u||re||ue==="Top"?[0,0]:[20,6],[J,u,re,ue]),se=A.useMemo(()=>Ae+le,[Ae,le]),[pe,Ne]=A.useState(O),[Ye,we]=A.useState(!1),[De,Fe]=A.useState(!1),ze=A.useRef(null),Ge=A.useRef(0),Me=A.useRef(0),Te=A.useMemo(()=>S?24:0,[S]),be=A.useMemo(()=>z==="Title"?!0:void 0,[z]),We=A.useMemo(()=>O||x||be,[O,x,be]),ht=A.useMemo(()=>We?"fit-content":L?L+Te:`calc(100% - ${Te}px)`,[We,L,Te]),Ct=A.useMemo(()=>{if(O){if(pe)switch(n){case"ReadOnly":return pe;case"Raw":return pe+se;default:return pe+ce+se}}else return},[O,pe,n,ce,se]),it=A.useMemo(()=>{if(!(!L||L<=ce+se))switch(n){case"ReadOnly":return L;case"Raw":return L-se;default:return L-ce-se}},[n,ce,se,L]),Ie=A.useMemo(()=>{if(x&&O){const tt=Math.min(x-ce-se,O);return re?tt:tt+ce+se}else return x||(O?void 0:`calc(100% - ${Te}px)`)},[x,O,Te,ce,se,re]),Oe=A.useMemo(()=>lN(t)?"Error":n,[t,n]),[st,vt]=nn(l,""),[wt,Et]=nn(u,!1),[xt,It]=A.useState(()=>{if(!st)return new Zt;const tt=document.createElement("div");return tt.innerHTML=st,new Ke(tt,{readOnly:!0}).getContents()}),je=A.useCallback(aN,[]),Qe=A.useMemo(()=>Math.floor(5e4*.68234)*3,[]),gt=A.useMemo(()=>v.jsx(fN,{calculateSize:je,error:wt,htmlDelta:xt,limit:Qe,useError:u,isReadonly:re}),[je,wt,xt,re,Qe,u]),Ft=A.useMemo(()=>({clipboard:{matchVisual:!1,...be&&{matchers:[["img",()=>!1],["table",()=>!1],["iframe",()=>!1],["video",()=>!1],["h1, h2, h3, h4, h5, h6",()=>({})],["blockquote",()=>({})]]}},keyboard:be?{bindings:{Enter:{key:"Enter",handler:tt=>{if(e&&vt){const Le=tt.root.innerHTML;e(Le)}return!1}}}}:{bindings:{}},imageCompress:{quality:.5},...!re&&{resize:{locale:{altTip:hn.AEditor["Image size adjust"],center:hn.AEditor.Center,floatLeft:hn.AEditor.floatLeft,floatRight:hn.AEditor.floatRight,inputTip:hn.AEditor["Input on mouse down"],restore:hn.AEditor.Restore}},...!be&&{table:!0,tablePicker:!0,tableUI:!0},toolbar:{container:be?X.TOOLBAR_TITLE:X.TOOLBAR_DEFAULT,handlers:{divider:function(){const tt=this.quill,Le=tt.getSelection(!0);if(!Le||be)return;const pt=tt.getModule("table"),kt=pt&&!!pt.getTable(Le)[0];kt||tt.insertText(Le.index,`
|
352
|
-
`,Ke.sources.USER);const _t=kt?0:1,Bt=Math.min(
|
353
|
-
`;Et&&Et(je(_t)>Qe),
|
354
|
-
`);
|
355
|
-
`)),Object.keys(or).length>0&&Le.formatText(0,ir.length,or);const fr=Math.min(Y.index+ls(St),ir.length);Le.setSelection(fr,0),kt=ir}else kt=qt})},Tt=Mt=>{(Mt.inputType==="insertLineBreak"||Mt.inputType==="insertText"&&Mt.data&&/[\r\n\u2028\u2029]/.test(Mt.data))&&Mt.preventDefault()},yt=()=>{rr(nr)};me(Le.root,"keydown",$t),me(Le.root,"paste",rt),me(Le.root,"beforeinput",Tt),Le.on("text-change",yt),Ht.push(()=>{me(Le.root,"keydown",$t),me(Le.root,"paste",rt),me(Le.root,"beforeinput",Tt),Le.off("text-change",yt),_t&&window.cancelAnimationFrame(_t)}),rr(nr)}else{const $t=()=>{const Mt=Le.getText();if(ls(Mt)-1<=J)return;const Y=Le.getSelection(),Ue=Le.getContents();Bt=Y?Y.index:0;let ke=0,Ze=0;for(const At of Ue.ops||[])if(typeof At.insert=="string"){const qt=Array.from(At.insert);for(const ir of qt){if(ke>=J)break;ke++,Ze+=ir.length}if(ke>=J)break}else At.insert&&(ke+=1);const St=Mt.substring(0,Ze);Le.setText(St);const jt=Math.min(Bt,St.length);Le.setSelection(jt,0)},nr=(Mt,vr)=>{const Y=Le.getSelection();if(!Y)return!0;const Ue=Le.getText(),ke=ls(Ue)-1,Ze=Y.length>0?ls(Ue.substring(Y.index,Y.index+Y.length)):0,St=J-(ke-Ze);if(ls(vr)<=St)return!0;if(Mt.preventDefault(),Mt.type==="paste"){const At=Y.index,qt=Array.from(vr).slice(0,St).join(""),ir=new Zt;Y.length?ir.retain(At).delete(Y.length):ir.retain(At),ir.insert(qt),Le.updateContents(ir,Ke.sources.USER),requestAnimationFrame(()=>{const or=At+ls(qt);or<=Le.getLength()&&Le.setSelection(or,0)})}return!1},rt=()=>{rr($t)},Tt=Mt=>{Mt.inputType.startsWith("insert")&&nr(Mt,Mt.data||"")},yt=Mt=>{const vr=Mt.clipboardData;if(vr){const Y=Wt(vr.getData("text/plain"));nr(Mt,Y)}};Le.on("text-change",rt),me(Le.root,"beforeinput",Tt,{capture:!0}),me(Le.root,"paste",yt,{capture:!0}),Ht.push(()=>{Le.off("text-change",rt),me(Le.root,"beforeinput",Tt,{capture:!0}),me(Le.root,"paste",yt,{capture:!0}),_t&&window.cancelAnimationFrame(_t)})}return()=>Ht.forEach($t=>$t())},[J,be,e,me]),ct=A.useCallback(tt=>{typeof i=="function"?i(tt):i&&(i.current=tt),tt&&(ne(tt),et(tt))},[i,ne,et]);return v.jsx(ec,{helperText:b,wrapType:M,labelProps:{..._,style:{minHeight:S?20:void 0,marginBottom:S?4:0}},errorMessage:t,label:v.jsxs(Sn,{style:{gap:4},children:[S,!J&&ue==="Top"&>]}),wrapProps:{...w,className:Be.clsx(w==null?void 0:w.className,!We&&jn.AEditorWrapper),style:{...w==null?void 0:w.style,height:ht}},children:v.jsxs($r,{...te,className:Be.clsx(te.className,jn.AEditorContainer),style:{...E,height:Ct,minHeight:Ie},children:[v.jsx(Ch,{...R,ref:ct,className:Be.clsx(R==null?void 0:R.className,jn.AEditor,jn[Oe],be&&"Title"),formats:be?X.FORMAT_TITLE:X.FORMAT_DEFAULT,modules:Ft,placeholder:f,readOnly:re,theme:"snow",value:xt,style:{...R==null?void 0:R.style,maxHeight:it?it+ce:void 0,"--icon-size":`${H==="Med"?18:24}px`,"--editor-padding":be?"8px 12px":"12px","--toolbar-padding":`${pr}px`,"--content-height":be?"34px":pe?`${pe}px`:"100%","--content-max-height":it?`${it}px`:"100%","--default-text":`'${hn.AEditor.Default}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(Ns.renderToString(v.jsx(jr,{icon:"EditorArrow"})))}`,"--title-color-picker-width":be?"780px":"142px"},onChange:Dt}),O&&v.jsxs(v.Fragment,{children:[v.jsx("div",{ref:ze,className:jn.Resizer,style:{height:de,bottom:u&&!re?se:0},onMouseDown:Lt}),De&&v.jsx("div",{className:Be.clsx(jn.Indicator,"NoSelect","Label1"),style:{height:de,bottom:u&&!re?se:0},children:`${Math.round(pe)}px`})]}),v.jsx("div",{className:Be.clsx(jn.LimitContainer,"NoSelect"),style:{marginTop:le,minHeight:Ae,display:!J&&ue==="Bottom"?"flex":"none"},children:gt})]})})},(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.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),fN=A.memo(({calculateSize:r,error:e,htmlDelta:t,limit:n,useError:i,isReadonly:l})=>{if(!i||l)return null;const u=r(t),f=e||u>n;return v.jsxs(Sa,{className:jn.Limit,children:["(",v.jsx("span",{className:f?jn.Error:void 0,children:Kc(u)})," / ",Kc(n),")"]})});function nh(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=nh(t.children,e);if(n)return n}}function ud(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&ud(t.children,e)}function hS(r,e){Array.isArray(r)||(r=[r]);const t=[];return ud(r,(n,i)=>t.push(e(n,i))),t}function pS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!pS(t.children,e))return!1}return!0}function dN(r,e){Array.isArray(r)||(r=[r]);const t=[];return ud(r,(n,i)=>{e(n,i)&&t.push(n)}),t}function hN(r){Array.isArray(r)||(r=[r]);let e=0;return ud(r,()=>e++),e}function pN(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const i=nh(r,u=>{var f;return(f=u.children)==null?void 0:f.some(g=>n(g,e))}),l=nh(r,u=>{var f;return(f=u.children)==null?void 0:f.some(g=>n(g,t))});if(i===void 0&&l===void 0){const u=r.findIndex(g=>n(g,e)),f=r.findIndex(g=>n(g,t));return r.splice(u,1),r.splice(f,0,e),[...r]}else if(i!==void 0&&l!==void 0&&n(i,l)&&i.children){const u=i.children.findIndex(g=>n(g,e)),f=i.children.findIndex(g=>n(g,t));return u===void 0||f===void 0?null:(i.children.splice(u,1),i.children.splice(f,0,e),i.children=[...i.children],[...r])}return null}function gN(r,e,t){const n=[],i=[...e];for(;i.length>0;){const l=i.shift();if(l&&!n.find(u=>t(u,l))&&(n.push(l),!(!l.children||l.children.length<1)))for(const u of l.children)i.push(u)}return n}function mN(r,e,t){Array.isArray(r)||(r=[r]);const n=hS(r,u=>u),i=[],l=[...e];for(;l.length>0;){const u=l.shift();if(!u||i.find(g=>t(g,u)))continue;i.push(u);const f=n.find(g=>{var m;return(m=g.children)==null?void 0:m.some(R=>t(R,u))});f&&l.push(f)}return i}const rl={find:nh,forEach:ud,map:hS,every:pS,filter:dN,length:hN,replace:pN,descendants:gN,ancestors:mN},vN="_AWrap_f5le3_1",yN="_AContainer_f5le3_10",bN="_ATree_f5le3_18",_N="_ATreeBody_f5le3_30",xN="_CoverBorder_f5le3_36",SN="_InsertBorder_f5le3_45",CN="_ATreeHeader_f5le3_76",wN="_ATreeBodyHeader_f5le3_82",AN="_ATreeBodyHeaderResources_f5le3_92",TN="_ATreeItem_f5le3_98",EN="_IsSelectUsed_f5le3_114",kN="_IsSelected_f5le3_117",RN="_IsSearchSelected_f5le3_122",IN="_IsHovered_f5le3_133",LN="_CheckBox_f5le3_137",MN="_Indents_f5le3_149",DN="_ExpandIcon_f5le3_156",ON="_Content_f5le3_168",PN="_RightSticky_f5le3_177",NN="_SearchInputWrap_f5le3_188",FN="_SearchInput_f5le3_188",jN="_RightAddon_f5le3_200",BN="_RightAddonIcon_f5le3_211",HN="_Loader_f5le3_218",dn={AWrap:vN,AContainer:yN,ATree:bN,ATreeBody:_N,CoverBorder:xN,InsertBorder:SN,ATreeHeader:CN,ATreeBodyHeader:wN,ATreeBodyHeaderResources:AN,ATreeItem:TN,IsSelectUsed:EN,IsSelected:kN,IsSearchSelected:RN,IsHovered:IN,CheckBox:LN,Indents:MN,ExpandIcon:DN,Content:ON,RightSticky:PN,SearchInputWrap:NN,SearchInput:FN,RightAddon:jN,RightAddonIcon:BN,Loader:HN},qN=r=>{const{isEqual:e,item:t,selectDisabled:n,selectUnused:i,isParentDisabled:l,indents:u,extIndents:f,useExpand:g,useSelect:m,useSearch:R,onDragStart:w,onDragOver:b,onDragEnd:S,showCheckbox:_,icons:M,iconWidth:E,isSelectMulti:x,isDraggable:L,isParentCheckHovered:O,hoverdItem:B,onMouseOver:H,onMouseLeave:z,ContentRenderer:K,TreeItemRenderer:ue,RightStickyAddon:J,resources:fe,containerRef:j,TreeItemStyle:te,TreeItemClassName:X,searchItemStyle:re,searchItemClassName:de,height:ge}=r,{children:ye}=A.useMemo(()=>t,[t]),[ce,Ae]=A.useMemo(()=>g,[g]),[le,se]=A.useMemo(()=>m,[m]),[pe,Ne]=A.useMemo(()=>R,[R]),Ye=A.useMemo(()=>i?i(t):!1,[i,t]),we=A.useMemo(()=>!n||l?l:n(t),[n,l,t]),De=A.useMemo(()=>ce.some($e=>e($e,t)),[ce,e,t]),Fe=A.useMemo(()=>!ye||ye.length<1?"noChild":De?"expanded":"collapsed",[ye,De]),ze=A.useMemo(()=>{const $e=M[Fe];return fm.includes($e)?v.jsx(jr,{style:{width:E,height:E},icon:$e}):$e},[M,E,Fe]),Ge=A.useCallback($e=>{!Ae||Fe==="noChild"||(Ae(De?ce.filter(Lt=>!e(Lt,t)):[...ce,t]),$e.stopPropagation())},[Ae,ce,De,t,e,Fe]),Me=A.useMemo(()=>le.some($e=>e($e,t)),[le,e,t]),Te=A.useCallback(()=>{!se||we||(se(x?Me?le.filter($e=>!e($e,t)):[...le,t]:[t]),pe&&Ne&&pe.items.some($e=>e($e,t))&&Ne({...pe,item:t}))},[x,we,Me,pe,Ne,se,e,le,t]),be=A.useMemo(()=>pe==null?void 0:pe.items.some($e=>e($e,t)),[pe,e,t]),We=A.useMemo(()=>be&&(pe==null?void 0:pe.item)&&e(pe.item,t),[be,pe,e,t]),ht=A.useRef(null);A.useEffect(()=>{setTimeout(()=>{if(We&&ht.current&&j.current){const{top:$e,bottom:Lt}=ht.current.getBoundingClientRect(),{top:Dt,bottom:pr}=j.current.getBoundingClientRect();($e<Dt||Lt>pr)&&ht.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[j,We]);const[Ct,it]=A.useState(!1),Ie=A.useCallback(()=>!we&&it(!0),[we]),Oe=A.useCallback(()=>!we&&it(!1),[we]),st=A.useMemo(()=>rl.map(t,$e=>$e).filter($e=>!(n!=null&&n($e))&&!(i!=null&&i($e))),[n,i,t]),vt=A.useMemo(()=>!_||!x?!1:Me&&st.some($e=>le.some(Lt=>e($e,Lt)))&&st.some($e=>!le.some(Lt=>e($e,Lt))),[_,x,Me,st,e,le]),wt=A.useMemo(()=>_?x?st.every($e=>le.some(Lt=>e($e,Lt))):le.some($e=>e($e,t)):!1,[_,x,st,t,e,le]),Et=A.useCallback(()=>{if(!(!se||we))if(x)if(Me){const $e=le.filter(Lt=>!(i!=null&&i(Lt))&&!(n!=null&&n(Lt))&&st.some(Dt=>e(Dt,Lt)));$e.length>0&&se(le.filter(Lt=>!$e.some(Dt=>e(Lt,Dt))))}else{const $e=st.filter(Lt=>!(i!=null&&i(Lt))&&!(n!=null&&n(Lt))&&!le.some(Dt=>e(Dt,Lt)));$e.length>0&&se([...le,...$e])}else se([t])},[we,n,i,x,se,e,Me,le,st,t]),xt=A.useCallback($e=>{we||Et(),$e.stopPropagation()},[we,Et]),It=A.useMemo(()=>{if(!_||!x||we)return"";if(Me){const Lt=le.filter(Dt=>!(i!=null&&i(Dt))&&!(n!=null&&n(Dt))&&st.some(pr=>e(pr,Dt)));if(Lt.length>0)return fe["deselect n"](Lt.length)}const $e=st.filter(Lt=>!(i!=null&&i(Lt))&&!(n!=null&&n(Lt))&&!le.some(Dt=>e(Dt,Lt)));return fe["select n"]($e.length)},[n,i,fe,we,_,x,Me,st,e,le]),je=A.useMemo(()=>Lr.getContent(J,r),[J,r]),Qe=A.useMemo(()=>Lr.getContent(te,r),[r,te]),gt=A.useMemo(()=>Lr.getContent(X,r),[r,X]),Ft=A.useMemo(()=>Lr.getContent(de,r),[r,de]),bt=A.useMemo(()=>Lr.getContent(re,r),[r,re]);return v.jsxs(A.Fragment,{children:[v.jsxs($r,{className:Be.clsx(dn.ATreeItem,Me&&dn.IsSelected,!we&&(Ct||O)&&dn.IsHovered,be&&dn.IsSearched,We&&(Ft||dn.IsSearchSelected),!Ye&&dn.IsSelectUsed,"NoSelect",gt),style:{...Qe,...We&&bt,"--ATreeItem_height":`${ge}px`},draggable:L,onDragStart:()=>w==null?void 0:w(t),onDragEnter:$e=>b==null?void 0:b($e,t),onDragEnd:$e=>S==null?void 0:S($e,t),onClick:Te,abaseRef:ht,isDisabled:we,onMouseOver:$e=>H==null?void 0:H($e,t),onMouseLeave:$e=>z==null?void 0:z($e,t),children:[_&&v.jsx(Zu,{style:{visibility:we||Ye?"hidden":"visible",zIndex:we||Ye?0:2},className:dn.CheckBox,useCheck:[+wt,Et],onClick:xt,isIndeterminate:vt,onMouseOver:Ie,onMouseOut:Oe,tooltip:It,isDisabled:we}),v.jsx("div",{className:dn.Indents,style:{paddingLeft:_?0:r.icons.noChild?12:0},children:u.map(($e,Lt)=>{const Dt=Lt===u.length-1;return v.jsx(N2,{value:$e,map:{Collapsed:f?f({iconWidth:E}).collapsed:v.jsx($N,{iconWidth:E}),Expanded:f?f({iconWidth:E,isLast:Dt}).expanded:v.jsx(zN,{iconWidth:E,isLast:Dt}),IsLast:f?f({iconWidth:E}).isLast:v.jsx(UN,{iconWidth:E})}},Lt)})}),ze&&v.jsx("div",{className:dn.ExpandIcon,style:{width:E,minWidth:E,maxWidth:E},onClick:Ge,children:ze}),v.jsx("div",{className:Be.clsx(dn.Content,"NoSelect"),children:v.jsx(K,{isEqual:e,item:t,indents:u,extIndents:f,useExpand:g,useSelect:m,useSearch:R,onDragStart:w,onDragOver:b,onDragEnd:S,showCheckbox:_,icons:M,iconWidth:E,isSelectMulti:x,isDraggable:L,isParentCheckHovered:x&&(Ct||O),hoverdItem:B,onMouseOver:H,onMouseLeave:z,ContentRenderer:K,TreeItemRenderer:ue,RightStickyAddon:J,resources:fe,containerRef:j,TreeItemStyle:te,TreeItemClassName:X,searchItemClassName:Ft,searchItemStyle:re,height:ge})}),je&&v.jsx("div",{className:dn.RightSticky,children:je})]}),De&&(ye==null?void 0:ye.map(($e,Lt)=>v.jsx(ue,{isEqual:e,item:$e,selectDisabled:n,selectUnused:i,indents:[...u.map(Dt=>Dt==="IsLast"?"Collapsed":Dt),Lt===ye.length-1?"IsLast":"Expanded"],extIndents:f,ContentRenderer:K,useExpand:g,useSelect:m,useSearch:R,onDragStart:w,onDragOver:b,onDragEnd:S,showCheckbox:_,icons:M,iconWidth:E,isSelectMulti:x,isDraggable:L,isParentCheckHovered:x&&(Ct||O),hoverdItem:B,onMouseOver:H,onMouseLeave:z,TreeItemRenderer:ue,RightStickyAddon:J,resources:fe,containerRef:j,TreeItemStyle:te,TreeItemClassName:X,searchItemClassName:Ft,searchItemStyle:re,height:ge},Lt)))]})},zN=({iconWidth:r,isLast:e})=>v.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&&v.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),$N=({iconWidth:r})=>v.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),UN=({iconWidth:r})=>v.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)"}}),WN=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:i,searchDown:l,searchEnter:u,isDisabled:f,isLoading:g,resources:m,maxLength:R,autoFocus:w}=r,b=A.useCallback(M=>{M.key==="Enter"?u():M.key==="ArrowDown"?l():M.key==="ArrowUp"&&i(),M.preventDefault(),M.stopPropagation()},[l,u,i]),S=A.useCallback(M=>{n(M)},[n]),_=A.useMemo(()=>f||g?-1:void 0,[f,g]);return v.jsx(tc,{className:dn.SearchInput,wrapProps:{className:dn.SearchInputWrap},isDisabled:f,tabIndex:_,useValue:[(t==null?void 0:t.keyword)??"",S],onKeyDown:b,placeholder:m["Search(Placeholder)"],RightAddon:v.jsx(VN,{isEqual:e,searchResult:t,searchUp:i,searchDown:l,searchEnter:u,resources:m}),maxLength:R,autoFocus:w})},VN=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:i,searchEnter:l,resources:u}=r,f=A.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(_=>t.item&&e(_,t.item))+1,[t,e]),g=A.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),m=A.useMemo(()=>f<2,[f]),R=A.useMemo(()=>f>=g,[f,g]),w=A.useCallback(_=>{_.stopPropagation(),!m&&n()},[n,m]),b=A.useCallback(_=>{_.stopPropagation(),!R&&i()},[i,R]),S=A.useCallback(_=>{_.stopPropagation(),l()},[l]);return v.jsx("div",{className:Be.clsx(dn.RightAddon,"NoSelect"),children:t?v.jsxs(v.Fragment,{children:[f,"/",g,v.jsx($r,{onClick:w,isDisabled:m,children:v.jsx(jr,{className:dn.RightAddonIcon,icon:"ArrowUp",mask:""})}),v.jsx($r,{onClick:b,isDisabled:R,children:v.jsx(jr,{className:dn.RightAddonIcon,icon:"ArrowDown"})})]}):v.jsx(_i,{type:"Raw",className:dn.RightAddonIcon,style:{marginRight:4},icon:"Search",onClick:S,tooltip:u["Search(Button)"]})})},GN=r=>{var nr;const{pk:e,selectDisabled:t,selectUnused:n,useItems:i,useExpand:l,useSelect:u,useSearch:f,showCheckbox:g,iconWidth:m=24,icons:R={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:w,isSelectMulti:b=!1,noSearch:S=!1,isDraggable:_,noSyncSearchSelect:M=!1,actionRef:E,placeholder:x,searchPredicate:L=KN,isDisabled:O,isLoading:B,ContentRenderer:H=ZN,TreeItemRenderer:z=qN,RightStickyAddon:K,TopRightAddon:ue,TreeTopAddon:J,resources:fe,maxLength:j,autoFocus:te,TreeItemStyle:X,TreeItemClassName:re,OverflowPadding:de,insertBorder:ge,width:ye,searchItemClassName:ce,searchItemStyle:Ae,height:le=40,...se}=r,pe=A.useMemo(()=>({...hn.ATree,...fe}),[fe]),Ne=A.useCallback((rt,Tt)=>e!==void 0?Array.isArray(e)?e.every(yt=>nl.isEqual(rt[yt],Tt[yt])):nl.isEqual(rt[e],Tt[e]):nl.isEqual(rt,Tt),[e]),Ye=A.useRef(null),[we,De]=nn(i,[]),Fe=A.useMemo(()=>rl.map(we,rt=>rt),[we]),[ze,Ge]=nn(l,[]),[Me,Te]=nn(u,[]),[be,We]=nn(f,void 0),ht=A.useCallback(rt=>{if(O||!Ge||ze.some(Mt=>Ne(Mt,rt)))return;const Tt=[];let yt=rt;for(;yt;){const Mt=yt;ze.find(vr=>Ne(vr,Mt))||Tt.push(Mt),yt=Fe.find(vr=>{var Y;return(Y=vr.children)==null?void 0:Y.some(Ue=>Ne(Ue,Mt))})}Ge([...ze,...Tt])},[ze,O,Ne,Ge,Fe]),Ct=A.useCallback(()=>{!Ge||O||Ge([...Fe])},[Fe,O,Ge]),it=A.useCallback(()=>{!Ge||O||Ge([])},[Ge,O]),Ie=A.useCallback(rt=>{!Te||O||n!=null&&n(rt)||(Te([rt]),ht(rt))},[Te,O,n,ht]),Oe=A.useCallback(rt=>{if(!We||O)return;if(!rt||S){We(void 0),M||Te==null||Te([]);return}const Tt=rl.filter(we,Mt=>L(rt,Mt));let yt;if(Tt.find(Mt=>(be==null?void 0:be.item)&&Ne(Mt,be.item))?yt=be==null?void 0:be.item:Tt.length>0&&(yt=Tt[0]),We({keyword:rt,items:Tt,item:yt}),yt&&ht(yt),Te&&!M)if(b)Te(Tt);else{const Mt=Tt.find(vr=>yt&&Ne(vr,yt));Te(Mt?[Mt]:[])}},[we,O,Ne,L,We,Te,ht,M,S,b,be]),st=A.useRef(!1);A.useEffect(()=>{st.current=!0},[we]),A.useEffect(()=>{be&&st.current&&(Oe(be.keyword),st.current=!1)},[Oe,be]);const vt=A.useCallback(()=>{if(!be||!We||O)return;let rt=be.items.findIndex(Tt=>be.item&&Ne(Tt,be.item))-1;rt<0||(We({...be,item:be.items[rt]}),ht(be.items[rt]),M||Ie(be.items[rt]))},[be,ht,We,O,Ie,Ne,M]),wt=A.useCallback(()=>{if(!be||!We||O)return;let rt=be.items.findIndex(Tt=>be.item&&Ne(Tt,be.item))+1;rt>=be.items.length||(We({...be,item:be.items[rt]}),ht(be.items[rt]),M||Ie(be.items[rt]))},[be,ht,O,We,Ie,Ne,M]),Et=A.useCallback(()=>{if(!be||!We||O)return;let rt=be.items.findIndex(yt=>be.item&&Ne(yt,be.item));if(!M||n!=null&&n(be.items[rt])){wt();return}if(Me.some(yt=>be.item&&Ne(yt,be.item))){let yt=rt+1;const Mt=be.items[yt];if(yt>=be.items.length)return;We({...be,item:Mt}),Ie(Mt)}else Ie(be.items[rt])},[be,We,O,Me,M,wt,Ne,Ie,n]),[xt,It]=A.useState(!1),je=A.useCallback(()=>It(!0),[]),Qe=A.useCallback(()=>It(!1),[]),gt=A.useMemo(()=>n?rl.map(we,rt=>rt).filter(rt=>!n(rt)):t?rl.map(we,rt=>rt).filter(rt=>!t(rt)):rl.map(we,rt=>rt),[n,t,we]),Ft=A.useMemo(()=>!g||!b?!1:Me.length>0&>.length>Me.length,[g,b,Me,gt]),bt=A.useMemo(()=>!g||!b?!1:Me.length>0&>.length===Me.length,[g,b,Me,gt]),$e=A.useCallback(()=>{if(!Te||!b||O)return;const rt=Me.filter(Tt=>!(n!=null&&n(Tt))&&!(t!=null&&t(Tt))&>.some(yt=>Ne(yt,Tt)));if(rt.length>0)Te(Me.filter(Tt=>!rt.some(yt=>Ne(Tt,yt))));else{const Tt=gt.filter(yt=>!(n!=null&&n(yt))&&!(t!=null&&t(yt))&&!Me.some(Mt=>Ne(Mt,yt)));Tt.length>0&&Te([...Me,...Tt])}},[b,O,n,t,Te,Me,gt,Ne]),Lt=A.useMemo(()=>{if(!g||!b||O)return"";const rt=Me.filter(Tt=>!(n!=null&&n(Tt))&&!(t!=null&&t(Tt))&>.some(yt=>Ne(yt,Tt)));if(rt.length>0)return pe["deselect n"](rt.length);{const Tt=gt.filter(yt=>!(n!=null&&n(yt))&&!(t!=null&&t(yt))&&!Me.some(Mt=>Ne(Mt,yt)));return pe["select n"](Tt.length)}},[n,t,O,pe,g,b,gt,Me,Ne]),[Dt,pr]=A.useState(null),[xr,wr]=A.useState(null),me=A.useCallback(rt=>{!_||O||pr(rt)},[O,_]),ne=A.useCallback((rt,Tt)=>{if(!_||O||!Dt||(rt.preventDefault(),rt.stopPropagation(),wr(Tt),!De))return;const yt=rl.replace(we,Dt,Tt,Ne);yt&&De(yt)},[_,we,Dt,O,De,Ne]),et=A.useCallback(()=>{if(!_||O||!Dt||!xr||!De||Ne(Dt,xr))return;const rt=rl.replace(we,Dt,xr,Ne);rt&&(De(rt),pr(null))},[_,De,we,Dt,xr,Ne,O]);A.useEffect(()=>{var rt;g||(rt=Ye.current)==null||rt.scrollTo(0,0)},[g,Ye]),A.useEffect(()=>{!b&&Me.length>1&&(Te==null||Te([Me[Me.length-1]]))},[b,Te,Me]),A.useEffect(()=>{E&&(E.current={expandAll:Ct,collapseAll:it})},[E,Ct,it]),A.useEffect(()=>{if(!t||!Te)return;const rt=Me.filter(Tt=>!t(Tt));Me.length!==rt.length&&Te(rt)},[t,Me,Te]),A.useEffect(()=>{if(!n||!Te)return;const rt=Me.filter(Tt=>!n(Tt));Me.length!==rt.length&&Te(rt)},[n,Me,Te]),A.useEffect(()=>{We&&We(void 0)},[We]);const[ct,tt]=A.useState(!1);A.useEffect(()=>{tt(rt=>!rt)},[we]);const[Le,pt]=A.useState(null),kt=A.useCallback((rt,Tt)=>{O||(rt.stopPropagation(),rt.preventDefault(),pt(Tt))},[O]),_t=A.useCallback((rt,Tt)=>{Le===null||O||Ne(Tt,Le)&&(rt.stopPropagation(),rt.preventDefault(),pt(null))},[Le,O,Ne]),Bt=A.useRef(null),[Wt,rr]=A.useState(!1),[Ht,$t]=A.useState((nr=Bt.current)==null?void 0:nr.scrollHeight);return A.useEffect(()=>{if(ze.length<0)return;const rt=Ye.current,Tt=Bt.current,yt=rt.clientHeight<Tt.clientHeight;$t(yt?Tt.scrollHeight:rt.clientHeight),rr(yt)},[ze]),v.jsxs($r,{...se,isDisabled:O,className:Be.clsx(se.className,dn.AWrap),children:[(!S||ue)&&v.jsxs(Sn,{className:dn.ATreeHeader,children:[!S&&v.jsx(WN,{isEqual:Ne,searchResult:be,initSearch:Oe,searchUp:vt,searchDown:wt,searchEnter:Et,isLoading:B,isDisabled:O,resources:pe,maxLength:j,autoFocus:te}),!S&&ue&&v.jsx(mn,{w:8}),ue]}),(!S||ue||g&&b||_)&&v.jsx(ym,{isLoading:B&&we.length!==0}),(g&&b||_)&&v.jsxs("div",{className:Be.clsx(dn.ATreeBodyHeader,"NoSelect"),children:[g&&v.jsx(Zu,{className:dn.CheckBox,useCheck:[+bt,()=>$e()],isIndeterminate:Ft,onMouseOver:je,onMouseOut:Qe,isDisabled:O,tooltip:Lt}),pe.Items,v.jsx(Qc,{}),v.jsxs("div",{className:Be.clsx(dn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:Wt?8:0},children:[v.jsx("span",{children:g&&pe["*Click row for single select"]}),v.jsx("span",{children:_&&pe["*Change order to row drag"]})]})]}),v.jsx("div",{ref:Ye,className:Be.clsx(se.className,dn.AContainer),children:v.jsxs("div",{className:dn.ATree,style:{minWidth:ye||"fit-content",marginRight:de&&Wt?8:0},children:[v.jsxs("div",{ref:Bt,className:dn.ATreeBody,children:[we.length===0?B?v.jsx(YN,{text:pe["Loading Contents..."]}):x:J,we.map((rt,Tt)=>v.jsx(z,{isEqual:Ne,indents:[],extIndents:w,item:rt,selectDisabled:t,selectUnused:n,isParentDisabled:O,useExpand:[ze,Ge],useSelect:[Me,Te],useSearch:[be,We],onDragStart:me,onDragOver:ne,onDragEnd:et,showCheckbox:g,icons:R,iconWidth:m,isSelectMulti:b,isDraggable:_,isParentCheckHovered:b&&xt,ContentRenderer:H,TreeItemRenderer:z,RightStickyAddon:K,resources:pe,containerRef:Ye,TreeItemStyle:X,TreeItemClassName:re,hoverdItem:Le,onMouseOver:kt,onMouseLeave:_t,searchItemClassName:ce,searchItemStyle:Ae,height:le},`${Tt}${ct}`))]}),ge&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:dn.CoverBorder}),v.jsx("div",{className:dn.InsertBorder,style:{"--InsertBorder_height":`${le}px`,height:Wt?Ht:"100%"}})]})]})})]})},ZN=r=>{const{item:e}=r,t={};return er.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function KN(r,e){return er.some(e,(t,n)=>{var i;return(i=er.stringify(n))==null?void 0:i.toLowerCase().includes(r.toLowerCase())})}const YN=r=>{const{text:e}=r;return v.jsxs(Sn,{className:Be.clsx(dn.Loader,"NoSelect"),children:[v.jsx(jr,{icon:"Spinner",style:{height:40},height:40,width:40}),v.jsx(G2,{text:e})]})};var Kg,Jb;function nf(){return Jb||(Jb=1,Kg=TypeError),Kg}const XN={},JN=Object.freeze(Object.defineProperty({__proto__:null,default:XN},Symbol.toStringTag,{value:"Module"})),QN=i4(JN);var Yg,Qb;function wh(){if(Qb)return Yg;Qb=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,i=typeof Set=="function"&&Set.prototype,l=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=i&&l&&typeof l.get=="function"?l.get:null,f=i&&Set.prototype.forEach,g=typeof WeakMap=="function"&&WeakMap.prototype,m=g?WeakMap.prototype.has:null,R=typeof WeakSet=="function"&&WeakSet.prototype,w=R?WeakSet.prototype.has:null,b=typeof WeakRef=="function"&&WeakRef.prototype,S=b?WeakRef.prototype.deref:null,_=Boolean.prototype.valueOf,M=Object.prototype.toString,E=Function.prototype.toString,x=String.prototype.match,L=String.prototype.slice,O=String.prototype.replace,B=String.prototype.toUpperCase,H=String.prototype.toLowerCase,z=RegExp.prototype.test,K=Array.prototype.concat,ue=Array.prototype.join,J=Array.prototype.slice,fe=Math.floor,j=typeof BigInt=="function"?BigInt.prototype.valueOf:null,te=Object.getOwnPropertySymbols,X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,re=typeof Symbol=="function"&&typeof Symbol.iterator=="object",de=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===re||!0)?Symbol.toStringTag:null,ge=Object.prototype.propertyIsEnumerable,ye=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(me){return me.__proto__}:null);function ce(me,ne){if(me===1/0||me===-1/0||me!==me||me&&me>-1e3&&me<1e3||z.call(/e/,ne))return ne;var et=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof me=="number"){var ct=me<0?-fe(-me):fe(me);if(ct!==me){var tt=String(ct),Le=L.call(ne,tt.length+1);return O.call(tt,et,"$&_")+"."+O.call(O.call(Le,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(ne,et,"$&_")}var Ae=QN,le=Ae.custom,se=ht(le)?le:null,pe={__proto__:null,double:'"',single:"'"},Ne={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Yg=function me(ne,et,ct,tt){var Le=et||{};if(Ie(Le,"quoteStyle")&&!Ie(pe,Le.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ie(Le,"maxStringLength")&&(typeof Le.maxStringLength=="number"?Le.maxStringLength<0&&Le.maxStringLength!==1/0:Le.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var pt=Ie(Le,"customInspect")?Le.customInspect:!0;if(typeof pt!="boolean"&&pt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ie(Le,"indent")&&Le.indent!==null&&Le.indent!==" "&&!(parseInt(Le.indent,10)===Le.indent&&Le.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ie(Le,"numericSeparator")&&typeof Le.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var kt=Le.numericSeparator;if(typeof ne>"u")return"undefined";if(ne===null)return"null";if(typeof ne=="boolean")return ne?"true":"false";if(typeof ne=="string")return gt(ne,Le);if(typeof ne=="number"){if(ne===0)return 1/0/ne>0?"0":"-0";var _t=String(ne);return kt?ce(ne,_t):_t}if(typeof ne=="bigint"){var Bt=String(ne)+"n";return kt?ce(ne,Bt):Bt}var Wt=typeof Le.depth>"u"?5:Le.depth;if(typeof ct>"u"&&(ct=0),ct>=Wt&&Wt>0&&typeof ne=="object")return Fe(ne)?"[Array]":"[Object]";var rr=pr(Le,ct);if(typeof tt>"u")tt=[];else if(vt(tt,ne)>=0)return"[Circular]";function Ht(or,fr,Ur){if(fr&&(tt=J.call(tt),tt.push(fr)),Ur){var yr={depth:Le.depth};return Ie(Le,"quoteStyle")&&(yr.quoteStyle=Le.quoteStyle),me(or,yr,ct+1,tt)}return me(or,Le,ct+1,tt)}if(typeof ne=="function"&&!Ge(ne)){var $t=st(ne),nr=wr(ne,Ht);return"[Function"+($t?": "+$t:" (anonymous)")+"]"+(nr.length>0?" { "+ue.call(nr,", ")+" }":"")}if(ht(ne)){var rt=re?O.call(String(ne),/^(Symbol\(.*\))_[^)]*$/,"$1"):X.call(ne);return typeof ne=="object"&&!re?bt(rt):rt}if(Qe(ne)){for(var Tt="<"+H.call(String(ne.nodeName)),yt=ne.attributes||[],Mt=0;Mt<yt.length;Mt++)Tt+=" "+yt[Mt].name+"="+Ye(we(yt[Mt].value),"double",Le);return Tt+=">",ne.childNodes&&ne.childNodes.length&&(Tt+="..."),Tt+="</"+H.call(String(ne.nodeName))+">",Tt}if(Fe(ne)){if(ne.length===0)return"[]";var vr=wr(ne,Ht);return rr&&!Dt(vr)?"["+xr(vr,rr)+"]":"[ "+ue.call(vr,", ")+" ]"}if(Me(ne)){var Y=wr(ne,Ht);return!("cause"in Error.prototype)&&"cause"in ne&&!ge.call(ne,"cause")?"{ ["+String(ne)+"] "+ue.call(K.call("[cause]: "+Ht(ne.cause),Y),", ")+" }":Y.length===0?"["+String(ne)+"]":"{ ["+String(ne)+"] "+ue.call(Y,", ")+" }"}if(typeof ne=="object"&&pt){if(se&&typeof ne[se]=="function"&&Ae)return Ae(ne,{depth:Wt-ct});if(pt!=="symbol"&&typeof ne.inspect=="function")return ne.inspect()}if(wt(ne)){var Ue=[];return n&&n.call(ne,function(or,fr){Ue.push(Ht(fr,ne,!0)+" => "+Ht(or,ne))}),Lt("Map",t.call(ne),Ue,rr)}if(It(ne)){var ke=[];return f&&f.call(ne,function(or){ke.push(Ht(or,ne))}),Lt("Set",u.call(ne),ke,rr)}if(Et(ne))return $e("WeakMap");if(je(ne))return $e("WeakSet");if(xt(ne))return $e("WeakRef");if(be(ne))return bt(Ht(Number(ne)));if(Ct(ne))return bt(Ht(j.call(ne)));if(We(ne))return bt(_.call(ne));if(Te(ne))return bt(Ht(String(ne)));if(typeof window<"u"&&ne===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ne===globalThis||typeof bi<"u"&&ne===bi)return"{ [object globalThis] }";if(!ze(ne)&&!Ge(ne)){var Ze=wr(ne,Ht),St=ye?ye(ne)===Object.prototype:ne instanceof Object||ne.constructor===Object,jt=ne instanceof Object?"":"null prototype",At=!St&&de&&Object(ne)===ne&&de in ne?L.call(Oe(ne),8,-1):jt?"Object":"",qt=St||typeof ne.constructor!="function"?"":ne.constructor.name?ne.constructor.name+" ":"",ir=qt+(At||jt?"["+ue.call(K.call([],At||[],jt||[]),": ")+"] ":"");return Ze.length===0?ir+"{}":rr?ir+"{"+xr(Ze,rr)+"}":ir+"{ "+ue.call(Ze,", ")+" }"}return String(ne)};function Ye(me,ne,et){var ct=et.quoteStyle||ne,tt=pe[ct];return tt+me+tt}function we(me){return O.call(String(me),/"/g,""")}function De(me){return!de||!(typeof me=="object"&&(de in me||typeof me[de]<"u"))}function Fe(me){return Oe(me)==="[object Array]"&&De(me)}function ze(me){return Oe(me)==="[object Date]"&&De(me)}function Ge(me){return Oe(me)==="[object RegExp]"&&De(me)}function Me(me){return Oe(me)==="[object Error]"&&De(me)}function Te(me){return Oe(me)==="[object String]"&&De(me)}function be(me){return Oe(me)==="[object Number]"&&De(me)}function We(me){return Oe(me)==="[object Boolean]"&&De(me)}function ht(me){if(re)return me&&typeof me=="object"&&me instanceof Symbol;if(typeof me=="symbol")return!0;if(!me||typeof me!="object"||!X)return!1;try{return X.call(me),!0}catch{}return!1}function Ct(me){if(!me||typeof me!="object"||!j)return!1;try{return j.call(me),!0}catch{}return!1}var it=Object.prototype.hasOwnProperty||function(me){return me in this};function Ie(me,ne){return it.call(me,ne)}function Oe(me){return M.call(me)}function st(me){if(me.name)return me.name;var ne=x.call(E.call(me),/^function\s*([\w$]+)/);return ne?ne[1]:null}function vt(me,ne){if(me.indexOf)return me.indexOf(ne);for(var et=0,ct=me.length;et<ct;et++)if(me[et]===ne)return et;return-1}function wt(me){if(!t||!me||typeof me!="object")return!1;try{t.call(me);try{u.call(me)}catch{return!0}return me instanceof Map}catch{}return!1}function Et(me){if(!m||!me||typeof me!="object")return!1;try{m.call(me,m);try{w.call(me,w)}catch{return!0}return me instanceof WeakMap}catch{}return!1}function xt(me){if(!S||!me||typeof me!="object")return!1;try{return S.call(me),!0}catch{}return!1}function It(me){if(!u||!me||typeof me!="object")return!1;try{u.call(me);try{t.call(me)}catch{return!0}return me instanceof Set}catch{}return!1}function je(me){if(!w||!me||typeof me!="object")return!1;try{w.call(me,w);try{m.call(me,m)}catch{return!0}return me instanceof WeakSet}catch{}return!1}function Qe(me){return!me||typeof me!="object"?!1:typeof HTMLElement<"u"&&me instanceof HTMLElement?!0:typeof me.nodeName=="string"&&typeof me.getAttribute=="function"}function gt(me,ne){if(me.length>ne.maxStringLength){var et=me.length-ne.maxStringLength,ct="... "+et+" more character"+(et>1?"s":"");return gt(L.call(me,0,ne.maxStringLength),ne)+ct}var tt=Ne[ne.quoteStyle||"single"];tt.lastIndex=0;var Le=O.call(O.call(me,tt,"\\$1"),/[\x00-\x1f]/g,Ft);return Ye(Le,"single",ne)}function Ft(me){var ne=me.charCodeAt(0),et={8:"b",9:"t",10:"n",12:"f",13:"r"}[ne];return et?"\\"+et:"\\x"+(ne<16?"0":"")+B.call(ne.toString(16))}function bt(me){return"Object("+me+")"}function $e(me){return me+" { ? }"}function Lt(me,ne,et,ct){var tt=ct?xr(et,ct):ue.call(et,", ");return me+" ("+ne+") {"+tt+"}"}function Dt(me){for(var ne=0;ne<me.length;ne++)if(vt(me[ne],`
|
356
|
-
`)>=0)return!1;return!0}function pr(
|
357
|
-
`+ne.prev+ne.base;return et+ue.call(
|
358
|
-
`+ne.prev}function wr(me,ne){var et=Fe(me),ct=[];if(et){ct.length=me.length;for(var tt=0;tt<me.length;tt++)ct[tt]=Ie(me,tt)?ne(me[tt],me):""}var Le=typeof te=="function"?te(me):[],pt;if(re){pt={};for(var kt=0;kt<Le.length;kt++)pt["$"+Le[kt]]=Le[kt]}for(var _t in me)Ie(me,_t)&&(et&&String(Number(_t))===_t&&_t<me.length||re&&pt["$"+_t]instanceof Symbol||(z.call(/[^\w$]/,_t)?ct.push(ne(_t,me)+": "+ne(me[_t],me)):ct.push(_t+": "+ne(me[_t],me))));if(typeof te=="function")for(var Bt=0;Bt<Le.length;Bt++)ge.call(me,Le[Bt])&&ct.push("["+ne(Le[Bt])+"]: "+ne(me[Le[Bt]],me));return ct}return Yg}var Xg,e_;function eF(){if(e_)return Xg;e_=1;var r=wh(),e=nf(),t=function(f,g,m){for(var R=f,w;(w=R.next)!=null;R=w)if(w.key===g)return R.next=w.next,m||(w.next=f.next,f.next=w),w},n=function(f,g){if(f){var m=t(f,g);return m&&m.value}},i=function(f,g,m){var R=t(f,g);R?R.value=m:f.next={key:g,next:f.next,value:m}},l=function(f,g){return f?!!t(f,g):!1},u=function(f,g){if(f)return t(f,g,!0)};return Xg=function(){var g,m={assert:function(R){if(!m.has(R))throw new e("Side channel does not contain "+r(R))},delete:function(R){var w=g&&g.next,b=u(g,R);return b&&w&&w===b&&(g=void 0),!!b},get:function(R){return n(g,R)},has:function(R){return l(g,R)},set:function(R,w){g||(g={next:void 0}),i(g,R,w)}};return m},Xg}var Jg,t_;function gS(){return t_||(t_=1,Jg=Object),Jg}var Qg,r_;function tF(){return r_||(r_=1,Qg=Error),Qg}var e1,n_;function rF(){return n_||(n_=1,e1=EvalError),e1}var t1,i_;function nF(){return i_||(i_=1,t1=RangeError),t1}var r1,o_;function iF(){return o_||(o_=1,r1=ReferenceError),r1}var n1,s_;function oF(){return s_||(s_=1,n1=SyntaxError),n1}var i1,a_;function sF(){return a_||(a_=1,i1=URIError),i1}var o1,l_;function aF(){return l_||(l_=1,o1=Math.abs),o1}var s1,c_;function lF(){return c_||(c_=1,s1=Math.floor),s1}var a1,u_;function cF(){return u_||(u_=1,a1=Math.max),a1}var l1,f_;function uF(){return f_||(f_=1,l1=Math.min),l1}var c1,d_;function fF(){return d_||(d_=1,c1=Math.pow),c1}var u1,h_;function dF(){return h_||(h_=1,u1=Math.round),u1}var f1,p_;function hF(){return p_||(p_=1,f1=Number.isNaN||function(e){return e!==e}),f1}var d1,g_;function pF(){if(g_)return d1;g_=1;var r=hF();return d1=function(t){return r(t)||t===0?t:t<0?-1:1},d1}var h1,m_;function gF(){return m_||(m_=1,h1=Object.getOwnPropertyDescriptor),h1}var p1,v_;function mS(){if(v_)return p1;v_=1;var r=gF();if(r)try{r([],"length")}catch{r=null}return p1=r,p1}var g1,y_;function mF(){if(y_)return g1;y_=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return g1=r,g1}var m1,b_;function vF(){return b_||(b_=1,m1=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 i=42;e[t]=i;for(var l 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 u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,t);if(f.value!==i||f.enumerable!==!0)return!1}return!0}),m1}var v1,__;function yF(){if(__)return v1;__=1;var r=typeof Symbol<"u"&&Symbol,e=vF();return v1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},v1}var y1,x_;function vS(){return x_||(x_=1,y1=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),y1}var b1,S_;function yS(){if(S_)return b1;S_=1;var r=gS();return b1=r.getPrototypeOf||null,b1}var _1,C_;function bF(){if(C_)return _1;C_=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(g,m){for(var R=[],w=0;w<g.length;w+=1)R[w]=g[w];for(var b=0;b<m.length;b+=1)R[b+g.length]=m[b];return R},l=function(g,m){for(var R=[],w=m,b=0;w<g.length;w+=1,b+=1)R[b]=g[w];return R},u=function(f,g){for(var m="",R=0;R<f.length;R+=1)m+=f[R],R+1<f.length&&(m+=g);return m};return _1=function(g){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var R=l(arguments,1),w,b=function(){if(this instanceof w){var x=m.apply(this,i(R,arguments));return Object(x)===x?x:this}return m.apply(g,i(R,arguments))},S=t(0,m.length-R.length),_=[],M=0;M<S;M++)_[M]="$"+M;if(w=Function("binder","return function ("+u(_,",")+"){ return binder.apply(this,arguments); }")(b),m.prototype){var E=function(){};E.prototype=m.prototype,w.prototype=new E,E.prototype=null}return w},_1}var x1,w_;function Ah(){if(w_)return x1;w_=1;var r=bF();return x1=Function.prototype.bind||r,x1}var S1,A_;function Um(){return A_||(A_=1,S1=Function.prototype.call),S1}var C1,T_;function bS(){return T_||(T_=1,C1=Function.prototype.apply),C1}var w1,E_;function _F(){return E_||(E_=1,w1=typeof Reflect<"u"&&Reflect&&Reflect.apply),w1}var A1,k_;function xF(){if(k_)return A1;k_=1;var r=Ah(),e=bS(),t=Um(),n=_F();return A1=n||r.call(t,e),A1}var T1,R_;function _S(){if(R_)return T1;R_=1;var r=Ah(),e=nf(),t=Um(),n=xF();return T1=function(l){if(l.length<1||typeof l[0]!="function")throw new e("a function is required");return n(r,t,l)},T1}var E1,I_;function SF(){if(I_)return E1;I_=1;var r=_S(),e=mS(),t;try{t=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var n=!!t&&e&&e(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;return E1=n&&typeof n.get=="function"?r([n.get]):typeof l=="function"?function(f){return l(f==null?f:i(f))}:!1,E1}var k1,L_;function CF(){if(L_)return k1;L_=1;var r=vS(),e=yS(),t=SF();return k1=r?function(i){return r(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:t?function(i){return t(i)}:null,k1}var R1,M_;function wF(){if(M_)return R1;M_=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Ah();return R1=t.call(r,e),R1}var I1,D_;function Wm(){if(D_)return I1;D_=1;var r,e=gS(),t=tF(),n=rF(),i=nF(),l=iF(),u=oF(),f=nf(),g=sF(),m=aF(),R=lF(),w=cF(),b=uF(),S=fF(),_=dF(),M=pF(),E=Function,x=function(Ge){try{return E('"use strict"; return ('+Ge+").constructor;")()}catch{}},L=mS(),O=mF(),B=function(){throw new f},H=L?function(){try{return arguments.callee,B}catch{try{return L(arguments,"callee").get}catch{return B}}}():B,z=yF()(),K=CF(),ue=yS(),J=vS(),fe=bS(),j=Um(),te={},X=typeof Uint8Array>"u"||!K?r:K(Uint8Array),re={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":z&&K?K([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":te,"%AsyncGenerator%":te,"%AsyncGeneratorFunction%":te,"%AsyncIteratorPrototype%":te,"%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%":E,"%GeneratorFunction%":te,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":z&&K?K(K([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!z||!K?r:K(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":L,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!z||!K?r:K(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z&&K?K(""[Symbol.iterator]()):r,"%Symbol%":z?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":H,"%TypedArray%":X,"%TypeError%":f,"%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%":g,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":fe,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":ue,"%Math.abs%":m,"%Math.floor%":R,"%Math.max%":w,"%Math.min%":b,"%Math.pow%":S,"%Math.round%":_,"%Math.sign%":M,"%Reflect.getPrototypeOf%":J};if(K)try{null.error}catch(Ge){var de=K(K(Ge));re["%Error.prototype%"]=de}var ge=function Ge(Me){var Te;if(Me==="%AsyncFunction%")Te=x("async function () {}");else if(Me==="%GeneratorFunction%")Te=x("function* () {}");else if(Me==="%AsyncGeneratorFunction%")Te=x("async function* () {}");else if(Me==="%AsyncGenerator%"){var be=Ge("%AsyncGeneratorFunction%");be&&(Te=be.prototype)}else if(Me==="%AsyncIteratorPrototype%"){var We=Ge("%AsyncGenerator%");We&&K&&(Te=K(We.prototype))}return re[Me]=Te,Te},ye={__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"]},ce=Ah(),Ae=wF(),le=ce.call(j,Array.prototype.concat),se=ce.call(fe,Array.prototype.splice),pe=ce.call(j,String.prototype.replace),Ne=ce.call(j,String.prototype.slice),Ye=ce.call(j,RegExp.prototype.exec),we=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,De=/\\(\\)?/g,Fe=function(Me){var Te=Ne(Me,0,1),be=Ne(Me,-1);if(Te==="%"&&be!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(be==="%"&&Te!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var We=[];return pe(Me,we,function(ht,Ct,it,Ie){We[We.length]=it?pe(Ie,De,"$1"):Ct||ht}),We},ze=function(Me,Te){var be=Me,We;if(Ae(ye,be)&&(We=ye[be],be="%"+We[0]+"%"),Ae(re,be)){var ht=re[be];if(ht===te&&(ht=ge(be)),typeof ht>"u"&&!Te)throw new f("intrinsic "+Me+" exists, but is not available. Please file an issue!");return{alias:We,name:be,value:ht}}throw new u("intrinsic "+Me+" does not exist!")};return I1=function(Me,Te){if(typeof Me!="string"||Me.length===0)throw new f("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Te!="boolean")throw new f('"allowMissing" argument must be a boolean');if(Ye(/^%?[^%]*%?$/,Me)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var be=Fe(Me),We=be.length>0?be[0]:"",ht=ze("%"+We+"%",Te),Ct=ht.name,it=ht.value,Ie=!1,Oe=ht.alias;Oe&&(We=Oe[0],se(be,le([0,1],Oe)));for(var st=1,vt=!0;st<be.length;st+=1){var wt=be[st],Et=Ne(wt,0,1),xt=Ne(wt,-1);if((Et==='"'||Et==="'"||Et==="`"||xt==='"'||xt==="'"||xt==="`")&&Et!==xt)throw new u("property names with quotes must have matching quotes");if((wt==="constructor"||!vt)&&(Ie=!0),We+="."+wt,Ct="%"+We+"%",Ae(re,Ct))it=re[Ct];else if(it!=null){if(!(wt in it)){if(!Te)throw new f("base intrinsic for "+Me+" exists, but the property is not available.");return}if(L&&st+1>=be.length){var It=L(it,wt);vt=!!It,vt&&"get"in It&&!("originalValue"in It.get)?it=It.get:it=it[wt]}else vt=Ae(it,wt),it=it[wt];vt&&!Ie&&(re[Ct]=it)}}return it},I1}var L1,O_;function xS(){if(O_)return L1;O_=1;var r=Wm(),e=_S(),t=e([r("%String.prototype.indexOf%")]);return L1=function(i,l){var u=r(i,!!l);return typeof u=="function"&&t(i,".prototype.")>-1?e([u]):u},L1}var M1,P_;function SS(){if(P_)return M1;P_=1;var r=Wm(),e=xS(),t=wh(),n=nf(),i=r("%Map%",!0),l=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),f=e("Map.prototype.has",!0),g=e("Map.prototype.delete",!0),m=e("Map.prototype.size",!0);return M1=!!i&&function(){var w,b={assert:function(S){if(!b.has(S))throw new n("Side channel does not contain "+t(S))},delete:function(S){if(w){var _=g(w,S);return m(w)===0&&(w=void 0),_}return!1},get:function(S){if(w)return l(w,S)},has:function(S){return w?f(w,S):!1},set:function(S,_){w||(w=new i),u(w,S,_)}};return b},M1}var D1,N_;function AF(){if(N_)return D1;N_=1;var r=Wm(),e=xS(),t=wh(),n=SS(),i=nf(),l=r("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),f=e("WeakMap.prototype.set",!0),g=e("WeakMap.prototype.has",!0),m=e("WeakMap.prototype.delete",!0);return D1=l?function(){var w,b,S={assert:function(_){if(!S.has(_))throw new i("Side channel does not contain "+t(_))},delete:function(_){if(l&&_&&(typeof _=="object"||typeof _=="function")){if(w)return m(w,_)}else if(n&&b)return b.delete(_);return!1},get:function(_){return l&&_&&(typeof _=="object"||typeof _=="function")&&w?u(w,_):b&&b.get(_)},has:function(_){return l&&_&&(typeof _=="object"||typeof _=="function")&&w?g(w,_):!!b&&b.has(_)},set:function(_,M){l&&_&&(typeof _=="object"||typeof _=="function")?(w||(w=new l),f(w,_,M)):n&&(b||(b=n()),b.set(_,M))}};return S}:n,D1}var O1,F_;function TF(){if(F_)return O1;F_=1;var r=nf(),e=wh(),t=eF(),n=SS(),i=AF(),l=i||n||t;return O1=function(){var f,g={assert:function(m){if(!g.has(m))throw new r("Side channel does not contain "+e(m))},delete:function(m){return!!f&&f.delete(m)},get:function(m){return f&&f.get(m)},has:function(m){return!!f&&f.has(m)},set:function(m,R){f||(f=l()),f.set(m,R)}};return g},O1}var P1,j_;function Vm(){if(j_)return P1;j_=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return P1={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},P1}var N1,B_;function CS(){if(B_)return N1;B_=1;var r=Vm(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var E=[],x=0;x<256;++x)E.push("%"+((x<16?"0":"")+x.toString(16)).toUpperCase());return E}(),i=function(x){for(;x.length>1;){var L=x.pop(),O=L.obj[L.prop];if(t(O)){for(var B=[],H=0;H<O.length;++H)typeof O[H]<"u"&&B.push(O[H]);L.obj[L.prop]=B}}},l=function(x,L){for(var O=L&&L.plainObjects?{__proto__:null}:{},B=0;B<x.length;++B)typeof x[B]<"u"&&(O[B]=x[B]);return O},u=function E(x,L,O){if(!L)return x;if(typeof L!="object"&&typeof L!="function"){if(t(x))x.push(L);else if(x&&typeof x=="object")(O&&(O.plainObjects||O.allowPrototypes)||!e.call(Object.prototype,L))&&(x[L]=!0);else return[x,L];return x}if(!x||typeof x!="object")return[x].concat(L);var B=x;return t(x)&&!t(L)&&(B=l(x,O)),t(x)&&t(L)?(L.forEach(function(H,z){if(e.call(x,z)){var K=x[z];K&&typeof K=="object"&&H&&typeof H=="object"?x[z]=E(K,H,O):x.push(H)}else x[z]=H}),x):Object.keys(L).reduce(function(H,z){var K=L[z];return e.call(H,z)?H[z]=E(H[z],K,O):H[z]=K,H},B)},f=function(x,L){return Object.keys(L).reduce(function(O,B){return O[B]=L[B],O},x)},g=function(E,x,L){var O=E.replace(/\+/g," ");if(L==="iso-8859-1")return O.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(O)}catch{return O}},m=1024,R=function(x,L,O,B,H){if(x.length===0)return x;var z=x;if(typeof x=="symbol"?z=Symbol.prototype.toString.call(x):typeof x!="string"&&(z=String(x)),O==="iso-8859-1")return escape(z).replace(/%u[0-9a-f]{4}/gi,function(X){return"%26%23"+parseInt(X.slice(2),16)+"%3B"});for(var K="",ue=0;ue<z.length;ue+=m){for(var J=z.length>=m?z.slice(ue,ue+m):z,fe=[],j=0;j<J.length;++j){var te=J.charCodeAt(j);if(te===45||te===46||te===95||te===126||te>=48&&te<=57||te>=65&&te<=90||te>=97&&te<=122||H===r.RFC1738&&(te===40||te===41)){fe[fe.length]=J.charAt(j);continue}if(te<128){fe[fe.length]=n[te];continue}if(te<2048){fe[fe.length]=n[192|te>>6]+n[128|te&63];continue}if(te<55296||te>=57344){fe[fe.length]=n[224|te>>12]+n[128|te>>6&63]+n[128|te&63];continue}j+=1,te=65536+((te&1023)<<10|J.charCodeAt(j)&1023),fe[fe.length]=n[240|te>>18]+n[128|te>>12&63]+n[128|te>>6&63]+n[128|te&63]}K+=fe.join("")}return K},w=function(x){for(var L=[{obj:{o:x},prop:"o"}],O=[],B=0;B<L.length;++B)for(var H=L[B],z=H.obj[H.prop],K=Object.keys(z),ue=0;ue<K.length;++ue){var J=K[ue],fe=z[J];typeof fe=="object"&&fe!==null&&O.indexOf(fe)===-1&&(L.push({obj:z,prop:J}),O.push(fe))}return i(L),x},b=function(x){return Object.prototype.toString.call(x)==="[object RegExp]"},S=function(x){return!x||typeof x!="object"?!1:!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))},_=function(x,L){return[].concat(x,L)},M=function(x,L){if(t(x)){for(var O=[],B=0;B<x.length;B+=1)O.push(L(x[B]));return O}return L(x)};return N1={arrayToObject:l,assign:f,combine:_,compact:w,decode:g,encode:R,isBuffer:S,isRegExp:b,maybeMap:M,merge:u},N1}var F1,H_;function EF(){if(H_)return F1;H_=1;var r=TF(),e=CS(),t=Vm(),n=Object.prototype.hasOwnProperty,i={brackets:function(E){return E+"[]"},comma:"comma",indices:function(E,x){return E+"["+x+"]"},repeat:function(E){return E}},l=Array.isArray,u=Array.prototype.push,f=function(M,E){u.apply(M,l(E)?E:[E])},g=Date.prototype.toISOString,m=t.default,R={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:m,formatter:t.formatters[m],indices:!1,serializeDate:function(E){return g.call(E)},skipNulls:!1,strictNullHandling:!1},w=function(E){return typeof E=="string"||typeof E=="number"||typeof E=="boolean"||typeof E=="symbol"||typeof E=="bigint"},b={},S=function M(E,x,L,O,B,H,z,K,ue,J,fe,j,te,X,re,de,ge,ye){for(var ce=E,Ae=ye,le=0,se=!1;(Ae=Ae.get(b))!==void 0&&!se;){var pe=Ae.get(E);if(le+=1,typeof pe<"u"){if(pe===le)throw new RangeError("Cyclic object value");se=!0}typeof Ae.get(b)>"u"&&(le=0)}if(typeof J=="function"?ce=J(x,ce):ce instanceof Date?ce=te(ce):L==="comma"&&l(ce)&&(ce=e.maybeMap(ce,function(Ct){return Ct instanceof Date?te(Ct):Ct})),ce===null){if(H)return ue&&!de?ue(x,R.encoder,ge,"key",X):x;ce=""}if(w(ce)||e.isBuffer(ce)){if(ue){var Ne=de?x:ue(x,R.encoder,ge,"key",X);return[re(Ne)+"="+re(ue(ce,R.encoder,ge,"value",X))]}return[re(x)+"="+re(String(ce))]}var Ye=[];if(typeof ce>"u")return Ye;var we;if(L==="comma"&&l(ce))de&&ue&&(ce=e.maybeMap(ce,ue)),we=[{value:ce.length>0?ce.join(",")||null:void 0}];else if(l(J))we=J;else{var De=Object.keys(ce);we=fe?De.sort(fe):De}var Fe=K?String(x).replace(/\./g,"%2E"):String(x),ze=O&&l(ce)&&ce.length===1?Fe+"[]":Fe;if(B&&l(ce)&&ce.length===0)return ze+"[]";for(var Ge=0;Ge<we.length;++Ge){var Me=we[Ge],Te=typeof Me=="object"&&Me&&typeof Me.value<"u"?Me.value:ce[Me];if(!(z&&Te===null)){var be=j&&K?String(Me).replace(/\./g,"%2E"):String(Me),We=l(ce)?typeof L=="function"?L(ze,be):ze:ze+(j?"."+be:"["+be+"]");ye.set(E,le);var ht=r();ht.set(b,ye),f(Ye,M(Te,We,L,O,B,H,z,K,L==="comma"&&de&&l(ce)?null:ue,J,fe,j,te,X,re,de,ge,ht))}}return Ye},_=function(E){if(!E)return R;if(typeof E.allowEmptyArrays<"u"&&typeof E.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof E.encodeDotInKeys<"u"&&typeof E.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(E.encoder!==null&&typeof E.encoder<"u"&&typeof E.encoder!="function")throw new TypeError("Encoder has to be a function.");var x=E.charset||R.charset;if(typeof E.charset<"u"&&E.charset!=="utf-8"&&E.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var L=t.default;if(typeof E.format<"u"){if(!n.call(t.formatters,E.format))throw new TypeError("Unknown format option provided.");L=E.format}var O=t.formatters[L],B=R.filter;(typeof E.filter=="function"||l(E.filter))&&(B=E.filter);var H;if(E.arrayFormat in i?H=E.arrayFormat:"indices"in E?H=E.indices?"indices":"repeat":H=R.arrayFormat,"commaRoundTrip"in E&&typeof E.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var z=typeof E.allowDots>"u"?E.encodeDotInKeys===!0?!0:R.allowDots:!!E.allowDots;return{addQueryPrefix:typeof E.addQueryPrefix=="boolean"?E.addQueryPrefix:R.addQueryPrefix,allowDots:z,allowEmptyArrays:typeof E.allowEmptyArrays=="boolean"?!!E.allowEmptyArrays:R.allowEmptyArrays,arrayFormat:H,charset:x,charsetSentinel:typeof E.charsetSentinel=="boolean"?E.charsetSentinel:R.charsetSentinel,commaRoundTrip:!!E.commaRoundTrip,delimiter:typeof E.delimiter>"u"?R.delimiter:E.delimiter,encode:typeof E.encode=="boolean"?E.encode:R.encode,encodeDotInKeys:typeof E.encodeDotInKeys=="boolean"?E.encodeDotInKeys:R.encodeDotInKeys,encoder:typeof E.encoder=="function"?E.encoder:R.encoder,encodeValuesOnly:typeof E.encodeValuesOnly=="boolean"?E.encodeValuesOnly:R.encodeValuesOnly,filter:B,format:L,formatter:O,serializeDate:typeof E.serializeDate=="function"?E.serializeDate:R.serializeDate,skipNulls:typeof E.skipNulls=="boolean"?E.skipNulls:R.skipNulls,sort:typeof E.sort=="function"?E.sort:null,strictNullHandling:typeof E.strictNullHandling=="boolean"?E.strictNullHandling:R.strictNullHandling}};return F1=function(M,E){var x=M,L=_(E),O,B;typeof L.filter=="function"?(B=L.filter,x=B("",x)):l(L.filter)&&(B=L.filter,O=B);var H=[];if(typeof x!="object"||x===null)return"";var z=i[L.arrayFormat],K=z==="comma"&&L.commaRoundTrip;O||(O=Object.keys(x)),L.sort&&O.sort(L.sort);for(var ue=r(),J=0;J<O.length;++J){var fe=O[J],j=x[fe];L.skipNulls&&j===null||f(H,S(j,fe,z,K,L.allowEmptyArrays,L.strictNullHandling,L.skipNulls,L.encodeDotInKeys,L.encode?L.encoder:null,L.filter,L.sort,L.allowDots,L.serializeDate,L.format,L.formatter,L.encodeValuesOnly,L.charset,ue))}var te=H.join(L.delimiter),X=L.addQueryPrefix===!0?"?":"";return L.charsetSentinel&&(L.charset==="iso-8859-1"?X+="utf8=%26%2310003%3B&":X+="utf8=%E2%9C%93&"),te.length>0?X+te:""},F1}var j1,q_;function kF(){if(q_)return j1;q_=1;var r=CS(),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},i=function(b){return b.replace(/&#(\d+);/g,function(S,_){return String.fromCharCode(parseInt(_,10))})},l=function(b,S,_){if(b&&typeof b=="string"&&S.comma&&b.indexOf(",")>-1)return b.split(",");if(S.throwOnLimitExceeded&&_>=S.arrayLimit)throw new RangeError("Array limit exceeded. Only "+S.arrayLimit+" element"+(S.arrayLimit===1?"":"s")+" allowed in an array.");return b},u="utf8=%26%2310003%3B",f="utf8=%E2%9C%93",g=function(S,_){var M={__proto__:null},E=_.ignoreQueryPrefix?S.replace(/^\?/,""):S;E=E.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var x=_.parameterLimit===1/0?void 0:_.parameterLimit,L=E.split(_.delimiter,_.throwOnLimitExceeded?x+1:x);if(_.throwOnLimitExceeded&&L.length>x)throw new RangeError("Parameter limit exceeded. Only "+x+" parameter"+(x===1?"":"s")+" allowed.");var O=-1,B,H=_.charset;if(_.charsetSentinel)for(B=0;B<L.length;++B)L[B].indexOf("utf8=")===0&&(L[B]===f?H="utf-8":L[B]===u&&(H="iso-8859-1"),O=B,B=L.length);for(B=0;B<L.length;++B)if(B!==O){var z=L[B],K=z.indexOf("]="),ue=K===-1?z.indexOf("="):K+1,J,fe;ue===-1?(J=_.decoder(z,n.decoder,H,"key"),fe=_.strictNullHandling?null:""):(J=_.decoder(z.slice(0,ue),n.decoder,H,"key"),fe=r.maybeMap(l(z.slice(ue+1),_,t(M[J])?M[J].length:0),function(te){return _.decoder(te,n.decoder,H,"value")})),fe&&_.interpretNumericEntities&&H==="iso-8859-1"&&(fe=i(String(fe))),z.indexOf("[]=")>-1&&(fe=t(fe)?[fe]:fe);var j=e.call(M,J);j&&_.duplicates==="combine"?M[J]=r.combine(M[J],fe):(!j||_.duplicates==="last")&&(M[J]=fe)}return M},m=function(b,S,_,M){var E=0;if(b.length>0&&b[b.length-1]==="[]"){var x=b.slice(0,-1).join("");E=Array.isArray(S)&&S[x]?S[x].length:0}for(var L=M?S:l(S,_,E),O=b.length-1;O>=0;--O){var B,H=b[O];if(H==="[]"&&_.parseArrays)B=_.allowEmptyArrays&&(L===""||_.strictNullHandling&&L===null)?[]:r.combine([],L);else{B=_.plainObjects?{__proto__:null}:{};var z=H.charAt(0)==="["&&H.charAt(H.length-1)==="]"?H.slice(1,-1):H,K=_.decodeDotInKeys?z.replace(/%2E/g,"."):z,ue=parseInt(K,10);!_.parseArrays&&K===""?B={0:L}:!isNaN(ue)&&H!==K&&String(ue)===K&&ue>=0&&_.parseArrays&&ue<=_.arrayLimit?(B=[],B[ue]=L):K!=="__proto__"&&(B[K]=L)}L=B}return L},R=function(S,_,M,E){if(S){var x=M.allowDots?S.replace(/\.([^.[]+)/g,"[$1]"):S,L=/(\[[^[\]]*])/,O=/(\[[^[\]]*])/g,B=M.depth>0&&L.exec(x),H=B?x.slice(0,B.index):x,z=[];if(H){if(!M.plainObjects&&e.call(Object.prototype,H)&&!M.allowPrototypes)return;z.push(H)}for(var K=0;M.depth>0&&(B=O.exec(x))!==null&&K<M.depth;){if(K+=1,!M.plainObjects&&e.call(Object.prototype,B[1].slice(1,-1))&&!M.allowPrototypes)return;z.push(B[1])}if(B){if(M.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+M.depth+" and strictDepth is true");z.push("["+x.slice(B.index)+"]")}return m(z,_,M,E)}},w=function(S){if(!S)return n;if(typeof S.allowEmptyArrays<"u"&&typeof S.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof S.decodeDotInKeys<"u"&&typeof S.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(S.decoder!==null&&typeof S.decoder<"u"&&typeof S.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof S.charset<"u"&&S.charset!=="utf-8"&&S.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof S.throwOnLimitExceeded<"u"&&typeof S.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var _=typeof S.charset>"u"?n.charset:S.charset,M=typeof S.duplicates>"u"?n.duplicates:S.duplicates;if(M!=="combine"&&M!=="first"&&M!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var E=typeof S.allowDots>"u"?S.decodeDotInKeys===!0?!0:n.allowDots:!!S.allowDots;return{allowDots:E,allowEmptyArrays:typeof S.allowEmptyArrays=="boolean"?!!S.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof S.allowPrototypes=="boolean"?S.allowPrototypes:n.allowPrototypes,allowSparse:typeof S.allowSparse=="boolean"?S.allowSparse:n.allowSparse,arrayLimit:typeof S.arrayLimit=="number"?S.arrayLimit:n.arrayLimit,charset:_,charsetSentinel:typeof S.charsetSentinel=="boolean"?S.charsetSentinel:n.charsetSentinel,comma:typeof S.comma=="boolean"?S.comma:n.comma,decodeDotInKeys:typeof S.decodeDotInKeys=="boolean"?S.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof S.decoder=="function"?S.decoder:n.decoder,delimiter:typeof S.delimiter=="string"||r.isRegExp(S.delimiter)?S.delimiter:n.delimiter,depth:typeof S.depth=="number"||S.depth===!1?+S.depth:n.depth,duplicates:M,ignoreQueryPrefix:S.ignoreQueryPrefix===!0,interpretNumericEntities:typeof S.interpretNumericEntities=="boolean"?S.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof S.parameterLimit=="number"?S.parameterLimit:n.parameterLimit,parseArrays:S.parseArrays!==!1,plainObjects:typeof S.plainObjects=="boolean"?S.plainObjects:n.plainObjects,strictDepth:typeof S.strictDepth=="boolean"?!!S.strictDepth:n.strictDepth,strictNullHandling:typeof S.strictNullHandling=="boolean"?S.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof S.throwOnLimitExceeded=="boolean"?S.throwOnLimitExceeded:!1}};return j1=function(b,S){var _=w(S);if(b===""||b===null||typeof b>"u")return _.plainObjects?{__proto__:null}:{};for(var M=typeof b=="string"?g(b,_):b,E=_.plainObjects?{__proto__:null}:{},x=Object.keys(M),L=0;L<x.length;++L){var O=x[L],B=R(O,M[O],_,typeof b=="string");E=r.merge(E,B,_)}return _.allowSparse===!0?E:r.compact(E)},j1}var B1,z_;function RF(){if(z_)return B1;z_=1;var r=EF(),e=kF(),t=Vm();return B1={formats:t,parse:e,stringify:r},B1}var IF=RF();const LF=al(IF),lm={StoredContexts:{},defaultHandler:()=>{}},wS={Init:()=>{},Create:r=>{const e=r.method+r.url;return lm.StoredContexts[e]=r,MF(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{lm.defaultHandler=r}};function MF(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:i,method:l,stream:u,paramType:f}=r;const{po:g,onStream:m,onStreamEnd:R,noDefaultHandle:w=[]}=n??{};(f==="query"||l==="GET")&&g!==void 0&&(i+="?"+LF.stringify(g,{arrayFormat:"comma"}));const b={method:l,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(f==="form"){const M=new FormData;if(g!==void 0)for(const E in g){const x=g[E];M.append(E,x)}b.body=M}else(f==="body"||f===void 0&&r.method!=="GET")&&(b.body=JSON.stringify(g),b.headers["Content-Type"]="application/json;charset=UTF-8");let S={errorCode:0,message:""};const _=Date.now();i=wS.FetchBaseUrl()+i;try{let M=await fetch(i,b);if(M.ok===!1)return S.errorCode=M.status,S.message=M.statusText,S;{const E=new TextDecoder("utf-8");if(u){if(M.body){let x=M.body.getReader(),L="";for(;;){const O=await x.read();if(O.done)break;const B=E.decode(O.value).trim();L+=B;let H=null;try{const z=B.split("\0");let K=z[z.length-1];for(let ue=z.length-2;ue>=0;ue--)if(z[ue].trim().length!==0){K=z[ue];break}H=await JSON.parse(K)}catch{try{const K=L.split("\0");let ue=K[K.length-1];for(let J=K.length-2;J>=0;J--)if(K[J].trim().length!==0){ue=K[J];break}H=await JSON.parse(ue)}catch{}}if(H!=null&&(Object.keys(H).includes("err_code")?S.errorCode=H.err_code:(S.errorCode=0,S.data=H,L="",O.done?R==null||R(S.data):m==null||m(S.data))),O.done)break}}}else if(M.body){const L=await M.body.getReader().read(),O=E.decode(L.value);if(O==="null")return S;{let B=await JSON.parse(O.replaceAll("\0",""));Object.keys(B).includes("err_code")?(S.errorCode=B.err_code,S.message=B.err_msg):S.data=B}}}}catch(M){console.warn(M),S.errorCode=-1,S.message=M.message}return console.debug(`${e} ${Date.now()-_}ms`),w!==!0&&await lm.defaultHandler(S,w),S}}}async function DF(r){const e=new Promise((t,n)=>{const i=new FileReader;i.onloadend=()=>{i.result?typeof i.result=="string"?t(i.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},i.onerror=n,i.readAsDataURL(r)});try{return await e}catch{return}}function OF(r,e){var f,g;const t=r.split(","),n=(g=(f=t[0])==null?void 0:f.match(/:(.*?);/))==null?void 0:g[1],i=atob(t[1]);let l=i.length;const u=new Uint8Array(l);for(;l--;)u[l]=i.charCodeAt(l);return new File([u],e,{type:n})}const PF={toBase64:DF,toFile:OF};exports.ABase=$r;exports.ABaseStyleKeys=l2;exports.AButton=Fi;exports.AButtonStyleKeys=u2;exports.AButtonTypes=u5;exports.ACheckBox=Zu;exports.ACheckBoxStyleKeys=p2;exports.AChip=pm;exports.AChipKeys=D2;exports.AChips=TT;exports.AClock=BT;exports.AColFrame=P2;exports.ADatePicker=vm;exports.ADatePickerStyleKeys=w2;exports.ADatePickerTypes=dE;exports.ADateRangePicker=gm;exports.ADateRangePickerStyleKeys=A2;exports.ADialog=xE;exports.ADialogStyleKeys=g2;exports.ADialogTypes=_E;exports.ADivideFrame=pT;exports.AEditor=uN;exports.AEditorStyleKeys=h2;exports.AFileBox=ME;exports.AFileBoxStyleKeys=x2;exports.AFileUploader=QE;exports.AFloatMenu=B2;exports.AFloatMenuKeys=R2;exports.AFrameStyleKeys=k2;exports.AGrow=Qc;exports.AIcon=jr;exports.AIconButton=_i;exports.AIconButtonStyleKeys=T2;exports.AIconButtonTypes=f5;exports.AIconHOC=q4;exports.AIcons=fm;exports.AInput=tc;exports.AInputStyleKeys=f2;exports.AInputTypes=JT;exports.AListView=uk;exports.AListViewStyleKeys=S2;exports.ALoadingBorder=ym;exports.ALoadingBorderKeys=I2;exports.AMultiSelect=jk;exports.AMultiSelectStyleKeys=v2;exports.ANumInput=ok;exports.AOverflowFrame=Sa;exports.ARadioSelect=Ck;exports.ARadioSelectKeys=M2;exports.ARowFrame=Sn;exports.ASelect=rc;exports.ASelectStyleKeys=m2;exports.ASelectTypes=h6;exports.ASpace=mn;exports.AStepper=Qk;exports.AStepperStyleKeys=C2;exports.ASwitch=t2;exports.ASwitchFrame=N2;exports.ASwitchStyleKeys=b2;exports.ATab=z2;exports.ATabStyleKeys=_2;exports.ATabTypes=f8;exports.ATable=_R;exports.ATableStyleKeys=E2;exports.AText=G2;exports.ATextArea=LR;exports.ATextAreaStyleKeys=d2;exports.ATextAreaTypes=IR;exports.AThemeButton=Y5;exports.AThemes=Ff;exports.ATooltip=e2;exports.ATooltipStyleKeys=c2;exports.ATree=GN;exports.ATreeStyleKeys=y2;exports.AWrap=ec;exports.AWrapKeys=L2;exports.AWrapTypes=I5;exports.ApiContext=wS;exports.BodyStyleKeys=a2;exports.CreateADC=EE;exports.DefaultOptionRenderer=q2;exports.EDir12=ef;exports.EDir4=yi;exports.FileSizeTrans=Kc;exports.Icons=ih;exports.IsCursorPointer=G_;exports.IsFixedShape=V_;exports.IsInteractive=Z_;exports.NoSelect=W_;exports.Resources=hn;exports.SetResources=w5;exports.alphanumericRegex=kT;exports.bound=Nf;exports.cbF=Lr;exports.changeSemanticMode=hm;exports.componentStyleKeys=z5;exports.createEvent=Gc;exports.dateF=Yt;exports.defaultPredicate=U2;exports.dlgF=kE;exports.emailIdRegex=IT;exports.emailRegex=RT;exports.fileF=PF;exports.getMonthsOptions=Kf;exports.getYearsOptions=mm;exports.hangulRegex=MT;exports.hexRegex=LT;exports.noHanguljamoRegex=OT;exports.noSpaceRegex=DT;exports.numF=H2;exports.objF=er;exports.paletteKeys=r2;exports.paletteModes=oh;exports.passwordRegex=NT;exports.refinedDesignTokens=xi;exports.sF=Be;exports.semanticKeys=o2;exports.semanticModes=Gu;exports.setDir12Style=dm;exports.setDir12StyleElem=J_;exports.specialCharRegex=PT;exports.strF=j2;exports.tableF=tl;exports.textMeasurement=Zc;exports.treeF=rl;exports.useADialogCore=AE;exports.useADialogCores=wE;exports.useEvent=V2;exports.useInit=$2;exports.useValues=nn;exports.uuidRegex=FT;
|
351
|
+
`,"user"),t.index+=1)}}findTableParent(e){let t=e;for(;t;){if(t.domNode&&t.domNode.tagName==="TABLE")return t;t=t.parent}return null}hidePicker(){this.removeTooltip(),this.picker&&(this.picker.remove(),this.picker=null),this.tableButton&&this.tableButton.classList.remove("ql-expanded")}}var Ou={},Yb;function rN(){if(Yb)return Ou;Yb=1;var r=Hs;if(process.env.NODE_ENV==="production")Ou.createRoot=r.createRoot,Ou.hydrateRoot=r.hydrateRoot;else{var e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ou.createRoot=function(t,n){e.usingClientEntryPoint=!0;try{return r.createRoot(t,n)}finally{e.usingClientEntryPoint=!1}},Ou.hydrateRoot=function(t,n,i){e.usingClientEntryPoint=!0;try{return r.hydrateRoot(t,n,i)}finally{e.usingClientEntryPoint=!1}}}return Ou}var nN=rN();const Xb=al(nN);class iN{constructor(e,t){ft(this,"DEFAULTS",{maxRowCount:-1});ft(this,"quill");ft(this,"options");ft(this,"position",null);ft(this,"table");ft(this,"selectedCell",null);ft(this,"menuRoot",null);ft(this,"helperTextElement",null);ft(this,"scrollTimeout",null);ft(this,"SCROLL_DEBOUNCE_TIME",80);ft(this,"lastSelectedCellRef",null);ft(this,"boundDocClickHandler",this.hideMenu.bind(this));ft(this,"boundEditorChangeHandler",this.editorChangeHandler.bind(this));ft(this,"boundContextMenuHandler",this.contextMenuHandler.bind(this));ft(this,"boundCopyHandler",this.copyHandler.bind(this));ft(this,"boundScrollHandler",this.handleScroll.bind(this));ft(this,"boundPasteHandler",this.pasteHandler.bind(this));ft(this,"menuItems",[]);ft(this,"positionCache",new Map);ft(this,"POSITION_CACHE_LIFETIME",1e3);ft(this,"reactRoot",null);if(this.quill=e,this.options={...this.DEFAULTS,...t},this.table=e.getModule("table"),!this.table){console.error('"table" module not found');return}this.initializeMenuItems(),this.overrideTableMethods(),this.initializeHelperText(),this.attachEventListeners()}initializeMenuItems(){this.menuItems=[{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnRight()},icon:Ns.renderToString(v.jsx(jr,{icon:"AddColRight"})),title:hn.AEditor["Insert Column Right"]},{handler:()=>{(!(this.options.maxRowCount!==void 0&&this.options.maxRowCount>0)||this.getColCount()<(this.options.maxRowCount||0))&&this.table.insertColumnLeft()},icon:Ns.renderToString(v.jsx(jr,{icon:"AddColLeft"})),title:hn.AEditor["Insert Column Left"]},{handler:()=>{this.table.insertRowAbove()},icon:Ns.renderToString(v.jsx(jr,{icon:"AddRowAbove"})),title:hn.AEditor["Insert Row Top"]},{handler:()=>{this.table.insertRowBelow()},icon:Ns.renderToString(v.jsx(jr,{icon:"AddRowBelow"})),title:hn.AEditor["Insert Row Bottom"]},{handler:()=>{this.table.deleteColumn()},icon:Ns.renderToString(v.jsx(jr,{icon:"RemoveCol"})),title:hn.AEditor["Delete Column"]},{handler:()=>{this.table.deleteRow()},icon:Ns.renderToString(v.jsx(jr,{icon:"RemoveRow"})),title:hn.AEditor["Delete Row"]},{handler:()=>{this.table.deleteTable()},icon:Ns.renderToString(v.jsx(jr,{icon:"Trash"})),title:hn.AEditor["Delete Table"]}]}overrideTableMethods(){const e=this.table.insertTable;this.table.insertTable=(...n)=>{const i=e.apply(this.table,n),l=this.quill.getSelection();return l&&(this.quill.focus(),setTimeout(()=>this.detectButton(l),0)),i};const t=this.table.deleteTable;this.table.deleteTable=(...n)=>{const i=t.apply(this.table,n);return this.cleanupTableUI(),i}}initializeHelperText(){this.helperTextElement=document.createElement("div"),this.helperTextElement.className=jn["ql-tableui-helper"];const e=document.createElement("span");e.className=Be.clsx("Caption1",jn["ql-tableui-helper__text"],"NoSelect"),e.textContent=hn.AEditor["Right click to open properties"];const t=document.createElement("span");t.className=jn["ql-tableui-helper__icon"],t.innerHTML=Ns.renderToString(v.jsx(jr,{icon:"MoreHorizontal",size:"xs"})),t.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),this.menuRoot?this.hideMenu():this.showMenu()}),this.helperTextElement.appendChild(e),this.helperTextElement.appendChild(t),this.helperTextElement.style.display="none",this.quill.container.appendChild(this.helperTextElement)}attachEventListeners(){this.quill.on("editor-change",this.boundEditorChangeHandler),this.quill.root.addEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.addEventListener("copy",this.boundCopyHandler),this.quill.root.addEventListener("paste",this.boundPasteHandler),window.addEventListener("scroll",this.boundScrollHandler,!0)}removeEventListeners(){this.quill.off("editor-change",this.boundEditorChangeHandler),this.quill.root.removeEventListener("contextmenu",this.boundContextMenuHandler),this.quill.root.removeEventListener("copy",this.boundCopyHandler),this.quill.root.removeEventListener("paste",this.boundPasteHandler),document.removeEventListener("click",this.boundDocClickHandler),window.removeEventListener("scroll",this.boundScrollHandler,!0)}editorChangeHandler(e,t,n,i){e==="selection-change"&&this.detectButton(t)}contextMenuHandler(e){return this.isTable()?(e.preventDefault(),this.showMenu(),!1):!0}copyHandler(e){if(!this.selectedCell||!e.clipboardData)return;e.preventDefault();const t=this.selectedCell.textContent||"";e.clipboardData.setData("text/plain",t)}isTable(e){return e=e||this.quill.getSelection(),e?!!(this.quill.getFormat(e.index).table&&!e.length):!1}getColCount(e){if(e=e||this.quill.getSelection(),!e)return 0;const[t]=this.table.getTable(e);return t?t.rows().reduce((n,i)=>Math.max(i.children.length,n),0):0}showMenu(){if(this.menuRoot){this.hideMenu();return}if(!this.selectedCell)return;this.menuRoot||(this.menuRoot=document.createElement("div"),document.body.appendChild(this.menuRoot));const e=this.getBoundingRectWithCache(this.selectedCell),t=window.innerWidth,n=window.innerHeight,i=A.memo(({item:u,index:f})=>v.jsxs("div",{className:jn["ql-tableui-options__item"],onClick:this.createItemClickHandler(u),children:[v.jsx("span",{className:jn["ql-tableui-options__item-icon"],dangerouslySetInnerHTML:{__html:u.icon}}),v.jsx("span",{className:jn["ql-tableui-options__item-text"],children:u.title})]},f)),l=()=>v.jsx("div",{className:jn["ql-tableui-options"],style:{position:"fixed",visibility:"hidden",zIndex:1e4},children:this.menuItems.map((u,f)=>v.jsx(i,{item:u,index:f},f))});try{Xb.createRoot?(this.reactRoot=Xb.createRoot(this.menuRoot),this.reactRoot.render(v.jsx(l,{}))):Hs.render(v.jsx(l,{}),this.menuRoot)}catch{Hs.render(v.jsx(l,{}),this.menuRoot)}document.addEventListener("click",this.boundDocClickHandler),requestAnimationFrame(()=>{if(!this.menuRoot)return;const u=this.menuRoot.firstElementChild;if(u){const f=u.getBoundingClientRect();let g=e.bottom+window.scrollY,m=e.left+window.scrollX;m+f.width>t&&(m=e.right-f.width+window.scrollX),g+f.height>n+window.scrollY&&(g=e.top-f.height+window.scrollY),u.style.top=`${g}px`,u.style.left=`${m}px`,u.style.visibility="visible"}})}hideMenu(){this.menuRoot&&(document.removeEventListener("click",this.boundDocClickHandler),this.reactRoot?(this.reactRoot.unmount(),this.reactRoot=null):Hs.unmountComponentAtNode(this.menuRoot),this.menuRoot.remove(),this.menuRoot=null)}detectButton(e){if(e)if(this.isTable(e)){const[t,n]=this.quill.getLine(e.index);if(!t||!t.domNode)return;const i=t.domNode,l=`${i.tagName}-${i.offsetLeft}-${i.offsetTop}`;this.selectedCell===i||this.lastSelectedCellRef===l||(this.clearAllTableCellOutlines(),i.style.outline="2px solid var(--acent-brand)",i.style.outlineOffset="-1px",this.selectedCell=i,this.lastSelectedCellRef=l),this.showHelperText();const f=this.quill.container.getBoundingClientRect(),g=i.getBoundingClientRect(),m={bottom:g.bottom-f.top,height:g.height,left:g.left-f.left,right:g.right-f.left,top:g.top-f.top,width:g.width,x:g.x,y:g.y,toJSON:()=>JSON.stringify(m)};this.position&&(this.position.top!==m.top||this.position.left!==m.left)&&this.hideMenu(),this.position=m}else this.cleanupTableUI()}clearAllTableCellOutlines(){this.selectedCell&&(this.selectedCell.style.removeProperty("outline"),this.selectedCell.style.removeProperty("outline-offset"),this.selectedCell=null),this.quill.root.querySelectorAll("td, th").forEach(t=>{t instanceof HTMLElement&&(t.style.removeProperty("outline"),t.style.removeProperty("outline-offset"))}),this.lastSelectedCellRef=null}showHelperText(){if(!this.selectedCell||!this.helperTextElement)return;const e=this.quill.getSelection();if(!e)return;const[t]=this.table.getTable(e);if(!t||!t.domNode)return;const i=t.domNode.getBoundingClientRect(),l=this.quill.container.getBoundingClientRect();if(!(i.bottom<l.top+5||i.top>l.bottom-5)){let f=i.top-l.top-20;i.top<l.top&&(f=5),this.helperTextElement.style.display="block",this.helperTextElement.style.left=`${i.left-l.left}px`,this.helperTextElement.style.top=`${f}px`}else this.helperTextElement.style.display="none"}removeHelperText(){this.helperTextElement&&(this.helperTextElement.style.display="none")}handleScroll(){this.removeHelperText(),this.hideMenu(),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{const e=this.quill.getSelection();e&&this.isTable(e)&&this.detectButton(e),this.scrollTimeout=null},this.SCROLL_DEBOUNCE_TIME)}destroy(){this.removeEventListeners(),this.cleanupTableUI(),this.helperTextElement&&this.helperTextElement.remove(),this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=null),this.positionCache.clear(),this.reactRoot=null,this.selectedCell=null,this.helperTextElement=null,this.position=null,this.options=this.DEFAULTS,this.menuRoot=null,this.table=null}createItemClickHandler(e){return t=>{t.preventDefault(),t.stopPropagation(),this.quill.focus(),e.handler(),this.hideMenu(),this.detectButton(this.quill.getSelection())}}getBoundingRectWithCache(e){const t=Date.now(),n=this.positionCache.get(e);if(n&&t-n.timestamp<this.POSITION_CACHE_LIFETIME)return n.rect;const i=e.getBoundingClientRect();return this.positionCache.set(e,{rect:i,timestamp:t}),i}pasteHandler(){this.clearAllTableCellOutlines(),setTimeout(()=>{const e=this.quill.getSelection();e&&this.detectButton(e)},0)}cleanupTableUI(){this.removeHelperText(),this.clearAllTableCellOutlines(),this.hideMenu(),this.lastSelectedCellRef=null}}const oN=()=>{const r=[1,2,3,!1,4],e=Ke.import("ui/icons");e.table=Ns.renderToString(v.jsx(jr,{icon:"Table",strokeWidth:2.5})),e.divider=Ns.renderToString(v.jsx(jr,{icon:"Minus",strokeWidth:2.5}));const t=Ke.import("blots/block/embed");class n extends t{static create(l){const u=super.create(l);return u.style.border="var(--AEditor_Addon_Primary_border)",u.style.borderBottom="none",u.style.transition="border var(--Transition)",u}}return ft(n,"blotName","divider"),ft(n,"tagName","hr"),Ke.register({"modules/imageCompress":AO,"modules/resize":RO,"modules/tablePicker":tN,"modules/tableUI":iN,"formats/header":cN(r),"formats/divider":n},!0),{header:r,FORMAT_DEFAULT:["bold","italic","underline","strike","blockquote","table","size","header","color","background","indent","list","align","image","link","video","divider"],FORMAT_TITLE:["bold","italic","underline","strike","color","background"],TOOLBAR_DEFAULT:[[{header:r}],["bold","italic","underline","strike","blockquote","divider","table",{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 Zg=null;const sN=()=>(Zg||(Zg=oN()),Zg),ls=r=>Array.from(r).length,aN=r=>r.ops?r.ops.reduce((e,t)=>typeof t.insert=="string"?e+t.insert.replace(/\n/g,"").split("").reduce((n,i)=>n+(i.charCodeAt(0)<=127?1:3),0):typeof t.insert=="object"&&t.insert.image?e+t.insert.image.length:e,0):0;function lN(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}function cN(r){const e=Ke.import("formats/header");return e.whitelist=r,e}const uN=A.memo(r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",editorRef:i,useValue:l,useError:u,placeholder:f,tabIndex:g,autoFocus:m,editorProps:R,wrapProps:w,helperText:b,label:S,labelProps:_,wrapType:M,style:E,minHeight:x,maxHeight:L,contentHeight:O,contentMaxHeight:B=1e3,toolbarSize:H="Med",toolbarType:z="Default",readOnly:K,limitPosition:ue="Bottom",maxLength:J,editorClassName:fe,editorStyle:j,...te}=r,X=A.useMemo(()=>sN(),[]),re=A.useMemo(()=>n==="ReadOnly"||K,[n,K]),de=A.useMemo(()=>O?20:0,[O]),[me,ye]=A.useState(H==="Med"?40:50),ce=A.useMemo(()=>re?0:me,[re,me]),[Ee,le]=A.useMemo(()=>J||!u||re||ue==="Top"?[0,0]:[20,6],[J,u,re,ue]),se=A.useMemo(()=>Ee+le,[Ee,le]),[pe,Ne]=A.useState(O),[Ye,we]=A.useState(!1),[De,Fe]=A.useState(!1),ze=A.useRef(null),Ge=A.useRef(0),Le=A.useRef(0),Ae=A.useMemo(()=>S?24:0,[S]),be=A.useMemo(()=>z==="Title"?!0:void 0,[z]),We=A.useMemo(()=>O||x||be,[O,x,be]),ht=A.useMemo(()=>We?"fit-content":L?L+Ae:`calc(100% - ${Ae}px)`,[We,L,Ae]),Ct=A.useMemo(()=>{if(O){if(pe)switch(n){case"ReadOnly":return pe;case"Raw":return pe+se;default:return pe+ce+se}}else return},[O,pe,n,ce,se]),it=A.useMemo(()=>{if(!(!L||L<=ce+se))switch(n){case"ReadOnly":return L;case"Raw":return L-se;default:return L-ce-se}},[n,ce,se,L]),Ie=A.useMemo(()=>{if(x&&O){const tt=Math.min(x-ce-se,O);return re?tt:tt+ce+se}else return x||(O?void 0:`calc(100% - ${Ae}px)`)},[x,O,Ae,ce,se,re]),Pe=A.useMemo(()=>lN(t)?"Error":n,[t,n]),[at,gt]=nn(l,""),[wt,Et]=nn(u,!1),[xt,It]=A.useState(()=>{if(!at)return new Zt;const tt=document.createElement("div");return tt.innerHTML=at,new Ke(tt,{readOnly:!0}).getContents()}),je=A.useCallback(aN,[]),Qe=A.useMemo(()=>Math.floor(5e4*.68234)*3,[]),mt=A.useMemo(()=>v.jsx(fN,{calculateSize:je,error:wt,htmlDelta:xt,limit:Qe,useError:u,isReadonly:re}),[je,wt,xt,re,Qe,u]),Ft=A.useMemo(()=>({clipboard:{matchVisual:!1,...be&&{matchers:[["img",()=>!1],["table",()=>!1],["iframe",()=>!1],["video",()=>!1],["h1, h2, h3, h4, h5, h6",()=>({})],["blockquote",()=>({})]]}},keyboard:be?{bindings:{Enter:{key:"Enter",handler:tt=>{if(e&>){const Me=tt.root.innerHTML;e(Me)}return!1}}}}:{bindings:{}},imageCompress:{quality:.5},...!re&&{resize:{locale:{altTip:hn.AEditor["Image size adjust"],center:hn.AEditor.Center,floatLeft:hn.AEditor.floatLeft,floatRight:hn.AEditor.floatRight,inputTip:hn.AEditor["Input on mouse down"],restore:hn.AEditor.Restore}},...!be&&{table:!0,tablePicker:!0,tableUI:!0},toolbar:{container:be?X.TOOLBAR_TITLE:X.TOOLBAR_DEFAULT,handlers:{divider:function(){const tt=this.quill,Me=tt.getSelection(!0);if(!Me||be)return;const pt=tt.getModule("table"),kt=pt&&!!pt.getTable(Me)[0];kt||tt.insertText(Me.index,`
|
352
|
+
`,Ke.sources.USER);const _t=kt?0:1,Bt=Math.min(Me.index+_t,tt.getLength()-1);tt.insertEmbed(Bt,"divider",!0,Ke.sources.USER),setTimeout(()=>{const Wt=Math.min(Bt+1,tt.getLength()-1);tt.setSelection(Wt,0,Ke.sources.SILENT)},0)}}}}}),[re,be,e,gt,X]),bt=A.useCallback(tt=>{if(!Ye||!O)return;const Me=tt.clientY-Le.current,pt=x?x-ce-se:O,kt=Math.max(pt,0),_t=L?L-ce-se:B,Bt=Math.min(_t,Math.max(kt,Ge.current+Me));pe!==Bt&&Ne(Bt),tt.preventDefault(),tt.stopPropagation()},[Ye,O,B,x,L,ce,se,pe]),$e=A.useCallback(tt=>{we(!1),Fe(!1),document.removeEventListener("mousemove",bt),document.removeEventListener("mouseup",$e),tt.preventDefault(),tt.stopPropagation()},[bt]),Lt=A.useCallback(tt=>{if(!O)return;if(tt.detail===2){Ne(O);return}pe===void 0?(Ne(O),Ge.current=O):Ge.current=pe,we(!0),Fe(!0),Le.current=tt.clientY;const Me=kt=>{if(!O)return;const _t=kt.clientY-Le.current,Bt=x?x-ce-se:O,Wt=Math.max(Bt,0),rr=L?L-ce-se:B,Ht=Math.min(rr,Math.max(Wt,Ge.current+_t));Ne(Ht),kt.preventDefault(),kt.stopPropagation()},pt=kt=>{we(!1),Fe(!1),document.removeEventListener("mousemove",Me),document.removeEventListener("mouseup",pt),kt.preventDefault(),kt.stopPropagation()};document.addEventListener("mousemove",Me),document.addEventListener("mouseup",pt),tt.preventDefault(),tt.stopPropagation()},[O,pe,x,L,ce,se,B]),Dt=A.useCallback((tt,Me,pt,kt)=>{var rr;if(!gt)return;const _t=kt.getContents(),Bt=kt.getHTML(),Wt=((rr=_t.ops)==null?void 0:rr.length)===1&&_t.ops[0].insert===`
|
353
|
+
`;Et&&Et(je(_t)>Qe),gt(Wt?"":Bt),It(_t)},[je,Qe,Et,gt]),pr=A.useMemo(()=>H==="Med"?7.5:12.5,[H]),xr=A.useCallback(tt=>{var _t,Bt;const Me=tt.getEditor().container;if(!Me)return null;const pt=(_t=Me.closest(".AEditorContainer"))==null?void 0:_t.querySelector(".ql-toolbar");return pt||((Bt=Me.parentElement)==null?void 0:Bt.querySelector(".ql-toolbar"))||null},[]),wr=A.useRef([]);A.useEffect(()=>()=>{wr.current.forEach(tt=>tt()),wr.current=[]},[]);const ge=A.useCallback((tt,Me,pt,kt)=>{if(!tt)return;const _t=pt;tt.addEventListener(Me,_t,kt),wr.current.push(()=>{tt.removeEventListener(Me,_t,kt)})},[]),ne=A.useCallback(tt=>{if(!tt)return;const Me=tt.getEditor();if(!Me)return;const pt=Me.root;pt&&fe&&pt.classList.add(...fe.split(" ")),pt&&j&&Object.entries(j).forEach(([Ht,$t])=>{const nr=Ht.replace(/([A-Z])/g,rt=>`-${rt[0].toLowerCase()}`);pt.style[nr]=$t});const kt={input:Ht=>{const $t=Ht.target;if(!$t)return;const nr=parseInt($t.value,10);isNaN(nr)},keyDown:Ht=>{if(Ht.key!=="Delete"&&Ht.key!=="Backspace"&&Ht.key!=="Enter")return;const $t=document.querySelector("#editor-resizer");$t&&($t.style.display="none")},formatExpand:Ht=>{const $t=Me.getFormat(),nr=xr(tt);nr&&Ht.forEach(rt=>{if($t[rt]){const Tt=$t[rt],yt=`.ql-${rt}`,Mt=nr.querySelector(`${yt} .ql-picker-label`),vr=nr.querySelectorAll(`${yt} .ql-picker-item`),Y=Array.from(vr).find(Ue=>Ue.getAttribute("data-value")===Tt);Y&&(Y.classList.add("ql-selected"),Mt==null||Mt.classList.add("ql-active"))}})},resizeToolbar:Ht=>{if(!Ht.length)return;const rt=Ht[0].target.getBoundingClientRect(),Tt=Math.ceil(rt.height);ye(yt=>Math.abs(yt-Tt)<.1?yt:Tt)}},_t=Ht=>{const $t=Ht.target;if($t.tagName==="IMG")try{const nr=Ke.find($t);if(nr){const rt=Me.getIndex(nr);queueMicrotask(()=>{Me.setSelection(rt,1,Ke.sources.USER)}),Ht.preventDefault(),Ht.stopPropagation()}}catch(nr){console.error("이미지 선택 중 오류:",nr)}},Bt=xr(tt),Wt=new ResizeObserver(kt.resizeToolbar);Bt&&(Wt.observe(Bt),wr.current.push(()=>Wt.disconnect()));const rr=["header","color","background"];return rr.forEach(Ht=>{const $t=Bt==null?void 0:Bt.querySelector(`.ql-${Ht} .ql-picker-label`);$t&&ge($t,"click",()=>kt.formatExpand(rr))}),pt&&(ge(pt,"keydown",kt.keyDown),ge(pt,"click",_t)),()=>{}},[xr,ge,fe,j]),et=A.useCallback(tt=>{if(!tt||!J)return;const Me=tt.getEditor();if(!Me)return;let pt=!1,kt="",_t=null,Bt=0;const Wt=$t=>$t.replace(/[\r\n\u2028\u2029]+/g," ").replace(/\s+/g," "),rr=$t=>{pt||(_t&&window.cancelAnimationFrame(_t),_t=window.requestAnimationFrame(()=>{pt=!0;try{$t()}finally{pt=!1,_t=null}}))},Ht=[];if(be){const $t=Mt=>{if(Mt.key==="Enter")return Mt.preventDefault(),e&&e(Me.root.innerHTML),!1},nr=()=>{const Mt=Me.getText().slice(0,-1);if(Mt===kt)return;const vr=/[\r\n\u2028\u2029]/.test(Mt),Y=ls(Mt)>J;if(vr||Y){const Ue=Me.getSelection(),ke=Me.getFormat();Bt=Ue?Ue.index:0;let Ze=Mt;if(vr&&(Ze=Wt(Ze)),Y&&(Ze=Array.from(Ze).slice(0,J).join("")),Ze!==Mt){const St=new Zt().insert(Ze+`
|
354
|
+
`);Me.setContents(St),Object.keys(ke).length>0&&Me.formatText(0,Ze.length,ke);const jt=Math.min(Bt,Ze.length);Me.setSelection(jt,0)}kt=Ze}else kt=Mt},rt=Mt=>{Mt.preventDefault();const vr=Mt.clipboardData;if(!vr)return;const Y=Me.getSelection();if(!Y)return;const Ue=Me.getText().slice(0,-1),ke=Y.index>0?Ue.substring(0,Y.index):"",Ze=Y.index+Y.length<Ue.length?Ue.substring(Y.index+Y.length):"",St=Wt(vr.getData("text/plain")),jt=ke+St+Ze;if(ls(jt)<=J)Y.length>0&&Me.deleteText(Y.index,Y.length),Me.insertText(Y.index,St),Me.setSelection(Y.index+ls(St),0);else{const qt=J-(ls(ke)+ls(Ze));if(qt<=0)return;const ir=Array.from(St).slice(0,qt).join("");Me.updateContents(new Zt().retain(Y.index).delete(Y.length).insert(ir)),Me.setSelection(Y.index+ls(ir),0)}rr(()=>{const qt=Me.getText().slice(0,-1);if(/[\r\n\u2028\u2029]/.test(qt)){const ir=Wt(qt),or=Me.getFormat();Me.setContents(new Zt().insert(ir+`
|
355
|
+
`)),Object.keys(or).length>0&&Me.formatText(0,ir.length,or);const fr=Math.min(Y.index+ls(St),ir.length);Me.setSelection(fr,0),kt=ir}else kt=qt})},Tt=Mt=>{(Mt.inputType==="insertLineBreak"||Mt.inputType==="insertText"&&Mt.data&&/[\r\n\u2028\u2029]/.test(Mt.data))&&Mt.preventDefault()},yt=()=>{rr(nr)};ge(Me.root,"keydown",$t),ge(Me.root,"paste",rt),ge(Me.root,"beforeinput",Tt),Me.on("text-change",yt),Ht.push(()=>{ge(Me.root,"keydown",$t),ge(Me.root,"paste",rt),ge(Me.root,"beforeinput",Tt),Me.off("text-change",yt),_t&&window.cancelAnimationFrame(_t)}),rr(nr)}else{const $t=()=>{const Mt=Me.getText();if(ls(Mt)-1<=J)return;const Y=Me.getSelection(),Ue=Me.getContents();Bt=Y?Y.index:0;let ke=0,Ze=0;for(const At of Ue.ops||[])if(typeof At.insert=="string"){const qt=Array.from(At.insert);for(const ir of qt){if(ke>=J)break;ke++,Ze+=ir.length}if(ke>=J)break}else At.insert&&(ke+=1);const St=Mt.substring(0,Ze);Me.setText(St);const jt=Math.min(Bt,St.length);Me.setSelection(jt,0)},nr=(Mt,vr)=>{const Y=Me.getSelection();if(!Y)return!0;const Ue=Me.getText(),ke=ls(Ue)-1,Ze=Y.length>0?ls(Ue.substring(Y.index,Y.index+Y.length)):0,St=J-(ke-Ze);if(ls(vr)<=St)return!0;if(Mt.preventDefault(),Mt.type==="paste"){const At=Y.index,qt=Array.from(vr).slice(0,St).join(""),ir=new Zt;Y.length?ir.retain(At).delete(Y.length):ir.retain(At),ir.insert(qt),Me.updateContents(ir,Ke.sources.USER),requestAnimationFrame(()=>{const or=At+ls(qt);or<=Me.getLength()&&Me.setSelection(or,0)})}return!1},rt=()=>{rr($t)},Tt=Mt=>{Mt.inputType.startsWith("insert")&&nr(Mt,Mt.data||"")},yt=Mt=>{const vr=Mt.clipboardData;if(vr){const Y=Wt(vr.getData("text/plain"));nr(Mt,Y)}};Me.on("text-change",rt),ge(Me.root,"beforeinput",Tt,{capture:!0}),ge(Me.root,"paste",yt,{capture:!0}),Ht.push(()=>{Me.off("text-change",rt),ge(Me.root,"beforeinput",Tt,{capture:!0}),ge(Me.root,"paste",yt,{capture:!0}),_t&&window.cancelAnimationFrame(_t)})}return()=>Ht.forEach($t=>$t())},[J,be,e,ge]),ct=A.useCallback(tt=>{typeof i=="function"?i(tt):i&&(i.current=tt),tt&&(ne(tt),et(tt))},[i,ne,et]);return v.jsx(ec,{helperText:b,wrapType:M,labelProps:{..._,style:{minHeight:S?20:void 0,marginBottom:S?4:0}},errorMessage:t,label:v.jsxs(Sn,{style:{gap:4},children:[S,!J&&ue==="Top"&&mt]}),wrapProps:{...w,className:Be.clsx(w==null?void 0:w.className,!We&&jn.AEditorWrapper),style:{...w==null?void 0:w.style,height:ht}},children:v.jsxs($r,{...te,className:Be.clsx(te.className,jn.AEditorContainer),style:{...E,height:Ct,minHeight:Ie},children:[v.jsx(Ch,{...R,ref:ct,className:Be.clsx(R==null?void 0:R.className,jn.AEditor,jn[Pe],be&&"Title"),formats:be?X.FORMAT_TITLE:X.FORMAT_DEFAULT,modules:Ft,placeholder:f,readOnly:re,theme:"snow",value:xt,style:{...R==null?void 0:R.style,maxHeight:it?it+ce:void 0,"--icon-size":`${H==="Med"?18:24}px`,"--editor-padding":be?"8px 12px":"12px","--toolbar-padding":`${pr}px`,"--content-height":be?"34px":pe?`${pe}px`:"100%","--content-max-height":it?`${it}px`:"100%","--default-text":`'${hn.AEditor.Default}'`,"--arrow-background":`url("data:image/svg+xml,${encodeURIComponent(Ns.renderToString(v.jsx(jr,{icon:"EditorArrow"})))}`,"--title-color-picker-width":be?"780px":"142px"},onChange:Dt}),O&&v.jsxs(v.Fragment,{children:[v.jsx("div",{ref:ze,className:jn.Resizer,style:{height:de,bottom:u&&!re?se:0},onMouseDown:Lt}),De&&v.jsx("div",{className:Be.clsx(jn.Indicator,"NoSelect","Label1"),style:{height:de,bottom:u&&!re?se:0},children:`${Math.round(pe)}px`})]}),v.jsx("div",{className:Be.clsx(jn.LimitContainer,"NoSelect"),style:{marginTop:le,minHeight:Ee,display:!J&&ue==="Bottom"?"flex":"none"},children:mt})]})})},(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.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),fN=A.memo(({calculateSize:r,error:e,htmlDelta:t,limit:n,useError:i,isReadonly:l})=>{if(!i||l)return null;const u=r(t),f=e||u>n;return v.jsxs(Sa,{className:jn.Limit,children:["(",v.jsx("span",{className:f?jn.Error:void 0,children:Kc(u)})," / ",Kc(n),")"]})});function nh(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=nh(t.children,e);if(n)return n}}function ud(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&ud(t.children,e)}function hS(r,e){Array.isArray(r)||(r=[r]);const t=[];return ud(r,(n,i)=>t.push(e(n,i))),t}function pS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!pS(t.children,e))return!1}return!0}function dN(r,e){Array.isArray(r)||(r=[r]);const t=[];return ud(r,(n,i)=>{e(n,i)&&t.push(n)}),t}function hN(r){Array.isArray(r)||(r=[r]);let e=0;return ud(r,()=>e++),e}function pN(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const i=nh(r,u=>{var f;return(f=u.children)==null?void 0:f.some(g=>n(g,e))}),l=nh(r,u=>{var f;return(f=u.children)==null?void 0:f.some(g=>n(g,t))});if(i===void 0&&l===void 0){const u=r.findIndex(g=>n(g,e)),f=r.findIndex(g=>n(g,t));return r.splice(u,1),r.splice(f,0,e),[...r]}else if(i!==void 0&&l!==void 0&&n(i,l)&&i.children){const u=i.children.findIndex(g=>n(g,e)),f=i.children.findIndex(g=>n(g,t));return u===void 0||f===void 0?null:(i.children.splice(u,1),i.children.splice(f,0,e),i.children=[...i.children],[...r])}return null}function gN(r,e,t){const n=[],i=[...e];for(;i.length>0;){const l=i.shift();if(l&&!n.find(u=>t(u,l))&&(n.push(l),!(!l.children||l.children.length<1)))for(const u of l.children)i.push(u)}return n}function mN(r,e,t){Array.isArray(r)||(r=[r]);const n=hS(r,u=>u),i=[],l=[...e];for(;l.length>0;){const u=l.shift();if(!u||i.find(g=>t(g,u)))continue;i.push(u);const f=n.find(g=>{var m;return(m=g.children)==null?void 0:m.some(R=>t(R,u))});f&&l.push(f)}return i}const rl={find:nh,forEach:ud,map:hS,every:pS,filter:dN,length:hN,replace:pN,descendants:gN,ancestors:mN},vN="_AWrap_f5le3_1",yN="_AContainer_f5le3_10",bN="_ATree_f5le3_18",_N="_ATreeBody_f5le3_30",xN="_CoverBorder_f5le3_36",SN="_InsertBorder_f5le3_45",CN="_ATreeHeader_f5le3_76",wN="_ATreeBodyHeader_f5le3_82",AN="_ATreeBodyHeaderResources_f5le3_92",TN="_ATreeItem_f5le3_98",EN="_IsSelectUsed_f5le3_114",kN="_IsSelected_f5le3_117",RN="_IsSearchSelected_f5le3_122",IN="_IsHovered_f5le3_133",LN="_CheckBox_f5le3_137",MN="_Indents_f5le3_149",DN="_ExpandIcon_f5le3_156",ON="_Content_f5le3_168",PN="_RightSticky_f5le3_177",NN="_SearchInputWrap_f5le3_188",FN="_SearchInput_f5le3_188",jN="_RightAddon_f5le3_200",BN="_RightAddonIcon_f5le3_211",HN="_Loader_f5le3_218",dn={AWrap:vN,AContainer:yN,ATree:bN,ATreeBody:_N,CoverBorder:xN,InsertBorder:SN,ATreeHeader:CN,ATreeBodyHeader:wN,ATreeBodyHeaderResources:AN,ATreeItem:TN,IsSelectUsed:EN,IsSelected:kN,IsSearchSelected:RN,IsHovered:IN,CheckBox:LN,Indents:MN,ExpandIcon:DN,Content:ON,RightSticky:PN,SearchInputWrap:NN,SearchInput:FN,RightAddon:jN,RightAddonIcon:BN,Loader:HN},qN=r=>{const{isEqual:e,item:t,selectDisabled:n,selectUnused:i,isParentDisabled:l,indents:u,extIndents:f,useExpand:g,useSelect:m,useSearch:R,onDragStart:w,onDragOver:b,onDragEnd:S,showCheckbox:_,icons:M,iconWidth:E,isSelectMulti:x,isDraggable:L,isParentCheckHovered:O,hoverdItem:B,onMouseOver:H,onMouseLeave:z,ContentRenderer:K,TreeItemRenderer:ue,RightStickyAddon:J,resources:fe,containerRef:j,TreeItemStyle:te,TreeItemClassName:X,searchItemStyle:re,searchItemClassName:de,height:me}=r,{children:ye}=A.useMemo(()=>t,[t]),[ce,Ee]=A.useMemo(()=>g,[g]),[le,se]=A.useMemo(()=>m,[m]),[pe,Ne]=A.useMemo(()=>R,[R]),Ye=A.useMemo(()=>i?i(t):!1,[i,t]),we=A.useMemo(()=>!n||l?l:n(t),[n,l,t]),De=A.useMemo(()=>ce.some($e=>e($e,t)),[ce,e,t]),Fe=A.useMemo(()=>!ye||ye.length<1?"noChild":De?"expanded":"collapsed",[ye,De]),ze=A.useMemo(()=>{const $e=M[Fe];return fm.includes($e)?v.jsx(jr,{style:{width:E,height:E},icon:$e}):$e},[M,E,Fe]),Ge=A.useCallback($e=>{!Ee||Fe==="noChild"||(Ee(De?ce.filter(Lt=>!e(Lt,t)):[...ce,t]),$e.stopPropagation())},[Ee,ce,De,t,e,Fe]),Le=A.useMemo(()=>le.some($e=>e($e,t)),[le,e,t]),Ae=A.useCallback(()=>{!se||we||(se(x?Le?le.filter($e=>!e($e,t)):[...le,t]:[t]),pe&&Ne&&pe.items.some($e=>e($e,t))&&Ne({...pe,item:t}))},[x,we,Le,pe,Ne,se,e,le,t]),be=A.useMemo(()=>pe==null?void 0:pe.items.some($e=>e($e,t)),[pe,e,t]),We=A.useMemo(()=>be&&(pe==null?void 0:pe.item)&&e(pe.item,t),[be,pe,e,t]),ht=A.useRef(null);A.useEffect(()=>{setTimeout(()=>{if(We&&ht.current&&j.current){const{top:$e,bottom:Lt}=ht.current.getBoundingClientRect(),{top:Dt,bottom:pr}=j.current.getBoundingClientRect();($e<Dt||Lt>pr)&&ht.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[j,We]);const[Ct,it]=A.useState(!1),Ie=A.useCallback(()=>!we&&it(!0),[we]),Pe=A.useCallback(()=>!we&&it(!1),[we]),at=A.useMemo(()=>rl.map(t,$e=>$e).filter($e=>!(n!=null&&n($e))&&!(i!=null&&i($e))),[n,i,t]),gt=A.useMemo(()=>!_||!x?!1:Le&&at.some($e=>le.some(Lt=>e($e,Lt)))&&at.some($e=>!le.some(Lt=>e($e,Lt))),[_,x,Le,at,e,le]),wt=A.useMemo(()=>_?x?at.every($e=>le.some(Lt=>e($e,Lt))):le.some($e=>e($e,t)):!1,[_,x,at,t,e,le]),Et=A.useCallback(()=>{if(!(!se||we))if(x)if(Le){const $e=le.filter(Lt=>!(i!=null&&i(Lt))&&!(n!=null&&n(Lt))&&at.some(Dt=>e(Dt,Lt)));$e.length>0&&se(le.filter(Lt=>!$e.some(Dt=>e(Lt,Dt))))}else{const $e=at.filter(Lt=>!(i!=null&&i(Lt))&&!(n!=null&&n(Lt))&&!le.some(Dt=>e(Dt,Lt)));$e.length>0&&se([...le,...$e])}else se([t])},[we,n,i,x,se,e,Le,le,at,t]),xt=A.useCallback($e=>{we||Et(),$e.stopPropagation()},[we,Et]),It=A.useMemo(()=>{if(!_||!x||we)return"";if(Le){const Lt=le.filter(Dt=>!(i!=null&&i(Dt))&&!(n!=null&&n(Dt))&&at.some(pr=>e(pr,Dt)));if(Lt.length>0)return fe["deselect n"](Lt.length)}const $e=at.filter(Lt=>!(i!=null&&i(Lt))&&!(n!=null&&n(Lt))&&!le.some(Dt=>e(Dt,Lt)));return fe["select n"]($e.length)},[n,i,fe,we,_,x,Le,at,e,le]),je=A.useMemo(()=>Lr.getContent(J,r),[J,r]),Qe=A.useMemo(()=>Lr.getContent(te,r),[r,te]),mt=A.useMemo(()=>Lr.getContent(X,r),[r,X]),Ft=A.useMemo(()=>Lr.getContent(de,r),[r,de]),bt=A.useMemo(()=>Lr.getContent(re,r),[r,re]);return v.jsxs(A.Fragment,{children:[v.jsxs($r,{className:Be.clsx(dn.ATreeItem,Le&&dn.IsSelected,!we&&(Ct||O)&&dn.IsHovered,be&&dn.IsSearched,We&&(Ft||dn.IsSearchSelected),!Ye&&dn.IsSelectUsed,"NoSelect",mt),style:{...Qe,...We&&bt,"--ATreeItem_height":`${me}px`},draggable:L,onDragStart:()=>w==null?void 0:w(t),onDragEnter:$e=>b==null?void 0:b($e,t),onDragEnd:$e=>S==null?void 0:S($e,t),onClick:Ae,abaseRef:ht,isDisabled:we,onMouseOver:$e=>H==null?void 0:H($e,t),onMouseLeave:$e=>z==null?void 0:z($e,t),children:[_&&v.jsx(Zu,{style:{visibility:we||Ye?"hidden":"visible",zIndex:we||Ye?0:2},className:dn.CheckBox,useCheck:[+wt,Et],onClick:xt,isIndeterminate:gt,onMouseOver:Ie,onMouseOut:Pe,tooltip:It,isDisabled:we}),v.jsx("div",{className:dn.Indents,style:{paddingLeft:_?0:r.icons.noChild?12:0},children:u.map(($e,Lt)=>{const Dt=Lt===u.length-1;return v.jsx(N2,{value:$e,map:{Collapsed:f?f({iconWidth:E}).collapsed:v.jsx($N,{iconWidth:E}),Expanded:f?f({iconWidth:E,isLast:Dt}).expanded:v.jsx(zN,{iconWidth:E,isLast:Dt}),IsLast:f?f({iconWidth:E}).isLast:v.jsx(UN,{iconWidth:E})}},Lt)})}),ze&&v.jsx("div",{className:dn.ExpandIcon,style:{width:E,minWidth:E,maxWidth:E},onClick:Ge,children:ze}),v.jsx("div",{className:Be.clsx(dn.Content,"NoSelect"),children:v.jsx(K,{isEqual:e,item:t,indents:u,extIndents:f,useExpand:g,useSelect:m,useSearch:R,onDragStart:w,onDragOver:b,onDragEnd:S,showCheckbox:_,icons:M,iconWidth:E,isSelectMulti:x,isDraggable:L,isParentCheckHovered:x&&(Ct||O),hoverdItem:B,onMouseOver:H,onMouseLeave:z,ContentRenderer:K,TreeItemRenderer:ue,RightStickyAddon:J,resources:fe,containerRef:j,TreeItemStyle:te,TreeItemClassName:X,searchItemClassName:Ft,searchItemStyle:re,height:me})}),je&&v.jsx("div",{className:dn.RightSticky,children:je})]}),De&&(ye==null?void 0:ye.map(($e,Lt)=>v.jsx(ue,{isEqual:e,item:$e,selectDisabled:n,selectUnused:i,indents:[...u.map(Dt=>Dt==="IsLast"?"Collapsed":Dt),Lt===ye.length-1?"IsLast":"Expanded"],extIndents:f,ContentRenderer:K,useExpand:g,useSelect:m,useSearch:R,onDragStart:w,onDragOver:b,onDragEnd:S,showCheckbox:_,icons:M,iconWidth:E,isSelectMulti:x,isDraggable:L,isParentCheckHovered:x&&(Ct||O),hoverdItem:B,onMouseOver:H,onMouseLeave:z,TreeItemRenderer:ue,RightStickyAddon:J,resources:fe,containerRef:j,TreeItemStyle:te,TreeItemClassName:X,searchItemClassName:Ft,searchItemStyle:re,height:me},Lt)))]})},zN=({iconWidth:r,isLast:e})=>v.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&&v.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),$N=({iconWidth:r})=>v.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),UN=({iconWidth:r})=>v.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)"}}),WN=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:i,searchDown:l,searchEnter:u,isDisabled:f,isLoading:g,resources:m,maxLength:R,autoFocus:w}=r,b=A.useCallback(M=>{M.key==="Enter"?u():M.key==="ArrowDown"?l():M.key==="ArrowUp"&&i(),M.preventDefault(),M.stopPropagation()},[l,u,i]),S=A.useCallback(M=>{n(M)},[n]),_=A.useMemo(()=>f||g?-1:void 0,[f,g]);return v.jsx(tc,{className:dn.SearchInput,wrapProps:{className:dn.SearchInputWrap},isDisabled:f,tabIndex:_,useValue:[(t==null?void 0:t.keyword)??"",S],onKeyDown:b,placeholder:m["Search(Placeholder)"],RightAddon:v.jsx(VN,{isEqual:e,searchResult:t,searchUp:i,searchDown:l,searchEnter:u,resources:m}),maxLength:R,autoFocus:w})},VN=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:i,searchEnter:l,resources:u}=r,f=A.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(_=>t.item&&e(_,t.item))+1,[t,e]),g=A.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),m=A.useMemo(()=>f<2,[f]),R=A.useMemo(()=>f>=g,[f,g]),w=A.useCallback(_=>{_.stopPropagation(),!m&&n()},[n,m]),b=A.useCallback(_=>{_.stopPropagation(),!R&&i()},[i,R]),S=A.useCallback(_=>{_.stopPropagation(),l()},[l]);return v.jsx("div",{className:Be.clsx(dn.RightAddon,"NoSelect"),children:t?v.jsxs(v.Fragment,{children:[f,"/",g,v.jsx($r,{onClick:w,isDisabled:m,children:v.jsx(jr,{className:dn.RightAddonIcon,icon:"ArrowUp",mask:""})}),v.jsx($r,{onClick:b,isDisabled:R,children:v.jsx(jr,{className:dn.RightAddonIcon,icon:"ArrowDown"})})]}):v.jsx(_i,{type:"Raw",className:dn.RightAddonIcon,style:{marginRight:4},icon:"Search",onClick:S,tooltip:u["Search(Button)"]})})},GN=r=>{var nr;const{pk:e,selectDisabled:t,selectUnused:n,useItems:i,useExpand:l,useSelect:u,useSearch:f,showCheckbox:g,iconWidth:m=24,icons:R={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:w,isSelectMulti:b=!1,noSearch:S=!1,isDraggable:_,noSyncSearchSelect:M=!1,actionRef:E,placeholder:x,searchPredicate:L=KN,isDisabled:O,isLoading:B,ContentRenderer:H=ZN,TreeItemRenderer:z=qN,RightStickyAddon:K,TopRightAddon:ue,TreeTopAddon:J,resources:fe,maxLength:j,autoFocus:te,TreeItemStyle:X,TreeItemClassName:re,OverflowPadding:de,insertBorder:me,width:ye,searchItemClassName:ce,searchItemStyle:Ee,height:le=40,...se}=r,pe=A.useMemo(()=>({...hn.ATree,...fe}),[fe]),Ne=A.useCallback((rt,Tt)=>e!==void 0?Array.isArray(e)?e.every(yt=>nl.isEqual(rt[yt],Tt[yt])):nl.isEqual(rt[e],Tt[e]):nl.isEqual(rt,Tt),[e]),Ye=A.useRef(null),[we,De]=nn(i,[]),Fe=A.useMemo(()=>rl.map(we,rt=>rt),[we]),[ze,Ge]=nn(l,[]),[Le,Ae]=nn(u,[]),[be,We]=nn(f,void 0),ht=A.useCallback(rt=>{if(O||!Ge||ze.some(Mt=>Ne(Mt,rt)))return;const Tt=[];let yt=rt;for(;yt;){const Mt=yt;ze.find(vr=>Ne(vr,Mt))||Tt.push(Mt),yt=Fe.find(vr=>{var Y;return(Y=vr.children)==null?void 0:Y.some(Ue=>Ne(Ue,Mt))})}Ge([...ze,...Tt])},[ze,O,Ne,Ge,Fe]),Ct=A.useCallback(()=>{!Ge||O||Ge([...Fe])},[Fe,O,Ge]),it=A.useCallback(()=>{!Ge||O||Ge([])},[Ge,O]),Ie=A.useCallback(rt=>{!Ae||O||n!=null&&n(rt)||(Ae([rt]),ht(rt))},[Ae,O,n,ht]),Pe=A.useCallback(rt=>{if(!We||O)return;if(!rt||S){We(void 0),M||Ae==null||Ae([]);return}const Tt=rl.filter(we,Mt=>L(rt,Mt));let yt;if(Tt.find(Mt=>(be==null?void 0:be.item)&&Ne(Mt,be.item))?yt=be==null?void 0:be.item:Tt.length>0&&(yt=Tt[0]),We({keyword:rt,items:Tt,item:yt}),yt&&ht(yt),Ae&&!M)if(b)Ae(Tt);else{const Mt=Tt.find(vr=>yt&&Ne(vr,yt));Ae(Mt?[Mt]:[])}},[we,O,Ne,L,We,Ae,ht,M,S,b,be]),at=A.useRef(!1);A.useEffect(()=>{at.current=!0},[we]),A.useEffect(()=>{be&&at.current&&(Pe(be.keyword),at.current=!1)},[Pe,be]);const gt=A.useCallback(()=>{if(!be||!We||O)return;let rt=be.items.findIndex(Tt=>be.item&&Ne(Tt,be.item))-1;rt<0||(We({...be,item:be.items[rt]}),ht(be.items[rt]),M||Ie(be.items[rt]))},[be,ht,We,O,Ie,Ne,M]),wt=A.useCallback(()=>{if(!be||!We||O)return;let rt=be.items.findIndex(Tt=>be.item&&Ne(Tt,be.item))+1;rt>=be.items.length||(We({...be,item:be.items[rt]}),ht(be.items[rt]),M||Ie(be.items[rt]))},[be,ht,O,We,Ie,Ne,M]),Et=A.useCallback(()=>{if(!be||!We||O)return;let rt=be.items.findIndex(yt=>be.item&&Ne(yt,be.item));if(!M||n!=null&&n(be.items[rt])){wt();return}if(Le.some(yt=>be.item&&Ne(yt,be.item))){let yt=rt+1;const Mt=be.items[yt];if(yt>=be.items.length)return;We({...be,item:Mt}),Ie(Mt)}else Ie(be.items[rt])},[be,We,O,Le,M,wt,Ne,Ie,n]),[xt,It]=A.useState(!1),je=A.useCallback(()=>It(!0),[]),Qe=A.useCallback(()=>It(!1),[]),mt=A.useMemo(()=>n?rl.map(we,rt=>rt).filter(rt=>!n(rt)):t?rl.map(we,rt=>rt).filter(rt=>!t(rt)):rl.map(we,rt=>rt),[n,t,we]),Ft=A.useMemo(()=>!g||!b?!1:Le.length>0&&mt.length>Le.length,[g,b,Le,mt]),bt=A.useMemo(()=>!g||!b?!1:Le.length>0&&mt.length===Le.length,[g,b,Le,mt]),$e=A.useCallback(()=>{if(!Ae||!b||O)return;const rt=Le.filter(Tt=>!(n!=null&&n(Tt))&&!(t!=null&&t(Tt))&&mt.some(yt=>Ne(yt,Tt)));if(rt.length>0)Ae(Le.filter(Tt=>!rt.some(yt=>Ne(Tt,yt))));else{const Tt=mt.filter(yt=>!(n!=null&&n(yt))&&!(t!=null&&t(yt))&&!Le.some(Mt=>Ne(Mt,yt)));Tt.length>0&&Ae([...Le,...Tt])}},[b,O,n,t,Ae,Le,mt,Ne]),Lt=A.useMemo(()=>{if(!g||!b||O)return"";const rt=Le.filter(Tt=>!(n!=null&&n(Tt))&&!(t!=null&&t(Tt))&&mt.some(yt=>Ne(yt,Tt)));if(rt.length>0)return pe["deselect n"](rt.length);{const Tt=mt.filter(yt=>!(n!=null&&n(yt))&&!(t!=null&&t(yt))&&!Le.some(Mt=>Ne(Mt,yt)));return pe["select n"](Tt.length)}},[n,t,O,pe,g,b,mt,Le,Ne]),[Dt,pr]=A.useState(null),[xr,wr]=A.useState(null),ge=A.useCallback(rt=>{!_||O||pr(rt)},[O,_]),ne=A.useCallback((rt,Tt)=>{if(!_||O||!Dt||(rt.preventDefault(),rt.stopPropagation(),wr(Tt),!De))return;const yt=rl.replace(we,Dt,Tt,Ne);yt&&De(yt)},[_,we,Dt,O,De,Ne]),et=A.useCallback(()=>{if(!_||O||!Dt||!xr||!De||Ne(Dt,xr))return;const rt=rl.replace(we,Dt,xr,Ne);rt&&(De(rt),pr(null))},[_,De,we,Dt,xr,Ne,O]);A.useEffect(()=>{var rt;g||(rt=Ye.current)==null||rt.scrollTo(0,0)},[g,Ye]),A.useEffect(()=>{!b&&Le.length>1&&(Ae==null||Ae([Le[Le.length-1]]))},[b,Ae,Le]),A.useEffect(()=>{E&&(E.current={expandAll:Ct,collapseAll:it})},[E,Ct,it]),A.useEffect(()=>{if(!t||!Ae)return;const rt=Le.filter(Tt=>!t(Tt));Le.length!==rt.length&&Ae(rt)},[t,Le,Ae]),A.useEffect(()=>{if(!n||!Ae)return;const rt=Le.filter(Tt=>!n(Tt));Le.length!==rt.length&&Ae(rt)},[n,Le,Ae]),A.useEffect(()=>{We&&We(void 0)},[We]);const[ct,tt]=A.useState(!1);A.useEffect(()=>{tt(rt=>!rt)},[we]);const[Me,pt]=A.useState(null),kt=A.useCallback((rt,Tt)=>{O||(rt.stopPropagation(),rt.preventDefault(),pt(Tt))},[O]),_t=A.useCallback((rt,Tt)=>{Me===null||O||Ne(Tt,Me)&&(rt.stopPropagation(),rt.preventDefault(),pt(null))},[Me,O,Ne]),Bt=A.useRef(null),[Wt,rr]=A.useState(!1),[Ht,$t]=A.useState((nr=Bt.current)==null?void 0:nr.scrollHeight);return A.useEffect(()=>{if(ze.length<0)return;const rt=Ye.current,Tt=Bt.current,yt=rt.clientHeight<Tt.clientHeight;$t(yt?Tt.scrollHeight:rt.clientHeight),rr(yt)},[ze]),v.jsxs($r,{...se,isDisabled:O,className:Be.clsx(se.className,dn.AWrap),children:[(!S||ue)&&v.jsxs(Sn,{className:dn.ATreeHeader,children:[!S&&v.jsx(WN,{isEqual:Ne,searchResult:be,initSearch:Pe,searchUp:gt,searchDown:wt,searchEnter:Et,isLoading:B,isDisabled:O,resources:pe,maxLength:j,autoFocus:te}),!S&&ue&&v.jsx(mn,{w:8}),ue]}),(!S||ue||g&&b||_)&&v.jsx(ym,{isLoading:B&&we.length!==0}),(g&&b||_)&&v.jsxs("div",{className:Be.clsx(dn.ATreeBodyHeader,"NoSelect"),children:[g&&v.jsx(Zu,{className:dn.CheckBox,useCheck:[+bt,()=>$e()],isIndeterminate:Ft,onMouseOver:je,onMouseOut:Qe,isDisabled:O,tooltip:Lt}),pe.Items,v.jsx(Qc,{}),v.jsxs("div",{className:Be.clsx(dn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:Wt?8:0},children:[v.jsx("span",{children:g&&pe["*Click row for single select"]}),v.jsx("span",{children:_&&pe["*Change order to row drag"]})]})]}),v.jsx("div",{ref:Ye,className:Be.clsx(se.className,dn.AContainer),children:v.jsxs("div",{className:dn.ATree,style:{minWidth:ye||"fit-content",marginRight:de&&Wt?8:0},children:[v.jsxs("div",{ref:Bt,className:dn.ATreeBody,children:[we.length===0?B?v.jsx(YN,{text:pe["Loading Contents..."]}):x:J,we.map((rt,Tt)=>v.jsx(z,{isEqual:Ne,indents:[],extIndents:w,item:rt,selectDisabled:t,selectUnused:n,isParentDisabled:O,useExpand:[ze,Ge],useSelect:[Le,Ae],useSearch:[be,We],onDragStart:ge,onDragOver:ne,onDragEnd:et,showCheckbox:g,icons:R,iconWidth:m,isSelectMulti:b,isDraggable:_,isParentCheckHovered:b&&xt,ContentRenderer:H,TreeItemRenderer:z,RightStickyAddon:K,resources:pe,containerRef:Ye,TreeItemStyle:X,TreeItemClassName:re,hoverdItem:Me,onMouseOver:kt,onMouseLeave:_t,searchItemClassName:ce,searchItemStyle:Ee,height:le},`${Tt}${ct}`))]}),me&&v.jsxs(v.Fragment,{children:[v.jsx("div",{className:dn.CoverBorder}),v.jsx("div",{className:dn.InsertBorder,style:{"--InsertBorder_height":`${le}px`,height:Wt?Ht:"100%"}})]})]})})]})},ZN=r=>{const{item:e}=r,t={};return er.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function KN(r,e){return er.some(e,(t,n)=>{var i;return(i=er.stringify(n))==null?void 0:i.toLowerCase().includes(r.toLowerCase())})}const YN=r=>{const{text:e}=r;return v.jsxs(Sn,{className:Be.clsx(dn.Loader,"NoSelect"),children:[v.jsx(jr,{icon:"Spinner",style:{height:40},height:40,width:40}),v.jsx(G2,{text:e})]})};var Kg,Jb;function nf(){return Jb||(Jb=1,Kg=TypeError),Kg}const XN={},JN=Object.freeze(Object.defineProperty({__proto__:null,default:XN},Symbol.toStringTag,{value:"Module"})),QN=i4(JN);var Yg,Qb;function wh(){if(Qb)return Yg;Qb=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,i=typeof Set=="function"&&Set.prototype,l=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=i&&l&&typeof l.get=="function"?l.get:null,f=i&&Set.prototype.forEach,g=typeof WeakMap=="function"&&WeakMap.prototype,m=g?WeakMap.prototype.has:null,R=typeof WeakSet=="function"&&WeakSet.prototype,w=R?WeakSet.prototype.has:null,b=typeof WeakRef=="function"&&WeakRef.prototype,S=b?WeakRef.prototype.deref:null,_=Boolean.prototype.valueOf,M=Object.prototype.toString,E=Function.prototype.toString,x=String.prototype.match,L=String.prototype.slice,O=String.prototype.replace,B=String.prototype.toUpperCase,H=String.prototype.toLowerCase,z=RegExp.prototype.test,K=Array.prototype.concat,ue=Array.prototype.join,J=Array.prototype.slice,fe=Math.floor,j=typeof BigInt=="function"?BigInt.prototype.valueOf:null,te=Object.getOwnPropertySymbols,X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,re=typeof Symbol=="function"&&typeof Symbol.iterator=="object",de=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===re||!0)?Symbol.toStringTag:null,me=Object.prototype.propertyIsEnumerable,ye=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ge){return ge.__proto__}:null);function ce(ge,ne){if(ge===1/0||ge===-1/0||ge!==ge||ge&&ge>-1e3&&ge<1e3||z.call(/e/,ne))return ne;var et=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ge=="number"){var ct=ge<0?-fe(-ge):fe(ge);if(ct!==ge){var tt=String(ct),Me=L.call(ne,tt.length+1);return O.call(tt,et,"$&_")+"."+O.call(O.call(Me,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(ne,et,"$&_")}var Ee=QN,le=Ee.custom,se=ht(le)?le:null,pe={__proto__:null,double:'"',single:"'"},Ne={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Yg=function ge(ne,et,ct,tt){var Me=et||{};if(Ie(Me,"quoteStyle")&&!Ie(pe,Me.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ie(Me,"maxStringLength")&&(typeof Me.maxStringLength=="number"?Me.maxStringLength<0&&Me.maxStringLength!==1/0:Me.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var pt=Ie(Me,"customInspect")?Me.customInspect:!0;if(typeof pt!="boolean"&&pt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ie(Me,"indent")&&Me.indent!==null&&Me.indent!==" "&&!(parseInt(Me.indent,10)===Me.indent&&Me.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ie(Me,"numericSeparator")&&typeof Me.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var kt=Me.numericSeparator;if(typeof ne>"u")return"undefined";if(ne===null)return"null";if(typeof ne=="boolean")return ne?"true":"false";if(typeof ne=="string")return mt(ne,Me);if(typeof ne=="number"){if(ne===0)return 1/0/ne>0?"0":"-0";var _t=String(ne);return kt?ce(ne,_t):_t}if(typeof ne=="bigint"){var Bt=String(ne)+"n";return kt?ce(ne,Bt):Bt}var Wt=typeof Me.depth>"u"?5:Me.depth;if(typeof ct>"u"&&(ct=0),ct>=Wt&&Wt>0&&typeof ne=="object")return Fe(ne)?"[Array]":"[Object]";var rr=pr(Me,ct);if(typeof tt>"u")tt=[];else if(gt(tt,ne)>=0)return"[Circular]";function Ht(or,fr,Ur){if(fr&&(tt=J.call(tt),tt.push(fr)),Ur){var yr={depth:Me.depth};return Ie(Me,"quoteStyle")&&(yr.quoteStyle=Me.quoteStyle),ge(or,yr,ct+1,tt)}return ge(or,Me,ct+1,tt)}if(typeof ne=="function"&&!Ge(ne)){var $t=at(ne),nr=wr(ne,Ht);return"[Function"+($t?": "+$t:" (anonymous)")+"]"+(nr.length>0?" { "+ue.call(nr,", ")+" }":"")}if(ht(ne)){var rt=re?O.call(String(ne),/^(Symbol\(.*\))_[^)]*$/,"$1"):X.call(ne);return typeof ne=="object"&&!re?bt(rt):rt}if(Qe(ne)){for(var Tt="<"+H.call(String(ne.nodeName)),yt=ne.attributes||[],Mt=0;Mt<yt.length;Mt++)Tt+=" "+yt[Mt].name+"="+Ye(we(yt[Mt].value),"double",Me);return Tt+=">",ne.childNodes&&ne.childNodes.length&&(Tt+="..."),Tt+="</"+H.call(String(ne.nodeName))+">",Tt}if(Fe(ne)){if(ne.length===0)return"[]";var vr=wr(ne,Ht);return rr&&!Dt(vr)?"["+xr(vr,rr)+"]":"[ "+ue.call(vr,", ")+" ]"}if(Le(ne)){var Y=wr(ne,Ht);return!("cause"in Error.prototype)&&"cause"in ne&&!me.call(ne,"cause")?"{ ["+String(ne)+"] "+ue.call(K.call("[cause]: "+Ht(ne.cause),Y),", ")+" }":Y.length===0?"["+String(ne)+"]":"{ ["+String(ne)+"] "+ue.call(Y,", ")+" }"}if(typeof ne=="object"&&pt){if(se&&typeof ne[se]=="function"&&Ee)return Ee(ne,{depth:Wt-ct});if(pt!=="symbol"&&typeof ne.inspect=="function")return ne.inspect()}if(wt(ne)){var Ue=[];return n&&n.call(ne,function(or,fr){Ue.push(Ht(fr,ne,!0)+" => "+Ht(or,ne))}),Lt("Map",t.call(ne),Ue,rr)}if(It(ne)){var ke=[];return f&&f.call(ne,function(or){ke.push(Ht(or,ne))}),Lt("Set",u.call(ne),ke,rr)}if(Et(ne))return $e("WeakMap");if(je(ne))return $e("WeakSet");if(xt(ne))return $e("WeakRef");if(be(ne))return bt(Ht(Number(ne)));if(Ct(ne))return bt(Ht(j.call(ne)));if(We(ne))return bt(_.call(ne));if(Ae(ne))return bt(Ht(String(ne)));if(typeof window<"u"&&ne===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ne===globalThis||typeof bi<"u"&&ne===bi)return"{ [object globalThis] }";if(!ze(ne)&&!Ge(ne)){var Ze=wr(ne,Ht),St=ye?ye(ne)===Object.prototype:ne instanceof Object||ne.constructor===Object,jt=ne instanceof Object?"":"null prototype",At=!St&&de&&Object(ne)===ne&&de in ne?L.call(Pe(ne),8,-1):jt?"Object":"",qt=St||typeof ne.constructor!="function"?"":ne.constructor.name?ne.constructor.name+" ":"",ir=qt+(At||jt?"["+ue.call(K.call([],At||[],jt||[]),": ")+"] ":"");return Ze.length===0?ir+"{}":rr?ir+"{"+xr(Ze,rr)+"}":ir+"{ "+ue.call(Ze,", ")+" }"}return String(ne)};function Ye(ge,ne,et){var ct=et.quoteStyle||ne,tt=pe[ct];return tt+ge+tt}function we(ge){return O.call(String(ge),/"/g,""")}function De(ge){return!de||!(typeof ge=="object"&&(de in ge||typeof ge[de]<"u"))}function Fe(ge){return Pe(ge)==="[object Array]"&&De(ge)}function ze(ge){return Pe(ge)==="[object Date]"&&De(ge)}function Ge(ge){return Pe(ge)==="[object RegExp]"&&De(ge)}function Le(ge){return Pe(ge)==="[object Error]"&&De(ge)}function Ae(ge){return Pe(ge)==="[object String]"&&De(ge)}function be(ge){return Pe(ge)==="[object Number]"&&De(ge)}function We(ge){return Pe(ge)==="[object Boolean]"&&De(ge)}function ht(ge){if(re)return ge&&typeof ge=="object"&&ge instanceof Symbol;if(typeof ge=="symbol")return!0;if(!ge||typeof ge!="object"||!X)return!1;try{return X.call(ge),!0}catch{}return!1}function Ct(ge){if(!ge||typeof ge!="object"||!j)return!1;try{return j.call(ge),!0}catch{}return!1}var it=Object.prototype.hasOwnProperty||function(ge){return ge in this};function Ie(ge,ne){return it.call(ge,ne)}function Pe(ge){return M.call(ge)}function at(ge){if(ge.name)return ge.name;var ne=x.call(E.call(ge),/^function\s*([\w$]+)/);return ne?ne[1]:null}function gt(ge,ne){if(ge.indexOf)return ge.indexOf(ne);for(var et=0,ct=ge.length;et<ct;et++)if(ge[et]===ne)return et;return-1}function wt(ge){if(!t||!ge||typeof ge!="object")return!1;try{t.call(ge);try{u.call(ge)}catch{return!0}return ge instanceof Map}catch{}return!1}function Et(ge){if(!m||!ge||typeof ge!="object")return!1;try{m.call(ge,m);try{w.call(ge,w)}catch{return!0}return ge instanceof WeakMap}catch{}return!1}function xt(ge){if(!S||!ge||typeof ge!="object")return!1;try{return S.call(ge),!0}catch{}return!1}function It(ge){if(!u||!ge||typeof ge!="object")return!1;try{u.call(ge);try{t.call(ge)}catch{return!0}return ge instanceof Set}catch{}return!1}function je(ge){if(!w||!ge||typeof ge!="object")return!1;try{w.call(ge,w);try{m.call(ge,m)}catch{return!0}return ge instanceof WeakSet}catch{}return!1}function Qe(ge){return!ge||typeof ge!="object"?!1:typeof HTMLElement<"u"&&ge instanceof HTMLElement?!0:typeof ge.nodeName=="string"&&typeof ge.getAttribute=="function"}function mt(ge,ne){if(ge.length>ne.maxStringLength){var et=ge.length-ne.maxStringLength,ct="... "+et+" more character"+(et>1?"s":"");return mt(L.call(ge,0,ne.maxStringLength),ne)+ct}var tt=Ne[ne.quoteStyle||"single"];tt.lastIndex=0;var Me=O.call(O.call(ge,tt,"\\$1"),/[\x00-\x1f]/g,Ft);return Ye(Me,"single",ne)}function Ft(ge){var ne=ge.charCodeAt(0),et={8:"b",9:"t",10:"n",12:"f",13:"r"}[ne];return et?"\\"+et:"\\x"+(ne<16?"0":"")+B.call(ne.toString(16))}function bt(ge){return"Object("+ge+")"}function $e(ge){return ge+" { ? }"}function Lt(ge,ne,et,ct){var tt=ct?xr(et,ct):ue.call(et,", ");return ge+" ("+ne+") {"+tt+"}"}function Dt(ge){for(var ne=0;ne<ge.length;ne++)if(gt(ge[ne],`
|
356
|
+
`)>=0)return!1;return!0}function pr(ge,ne){var et;if(ge.indent===" ")et=" ";else if(typeof ge.indent=="number"&&ge.indent>0)et=ue.call(Array(ge.indent+1)," ");else return null;return{base:et,prev:ue.call(Array(ne+1),et)}}function xr(ge,ne){if(ge.length===0)return"";var et=`
|
357
|
+
`+ne.prev+ne.base;return et+ue.call(ge,","+et)+`
|
358
|
+
`+ne.prev}function wr(ge,ne){var et=Fe(ge),ct=[];if(et){ct.length=ge.length;for(var tt=0;tt<ge.length;tt++)ct[tt]=Ie(ge,tt)?ne(ge[tt],ge):""}var Me=typeof te=="function"?te(ge):[],pt;if(re){pt={};for(var kt=0;kt<Me.length;kt++)pt["$"+Me[kt]]=Me[kt]}for(var _t in ge)Ie(ge,_t)&&(et&&String(Number(_t))===_t&&_t<ge.length||re&&pt["$"+_t]instanceof Symbol||(z.call(/[^\w$]/,_t)?ct.push(ne(_t,ge)+": "+ne(ge[_t],ge)):ct.push(_t+": "+ne(ge[_t],ge))));if(typeof te=="function")for(var Bt=0;Bt<Me.length;Bt++)me.call(ge,Me[Bt])&&ct.push("["+ne(Me[Bt])+"]: "+ne(ge[Me[Bt]],ge));return ct}return Yg}var Xg,e_;function eF(){if(e_)return Xg;e_=1;var r=wh(),e=nf(),t=function(f,g,m){for(var R=f,w;(w=R.next)!=null;R=w)if(w.key===g)return R.next=w.next,m||(w.next=f.next,f.next=w),w},n=function(f,g){if(f){var m=t(f,g);return m&&m.value}},i=function(f,g,m){var R=t(f,g);R?R.value=m:f.next={key:g,next:f.next,value:m}},l=function(f,g){return f?!!t(f,g):!1},u=function(f,g){if(f)return t(f,g,!0)};return Xg=function(){var g,m={assert:function(R){if(!m.has(R))throw new e("Side channel does not contain "+r(R))},delete:function(R){var w=g&&g.next,b=u(g,R);return b&&w&&w===b&&(g=void 0),!!b},get:function(R){return n(g,R)},has:function(R){return l(g,R)},set:function(R,w){g||(g={next:void 0}),i(g,R,w)}};return m},Xg}var Jg,t_;function gS(){return t_||(t_=1,Jg=Object),Jg}var Qg,r_;function tF(){return r_||(r_=1,Qg=Error),Qg}var e1,n_;function rF(){return n_||(n_=1,e1=EvalError),e1}var t1,i_;function nF(){return i_||(i_=1,t1=RangeError),t1}var r1,o_;function iF(){return o_||(o_=1,r1=ReferenceError),r1}var n1,s_;function oF(){return s_||(s_=1,n1=SyntaxError),n1}var i1,a_;function sF(){return a_||(a_=1,i1=URIError),i1}var o1,l_;function aF(){return l_||(l_=1,o1=Math.abs),o1}var s1,c_;function lF(){return c_||(c_=1,s1=Math.floor),s1}var a1,u_;function cF(){return u_||(u_=1,a1=Math.max),a1}var l1,f_;function uF(){return f_||(f_=1,l1=Math.min),l1}var c1,d_;function fF(){return d_||(d_=1,c1=Math.pow),c1}var u1,h_;function dF(){return h_||(h_=1,u1=Math.round),u1}var f1,p_;function hF(){return p_||(p_=1,f1=Number.isNaN||function(e){return e!==e}),f1}var d1,g_;function pF(){if(g_)return d1;g_=1;var r=hF();return d1=function(t){return r(t)||t===0?t:t<0?-1:1},d1}var h1,m_;function gF(){return m_||(m_=1,h1=Object.getOwnPropertyDescriptor),h1}var p1,v_;function mS(){if(v_)return p1;v_=1;var r=gF();if(r)try{r([],"length")}catch{r=null}return p1=r,p1}var g1,y_;function mF(){if(y_)return g1;y_=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return g1=r,g1}var m1,b_;function vF(){return b_||(b_=1,m1=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 i=42;e[t]=i;for(var l 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 u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,t);if(f.value!==i||f.enumerable!==!0)return!1}return!0}),m1}var v1,__;function yF(){if(__)return v1;__=1;var r=typeof Symbol<"u"&&Symbol,e=vF();return v1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},v1}var y1,x_;function vS(){return x_||(x_=1,y1=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),y1}var b1,S_;function yS(){if(S_)return b1;S_=1;var r=gS();return b1=r.getPrototypeOf||null,b1}var _1,C_;function bF(){if(C_)return _1;C_=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(g,m){for(var R=[],w=0;w<g.length;w+=1)R[w]=g[w];for(var b=0;b<m.length;b+=1)R[b+g.length]=m[b];return R},l=function(g,m){for(var R=[],w=m,b=0;w<g.length;w+=1,b+=1)R[b]=g[w];return R},u=function(f,g){for(var m="",R=0;R<f.length;R+=1)m+=f[R],R+1<f.length&&(m+=g);return m};return _1=function(g){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var R=l(arguments,1),w,b=function(){if(this instanceof w){var x=m.apply(this,i(R,arguments));return Object(x)===x?x:this}return m.apply(g,i(R,arguments))},S=t(0,m.length-R.length),_=[],M=0;M<S;M++)_[M]="$"+M;if(w=Function("binder","return function ("+u(_,",")+"){ return binder.apply(this,arguments); }")(b),m.prototype){var E=function(){};E.prototype=m.prototype,w.prototype=new E,E.prototype=null}return w},_1}var x1,w_;function Ah(){if(w_)return x1;w_=1;var r=bF();return x1=Function.prototype.bind||r,x1}var S1,A_;function Um(){return A_||(A_=1,S1=Function.prototype.call),S1}var C1,T_;function bS(){return T_||(T_=1,C1=Function.prototype.apply),C1}var w1,E_;function _F(){return E_||(E_=1,w1=typeof Reflect<"u"&&Reflect&&Reflect.apply),w1}var A1,k_;function xF(){if(k_)return A1;k_=1;var r=Ah(),e=bS(),t=Um(),n=_F();return A1=n||r.call(t,e),A1}var T1,R_;function _S(){if(R_)return T1;R_=1;var r=Ah(),e=nf(),t=Um(),n=xF();return T1=function(l){if(l.length<1||typeof l[0]!="function")throw new e("a function is required");return n(r,t,l)},T1}var E1,I_;function SF(){if(I_)return E1;I_=1;var r=_S(),e=mS(),t;try{t=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var n=!!t&&e&&e(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;return E1=n&&typeof n.get=="function"?r([n.get]):typeof l=="function"?function(f){return l(f==null?f:i(f))}:!1,E1}var k1,L_;function CF(){if(L_)return k1;L_=1;var r=vS(),e=yS(),t=SF();return k1=r?function(i){return r(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:t?function(i){return t(i)}:null,k1}var R1,M_;function wF(){if(M_)return R1;M_=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Ah();return R1=t.call(r,e),R1}var I1,D_;function Wm(){if(D_)return I1;D_=1;var r,e=gS(),t=tF(),n=rF(),i=nF(),l=iF(),u=oF(),f=nf(),g=sF(),m=aF(),R=lF(),w=cF(),b=uF(),S=fF(),_=dF(),M=pF(),E=Function,x=function(Ge){try{return E('"use strict"; return ('+Ge+").constructor;")()}catch{}},L=mS(),O=mF(),B=function(){throw new f},H=L?function(){try{return arguments.callee,B}catch{try{return L(arguments,"callee").get}catch{return B}}}():B,z=yF()(),K=CF(),ue=yS(),J=vS(),fe=bS(),j=Um(),te={},X=typeof Uint8Array>"u"||!K?r:K(Uint8Array),re={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":z&&K?K([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":te,"%AsyncGenerator%":te,"%AsyncGeneratorFunction%":te,"%AsyncIteratorPrototype%":te,"%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%":E,"%GeneratorFunction%":te,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":z&&K?K(K([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!z||!K?r:K(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":L,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!z||!K?r:K(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z&&K?K(""[Symbol.iterator]()):r,"%Symbol%":z?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":H,"%TypedArray%":X,"%TypeError%":f,"%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%":g,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":fe,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":ue,"%Math.abs%":m,"%Math.floor%":R,"%Math.max%":w,"%Math.min%":b,"%Math.pow%":S,"%Math.round%":_,"%Math.sign%":M,"%Reflect.getPrototypeOf%":J};if(K)try{null.error}catch(Ge){var de=K(K(Ge));re["%Error.prototype%"]=de}var me=function Ge(Le){var Ae;if(Le==="%AsyncFunction%")Ae=x("async function () {}");else if(Le==="%GeneratorFunction%")Ae=x("function* () {}");else if(Le==="%AsyncGeneratorFunction%")Ae=x("async function* () {}");else if(Le==="%AsyncGenerator%"){var be=Ge("%AsyncGeneratorFunction%");be&&(Ae=be.prototype)}else if(Le==="%AsyncIteratorPrototype%"){var We=Ge("%AsyncGenerator%");We&&K&&(Ae=K(We.prototype))}return re[Le]=Ae,Ae},ye={__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"]},ce=Ah(),Ee=wF(),le=ce.call(j,Array.prototype.concat),se=ce.call(fe,Array.prototype.splice),pe=ce.call(j,String.prototype.replace),Ne=ce.call(j,String.prototype.slice),Ye=ce.call(j,RegExp.prototype.exec),we=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,De=/\\(\\)?/g,Fe=function(Le){var Ae=Ne(Le,0,1),be=Ne(Le,-1);if(Ae==="%"&&be!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(be==="%"&&Ae!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var We=[];return pe(Le,we,function(ht,Ct,it,Ie){We[We.length]=it?pe(Ie,De,"$1"):Ct||ht}),We},ze=function(Le,Ae){var be=Le,We;if(Ee(ye,be)&&(We=ye[be],be="%"+We[0]+"%"),Ee(re,be)){var ht=re[be];if(ht===te&&(ht=me(be)),typeof ht>"u"&&!Ae)throw new f("intrinsic "+Le+" exists, but is not available. Please file an issue!");return{alias:We,name:be,value:ht}}throw new u("intrinsic "+Le+" does not exist!")};return I1=function(Le,Ae){if(typeof Le!="string"||Le.length===0)throw new f("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ae!="boolean")throw new f('"allowMissing" argument must be a boolean');if(Ye(/^%?[^%]*%?$/,Le)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var be=Fe(Le),We=be.length>0?be[0]:"",ht=ze("%"+We+"%",Ae),Ct=ht.name,it=ht.value,Ie=!1,Pe=ht.alias;Pe&&(We=Pe[0],se(be,le([0,1],Pe)));for(var at=1,gt=!0;at<be.length;at+=1){var wt=be[at],Et=Ne(wt,0,1),xt=Ne(wt,-1);if((Et==='"'||Et==="'"||Et==="`"||xt==='"'||xt==="'"||xt==="`")&&Et!==xt)throw new u("property names with quotes must have matching quotes");if((wt==="constructor"||!gt)&&(Ie=!0),We+="."+wt,Ct="%"+We+"%",Ee(re,Ct))it=re[Ct];else if(it!=null){if(!(wt in it)){if(!Ae)throw new f("base intrinsic for "+Le+" exists, but the property is not available.");return}if(L&&at+1>=be.length){var It=L(it,wt);gt=!!It,gt&&"get"in It&&!("originalValue"in It.get)?it=It.get:it=it[wt]}else gt=Ee(it,wt),it=it[wt];gt&&!Ie&&(re[Ct]=it)}}return it},I1}var L1,O_;function xS(){if(O_)return L1;O_=1;var r=Wm(),e=_S(),t=e([r("%String.prototype.indexOf%")]);return L1=function(i,l){var u=r(i,!!l);return typeof u=="function"&&t(i,".prototype.")>-1?e([u]):u},L1}var M1,P_;function SS(){if(P_)return M1;P_=1;var r=Wm(),e=xS(),t=wh(),n=nf(),i=r("%Map%",!0),l=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),f=e("Map.prototype.has",!0),g=e("Map.prototype.delete",!0),m=e("Map.prototype.size",!0);return M1=!!i&&function(){var w,b={assert:function(S){if(!b.has(S))throw new n("Side channel does not contain "+t(S))},delete:function(S){if(w){var _=g(w,S);return m(w)===0&&(w=void 0),_}return!1},get:function(S){if(w)return l(w,S)},has:function(S){return w?f(w,S):!1},set:function(S,_){w||(w=new i),u(w,S,_)}};return b},M1}var D1,N_;function AF(){if(N_)return D1;N_=1;var r=Wm(),e=xS(),t=wh(),n=SS(),i=nf(),l=r("%WeakMap%",!0),u=e("WeakMap.prototype.get",!0),f=e("WeakMap.prototype.set",!0),g=e("WeakMap.prototype.has",!0),m=e("WeakMap.prototype.delete",!0);return D1=l?function(){var w,b,S={assert:function(_){if(!S.has(_))throw new i("Side channel does not contain "+t(_))},delete:function(_){if(l&&_&&(typeof _=="object"||typeof _=="function")){if(w)return m(w,_)}else if(n&&b)return b.delete(_);return!1},get:function(_){return l&&_&&(typeof _=="object"||typeof _=="function")&&w?u(w,_):b&&b.get(_)},has:function(_){return l&&_&&(typeof _=="object"||typeof _=="function")&&w?g(w,_):!!b&&b.has(_)},set:function(_,M){l&&_&&(typeof _=="object"||typeof _=="function")?(w||(w=new l),f(w,_,M)):n&&(b||(b=n()),b.set(_,M))}};return S}:n,D1}var O1,F_;function TF(){if(F_)return O1;F_=1;var r=nf(),e=wh(),t=eF(),n=SS(),i=AF(),l=i||n||t;return O1=function(){var f,g={assert:function(m){if(!g.has(m))throw new r("Side channel does not contain "+e(m))},delete:function(m){return!!f&&f.delete(m)},get:function(m){return f&&f.get(m)},has:function(m){return!!f&&f.has(m)},set:function(m,R){f||(f=l()),f.set(m,R)}};return g},O1}var P1,j_;function Vm(){if(j_)return P1;j_=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return P1={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},P1}var N1,B_;function CS(){if(B_)return N1;B_=1;var r=Vm(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var E=[],x=0;x<256;++x)E.push("%"+((x<16?"0":"")+x.toString(16)).toUpperCase());return E}(),i=function(x){for(;x.length>1;){var L=x.pop(),O=L.obj[L.prop];if(t(O)){for(var B=[],H=0;H<O.length;++H)typeof O[H]<"u"&&B.push(O[H]);L.obj[L.prop]=B}}},l=function(x,L){for(var O=L&&L.plainObjects?{__proto__:null}:{},B=0;B<x.length;++B)typeof x[B]<"u"&&(O[B]=x[B]);return O},u=function E(x,L,O){if(!L)return x;if(typeof L!="object"&&typeof L!="function"){if(t(x))x.push(L);else if(x&&typeof x=="object")(O&&(O.plainObjects||O.allowPrototypes)||!e.call(Object.prototype,L))&&(x[L]=!0);else return[x,L];return x}if(!x||typeof x!="object")return[x].concat(L);var B=x;return t(x)&&!t(L)&&(B=l(x,O)),t(x)&&t(L)?(L.forEach(function(H,z){if(e.call(x,z)){var K=x[z];K&&typeof K=="object"&&H&&typeof H=="object"?x[z]=E(K,H,O):x.push(H)}else x[z]=H}),x):Object.keys(L).reduce(function(H,z){var K=L[z];return e.call(H,z)?H[z]=E(H[z],K,O):H[z]=K,H},B)},f=function(x,L){return Object.keys(L).reduce(function(O,B){return O[B]=L[B],O},x)},g=function(E,x,L){var O=E.replace(/\+/g," ");if(L==="iso-8859-1")return O.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(O)}catch{return O}},m=1024,R=function(x,L,O,B,H){if(x.length===0)return x;var z=x;if(typeof x=="symbol"?z=Symbol.prototype.toString.call(x):typeof x!="string"&&(z=String(x)),O==="iso-8859-1")return escape(z).replace(/%u[0-9a-f]{4}/gi,function(X){return"%26%23"+parseInt(X.slice(2),16)+"%3B"});for(var K="",ue=0;ue<z.length;ue+=m){for(var J=z.length>=m?z.slice(ue,ue+m):z,fe=[],j=0;j<J.length;++j){var te=J.charCodeAt(j);if(te===45||te===46||te===95||te===126||te>=48&&te<=57||te>=65&&te<=90||te>=97&&te<=122||H===r.RFC1738&&(te===40||te===41)){fe[fe.length]=J.charAt(j);continue}if(te<128){fe[fe.length]=n[te];continue}if(te<2048){fe[fe.length]=n[192|te>>6]+n[128|te&63];continue}if(te<55296||te>=57344){fe[fe.length]=n[224|te>>12]+n[128|te>>6&63]+n[128|te&63];continue}j+=1,te=65536+((te&1023)<<10|J.charCodeAt(j)&1023),fe[fe.length]=n[240|te>>18]+n[128|te>>12&63]+n[128|te>>6&63]+n[128|te&63]}K+=fe.join("")}return K},w=function(x){for(var L=[{obj:{o:x},prop:"o"}],O=[],B=0;B<L.length;++B)for(var H=L[B],z=H.obj[H.prop],K=Object.keys(z),ue=0;ue<K.length;++ue){var J=K[ue],fe=z[J];typeof fe=="object"&&fe!==null&&O.indexOf(fe)===-1&&(L.push({obj:z,prop:J}),O.push(fe))}return i(L),x},b=function(x){return Object.prototype.toString.call(x)==="[object RegExp]"},S=function(x){return!x||typeof x!="object"?!1:!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))},_=function(x,L){return[].concat(x,L)},M=function(x,L){if(t(x)){for(var O=[],B=0;B<x.length;B+=1)O.push(L(x[B]));return O}return L(x)};return N1={arrayToObject:l,assign:f,combine:_,compact:w,decode:g,encode:R,isBuffer:S,isRegExp:b,maybeMap:M,merge:u},N1}var F1,H_;function EF(){if(H_)return F1;H_=1;var r=TF(),e=CS(),t=Vm(),n=Object.prototype.hasOwnProperty,i={brackets:function(E){return E+"[]"},comma:"comma",indices:function(E,x){return E+"["+x+"]"},repeat:function(E){return E}},l=Array.isArray,u=Array.prototype.push,f=function(M,E){u.apply(M,l(E)?E:[E])},g=Date.prototype.toISOString,m=t.default,R={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:m,formatter:t.formatters[m],indices:!1,serializeDate:function(E){return g.call(E)},skipNulls:!1,strictNullHandling:!1},w=function(E){return typeof E=="string"||typeof E=="number"||typeof E=="boolean"||typeof E=="symbol"||typeof E=="bigint"},b={},S=function M(E,x,L,O,B,H,z,K,ue,J,fe,j,te,X,re,de,me,ye){for(var ce=E,Ee=ye,le=0,se=!1;(Ee=Ee.get(b))!==void 0&&!se;){var pe=Ee.get(E);if(le+=1,typeof pe<"u"){if(pe===le)throw new RangeError("Cyclic object value");se=!0}typeof Ee.get(b)>"u"&&(le=0)}if(typeof J=="function"?ce=J(x,ce):ce instanceof Date?ce=te(ce):L==="comma"&&l(ce)&&(ce=e.maybeMap(ce,function(Ct){return Ct instanceof Date?te(Ct):Ct})),ce===null){if(H)return ue&&!de?ue(x,R.encoder,me,"key",X):x;ce=""}if(w(ce)||e.isBuffer(ce)){if(ue){var Ne=de?x:ue(x,R.encoder,me,"key",X);return[re(Ne)+"="+re(ue(ce,R.encoder,me,"value",X))]}return[re(x)+"="+re(String(ce))]}var Ye=[];if(typeof ce>"u")return Ye;var we;if(L==="comma"&&l(ce))de&&ue&&(ce=e.maybeMap(ce,ue)),we=[{value:ce.length>0?ce.join(",")||null:void 0}];else if(l(J))we=J;else{var De=Object.keys(ce);we=fe?De.sort(fe):De}var Fe=K?String(x).replace(/\./g,"%2E"):String(x),ze=O&&l(ce)&&ce.length===1?Fe+"[]":Fe;if(B&&l(ce)&&ce.length===0)return ze+"[]";for(var Ge=0;Ge<we.length;++Ge){var Le=we[Ge],Ae=typeof Le=="object"&&Le&&typeof Le.value<"u"?Le.value:ce[Le];if(!(z&&Ae===null)){var be=j&&K?String(Le).replace(/\./g,"%2E"):String(Le),We=l(ce)?typeof L=="function"?L(ze,be):ze:ze+(j?"."+be:"["+be+"]");ye.set(E,le);var ht=r();ht.set(b,ye),f(Ye,M(Ae,We,L,O,B,H,z,K,L==="comma"&&de&&l(ce)?null:ue,J,fe,j,te,X,re,de,me,ht))}}return Ye},_=function(E){if(!E)return R;if(typeof E.allowEmptyArrays<"u"&&typeof E.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof E.encodeDotInKeys<"u"&&typeof E.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(E.encoder!==null&&typeof E.encoder<"u"&&typeof E.encoder!="function")throw new TypeError("Encoder has to be a function.");var x=E.charset||R.charset;if(typeof E.charset<"u"&&E.charset!=="utf-8"&&E.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var L=t.default;if(typeof E.format<"u"){if(!n.call(t.formatters,E.format))throw new TypeError("Unknown format option provided.");L=E.format}var O=t.formatters[L],B=R.filter;(typeof E.filter=="function"||l(E.filter))&&(B=E.filter);var H;if(E.arrayFormat in i?H=E.arrayFormat:"indices"in E?H=E.indices?"indices":"repeat":H=R.arrayFormat,"commaRoundTrip"in E&&typeof E.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var z=typeof E.allowDots>"u"?E.encodeDotInKeys===!0?!0:R.allowDots:!!E.allowDots;return{addQueryPrefix:typeof E.addQueryPrefix=="boolean"?E.addQueryPrefix:R.addQueryPrefix,allowDots:z,allowEmptyArrays:typeof E.allowEmptyArrays=="boolean"?!!E.allowEmptyArrays:R.allowEmptyArrays,arrayFormat:H,charset:x,charsetSentinel:typeof E.charsetSentinel=="boolean"?E.charsetSentinel:R.charsetSentinel,commaRoundTrip:!!E.commaRoundTrip,delimiter:typeof E.delimiter>"u"?R.delimiter:E.delimiter,encode:typeof E.encode=="boolean"?E.encode:R.encode,encodeDotInKeys:typeof E.encodeDotInKeys=="boolean"?E.encodeDotInKeys:R.encodeDotInKeys,encoder:typeof E.encoder=="function"?E.encoder:R.encoder,encodeValuesOnly:typeof E.encodeValuesOnly=="boolean"?E.encodeValuesOnly:R.encodeValuesOnly,filter:B,format:L,formatter:O,serializeDate:typeof E.serializeDate=="function"?E.serializeDate:R.serializeDate,skipNulls:typeof E.skipNulls=="boolean"?E.skipNulls:R.skipNulls,sort:typeof E.sort=="function"?E.sort:null,strictNullHandling:typeof E.strictNullHandling=="boolean"?E.strictNullHandling:R.strictNullHandling}};return F1=function(M,E){var x=M,L=_(E),O,B;typeof L.filter=="function"?(B=L.filter,x=B("",x)):l(L.filter)&&(B=L.filter,O=B);var H=[];if(typeof x!="object"||x===null)return"";var z=i[L.arrayFormat],K=z==="comma"&&L.commaRoundTrip;O||(O=Object.keys(x)),L.sort&&O.sort(L.sort);for(var ue=r(),J=0;J<O.length;++J){var fe=O[J],j=x[fe];L.skipNulls&&j===null||f(H,S(j,fe,z,K,L.allowEmptyArrays,L.strictNullHandling,L.skipNulls,L.encodeDotInKeys,L.encode?L.encoder:null,L.filter,L.sort,L.allowDots,L.serializeDate,L.format,L.formatter,L.encodeValuesOnly,L.charset,ue))}var te=H.join(L.delimiter),X=L.addQueryPrefix===!0?"?":"";return L.charsetSentinel&&(L.charset==="iso-8859-1"?X+="utf8=%26%2310003%3B&":X+="utf8=%E2%9C%93&"),te.length>0?X+te:""},F1}var j1,q_;function kF(){if(q_)return j1;q_=1;var r=CS(),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},i=function(b){return b.replace(/&#(\d+);/g,function(S,_){return String.fromCharCode(parseInt(_,10))})},l=function(b,S,_){if(b&&typeof b=="string"&&S.comma&&b.indexOf(",")>-1)return b.split(",");if(S.throwOnLimitExceeded&&_>=S.arrayLimit)throw new RangeError("Array limit exceeded. Only "+S.arrayLimit+" element"+(S.arrayLimit===1?"":"s")+" allowed in an array.");return b},u="utf8=%26%2310003%3B",f="utf8=%E2%9C%93",g=function(S,_){var M={__proto__:null},E=_.ignoreQueryPrefix?S.replace(/^\?/,""):S;E=E.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var x=_.parameterLimit===1/0?void 0:_.parameterLimit,L=E.split(_.delimiter,_.throwOnLimitExceeded?x+1:x);if(_.throwOnLimitExceeded&&L.length>x)throw new RangeError("Parameter limit exceeded. Only "+x+" parameter"+(x===1?"":"s")+" allowed.");var O=-1,B,H=_.charset;if(_.charsetSentinel)for(B=0;B<L.length;++B)L[B].indexOf("utf8=")===0&&(L[B]===f?H="utf-8":L[B]===u&&(H="iso-8859-1"),O=B,B=L.length);for(B=0;B<L.length;++B)if(B!==O){var z=L[B],K=z.indexOf("]="),ue=K===-1?z.indexOf("="):K+1,J,fe;ue===-1?(J=_.decoder(z,n.decoder,H,"key"),fe=_.strictNullHandling?null:""):(J=_.decoder(z.slice(0,ue),n.decoder,H,"key"),fe=r.maybeMap(l(z.slice(ue+1),_,t(M[J])?M[J].length:0),function(te){return _.decoder(te,n.decoder,H,"value")})),fe&&_.interpretNumericEntities&&H==="iso-8859-1"&&(fe=i(String(fe))),z.indexOf("[]=")>-1&&(fe=t(fe)?[fe]:fe);var j=e.call(M,J);j&&_.duplicates==="combine"?M[J]=r.combine(M[J],fe):(!j||_.duplicates==="last")&&(M[J]=fe)}return M},m=function(b,S,_,M){var E=0;if(b.length>0&&b[b.length-1]==="[]"){var x=b.slice(0,-1).join("");E=Array.isArray(S)&&S[x]?S[x].length:0}for(var L=M?S:l(S,_,E),O=b.length-1;O>=0;--O){var B,H=b[O];if(H==="[]"&&_.parseArrays)B=_.allowEmptyArrays&&(L===""||_.strictNullHandling&&L===null)?[]:r.combine([],L);else{B=_.plainObjects?{__proto__:null}:{};var z=H.charAt(0)==="["&&H.charAt(H.length-1)==="]"?H.slice(1,-1):H,K=_.decodeDotInKeys?z.replace(/%2E/g,"."):z,ue=parseInt(K,10);!_.parseArrays&&K===""?B={0:L}:!isNaN(ue)&&H!==K&&String(ue)===K&&ue>=0&&_.parseArrays&&ue<=_.arrayLimit?(B=[],B[ue]=L):K!=="__proto__"&&(B[K]=L)}L=B}return L},R=function(S,_,M,E){if(S){var x=M.allowDots?S.replace(/\.([^.[]+)/g,"[$1]"):S,L=/(\[[^[\]]*])/,O=/(\[[^[\]]*])/g,B=M.depth>0&&L.exec(x),H=B?x.slice(0,B.index):x,z=[];if(H){if(!M.plainObjects&&e.call(Object.prototype,H)&&!M.allowPrototypes)return;z.push(H)}for(var K=0;M.depth>0&&(B=O.exec(x))!==null&&K<M.depth;){if(K+=1,!M.plainObjects&&e.call(Object.prototype,B[1].slice(1,-1))&&!M.allowPrototypes)return;z.push(B[1])}if(B){if(M.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+M.depth+" and strictDepth is true");z.push("["+x.slice(B.index)+"]")}return m(z,_,M,E)}},w=function(S){if(!S)return n;if(typeof S.allowEmptyArrays<"u"&&typeof S.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof S.decodeDotInKeys<"u"&&typeof S.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(S.decoder!==null&&typeof S.decoder<"u"&&typeof S.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof S.charset<"u"&&S.charset!=="utf-8"&&S.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof S.throwOnLimitExceeded<"u"&&typeof S.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var _=typeof S.charset>"u"?n.charset:S.charset,M=typeof S.duplicates>"u"?n.duplicates:S.duplicates;if(M!=="combine"&&M!=="first"&&M!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var E=typeof S.allowDots>"u"?S.decodeDotInKeys===!0?!0:n.allowDots:!!S.allowDots;return{allowDots:E,allowEmptyArrays:typeof S.allowEmptyArrays=="boolean"?!!S.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof S.allowPrototypes=="boolean"?S.allowPrototypes:n.allowPrototypes,allowSparse:typeof S.allowSparse=="boolean"?S.allowSparse:n.allowSparse,arrayLimit:typeof S.arrayLimit=="number"?S.arrayLimit:n.arrayLimit,charset:_,charsetSentinel:typeof S.charsetSentinel=="boolean"?S.charsetSentinel:n.charsetSentinel,comma:typeof S.comma=="boolean"?S.comma:n.comma,decodeDotInKeys:typeof S.decodeDotInKeys=="boolean"?S.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof S.decoder=="function"?S.decoder:n.decoder,delimiter:typeof S.delimiter=="string"||r.isRegExp(S.delimiter)?S.delimiter:n.delimiter,depth:typeof S.depth=="number"||S.depth===!1?+S.depth:n.depth,duplicates:M,ignoreQueryPrefix:S.ignoreQueryPrefix===!0,interpretNumericEntities:typeof S.interpretNumericEntities=="boolean"?S.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof S.parameterLimit=="number"?S.parameterLimit:n.parameterLimit,parseArrays:S.parseArrays!==!1,plainObjects:typeof S.plainObjects=="boolean"?S.plainObjects:n.plainObjects,strictDepth:typeof S.strictDepth=="boolean"?!!S.strictDepth:n.strictDepth,strictNullHandling:typeof S.strictNullHandling=="boolean"?S.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof S.throwOnLimitExceeded=="boolean"?S.throwOnLimitExceeded:!1}};return j1=function(b,S){var _=w(S);if(b===""||b===null||typeof b>"u")return _.plainObjects?{__proto__:null}:{};for(var M=typeof b=="string"?g(b,_):b,E=_.plainObjects?{__proto__:null}:{},x=Object.keys(M),L=0;L<x.length;++L){var O=x[L],B=R(O,M[O],_,typeof b=="string");E=r.merge(E,B,_)}return _.allowSparse===!0?E:r.compact(E)},j1}var B1,z_;function RF(){if(z_)return B1;z_=1;var r=EF(),e=kF(),t=Vm();return B1={formats:t,parse:e,stringify:r},B1}var IF=RF();const LF=al(IF),lm={StoredContexts:{},defaultHandler:()=>{}},wS={Init:()=>{},Create:r=>{const e=r.method+r.url;return lm.StoredContexts[e]=r,MF(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{lm.defaultHandler=r}};function MF(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:i,method:l,stream:u,paramType:f}=r;const{po:g,onStream:m,onStreamEnd:R,noDefaultHandle:w=[]}=n??{};(f==="query"||l==="GET")&&g!==void 0&&(i+="?"+LF.stringify(g,{arrayFormat:"comma"}));const b={method:l,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(f==="form"){const M=new FormData;if(g!==void 0)for(const E in g){const x=g[E];M.append(E,x)}b.body=M}else(f==="body"||f===void 0&&r.method!=="GET")&&(b.body=JSON.stringify(g),b.headers["Content-Type"]="application/json;charset=UTF-8");let S={errorCode:0,message:""};const _=Date.now();i=wS.FetchBaseUrl()+i;try{let M=await fetch(i,b);if(M.ok===!1)return S.errorCode=M.status,S.message=M.statusText,S;{const E=new TextDecoder("utf-8");if(u){if(M.body){let x=M.body.getReader(),L="";for(;;){const O=await x.read();if(O.done)break;const B=E.decode(O.value).trim();L+=B;let H=null;try{const z=B.split("\0");let K=z[z.length-1];for(let ue=z.length-2;ue>=0;ue--)if(z[ue].trim().length!==0){K=z[ue];break}H=await JSON.parse(K)}catch{try{const K=L.split("\0");let ue=K[K.length-1];for(let J=K.length-2;J>=0;J--)if(K[J].trim().length!==0){ue=K[J];break}H=await JSON.parse(ue)}catch{}}if(H!=null&&(Object.keys(H).includes("err_code")?S.errorCode=H.err_code:(S.errorCode=0,S.data=H,L="",O.done?R==null||R(S.data):m==null||m(S.data))),O.done)break}}}else if(M.body){const L=await M.body.getReader().read(),O=E.decode(L.value);if(O==="null")return S;{let B=await JSON.parse(O.replaceAll("\0",""));Object.keys(B).includes("err_code")?(S.errorCode=B.err_code,S.message=B.err_msg):S.data=B}}}}catch(M){console.warn(M),S.errorCode=-1,S.message=M.message}return console.debug(`${e} ${Date.now()-_}ms`),w!==!0&&await lm.defaultHandler(S,w),S}}}async function DF(r){const e=new Promise((t,n)=>{const i=new FileReader;i.onloadend=()=>{i.result?typeof i.result=="string"?t(i.result):n(new Error("Failed to convert file to Base64: Invalid result type.")):n(new Error("Failed to convert file to Base64: Empty result."))},i.onerror=n,i.readAsDataURL(r)});try{return await e}catch{return}}function OF(r,e){var f,g;const t=r.split(","),n=(g=(f=t[0])==null?void 0:f.match(/:(.*?);/))==null?void 0:g[1],i=atob(t[1]);let l=i.length;const u=new Uint8Array(l);for(;l--;)u[l]=i.charCodeAt(l);return new File([u],e,{type:n})}const PF={toBase64:DF,toFile:OF};exports.ABase=$r;exports.ABaseStyleKeys=l2;exports.AButton=Fi;exports.AButtonStyleKeys=u2;exports.AButtonTypes=u5;exports.ACheckBox=Zu;exports.ACheckBoxStyleKeys=p2;exports.AChip=pm;exports.AChipKeys=D2;exports.AChips=TT;exports.AClock=BT;exports.AColFrame=P2;exports.ADatePicker=vm;exports.ADatePickerStyleKeys=w2;exports.ADatePickerTypes=dE;exports.ADateRangePicker=gm;exports.ADateRangePickerStyleKeys=A2;exports.ADialog=xE;exports.ADialogStyleKeys=g2;exports.ADialogTypes=_E;exports.ADivideFrame=pT;exports.AEditor=uN;exports.AEditorStyleKeys=h2;exports.AFileBox=ME;exports.AFileBoxStyleKeys=x2;exports.AFileUploader=QE;exports.AFloatMenu=B2;exports.AFloatMenuKeys=R2;exports.AFrameStyleKeys=k2;exports.AGrow=Qc;exports.AIcon=jr;exports.AIconButton=_i;exports.AIconButtonStyleKeys=T2;exports.AIconButtonTypes=f5;exports.AIconHOC=q4;exports.AIcons=fm;exports.AInput=tc;exports.AInputStyleKeys=f2;exports.AInputTypes=JT;exports.AListView=uk;exports.AListViewStyleKeys=S2;exports.ALoadingBorder=ym;exports.ALoadingBorderKeys=I2;exports.AMultiSelect=jk;exports.AMultiSelectStyleKeys=v2;exports.ANumInput=ok;exports.AOverflowFrame=Sa;exports.ARadioSelect=Ck;exports.ARadioSelectKeys=M2;exports.ARowFrame=Sn;exports.ASelect=rc;exports.ASelectStyleKeys=m2;exports.ASelectTypes=h6;exports.ASpace=mn;exports.AStepper=Qk;exports.AStepperStyleKeys=C2;exports.ASwitch=t2;exports.ASwitchFrame=N2;exports.ASwitchStyleKeys=b2;exports.ATab=z2;exports.ATabStyleKeys=_2;exports.ATabTypes=f8;exports.ATable=_R;exports.ATableStyleKeys=E2;exports.AText=G2;exports.ATextArea=LR;exports.ATextAreaStyleKeys=d2;exports.ATextAreaTypes=IR;exports.AThemeButton=Y5;exports.AThemes=Ff;exports.ATooltip=e2;exports.ATooltipStyleKeys=c2;exports.ATree=GN;exports.ATreeStyleKeys=y2;exports.AWrap=ec;exports.AWrapKeys=L2;exports.AWrapTypes=I5;exports.ApiContext=wS;exports.BodyStyleKeys=a2;exports.CreateADC=EE;exports.DefaultOptionRenderer=q2;exports.EDir12=ef;exports.EDir4=yi;exports.FileSizeTrans=Kc;exports.Icons=ih;exports.IsCursorPointer=G_;exports.IsFixedShape=V_;exports.IsInteractive=Z_;exports.NoSelect=W_;exports.Resources=hn;exports.SetResources=w5;exports.alphanumericRegex=kT;exports.bound=Nf;exports.cbF=Lr;exports.changeSemanticMode=hm;exports.componentStyleKeys=z5;exports.createEvent=Gc;exports.dateF=Yt;exports.defaultPredicate=U2;exports.dlgF=kE;exports.emailIdRegex=IT;exports.emailRegex=RT;exports.fileF=PF;exports.getMonthsOptions=Kf;exports.getYearsOptions=mm;exports.hangulRegex=MT;exports.hexRegex=LT;exports.noHanguljamoRegex=OT;exports.noSpaceRegex=DT;exports.numF=H2;exports.objF=er;exports.paletteKeys=r2;exports.paletteModes=oh;exports.passwordRegex=NT;exports.refinedDesignTokens=xi;exports.sF=Be;exports.semanticKeys=o2;exports.semanticModes=Gu;exports.setDir12Style=dm;exports.setDir12StyleElem=J_;exports.specialCharRegex=PT;exports.strF=j2;exports.tableF=tl;exports.textMeasurement=Zc;exports.treeF=rl;exports.useADialogCore=AE;exports.useADialogCores=wE;exports.useEvent=V2;exports.useInit=$2;exports.useValues=nn;exports.uuidRegex=FT;
|