szld-libs 0.2.94 → 0.2.96

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.
@@ -1,4 +1,4 @@
1
- (function(gt,Te){typeof exports=="object"&&typeof module<"u"?Te(exports,require("react"),require("antd"),require("react-router-dom"),require("lodash"),require("ahooks")):typeof define=="function"&&define.amd?define(["exports","react","antd","react-router-dom","lodash","ahooks"],Te):(gt=typeof globalThis<"u"?globalThis:gt||self,Te(gt.ReactComponents={},gt.React,gt.antd,gt["react-router-dom"],gt.lodash,gt.ahooks))})(this,function(gt,Te,De,y6,au,PC){"use strict";var $M=Object.defineProperty;var VM=(gt,Te,De)=>Te in gt?$M(gt,Te,{enumerable:!0,configurable:!0,writable:!0,value:De}):gt[Te]=De;var zc=(gt,Te,De)=>(VM(gt,typeof Te!="symbol"?Te+"":Te,De),De);function g6(n){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(l,a,s.get?s:{enumerable:!0,get:()=>n[a]})}}return l.default=n,Object.freeze(l)}const on=g6(Te);var Dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jC(n){var l=n.default;if(typeof l=="function"){var a=function s(){if(this instanceof s){var d=[null];d.push.apply(d,arguments);var v=Function.bind.apply(l,d);return new v}return l.apply(this,arguments)};a.prototype=l.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(n).forEach(function(s){var d=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(a,s,d.get?d:{enumerable:!0,get:function(){return n[s]}})}),a}var Oh={exports:{}},j0={};var IC;function x6(){if(IC)return j0;IC=1;var n=Te,l=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,d=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function h(g,_,p){var x,w={},C=null,E=null;p!==void 0&&(C=""+p),_.key!==void 0&&(C=""+_.key),_.ref!==void 0&&(E=_.ref);for(x in _)s.call(_,x)&&!v.hasOwnProperty(x)&&(w[x]=_[x]);if(g&&g.defaultProps)for(x in _=g.defaultProps,_)w[x]===void 0&&(w[x]=_[x]);return{$$typeof:l,type:g,key:C,ref:E,props:w,_owner:d.current}}return j0.Fragment=a,j0.jsx=h,j0.jsxs=h,j0}var I0={};var $C;function _6(){return $C||($C=1,process.env.NODE_ENV!=="production"&&function(){var n=Te,l=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),g=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),T=Symbol.iterator,k="@@iterator";function O(ee){if(ee===null||typeof ee!="object")return null;var Oe=T&&ee[T]||ee[k];return typeof Oe=="function"?Oe:null}var M=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function B(ee){{for(var Oe=arguments.length,je=new Array(Oe>1?Oe-1:0),it=1;it<Oe;it++)je[it-1]=arguments[it];A("error",ee,je)}}function A(ee,Oe,je){{var it=M.ReactDebugCurrentFrame,Ct=it.getStackAddendum();Ct!==""&&(Oe+="%s",je=je.concat([Ct]));var Ut=je.map(function(Et){return String(Et)});Ut.unshift("Warning: "+Oe),Function.prototype.apply.call(console[ee],console,Ut)}}var F=!1,N=!1,H=!1,L=!1,Y=!1,Q;Q=Symbol.for("react.module.reference");function P(ee){return!!(typeof ee=="string"||typeof ee=="function"||ee===s||ee===v||Y||ee===d||ee===p||ee===x||L||ee===E||F||N||H||typeof ee=="object"&&ee!==null&&(ee.$$typeof===C||ee.$$typeof===w||ee.$$typeof===h||ee.$$typeof===g||ee.$$typeof===_||ee.$$typeof===Q||ee.getModuleId!==void 0))}function I(ee,Oe,je){var it=ee.displayName;if(it)return it;var Ct=Oe.displayName||Oe.name||"";return Ct!==""?je+"("+Ct+")":je}function $(ee){return ee.displayName||"Context"}function W(ee){if(ee==null)return null;if(typeof ee.tag=="number"&&B("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof ee=="function")return ee.displayName||ee.name||null;if(typeof ee=="string")return ee;switch(ee){case s:return"Fragment";case a:return"Portal";case v:return"Profiler";case d:return"StrictMode";case p:return"Suspense";case x:return"SuspenseList"}if(typeof ee=="object")switch(ee.$$typeof){case g:var Oe=ee;return $(Oe)+".Consumer";case h:var je=ee;return $(je._context)+".Provider";case _:return I(ee,ee.render,"ForwardRef");case w:var it=ee.displayName||null;return it!==null?it:W(ee.type)||"Memo";case C:{var Ct=ee,Ut=Ct._payload,Et=Ct._init;try{return W(Et(Ut))}catch{return null}}}return null}var ne=Object.assign,J=0,K,ce,V,ue,Z,G,te;function se(){}se.__reactDisabledLog=!0;function re(){{if(J===0){K=console.log,ce=console.info,V=console.warn,ue=console.error,Z=console.group,G=console.groupCollapsed,te=console.groupEnd;var ee={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:ee,log:ee,warn:ee,error:ee,group:ee,groupCollapsed:ee,groupEnd:ee})}J++}}function xe(){{if(J--,J===0){var ee={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ne({},ee,{value:K}),info:ne({},ee,{value:ce}),warn:ne({},ee,{value:V}),error:ne({},ee,{value:ue}),group:ne({},ee,{value:Z}),groupCollapsed:ne({},ee,{value:G}),groupEnd:ne({},ee,{value:te})})}J<0&&B("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var be=M.ReactCurrentDispatcher,Be;function Se(ee,Oe,je){{if(Be===void 0)try{throw Error()}catch(Ct){var it=Ct.stack.trim().match(/\n( *(at )?)/);Be=it&&it[1]||""}return`
1
+ (function(gt,Te){typeof exports=="object"&&typeof module<"u"?Te(exports,require("react"),require("antd"),require("react-router-dom"),require("lodash"),require("ahooks")):typeof define=="function"&&define.amd?define(["exports","react","antd","react-router-dom","lodash","ahooks"],Te):(gt=typeof globalThis<"u"?globalThis:gt||self,Te(gt.ReactComponents={},gt.React,gt.antd,gt["react-router-dom"],gt.lodash,gt.ahooks))})(this,function(gt,Te,De,y6,au,PC){"use strict";var YM=Object.defineProperty;var qM=(gt,Te,De)=>Te in gt?YM(gt,Te,{enumerable:!0,configurable:!0,writable:!0,value:De}):gt[Te]=De;var zc=(gt,Te,De)=>(qM(gt,typeof Te!="symbol"?Te+"":Te,De),De);function g6(n){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(l,a,s.get?s:{enumerable:!0,get:()=>n[a]})}}return l.default=n,Object.freeze(l)}const on=g6(Te);var Dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jC(n){var l=n.default;if(typeof l=="function"){var a=function s(){if(this instanceof s){var d=[null];d.push.apply(d,arguments);var v=Function.bind.apply(l,d);return new v}return l.apply(this,arguments)};a.prototype=l.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(n).forEach(function(s){var d=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(a,s,d.get?d:{enumerable:!0,get:function(){return n[s]}})}),a}var Oh={exports:{}},j0={};var IC;function x6(){if(IC)return j0;IC=1;var n=Te,l=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,d=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function h(g,_,p){var x,w={},C=null,E=null;p!==void 0&&(C=""+p),_.key!==void 0&&(C=""+_.key),_.ref!==void 0&&(E=_.ref);for(x in _)s.call(_,x)&&!v.hasOwnProperty(x)&&(w[x]=_[x]);if(g&&g.defaultProps)for(x in _=g.defaultProps,_)w[x]===void 0&&(w[x]=_[x]);return{$$typeof:l,type:g,key:C,ref:E,props:w,_owner:d.current}}return j0.Fragment=a,j0.jsx=h,j0.jsxs=h,j0}var I0={};var $C;function _6(){return $C||($C=1,process.env.NODE_ENV!=="production"&&function(){var n=Te,l=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),g=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),T=Symbol.iterator,k="@@iterator";function O(ee){if(ee===null||typeof ee!="object")return null;var Oe=T&&ee[T]||ee[k];return typeof Oe=="function"?Oe:null}var M=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function B(ee){{for(var Oe=arguments.length,je=new Array(Oe>1?Oe-1:0),it=1;it<Oe;it++)je[it-1]=arguments[it];A("error",ee,je)}}function A(ee,Oe,je){{var it=M.ReactDebugCurrentFrame,Ct=it.getStackAddendum();Ct!==""&&(Oe+="%s",je=je.concat([Ct]));var Ut=je.map(function(Et){return String(Et)});Ut.unshift("Warning: "+Oe),Function.prototype.apply.call(console[ee],console,Ut)}}var F=!1,N=!1,H=!1,L=!1,Y=!1,Q;Q=Symbol.for("react.module.reference");function P(ee){return!!(typeof ee=="string"||typeof ee=="function"||ee===s||ee===v||Y||ee===d||ee===p||ee===x||L||ee===E||F||N||H||typeof ee=="object"&&ee!==null&&(ee.$$typeof===C||ee.$$typeof===w||ee.$$typeof===h||ee.$$typeof===g||ee.$$typeof===_||ee.$$typeof===Q||ee.getModuleId!==void 0))}function I(ee,Oe,je){var it=ee.displayName;if(it)return it;var Ct=Oe.displayName||Oe.name||"";return Ct!==""?je+"("+Ct+")":je}function $(ee){return ee.displayName||"Context"}function W(ee){if(ee==null)return null;if(typeof ee.tag=="number"&&B("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof ee=="function")return ee.displayName||ee.name||null;if(typeof ee=="string")return ee;switch(ee){case s:return"Fragment";case a:return"Portal";case v:return"Profiler";case d:return"StrictMode";case p:return"Suspense";case x:return"SuspenseList"}if(typeof ee=="object")switch(ee.$$typeof){case g:var Oe=ee;return $(Oe)+".Consumer";case h:var je=ee;return $(je._context)+".Provider";case _:return I(ee,ee.render,"ForwardRef");case w:var it=ee.displayName||null;return it!==null?it:W(ee.type)||"Memo";case C:{var Ct=ee,Ut=Ct._payload,Et=Ct._init;try{return W(Et(Ut))}catch{return null}}}return null}var ne=Object.assign,J=0,K,ce,V,ue,Z,G,te;function se(){}se.__reactDisabledLog=!0;function re(){{if(J===0){K=console.log,ce=console.info,V=console.warn,ue=console.error,Z=console.group,G=console.groupCollapsed,te=console.groupEnd;var ee={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:ee,log:ee,warn:ee,error:ee,group:ee,groupCollapsed:ee,groupEnd:ee})}J++}}function xe(){{if(J--,J===0){var ee={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ne({},ee,{value:K}),info:ne({},ee,{value:ce}),warn:ne({},ee,{value:V}),error:ne({},ee,{value:ue}),group:ne({},ee,{value:Z}),groupCollapsed:ne({},ee,{value:G}),groupEnd:ne({},ee,{value:te})})}J<0&&B("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var be=M.ReactCurrentDispatcher,Be;function Se(ee,Oe,je){{if(Be===void 0)try{throw Error()}catch(Ct){var it=Ct.stack.trim().match(/\n( *(at )?)/);Be=it&&it[1]||""}return`
2
2
  `+Be+ee}}var Ie=!1,Ne;{var ct=typeof WeakMap=="function"?WeakMap:Map;Ne=new ct}function Fe(ee,Oe){if(!ee||Ie)return"";{var je=Ne.get(ee);if(je!==void 0)return je}var it;Ie=!0;var Ct=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ut;Ut=be.current,be.current=null,re();try{if(Oe){var Et=function(){throw Error()};if(Object.defineProperty(Et.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Et,[])}catch(jt){it=jt}Reflect.construct(ee,[],Et)}else{try{Et.call()}catch(jt){it=jt}ee.call(Et.prototype)}}else{try{throw Error()}catch(jt){it=jt}ee()}}catch(jt){if(jt&&it&&typeof jt.stack=="string"){for(var lt=jt.stack.split(`
3
3
  `),ir=it.stack.split(`
4
4
  `),_n=lt.length-1,Cn=ir.length-1;_n>=1&&Cn>=0&&lt[_n]!==ir[Cn];)Cn--;for(;_n>=1&&Cn>=0;_n--,Cn--)if(lt[_n]!==ir[Cn]){if(_n!==1||Cn!==1)do if(_n--,Cn--,Cn<0||lt[_n]!==ir[Cn]){var Ir=`
@@ -81,8 +81,8 @@ Error generating stack: `+D.message+`
81
81
  Error generating stack: `+u.message+`
82
82
  `+u.stack}}function cv(e,t,o){var u=e.displayName;if(u)return u;var f=t.displayName||t.name||"";return f!==""?o+"("+f+")":o}function Qc(e){return e.displayName||"Context"}function un(e){if(e==null)return null;if(typeof e.tag=="number"&&h("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _a:return"Fragment";case Br:return"Portal";case ee:return"Profiler";case Ao:return"StrictMode";case Ct:return"Suspense";case Ut:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case je:var t=e;return Qc(t)+".Consumer";case Oe:var o=e;return Qc(o._context)+".Provider";case it:return cv(e,e.render,"ForwardRef");case Et:var u=e.displayName||null;return u!==null?u:un(e.type)||"Memo";case lt:{var f=e,y=f._payload,b=f._init;try{return un(b(y))}catch{return null}}}return null}function fv(e,t,o){var u=t.displayName||t.name||"";return e.displayName||(u!==""?o+"("+u+")":o)}function _d(e){return e.displayName||"Context"}function yt(e){var t=e.tag,o=e.type;switch(t){case J:return"Cache";case M:var u=o;return _d(u)+".Consumer";case B:var f=o;return _d(f._context)+".Provider";case P:return"DehydratedFragment";case A:return fv(o,o.render,"ForwardRef");case k:return"Fragment";case E:return o;case C:return"Portal";case w:return"Root";case T:return"Text";case Y:return un(o);case O:return o===Ao?"StrictMode":"Mode";case W:return"Offscreen";case F:return"Profiler";case $:return"Scope";case N:return"Suspense";case I:return"SuspenseList";case K:return"TracingMarker";case p:case _:case Q:case x:case H:case L:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;break}return null}var As=a.ReactDebugCurrentFrame,$n=null,Ua=!1;function Ha(){{if($n===null)return null;var e=$n._debugOwner;if(e!==null&&typeof e<"u")return yt(e)}return null}function Rs(){return $n===null?"":xd($n)}function Zn(){As.getCurrentStack=null,$n=null,Ua=!1}function nn(e){As.getCurrentStack=e===null?null:Rs,$n=e,Ua=!1}function dx(){return $n}function ci(e){Ua=e}function Fr(e){return""+e}function Oo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return dn(e),e;default:return""}}var dv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function vu(e,t){dv[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||h("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`."),t.onChange||t.readOnly||t.disabled||t.checked==null||h("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 Cd(e){var t=e.type,o=e.nodeName;return o&&o.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pv(e){return e._valueTracker}function ks(e){e._valueTracker=null}function Os(e){var t="";return e&&(Cd(e)?t=e.checked?"true":"false":t=e.value),t}function mu(e){var t=Cd(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);dn(e[t]);var u=""+e[t];if(!(e.hasOwnProperty(t)||typeof o>"u"||typeof o.get!="function"||typeof o.set!="function")){var f=o.get,y=o.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return f.call(this)},set:function(R){dn(R),u=""+R,y.call(this,R)}}),Object.defineProperty(e,t,{enumerable:o.enumerable});var b={getValue:function(){return u},setValue:function(R){dn(R),u=""+R},stopTracking:function(){ks(e),delete e[t]}};return b}}function yl(e){pv(e)||(e._valueTracker=mu(e))}function hv(e){if(!e)return!1;var t=pv(e);if(!t)return!0;var o=t.getValue(),u=Os(e);return u!==o?(t.setValue(u),!0):!1}function Xc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Jc=!1,Bs=!1,ef=!1,Sd=!1;function $i(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Fs(e,t){var o=e,u=t.checked,f=Rt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??o._wrapperState.initialChecked});return f}function zs(e,t){vu("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Bs&&(h("%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",Ha()||"A component",t.type),Bs=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Jc&&(h("%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",Ha()||"A component",t.type),Jc=!0);var o=e,u=t.defaultValue==null?"":t.defaultValue;o._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Oo(t.value!=null?t.value:u),controlled:$i(t)}}function Ed(e,t){var o=e,u=t.checked;u!=null&&xn(o,"checked",u,!1)}function yu(e,t){var o=e;{var u=$i(t);!o._wrapperState.controlled&&u&&!Sd&&(h("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Sd=!0),o._wrapperState.controlled&&!u&&!ef&&(h("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),ef=!0)}Ed(e,t);var f=Oo(t.value),y=t.type;if(f!=null)y==="number"?(f===0&&o.value===""||o.value!=f)&&(o.value=Fr(f)):o.value!==Fr(f)&&(o.value=Fr(f));else if(y==="submit"||y==="reset"){o.removeAttribute("value");return}t.hasOwnProperty("value")?Bo(o,t.type,f):t.hasOwnProperty("defaultValue")&&Bo(o,t.type,Oo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(o.defaultChecked=!!t.defaultChecked)}function Ms(e,t,o){var u=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var f=t.type,y=f==="submit"||f==="reset";if(y&&(t.value===void 0||t.value===null))return;var b=Fr(u._wrapperState.initialValue);o||b!==u.value&&(u.value=b),u.defaultValue=b}var R=u.name;R!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,R!==""&&(u.name=R)}function vv(e,t){var o=e;yu(o,t),Ca(o,t)}function Ca(e,t){var o=t.name;if(t.type==="radio"&&o!=null){for(var u=e;u.parentNode;)u=u.parentNode;Pn(o,"name");for(var f=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),y=0;y<f.length;y++){var b=f[y];if(!(b===e||b.form!==e.form)){var R=Y1(b);if(!R)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");hv(b),yu(b,R)}}}}function Bo(e,t,o){(t!=="number"||Xc(e.ownerDocument)!==e)&&(o==null?e.defaultValue=Fr(e._wrapperState.initialValue):e.defaultValue!==Fr(o)&&(e.defaultValue=Fr(o)))}var tf=!1,gu=!1,mv=!1;function nf(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(o){o!=null&&(typeof o=="string"||typeof o=="number"||gu||(gu=!0,h("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(mv||(mv=!0,h("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!tf&&(h("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),tf=!0)}function bd(e,t){t.value!=null&&e.setAttribute("value",Fr(Oo(t.value)))}var Ns=Array.isArray;function or(e){return Ns(e)}var rf;rf=!1;function yv(){var e=Ha();return e?`
83
83
 
84
- Check the render method of \``+e+"`.":""}var gv=["value","defaultValue"];function px(e){{vu("select",e);for(var t=0;t<gv.length;t++){var o=gv[t];if(e[o]!=null){var u=or(e[o]);e.multiple&&!u?h("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",o,yv()):!e.multiple&&u&&h("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",o,yv())}}}}function Fo(e,t,o,u){var f=e.options;if(t){for(var y=o,b={},R=0;R<y.length;R++)b["$"+y[R]]=!0;for(var z=0;z<f.length;z++){var j=b.hasOwnProperty("$"+f[z].value);f[z].selected!==j&&(f[z].selected=j),j&&u&&(f[z].defaultSelected=!0)}}else{for(var q=Fr(Oo(o)),le=null,ie=0;ie<f.length;ie++){if(f[ie].value===q){f[ie].selected=!0,u&&(f[ie].defaultSelected=!0);return}le===null&&!f[ie].disabled&&(le=f[ie])}le!==null&&(le.selected=!0)}}function wd(e,t){return Rt({},t,{value:void 0})}function xv(e,t){var o=e;px(t),o._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!rf&&(h("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"),rf=!0)}function hx(e,t){var o=e;o.multiple=!!t.multiple;var u=t.value;u!=null?Fo(o,!!t.multiple,u,!1):t.defaultValue!=null&&Fo(o,!!t.multiple,t.defaultValue,!0)}function vx(e,t){var o=e,u=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!t.multiple;var f=t.value;f!=null?Fo(o,!!t.multiple,f,!1):u!==!!t.multiple&&(t.defaultValue!=null?Fo(o,!!t.multiple,t.defaultValue,!0):Fo(o,!!t.multiple,t.multiple?[]:"",!1))}function mx(e,t){var o=e,u=t.value;u!=null&&Fo(o,!!t.multiple,u,!1)}var Dd=!1;function Td(e,t){var o=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Rt({},t,{value:void 0,defaultValue:void 0,children:Fr(o._wrapperState.initialValue)});return u}function _v(e,t){var o=e;vu("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Dd&&(h("%s contains a textarea with both value and defaultValue props. 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",Ha()||"A component"),Dd=!0);var u=t.value;if(u==null){var f=t.children,y=t.defaultValue;if(f!=null){h("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(or(f)){if(f.length>1)throw new Error("<textarea> can only have at most one child.");f=f[0]}y=f}}y==null&&(y=""),u=y}o._wrapperState={initialValue:Oo(u)}}function Cv(e,t){var o=e,u=Oo(t.value),f=Oo(t.defaultValue);if(u!=null){var y=Fr(u);y!==o.value&&(o.value=y),t.defaultValue==null&&o.defaultValue!==y&&(o.defaultValue=y)}f!=null&&(o.defaultValue=Fr(f))}function Sv(e,t){var o=e,u=o.textContent;u===o._wrapperState.initialValue&&u!==""&&u!==null&&(o.value=u)}function Ad(e,t){Cv(e,t)}var Vi="http://www.w3.org/1999/xhtml",yx="http://www.w3.org/1998/Math/MathML",Rd="http://www.w3.org/2000/svg";function af(e){switch(e){case"svg":return Rd;case"math":return yx;default:return Vi}}function kd(e,t){return e==null||e===Vi?af(t):e===Rd&&t==="foreignObject"?Vi:e}var gx=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,u,f){MSApp.execUnsafeLocalFunction(function(){return e(t,o,u,f)})}:e},of,Ev=gx(function(e,t){if(e.namespaceURI===Rd&&!("innerHTML"in e)){of=of||document.createElement("div"),of.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var o=of.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;o.firstChild;)e.appendChild(o.firstChild);return}e.innerHTML=t}),ta=1,Yi=3,Vn=8,fi=9,gl=11,lf=function(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===Yi){o.nodeValue=t;return}}e.textContent=t},bv={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},xu={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 wv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Dv=["Webkit","ms","Moz","O"];Object.keys(xu).forEach(function(e){Dv.forEach(function(t){xu[wv(t,e)]=xu[e]})});function uf(e,t,o){var u=t==null||typeof t=="boolean"||t==="";return u?"":!o&&typeof t=="number"&&t!==0&&!(xu.hasOwnProperty(e)&&xu[e])?t+"px":(gn(t,e),(""+t).trim())}var _u=/([A-Z])/g,xx=/^ms-/;function _x(e){return e.replace(_u,"-$1").toLowerCase().replace(xx,"-ms-")}var Tv=function(){};{var Av=/^(?:webkit|moz|o)[A-Z]/,Rv=/^-ms-/,Ls=/-(.)/g,Cu=/;\s*$/,Su={},Eu={},kv=!1,Od=!1,Bd=function(e){return e.replace(Ls,function(t,o){return o.toUpperCase()})},Fd=function(e){Su.hasOwnProperty(e)&&Su[e]||(Su[e]=!0,h("Unsupported style property %s. Did you mean %s?",e,Bd(e.replace(Rv,"ms-"))))},Ov=function(e){Su.hasOwnProperty(e)&&Su[e]||(Su[e]=!0,h("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Bv=function(e,t){Eu.hasOwnProperty(t)&&Eu[t]||(Eu[t]=!0,h(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Cu,"")))},Fv=function(e,t){kv||(kv=!0,h("`NaN` is an invalid value for the `%s` css style property.",e))},Cx=function(e,t){Od||(Od=!0,h("`Infinity` is an invalid value for the `%s` css style property.",e))};Tv=function(e,t){e.indexOf("-")>-1?Fd(e):Av.test(e)?Ov(e):Cu.test(t)&&Bv(e,t),typeof t=="number"&&(isNaN(t)?Fv(e,t):isFinite(t)||Cx(e,t))}}var Sx=Tv;function Ex(e){{var t="",o="";for(var u in e)if(e.hasOwnProperty(u)){var f=e[u];if(f!=null){var y=u.indexOf("--")===0;t+=o+(y?u:_x(u))+":",t+=uf(u,f,y),o=";"}}return t||null}}function zv(e,t){var o=e.style;for(var u in t)if(t.hasOwnProperty(u)){var f=u.indexOf("--")===0;f||Sx(u,t[u]);var y=uf(u,t[u],f);u==="float"&&(u="cssFloat"),f?o.setProperty(u,y):o[u]=y}}function bx(e){return e==null||typeof e=="boolean"||e===""}function Pa(e){var t={};for(var o in e)for(var u=bv[o]||[o],f=0;f<u.length;f++)t[u[f]]=o;return t}function Us(e,t){{if(!t)return;var o=Pa(e),u=Pa(t),f={};for(var y in o){var b=o[y],R=u[y];if(R&&b!==R){var z=b+","+R;if(f[z])continue;f[z]=!0,h("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",bx(e[b])?"Removing":"Updating",b,R)}}}}var Mv={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Nv=Rt({menuitem:!0},Mv),Lv="__html";function sf(e,t){if(t){if(Nv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Lv in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&h("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="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.")}}function qi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var cf={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"},Uv={"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},di={},zd=new RegExp("^(aria)-["+Je+"]*$"),Hs=new RegExp("^(aria)[A-Z]["+Je+"]*$");function Md(e,t){{if(wt.call(di,t)&&di[t])return!0;if(Hs.test(t)){var o="aria-"+t.slice(4).toLowerCase(),u=Uv.hasOwnProperty(o)?o:null;if(u==null)return h("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),di[t]=!0,!0;if(t!==u)return h("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),di[t]=!0,!0}if(zd.test(t)){var f=t.toLowerCase(),y=Uv.hasOwnProperty(f)?f:null;if(y==null)return di[t]=!0,!1;if(t!==y)return h("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,y),di[t]=!0,!0}}return!0}function Hv(e,t){{var o=[];for(var u in t){var f=Md(e,u);f||o.push(u)}var y=o.map(function(b){return"`"+b+"`"}).join(", ");o.length===1?h("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e):o.length>1&&h("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e)}}function ff(e,t){qi(e,t)||Hv(e,t)}var xl=!1;function Nd(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!xl&&(xl=!0,e==="select"&&t.multiple?h("`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.",e):h("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Ld=function(){};{var lr={},Ud=/^on./,Pv=/^on[^A-Z]/,jv=new RegExp("^(aria)-["+Je+"]*$"),Iv=new RegExp("^(aria)[A-Z]["+Je+"]*$");Ld=function(e,t,o,u){if(wt.call(lr,t)&&lr[t])return!0;var f=t.toLowerCase();if(f==="onfocusin"||f==="onfocusout")return h("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."),lr[t]=!0,!0;if(u!=null){var y=u.registrationNameDependencies,b=u.possibleRegistrationNames;if(y.hasOwnProperty(t))return!0;var R=b.hasOwnProperty(f)?b[f]:null;if(R!=null)return h("Invalid event handler property `%s`. Did you mean `%s`?",t,R),lr[t]=!0,!0;if(Ud.test(t))return h("Unknown event handler property `%s`. It will be ignored.",t),lr[t]=!0,!0}else if(Ud.test(t))return Pv.test(t)&&h("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),lr[t]=!0,!0;if(jv.test(t)||Iv.test(t))return!0;if(f==="innerhtml")return h("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),lr[t]=!0,!0;if(f==="aria")return h("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),lr[t]=!0,!0;if(f==="is"&&o!==null&&o!==void 0&&typeof o!="string")return h("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),lr[t]=!0,!0;if(typeof o=="number"&&isNaN(o))return h("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),lr[t]=!0,!0;var z=Or(t),j=z!==null&&z.type===ar;if(cf.hasOwnProperty(f)){var q=cf[f];if(q!==t)return h("Invalid DOM property `%s`. Did you mean `%s`?",t,q),lr[t]=!0,!0}else if(!j&&t!==f)return h("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.",t,f),lr[t]=!0,!0;return typeof o=="boolean"&&vr(t,o,z,!1)?(o?h('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()}.',o,t,t,o,t):h('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.',o,t,t,o,t,t,t),lr[t]=!0,!0):j?!0:vr(t,o,z,!1)?(lr[t]=!0,!1):((o==="false"||o==="true")&&z!==null&&z.type===Zt&&(h("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,t,o==="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".',t,o),lr[t]=!0),!0)}}var $v=function(e,t,o){{var u=[];for(var f in t){var y=Ld(e,f,t[f],o);y||u.push(f)}var b=u.map(function(R){return"`"+R+"`"}).join(", ");u.length===1?h("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 ",b,e):u.length>1&&h("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 ",b,e)}};function Vv(e,t,o){qi(e,t)||$v(e,t,o)}var Gi=1,Ps=1<<1,_l=1<<2,wx=Gi|Ps|_l,js=null;function Is(e){js!==null&&h("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),js=e}function Dx(){js===null&&h("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),js=null}function Yv(e){return e===js}function df(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Yi?t.parentNode:t}var sn=null,zo=null,Wi=null;function bu(e){var t=Ku(e);if(t){if(typeof sn!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var o=t.stateNode;if(o){var u=Y1(o);sn(t.stateNode,t.type,u)}}}function qv(e){sn=e}function pf(e){zo?Wi?Wi.push(e):Wi=[e]:zo=e}function $s(){return zo!==null||Wi!==null}function Vs(){if(zo){var e=zo,t=Wi;if(zo=null,Wi=null,bu(e),t)for(var o=0;o<t.length;o++)bu(t[o])}}var Cl=function(e,t){return e(t)},Hd=function(){},Pd=!1;function Tx(){var e=$s();e&&(Hd(),Vs())}function jd(e,t,o){if(Pd)return e(t,o);Pd=!0;try{return Cl(e,t,o)}finally{Pd=!1,Tx()}}function hf(e,t,o){Cl=e,Hd=o}function vf(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Id(e,t,o){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(o.disabled&&vf(t));default:return!1}}function Sl(e,t){var o=e.stateNode;if(o===null)return null;var u=Y1(o);if(u===null)return null;var f=u[t];if(Id(t,e.type,u))return null;if(f&&typeof f!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof f+"` type.");return f}var Ys=!1;if(ft)try{var El={};Object.defineProperty(El,"passive",{get:function(){Ys=!0}}),window.addEventListener("test",El,El),window.removeEventListener("test",El,El)}catch{Ys=!1}function Gv(e,t,o,u,f,y,b,R,z){var j=Array.prototype.slice.call(arguments,3);try{t.apply(o,j)}catch(q){this.onError(q)}}var $d=Gv;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Vd=document.createElement("react");$d=function(t,o,u,f,y,b,R,z,j){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var q=document.createEvent("Event"),le=!1,ie=!0,me=window.event,ye=Object.getOwnPropertyDescriptor(window,"event");function _e(){Vd.removeEventListener(Ce,at,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=me)}var qe=Array.prototype.slice.call(arguments,3);function at(){le=!0,_e(),o.apply(u,qe),ie=!1}var tt,Mt=!1,Ot=!1;function pe(he){if(tt=he.error,Mt=!0,tt===null&&he.colno===0&&he.lineno===0&&(Ot=!0),he.defaultPrevented&&tt!=null&&typeof tt=="object")try{tt._suppressLogging=!0}catch{}}var Ce="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",pe),Vd.addEventListener(Ce,at,!1),q.initEvent(Ce,!1,!1),Vd.dispatchEvent(q),ye&&Object.defineProperty(window,"event",ye),le&&ie&&(Mt?Ot&&(tt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):tt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(tt)),window.removeEventListener("error",pe),!le)return _e(),Gv.apply(this,arguments)}}var Ax=$d,Mo=!1,pi=null,qs=!1,No=null,Si={onError:function(e){Mo=!0,pi=e}};function bl(e,t,o,u,f,y,b,R,z){Mo=!1,pi=null,Ax.apply(Si,arguments)}function Zi(e,t,o,u,f,y,b,R,z){if(bl.apply(this,arguments),Mo){var j=qd();qs||(qs=!0,No=j)}}function Yd(){if(qs){var e=No;throw qs=!1,No=null,e}}function Rx(){return Mo}function qd(){if(Mo){var e=pi;return Mo=!1,pi=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ja(e){return e._reactInternals}function Gs(e){return e._reactInternals!==void 0}function wu(e,t){e._reactInternals=t}var rt=0,Lo=1,pn=2,xt=4,Vt=16,Yt=32,Ei=64,pt=128,Bn=256,na=512,Ia=1024,Sn=2048,$a=4096,Uo=8192,Ws=16384,mf=Sn|xt|Ei|na|Ia|Ws,Wv=32767,Sa=32768,ur=65536,Zs=131072,Gd=1048576,Wd=2097152,ra=4194304,Ho=8388608,aa=16777216,wl=33554432,Du=xt|Ia|0,ia=pn|xt|Vt|Yt|na|$a|Uo,zr=xt|Ei|na|Uo,Va=Sn|Vt,yr=ra|Ho|Wd,Ki=a.ReactCurrentOwner;function Ea(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(pn|$a))!==rt&&(o=t.return),u=t.return;while(u)}return t.tag===w?o:null}function Zd(e){if(e.tag===N){var t=e.memoizedState;if(t===null){var o=e.alternate;o!==null&&(t=o.memoizedState)}if(t!==null)return t.dehydrated}return null}function yf(e){return e.tag===w?e.stateNode.containerInfo:null}function Kd(e){return Ea(e)===e}function ba(e){{var t=Ki.current;if(t!==null&&t.tag===p){var o=t,u=o.stateNode;u._warnedAboutRefsInRender||h("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",yt(o)||"A component"),u._warnedAboutRefsInRender=!0}}var f=ja(e);return f?Ea(f)===f:!1}function oa(e){if(Ea(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function hn(e){var t=e.alternate;if(!t){var o=Ea(e);if(o===null)throw new Error("Unable to find node on an unmounted component.");return o!==e?null:e}for(var u=e,f=t;;){var y=u.return;if(y===null)break;var b=y.alternate;if(b===null){var R=y.return;if(R!==null){u=f=R;continue}break}if(y.child===b.child){for(var z=y.child;z;){if(z===u)return oa(y),e;if(z===f)return oa(y),t;z=z.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==f.return)u=y,f=b;else{for(var j=!1,q=y.child;q;){if(q===u){j=!0,u=y,f=b;break}if(q===f){j=!0,f=y,u=b;break}q=q.sibling}if(!j){for(q=b.child;q;){if(q===u){j=!0,u=b,f=y;break}if(q===f){j=!0,f=b,u=y;break}q=q.sibling}if(!j)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==f)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==w)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function Ya(e){var t=hn(e);return t!==null?Qd(t):null}function Qd(e){if(e.tag===E||e.tag===T)return e;for(var t=e.child;t!==null;){var o=Qd(t);if(o!==null)return o;t=t.sibling}return null}function Zv(e){var t=hn(e);return t!==null?gf(t):null}function gf(e){if(e.tag===E||e.tag===T)return e;for(var t=e.child;t!==null;){if(t.tag!==C){var o=gf(t);if(o!==null)return o}t=t.sibling}return null}var xf=l.unstable_scheduleCallback,Kv=l.unstable_cancelCallback,_f=l.unstable_shouldYield,Qv=l.unstable_requestPaint,Tn=l.unstable_now,Xd=l.unstable_getCurrentPriorityLevel,Cf=l.unstable_ImmediatePriority,wa=l.unstable_UserBlockingPriority,bi=l.unstable_NormalPriority,Sf=l.unstable_LowPriority,Po=l.unstable_IdlePriority,Jd=l.unstable_yieldValue,ep=l.unstable_setDisableYieldValue,jo=null,sr=null,He=null,Nn=!1,gr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function tp(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return h("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{xe&&(e=Rt({},e,{getLaneLabelMap:$o,injectProfilingHooks:Xi})),jo=t.inject(e),sr=t}catch(o){h("React instrumentation encountered an error: %s.",o)}return!!t.checkDCE}function Xv(e,t){if(sr&&typeof sr.onScheduleFiberRoot=="function")try{sr.onScheduleFiberRoot(jo,e,t)}catch(o){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",o))}}function Qi(e,t){if(sr&&typeof sr.onCommitFiberRoot=="function")try{var o=(e.current.flags&pt)===pt;if(be){var u;switch(t){case Mr:u=Cf;break;case xr:u=wa;break;case eo:u=bi;break;case ac:u=Po;break;default:u=bi;break}sr.onCommitFiberRoot(jo,e,u,o)}}catch(f){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",f))}}function Io(e){if(sr&&typeof sr.onPostCommitFiberRoot=="function")try{sr.onPostCommitFiberRoot(jo,e)}catch(t){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",t))}}function np(e){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(jo,e)}catch(t){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",t))}}function Kn(e){if(typeof Jd=="function"&&(ep(e),d(e)),sr&&typeof sr.setStrictMode=="function")try{sr.setStrictMode(jo,e)}catch(t){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",t))}}function Xi(e){He=e}function $o(){{for(var e=new Map,t=1,o=0;o<vn;o++){var u=kx(t);e.set(t,u),t*=2}return e}}function Ef(e){He!==null&&typeof He.markCommitStarted=="function"&&He.markCommitStarted(e)}function rp(){He!==null&&typeof He.markCommitStopped=="function"&&He.markCommitStopped()}function Vo(e){He!==null&&typeof He.markComponentRenderStarted=="function"&&He.markComponentRenderStarted(e)}function Dl(){He!==null&&typeof He.markComponentRenderStopped=="function"&&He.markComponentRenderStopped()}function Jv(e){He!==null&&typeof He.markComponentPassiveEffectMountStarted=="function"&&He.markComponentPassiveEffectMountStarted(e)}function ap(){He!==null&&typeof He.markComponentPassiveEffectMountStopped=="function"&&He.markComponentPassiveEffectMountStopped()}function bf(e){He!==null&&typeof He.markComponentPassiveEffectUnmountStarted=="function"&&He.markComponentPassiveEffectUnmountStarted(e)}function e1(){He!==null&&typeof He.markComponentPassiveEffectUnmountStopped=="function"&&He.markComponentPassiveEffectUnmountStopped()}function t1(e){He!==null&&typeof He.markComponentLayoutEffectMountStarted=="function"&&He.markComponentLayoutEffectMountStarted(e)}function n1(){He!==null&&typeof He.markComponentLayoutEffectMountStopped=="function"&&He.markComponentLayoutEffectMountStopped()}function wf(e){He!==null&&typeof He.markComponentLayoutEffectUnmountStarted=="function"&&He.markComponentLayoutEffectUnmountStarted(e)}function Tu(){He!==null&&typeof He.markComponentLayoutEffectUnmountStopped=="function"&&He.markComponentLayoutEffectUnmountStopped()}function Df(e,t,o){He!==null&&typeof He.markComponentErrored=="function"&&He.markComponentErrored(e,t,o)}function r1(e,t,o){He!==null&&typeof He.markComponentSuspended=="function"&&He.markComponentSuspended(e,t,o)}function a1(e){He!==null&&typeof He.markLayoutEffectsStarted=="function"&&He.markLayoutEffectsStarted(e)}function Au(){He!==null&&typeof He.markLayoutEffectsStopped=="function"&&He.markLayoutEffectsStopped()}function i1(e){He!==null&&typeof He.markPassiveEffectsStarted=="function"&&He.markPassiveEffectsStarted(e)}function Ks(){He!==null&&typeof He.markPassiveEffectsStopped=="function"&&He.markPassiveEffectsStopped()}function hi(e){He!==null&&typeof He.markRenderStarted=="function"&&He.markRenderStarted(e)}function Qs(){He!==null&&typeof He.markRenderYielded=="function"&&He.markRenderYielded()}function Ru(){He!==null&&typeof He.markRenderStopped=="function"&&He.markRenderStopped()}function Tl(e){He!==null&&typeof He.markRenderScheduled=="function"&&He.markRenderScheduled(e)}function ip(e,t){He!==null&&typeof He.markForceUpdateScheduled=="function"&&He.markForceUpdateScheduled(e,t)}function Yo(e,t){He!==null&&typeof He.markStateUpdateScheduled=="function"&&He.markStateUpdateScheduled(e,t)}var ot=0,At=1,ut=2,An=8,qa=16,Tf=Math.clz32?Math.clz32:Al,Af=Math.log,op=Math.LN2;function Al(e){var t=e>>>0;return t===0?32:31-(Af(t)/op|0)|0}var vn=31,Ee=0,Ft=0,st=1,wi=2,Da=4,Rl=8,mn=16,kl=32,qo=4194240,Ol=64,Ga=128,la=256,Bl=512,Xs=1024,Js=2048,Rf=4096,kf=8192,Of=16384,Bf=32768,Ff=65536,zf=131072,Mf=262144,Nf=524288,Fl=1048576,Lf=2097152,zl=130023424,Ji=4194304,Uf=8388608,ec=16777216,Hf=33554432,Pf=67108864,lp=Ji,ku=134217728,jf=268435455,Ou=268435456,Go=536870912,ua=1073741824;function kx(e){{if(e&st)return"Sync";if(e&wi)return"InputContinuousHydration";if(e&Da)return"InputContinuous";if(e&Rl)return"DefaultHydration";if(e&mn)return"Default";if(e&kl)return"TransitionHydration";if(e&qo)return"Transition";if(e&zl)return"Retry";if(e&ku)return"SelectiveHydration";if(e&Ou)return"IdleHydration";if(e&Go)return"Idle";if(e&ua)return"Offscreen"}}var cn=-1,If=Ol,$f=Ji;function Bu(e){switch(Yn(e)){case st:return st;case wi:return wi;case Da:return Da;case Rl:return Rl;case mn:return mn;case kl:return kl;case Ol:case Ga:case la:case Bl:case Xs:case Js:case Rf:case kf:case Of:case Bf:case Ff:case zf:case Mf:case Nf:case Fl:case Lf:return e&qo;case Ji:case Uf:case ec:case Hf:case Pf:return e&zl;case ku:return ku;case Ou:return Ou;case Go:return Go;case ua:return ua;default:return h("Should have found matching lanes. This is a bug in React."),e}}function tc(e,t){var o=e.pendingLanes;if(o===Ee)return Ee;var u=Ee,f=e.suspendedLanes,y=e.pingedLanes,b=o&jf;if(b!==Ee){var R=b&~f;if(R!==Ee)u=Bu(R);else{var z=b&y;z!==Ee&&(u=Bu(z))}}else{var j=o&~f;j!==Ee?u=Bu(j):y!==Ee&&(u=Bu(y))}if(u===Ee)return Ee;if(t!==Ee&&t!==u&&(t&f)===Ee){var q=Yn(u),le=Yn(t);if(q>=le||q===mn&&(le&qo)!==Ee)return t}(u&Da)!==Ee&&(u|=o&mn);var ie=e.entangledLanes;if(ie!==Ee)for(var me=e.entanglements,ye=u&ie;ye>0;){var _e=Wo(ye),qe=1<<_e;u|=me[_e],ye&=~qe}return u}function o1(e,t){for(var o=e.eventTimes,u=cn;t>0;){var f=Wo(t),y=1<<f,b=o[f];b>u&&(u=b),t&=~y}return u}function Vf(e,t){switch(e){case st:case wi:case Da:return t+250;case Rl:case mn:case kl:case Ol:case Ga:case la:case Bl:case Xs:case Js:case Rf:case kf:case Of:case Bf:case Ff:case zf:case Mf:case Nf:case Fl:case Lf:return t+5e3;case Ji:case Uf:case ec:case Hf:case Pf:return cn;case ku:case Ou:case Go:case ua:return cn;default:return h("Should have found matching lanes. This is a bug in React."),cn}}function Ox(e,t){for(var o=e.pendingLanes,u=e.suspendedLanes,f=e.pingedLanes,y=e.expirationTimes,b=o;b>0;){var R=Wo(b),z=1<<R,j=y[R];j===cn?((z&u)===Ee||(z&f)!==Ee)&&(y[R]=Vf(z,t)):j<=t&&(e.expiredLanes|=z),b&=~z}}function Bx(e){return Bu(e.pendingLanes)}function up(e){var t=e.pendingLanes&~ua;return t!==Ee?t:t&ua?ua:Ee}function Fu(e){return(e&st)!==Ee}function nc(e){return(e&jf)!==Ee}function Yf(e){return(e&zl)===e}function Fx(e){var t=st|Da|mn;return(e&t)===Ee}function l1(e){return(e&qo)===e}function rc(e,t){var o=wi|Da|Rl|mn;return(t&o)!==Ee}function u1(e,t){return(t&e.expiredLanes)!==Ee}function sp(e){return(e&qo)!==Ee}function cp(){var e=If;return If<<=1,(If&qo)===Ee&&(If=Ol),e}function zx(){var e=$f;return $f<<=1,($f&zl)===Ee&&($f=Ji),e}function Yn(e){return e&-e}function Qn(e){return Yn(e)}function Wo(e){return 31-Tf(e)}function qf(e){return Wo(e)}function sa(e,t){return(e&t)!==Ee}function Ml(e,t){return(e&t)===t}function _t(e,t){return e|t}function zu(e,t){return e&~t}function fp(e,t){return e&t}function s1(e){return e}function c1(e,t){return e!==Ft&&e<t?e:t}function Gf(e){for(var t=[],o=0;o<vn;o++)t.push(e);return t}function Nl(e,t,o){e.pendingLanes|=t,t!==Go&&(e.suspendedLanes=Ee,e.pingedLanes=Ee);var u=e.eventTimes,f=qf(t);u[f]=o}function dp(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var o=e.expirationTimes,u=t;u>0;){var f=Wo(u),y=1<<f;o[f]=cn,u&=~y}}function pp(e,t,o){e.pingedLanes|=e.suspendedLanes&t}function hp(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ee,e.pingedLanes=Ee,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,f=e.eventTimes,y=e.expirationTimes,b=o;b>0;){var R=Wo(b),z=1<<R;u[R]=Ee,f[R]=cn,y[R]=cn,b&=~z}}function Mu(e,t){for(var o=e.entangledLanes|=t,u=e.entanglements,f=o;f;){var y=Wo(f),b=1<<y;b&t|u[y]&t&&(u[y]|=t),f&=~b}}function Mx(e,t){var o=Yn(t),u;switch(o){case Da:u=wi;break;case mn:u=Rl;break;case Ol:case Ga:case la:case Bl:case Xs:case Js:case Rf:case kf:case Of:case Bf:case Ff:case zf:case Mf:case Nf:case Fl:case Lf:case Ji:case Uf:case ec:case Hf:case Pf:u=kl;break;case Go:u=Ou;break;default:u=Ft;break}return(u&(e.suspendedLanes|t))!==Ft?Ft:u}function vp(e,t,o){if(gr)for(var u=e.pendingUpdatersLaneMap;o>0;){var f=qf(o),y=1<<f,b=u[f];b.add(t),o&=~y}}function Wf(e,t){if(gr)for(var o=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var f=qf(t),y=1<<f,b=o[f];b.size>0&&(b.forEach(function(R){var z=R.alternate;(z===null||!u.has(z))&&u.add(R)}),b.clear()),t&=~y}}function mp(e,t){return null}var Mr=st,xr=Da,eo=mn,ac=Go,Ll=Ft;function Wa(){return Ll}function Xn(e){Ll=e}function ic(e,t){var o=Ll;try{return Ll=e,t()}finally{Ll=o}}function Nr(e,t){return e!==0&&e<t?e:t}function Nx(e,t){return e===0||e>t?e:t}function yp(e,t){return e!==0&&e<t}function oc(e){var t=Yn(e);return yp(Mr,t)?yp(xr,t)?nc(t)?eo:ac:xr:Mr}function Jn(e){var t=e.current.memoizedState;return t.isDehydrated}var f1;function We(e){f1=e}function Nu(e){f1(e)}var lc;function d1(e){lc=e}var p1;function uc(e){p1=e}var sc;function gp(e){sc=e}var xp;function h1(e){xp=e}var Zf=!1,Lu=[],Di=null,En=null,cr=null,Za=new Map,Uu=new Map,to=[],vi=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function v1(e){return vi.indexOf(e)>-1}function Ti(e,t,o,u,f){return{blockedOn:e,domEventName:t,eventSystemFlags:o,nativeEvent:f,targetContainers:[u]}}function m1(e,t){switch(e){case"focusin":case"focusout":Di=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":cr=null;break;case"pointerover":case"pointerout":{var o=t.pointerId;Za.delete(o);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;Uu.delete(u);break}}}function Hu(e,t,o,u,f,y){if(e===null||e.nativeEvent!==y){var b=Ti(t,o,u,f,y);if(t!==null){var R=Ku(t);R!==null&&lc(R)}return b}e.eventSystemFlags|=u;var z=e.targetContainers;return f!==null&&z.indexOf(f)===-1&&z.push(f),e}function y1(e,t,o,u,f){switch(t){case"focusin":{var y=f;return Di=Hu(Di,e,t,o,u,y),!0}case"dragenter":{var b=f;return En=Hu(En,e,t,o,u,b),!0}case"mouseover":{var R=f;return cr=Hu(cr,e,t,o,u,R),!0}case"pointerover":{var z=f,j=z.pointerId;return Za.set(j,Hu(Za.get(j)||null,e,t,o,u,z)),!0}case"gotpointercapture":{var q=f,le=q.pointerId;return Uu.set(le,Hu(Uu.get(le)||null,e,t,o,u,q)),!0}}return!1}function _p(e){var t=gc(e.target);if(t!==null){var o=Ea(t);if(o!==null){var u=o.tag;if(u===N){var f=Zd(o);if(f!==null){e.blockedOn=f,xp(e.priority,function(){p1(o)});return}}else if(u===w){var y=o.stateNode;if(Jn(y)){e.blockedOn=yf(o);return}}}}e.blockedOn=null}function g1(e){for(var t=sc(),o={blockedOn:null,target:e,priority:t},u=0;u<to.length&&yp(t,to[u].priority);u++);to.splice(u,0,o),u===0&&_p(o)}function Kf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var o=t[0],u=Ul(e.domEventName,e.eventSystemFlags,o,e.nativeEvent);if(u===null){var f=e.nativeEvent,y=new f.constructor(f.type,f);Is(y),f.target.dispatchEvent(y),Dx()}else{var b=Ku(u);return b!==null&&lc(b),e.blockedOn=u,!1}t.shift()}return!0}function cc(e,t,o){Kf(e)&&o.delete(t)}function Cp(){Zf=!1,Di!==null&&Kf(Di)&&(Di=null),En!==null&&Kf(En)&&(En=null),cr!==null&&Kf(cr)&&(cr=null),Za.forEach(cc),Uu.forEach(cc)}function Lr(e,t){e.blockedOn===t&&(e.blockedOn=null,Zf||(Zf=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Cp)))}function kt(e){if(Lu.length>0){Lr(Lu[0],e);for(var t=1;t<Lu.length;t++){var o=Lu[t];o.blockedOn===e&&(o.blockedOn=null)}}Di!==null&&Lr(Di,e),En!==null&&Lr(En,e),cr!==null&&Lr(cr,e);var u=function(R){return Lr(R,e)};Za.forEach(u),Uu.forEach(u);for(var f=0;f<to.length;f++){var y=to[f];y.blockedOn===e&&(y.blockedOn=null)}for(;to.length>0;){var b=to[0];if(b.blockedOn!==null)break;_p(b),b.blockedOn===null&&to.shift()}}var Rn=a.ReactCurrentBatchConfig,Fn=!0;function fr(e){Fn=!!e}function Ta(){return Fn}function Pu(e,t,o){var u=$r(t),f;switch(u){case Mr:f=er;break;case xr:f=fc;break;case eo:default:f=no;break}return f.bind(null,t,o,e)}function er(e,t,o,u){var f=Wa(),y=Rn.transition;Rn.transition=null;try{Xn(Mr),no(e,t,o,u)}finally{Xn(f),Rn.transition=y}}function fc(e,t,o,u){var f=Wa(),y=Rn.transition;Rn.transition=null;try{Xn(xr),no(e,t,o,u)}finally{Xn(f),Rn.transition=y}}function no(e,t,o,u){Fn&&Qf(e,t,o,u)}function Qf(e,t,o,u){var f=Ul(e,t,o,u);if(f===null){n2(e,t,u,ju,o),m1(e,u);return}if(y1(f,e,t,o,u)){u.stopPropagation();return}if(m1(e,u),t&_l&&v1(e)){for(;f!==null;){var y=Ku(f);y!==null&&Nu(y);var b=Ul(e,t,o,u);if(b===null&&n2(e,t,u,ju,o),b===f)break;f=b}f!==null&&u.stopPropagation();return}n2(e,t,u,null,o)}var ju=null;function Ul(e,t,o,u){ju=null;var f=df(u),y=gc(f);if(y!==null){var b=Ea(y);if(b===null)y=null;else{var R=b.tag;if(R===N){var z=Zd(b);if(z!==null)return z;y=null}else if(R===w){var j=b.stateNode;if(Jn(j))return yf(b);y=null}else b!==y&&(y=null)}}return ju=y,null}function $r(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Mr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return xr;case"message":{var t=Xd();switch(t){case Cf:return Mr;case wa:return xr;case bi:case Sf:return eo;case Po:return ac;default:return eo}}default:return eo}}function Sp(e,t,o){return e.addEventListener(t,o,!1),o}function Iu(e,t,o){return e.addEventListener(t,o,!0),o}function ro(e,t,o,u){return e.addEventListener(t,o,{capture:!0,passive:u}),o}function Xf(e,t,o,u){return e.addEventListener(t,o,{passive:u}),o}var Hl=null,Ai=null,Zo=null;function Ko(e){return Hl=e,Ai=e0(),!0}function Jf(){Hl=null,Ai=null,Zo=null}function $u(){if(Zo)return Zo;var e,t=Ai,o=t.length,u,f=e0(),y=f.length;for(e=0;e<o&&t[e]===f[e];e++);var b=o-e;for(u=1;u<=b&&t[o-u]===f[y-u];u++);var R=u>1?1-u:void 0;return Zo=f.slice(e,R),Zo}function e0(){return"value"in Hl?Hl.value:Hl.textContent}function Pl(e){var t,o=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&o===13&&(t=13)):t=o,t===10&&(t=13),t>=32||t===13?t:0}function jl(){return!0}function Ur(){return!1}function qn(e){function t(o,u,f,y,b){this._reactName=o,this._targetInst=f,this.type=u,this.nativeEvent=y,this.target=b,this.currentTarget=null;for(var R in e)if(e.hasOwnProperty(R)){var z=e[R];z?this[R]=z(y):this[R]=y[R]}var j=y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1;return j?this.isDefaultPrevented=jl:this.isDefaultPrevented=Ur,this.isPropagationStopped=Ur,this}return Rt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=jl)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=jl)},persist:function(){},isPersistent:jl}),t}var Hr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pr=qn(Hr),Vu=Rt({},Hr,{view:0,detail:0}),Ep=qn(Vu),dc,bp,Ka;function x1(e){e!==Ka&&(Ka&&e.type==="mousemove"?(dc=e.screenX-Ka.screenX,bp=e.screenY-Ka.screenY):(dc=0,bp=0),Ka=e)}var Yu=Rt({},Vu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:r0,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(x1(e),dc)},movementY:function(e){return"movementY"in e?e.movementY:bp}}),Qo=qn(Yu),wp=Rt({},Yu,{dataTransfer:0}),Il=qn(wp),_1=Rt({},Vu,{relatedTarget:0}),t0=qn(_1),Dp=Rt({},Hr,{animationName:0,elapsedTime:0,pseudoElement:0}),n0=qn(Dp),Lx=Rt({},Hr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ux=qn(Lx),C1=Rt({},Hr,{data:0}),Tp=qn(C1),$l=Tp,Hx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function S1(e){if(e.key){var t=Hx[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var o=Pl(e);return o===13?"Enter":String.fromCharCode(o)}return e.type==="keydown"||e.type==="keyup"?qu[e.keyCode]||"Unidentified":""}var zn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Px(e){var t=this,o=t.nativeEvent;if(o.getModifierState)return o.getModifierState(e);var u=zn[e];return u?!!o[u]:!1}function r0(e){return Px}var jx=Rt({},Vu,{key:S1,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:r0,charCode:function(e){return e.type==="keypress"?Pl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Pl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ix=qn(jx),E1=Rt({},Yu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ap=qn(E1),$x=Rt({},Vu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:r0}),Qa=qn($x),Rp=Rt({},Hr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vx=qn(Rp),Xo=Rt({},Yu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),a0=qn(Xo),Vl=[9,13,27,32],pc=229,hc=ft&&"CompositionEvent"in window,Yl=null;ft&&"documentMode"in document&&(Yl=document.documentMode);var Yx=ft&&"TextEvent"in window&&!Yl,i0=ft&&(!hc||Yl&&Yl>8&&Yl<=11),b1=32,kp=String.fromCharCode(b1);function w1(){ct("onBeforeInput",["compositionend","keypress","textInput","paste"]),ct("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),ct("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),ct("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var vc=!1;function o0(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function D1(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Op(e,t){return e==="keydown"&&t.keyCode===pc}function T1(e,t){switch(e){case"keyup":return Vl.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==pc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bp(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function l0(e){return e.locale==="ko"}var ao=!1;function Fp(e,t,o,u,f){var y,b;if(hc?y=D1(t):ao?T1(t,u)&&(y="onCompositionEnd"):Op(t,u)&&(y="onCompositionStart"),!y)return null;i0&&!l0(u)&&(!ao&&y==="onCompositionStart"?ao=Ko(f):y==="onCompositionEnd"&&ao&&(b=$u()));var R=B1(o,y);if(R.length>0){var z=new Tp(y,t,null,u,f);if(e.push({event:z,listeners:R}),b)z.data=b;else{var j=Bp(u);j!==null&&(z.data=j)}}}function u0(e,t){switch(e){case"compositionend":return Bp(t);case"keypress":var o=t.which;return o!==b1?null:(vc=!0,kp);case"textInput":var u=t.data;return u===kp&&vc?null:u;default:return null}}function A1(e,t){if(ao){if(e==="compositionend"||!hc&&T1(e,t)){var o=$u();return Jf(),ao=!1,o}return null}switch(e){case"paste":return null;case"keypress":if(!o0(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return i0&&!l0(t)?null:t.data;default:return null}}function qx(e,t,o,u,f){var y;if(Yx?y=u0(t,u):y=A1(t,u),!y)return null;var b=B1(o,"onBeforeInput");if(b.length>0){var R=new $l("onBeforeInput","beforeinput",null,u,f);e.push({event:R,listeners:b}),R.data=y}}function s0(e,t,o,u,f,y,b){Fp(e,t,o,u,f),qx(e,t,o,u,f)}var Gx={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Gx[e.type]:t==="textarea"}function Wx(e){if(!ft)return!1;var t="on"+e,o=t in document;if(!o){var u=document.createElement("div");u.setAttribute(t,"return;"),o=typeof u[t]=="function"}return o}function c0(){ct("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function r(e,t,o,u){pf(u);var f=B1(t,"onChange");if(f.length>0){var y=new Pr("onChange","change",null,o,u);e.push({event:y,listeners:f})}}var i=null,c=null;function m(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function S(e){var t=[];r(t,c,e,df(e)),jd(D,t)}function D(e){K4(e,0)}function U(e){var t=m0(e);if(hv(t))return e}function X(e,t){if(e==="change")return t}var ae=!1;ft&&(ae=Wx("input")&&(!document.documentMode||document.documentMode>9));function ge(e,t){i=e,c=t,i.attachEvent("onpropertychange",ze)}function ke(){i&&(i.detachEvent("onpropertychange",ze),i=null,c=null)}function ze(e){e.propertyName==="value"&&U(c)&&S(e)}function Re(e,t,o){e==="focusin"?(ke(),ge(t,o)):e==="focusout"&&ke()}function Ve(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return U(c)}function Ze(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Xe(e,t){if(e==="click")return U(t)}function Ln(e,t){if(e==="input"||e==="change")return U(t)}function fe(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Bo(e,"number",e.value)}function oe(e,t,o,u,f,y,b){var R=o?m0(o):window,z,j;if(m(R)?z=X:Gu(R)?ae?z=Ln:(z=Ve,j=Re):Ze(R)&&(z=Xe),z){var q=z(t,o);if(q){r(e,q,u,f);return}}j&&j(t,R,o),t==="focusout"&&fe(R)}function ve(){Fe("onMouseEnter",["mouseout","mouseover"]),Fe("onMouseLeave",["mouseout","mouseover"]),Fe("onPointerEnter",["pointerout","pointerover"]),Fe("onPointerLeave",["pointerout","pointerover"])}function Le(e,t,o,u,f,y,b){var R=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout";if(R&&!Yv(u)){var j=u.relatedTarget||u.fromElement;if(j&&(gc(j)||Gp(j)))return}if(!(!z&&!R)){var q;if(f.window===f)q=f;else{var le=f.ownerDocument;le?q=le.defaultView||le.parentWindow:q=window}var ie,me;if(z){var ye=u.relatedTarget||u.toElement;if(ie=o,me=ye?gc(ye):null,me!==null){var _e=Ea(me);(me!==_e||me.tag!==E&&me.tag!==T)&&(me=null)}}else ie=null,me=o;if(ie!==me){var qe=Qo,at="onMouseLeave",tt="onMouseEnter",Mt="mouse";(t==="pointerout"||t==="pointerover")&&(qe=Ap,at="onPointerLeave",tt="onPointerEnter",Mt="pointer");var Ot=ie==null?q:m0(ie),pe=me==null?q:m0(me),Ce=new qe(at,Mt+"leave",ie,u,f);Ce.target=Ot,Ce.relatedTarget=pe;var he=null,Me=gc(f);if(Me===o){var Ge=new qe(tt,Mt+"enter",me,u,f);Ge.target=pe,Ge.relatedTarget=Ot,he=Ge}CO(e,Ce,he,ie,me)}}}function et(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ke=typeof Object.is=="function"?Object.is:et;function nt(e,t){if(Ke(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),u=Object.keys(t);if(o.length!==u.length)return!1;for(var f=0;f<o.length;f++){var y=o[f];if(!wt.call(t,y)||!Ke(e[y],t[y]))return!1}return!0}function ht(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ht(e,t){for(var o=ht(e),u=0,f=0;o;){if(o.nodeType===Yi){if(f=u+o.textContent.length,u<=t&&f>=t)return{node:o,offset:t-u};u=f}o=ht(dr(o))}}function Jo(e){var t=e.ownerDocument,o=t&&t.defaultView||window,u=o.getSelection&&o.getSelection();if(!u||u.rangeCount===0)return null;var f=u.anchorNode,y=u.anchorOffset,b=u.focusNode,R=u.focusOffset;try{f.nodeType,b.nodeType}catch{return null}return Zx(e,f,y,b,R)}function Zx(e,t,o,u,f){var y=0,b=-1,R=-1,z=0,j=0,q=e,le=null;e:for(;;){for(var ie=null;q===t&&(o===0||q.nodeType===Yi)&&(b=y+o),q===u&&(f===0||q.nodeType===Yi)&&(R=y+f),q.nodeType===Yi&&(y+=q.nodeValue.length),(ie=q.firstChild)!==null;)le=q,q=ie;for(;;){if(q===e)break e;if(le===t&&++z===o&&(b=y),le===u&&++j===f&&(R=y),(ie=q.nextSibling)!==null)break;q=le,le=q.parentNode}q=ie}return b===-1||R===-1?null:{start:b,end:R}}function nO(e,t){var o=e.ownerDocument||document,u=o&&o.defaultView||window;if(u.getSelection){var f=u.getSelection(),y=e.textContent.length,b=Math.min(t.start,y),R=t.end===void 0?b:Math.min(t.end,y);if(!f.extend&&b>R){var z=R;R=b,b=z}var j=Ht(e,b),q=Ht(e,R);if(j&&q){if(f.rangeCount===1&&f.anchorNode===j.node&&f.anchorOffset===j.offset&&f.focusNode===q.node&&f.focusOffset===q.offset)return;var le=o.createRange();le.setStart(j.node,j.offset),f.removeAllRanges(),b>R?(f.addRange(le),f.extend(q.node,q.offset)):(le.setEnd(q.node,q.offset),f.addRange(le))}}}function U4(e){return e&&e.nodeType===Yi}function H4(e,t){return!e||!t?!1:e===t?!0:U4(e)?!1:U4(t)?H4(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function rO(e){return e&&e.ownerDocument&&H4(e.ownerDocument.documentElement,e)}function aO(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function P4(){for(var e=window,t=Xc();t instanceof e.HTMLIFrameElement;){if(aO(t))e=t.contentWindow;else return t;t=Xc(e.document)}return t}function Kx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function iO(){var e=P4();return{focusedElem:e,selectionRange:Kx(e)?lO(e):null}}function oO(e){var t=P4(),o=e.focusedElem,u=e.selectionRange;if(t!==o&&rO(o)){u!==null&&Kx(o)&&uO(o,u);for(var f=[],y=o;y=y.parentNode;)y.nodeType===ta&&f.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof o.focus=="function"&&o.focus();for(var b=0;b<f.length;b++){var R=f[b];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}}function lO(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Jo(e),t||{start:0,end:0}}function uO(e,t){var o=t.start,u=t.end;u===void 0&&(u=o),"selectionStart"in e?(e.selectionStart=o,e.selectionEnd=Math.min(u,e.value.length)):nO(e,t)}var sO=ft&&"documentMode"in document&&document.documentMode<=11;function cO(){ct("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var f0=null,Qx=null,zp=null,Xx=!1;function fO(e){if("selectionStart"in e&&Kx(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,o=t.getSelection();return{anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}}function dO(e){return e.window===e?e.document:e.nodeType===fi?e:e.ownerDocument}function j4(e,t,o){var u=dO(o);if(!(Xx||f0==null||f0!==Xc(u))){var f=fO(f0);if(!zp||!nt(zp,f)){zp=f;var y=B1(Qx,"onSelect");if(y.length>0){var b=new Pr("onSelect","select",null,t,o);e.push({event:b,listeners:y}),b.target=f0}}}}function pO(e,t,o,u,f,y,b){var R=o?m0(o):window;switch(t){case"focusin":(Gu(R)||R.contentEditable==="true")&&(f0=R,Qx=o,zp=null);break;case"focusout":f0=null,Qx=null,zp=null;break;case"mousedown":Xx=!0;break;case"contextmenu":case"mouseup":case"dragend":Xx=!1,j4(e,u,f);break;case"selectionchange":if(sO)break;case"keydown":case"keyup":j4(e,u,f)}}function R1(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var d0={animationend:R1("Animation","AnimationEnd"),animationiteration:R1("Animation","AnimationIteration"),animationstart:R1("Animation","AnimationStart"),transitionend:R1("Transition","TransitionEnd")},Jx={},I4={};ft&&(I4=document.createElement("div").style,"AnimationEvent"in window||(delete d0.animationend.animation,delete d0.animationiteration.animation,delete d0.animationstart.animation),"TransitionEvent"in window||delete d0.transitionend.transition);function k1(e){if(Jx[e])return Jx[e];if(!d0[e])return e;var t=d0[e];for(var o in t)if(t.hasOwnProperty(o)&&o in I4)return Jx[e]=t[o];return e}var $4=k1("animationend"),V4=k1("animationiteration"),Y4=k1("animationstart"),q4=k1("transitionend"),G4=new Map,W4=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Wu(e,t){G4.set(e,t),ct(t,[e])}function hO(){for(var e=0;e<W4.length;e++){var t=W4[e],o=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);Wu(o,"on"+u)}Wu($4,"onAnimationEnd"),Wu(V4,"onAnimationIteration"),Wu(Y4,"onAnimationStart"),Wu("dblclick","onDoubleClick"),Wu("focusin","onFocus"),Wu("focusout","onBlur"),Wu(q4,"onTransitionEnd")}function vO(e,t,o,u,f,y,b){var R=G4.get(t);if(R!==void 0){var z=Pr,j=t;switch(t){case"keypress":if(Pl(u)===0)return;case"keydown":case"keyup":z=Ix;break;case"focusin":j="focus",z=t0;break;case"focusout":j="blur",z=t0;break;case"beforeblur":case"afterblur":z=t0;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=Qo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=Il;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=Qa;break;case $4:case V4:case Y4:z=n0;break;case q4:z=Vx;break;case"scroll":z=Ep;break;case"wheel":z=a0;break;case"copy":case"cut":case"paste":z=Ux;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=Ap;break}var q=(y&_l)!==0;{var le=!q&&t==="scroll",ie=xO(o,R,u.type,q,le);if(ie.length>0){var me=new z(R,j,null,u,f);e.push({event:me,listeners:ie})}}}}hO(),ve(),c0(),cO(),w1();function mO(e,t,o,u,f,y,b){vO(e,t,o,u,f,y);var R=(y&wx)===0;R&&(Le(e,t,o,u,f),oe(e,t,o,u,f),pO(e,t,o,u,f),s0(e,t,o,u,f))}var Mp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],e2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Mp));function Z4(e,t,o){var u=e.type||"unknown-event";e.currentTarget=o,Zi(u,t,void 0,e),e.currentTarget=null}function yO(e,t,o){var u;if(o)for(var f=t.length-1;f>=0;f--){var y=t[f],b=y.instance,R=y.currentTarget,z=y.listener;if(b!==u&&e.isPropagationStopped())return;Z4(e,z,R),u=b}else for(var j=0;j<t.length;j++){var q=t[j],le=q.instance,ie=q.currentTarget,me=q.listener;if(le!==u&&e.isPropagationStopped())return;Z4(e,me,ie),u=le}}function K4(e,t){for(var o=(t&_l)!==0,u=0;u<e.length;u++){var f=e[u],y=f.event,b=f.listeners;yO(y,b,o)}Yd()}function gO(e,t,o,u,f){var y=df(o),b=[];mO(b,e,u,o,y,t),K4(b,t)}function kn(e,t){e2.has(e)||h('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var o=!1,u=W9(t),f=SO(e,o);u.has(f)||(Q4(t,e,Ps,o),u.add(f))}function t2(e,t,o){e2.has(e)&&!t&&h('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=_l),Q4(o,e,u,t)}var O1="_reactListening"+Math.random().toString(36).slice(2);function Np(e){if(!e[O1]){e[O1]=!0,Se.forEach(function(o){o!=="selectionchange"&&(e2.has(o)||t2(o,!1,e),t2(o,!0,e))});var t=e.nodeType===fi?e:e.ownerDocument;t!==null&&(t[O1]||(t[O1]=!0,t2("selectionchange",!1,t)))}}function Q4(e,t,o,u,f){var y=Pu(e,t,o),b=void 0;Ys&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(b=!0),e=e,u?b!==void 0?ro(e,t,y,b):Iu(e,t,y):b!==void 0?Xf(e,t,y,b):Sp(e,t,y)}function X4(e,t){return e===t||e.nodeType===Vn&&e.parentNode===t}function n2(e,t,o,u,f){var y=u;if(!(t&Gi)&&!(t&Ps)){var b=f;if(u!==null){var R=u;e:for(;;){if(R===null)return;var z=R.tag;if(z===w||z===C){var j=R.stateNode.containerInfo;if(X4(j,b))break;if(z===C)for(var q=R.return;q!==null;){var le=q.tag;if(le===w||le===C){var ie=q.stateNode.containerInfo;if(X4(ie,b))return}q=q.return}for(;j!==null;){var me=gc(j);if(me===null)return;var ye=me.tag;if(ye===E||ye===T){R=y=me;continue e}j=j.parentNode}}R=R.return}}}jd(function(){return gO(e,t,o,y)})}function Lp(e,t,o){return{instance:e,listener:t,currentTarget:o}}function xO(e,t,o,u,f,y){for(var b=t!==null?t+"Capture":null,R=u?b:t,z=[],j=e,q=null;j!==null;){var le=j,ie=le.stateNode,me=le.tag;if(me===E&&ie!==null&&(q=ie,R!==null)){var ye=Sl(j,R);ye!=null&&z.push(Lp(j,ye,q))}if(f)break;j=j.return}return z}function B1(e,t){for(var o=t+"Capture",u=[],f=e;f!==null;){var y=f,b=y.stateNode,R=y.tag;if(R===E&&b!==null){var z=b,j=Sl(f,o);j!=null&&u.unshift(Lp(f,j,z));var q=Sl(f,t);q!=null&&u.push(Lp(f,q,z))}f=f.return}return u}function p0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==E);return e||null}function _O(e,t){for(var o=e,u=t,f=0,y=o;y;y=p0(y))f++;for(var b=0,R=u;R;R=p0(R))b++;for(;f-b>0;)o=p0(o),f--;for(;b-f>0;)u=p0(u),b--;for(var z=f;z--;){if(o===u||u!==null&&o===u.alternate)return o;o=p0(o),u=p0(u)}return null}function J4(e,t,o,u,f){for(var y=t._reactName,b=[],R=o;R!==null&&R!==u;){var z=R,j=z.alternate,q=z.stateNode,le=z.tag;if(j!==null&&j===u)break;if(le===E&&q!==null){var ie=q;if(f){var me=Sl(R,y);me!=null&&b.unshift(Lp(R,me,ie))}else if(!f){var ye=Sl(R,y);ye!=null&&b.push(Lp(R,ye,ie))}}R=R.return}b.length!==0&&e.push({event:t,listeners:b})}function CO(e,t,o,u,f){var y=u&&f?_O(u,f):null;u!==null&&J4(e,t,u,y,!1),f!==null&&o!==null&&J4(e,o,f,y,!0)}function SO(e,t){return e+"__"+(t?"capture":"bubble")}var Xa=!1,Up="dangerouslySetInnerHTML",F1="suppressContentEditableWarning",Zu="suppressHydrationWarning",ew="autoFocus",mc="children",yc="style",z1="__html",r2,M1,Hp,tw,N1,nw,rw;r2={dialog:!0,webview:!0},M1=function(e,t){ff(e,t),Nd(e,t),Vv(e,t,{registrationNameDependencies:Ie,possibleRegistrationNames:Ne})},nw=ft&&!document.documentMode,Hp=function(e,t,o){if(!Xa){var u=L1(o),f=L1(t);f!==u&&(Xa=!0,h("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(f),JSON.stringify(u)))}},tw=function(e){if(!Xa){Xa=!0;var t=[];e.forEach(function(o){t.push(o)}),h("Extra attributes from the server: %s",t)}},N1=function(e,t){t===!1?h("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):h("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},rw=function(e,t){var o=e.namespaceURI===Vi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return o.innerHTML=t,o.innerHTML};var EO=/\r\n?/g,bO=/\u0000|\uFFFD/g;function L1(e){Wt(e);var t=typeof e=="string"?e:""+e;return t.replace(EO,`
85
- `).replace(bO,"")}function U1(e,t,o,u){var f=L1(t),y=L1(e);if(y!==f&&(u&&(Xa||(Xa=!0,h('Text content did not match. Server: "%s" Client: "%s"',y,f))),o&&ce))throw new Error("Text content does not match server-rendered HTML.")}function aw(e){return e.nodeType===fi?e:e.ownerDocument}function wO(){}function H1(e){e.onclick=wO}function DO(e,t,o,u,f){for(var y in u)if(u.hasOwnProperty(y)){var b=u[y];if(y===yc)b&&Object.freeze(b),zv(t,b);else if(y===Up){var R=b?b[z1]:void 0;R!=null&&Ev(t,R)}else if(y===mc)if(typeof b=="string"){var z=e!=="textarea"||b!=="";z&&lf(t,b)}else typeof b=="number"&&lf(t,""+b);else y===F1||y===Zu||y===ew||(Ie.hasOwnProperty(y)?b!=null&&(typeof b!="function"&&N1(y,b),y==="onScroll"&&kn("scroll",t)):b!=null&&xn(t,y,b,f))}}function TO(e,t,o,u){for(var f=0;f<t.length;f+=2){var y=t[f],b=t[f+1];y===yc?zv(e,b):y===Up?Ev(e,b):y===mc?lf(e,b):xn(e,y,b,u)}}function AO(e,t,o,u){var f,y=aw(o),b,R=u;if(R===Vi&&(R=af(e)),R===Vi){if(f=qi(e,t),!f&&e!==e.toLowerCase()&&h("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var z=y.createElement("div");z.innerHTML="<script></script>";var j=z.firstChild;b=z.removeChild(j)}else if(typeof t.is=="string")b=y.createElement(e,{is:t.is});else if(b=y.createElement(e),e==="select"){var q=b;t.multiple?q.multiple=!0:t.size&&(q.size=t.size)}}else b=y.createElementNS(R,e);return R===Vi&&!f&&Object.prototype.toString.call(b)==="[object HTMLUnknownElement]"&&!wt.call(r2,e)&&(r2[e]=!0,h("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),b}function RO(e,t){return aw(t).createTextNode(e)}function kO(e,t,o,u){var f=qi(t,o);M1(t,o);var y;switch(t){case"dialog":kn("cancel",e),kn("close",e),y=o;break;case"iframe":case"object":case"embed":kn("load",e),y=o;break;case"video":case"audio":for(var b=0;b<Mp.length;b++)kn(Mp[b],e);y=o;break;case"source":kn("error",e),y=o;break;case"img":case"image":case"link":kn("error",e),kn("load",e),y=o;break;case"details":kn("toggle",e),y=o;break;case"input":zs(e,o),y=Fs(e,o),kn("invalid",e);break;case"option":nf(e,o),y=o;break;case"select":xv(e,o),y=wd(e,o),kn("invalid",e);break;case"textarea":_v(e,o),y=Td(e,o),kn("invalid",e);break;default:y=o}switch(sf(t,y),DO(t,e,u,y,f),t){case"input":yl(e),Ms(e,o,!1);break;case"textarea":yl(e),Sv(e);break;case"option":bd(e,o);break;case"select":hx(e,o);break;default:typeof y.onClick=="function"&&H1(e);break}}function OO(e,t,o,u,f){M1(t,u);var y=null,b,R;switch(t){case"input":b=Fs(e,o),R=Fs(e,u),y=[];break;case"select":b=wd(e,o),R=wd(e,u),y=[];break;case"textarea":b=Td(e,o),R=Td(e,u),y=[];break;default:b=o,R=u,typeof b.onClick!="function"&&typeof R.onClick=="function"&&H1(e);break}sf(t,R);var z,j,q=null;for(z in b)if(!(R.hasOwnProperty(z)||!b.hasOwnProperty(z)||b[z]==null))if(z===yc){var le=b[z];for(j in le)le.hasOwnProperty(j)&&(q||(q={}),q[j]="")}else z===Up||z===mc||z===F1||z===Zu||z===ew||(Ie.hasOwnProperty(z)?y||(y=[]):(y=y||[]).push(z,null));for(z in R){var ie=R[z],me=b!=null?b[z]:void 0;if(!(!R.hasOwnProperty(z)||ie===me||ie==null&&me==null))if(z===yc)if(ie&&Object.freeze(ie),me){for(j in me)me.hasOwnProperty(j)&&(!ie||!ie.hasOwnProperty(j))&&(q||(q={}),q[j]="");for(j in ie)ie.hasOwnProperty(j)&&me[j]!==ie[j]&&(q||(q={}),q[j]=ie[j])}else q||(y||(y=[]),y.push(z,q)),q=ie;else if(z===Up){var ye=ie?ie[z1]:void 0,_e=me?me[z1]:void 0;ye!=null&&_e!==ye&&(y=y||[]).push(z,ye)}else z===mc?(typeof ie=="string"||typeof ie=="number")&&(y=y||[]).push(z,""+ie):z===F1||z===Zu||(Ie.hasOwnProperty(z)?(ie!=null&&(typeof ie!="function"&&N1(z,ie),z==="onScroll"&&kn("scroll",e)),!y&&me!==ie&&(y=[])):(y=y||[]).push(z,ie))}return q&&(Us(q,R[yc]),(y=y||[]).push(yc,q)),y}function BO(e,t,o,u,f){o==="input"&&f.type==="radio"&&f.name!=null&&Ed(e,f);var y=qi(o,u),b=qi(o,f);switch(TO(e,t,y,b),o){case"input":yu(e,f);break;case"textarea":Cv(e,f);break;case"select":vx(e,f);break}}function FO(e){{var t=e.toLowerCase();return cf.hasOwnProperty(t)&&cf[t]||null}}function zO(e,t,o,u,f,y,b){var R,z;switch(R=qi(t,o),M1(t,o),t){case"dialog":kn("cancel",e),kn("close",e);break;case"iframe":case"object":case"embed":kn("load",e);break;case"video":case"audio":for(var j=0;j<Mp.length;j++)kn(Mp[j],e);break;case"source":kn("error",e);break;case"img":case"image":case"link":kn("error",e),kn("load",e);break;case"details":kn("toggle",e);break;case"input":zs(e,o),kn("invalid",e);break;case"option":nf(e,o);break;case"select":xv(e,o),kn("invalid",e);break;case"textarea":_v(e,o),kn("invalid",e);break}sf(t,o);{z=new Set;for(var q=e.attributes,le=0;le<q.length;le++){var ie=q[le].name.toLowerCase();switch(ie){case"value":break;case"checked":break;case"selected":break;default:z.add(q[le].name)}}}var me=null;for(var ye in o)if(o.hasOwnProperty(ye)){var _e=o[ye];if(ye===mc)typeof _e=="string"?e.textContent!==_e&&(o[Zu]!==!0&&U1(e.textContent,_e,y,b),me=[mc,_e]):typeof _e=="number"&&e.textContent!==""+_e&&(o[Zu]!==!0&&U1(e.textContent,_e,y,b),me=[mc,""+_e]);else if(Ie.hasOwnProperty(ye))_e!=null&&(typeof _e!="function"&&N1(ye,_e),ye==="onScroll"&&kn("scroll",e));else if(b&&typeof R=="boolean"){var qe=void 0,at=R&&se?null:Or(ye);if(o[Zu]!==!0){if(!(ye===F1||ye===Zu||ye==="value"||ye==="checked"||ye==="selected")){if(ye===Up){var tt=e.innerHTML,Mt=_e?_e[z1]:void 0;if(Mt!=null){var Ot=rw(e,Mt);Ot!==tt&&Hp(ye,tt,Ot)}}else if(ye===yc){if(z.delete(ye),nw){var pe=Ex(_e);qe=e.getAttribute("style"),pe!==qe&&Hp(ye,qe,pe)}}else if(R&&!se)z.delete(ye.toLowerCase()),qe=ji(e,ye,_e),_e!==qe&&Hp(ye,qe,_e);else if(!Dn(ye,at,R)&&!tn(ye,_e,at,R)){var Ce=!1;if(at!==null)z.delete(at.attributeName),qe=Pi(e,ye,_e,at);else{var he=u;if(he===Vi&&(he=af(t)),he===Vi)z.delete(ye.toLowerCase());else{var Me=FO(ye);Me!==null&&Me!==ye&&(Ce=!0,z.delete(Me)),z.delete(ye)}qe=ji(e,ye,_e)}var Ge=se;!Ge&&_e!==qe&&!Ce&&Hp(ye,qe,_e)}}}}}switch(b&&z.size>0&&o[Zu]!==!0&&tw(z),t){case"input":yl(e),Ms(e,o,!0);break;case"textarea":yl(e),Sv(e);break;case"select":case"option":break;default:typeof o.onClick=="function"&&H1(e);break}return me}function MO(e,t,o){var u=e.nodeValue!==t;return u}function a2(e,t){{if(Xa)return;Xa=!0,h("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function i2(e,t){{if(Xa)return;Xa=!0,h('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function o2(e,t,o){{if(Xa)return;Xa=!0,h("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function l2(e,t){{if(t===""||Xa)return;Xa=!0,h('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function NO(e,t,o){switch(t){case"input":vv(e,o);return;case"textarea":Ad(e,o);return;case"select":mx(e,o);return}}var Pp=function(){},jp=function(){};{var LO=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],iw=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],UO=iw.concat(["button"]),HO=["dd","dt","li","option","optgroup","p","rp","rt"],ow={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};jp=function(e,t){var o=Rt({},e||ow),u={tag:t};return iw.indexOf(t)!==-1&&(o.aTagInScope=null,o.buttonTagInScope=null,o.nobrTagInScope=null),UO.indexOf(t)!==-1&&(o.pTagInButtonScope=null),LO.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(o.listItemTagAutoclosing=null,o.dlItemTagAutoclosing=null),o.current=u,t==="form"&&(o.formTag=u),t==="a"&&(o.aTagInScope=u),t==="button"&&(o.buttonTagInScope=u),t==="nobr"&&(o.nobrTagInScope=u),t==="p"&&(o.pTagInButtonScope=u),t==="li"&&(o.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(o.dlItemTagAutoclosing=u),o};var PO=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return HO.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},jO=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},lw={};Pp=function(e,t,o){o=o||ow;var u=o.current,f=u&&u.tag;t!=null&&(e!=null&&h("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=PO(e,f)?null:u,b=y?null:jO(e,o),R=y||b;if(R){var z=R.tag,j=!!y+"|"+e+"|"+z;if(!lw[j]){lw[j]=!0;var q=e,le="";if(e==="#text"?/\S/.test(t)?q="Text nodes":(q="Whitespace text nodes",le=" Make sure you don't have any extra whitespace between tags on each line of your source code."):q="<"+e+">",y){var ie="";z==="table"&&e==="tr"&&(ie+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),h("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",q,z,le,ie)}else h("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",q,z)}}}}var P1="suppressHydrationWarning",j1="$",I1="/$",Ip="$?",$p="$!",IO="style",u2=null,s2=null;function $O(e){var t,o,u=e.nodeType;switch(u){case fi:case gl:{t=u===fi?"#document":"#fragment";var f=e.documentElement;o=f?f.namespaceURI:kd(null,"");break}default:{var y=u===Vn?e.parentNode:e,b=y.namespaceURI||null;t=y.tagName,o=kd(b,t);break}}{var R=t.toLowerCase(),z=jp(null,R);return{namespace:o,ancestorInfo:z}}}function VO(e,t,o){{var u=e,f=kd(u.namespace,t),y=jp(u.ancestorInfo,t);return{namespace:f,ancestorInfo:y}}}function LN(e){return e}function YO(e){u2=Ta(),s2=iO();var t=null;return fr(!1),t}function qO(e){oO(s2),fr(u2),u2=null,s2=null}function GO(e,t,o,u,f){var y;{var b=u;if(Pp(e,null,b.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var R=""+t.children,z=jp(b.ancestorInfo,e);Pp(null,R,z)}y=b.namespace}var j=AO(e,t,o,y);return qp(f,j),y2(j,t),j}function WO(e,t){e.appendChild(t)}function ZO(e,t,o,u,f){switch(kO(e,t,o,u),t){case"button":case"input":case"select":case"textarea":return!!o.autoFocus;case"img":return!0;default:return!1}}function KO(e,t,o,u,f,y){{var b=y;if(typeof u.children!=typeof o.children&&(typeof u.children=="string"||typeof u.children=="number")){var R=""+u.children,z=jp(b.ancestorInfo,t);Pp(null,R,z)}}return OO(e,t,o,u)}function c2(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function QO(e,t,o,u){{var f=o;Pp(null,e,f.ancestorInfo)}var y=RO(e,t);return qp(u,y),y}function XO(){var e=window.event;return e===void 0?eo:$r(e.type)}var f2=typeof setTimeout=="function"?setTimeout:void 0,JO=typeof clearTimeout=="function"?clearTimeout:void 0,d2=-1,uw=typeof Promise=="function"?Promise:void 0,e9=typeof queueMicrotask=="function"?queueMicrotask:typeof uw<"u"?function(e){return uw.resolve(null).then(e).catch(t9)}:f2;function t9(e){setTimeout(function(){throw e})}function n9(e,t,o,u){switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&e.focus();return;case"img":{o.src&&(e.src=o.src);return}}}function r9(e,t,o,u,f,y){BO(e,t,o,u,f),y2(e,f)}function sw(e){lf(e,"")}function a9(e,t,o){e.nodeValue=o}function i9(e,t){e.appendChild(t)}function o9(e,t){var o;e.nodeType===Vn?(o=e.parentNode,o.insertBefore(t,e)):(o=e,o.appendChild(t));var u=e._reactRootContainer;u==null&&o.onclick===null&&H1(o)}function l9(e,t,o){e.insertBefore(t,o)}function u9(e,t,o){e.nodeType===Vn?e.parentNode.insertBefore(t,o):e.insertBefore(t,o)}function s9(e,t){e.removeChild(t)}function c9(e,t){e.nodeType===Vn?e.parentNode.removeChild(t):e.removeChild(t)}function p2(e,t){var o=t,u=0;do{var f=o.nextSibling;if(e.removeChild(o),f&&f.nodeType===Vn){var y=f.data;if(y===I1)if(u===0){e.removeChild(f),kt(t);return}else u--;else(y===j1||y===Ip||y===$p)&&u++}o=f}while(o);kt(t)}function f9(e,t){e.nodeType===Vn?p2(e.parentNode,t):e.nodeType===ta&&p2(e,t),kt(e)}function d9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function p9(e){e.nodeValue=""}function h9(e,t){e=e;var o=t[IO],u=o!=null&&o.hasOwnProperty("display")?o.display:null;e.style.display=uf("display",u)}function v9(e,t){e.nodeValue=t}function m9(e){e.nodeType===ta?e.textContent="":e.nodeType===fi&&e.documentElement&&e.removeChild(e.documentElement)}function y9(e,t,o){return e.nodeType!==ta||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function g9(e,t){return t===""||e.nodeType!==Yi?null:e}function x9(e){return e.nodeType!==Vn?null:e}function cw(e){return e.data===Ip}function h2(e){return e.data===$p}function _9(e){var t=e.nextSibling&&e.nextSibling.dataset,o,u,f;return t&&(o=t.dgst,u=t.msg,f=t.stck),{message:u,digest:o,stack:f}}function C9(e,t){e._reactRetry=t}function $1(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===ta||t===Yi)break;if(t===Vn){var o=e.data;if(o===j1||o===$p||o===Ip)break;if(o===I1)return null}}return e}function Vp(e){return $1(e.nextSibling)}function S9(e){return $1(e.firstChild)}function E9(e){return $1(e.firstChild)}function b9(e){return $1(e.nextSibling)}function w9(e,t,o,u,f,y,b){qp(y,e),y2(e,o);var R;{var z=f;R=z.namespace}var j=(y.mode&At)!==ot;return zO(e,t,o,R,u,j,b)}function D9(e,t,o,u){return qp(o,e),o.mode&At,MO(e,t)}function T9(e,t){qp(t,e)}function A9(e){for(var t=e.nextSibling,o=0;t;){if(t.nodeType===Vn){var u=t.data;if(u===I1){if(o===0)return Vp(t);o--}else(u===j1||u===$p||u===Ip)&&o++}t=t.nextSibling}return null}function fw(e){for(var t=e.previousSibling,o=0;t;){if(t.nodeType===Vn){var u=t.data;if(u===j1||u===$p||u===Ip){if(o===0)return t;o--}else u===I1&&o++}t=t.previousSibling}return null}function R9(e){kt(e)}function k9(e){kt(e)}function O9(e){return e!=="head"&&e!=="body"}function B9(e,t,o,u){var f=!0;U1(t.nodeValue,o,u,f)}function F9(e,t,o,u,f,y){if(t[P1]!==!0){var b=!0;U1(u.nodeValue,f,y,b)}}function z9(e,t){t.nodeType===ta?a2(e,t):t.nodeType===Vn||i2(e,t)}function M9(e,t){{var o=e.parentNode;o!==null&&(t.nodeType===ta?a2(o,t):t.nodeType===Vn||i2(o,t))}}function N9(e,t,o,u,f){(f||t[P1]!==!0)&&(u.nodeType===ta?a2(o,u):u.nodeType===Vn||i2(o,u))}function L9(e,t,o){o2(e,t)}function U9(e,t){l2(e,t)}function H9(e,t,o){{var u=e.parentNode;u!==null&&o2(u,t)}}function P9(e,t){{var o=e.parentNode;o!==null&&l2(o,t)}}function j9(e,t,o,u,f,y){(y||t[P1]!==!0)&&o2(o,u)}function I9(e,t,o,u,f){(f||t[P1]!==!0)&&l2(o,u)}function $9(e){h("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function V9(e){Np(e)}var h0=Math.random().toString(36).slice(2),v0="__reactFiber$"+h0,v2="__reactProps$"+h0,Yp="__reactContainer$"+h0,m2="__reactEvents$"+h0,Y9="__reactListeners$"+h0,q9="__reactHandles$"+h0;function G9(e){delete e[v0],delete e[v2],delete e[m2],delete e[Y9],delete e[q9]}function qp(e,t){t[v0]=e}function V1(e,t){t[Yp]=e}function dw(e){e[Yp]=null}function Gp(e){return!!e[Yp]}function gc(e){var t=e[v0];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Yp]||o[v0],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var f=fw(e);f!==null;){var y=f[v0];if(y)return y;f=fw(f)}return t}e=o,o=e.parentNode}return null}function Ku(e){var t=e[v0]||e[Yp];return t&&(t.tag===E||t.tag===T||t.tag===N||t.tag===w)?t:null}function m0(e){if(e.tag===E||e.tag===T)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Y1(e){return e[v2]||null}function y2(e,t){e[v2]=t}function W9(e){var t=e[m2];return t===void 0&&(t=e[m2]=new Set),t}var pw={},hw=a.ReactDebugCurrentFrame;function q1(e){if(e){var t=e._owner,o=Ts(e.type,e._source,t?t.type:null);hw.setExtraStackFrame(o)}else hw.setExtraStackFrame(null)}function io(e,t,o,u,f){{var y=Function.call.bind(wt);for(var b in e)if(y(e,b)){var R=void 0;try{if(typeof e[b]!="function"){var z=Error((u||"React class")+": "+o+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}R=e[b](t,b,u,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(j){R=j}R&&!(R instanceof Error)&&(q1(f),h("%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).",u||"React class",o,b,typeof R),q1(null)),R instanceof Error&&!(R.message in pw)&&(pw[R.message]=!0,q1(f),h("Failed %s type: %s",o,R.message),q1(null))}}}var g2=[],G1;G1=[];var ql=-1;function Qu(e){return{current:e}}function ca(e,t){if(ql<0){h("Unexpected pop.");return}t!==G1[ql]&&h("Unexpected Fiber popped."),e.current=g2[ql],g2[ql]=null,G1[ql]=null,ql--}function fa(e,t,o){ql++,g2[ql]=e.current,G1[ql]=o,e.current=t}var x2;x2={};var mi={};Object.freeze(mi);var Gl=Qu(mi),el=Qu(!1),_2=mi;function y0(e,t,o){return o&&tl(t)?_2:Gl.current}function vw(e,t,o){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=o}}function g0(e,t){{var o=e.type,u=o.contextTypes;if(!u)return mi;var f=e.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===t)return f.__reactInternalMemoizedMaskedChildContext;var y={};for(var b in u)y[b]=t[b];{var R=yt(e)||"Unknown";io(u,y,"context",R)}return f&&vw(e,t,y),y}}function W1(){return el.current}function tl(e){{var t=e.childContextTypes;return t!=null}}function Z1(e){ca(el,e),ca(Gl,e)}function C2(e){ca(el,e),ca(Gl,e)}function mw(e,t,o){{if(Gl.current!==mi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");fa(Gl,t,e),fa(el,o,e)}}function yw(e,t,o){{var u=e.stateNode,f=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=yt(e)||"Unknown";x2[y]||(x2[y]=!0,h("%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 o}var b=u.getChildContext();for(var R in b)if(!(R in f))throw new Error((yt(e)||"Unknown")+'.getChildContext(): key "'+R+'" is not defined in childContextTypes.');{var z=yt(e)||"Unknown";io(f,b,"child context",z)}return Rt({},o,b)}}function K1(e){{var t=e.stateNode,o=t&&t.__reactInternalMemoizedMergedChildContext||mi;return _2=Gl.current,fa(Gl,o,e),fa(el,el.current,e),!0}}function gw(e,t,o){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(o){var f=yw(e,t,_2);u.__reactInternalMemoizedMergedChildContext=f,ca(el,e),ca(Gl,e),fa(Gl,f,e),fa(el,o,e)}else ca(el,e),fa(el,o,e)}}function Z9(e){{if(!Kd(e)||e.tag!==p)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case w:return t.stateNode.context;case p:{var o=t.type;if(tl(o))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Xu=0,Q1=1,Wl=null,S2=!1,E2=!1;function xw(e){Wl===null?Wl=[e]:Wl.push(e)}function K9(e){S2=!0,xw(e)}function _w(){S2&&Ju()}function Ju(){if(!E2&&Wl!==null){E2=!0;var e=0,t=Wa();try{var o=!0,u=Wl;for(Xn(Mr);e<u.length;e++){var f=u[e];do f=f(o);while(f!==null)}Wl=null,S2=!1}catch(y){throw Wl!==null&&(Wl=Wl.slice(e+1)),xf(Cf,Ju),y}finally{Xn(t),E2=!1}}return null}var x0=[],_0=0,X1=null,J1=0,Ri=[],ki=0,xc=null,Zl=1,Kl="";function Q9(e){return Cc(),(e.flags&Gd)!==rt}function X9(e){return Cc(),J1}function J9(){var e=Kl,t=Zl,o=t&~eB(t);return o.toString(32)+e}function _c(e,t){Cc(),x0[_0++]=J1,x0[_0++]=X1,X1=e,J1=t}function Cw(e,t,o){Cc(),Ri[ki++]=Zl,Ri[ki++]=Kl,Ri[ki++]=xc,xc=e;var u=Zl,f=Kl,y=em(u)-1,b=u&~(1<<y),R=o+1,z=em(t)+y;if(z>30){var j=y-y%5,q=(1<<j)-1,le=(b&q).toString(32),ie=b>>j,me=y-j,ye=em(t)+me,_e=R<<me,qe=_e|ie,at=le+f;Zl=1<<ye|qe,Kl=at}else{var tt=R<<y,Mt=tt|b,Ot=f;Zl=1<<z|Mt,Kl=Ot}}function b2(e){Cc();var t=e.return;if(t!==null){var o=1,u=0;_c(e,o),Cw(e,o,u)}}function em(e){return 32-Tf(e)}function eB(e){return 1<<em(e)-1}function w2(e){for(;e===X1;)X1=x0[--_0],x0[_0]=null,J1=x0[--_0],x0[_0]=null;for(;e===xc;)xc=Ri[--ki],Ri[ki]=null,Kl=Ri[--ki],Ri[ki]=null,Zl=Ri[--ki],Ri[ki]=null}function tB(){return Cc(),xc!==null?{id:Zl,overflow:Kl}:null}function nB(e,t){Cc(),Ri[ki++]=Zl,Ri[ki++]=Kl,Ri[ki++]=xc,Zl=t.id,Kl=t.overflow,xc=e}function Cc(){Yr()||h("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Vr=null,Oi=null,oo=!1,Sc=!1,es=null;function rB(){oo&&h("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Sw(){Sc=!0}function aB(){return Sc}function iB(e){var t=e.stateNode.containerInfo;return Oi=E9(t),Vr=e,oo=!0,es=null,Sc=!1,!0}function oB(e,t,o){return Oi=b9(t),Vr=e,oo=!0,es=null,Sc=!1,o!==null&&nB(e,o),!0}function Ew(e,t){switch(e.tag){case w:{z9(e.stateNode.containerInfo,t);break}case E:{var o=(e.mode&At)!==ot;N9(e.type,e.memoizedProps,e.stateNode,t,o);break}case N:{var u=e.memoizedState;u.dehydrated!==null&&M9(u.dehydrated,t);break}}}function bw(e,t){Ew(e,t);var o=sM();o.stateNode=t,o.return=e;var u=e.deletions;u===null?(e.deletions=[o],e.flags|=Vt):u.push(o)}function D2(e,t){{if(Sc)return;switch(e.tag){case w:{var o=e.stateNode.containerInfo;switch(t.tag){case E:var u=t.type;t.pendingProps,L9(o,u);break;case T:var f=t.pendingProps;U9(o,f);break}break}case E:{var y=e.type,b=e.memoizedProps,R=e.stateNode;switch(t.tag){case E:{var z=t.type,j=t.pendingProps,q=(e.mode&At)!==ot;j9(y,b,R,z,j,q);break}case T:{var le=t.pendingProps,ie=(e.mode&At)!==ot;I9(y,b,R,le,ie);break}}break}case N:{var me=e.memoizedState,ye=me.dehydrated;if(ye!==null)switch(t.tag){case E:var _e=t.type;t.pendingProps,H9(ye,_e);break;case T:var qe=t.pendingProps;P9(ye,qe);break}break}default:return}}}function ww(e,t){t.flags=t.flags&~$a|pn,D2(e,t)}function Dw(e,t){switch(e.tag){case E:{var o=e.type;e.pendingProps;var u=y9(t,o);return u!==null?(e.stateNode=u,Vr=e,Oi=S9(u),!0):!1}case T:{var f=e.pendingProps,y=g9(t,f);return y!==null?(e.stateNode=y,Vr=e,Oi=null,!0):!1}case N:{var b=x9(t);if(b!==null){var R={dehydrated:b,treeContext:tB(),retryLane:ua};e.memoizedState=R;var z=cM(b);return z.return=e,e.child=z,Vr=e,Oi=null,!0}return!1}default:return!1}}function T2(e){return(e.mode&At)!==ot&&(e.flags&pt)===rt}function A2(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function R2(e){if(oo){var t=Oi;if(!t){T2(e)&&(D2(Vr,e),A2()),ww(Vr,e),oo=!1,Vr=e;return}var o=t;if(!Dw(e,t)){T2(e)&&(D2(Vr,e),A2()),t=Vp(o);var u=Vr;if(!t||!Dw(e,t)){ww(Vr,e),oo=!1,Vr=e;return}bw(u,o)}}}function lB(e,t,o){var u=e.stateNode,f=!Sc,y=w9(u,e.type,e.memoizedProps,t,o,e,f);return e.updateQueue=y,y!==null}function uB(e){var t=e.stateNode,o=e.memoizedProps,u=D9(t,o,e);if(u){var f=Vr;if(f!==null)switch(f.tag){case w:{var y=f.stateNode.containerInfo,b=(f.mode&At)!==ot;B9(y,t,o,b);break}case E:{var R=f.type,z=f.memoizedProps,j=f.stateNode,q=(f.mode&At)!==ot;F9(R,z,j,t,o,q);break}}}return u}function sB(e){var t=e.memoizedState,o=t!==null?t.dehydrated:null;if(!o)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");T9(o,e)}function cB(e){var t=e.memoizedState,o=t!==null?t.dehydrated:null;if(!o)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return A9(o)}function Tw(e){for(var t=e.return;t!==null&&t.tag!==E&&t.tag!==w&&t.tag!==N;)t=t.return;Vr=t}function tm(e){if(e!==Vr)return!1;if(!oo)return Tw(e),oo=!0,!1;if(e.tag!==w&&(e.tag!==E||O9(e.type)&&!c2(e.type,e.memoizedProps))){var t=Oi;if(t)if(T2(e))Aw(e),A2();else for(;t;)bw(e,t),t=Vp(t)}return Tw(e),e.tag===N?Oi=cB(e):Oi=Vr?Vp(e.stateNode):null,!0}function fB(){return oo&&Oi!==null}function Aw(e){for(var t=Oi;t;)Ew(e,t),t=Vp(t)}function C0(){Vr=null,Oi=null,oo=!1,Sc=!1}function Rw(){es!==null&&(E3(es),es=null)}function Yr(){return oo}function k2(e){es===null?es=[e]:es.push(e)}var dB=a.ReactCurrentBatchConfig,pB=null;function hB(){return dB.transition}var lo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var vB=function(e){for(var t=null,o=e;o!==null;)o.mode&An&&(t=o),o=o.return;return t},Ec=function(e){var t=[];return e.forEach(function(o){t.push(o)}),t.sort().join(", ")},Wp=[],Zp=[],Kp=[],Qp=[],Xp=[],Jp=[],bc=new Set;lo.recordUnsafeLifecycleWarnings=function(e,t){bc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Wp.push(e),e.mode&An&&typeof t.UNSAFE_componentWillMount=="function"&&Zp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Kp.push(e),e.mode&An&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Qp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Xp.push(e),e.mode&An&&typeof t.UNSAFE_componentWillUpdate=="function"&&Jp.push(e))},lo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Wp.length>0&&(Wp.forEach(function(ie){e.add(yt(ie)||"Component"),bc.add(ie.type)}),Wp=[]);var t=new Set;Zp.length>0&&(Zp.forEach(function(ie){t.add(yt(ie)||"Component"),bc.add(ie.type)}),Zp=[]);var o=new Set;Kp.length>0&&(Kp.forEach(function(ie){o.add(yt(ie)||"Component"),bc.add(ie.type)}),Kp=[]);var u=new Set;Qp.length>0&&(Qp.forEach(function(ie){u.add(yt(ie)||"Component"),bc.add(ie.type)}),Qp=[]);var f=new Set;Xp.length>0&&(Xp.forEach(function(ie){f.add(yt(ie)||"Component"),bc.add(ie.type)}),Xp=[]);var y=new Set;if(Jp.length>0&&(Jp.forEach(function(ie){y.add(yt(ie)||"Component"),bc.add(ie.type)}),Jp=[]),t.size>0){var b=Ec(t);h(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
84
+ Check the render method of \``+e+"`.":""}var gv=["value","defaultValue"];function px(e){{vu("select",e);for(var t=0;t<gv.length;t++){var o=gv[t];if(e[o]!=null){var u=or(e[o]);e.multiple&&!u?h("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",o,yv()):!e.multiple&&u&&h("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",o,yv())}}}}function Fo(e,t,o,u){var f=e.options;if(t){for(var y=o,b={},R=0;R<y.length;R++)b["$"+y[R]]=!0;for(var z=0;z<f.length;z++){var j=b.hasOwnProperty("$"+f[z].value);f[z].selected!==j&&(f[z].selected=j),j&&u&&(f[z].defaultSelected=!0)}}else{for(var q=Fr(Oo(o)),le=null,ie=0;ie<f.length;ie++){if(f[ie].value===q){f[ie].selected=!0,u&&(f[ie].defaultSelected=!0);return}le===null&&!f[ie].disabled&&(le=f[ie])}le!==null&&(le.selected=!0)}}function wd(e,t){return Rt({},t,{value:void 0})}function xv(e,t){var o=e;px(t),o._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!rf&&(h("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"),rf=!0)}function hx(e,t){var o=e;o.multiple=!!t.multiple;var u=t.value;u!=null?Fo(o,!!t.multiple,u,!1):t.defaultValue!=null&&Fo(o,!!t.multiple,t.defaultValue,!0)}function vx(e,t){var o=e,u=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!t.multiple;var f=t.value;f!=null?Fo(o,!!t.multiple,f,!1):u!==!!t.multiple&&(t.defaultValue!=null?Fo(o,!!t.multiple,t.defaultValue,!0):Fo(o,!!t.multiple,t.multiple?[]:"",!1))}function mx(e,t){var o=e,u=t.value;u!=null&&Fo(o,!!t.multiple,u,!1)}var Dd=!1;function Td(e,t){var o=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Rt({},t,{value:void 0,defaultValue:void 0,children:Fr(o._wrapperState.initialValue)});return u}function _v(e,t){var o=e;vu("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Dd&&(h("%s contains a textarea with both value and defaultValue props. 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",Ha()||"A component"),Dd=!0);var u=t.value;if(u==null){var f=t.children,y=t.defaultValue;if(f!=null){h("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(or(f)){if(f.length>1)throw new Error("<textarea> can only have at most one child.");f=f[0]}y=f}}y==null&&(y=""),u=y}o._wrapperState={initialValue:Oo(u)}}function Cv(e,t){var o=e,u=Oo(t.value),f=Oo(t.defaultValue);if(u!=null){var y=Fr(u);y!==o.value&&(o.value=y),t.defaultValue==null&&o.defaultValue!==y&&(o.defaultValue=y)}f!=null&&(o.defaultValue=Fr(f))}function Sv(e,t){var o=e,u=o.textContent;u===o._wrapperState.initialValue&&u!==""&&u!==null&&(o.value=u)}function Ad(e,t){Cv(e,t)}var Vi="http://www.w3.org/1999/xhtml",yx="http://www.w3.org/1998/Math/MathML",Rd="http://www.w3.org/2000/svg";function af(e){switch(e){case"svg":return Rd;case"math":return yx;default:return Vi}}function kd(e,t){return e==null||e===Vi?af(t):e===Rd&&t==="foreignObject"?Vi:e}var gx=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,u,f){MSApp.execUnsafeLocalFunction(function(){return e(t,o,u,f)})}:e},of,Ev=gx(function(e,t){if(e.namespaceURI===Rd&&!("innerHTML"in e)){of=of||document.createElement("div"),of.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var o=of.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;o.firstChild;)e.appendChild(o.firstChild);return}e.innerHTML=t}),ta=1,Yi=3,Vn=8,fi=9,gl=11,lf=function(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===Yi){o.nodeValue=t;return}}e.textContent=t},bv={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},xu={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 wv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Dv=["Webkit","ms","Moz","O"];Object.keys(xu).forEach(function(e){Dv.forEach(function(t){xu[wv(t,e)]=xu[e]})});function uf(e,t,o){var u=t==null||typeof t=="boolean"||t==="";return u?"":!o&&typeof t=="number"&&t!==0&&!(xu.hasOwnProperty(e)&&xu[e])?t+"px":(gn(t,e),(""+t).trim())}var _u=/([A-Z])/g,xx=/^ms-/;function _x(e){return e.replace(_u,"-$1").toLowerCase().replace(xx,"-ms-")}var Tv=function(){};{var Av=/^(?:webkit|moz|o)[A-Z]/,Rv=/^-ms-/,Ls=/-(.)/g,Cu=/;\s*$/,Su={},Eu={},kv=!1,Od=!1,Bd=function(e){return e.replace(Ls,function(t,o){return o.toUpperCase()})},Fd=function(e){Su.hasOwnProperty(e)&&Su[e]||(Su[e]=!0,h("Unsupported style property %s. Did you mean %s?",e,Bd(e.replace(Rv,"ms-"))))},Ov=function(e){Su.hasOwnProperty(e)&&Su[e]||(Su[e]=!0,h("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Bv=function(e,t){Eu.hasOwnProperty(t)&&Eu[t]||(Eu[t]=!0,h(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Cu,"")))},Fv=function(e,t){kv||(kv=!0,h("`NaN` is an invalid value for the `%s` css style property.",e))},Cx=function(e,t){Od||(Od=!0,h("`Infinity` is an invalid value for the `%s` css style property.",e))};Tv=function(e,t){e.indexOf("-")>-1?Fd(e):Av.test(e)?Ov(e):Cu.test(t)&&Bv(e,t),typeof t=="number"&&(isNaN(t)?Fv(e,t):isFinite(t)||Cx(e,t))}}var Sx=Tv;function Ex(e){{var t="",o="";for(var u in e)if(e.hasOwnProperty(u)){var f=e[u];if(f!=null){var y=u.indexOf("--")===0;t+=o+(y?u:_x(u))+":",t+=uf(u,f,y),o=";"}}return t||null}}function zv(e,t){var o=e.style;for(var u in t)if(t.hasOwnProperty(u)){var f=u.indexOf("--")===0;f||Sx(u,t[u]);var y=uf(u,t[u],f);u==="float"&&(u="cssFloat"),f?o.setProperty(u,y):o[u]=y}}function bx(e){return e==null||typeof e=="boolean"||e===""}function Pa(e){var t={};for(var o in e)for(var u=bv[o]||[o],f=0;f<u.length;f++)t[u[f]]=o;return t}function Us(e,t){{if(!t)return;var o=Pa(e),u=Pa(t),f={};for(var y in o){var b=o[y],R=u[y];if(R&&b!==R){var z=b+","+R;if(f[z])continue;f[z]=!0,h("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",bx(e[b])?"Removing":"Updating",b,R)}}}}var Mv={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Nv=Rt({menuitem:!0},Mv),Lv="__html";function sf(e,t){if(t){if(Nv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Lv in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&h("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="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.")}}function qi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var cf={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"},Uv={"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},di={},zd=new RegExp("^(aria)-["+Je+"]*$"),Hs=new RegExp("^(aria)[A-Z]["+Je+"]*$");function Md(e,t){{if(wt.call(di,t)&&di[t])return!0;if(Hs.test(t)){var o="aria-"+t.slice(4).toLowerCase(),u=Uv.hasOwnProperty(o)?o:null;if(u==null)return h("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),di[t]=!0,!0;if(t!==u)return h("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),di[t]=!0,!0}if(zd.test(t)){var f=t.toLowerCase(),y=Uv.hasOwnProperty(f)?f:null;if(y==null)return di[t]=!0,!1;if(t!==y)return h("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,y),di[t]=!0,!0}}return!0}function Hv(e,t){{var o=[];for(var u in t){var f=Md(e,u);f||o.push(u)}var y=o.map(function(b){return"`"+b+"`"}).join(", ");o.length===1?h("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e):o.length>1&&h("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e)}}function ff(e,t){qi(e,t)||Hv(e,t)}var xl=!1;function Nd(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!xl&&(xl=!0,e==="select"&&t.multiple?h("`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.",e):h("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Ld=function(){};{var lr={},Ud=/^on./,Pv=/^on[^A-Z]/,jv=new RegExp("^(aria)-["+Je+"]*$"),Iv=new RegExp("^(aria)[A-Z]["+Je+"]*$");Ld=function(e,t,o,u){if(wt.call(lr,t)&&lr[t])return!0;var f=t.toLowerCase();if(f==="onfocusin"||f==="onfocusout")return h("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."),lr[t]=!0,!0;if(u!=null){var y=u.registrationNameDependencies,b=u.possibleRegistrationNames;if(y.hasOwnProperty(t))return!0;var R=b.hasOwnProperty(f)?b[f]:null;if(R!=null)return h("Invalid event handler property `%s`. Did you mean `%s`?",t,R),lr[t]=!0,!0;if(Ud.test(t))return h("Unknown event handler property `%s`. It will be ignored.",t),lr[t]=!0,!0}else if(Ud.test(t))return Pv.test(t)&&h("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),lr[t]=!0,!0;if(jv.test(t)||Iv.test(t))return!0;if(f==="innerhtml")return h("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),lr[t]=!0,!0;if(f==="aria")return h("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),lr[t]=!0,!0;if(f==="is"&&o!==null&&o!==void 0&&typeof o!="string")return h("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),lr[t]=!0,!0;if(typeof o=="number"&&isNaN(o))return h("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),lr[t]=!0,!0;var z=Or(t),j=z!==null&&z.type===ar;if(cf.hasOwnProperty(f)){var q=cf[f];if(q!==t)return h("Invalid DOM property `%s`. Did you mean `%s`?",t,q),lr[t]=!0,!0}else if(!j&&t!==f)return h("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.",t,f),lr[t]=!0,!0;return typeof o=="boolean"&&vr(t,o,z,!1)?(o?h('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()}.',o,t,t,o,t):h('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.',o,t,t,o,t,t,t),lr[t]=!0,!0):j?!0:vr(t,o,z,!1)?(lr[t]=!0,!1):((o==="false"||o==="true")&&z!==null&&z.type===Zt&&(h("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,t,o==="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".',t,o),lr[t]=!0),!0)}}var $v=function(e,t,o){{var u=[];for(var f in t){var y=Ld(e,f,t[f],o);y||u.push(f)}var b=u.map(function(R){return"`"+R+"`"}).join(", ");u.length===1?h("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 ",b,e):u.length>1&&h("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 ",b,e)}};function Vv(e,t,o){qi(e,t)||$v(e,t,o)}var Gi=1,Ps=1<<1,_l=1<<2,wx=Gi|Ps|_l,js=null;function Is(e){js!==null&&h("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),js=e}function Dx(){js===null&&h("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),js=null}function Yv(e){return e===js}function df(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Yi?t.parentNode:t}var sn=null,zo=null,Wi=null;function bu(e){var t=Ku(e);if(t){if(typeof sn!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var o=t.stateNode;if(o){var u=Y1(o);sn(t.stateNode,t.type,u)}}}function qv(e){sn=e}function pf(e){zo?Wi?Wi.push(e):Wi=[e]:zo=e}function $s(){return zo!==null||Wi!==null}function Vs(){if(zo){var e=zo,t=Wi;if(zo=null,Wi=null,bu(e),t)for(var o=0;o<t.length;o++)bu(t[o])}}var Cl=function(e,t){return e(t)},Hd=function(){},Pd=!1;function Tx(){var e=$s();e&&(Hd(),Vs())}function jd(e,t,o){if(Pd)return e(t,o);Pd=!0;try{return Cl(e,t,o)}finally{Pd=!1,Tx()}}function hf(e,t,o){Cl=e,Hd=o}function vf(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Id(e,t,o){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(o.disabled&&vf(t));default:return!1}}function Sl(e,t){var o=e.stateNode;if(o===null)return null;var u=Y1(o);if(u===null)return null;var f=u[t];if(Id(t,e.type,u))return null;if(f&&typeof f!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof f+"` type.");return f}var Ys=!1;if(ft)try{var El={};Object.defineProperty(El,"passive",{get:function(){Ys=!0}}),window.addEventListener("test",El,El),window.removeEventListener("test",El,El)}catch{Ys=!1}function Gv(e,t,o,u,f,y,b,R,z){var j=Array.prototype.slice.call(arguments,3);try{t.apply(o,j)}catch(q){this.onError(q)}}var $d=Gv;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Vd=document.createElement("react");$d=function(t,o,u,f,y,b,R,z,j){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var q=document.createEvent("Event"),le=!1,ie=!0,me=window.event,ye=Object.getOwnPropertyDescriptor(window,"event");function _e(){Vd.removeEventListener(Ce,at,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=me)}var qe=Array.prototype.slice.call(arguments,3);function at(){le=!0,_e(),o.apply(u,qe),ie=!1}var tt,Mt=!1,Ot=!1;function pe(he){if(tt=he.error,Mt=!0,tt===null&&he.colno===0&&he.lineno===0&&(Ot=!0),he.defaultPrevented&&tt!=null&&typeof tt=="object")try{tt._suppressLogging=!0}catch{}}var Ce="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",pe),Vd.addEventListener(Ce,at,!1),q.initEvent(Ce,!1,!1),Vd.dispatchEvent(q),ye&&Object.defineProperty(window,"event",ye),le&&ie&&(Mt?Ot&&(tt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):tt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(tt)),window.removeEventListener("error",pe),!le)return _e(),Gv.apply(this,arguments)}}var Ax=$d,Mo=!1,pi=null,qs=!1,No=null,Si={onError:function(e){Mo=!0,pi=e}};function bl(e,t,o,u,f,y,b,R,z){Mo=!1,pi=null,Ax.apply(Si,arguments)}function Zi(e,t,o,u,f,y,b,R,z){if(bl.apply(this,arguments),Mo){var j=qd();qs||(qs=!0,No=j)}}function Yd(){if(qs){var e=No;throw qs=!1,No=null,e}}function Rx(){return Mo}function qd(){if(Mo){var e=pi;return Mo=!1,pi=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ja(e){return e._reactInternals}function Gs(e){return e._reactInternals!==void 0}function wu(e,t){e._reactInternals=t}var rt=0,Lo=1,pn=2,xt=4,Vt=16,Yt=32,Ei=64,pt=128,Bn=256,na=512,Ia=1024,Sn=2048,$a=4096,Uo=8192,Ws=16384,mf=Sn|xt|Ei|na|Ia|Ws,Wv=32767,Sa=32768,ur=65536,Zs=131072,Gd=1048576,Wd=2097152,ra=4194304,Ho=8388608,aa=16777216,wl=33554432,Du=xt|Ia|0,ia=pn|xt|Vt|Yt|na|$a|Uo,zr=xt|Ei|na|Uo,Va=Sn|Vt,yr=ra|Ho|Wd,Ki=a.ReactCurrentOwner;function Ea(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(pn|$a))!==rt&&(o=t.return),u=t.return;while(u)}return t.tag===w?o:null}function Zd(e){if(e.tag===N){var t=e.memoizedState;if(t===null){var o=e.alternate;o!==null&&(t=o.memoizedState)}if(t!==null)return t.dehydrated}return null}function yf(e){return e.tag===w?e.stateNode.containerInfo:null}function Kd(e){return Ea(e)===e}function ba(e){{var t=Ki.current;if(t!==null&&t.tag===p){var o=t,u=o.stateNode;u._warnedAboutRefsInRender||h("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",yt(o)||"A component"),u._warnedAboutRefsInRender=!0}}var f=ja(e);return f?Ea(f)===f:!1}function oa(e){if(Ea(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function hn(e){var t=e.alternate;if(!t){var o=Ea(e);if(o===null)throw new Error("Unable to find node on an unmounted component.");return o!==e?null:e}for(var u=e,f=t;;){var y=u.return;if(y===null)break;var b=y.alternate;if(b===null){var R=y.return;if(R!==null){u=f=R;continue}break}if(y.child===b.child){for(var z=y.child;z;){if(z===u)return oa(y),e;if(z===f)return oa(y),t;z=z.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==f.return)u=y,f=b;else{for(var j=!1,q=y.child;q;){if(q===u){j=!0,u=y,f=b;break}if(q===f){j=!0,f=y,u=b;break}q=q.sibling}if(!j){for(q=b.child;q;){if(q===u){j=!0,u=b,f=y;break}if(q===f){j=!0,f=b,u=y;break}q=q.sibling}if(!j)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==f)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==w)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function Ya(e){var t=hn(e);return t!==null?Qd(t):null}function Qd(e){if(e.tag===E||e.tag===T)return e;for(var t=e.child;t!==null;){var o=Qd(t);if(o!==null)return o;t=t.sibling}return null}function Zv(e){var t=hn(e);return t!==null?gf(t):null}function gf(e){if(e.tag===E||e.tag===T)return e;for(var t=e.child;t!==null;){if(t.tag!==C){var o=gf(t);if(o!==null)return o}t=t.sibling}return null}var xf=l.unstable_scheduleCallback,Kv=l.unstable_cancelCallback,_f=l.unstable_shouldYield,Qv=l.unstable_requestPaint,Tn=l.unstable_now,Xd=l.unstable_getCurrentPriorityLevel,Cf=l.unstable_ImmediatePriority,wa=l.unstable_UserBlockingPriority,bi=l.unstable_NormalPriority,Sf=l.unstable_LowPriority,Po=l.unstable_IdlePriority,Jd=l.unstable_yieldValue,ep=l.unstable_setDisableYieldValue,jo=null,sr=null,He=null,Nn=!1,gr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function tp(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return h("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{xe&&(e=Rt({},e,{getLaneLabelMap:$o,injectProfilingHooks:Xi})),jo=t.inject(e),sr=t}catch(o){h("React instrumentation encountered an error: %s.",o)}return!!t.checkDCE}function Xv(e,t){if(sr&&typeof sr.onScheduleFiberRoot=="function")try{sr.onScheduleFiberRoot(jo,e,t)}catch(o){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",o))}}function Qi(e,t){if(sr&&typeof sr.onCommitFiberRoot=="function")try{var o=(e.current.flags&pt)===pt;if(be){var u;switch(t){case Mr:u=Cf;break;case xr:u=wa;break;case eo:u=bi;break;case ac:u=Po;break;default:u=bi;break}sr.onCommitFiberRoot(jo,e,u,o)}}catch(f){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",f))}}function Io(e){if(sr&&typeof sr.onPostCommitFiberRoot=="function")try{sr.onPostCommitFiberRoot(jo,e)}catch(t){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",t))}}function np(e){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(jo,e)}catch(t){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",t))}}function Kn(e){if(typeof Jd=="function"&&(ep(e),d(e)),sr&&typeof sr.setStrictMode=="function")try{sr.setStrictMode(jo,e)}catch(t){Nn||(Nn=!0,h("React instrumentation encountered an error: %s",t))}}function Xi(e){He=e}function $o(){{for(var e=new Map,t=1,o=0;o<vn;o++){var u=kx(t);e.set(t,u),t*=2}return e}}function Ef(e){He!==null&&typeof He.markCommitStarted=="function"&&He.markCommitStarted(e)}function rp(){He!==null&&typeof He.markCommitStopped=="function"&&He.markCommitStopped()}function Vo(e){He!==null&&typeof He.markComponentRenderStarted=="function"&&He.markComponentRenderStarted(e)}function Dl(){He!==null&&typeof He.markComponentRenderStopped=="function"&&He.markComponentRenderStopped()}function Jv(e){He!==null&&typeof He.markComponentPassiveEffectMountStarted=="function"&&He.markComponentPassiveEffectMountStarted(e)}function ap(){He!==null&&typeof He.markComponentPassiveEffectMountStopped=="function"&&He.markComponentPassiveEffectMountStopped()}function bf(e){He!==null&&typeof He.markComponentPassiveEffectUnmountStarted=="function"&&He.markComponentPassiveEffectUnmountStarted(e)}function e1(){He!==null&&typeof He.markComponentPassiveEffectUnmountStopped=="function"&&He.markComponentPassiveEffectUnmountStopped()}function t1(e){He!==null&&typeof He.markComponentLayoutEffectMountStarted=="function"&&He.markComponentLayoutEffectMountStarted(e)}function n1(){He!==null&&typeof He.markComponentLayoutEffectMountStopped=="function"&&He.markComponentLayoutEffectMountStopped()}function wf(e){He!==null&&typeof He.markComponentLayoutEffectUnmountStarted=="function"&&He.markComponentLayoutEffectUnmountStarted(e)}function Tu(){He!==null&&typeof He.markComponentLayoutEffectUnmountStopped=="function"&&He.markComponentLayoutEffectUnmountStopped()}function Df(e,t,o){He!==null&&typeof He.markComponentErrored=="function"&&He.markComponentErrored(e,t,o)}function r1(e,t,o){He!==null&&typeof He.markComponentSuspended=="function"&&He.markComponentSuspended(e,t,o)}function a1(e){He!==null&&typeof He.markLayoutEffectsStarted=="function"&&He.markLayoutEffectsStarted(e)}function Au(){He!==null&&typeof He.markLayoutEffectsStopped=="function"&&He.markLayoutEffectsStopped()}function i1(e){He!==null&&typeof He.markPassiveEffectsStarted=="function"&&He.markPassiveEffectsStarted(e)}function Ks(){He!==null&&typeof He.markPassiveEffectsStopped=="function"&&He.markPassiveEffectsStopped()}function hi(e){He!==null&&typeof He.markRenderStarted=="function"&&He.markRenderStarted(e)}function Qs(){He!==null&&typeof He.markRenderYielded=="function"&&He.markRenderYielded()}function Ru(){He!==null&&typeof He.markRenderStopped=="function"&&He.markRenderStopped()}function Tl(e){He!==null&&typeof He.markRenderScheduled=="function"&&He.markRenderScheduled(e)}function ip(e,t){He!==null&&typeof He.markForceUpdateScheduled=="function"&&He.markForceUpdateScheduled(e,t)}function Yo(e,t){He!==null&&typeof He.markStateUpdateScheduled=="function"&&He.markStateUpdateScheduled(e,t)}var ot=0,At=1,ut=2,An=8,qa=16,Tf=Math.clz32?Math.clz32:Al,Af=Math.log,op=Math.LN2;function Al(e){var t=e>>>0;return t===0?32:31-(Af(t)/op|0)|0}var vn=31,Ee=0,Ft=0,st=1,wi=2,Da=4,Rl=8,mn=16,kl=32,qo=4194240,Ol=64,Ga=128,la=256,Bl=512,Xs=1024,Js=2048,Rf=4096,kf=8192,Of=16384,Bf=32768,Ff=65536,zf=131072,Mf=262144,Nf=524288,Fl=1048576,Lf=2097152,zl=130023424,Ji=4194304,Uf=8388608,ec=16777216,Hf=33554432,Pf=67108864,lp=Ji,ku=134217728,jf=268435455,Ou=268435456,Go=536870912,ua=1073741824;function kx(e){{if(e&st)return"Sync";if(e&wi)return"InputContinuousHydration";if(e&Da)return"InputContinuous";if(e&Rl)return"DefaultHydration";if(e&mn)return"Default";if(e&kl)return"TransitionHydration";if(e&qo)return"Transition";if(e&zl)return"Retry";if(e&ku)return"SelectiveHydration";if(e&Ou)return"IdleHydration";if(e&Go)return"Idle";if(e&ua)return"Offscreen"}}var cn=-1,If=Ol,$f=Ji;function Bu(e){switch(Yn(e)){case st:return st;case wi:return wi;case Da:return Da;case Rl:return Rl;case mn:return mn;case kl:return kl;case Ol:case Ga:case la:case Bl:case Xs:case Js:case Rf:case kf:case Of:case Bf:case Ff:case zf:case Mf:case Nf:case Fl:case Lf:return e&qo;case Ji:case Uf:case ec:case Hf:case Pf:return e&zl;case ku:return ku;case Ou:return Ou;case Go:return Go;case ua:return ua;default:return h("Should have found matching lanes. This is a bug in React."),e}}function tc(e,t){var o=e.pendingLanes;if(o===Ee)return Ee;var u=Ee,f=e.suspendedLanes,y=e.pingedLanes,b=o&jf;if(b!==Ee){var R=b&~f;if(R!==Ee)u=Bu(R);else{var z=b&y;z!==Ee&&(u=Bu(z))}}else{var j=o&~f;j!==Ee?u=Bu(j):y!==Ee&&(u=Bu(y))}if(u===Ee)return Ee;if(t!==Ee&&t!==u&&(t&f)===Ee){var q=Yn(u),le=Yn(t);if(q>=le||q===mn&&(le&qo)!==Ee)return t}(u&Da)!==Ee&&(u|=o&mn);var ie=e.entangledLanes;if(ie!==Ee)for(var me=e.entanglements,ye=u&ie;ye>0;){var _e=Wo(ye),qe=1<<_e;u|=me[_e],ye&=~qe}return u}function o1(e,t){for(var o=e.eventTimes,u=cn;t>0;){var f=Wo(t),y=1<<f,b=o[f];b>u&&(u=b),t&=~y}return u}function Vf(e,t){switch(e){case st:case wi:case Da:return t+250;case Rl:case mn:case kl:case Ol:case Ga:case la:case Bl:case Xs:case Js:case Rf:case kf:case Of:case Bf:case Ff:case zf:case Mf:case Nf:case Fl:case Lf:return t+5e3;case Ji:case Uf:case ec:case Hf:case Pf:return cn;case ku:case Ou:case Go:case ua:return cn;default:return h("Should have found matching lanes. This is a bug in React."),cn}}function Ox(e,t){for(var o=e.pendingLanes,u=e.suspendedLanes,f=e.pingedLanes,y=e.expirationTimes,b=o;b>0;){var R=Wo(b),z=1<<R,j=y[R];j===cn?((z&u)===Ee||(z&f)!==Ee)&&(y[R]=Vf(z,t)):j<=t&&(e.expiredLanes|=z),b&=~z}}function Bx(e){return Bu(e.pendingLanes)}function up(e){var t=e.pendingLanes&~ua;return t!==Ee?t:t&ua?ua:Ee}function Fu(e){return(e&st)!==Ee}function nc(e){return(e&jf)!==Ee}function Yf(e){return(e&zl)===e}function Fx(e){var t=st|Da|mn;return(e&t)===Ee}function l1(e){return(e&qo)===e}function rc(e,t){var o=wi|Da|Rl|mn;return(t&o)!==Ee}function u1(e,t){return(t&e.expiredLanes)!==Ee}function sp(e){return(e&qo)!==Ee}function cp(){var e=If;return If<<=1,(If&qo)===Ee&&(If=Ol),e}function zx(){var e=$f;return $f<<=1,($f&zl)===Ee&&($f=Ji),e}function Yn(e){return e&-e}function Qn(e){return Yn(e)}function Wo(e){return 31-Tf(e)}function qf(e){return Wo(e)}function sa(e,t){return(e&t)!==Ee}function Ml(e,t){return(e&t)===t}function _t(e,t){return e|t}function zu(e,t){return e&~t}function fp(e,t){return e&t}function s1(e){return e}function c1(e,t){return e!==Ft&&e<t?e:t}function Gf(e){for(var t=[],o=0;o<vn;o++)t.push(e);return t}function Nl(e,t,o){e.pendingLanes|=t,t!==Go&&(e.suspendedLanes=Ee,e.pingedLanes=Ee);var u=e.eventTimes,f=qf(t);u[f]=o}function dp(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var o=e.expirationTimes,u=t;u>0;){var f=Wo(u),y=1<<f;o[f]=cn,u&=~y}}function pp(e,t,o){e.pingedLanes|=e.suspendedLanes&t}function hp(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ee,e.pingedLanes=Ee,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,f=e.eventTimes,y=e.expirationTimes,b=o;b>0;){var R=Wo(b),z=1<<R;u[R]=Ee,f[R]=cn,y[R]=cn,b&=~z}}function Mu(e,t){for(var o=e.entangledLanes|=t,u=e.entanglements,f=o;f;){var y=Wo(f),b=1<<y;b&t|u[y]&t&&(u[y]|=t),f&=~b}}function Mx(e,t){var o=Yn(t),u;switch(o){case Da:u=wi;break;case mn:u=Rl;break;case Ol:case Ga:case la:case Bl:case Xs:case Js:case Rf:case kf:case Of:case Bf:case Ff:case zf:case Mf:case Nf:case Fl:case Lf:case Ji:case Uf:case ec:case Hf:case Pf:u=kl;break;case Go:u=Ou;break;default:u=Ft;break}return(u&(e.suspendedLanes|t))!==Ft?Ft:u}function vp(e,t,o){if(gr)for(var u=e.pendingUpdatersLaneMap;o>0;){var f=qf(o),y=1<<f,b=u[f];b.add(t),o&=~y}}function Wf(e,t){if(gr)for(var o=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var f=qf(t),y=1<<f,b=o[f];b.size>0&&(b.forEach(function(R){var z=R.alternate;(z===null||!u.has(z))&&u.add(R)}),b.clear()),t&=~y}}function mp(e,t){return null}var Mr=st,xr=Da,eo=mn,ac=Go,Ll=Ft;function Wa(){return Ll}function Xn(e){Ll=e}function ic(e,t){var o=Ll;try{return Ll=e,t()}finally{Ll=o}}function Nr(e,t){return e!==0&&e<t?e:t}function Nx(e,t){return e===0||e>t?e:t}function yp(e,t){return e!==0&&e<t}function oc(e){var t=Yn(e);return yp(Mr,t)?yp(xr,t)?nc(t)?eo:ac:xr:Mr}function Jn(e){var t=e.current.memoizedState;return t.isDehydrated}var f1;function We(e){f1=e}function Nu(e){f1(e)}var lc;function d1(e){lc=e}var p1;function uc(e){p1=e}var sc;function gp(e){sc=e}var xp;function h1(e){xp=e}var Zf=!1,Lu=[],Di=null,En=null,cr=null,Za=new Map,Uu=new Map,to=[],vi=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function v1(e){return vi.indexOf(e)>-1}function Ti(e,t,o,u,f){return{blockedOn:e,domEventName:t,eventSystemFlags:o,nativeEvent:f,targetContainers:[u]}}function m1(e,t){switch(e){case"focusin":case"focusout":Di=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":cr=null;break;case"pointerover":case"pointerout":{var o=t.pointerId;Za.delete(o);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;Uu.delete(u);break}}}function Hu(e,t,o,u,f,y){if(e===null||e.nativeEvent!==y){var b=Ti(t,o,u,f,y);if(t!==null){var R=Ku(t);R!==null&&lc(R)}return b}e.eventSystemFlags|=u;var z=e.targetContainers;return f!==null&&z.indexOf(f)===-1&&z.push(f),e}function y1(e,t,o,u,f){switch(t){case"focusin":{var y=f;return Di=Hu(Di,e,t,o,u,y),!0}case"dragenter":{var b=f;return En=Hu(En,e,t,o,u,b),!0}case"mouseover":{var R=f;return cr=Hu(cr,e,t,o,u,R),!0}case"pointerover":{var z=f,j=z.pointerId;return Za.set(j,Hu(Za.get(j)||null,e,t,o,u,z)),!0}case"gotpointercapture":{var q=f,le=q.pointerId;return Uu.set(le,Hu(Uu.get(le)||null,e,t,o,u,q)),!0}}return!1}function _p(e){var t=gc(e.target);if(t!==null){var o=Ea(t);if(o!==null){var u=o.tag;if(u===N){var f=Zd(o);if(f!==null){e.blockedOn=f,xp(e.priority,function(){p1(o)});return}}else if(u===w){var y=o.stateNode;if(Jn(y)){e.blockedOn=yf(o);return}}}}e.blockedOn=null}function g1(e){for(var t=sc(),o={blockedOn:null,target:e,priority:t},u=0;u<to.length&&yp(t,to[u].priority);u++);to.splice(u,0,o),u===0&&_p(o)}function Kf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var o=t[0],u=Ul(e.domEventName,e.eventSystemFlags,o,e.nativeEvent);if(u===null){var f=e.nativeEvent,y=new f.constructor(f.type,f);Is(y),f.target.dispatchEvent(y),Dx()}else{var b=Ku(u);return b!==null&&lc(b),e.blockedOn=u,!1}t.shift()}return!0}function cc(e,t,o){Kf(e)&&o.delete(t)}function Cp(){Zf=!1,Di!==null&&Kf(Di)&&(Di=null),En!==null&&Kf(En)&&(En=null),cr!==null&&Kf(cr)&&(cr=null),Za.forEach(cc),Uu.forEach(cc)}function Lr(e,t){e.blockedOn===t&&(e.blockedOn=null,Zf||(Zf=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Cp)))}function kt(e){if(Lu.length>0){Lr(Lu[0],e);for(var t=1;t<Lu.length;t++){var o=Lu[t];o.blockedOn===e&&(o.blockedOn=null)}}Di!==null&&Lr(Di,e),En!==null&&Lr(En,e),cr!==null&&Lr(cr,e);var u=function(R){return Lr(R,e)};Za.forEach(u),Uu.forEach(u);for(var f=0;f<to.length;f++){var y=to[f];y.blockedOn===e&&(y.blockedOn=null)}for(;to.length>0;){var b=to[0];if(b.blockedOn!==null)break;_p(b),b.blockedOn===null&&to.shift()}}var Rn=a.ReactCurrentBatchConfig,Fn=!0;function fr(e){Fn=!!e}function Ta(){return Fn}function Pu(e,t,o){var u=$r(t),f;switch(u){case Mr:f=er;break;case xr:f=fc;break;case eo:default:f=no;break}return f.bind(null,t,o,e)}function er(e,t,o,u){var f=Wa(),y=Rn.transition;Rn.transition=null;try{Xn(Mr),no(e,t,o,u)}finally{Xn(f),Rn.transition=y}}function fc(e,t,o,u){var f=Wa(),y=Rn.transition;Rn.transition=null;try{Xn(xr),no(e,t,o,u)}finally{Xn(f),Rn.transition=y}}function no(e,t,o,u){Fn&&Qf(e,t,o,u)}function Qf(e,t,o,u){var f=Ul(e,t,o,u);if(f===null){n2(e,t,u,ju,o),m1(e,u);return}if(y1(f,e,t,o,u)){u.stopPropagation();return}if(m1(e,u),t&_l&&v1(e)){for(;f!==null;){var y=Ku(f);y!==null&&Nu(y);var b=Ul(e,t,o,u);if(b===null&&n2(e,t,u,ju,o),b===f)break;f=b}f!==null&&u.stopPropagation();return}n2(e,t,u,null,o)}var ju=null;function Ul(e,t,o,u){ju=null;var f=df(u),y=gc(f);if(y!==null){var b=Ea(y);if(b===null)y=null;else{var R=b.tag;if(R===N){var z=Zd(b);if(z!==null)return z;y=null}else if(R===w){var j=b.stateNode;if(Jn(j))return yf(b);y=null}else b!==y&&(y=null)}}return ju=y,null}function $r(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Mr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return xr;case"message":{var t=Xd();switch(t){case Cf:return Mr;case wa:return xr;case bi:case Sf:return eo;case Po:return ac;default:return eo}}default:return eo}}function Sp(e,t,o){return e.addEventListener(t,o,!1),o}function Iu(e,t,o){return e.addEventListener(t,o,!0),o}function ro(e,t,o,u){return e.addEventListener(t,o,{capture:!0,passive:u}),o}function Xf(e,t,o,u){return e.addEventListener(t,o,{passive:u}),o}var Hl=null,Ai=null,Zo=null;function Ko(e){return Hl=e,Ai=e0(),!0}function Jf(){Hl=null,Ai=null,Zo=null}function $u(){if(Zo)return Zo;var e,t=Ai,o=t.length,u,f=e0(),y=f.length;for(e=0;e<o&&t[e]===f[e];e++);var b=o-e;for(u=1;u<=b&&t[o-u]===f[y-u];u++);var R=u>1?1-u:void 0;return Zo=f.slice(e,R),Zo}function e0(){return"value"in Hl?Hl.value:Hl.textContent}function Pl(e){var t,o=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&o===13&&(t=13)):t=o,t===10&&(t=13),t>=32||t===13?t:0}function jl(){return!0}function Ur(){return!1}function qn(e){function t(o,u,f,y,b){this._reactName=o,this._targetInst=f,this.type=u,this.nativeEvent=y,this.target=b,this.currentTarget=null;for(var R in e)if(e.hasOwnProperty(R)){var z=e[R];z?this[R]=z(y):this[R]=y[R]}var j=y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1;return j?this.isDefaultPrevented=jl:this.isDefaultPrevented=Ur,this.isPropagationStopped=Ur,this}return Rt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=jl)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=jl)},persist:function(){},isPersistent:jl}),t}var Hr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pr=qn(Hr),Vu=Rt({},Hr,{view:0,detail:0}),Ep=qn(Vu),dc,bp,Ka;function x1(e){e!==Ka&&(Ka&&e.type==="mousemove"?(dc=e.screenX-Ka.screenX,bp=e.screenY-Ka.screenY):(dc=0,bp=0),Ka=e)}var Yu=Rt({},Vu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:r0,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(x1(e),dc)},movementY:function(e){return"movementY"in e?e.movementY:bp}}),Qo=qn(Yu),wp=Rt({},Yu,{dataTransfer:0}),Il=qn(wp),_1=Rt({},Vu,{relatedTarget:0}),t0=qn(_1),Dp=Rt({},Hr,{animationName:0,elapsedTime:0,pseudoElement:0}),n0=qn(Dp),Lx=Rt({},Hr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ux=qn(Lx),C1=Rt({},Hr,{data:0}),Tp=qn(C1),$l=Tp,Hx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function S1(e){if(e.key){var t=Hx[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var o=Pl(e);return o===13?"Enter":String.fromCharCode(o)}return e.type==="keydown"||e.type==="keyup"?qu[e.keyCode]||"Unidentified":""}var zn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Px(e){var t=this,o=t.nativeEvent;if(o.getModifierState)return o.getModifierState(e);var u=zn[e];return u?!!o[u]:!1}function r0(e){return Px}var jx=Rt({},Vu,{key:S1,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:r0,charCode:function(e){return e.type==="keypress"?Pl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Pl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ix=qn(jx),E1=Rt({},Yu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ap=qn(E1),$x=Rt({},Vu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:r0}),Qa=qn($x),Rp=Rt({},Hr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vx=qn(Rp),Xo=Rt({},Yu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),a0=qn(Xo),Vl=[9,13,27,32],pc=229,hc=ft&&"CompositionEvent"in window,Yl=null;ft&&"documentMode"in document&&(Yl=document.documentMode);var Yx=ft&&"TextEvent"in window&&!Yl,i0=ft&&(!hc||Yl&&Yl>8&&Yl<=11),b1=32,kp=String.fromCharCode(b1);function w1(){ct("onBeforeInput",["compositionend","keypress","textInput","paste"]),ct("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),ct("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),ct("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var vc=!1;function o0(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function D1(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Op(e,t){return e==="keydown"&&t.keyCode===pc}function T1(e,t){switch(e){case"keyup":return Vl.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==pc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bp(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function l0(e){return e.locale==="ko"}var ao=!1;function Fp(e,t,o,u,f){var y,b;if(hc?y=D1(t):ao?T1(t,u)&&(y="onCompositionEnd"):Op(t,u)&&(y="onCompositionStart"),!y)return null;i0&&!l0(u)&&(!ao&&y==="onCompositionStart"?ao=Ko(f):y==="onCompositionEnd"&&ao&&(b=$u()));var R=B1(o,y);if(R.length>0){var z=new Tp(y,t,null,u,f);if(e.push({event:z,listeners:R}),b)z.data=b;else{var j=Bp(u);j!==null&&(z.data=j)}}}function u0(e,t){switch(e){case"compositionend":return Bp(t);case"keypress":var o=t.which;return o!==b1?null:(vc=!0,kp);case"textInput":var u=t.data;return u===kp&&vc?null:u;default:return null}}function A1(e,t){if(ao){if(e==="compositionend"||!hc&&T1(e,t)){var o=$u();return Jf(),ao=!1,o}return null}switch(e){case"paste":return null;case"keypress":if(!o0(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return i0&&!l0(t)?null:t.data;default:return null}}function qx(e,t,o,u,f){var y;if(Yx?y=u0(t,u):y=A1(t,u),!y)return null;var b=B1(o,"onBeforeInput");if(b.length>0){var R=new $l("onBeforeInput","beforeinput",null,u,f);e.push({event:R,listeners:b}),R.data=y}}function s0(e,t,o,u,f,y,b){Fp(e,t,o,u,f),qx(e,t,o,u,f)}var Gx={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Gx[e.type]:t==="textarea"}function Wx(e){if(!ft)return!1;var t="on"+e,o=t in document;if(!o){var u=document.createElement("div");u.setAttribute(t,"return;"),o=typeof u[t]=="function"}return o}function c0(){ct("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function r(e,t,o,u){pf(u);var f=B1(t,"onChange");if(f.length>0){var y=new Pr("onChange","change",null,o,u);e.push({event:y,listeners:f})}}var i=null,c=null;function m(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function S(e){var t=[];r(t,c,e,df(e)),jd(D,t)}function D(e){K4(e,0)}function U(e){var t=m0(e);if(hv(t))return e}function X(e,t){if(e==="change")return t}var ae=!1;ft&&(ae=Wx("input")&&(!document.documentMode||document.documentMode>9));function ge(e,t){i=e,c=t,i.attachEvent("onpropertychange",ze)}function ke(){i&&(i.detachEvent("onpropertychange",ze),i=null,c=null)}function ze(e){e.propertyName==="value"&&U(c)&&S(e)}function Re(e,t,o){e==="focusin"?(ke(),ge(t,o)):e==="focusout"&&ke()}function Ve(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return U(c)}function Ze(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Xe(e,t){if(e==="click")return U(t)}function Ln(e,t){if(e==="input"||e==="change")return U(t)}function fe(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Bo(e,"number",e.value)}function oe(e,t,o,u,f,y,b){var R=o?m0(o):window,z,j;if(m(R)?z=X:Gu(R)?ae?z=Ln:(z=Ve,j=Re):Ze(R)&&(z=Xe),z){var q=z(t,o);if(q){r(e,q,u,f);return}}j&&j(t,R,o),t==="focusout"&&fe(R)}function ve(){Fe("onMouseEnter",["mouseout","mouseover"]),Fe("onMouseLeave",["mouseout","mouseover"]),Fe("onPointerEnter",["pointerout","pointerover"]),Fe("onPointerLeave",["pointerout","pointerover"])}function Le(e,t,o,u,f,y,b){var R=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout";if(R&&!Yv(u)){var j=u.relatedTarget||u.fromElement;if(j&&(gc(j)||Gp(j)))return}if(!(!z&&!R)){var q;if(f.window===f)q=f;else{var le=f.ownerDocument;le?q=le.defaultView||le.parentWindow:q=window}var ie,me;if(z){var ye=u.relatedTarget||u.toElement;if(ie=o,me=ye?gc(ye):null,me!==null){var _e=Ea(me);(me!==_e||me.tag!==E&&me.tag!==T)&&(me=null)}}else ie=null,me=o;if(ie!==me){var qe=Qo,at="onMouseLeave",tt="onMouseEnter",Mt="mouse";(t==="pointerout"||t==="pointerover")&&(qe=Ap,at="onPointerLeave",tt="onPointerEnter",Mt="pointer");var Ot=ie==null?q:m0(ie),pe=me==null?q:m0(me),Ce=new qe(at,Mt+"leave",ie,u,f);Ce.target=Ot,Ce.relatedTarget=pe;var he=null,Me=gc(f);if(Me===o){var Ge=new qe(tt,Mt+"enter",me,u,f);Ge.target=pe,Ge.relatedTarget=Ot,he=Ge}EO(e,Ce,he,ie,me)}}}function et(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ke=typeof Object.is=="function"?Object.is:et;function nt(e,t){if(Ke(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),u=Object.keys(t);if(o.length!==u.length)return!1;for(var f=0;f<o.length;f++){var y=o[f];if(!wt.call(t,y)||!Ke(e[y],t[y]))return!1}return!0}function ht(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ht(e,t){for(var o=ht(e),u=0,f=0;o;){if(o.nodeType===Yi){if(f=u+o.textContent.length,u<=t&&f>=t)return{node:o,offset:t-u};u=f}o=ht(dr(o))}}function Jo(e){var t=e.ownerDocument,o=t&&t.defaultView||window,u=o.getSelection&&o.getSelection();if(!u||u.rangeCount===0)return null;var f=u.anchorNode,y=u.anchorOffset,b=u.focusNode,R=u.focusOffset;try{f.nodeType,b.nodeType}catch{return null}return Zx(e,f,y,b,R)}function Zx(e,t,o,u,f){var y=0,b=-1,R=-1,z=0,j=0,q=e,le=null;e:for(;;){for(var ie=null;q===t&&(o===0||q.nodeType===Yi)&&(b=y+o),q===u&&(f===0||q.nodeType===Yi)&&(R=y+f),q.nodeType===Yi&&(y+=q.nodeValue.length),(ie=q.firstChild)!==null;)le=q,q=ie;for(;;){if(q===e)break e;if(le===t&&++z===o&&(b=y),le===u&&++j===f&&(R=y),(ie=q.nextSibling)!==null)break;q=le,le=q.parentNode}q=ie}return b===-1||R===-1?null:{start:b,end:R}}function aO(e,t){var o=e.ownerDocument||document,u=o&&o.defaultView||window;if(u.getSelection){var f=u.getSelection(),y=e.textContent.length,b=Math.min(t.start,y),R=t.end===void 0?b:Math.min(t.end,y);if(!f.extend&&b>R){var z=R;R=b,b=z}var j=Ht(e,b),q=Ht(e,R);if(j&&q){if(f.rangeCount===1&&f.anchorNode===j.node&&f.anchorOffset===j.offset&&f.focusNode===q.node&&f.focusOffset===q.offset)return;var le=o.createRange();le.setStart(j.node,j.offset),f.removeAllRanges(),b>R?(f.addRange(le),f.extend(q.node,q.offset)):(le.setEnd(q.node,q.offset),f.addRange(le))}}}function U4(e){return e&&e.nodeType===Yi}function H4(e,t){return!e||!t?!1:e===t?!0:U4(e)?!1:U4(t)?H4(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function iO(e){return e&&e.ownerDocument&&H4(e.ownerDocument.documentElement,e)}function oO(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function P4(){for(var e=window,t=Xc();t instanceof e.HTMLIFrameElement;){if(oO(t))e=t.contentWindow;else return t;t=Xc(e.document)}return t}function Kx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function lO(){var e=P4();return{focusedElem:e,selectionRange:Kx(e)?sO(e):null}}function uO(e){var t=P4(),o=e.focusedElem,u=e.selectionRange;if(t!==o&&iO(o)){u!==null&&Kx(o)&&cO(o,u);for(var f=[],y=o;y=y.parentNode;)y.nodeType===ta&&f.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof o.focus=="function"&&o.focus();for(var b=0;b<f.length;b++){var R=f[b];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}}function sO(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Jo(e),t||{start:0,end:0}}function cO(e,t){var o=t.start,u=t.end;u===void 0&&(u=o),"selectionStart"in e?(e.selectionStart=o,e.selectionEnd=Math.min(u,e.value.length)):aO(e,t)}var fO=ft&&"documentMode"in document&&document.documentMode<=11;function dO(){ct("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var f0=null,Qx=null,zp=null,Xx=!1;function pO(e){if("selectionStart"in e&&Kx(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,o=t.getSelection();return{anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}}function hO(e){return e.window===e?e.document:e.nodeType===fi?e:e.ownerDocument}function j4(e,t,o){var u=hO(o);if(!(Xx||f0==null||f0!==Xc(u))){var f=pO(f0);if(!zp||!nt(zp,f)){zp=f;var y=B1(Qx,"onSelect");if(y.length>0){var b=new Pr("onSelect","select",null,t,o);e.push({event:b,listeners:y}),b.target=f0}}}}function vO(e,t,o,u,f,y,b){var R=o?m0(o):window;switch(t){case"focusin":(Gu(R)||R.contentEditable==="true")&&(f0=R,Qx=o,zp=null);break;case"focusout":f0=null,Qx=null,zp=null;break;case"mousedown":Xx=!0;break;case"contextmenu":case"mouseup":case"dragend":Xx=!1,j4(e,u,f);break;case"selectionchange":if(fO)break;case"keydown":case"keyup":j4(e,u,f)}}function R1(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var d0={animationend:R1("Animation","AnimationEnd"),animationiteration:R1("Animation","AnimationIteration"),animationstart:R1("Animation","AnimationStart"),transitionend:R1("Transition","TransitionEnd")},Jx={},I4={};ft&&(I4=document.createElement("div").style,"AnimationEvent"in window||(delete d0.animationend.animation,delete d0.animationiteration.animation,delete d0.animationstart.animation),"TransitionEvent"in window||delete d0.transitionend.transition);function k1(e){if(Jx[e])return Jx[e];if(!d0[e])return e;var t=d0[e];for(var o in t)if(t.hasOwnProperty(o)&&o in I4)return Jx[e]=t[o];return e}var $4=k1("animationend"),V4=k1("animationiteration"),Y4=k1("animationstart"),q4=k1("transitionend"),G4=new Map,W4=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Wu(e,t){G4.set(e,t),ct(t,[e])}function mO(){for(var e=0;e<W4.length;e++){var t=W4[e],o=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);Wu(o,"on"+u)}Wu($4,"onAnimationEnd"),Wu(V4,"onAnimationIteration"),Wu(Y4,"onAnimationStart"),Wu("dblclick","onDoubleClick"),Wu("focusin","onFocus"),Wu("focusout","onBlur"),Wu(q4,"onTransitionEnd")}function yO(e,t,o,u,f,y,b){var R=G4.get(t);if(R!==void 0){var z=Pr,j=t;switch(t){case"keypress":if(Pl(u)===0)return;case"keydown":case"keyup":z=Ix;break;case"focusin":j="focus",z=t0;break;case"focusout":j="blur",z=t0;break;case"beforeblur":case"afterblur":z=t0;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=Qo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=Il;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=Qa;break;case $4:case V4:case Y4:z=n0;break;case q4:z=Vx;break;case"scroll":z=Ep;break;case"wheel":z=a0;break;case"copy":case"cut":case"paste":z=Ux;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=Ap;break}var q=(y&_l)!==0;{var le=!q&&t==="scroll",ie=CO(o,R,u.type,q,le);if(ie.length>0){var me=new z(R,j,null,u,f);e.push({event:me,listeners:ie})}}}}mO(),ve(),c0(),dO(),w1();function gO(e,t,o,u,f,y,b){yO(e,t,o,u,f,y);var R=(y&wx)===0;R&&(Le(e,t,o,u,f),oe(e,t,o,u,f),vO(e,t,o,u,f),s0(e,t,o,u,f))}var Mp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],e2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Mp));function Z4(e,t,o){var u=e.type||"unknown-event";e.currentTarget=o,Zi(u,t,void 0,e),e.currentTarget=null}function xO(e,t,o){var u;if(o)for(var f=t.length-1;f>=0;f--){var y=t[f],b=y.instance,R=y.currentTarget,z=y.listener;if(b!==u&&e.isPropagationStopped())return;Z4(e,z,R),u=b}else for(var j=0;j<t.length;j++){var q=t[j],le=q.instance,ie=q.currentTarget,me=q.listener;if(le!==u&&e.isPropagationStopped())return;Z4(e,me,ie),u=le}}function K4(e,t){for(var o=(t&_l)!==0,u=0;u<e.length;u++){var f=e[u],y=f.event,b=f.listeners;xO(y,b,o)}Yd()}function _O(e,t,o,u,f){var y=df(o),b=[];gO(b,e,u,o,y,t),K4(b,t)}function kn(e,t){e2.has(e)||h('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var o=!1,u=K9(t),f=bO(e,o);u.has(f)||(Q4(t,e,Ps,o),u.add(f))}function t2(e,t,o){e2.has(e)&&!t&&h('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=_l),Q4(o,e,u,t)}var O1="_reactListening"+Math.random().toString(36).slice(2);function Np(e){if(!e[O1]){e[O1]=!0,Se.forEach(function(o){o!=="selectionchange"&&(e2.has(o)||t2(o,!1,e),t2(o,!0,e))});var t=e.nodeType===fi?e:e.ownerDocument;t!==null&&(t[O1]||(t[O1]=!0,t2("selectionchange",!1,t)))}}function Q4(e,t,o,u,f){var y=Pu(e,t,o),b=void 0;Ys&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(b=!0),e=e,u?b!==void 0?ro(e,t,y,b):Iu(e,t,y):b!==void 0?Xf(e,t,y,b):Sp(e,t,y)}function X4(e,t){return e===t||e.nodeType===Vn&&e.parentNode===t}function n2(e,t,o,u,f){var y=u;if(!(t&Gi)&&!(t&Ps)){var b=f;if(u!==null){var R=u;e:for(;;){if(R===null)return;var z=R.tag;if(z===w||z===C){var j=R.stateNode.containerInfo;if(X4(j,b))break;if(z===C)for(var q=R.return;q!==null;){var le=q.tag;if(le===w||le===C){var ie=q.stateNode.containerInfo;if(X4(ie,b))return}q=q.return}for(;j!==null;){var me=gc(j);if(me===null)return;var ye=me.tag;if(ye===E||ye===T){R=y=me;continue e}j=j.parentNode}}R=R.return}}}jd(function(){return _O(e,t,o,y)})}function Lp(e,t,o){return{instance:e,listener:t,currentTarget:o}}function CO(e,t,o,u,f,y){for(var b=t!==null?t+"Capture":null,R=u?b:t,z=[],j=e,q=null;j!==null;){var le=j,ie=le.stateNode,me=le.tag;if(me===E&&ie!==null&&(q=ie,R!==null)){var ye=Sl(j,R);ye!=null&&z.push(Lp(j,ye,q))}if(f)break;j=j.return}return z}function B1(e,t){for(var o=t+"Capture",u=[],f=e;f!==null;){var y=f,b=y.stateNode,R=y.tag;if(R===E&&b!==null){var z=b,j=Sl(f,o);j!=null&&u.unshift(Lp(f,j,z));var q=Sl(f,t);q!=null&&u.push(Lp(f,q,z))}f=f.return}return u}function p0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==E);return e||null}function SO(e,t){for(var o=e,u=t,f=0,y=o;y;y=p0(y))f++;for(var b=0,R=u;R;R=p0(R))b++;for(;f-b>0;)o=p0(o),f--;for(;b-f>0;)u=p0(u),b--;for(var z=f;z--;){if(o===u||u!==null&&o===u.alternate)return o;o=p0(o),u=p0(u)}return null}function J4(e,t,o,u,f){for(var y=t._reactName,b=[],R=o;R!==null&&R!==u;){var z=R,j=z.alternate,q=z.stateNode,le=z.tag;if(j!==null&&j===u)break;if(le===E&&q!==null){var ie=q;if(f){var me=Sl(R,y);me!=null&&b.unshift(Lp(R,me,ie))}else if(!f){var ye=Sl(R,y);ye!=null&&b.push(Lp(R,ye,ie))}}R=R.return}b.length!==0&&e.push({event:t,listeners:b})}function EO(e,t,o,u,f){var y=u&&f?SO(u,f):null;u!==null&&J4(e,t,u,y,!1),f!==null&&o!==null&&J4(e,o,f,y,!0)}function bO(e,t){return e+"__"+(t?"capture":"bubble")}var Xa=!1,Up="dangerouslySetInnerHTML",F1="suppressContentEditableWarning",Zu="suppressHydrationWarning",ew="autoFocus",mc="children",yc="style",z1="__html",r2,M1,Hp,tw,N1,nw,rw;r2={dialog:!0,webview:!0},M1=function(e,t){ff(e,t),Nd(e,t),Vv(e,t,{registrationNameDependencies:Ie,possibleRegistrationNames:Ne})},nw=ft&&!document.documentMode,Hp=function(e,t,o){if(!Xa){var u=L1(o),f=L1(t);f!==u&&(Xa=!0,h("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(f),JSON.stringify(u)))}},tw=function(e){if(!Xa){Xa=!0;var t=[];e.forEach(function(o){t.push(o)}),h("Extra attributes from the server: %s",t)}},N1=function(e,t){t===!1?h("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):h("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},rw=function(e,t){var o=e.namespaceURI===Vi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return o.innerHTML=t,o.innerHTML};var wO=/\r\n?/g,DO=/\u0000|\uFFFD/g;function L1(e){Wt(e);var t=typeof e=="string"?e:""+e;return t.replace(wO,`
85
+ `).replace(DO,"")}function U1(e,t,o,u){var f=L1(t),y=L1(e);if(y!==f&&(u&&(Xa||(Xa=!0,h('Text content did not match. Server: "%s" Client: "%s"',y,f))),o&&ce))throw new Error("Text content does not match server-rendered HTML.")}function aw(e){return e.nodeType===fi?e:e.ownerDocument}function TO(){}function H1(e){e.onclick=TO}function AO(e,t,o,u,f){for(var y in u)if(u.hasOwnProperty(y)){var b=u[y];if(y===yc)b&&Object.freeze(b),zv(t,b);else if(y===Up){var R=b?b[z1]:void 0;R!=null&&Ev(t,R)}else if(y===mc)if(typeof b=="string"){var z=e!=="textarea"||b!=="";z&&lf(t,b)}else typeof b=="number"&&lf(t,""+b);else y===F1||y===Zu||y===ew||(Ie.hasOwnProperty(y)?b!=null&&(typeof b!="function"&&N1(y,b),y==="onScroll"&&kn("scroll",t)):b!=null&&xn(t,y,b,f))}}function RO(e,t,o,u){for(var f=0;f<t.length;f+=2){var y=t[f],b=t[f+1];y===yc?zv(e,b):y===Up?Ev(e,b):y===mc?lf(e,b):xn(e,y,b,u)}}function kO(e,t,o,u){var f,y=aw(o),b,R=u;if(R===Vi&&(R=af(e)),R===Vi){if(f=qi(e,t),!f&&e!==e.toLowerCase()&&h("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var z=y.createElement("div");z.innerHTML="<script></script>";var j=z.firstChild;b=z.removeChild(j)}else if(typeof t.is=="string")b=y.createElement(e,{is:t.is});else if(b=y.createElement(e),e==="select"){var q=b;t.multiple?q.multiple=!0:t.size&&(q.size=t.size)}}else b=y.createElementNS(R,e);return R===Vi&&!f&&Object.prototype.toString.call(b)==="[object HTMLUnknownElement]"&&!wt.call(r2,e)&&(r2[e]=!0,h("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),b}function OO(e,t){return aw(t).createTextNode(e)}function BO(e,t,o,u){var f=qi(t,o);M1(t,o);var y;switch(t){case"dialog":kn("cancel",e),kn("close",e),y=o;break;case"iframe":case"object":case"embed":kn("load",e),y=o;break;case"video":case"audio":for(var b=0;b<Mp.length;b++)kn(Mp[b],e);y=o;break;case"source":kn("error",e),y=o;break;case"img":case"image":case"link":kn("error",e),kn("load",e),y=o;break;case"details":kn("toggle",e),y=o;break;case"input":zs(e,o),y=Fs(e,o),kn("invalid",e);break;case"option":nf(e,o),y=o;break;case"select":xv(e,o),y=wd(e,o),kn("invalid",e);break;case"textarea":_v(e,o),y=Td(e,o),kn("invalid",e);break;default:y=o}switch(sf(t,y),AO(t,e,u,y,f),t){case"input":yl(e),Ms(e,o,!1);break;case"textarea":yl(e),Sv(e);break;case"option":bd(e,o);break;case"select":hx(e,o);break;default:typeof y.onClick=="function"&&H1(e);break}}function FO(e,t,o,u,f){M1(t,u);var y=null,b,R;switch(t){case"input":b=Fs(e,o),R=Fs(e,u),y=[];break;case"select":b=wd(e,o),R=wd(e,u),y=[];break;case"textarea":b=Td(e,o),R=Td(e,u),y=[];break;default:b=o,R=u,typeof b.onClick!="function"&&typeof R.onClick=="function"&&H1(e);break}sf(t,R);var z,j,q=null;for(z in b)if(!(R.hasOwnProperty(z)||!b.hasOwnProperty(z)||b[z]==null))if(z===yc){var le=b[z];for(j in le)le.hasOwnProperty(j)&&(q||(q={}),q[j]="")}else z===Up||z===mc||z===F1||z===Zu||z===ew||(Ie.hasOwnProperty(z)?y||(y=[]):(y=y||[]).push(z,null));for(z in R){var ie=R[z],me=b!=null?b[z]:void 0;if(!(!R.hasOwnProperty(z)||ie===me||ie==null&&me==null))if(z===yc)if(ie&&Object.freeze(ie),me){for(j in me)me.hasOwnProperty(j)&&(!ie||!ie.hasOwnProperty(j))&&(q||(q={}),q[j]="");for(j in ie)ie.hasOwnProperty(j)&&me[j]!==ie[j]&&(q||(q={}),q[j]=ie[j])}else q||(y||(y=[]),y.push(z,q)),q=ie;else if(z===Up){var ye=ie?ie[z1]:void 0,_e=me?me[z1]:void 0;ye!=null&&_e!==ye&&(y=y||[]).push(z,ye)}else z===mc?(typeof ie=="string"||typeof ie=="number")&&(y=y||[]).push(z,""+ie):z===F1||z===Zu||(Ie.hasOwnProperty(z)?(ie!=null&&(typeof ie!="function"&&N1(z,ie),z==="onScroll"&&kn("scroll",e)),!y&&me!==ie&&(y=[])):(y=y||[]).push(z,ie))}return q&&(Us(q,R[yc]),(y=y||[]).push(yc,q)),y}function zO(e,t,o,u,f){o==="input"&&f.type==="radio"&&f.name!=null&&Ed(e,f);var y=qi(o,u),b=qi(o,f);switch(RO(e,t,y,b),o){case"input":yu(e,f);break;case"textarea":Cv(e,f);break;case"select":vx(e,f);break}}function MO(e){{var t=e.toLowerCase();return cf.hasOwnProperty(t)&&cf[t]||null}}function NO(e,t,o,u,f,y,b){var R,z;switch(R=qi(t,o),M1(t,o),t){case"dialog":kn("cancel",e),kn("close",e);break;case"iframe":case"object":case"embed":kn("load",e);break;case"video":case"audio":for(var j=0;j<Mp.length;j++)kn(Mp[j],e);break;case"source":kn("error",e);break;case"img":case"image":case"link":kn("error",e),kn("load",e);break;case"details":kn("toggle",e);break;case"input":zs(e,o),kn("invalid",e);break;case"option":nf(e,o);break;case"select":xv(e,o),kn("invalid",e);break;case"textarea":_v(e,o),kn("invalid",e);break}sf(t,o);{z=new Set;for(var q=e.attributes,le=0;le<q.length;le++){var ie=q[le].name.toLowerCase();switch(ie){case"value":break;case"checked":break;case"selected":break;default:z.add(q[le].name)}}}var me=null;for(var ye in o)if(o.hasOwnProperty(ye)){var _e=o[ye];if(ye===mc)typeof _e=="string"?e.textContent!==_e&&(o[Zu]!==!0&&U1(e.textContent,_e,y,b),me=[mc,_e]):typeof _e=="number"&&e.textContent!==""+_e&&(o[Zu]!==!0&&U1(e.textContent,_e,y,b),me=[mc,""+_e]);else if(Ie.hasOwnProperty(ye))_e!=null&&(typeof _e!="function"&&N1(ye,_e),ye==="onScroll"&&kn("scroll",e));else if(b&&typeof R=="boolean"){var qe=void 0,at=R&&se?null:Or(ye);if(o[Zu]!==!0){if(!(ye===F1||ye===Zu||ye==="value"||ye==="checked"||ye==="selected")){if(ye===Up){var tt=e.innerHTML,Mt=_e?_e[z1]:void 0;if(Mt!=null){var Ot=rw(e,Mt);Ot!==tt&&Hp(ye,tt,Ot)}}else if(ye===yc){if(z.delete(ye),nw){var pe=Ex(_e);qe=e.getAttribute("style"),pe!==qe&&Hp(ye,qe,pe)}}else if(R&&!se)z.delete(ye.toLowerCase()),qe=ji(e,ye,_e),_e!==qe&&Hp(ye,qe,_e);else if(!Dn(ye,at,R)&&!tn(ye,_e,at,R)){var Ce=!1;if(at!==null)z.delete(at.attributeName),qe=Pi(e,ye,_e,at);else{var he=u;if(he===Vi&&(he=af(t)),he===Vi)z.delete(ye.toLowerCase());else{var Me=MO(ye);Me!==null&&Me!==ye&&(Ce=!0,z.delete(Me)),z.delete(ye)}qe=ji(e,ye,_e)}var Ge=se;!Ge&&_e!==qe&&!Ce&&Hp(ye,qe,_e)}}}}}switch(b&&z.size>0&&o[Zu]!==!0&&tw(z),t){case"input":yl(e),Ms(e,o,!0);break;case"textarea":yl(e),Sv(e);break;case"select":case"option":break;default:typeof o.onClick=="function"&&H1(e);break}return me}function LO(e,t,o){var u=e.nodeValue!==t;return u}function a2(e,t){{if(Xa)return;Xa=!0,h("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function i2(e,t){{if(Xa)return;Xa=!0,h('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function o2(e,t,o){{if(Xa)return;Xa=!0,h("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function l2(e,t){{if(t===""||Xa)return;Xa=!0,h('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function UO(e,t,o){switch(t){case"input":vv(e,o);return;case"textarea":Ad(e,o);return;case"select":mx(e,o);return}}var Pp=function(){},jp=function(){};{var HO=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],iw=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],PO=iw.concat(["button"]),jO=["dd","dt","li","option","optgroup","p","rp","rt"],ow={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};jp=function(e,t){var o=Rt({},e||ow),u={tag:t};return iw.indexOf(t)!==-1&&(o.aTagInScope=null,o.buttonTagInScope=null,o.nobrTagInScope=null),PO.indexOf(t)!==-1&&(o.pTagInButtonScope=null),HO.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(o.listItemTagAutoclosing=null,o.dlItemTagAutoclosing=null),o.current=u,t==="form"&&(o.formTag=u),t==="a"&&(o.aTagInScope=u),t==="button"&&(o.buttonTagInScope=u),t==="nobr"&&(o.nobrTagInScope=u),t==="p"&&(o.pTagInButtonScope=u),t==="li"&&(o.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(o.dlItemTagAutoclosing=u),o};var IO=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return jO.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},$O=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},lw={};Pp=function(e,t,o){o=o||ow;var u=o.current,f=u&&u.tag;t!=null&&(e!=null&&h("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=IO(e,f)?null:u,b=y?null:$O(e,o),R=y||b;if(R){var z=R.tag,j=!!y+"|"+e+"|"+z;if(!lw[j]){lw[j]=!0;var q=e,le="";if(e==="#text"?/\S/.test(t)?q="Text nodes":(q="Whitespace text nodes",le=" Make sure you don't have any extra whitespace between tags on each line of your source code."):q="<"+e+">",y){var ie="";z==="table"&&e==="tr"&&(ie+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),h("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",q,z,le,ie)}else h("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",q,z)}}}}var P1="suppressHydrationWarning",j1="$",I1="/$",Ip="$?",$p="$!",VO="style",u2=null,s2=null;function YO(e){var t,o,u=e.nodeType;switch(u){case fi:case gl:{t=u===fi?"#document":"#fragment";var f=e.documentElement;o=f?f.namespaceURI:kd(null,"");break}default:{var y=u===Vn?e.parentNode:e,b=y.namespaceURI||null;t=y.tagName,o=kd(b,t);break}}{var R=t.toLowerCase(),z=jp(null,R);return{namespace:o,ancestorInfo:z}}}function qO(e,t,o){{var u=e,f=kd(u.namespace,t),y=jp(u.ancestorInfo,t);return{namespace:f,ancestorInfo:y}}}function UN(e){return e}function GO(e){u2=Ta(),s2=lO();var t=null;return fr(!1),t}function WO(e){uO(s2),fr(u2),u2=null,s2=null}function ZO(e,t,o,u,f){var y;{var b=u;if(Pp(e,null,b.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var R=""+t.children,z=jp(b.ancestorInfo,e);Pp(null,R,z)}y=b.namespace}var j=kO(e,t,o,y);return qp(f,j),y2(j,t),j}function KO(e,t){e.appendChild(t)}function QO(e,t,o,u,f){switch(BO(e,t,o,u),t){case"button":case"input":case"select":case"textarea":return!!o.autoFocus;case"img":return!0;default:return!1}}function XO(e,t,o,u,f,y){{var b=y;if(typeof u.children!=typeof o.children&&(typeof u.children=="string"||typeof u.children=="number")){var R=""+u.children,z=jp(b.ancestorInfo,t);Pp(null,R,z)}}return FO(e,t,o,u)}function c2(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function JO(e,t,o,u){{var f=o;Pp(null,e,f.ancestorInfo)}var y=OO(e,t);return qp(u,y),y}function e9(){var e=window.event;return e===void 0?eo:$r(e.type)}var f2=typeof setTimeout=="function"?setTimeout:void 0,t9=typeof clearTimeout=="function"?clearTimeout:void 0,d2=-1,uw=typeof Promise=="function"?Promise:void 0,n9=typeof queueMicrotask=="function"?queueMicrotask:typeof uw<"u"?function(e){return uw.resolve(null).then(e).catch(r9)}:f2;function r9(e){setTimeout(function(){throw e})}function a9(e,t,o,u){switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&e.focus();return;case"img":{o.src&&(e.src=o.src);return}}}function i9(e,t,o,u,f,y){zO(e,t,o,u,f),y2(e,f)}function sw(e){lf(e,"")}function o9(e,t,o){e.nodeValue=o}function l9(e,t){e.appendChild(t)}function u9(e,t){var o;e.nodeType===Vn?(o=e.parentNode,o.insertBefore(t,e)):(o=e,o.appendChild(t));var u=e._reactRootContainer;u==null&&o.onclick===null&&H1(o)}function s9(e,t,o){e.insertBefore(t,o)}function c9(e,t,o){e.nodeType===Vn?e.parentNode.insertBefore(t,o):e.insertBefore(t,o)}function f9(e,t){e.removeChild(t)}function d9(e,t){e.nodeType===Vn?e.parentNode.removeChild(t):e.removeChild(t)}function p2(e,t){var o=t,u=0;do{var f=o.nextSibling;if(e.removeChild(o),f&&f.nodeType===Vn){var y=f.data;if(y===I1)if(u===0){e.removeChild(f),kt(t);return}else u--;else(y===j1||y===Ip||y===$p)&&u++}o=f}while(o);kt(t)}function p9(e,t){e.nodeType===Vn?p2(e.parentNode,t):e.nodeType===ta&&p2(e,t),kt(e)}function h9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function v9(e){e.nodeValue=""}function m9(e,t){e=e;var o=t[VO],u=o!=null&&o.hasOwnProperty("display")?o.display:null;e.style.display=uf("display",u)}function y9(e,t){e.nodeValue=t}function g9(e){e.nodeType===ta?e.textContent="":e.nodeType===fi&&e.documentElement&&e.removeChild(e.documentElement)}function x9(e,t,o){return e.nodeType!==ta||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function _9(e,t){return t===""||e.nodeType!==Yi?null:e}function C9(e){return e.nodeType!==Vn?null:e}function cw(e){return e.data===Ip}function h2(e){return e.data===$p}function S9(e){var t=e.nextSibling&&e.nextSibling.dataset,o,u,f;return t&&(o=t.dgst,u=t.msg,f=t.stck),{message:u,digest:o,stack:f}}function E9(e,t){e._reactRetry=t}function $1(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===ta||t===Yi)break;if(t===Vn){var o=e.data;if(o===j1||o===$p||o===Ip)break;if(o===I1)return null}}return e}function Vp(e){return $1(e.nextSibling)}function b9(e){return $1(e.firstChild)}function w9(e){return $1(e.firstChild)}function D9(e){return $1(e.nextSibling)}function T9(e,t,o,u,f,y,b){qp(y,e),y2(e,o);var R;{var z=f;R=z.namespace}var j=(y.mode&At)!==ot;return NO(e,t,o,R,u,j,b)}function A9(e,t,o,u){return qp(o,e),o.mode&At,LO(e,t)}function R9(e,t){qp(t,e)}function k9(e){for(var t=e.nextSibling,o=0;t;){if(t.nodeType===Vn){var u=t.data;if(u===I1){if(o===0)return Vp(t);o--}else(u===j1||u===$p||u===Ip)&&o++}t=t.nextSibling}return null}function fw(e){for(var t=e.previousSibling,o=0;t;){if(t.nodeType===Vn){var u=t.data;if(u===j1||u===$p||u===Ip){if(o===0)return t;o--}else u===I1&&o++}t=t.previousSibling}return null}function O9(e){kt(e)}function B9(e){kt(e)}function F9(e){return e!=="head"&&e!=="body"}function z9(e,t,o,u){var f=!0;U1(t.nodeValue,o,u,f)}function M9(e,t,o,u,f,y){if(t[P1]!==!0){var b=!0;U1(u.nodeValue,f,y,b)}}function N9(e,t){t.nodeType===ta?a2(e,t):t.nodeType===Vn||i2(e,t)}function L9(e,t){{var o=e.parentNode;o!==null&&(t.nodeType===ta?a2(o,t):t.nodeType===Vn||i2(o,t))}}function U9(e,t,o,u,f){(f||t[P1]!==!0)&&(u.nodeType===ta?a2(o,u):u.nodeType===Vn||i2(o,u))}function H9(e,t,o){o2(e,t)}function P9(e,t){l2(e,t)}function j9(e,t,o){{var u=e.parentNode;u!==null&&o2(u,t)}}function I9(e,t){{var o=e.parentNode;o!==null&&l2(o,t)}}function $9(e,t,o,u,f,y){(y||t[P1]!==!0)&&o2(o,u)}function V9(e,t,o,u,f){(f||t[P1]!==!0)&&l2(o,u)}function Y9(e){h("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function q9(e){Np(e)}var h0=Math.random().toString(36).slice(2),v0="__reactFiber$"+h0,v2="__reactProps$"+h0,Yp="__reactContainer$"+h0,m2="__reactEvents$"+h0,G9="__reactListeners$"+h0,W9="__reactHandles$"+h0;function Z9(e){delete e[v0],delete e[v2],delete e[m2],delete e[G9],delete e[W9]}function qp(e,t){t[v0]=e}function V1(e,t){t[Yp]=e}function dw(e){e[Yp]=null}function Gp(e){return!!e[Yp]}function gc(e){var t=e[v0];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Yp]||o[v0],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var f=fw(e);f!==null;){var y=f[v0];if(y)return y;f=fw(f)}return t}e=o,o=e.parentNode}return null}function Ku(e){var t=e[v0]||e[Yp];return t&&(t.tag===E||t.tag===T||t.tag===N||t.tag===w)?t:null}function m0(e){if(e.tag===E||e.tag===T)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Y1(e){return e[v2]||null}function y2(e,t){e[v2]=t}function K9(e){var t=e[m2];return t===void 0&&(t=e[m2]=new Set),t}var pw={},hw=a.ReactDebugCurrentFrame;function q1(e){if(e){var t=e._owner,o=Ts(e.type,e._source,t?t.type:null);hw.setExtraStackFrame(o)}else hw.setExtraStackFrame(null)}function io(e,t,o,u,f){{var y=Function.call.bind(wt);for(var b in e)if(y(e,b)){var R=void 0;try{if(typeof e[b]!="function"){var z=Error((u||"React class")+": "+o+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}R=e[b](t,b,u,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(j){R=j}R&&!(R instanceof Error)&&(q1(f),h("%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).",u||"React class",o,b,typeof R),q1(null)),R instanceof Error&&!(R.message in pw)&&(pw[R.message]=!0,q1(f),h("Failed %s type: %s",o,R.message),q1(null))}}}var g2=[],G1;G1=[];var ql=-1;function Qu(e){return{current:e}}function ca(e,t){if(ql<0){h("Unexpected pop.");return}t!==G1[ql]&&h("Unexpected Fiber popped."),e.current=g2[ql],g2[ql]=null,G1[ql]=null,ql--}function fa(e,t,o){ql++,g2[ql]=e.current,G1[ql]=o,e.current=t}var x2;x2={};var mi={};Object.freeze(mi);var Gl=Qu(mi),el=Qu(!1),_2=mi;function y0(e,t,o){return o&&tl(t)?_2:Gl.current}function vw(e,t,o){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=o}}function g0(e,t){{var o=e.type,u=o.contextTypes;if(!u)return mi;var f=e.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===t)return f.__reactInternalMemoizedMaskedChildContext;var y={};for(var b in u)y[b]=t[b];{var R=yt(e)||"Unknown";io(u,y,"context",R)}return f&&vw(e,t,y),y}}function W1(){return el.current}function tl(e){{var t=e.childContextTypes;return t!=null}}function Z1(e){ca(el,e),ca(Gl,e)}function C2(e){ca(el,e),ca(Gl,e)}function mw(e,t,o){{if(Gl.current!==mi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");fa(Gl,t,e),fa(el,o,e)}}function yw(e,t,o){{var u=e.stateNode,f=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=yt(e)||"Unknown";x2[y]||(x2[y]=!0,h("%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 o}var b=u.getChildContext();for(var R in b)if(!(R in f))throw new Error((yt(e)||"Unknown")+'.getChildContext(): key "'+R+'" is not defined in childContextTypes.');{var z=yt(e)||"Unknown";io(f,b,"child context",z)}return Rt({},o,b)}}function K1(e){{var t=e.stateNode,o=t&&t.__reactInternalMemoizedMergedChildContext||mi;return _2=Gl.current,fa(Gl,o,e),fa(el,el.current,e),!0}}function gw(e,t,o){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(o){var f=yw(e,t,_2);u.__reactInternalMemoizedMergedChildContext=f,ca(el,e),ca(Gl,e),fa(Gl,f,e),fa(el,o,e)}else ca(el,e),fa(el,o,e)}}function Q9(e){{if(!Kd(e)||e.tag!==p)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case w:return t.stateNode.context;case p:{var o=t.type;if(tl(o))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Xu=0,Q1=1,Wl=null,S2=!1,E2=!1;function xw(e){Wl===null?Wl=[e]:Wl.push(e)}function X9(e){S2=!0,xw(e)}function _w(){S2&&Ju()}function Ju(){if(!E2&&Wl!==null){E2=!0;var e=0,t=Wa();try{var o=!0,u=Wl;for(Xn(Mr);e<u.length;e++){var f=u[e];do f=f(o);while(f!==null)}Wl=null,S2=!1}catch(y){throw Wl!==null&&(Wl=Wl.slice(e+1)),xf(Cf,Ju),y}finally{Xn(t),E2=!1}}return null}var x0=[],_0=0,X1=null,J1=0,Ri=[],ki=0,xc=null,Zl=1,Kl="";function J9(e){return Cc(),(e.flags&Gd)!==rt}function eB(e){return Cc(),J1}function tB(){var e=Kl,t=Zl,o=t&~nB(t);return o.toString(32)+e}function _c(e,t){Cc(),x0[_0++]=J1,x0[_0++]=X1,X1=e,J1=t}function Cw(e,t,o){Cc(),Ri[ki++]=Zl,Ri[ki++]=Kl,Ri[ki++]=xc,xc=e;var u=Zl,f=Kl,y=em(u)-1,b=u&~(1<<y),R=o+1,z=em(t)+y;if(z>30){var j=y-y%5,q=(1<<j)-1,le=(b&q).toString(32),ie=b>>j,me=y-j,ye=em(t)+me,_e=R<<me,qe=_e|ie,at=le+f;Zl=1<<ye|qe,Kl=at}else{var tt=R<<y,Mt=tt|b,Ot=f;Zl=1<<z|Mt,Kl=Ot}}function b2(e){Cc();var t=e.return;if(t!==null){var o=1,u=0;_c(e,o),Cw(e,o,u)}}function em(e){return 32-Tf(e)}function nB(e){return 1<<em(e)-1}function w2(e){for(;e===X1;)X1=x0[--_0],x0[_0]=null,J1=x0[--_0],x0[_0]=null;for(;e===xc;)xc=Ri[--ki],Ri[ki]=null,Kl=Ri[--ki],Ri[ki]=null,Zl=Ri[--ki],Ri[ki]=null}function rB(){return Cc(),xc!==null?{id:Zl,overflow:Kl}:null}function aB(e,t){Cc(),Ri[ki++]=Zl,Ri[ki++]=Kl,Ri[ki++]=xc,Zl=t.id,Kl=t.overflow,xc=e}function Cc(){Yr()||h("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Vr=null,Oi=null,oo=!1,Sc=!1,es=null;function iB(){oo&&h("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Sw(){Sc=!0}function oB(){return Sc}function lB(e){var t=e.stateNode.containerInfo;return Oi=w9(t),Vr=e,oo=!0,es=null,Sc=!1,!0}function uB(e,t,o){return Oi=D9(t),Vr=e,oo=!0,es=null,Sc=!1,o!==null&&aB(e,o),!0}function Ew(e,t){switch(e.tag){case w:{N9(e.stateNode.containerInfo,t);break}case E:{var o=(e.mode&At)!==ot;U9(e.type,e.memoizedProps,e.stateNode,t,o);break}case N:{var u=e.memoizedState;u.dehydrated!==null&&L9(u.dehydrated,t);break}}}function bw(e,t){Ew(e,t);var o=fM();o.stateNode=t,o.return=e;var u=e.deletions;u===null?(e.deletions=[o],e.flags|=Vt):u.push(o)}function D2(e,t){{if(Sc)return;switch(e.tag){case w:{var o=e.stateNode.containerInfo;switch(t.tag){case E:var u=t.type;t.pendingProps,H9(o,u);break;case T:var f=t.pendingProps;P9(o,f);break}break}case E:{var y=e.type,b=e.memoizedProps,R=e.stateNode;switch(t.tag){case E:{var z=t.type,j=t.pendingProps,q=(e.mode&At)!==ot;$9(y,b,R,z,j,q);break}case T:{var le=t.pendingProps,ie=(e.mode&At)!==ot;V9(y,b,R,le,ie);break}}break}case N:{var me=e.memoizedState,ye=me.dehydrated;if(ye!==null)switch(t.tag){case E:var _e=t.type;t.pendingProps,j9(ye,_e);break;case T:var qe=t.pendingProps;I9(ye,qe);break}break}default:return}}}function ww(e,t){t.flags=t.flags&~$a|pn,D2(e,t)}function Dw(e,t){switch(e.tag){case E:{var o=e.type;e.pendingProps;var u=x9(t,o);return u!==null?(e.stateNode=u,Vr=e,Oi=b9(u),!0):!1}case T:{var f=e.pendingProps,y=_9(t,f);return y!==null?(e.stateNode=y,Vr=e,Oi=null,!0):!1}case N:{var b=C9(t);if(b!==null){var R={dehydrated:b,treeContext:rB(),retryLane:ua};e.memoizedState=R;var z=dM(b);return z.return=e,e.child=z,Vr=e,Oi=null,!0}return!1}default:return!1}}function T2(e){return(e.mode&At)!==ot&&(e.flags&pt)===rt}function A2(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function R2(e){if(oo){var t=Oi;if(!t){T2(e)&&(D2(Vr,e),A2()),ww(Vr,e),oo=!1,Vr=e;return}var o=t;if(!Dw(e,t)){T2(e)&&(D2(Vr,e),A2()),t=Vp(o);var u=Vr;if(!t||!Dw(e,t)){ww(Vr,e),oo=!1,Vr=e;return}bw(u,o)}}}function sB(e,t,o){var u=e.stateNode,f=!Sc,y=T9(u,e.type,e.memoizedProps,t,o,e,f);return e.updateQueue=y,y!==null}function cB(e){var t=e.stateNode,o=e.memoizedProps,u=A9(t,o,e);if(u){var f=Vr;if(f!==null)switch(f.tag){case w:{var y=f.stateNode.containerInfo,b=(f.mode&At)!==ot;z9(y,t,o,b);break}case E:{var R=f.type,z=f.memoizedProps,j=f.stateNode,q=(f.mode&At)!==ot;M9(R,z,j,t,o,q);break}}}return u}function fB(e){var t=e.memoizedState,o=t!==null?t.dehydrated:null;if(!o)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");R9(o,e)}function dB(e){var t=e.memoizedState,o=t!==null?t.dehydrated:null;if(!o)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return k9(o)}function Tw(e){for(var t=e.return;t!==null&&t.tag!==E&&t.tag!==w&&t.tag!==N;)t=t.return;Vr=t}function tm(e){if(e!==Vr)return!1;if(!oo)return Tw(e),oo=!0,!1;if(e.tag!==w&&(e.tag!==E||F9(e.type)&&!c2(e.type,e.memoizedProps))){var t=Oi;if(t)if(T2(e))Aw(e),A2();else for(;t;)bw(e,t),t=Vp(t)}return Tw(e),e.tag===N?Oi=dB(e):Oi=Vr?Vp(e.stateNode):null,!0}function pB(){return oo&&Oi!==null}function Aw(e){for(var t=Oi;t;)Ew(e,t),t=Vp(t)}function C0(){Vr=null,Oi=null,oo=!1,Sc=!1}function Rw(){es!==null&&(E3(es),es=null)}function Yr(){return oo}function k2(e){es===null?es=[e]:es.push(e)}var hB=a.ReactCurrentBatchConfig,vB=null;function mB(){return hB.transition}var lo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var yB=function(e){for(var t=null,o=e;o!==null;)o.mode&An&&(t=o),o=o.return;return t},Ec=function(e){var t=[];return e.forEach(function(o){t.push(o)}),t.sort().join(", ")},Wp=[],Zp=[],Kp=[],Qp=[],Xp=[],Jp=[],bc=new Set;lo.recordUnsafeLifecycleWarnings=function(e,t){bc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Wp.push(e),e.mode&An&&typeof t.UNSAFE_componentWillMount=="function"&&Zp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Kp.push(e),e.mode&An&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Qp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Xp.push(e),e.mode&An&&typeof t.UNSAFE_componentWillUpdate=="function"&&Jp.push(e))},lo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Wp.length>0&&(Wp.forEach(function(ie){e.add(yt(ie)||"Component"),bc.add(ie.type)}),Wp=[]);var t=new Set;Zp.length>0&&(Zp.forEach(function(ie){t.add(yt(ie)||"Component"),bc.add(ie.type)}),Zp=[]);var o=new Set;Kp.length>0&&(Kp.forEach(function(ie){o.add(yt(ie)||"Component"),bc.add(ie.type)}),Kp=[]);var u=new Set;Qp.length>0&&(Qp.forEach(function(ie){u.add(yt(ie)||"Component"),bc.add(ie.type)}),Qp=[]);var f=new Set;Xp.length>0&&(Xp.forEach(function(ie){f.add(yt(ie)||"Component"),bc.add(ie.type)}),Xp=[]);var y=new Set;if(Jp.length>0&&(Jp.forEach(function(ie){y.add(yt(ie)||"Component"),bc.add(ie.type)}),Jp=[]),t.size>0){var b=Ec(t);h(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
86
86
 
87
87
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
88
88
 
@@ -111,13 +111,13 @@ Please update the following components: %s`,q)}if(f.size>0){var le=Ec(f);v(`comp
111
111
  * Move data fetching code or side effects to componentDidUpdate.
112
112
  * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
113
113
 
114
- Please update the following components: %s`,le)}};var nm=new Map,kw=new Set;lo.recordLegacyContextWarning=function(e,t){var o=vB(e);if(o===null){h("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!kw.has(e.type)){var u=nm.get(o);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],nm.set(o,u)),u.push(e))}},lo.flushLegacyContextWarning=function(){nm.forEach(function(e,t){if(e.length!==0){var o=e[0],u=new Set;e.forEach(function(y){u.add(yt(y)||"Component"),kw.add(y.type)});var f=Ec(u);try{nn(o),h(`Legacy context API has been detected within a strict-mode tree.
114
+ Please update the following components: %s`,le)}};var nm=new Map,kw=new Set;lo.recordLegacyContextWarning=function(e,t){var o=yB(e);if(o===null){h("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!kw.has(e.type)){var u=nm.get(o);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],nm.set(o,u)),u.push(e))}},lo.flushLegacyContextWarning=function(){nm.forEach(function(e,t){if(e.length!==0){var o=e[0],u=new Set;e.forEach(function(y){u.add(yt(y)||"Component"),kw.add(y.type)});var f=Ec(u);try{nn(o),h(`Legacy context API has been detected within a strict-mode tree.
115
115
 
116
116
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
117
117
 
118
118
  Please update the following components: %s
119
119
 
120
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)}finally{Zn()}}})},lo.discardPendingWarnings=function(){Wp=[],Zp=[],Kp=[],Qp=[],Xp=[],Jp=[],nm=new Map}}function uo(e,t){if(e&&e.defaultProps){var o=Rt({},t),u=e.defaultProps;for(var f in u)o[f]===void 0&&(o[f]=u[f]);return o}return t}var O2=Qu(null),B2;B2={};var rm=null,S0=null,F2=null,am=!1;function im(){rm=null,S0=null,F2=null,am=!1}function Ow(){am=!0}function Bw(){am=!1}function Fw(e,t,o){fa(O2,t._currentValue,e),t._currentValue=o,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==B2&&h("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=B2}function z2(e,t){var o=O2.current;ca(O2,t),e._currentValue=o}function M2(e,t,o){for(var u=e;u!==null;){var f=u.alternate;if(Ml(u.childLanes,t)?f!==null&&!Ml(f.childLanes,t)&&(f.childLanes=_t(f.childLanes,t)):(u.childLanes=_t(u.childLanes,t),f!==null&&(f.childLanes=_t(f.childLanes,t))),u===o)break;u=u.return}u!==o&&h("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function mB(e,t,o){yB(e,t,o)}function yB(e,t,o){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var f=void 0,y=u.dependencies;if(y!==null){f=u.child;for(var b=y.firstContext;b!==null;){if(b.context===t){if(u.tag===p){var R=Qn(o),z=Ql(cn,R);z.tag=lm;var j=u.updateQueue;if(j!==null){var q=j.shared,le=q.pending;le===null?z.next=z:(z.next=le.next,le.next=z),q.pending=z}}u.lanes=_t(u.lanes,o);var ie=u.alternate;ie!==null&&(ie.lanes=_t(ie.lanes,o)),M2(u.return,o,e),y.lanes=_t(y.lanes,o);break}b=b.next}}else if(u.tag===B)f=u.type===e.type?null:u.child;else if(u.tag===P){var me=u.return;if(me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");me.lanes=_t(me.lanes,o);var ye=me.alternate;ye!==null&&(ye.lanes=_t(ye.lanes,o)),M2(me,o,e),f=u.sibling}else f=u.child;if(f!==null)f.return=u;else for(f=u;f!==null;){if(f===e){f=null;break}var _e=f.sibling;if(_e!==null){_e.return=f.return,f=_e;break}f=f.return}u=f}}function E0(e,t){rm=e,S0=null,F2=null;var o=e.dependencies;if(o!==null){var u=o.firstContext;u!==null&&(sa(o.lanes,t)&&ph(),o.firstContext=null)}}function pr(e){am&&h("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().");var t=e._currentValue;if(F2!==e){var o={context:e,memoizedValue:t,next:null};if(S0===null){if(rm===null)throw new Error("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().");S0=o,rm.dependencies={lanes:Ee,firstContext:o}}else S0=S0.next=o}return t}var wc=null;function N2(e){wc===null?wc=[e]:wc.push(e)}function gB(){if(wc!==null){for(var e=0;e<wc.length;e++){var t=wc[e],o=t.interleaved;if(o!==null){t.interleaved=null;var u=o.next,f=t.pending;if(f!==null){var y=f.next;f.next=u,o.next=y}t.pending=o}}wc=null}}function zw(e,t,o,u){var f=t.interleaved;return f===null?(o.next=o,N2(t)):(o.next=f.next,f.next=o),t.interleaved=o,om(e,u)}function xB(e,t,o,u){var f=t.interleaved;f===null?(o.next=o,N2(t)):(o.next=f.next,f.next=o),t.interleaved=o}function _B(e,t,o,u){var f=t.interleaved;return f===null?(o.next=o,N2(t)):(o.next=f.next,f.next=o),t.interleaved=o,om(e,u)}function Ja(e,t){return om(e,t)}var CB=om;function om(e,t){e.lanes=_t(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=_t(o.lanes,t)),o===null&&(e.flags&(pn|$a))!==rt&&M3(e);for(var u=e,f=e.return;f!==null;)f.childLanes=_t(f.childLanes,t),o=f.alternate,o!==null?o.childLanes=_t(o.childLanes,t):(f.flags&(pn|$a))!==rt&&M3(e),u=f,f=f.return;if(u.tag===w){var y=u.stateNode;return y}else return null}var Mw=0,Nw=1,lm=2,L2=3,um=!1,U2,sm;U2=!1,sm=null;function H2(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ee},effects:null};e.updateQueue=t}function Lw(e,t){var o=t.updateQueue,u=e.updateQueue;if(o===u){var f={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=f}}function Ql(e,t){var o={eventTime:e,lane:t,tag:Mw,payload:null,callback:null,next:null};return o}function ts(e,t,o){var u=e.updateQueue;if(u===null)return null;var f=u.shared;if(sm===f&&!U2&&(h("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),U2=!0),Cz()){var y=f.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),f.pending=t,CB(e,o)}else return _B(e,f,t,o)}function cm(e,t,o){var u=t.updateQueue;if(u!==null){var f=u.shared;if(sp(o)){var y=f.lanes;y=fp(y,e.pendingLanes);var b=_t(y,o);f.lanes=b,Mu(e,b)}}}function P2(e,t){var o=e.updateQueue,u=e.alternate;if(u!==null){var f=u.updateQueue;if(o===f){var y=null,b=null,R=o.firstBaseUpdate;if(R!==null){var z=R;do{var j={eventTime:z.eventTime,lane:z.lane,tag:z.tag,payload:z.payload,callback:z.callback,next:null};b===null?y=b=j:(b.next=j,b=j),z=z.next}while(z!==null);b===null?y=b=t:(b.next=t,b=t)}else y=b=t;o={baseState:f.baseState,firstBaseUpdate:y,lastBaseUpdate:b,shared:f.shared,effects:f.effects},e.updateQueue=o;return}}var q=o.lastBaseUpdate;q===null?o.firstBaseUpdate=t:q.next=t,o.lastBaseUpdate=t}function SB(e,t,o,u,f,y){switch(o.tag){case Nw:{var b=o.payload;if(typeof b=="function"){Ow();var R=b.call(y,u,f);{if(e.mode&An){Kn(!0);try{b.call(y,u,f)}finally{Kn(!1)}}Bw()}return R}return b}case L2:e.flags=e.flags&~ur|pt;case Mw:{var z=o.payload,j;if(typeof z=="function"){Ow(),j=z.call(y,u,f);{if(e.mode&An){Kn(!0);try{z.call(y,u,f)}finally{Kn(!1)}}Bw()}}else j=z;return j==null?u:Rt({},u,j)}case lm:return um=!0,u}return u}function fm(e,t,o,u){var f=e.updateQueue;um=!1,sm=f.shared;var y=f.firstBaseUpdate,b=f.lastBaseUpdate,R=f.shared.pending;if(R!==null){f.shared.pending=null;var z=R,j=z.next;z.next=null,b===null?y=j:b.next=j,b=z;var q=e.alternate;if(q!==null){var le=q.updateQueue,ie=le.lastBaseUpdate;ie!==b&&(ie===null?le.firstBaseUpdate=j:ie.next=j,le.lastBaseUpdate=z)}}if(y!==null){var me=f.baseState,ye=Ee,_e=null,qe=null,at=null,tt=y;do{var Mt=tt.lane,Ot=tt.eventTime;if(Ml(u,Mt)){if(at!==null){var Ce={eventTime:Ot,lane:Ft,tag:tt.tag,payload:tt.payload,callback:tt.callback,next:null};at=at.next=Ce}me=SB(e,f,tt,me,t,o);var he=tt.callback;if(he!==null&&tt.lane!==Ft){e.flags|=Ei;var Me=f.effects;Me===null?f.effects=[tt]:Me.push(tt)}}else{var pe={eventTime:Ot,lane:Mt,tag:tt.tag,payload:tt.payload,callback:tt.callback,next:null};at===null?(qe=at=pe,_e=me):at=at.next=pe,ye=_t(ye,Mt)}if(tt=tt.next,tt===null){if(R=f.shared.pending,R===null)break;var Ge=R,$e=Ge.next;Ge.next=null,tt=$e,f.lastBaseUpdate=Ge,f.shared.pending=null}}while(!0);at===null&&(_e=me),f.baseState=_e,f.firstBaseUpdate=qe,f.lastBaseUpdate=at;var dt=f.shared.interleaved;if(dt!==null){var mt=dt;do ye=_t(ye,mt.lane),mt=mt.next;while(mt!==dt)}else y===null&&(f.shared.lanes=Ee);wh(ye),e.lanes=ye,e.memoizedState=me}sm=null}function EB(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function Uw(){um=!1}function dm(){return um}function Hw(e,t,o){var u=t.effects;if(t.effects=null,u!==null)for(var f=0;f<u.length;f++){var y=u[f],b=y.callback;b!==null&&(y.callback=null,EB(b,o))}}var j2={},Pw=new n.Component().refs,I2,$2,V2,Y2,q2,jw,pm,G2,W2,Z2;{I2=new Set,$2=new Set,V2=new Set,Y2=new Set,G2=new Set,q2=new Set,W2=new Set,Z2=new Set;var Iw=new Set;pm=function(e,t){if(!(e===null||typeof e=="function")){var o=t+"_"+e;Iw.has(o)||(Iw.add(o),h("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},jw=function(e,t){if(t===void 0){var o=un(e)||"Component";q2.has(o)||(q2.add(o),h("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))}},Object.defineProperty(j2,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(j2)}function K2(e,t,o,u){var f=e.memoizedState,y=o(u,f);{if(e.mode&An){Kn(!0);try{y=o(u,f)}finally{Kn(!1)}}jw(t,y)}var b=y==null?f:Rt({},f,y);if(e.memoizedState=b,e.lanes===Ee){var R=e.updateQueue;R.baseState=b}}var Q2={isMounted:ba,enqueueSetState:function(e,t,o){var u=ja(e),f=ka(),y=ss(u),b=Ql(f,y);b.payload=t,o!=null&&(pm(o,"setState"),b.callback=o);var R=ts(u,b,y);R!==null&&(Tr(R,u,y,f),cm(R,u,y)),Yo(u,y)},enqueueReplaceState:function(e,t,o){var u=ja(e),f=ka(),y=ss(u),b=Ql(f,y);b.tag=Nw,b.payload=t,o!=null&&(pm(o,"replaceState"),b.callback=o);var R=ts(u,b,y);R!==null&&(Tr(R,u,y,f),cm(R,u,y)),Yo(u,y)},enqueueForceUpdate:function(e,t){var o=ja(e),u=ka(),f=ss(o),y=Ql(u,f);y.tag=lm,t!=null&&(pm(t,"forceUpdate"),y.callback=t);var b=ts(o,y,f);b!==null&&(Tr(b,o,f,u),cm(b,o,f)),ip(o,f)}};function $w(e,t,o,u,f,y,b){var R=e.stateNode;if(typeof R.shouldComponentUpdate=="function"){var z=R.shouldComponentUpdate(u,y,b);{if(e.mode&An){Kn(!0);try{z=R.shouldComponentUpdate(u,y,b)}finally{Kn(!1)}}z===void 0&&h("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",un(t)||"Component")}return z}return t.prototype&&t.prototype.isPureReactComponent?!nt(o,u)||!nt(f,y):!0}function bB(e,t,o){var u=e.stateNode;{var f=un(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?h("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",f):h("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",f)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&h("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",f),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&h("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",f),u.propTypes&&h("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",f),u.contextType&&h("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),u.contextTypes&&h("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",f),t.contextType&&t.contextTypes&&!W2.has(t)&&(W2.add(t),h("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",f)),typeof u.componentShouldUpdate=="function"&&h("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",f),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&h("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",un(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&h("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",f),typeof u.componentDidReceiveProps=="function"&&h("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",f),typeof u.componentWillRecieveProps=="function"&&h("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",f),typeof u.UNSAFE_componentWillRecieveProps=="function"&&h("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",f);var b=u.props!==o;u.props!==void 0&&b&&h("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",f,f),u.defaultProps&&h("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",f,f),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!V2.has(t)&&(V2.add(t),h("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",un(t))),typeof u.getDerivedStateFromProps=="function"&&h("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof u.getDerivedStateFromError=="function"&&h("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof t.getSnapshotBeforeUpdate=="function"&&h("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",f);var R=u.state;R&&(typeof R!="object"||or(R))&&h("%s.state: must be set to an object or null",f),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&h("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",f)}}function Vw(e,t){t.updater=Q2,e.stateNode=t,wu(t,e),t._reactInternalInstance=j2}function Yw(e,t,o){var u=!1,f=mi,y=mi,b=t.contextType;if("contextType"in t){var R=b===null||b!==void 0&&b.$$typeof===je&&b._context===void 0;if(!R&&!Z2.has(t)){Z2.add(t);var z="";b===void 0?z=" 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 b!="object"?z=" However, it is set to a "+typeof b+".":b.$$typeof===Oe?z=" Did you accidentally pass the Context.Provider instead?":b._context!==void 0?z=" Did you accidentally pass the Context.Consumer instead?":z=" However, it is set to an object with keys {"+Object.keys(b).join(", ")+"}.",h("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",un(t)||"Component",z)}}if(typeof b=="object"&&b!==null)y=pr(b);else{f=y0(e,t,!0);var j=t.contextTypes;u=j!=null,y=u?g0(e,f):mi}var q=new t(o,y);if(e.mode&An){Kn(!0);try{q=new t(o,y)}finally{Kn(!1)}}var le=e.memoizedState=q.state!==null&&q.state!==void 0?q.state:null;Vw(e,q);{if(typeof t.getDerivedStateFromProps=="function"&&le===null){var ie=un(t)||"Component";$2.has(ie)||($2.add(ie),h("`%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,q.state===null?"null":"undefined",ie))}if(typeof t.getDerivedStateFromProps=="function"||typeof q.getSnapshotBeforeUpdate=="function"){var me=null,ye=null,_e=null;if(typeof q.componentWillMount=="function"&&q.componentWillMount.__suppressDeprecationWarning!==!0?me="componentWillMount":typeof q.UNSAFE_componentWillMount=="function"&&(me="UNSAFE_componentWillMount"),typeof q.componentWillReceiveProps=="function"&&q.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ye="componentWillReceiveProps":typeof q.UNSAFE_componentWillReceiveProps=="function"&&(ye="UNSAFE_componentWillReceiveProps"),typeof q.componentWillUpdate=="function"&&q.componentWillUpdate.__suppressDeprecationWarning!==!0?_e="componentWillUpdate":typeof q.UNSAFE_componentWillUpdate=="function"&&(_e="UNSAFE_componentWillUpdate"),me!==null||ye!==null||_e!==null){var qe=un(t)||"Component",at=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Y2.has(qe)||(Y2.add(qe),h(`Unsafe legacy lifecycles will not be called for components using new component APIs.
120
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)}finally{Zn()}}})},lo.discardPendingWarnings=function(){Wp=[],Zp=[],Kp=[],Qp=[],Xp=[],Jp=[],nm=new Map}}function uo(e,t){if(e&&e.defaultProps){var o=Rt({},t),u=e.defaultProps;for(var f in u)o[f]===void 0&&(o[f]=u[f]);return o}return t}var O2=Qu(null),B2;B2={};var rm=null,S0=null,F2=null,am=!1;function im(){rm=null,S0=null,F2=null,am=!1}function Ow(){am=!0}function Bw(){am=!1}function Fw(e,t,o){fa(O2,t._currentValue,e),t._currentValue=o,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==B2&&h("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=B2}function z2(e,t){var o=O2.current;ca(O2,t),e._currentValue=o}function M2(e,t,o){for(var u=e;u!==null;){var f=u.alternate;if(Ml(u.childLanes,t)?f!==null&&!Ml(f.childLanes,t)&&(f.childLanes=_t(f.childLanes,t)):(u.childLanes=_t(u.childLanes,t),f!==null&&(f.childLanes=_t(f.childLanes,t))),u===o)break;u=u.return}u!==o&&h("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function gB(e,t,o){xB(e,t,o)}function xB(e,t,o){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var f=void 0,y=u.dependencies;if(y!==null){f=u.child;for(var b=y.firstContext;b!==null;){if(b.context===t){if(u.tag===p){var R=Qn(o),z=Ql(cn,R);z.tag=lm;var j=u.updateQueue;if(j!==null){var q=j.shared,le=q.pending;le===null?z.next=z:(z.next=le.next,le.next=z),q.pending=z}}u.lanes=_t(u.lanes,o);var ie=u.alternate;ie!==null&&(ie.lanes=_t(ie.lanes,o)),M2(u.return,o,e),y.lanes=_t(y.lanes,o);break}b=b.next}}else if(u.tag===B)f=u.type===e.type?null:u.child;else if(u.tag===P){var me=u.return;if(me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");me.lanes=_t(me.lanes,o);var ye=me.alternate;ye!==null&&(ye.lanes=_t(ye.lanes,o)),M2(me,o,e),f=u.sibling}else f=u.child;if(f!==null)f.return=u;else for(f=u;f!==null;){if(f===e){f=null;break}var _e=f.sibling;if(_e!==null){_e.return=f.return,f=_e;break}f=f.return}u=f}}function E0(e,t){rm=e,S0=null,F2=null;var o=e.dependencies;if(o!==null){var u=o.firstContext;u!==null&&(sa(o.lanes,t)&&ph(),o.firstContext=null)}}function pr(e){am&&h("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().");var t=e._currentValue;if(F2!==e){var o={context:e,memoizedValue:t,next:null};if(S0===null){if(rm===null)throw new Error("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().");S0=o,rm.dependencies={lanes:Ee,firstContext:o}}else S0=S0.next=o}return t}var wc=null;function N2(e){wc===null?wc=[e]:wc.push(e)}function _B(){if(wc!==null){for(var e=0;e<wc.length;e++){var t=wc[e],o=t.interleaved;if(o!==null){t.interleaved=null;var u=o.next,f=t.pending;if(f!==null){var y=f.next;f.next=u,o.next=y}t.pending=o}}wc=null}}function zw(e,t,o,u){var f=t.interleaved;return f===null?(o.next=o,N2(t)):(o.next=f.next,f.next=o),t.interleaved=o,om(e,u)}function CB(e,t,o,u){var f=t.interleaved;f===null?(o.next=o,N2(t)):(o.next=f.next,f.next=o),t.interleaved=o}function SB(e,t,o,u){var f=t.interleaved;return f===null?(o.next=o,N2(t)):(o.next=f.next,f.next=o),t.interleaved=o,om(e,u)}function Ja(e,t){return om(e,t)}var EB=om;function om(e,t){e.lanes=_t(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=_t(o.lanes,t)),o===null&&(e.flags&(pn|$a))!==rt&&M3(e);for(var u=e,f=e.return;f!==null;)f.childLanes=_t(f.childLanes,t),o=f.alternate,o!==null?o.childLanes=_t(o.childLanes,t):(f.flags&(pn|$a))!==rt&&M3(e),u=f,f=f.return;if(u.tag===w){var y=u.stateNode;return y}else return null}var Mw=0,Nw=1,lm=2,L2=3,um=!1,U2,sm;U2=!1,sm=null;function H2(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ee},effects:null};e.updateQueue=t}function Lw(e,t){var o=t.updateQueue,u=e.updateQueue;if(o===u){var f={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=f}}function Ql(e,t){var o={eventTime:e,lane:t,tag:Mw,payload:null,callback:null,next:null};return o}function ts(e,t,o){var u=e.updateQueue;if(u===null)return null;var f=u.shared;if(sm===f&&!U2&&(h("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),U2=!0),Ez()){var y=f.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),f.pending=t,EB(e,o)}else return SB(e,f,t,o)}function cm(e,t,o){var u=t.updateQueue;if(u!==null){var f=u.shared;if(sp(o)){var y=f.lanes;y=fp(y,e.pendingLanes);var b=_t(y,o);f.lanes=b,Mu(e,b)}}}function P2(e,t){var o=e.updateQueue,u=e.alternate;if(u!==null){var f=u.updateQueue;if(o===f){var y=null,b=null,R=o.firstBaseUpdate;if(R!==null){var z=R;do{var j={eventTime:z.eventTime,lane:z.lane,tag:z.tag,payload:z.payload,callback:z.callback,next:null};b===null?y=b=j:(b.next=j,b=j),z=z.next}while(z!==null);b===null?y=b=t:(b.next=t,b=t)}else y=b=t;o={baseState:f.baseState,firstBaseUpdate:y,lastBaseUpdate:b,shared:f.shared,effects:f.effects},e.updateQueue=o;return}}var q=o.lastBaseUpdate;q===null?o.firstBaseUpdate=t:q.next=t,o.lastBaseUpdate=t}function bB(e,t,o,u,f,y){switch(o.tag){case Nw:{var b=o.payload;if(typeof b=="function"){Ow();var R=b.call(y,u,f);{if(e.mode&An){Kn(!0);try{b.call(y,u,f)}finally{Kn(!1)}}Bw()}return R}return b}case L2:e.flags=e.flags&~ur|pt;case Mw:{var z=o.payload,j;if(typeof z=="function"){Ow(),j=z.call(y,u,f);{if(e.mode&An){Kn(!0);try{z.call(y,u,f)}finally{Kn(!1)}}Bw()}}else j=z;return j==null?u:Rt({},u,j)}case lm:return um=!0,u}return u}function fm(e,t,o,u){var f=e.updateQueue;um=!1,sm=f.shared;var y=f.firstBaseUpdate,b=f.lastBaseUpdate,R=f.shared.pending;if(R!==null){f.shared.pending=null;var z=R,j=z.next;z.next=null,b===null?y=j:b.next=j,b=z;var q=e.alternate;if(q!==null){var le=q.updateQueue,ie=le.lastBaseUpdate;ie!==b&&(ie===null?le.firstBaseUpdate=j:ie.next=j,le.lastBaseUpdate=z)}}if(y!==null){var me=f.baseState,ye=Ee,_e=null,qe=null,at=null,tt=y;do{var Mt=tt.lane,Ot=tt.eventTime;if(Ml(u,Mt)){if(at!==null){var Ce={eventTime:Ot,lane:Ft,tag:tt.tag,payload:tt.payload,callback:tt.callback,next:null};at=at.next=Ce}me=bB(e,f,tt,me,t,o);var he=tt.callback;if(he!==null&&tt.lane!==Ft){e.flags|=Ei;var Me=f.effects;Me===null?f.effects=[tt]:Me.push(tt)}}else{var pe={eventTime:Ot,lane:Mt,tag:tt.tag,payload:tt.payload,callback:tt.callback,next:null};at===null?(qe=at=pe,_e=me):at=at.next=pe,ye=_t(ye,Mt)}if(tt=tt.next,tt===null){if(R=f.shared.pending,R===null)break;var Ge=R,$e=Ge.next;Ge.next=null,tt=$e,f.lastBaseUpdate=Ge,f.shared.pending=null}}while(!0);at===null&&(_e=me),f.baseState=_e,f.firstBaseUpdate=qe,f.lastBaseUpdate=at;var dt=f.shared.interleaved;if(dt!==null){var mt=dt;do ye=_t(ye,mt.lane),mt=mt.next;while(mt!==dt)}else y===null&&(f.shared.lanes=Ee);wh(ye),e.lanes=ye,e.memoizedState=me}sm=null}function wB(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function Uw(){um=!1}function dm(){return um}function Hw(e,t,o){var u=t.effects;if(t.effects=null,u!==null)for(var f=0;f<u.length;f++){var y=u[f],b=y.callback;b!==null&&(y.callback=null,wB(b,o))}}var j2={},Pw=new n.Component().refs,I2,$2,V2,Y2,q2,jw,pm,G2,W2,Z2;{I2=new Set,$2=new Set,V2=new Set,Y2=new Set,G2=new Set,q2=new Set,W2=new Set,Z2=new Set;var Iw=new Set;pm=function(e,t){if(!(e===null||typeof e=="function")){var o=t+"_"+e;Iw.has(o)||(Iw.add(o),h("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},jw=function(e,t){if(t===void 0){var o=un(e)||"Component";q2.has(o)||(q2.add(o),h("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))}},Object.defineProperty(j2,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(j2)}function K2(e,t,o,u){var f=e.memoizedState,y=o(u,f);{if(e.mode&An){Kn(!0);try{y=o(u,f)}finally{Kn(!1)}}jw(t,y)}var b=y==null?f:Rt({},f,y);if(e.memoizedState=b,e.lanes===Ee){var R=e.updateQueue;R.baseState=b}}var Q2={isMounted:ba,enqueueSetState:function(e,t,o){var u=ja(e),f=ka(),y=ss(u),b=Ql(f,y);b.payload=t,o!=null&&(pm(o,"setState"),b.callback=o);var R=ts(u,b,y);R!==null&&(Tr(R,u,y,f),cm(R,u,y)),Yo(u,y)},enqueueReplaceState:function(e,t,o){var u=ja(e),f=ka(),y=ss(u),b=Ql(f,y);b.tag=Nw,b.payload=t,o!=null&&(pm(o,"replaceState"),b.callback=o);var R=ts(u,b,y);R!==null&&(Tr(R,u,y,f),cm(R,u,y)),Yo(u,y)},enqueueForceUpdate:function(e,t){var o=ja(e),u=ka(),f=ss(o),y=Ql(u,f);y.tag=lm,t!=null&&(pm(t,"forceUpdate"),y.callback=t);var b=ts(o,y,f);b!==null&&(Tr(b,o,f,u),cm(b,o,f)),ip(o,f)}};function $w(e,t,o,u,f,y,b){var R=e.stateNode;if(typeof R.shouldComponentUpdate=="function"){var z=R.shouldComponentUpdate(u,y,b);{if(e.mode&An){Kn(!0);try{z=R.shouldComponentUpdate(u,y,b)}finally{Kn(!1)}}z===void 0&&h("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",un(t)||"Component")}return z}return t.prototype&&t.prototype.isPureReactComponent?!nt(o,u)||!nt(f,y):!0}function DB(e,t,o){var u=e.stateNode;{var f=un(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?h("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",f):h("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",f)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&h("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",f),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&h("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",f),u.propTypes&&h("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",f),u.contextType&&h("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),u.contextTypes&&h("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",f),t.contextType&&t.contextTypes&&!W2.has(t)&&(W2.add(t),h("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",f)),typeof u.componentShouldUpdate=="function"&&h("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",f),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&h("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",un(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&h("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",f),typeof u.componentDidReceiveProps=="function"&&h("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",f),typeof u.componentWillRecieveProps=="function"&&h("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",f),typeof u.UNSAFE_componentWillRecieveProps=="function"&&h("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",f);var b=u.props!==o;u.props!==void 0&&b&&h("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",f,f),u.defaultProps&&h("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",f,f),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!V2.has(t)&&(V2.add(t),h("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",un(t))),typeof u.getDerivedStateFromProps=="function"&&h("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof u.getDerivedStateFromError=="function"&&h("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof t.getSnapshotBeforeUpdate=="function"&&h("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",f);var R=u.state;R&&(typeof R!="object"||or(R))&&h("%s.state: must be set to an object or null",f),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&h("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",f)}}function Vw(e,t){t.updater=Q2,e.stateNode=t,wu(t,e),t._reactInternalInstance=j2}function Yw(e,t,o){var u=!1,f=mi,y=mi,b=t.contextType;if("contextType"in t){var R=b===null||b!==void 0&&b.$$typeof===je&&b._context===void 0;if(!R&&!Z2.has(t)){Z2.add(t);var z="";b===void 0?z=" 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 b!="object"?z=" However, it is set to a "+typeof b+".":b.$$typeof===Oe?z=" Did you accidentally pass the Context.Provider instead?":b._context!==void 0?z=" Did you accidentally pass the Context.Consumer instead?":z=" However, it is set to an object with keys {"+Object.keys(b).join(", ")+"}.",h("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",un(t)||"Component",z)}}if(typeof b=="object"&&b!==null)y=pr(b);else{f=y0(e,t,!0);var j=t.contextTypes;u=j!=null,y=u?g0(e,f):mi}var q=new t(o,y);if(e.mode&An){Kn(!0);try{q=new t(o,y)}finally{Kn(!1)}}var le=e.memoizedState=q.state!==null&&q.state!==void 0?q.state:null;Vw(e,q);{if(typeof t.getDerivedStateFromProps=="function"&&le===null){var ie=un(t)||"Component";$2.has(ie)||($2.add(ie),h("`%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,q.state===null?"null":"undefined",ie))}if(typeof t.getDerivedStateFromProps=="function"||typeof q.getSnapshotBeforeUpdate=="function"){var me=null,ye=null,_e=null;if(typeof q.componentWillMount=="function"&&q.componentWillMount.__suppressDeprecationWarning!==!0?me="componentWillMount":typeof q.UNSAFE_componentWillMount=="function"&&(me="UNSAFE_componentWillMount"),typeof q.componentWillReceiveProps=="function"&&q.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ye="componentWillReceiveProps":typeof q.UNSAFE_componentWillReceiveProps=="function"&&(ye="UNSAFE_componentWillReceiveProps"),typeof q.componentWillUpdate=="function"&&q.componentWillUpdate.__suppressDeprecationWarning!==!0?_e="componentWillUpdate":typeof q.UNSAFE_componentWillUpdate=="function"&&(_e="UNSAFE_componentWillUpdate"),me!==null||ye!==null||_e!==null){var qe=un(t)||"Component",at=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Y2.has(qe)||(Y2.add(qe),h(`Unsafe legacy lifecycles will not be called for components using new component APIs.
121
121
 
122
122
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
123
123
 
@@ -125,11 +125,11 @@ The above lifecycles should be removed. Learn more about this warning here:
125
125
  https://reactjs.org/link/unsafe-component-lifecycles`,qe,at,me!==null?`
126
126
  `+me:"",ye!==null?`
127
127
  `+ye:"",_e!==null?`
128
- `+_e:""))}}}return u&&vw(e,f,y),q}function wB(e,t){var o=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),o!==t.state&&(h("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",yt(e)||"Component"),Q2.enqueueReplaceState(t,t.state,null))}function qw(e,t,o,u){var f=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,u),t.state!==f){{var y=yt(e)||"Component";I2.has(y)||(I2.add(y),h("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y))}Q2.enqueueReplaceState(t,t.state,null)}}function X2(e,t,o,u){bB(e,t,o);var f=e.stateNode;f.props=o,f.state=e.memoizedState,f.refs=Pw,H2(e);var y=t.contextType;if(typeof y=="object"&&y!==null)f.context=pr(y);else{var b=y0(e,t,!0);f.context=g0(e,b)}{if(f.state===o){var R=un(t)||"Component";G2.has(R)||(G2.add(R),h("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",R))}e.mode&An&&lo.recordLegacyContextWarning(e,f),lo.recordUnsafeLifecycleWarnings(e,f)}f.state=e.memoizedState;var z=t.getDerivedStateFromProps;if(typeof z=="function"&&(K2(e,t,z,o),f.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(wB(e,f),fm(e,o,f,u),f.state=e.memoizedState),typeof f.componentDidMount=="function"){var j=xt;j|=ra,(e.mode&qa)!==ot&&(j|=aa),e.flags|=j}}function DB(e,t,o,u){var f=e.stateNode,y=e.memoizedProps;f.props=y;var b=f.context,R=t.contextType,z=mi;if(typeof R=="object"&&R!==null)z=pr(R);else{var j=y0(e,t,!0);z=g0(e,j)}var q=t.getDerivedStateFromProps,le=typeof q=="function"||typeof f.getSnapshotBeforeUpdate=="function";!le&&(typeof f.UNSAFE_componentWillReceiveProps=="function"||typeof f.componentWillReceiveProps=="function")&&(y!==o||b!==z)&&qw(e,f,o,z),Uw();var ie=e.memoizedState,me=f.state=ie;if(fm(e,o,f,u),me=e.memoizedState,y===o&&ie===me&&!W1()&&!dm()){if(typeof f.componentDidMount=="function"){var ye=xt;ye|=ra,(e.mode&qa)!==ot&&(ye|=aa),e.flags|=ye}return!1}typeof q=="function"&&(K2(e,t,q,o),me=e.memoizedState);var _e=dm()||$w(e,t,y,o,ie,me,z);if(_e){if(!le&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"){var qe=xt;qe|=ra,(e.mode&qa)!==ot&&(qe|=aa),e.flags|=qe}}else{if(typeof f.componentDidMount=="function"){var at=xt;at|=ra,(e.mode&qa)!==ot&&(at|=aa),e.flags|=at}e.memoizedProps=o,e.memoizedState=me}return f.props=o,f.state=me,f.context=z,_e}function TB(e,t,o,u,f){var y=t.stateNode;Lw(e,t);var b=t.memoizedProps,R=t.type===t.elementType?b:uo(t.type,b);y.props=R;var z=t.pendingProps,j=y.context,q=o.contextType,le=mi;if(typeof q=="object"&&q!==null)le=pr(q);else{var ie=y0(t,o,!0);le=g0(t,ie)}var me=o.getDerivedStateFromProps,ye=typeof me=="function"||typeof y.getSnapshotBeforeUpdate=="function";!ye&&(typeof y.UNSAFE_componentWillReceiveProps=="function"||typeof y.componentWillReceiveProps=="function")&&(b!==z||j!==le)&&qw(t,y,u,le),Uw();var _e=t.memoizedState,qe=y.state=_e;if(fm(t,u,y,f),qe=t.memoizedState,b===z&&_e===qe&&!W1()&&!dm()&&!ue)return typeof y.componentDidUpdate=="function"&&(b!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=xt),typeof y.getSnapshotBeforeUpdate=="function"&&(b!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=Ia),!1;typeof me=="function"&&(K2(t,o,me,u),qe=t.memoizedState);var at=dm()||$w(t,o,R,u,_e,qe,le)||ue;return at?(!ye&&(typeof y.UNSAFE_componentWillUpdate=="function"||typeof y.componentWillUpdate=="function")&&(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(u,qe,le),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(u,qe,le)),typeof y.componentDidUpdate=="function"&&(t.flags|=xt),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=Ia)):(typeof y.componentDidUpdate=="function"&&(b!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=xt),typeof y.getSnapshotBeforeUpdate=="function"&&(b!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=Ia),t.memoizedProps=u,t.memoizedState=qe),y.props=u,y.state=qe,y.context=le,at}var J2,e_,t_,n_,r_,Gw=function(e,t){};J2=!1,e_=!1,t_={},n_={},r_={},Gw=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var o=yt(t)||"Component";n_[o]||(n_[o]=!0,h('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function eh(e,t,o){var u=o.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&An||re)&&!(o._owner&&o._self&&o._owner.stateNode!==o._self)){var f=yt(e)||"Component";t_[f]||(h('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',u),t_[f]=!0)}if(o._owner){var y=o._owner,b;if(y){var R=y;if(R.tag!==p)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");b=R.stateNode}if(!b)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var z=b;rr(u,"ref");var j=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===j)return t.ref;var q=function(le){var ie=z.refs;ie===Pw&&(ie=z.refs={}),le===null?delete ie[j]:ie[j]=le};return q._stringRef=j,q}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!o._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
128
+ `+_e:""))}}}return u&&vw(e,f,y),q}function TB(e,t){var o=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),o!==t.state&&(h("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",yt(e)||"Component"),Q2.enqueueReplaceState(t,t.state,null))}function qw(e,t,o,u){var f=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,u),t.state!==f){{var y=yt(e)||"Component";I2.has(y)||(I2.add(y),h("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y))}Q2.enqueueReplaceState(t,t.state,null)}}function X2(e,t,o,u){DB(e,t,o);var f=e.stateNode;f.props=o,f.state=e.memoizedState,f.refs=Pw,H2(e);var y=t.contextType;if(typeof y=="object"&&y!==null)f.context=pr(y);else{var b=y0(e,t,!0);f.context=g0(e,b)}{if(f.state===o){var R=un(t)||"Component";G2.has(R)||(G2.add(R),h("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",R))}e.mode&An&&lo.recordLegacyContextWarning(e,f),lo.recordUnsafeLifecycleWarnings(e,f)}f.state=e.memoizedState;var z=t.getDerivedStateFromProps;if(typeof z=="function"&&(K2(e,t,z,o),f.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(TB(e,f),fm(e,o,f,u),f.state=e.memoizedState),typeof f.componentDidMount=="function"){var j=xt;j|=ra,(e.mode&qa)!==ot&&(j|=aa),e.flags|=j}}function AB(e,t,o,u){var f=e.stateNode,y=e.memoizedProps;f.props=y;var b=f.context,R=t.contextType,z=mi;if(typeof R=="object"&&R!==null)z=pr(R);else{var j=y0(e,t,!0);z=g0(e,j)}var q=t.getDerivedStateFromProps,le=typeof q=="function"||typeof f.getSnapshotBeforeUpdate=="function";!le&&(typeof f.UNSAFE_componentWillReceiveProps=="function"||typeof f.componentWillReceiveProps=="function")&&(y!==o||b!==z)&&qw(e,f,o,z),Uw();var ie=e.memoizedState,me=f.state=ie;if(fm(e,o,f,u),me=e.memoizedState,y===o&&ie===me&&!W1()&&!dm()){if(typeof f.componentDidMount=="function"){var ye=xt;ye|=ra,(e.mode&qa)!==ot&&(ye|=aa),e.flags|=ye}return!1}typeof q=="function"&&(K2(e,t,q,o),me=e.memoizedState);var _e=dm()||$w(e,t,y,o,ie,me,z);if(_e){if(!le&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"){var qe=xt;qe|=ra,(e.mode&qa)!==ot&&(qe|=aa),e.flags|=qe}}else{if(typeof f.componentDidMount=="function"){var at=xt;at|=ra,(e.mode&qa)!==ot&&(at|=aa),e.flags|=at}e.memoizedProps=o,e.memoizedState=me}return f.props=o,f.state=me,f.context=z,_e}function RB(e,t,o,u,f){var y=t.stateNode;Lw(e,t);var b=t.memoizedProps,R=t.type===t.elementType?b:uo(t.type,b);y.props=R;var z=t.pendingProps,j=y.context,q=o.contextType,le=mi;if(typeof q=="object"&&q!==null)le=pr(q);else{var ie=y0(t,o,!0);le=g0(t,ie)}var me=o.getDerivedStateFromProps,ye=typeof me=="function"||typeof y.getSnapshotBeforeUpdate=="function";!ye&&(typeof y.UNSAFE_componentWillReceiveProps=="function"||typeof y.componentWillReceiveProps=="function")&&(b!==z||j!==le)&&qw(t,y,u,le),Uw();var _e=t.memoizedState,qe=y.state=_e;if(fm(t,u,y,f),qe=t.memoizedState,b===z&&_e===qe&&!W1()&&!dm()&&!ue)return typeof y.componentDidUpdate=="function"&&(b!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=xt),typeof y.getSnapshotBeforeUpdate=="function"&&(b!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=Ia),!1;typeof me=="function"&&(K2(t,o,me,u),qe=t.memoizedState);var at=dm()||$w(t,o,R,u,_e,qe,le)||ue;return at?(!ye&&(typeof y.UNSAFE_componentWillUpdate=="function"||typeof y.componentWillUpdate=="function")&&(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(u,qe,le),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(u,qe,le)),typeof y.componentDidUpdate=="function"&&(t.flags|=xt),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=Ia)):(typeof y.componentDidUpdate=="function"&&(b!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=xt),typeof y.getSnapshotBeforeUpdate=="function"&&(b!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=Ia),t.memoizedProps=u,t.memoizedState=qe),y.props=u,y.state=qe,y.context=le,at}var J2,e_,t_,n_,r_,Gw=function(e,t){};J2=!1,e_=!1,t_={},n_={},r_={},Gw=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var o=yt(t)||"Component";n_[o]||(n_[o]=!0,h('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function eh(e,t,o){var u=o.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&An||re)&&!(o._owner&&o._self&&o._owner.stateNode!==o._self)){var f=yt(e)||"Component";t_[f]||(h('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',u),t_[f]=!0)}if(o._owner){var y=o._owner,b;if(y){var R=y;if(R.tag!==p)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");b=R.stateNode}if(!b)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var z=b;rr(u,"ref");var j=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===j)return t.ref;var q=function(le){var ie=z.refs;ie===Pw&&(ie=z.refs={}),le===null?delete ie[j]:ie[j]=le};return q._stringRef=j,q}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!o._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
129
129
  1. You may be adding a ref to a function component
130
130
  2. You may be adding a ref to a component that was not created inside a component's render method
131
131
  3. You have multiple copies of React loaded
132
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function hm(e,t){var o=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}function vm(e){{var t=yt(e)||"Component";if(r_[t])return;r_[t]=!0,h("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 Ww(e){var t=e._payload,o=e._init;return o(t)}function Zw(e){function t(pe,Ce){if(e){var he=pe.deletions;he===null?(pe.deletions=[Ce],pe.flags|=Vt):he.push(Ce)}}function o(pe,Ce){if(!e)return null;for(var he=Ce;he!==null;)t(pe,he),he=he.sibling;return null}function u(pe,Ce){for(var he=new Map,Me=Ce;Me!==null;)Me.key!==null?he.set(Me.key,Me):he.set(Me.index,Me),Me=Me.sibling;return he}function f(pe,Ce){var he=Fc(pe,Ce);return he.index=0,he.sibling=null,he}function y(pe,Ce,he){if(pe.index=he,!e)return pe.flags|=Gd,Ce;var Me=pe.alternate;if(Me!==null){var Ge=Me.index;return Ge<Ce?(pe.flags|=pn,Ce):Ge}else return pe.flags|=pn,Ce}function b(pe){return e&&pe.alternate===null&&(pe.flags|=pn),pe}function R(pe,Ce,he,Me){if(Ce===null||Ce.tag!==T){var Ge=kC(he,pe.mode,Me);return Ge.return=pe,Ge}else{var $e=f(Ce,he);return $e.return=pe,$e}}function z(pe,Ce,he,Me){var Ge=he.type;if(Ge===_a)return q(pe,Ce,he.props.children,Me,he.key);if(Ce!==null&&(Ce.elementType===Ge||H3(Ce,he)||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===lt&&Ww(Ge)===Ce.type)){var $e=f(Ce,he.props);return $e.ref=eh(pe,Ce,he),$e.return=pe,$e._debugSource=he._source,$e._debugOwner=he._owner,$e}var dt=RC(he,pe.mode,Me);return dt.ref=eh(pe,Ce,he),dt.return=pe,dt}function j(pe,Ce,he,Me){if(Ce===null||Ce.tag!==C||Ce.stateNode.containerInfo!==he.containerInfo||Ce.stateNode.implementation!==he.implementation){var Ge=OC(he,pe.mode,Me);return Ge.return=pe,Ge}else{var $e=f(Ce,he.children||[]);return $e.return=pe,$e}}function q(pe,Ce,he,Me,Ge){if(Ce===null||Ce.tag!==k){var $e=fs(he,pe.mode,Me,Ge);return $e.return=pe,$e}else{var dt=f(Ce,he);return dt.return=pe,dt}}function le(pe,Ce,he){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var Me=kC(""+Ce,pe.mode,he);return Me.return=pe,Me}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case mr:{var Ge=RC(Ce,pe.mode,he);return Ge.ref=eh(pe,null,Ce),Ge.return=pe,Ge}case Br:{var $e=OC(Ce,pe.mode,he);return $e.return=pe,$e}case lt:{var dt=Ce._payload,mt=Ce._init;return le(pe,mt(dt),he)}}if(or(Ce)||Ii(Ce)){var an=fs(Ce,pe.mode,he,null);return an.return=pe,an}hm(pe,Ce)}return typeof Ce=="function"&&vm(pe),null}function ie(pe,Ce,he,Me){var Ge=Ce!==null?Ce.key:null;if(typeof he=="string"&&he!==""||typeof he=="number")return Ge!==null?null:R(pe,Ce,""+he,Me);if(typeof he=="object"&&he!==null){switch(he.$$typeof){case mr:return he.key===Ge?z(pe,Ce,he,Me):null;case Br:return he.key===Ge?j(pe,Ce,he,Me):null;case lt:{var $e=he._payload,dt=he._init;return ie(pe,Ce,dt($e),Me)}}if(or(he)||Ii(he))return Ge!==null?null:q(pe,Ce,he,Me,null);hm(pe,he)}return typeof he=="function"&&vm(pe),null}function me(pe,Ce,he,Me,Ge){if(typeof Me=="string"&&Me!==""||typeof Me=="number"){var $e=pe.get(he)||null;return R(Ce,$e,""+Me,Ge)}if(typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case mr:{var dt=pe.get(Me.key===null?he:Me.key)||null;return z(Ce,dt,Me,Ge)}case Br:{var mt=pe.get(Me.key===null?he:Me.key)||null;return j(Ce,mt,Me,Ge)}case lt:var an=Me._payload,It=Me._init;return me(pe,Ce,he,It(an),Ge)}if(or(Me)||Ii(Me)){var tr=pe.get(he)||null;return q(Ce,tr,Me,Ge,null)}hm(Ce,Me)}return typeof Me=="function"&&vm(Ce),null}function ye(pe,Ce,he){{if(typeof pe!="object"||pe===null)return Ce;switch(pe.$$typeof){case mr:case Br:Gw(pe,he);var Me=pe.key;if(typeof Me!="string")break;if(Ce===null){Ce=new Set,Ce.add(Me);break}if(!Ce.has(Me)){Ce.add(Me);break}h("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Me);break;case lt:var Ge=pe._payload,$e=pe._init;ye($e(Ge),Ce,he);break}}return Ce}function _e(pe,Ce,he,Me){for(var Ge=null,$e=0;$e<he.length;$e++){var dt=he[$e];Ge=ye(dt,Ge,pe)}for(var mt=null,an=null,It=Ce,tr=0,$t=0,Gn=null;It!==null&&$t<he.length;$t++){It.index>$t?(Gn=It,It=null):Gn=It.sibling;var pa=ie(pe,It,he[$t],Me);if(pa===null){It===null&&(It=Gn);break}e&&It&&pa.alternate===null&&t(pe,It),tr=y(pa,tr,$t),an===null?mt=pa:an.sibling=pa,an=pa,It=Gn}if($t===he.length){if(o(pe,It),Yr()){var Xr=$t;_c(pe,Xr)}return mt}if(It===null){for(;$t<he.length;$t++){var gi=le(pe,he[$t],Me);gi!==null&&(tr=y(gi,tr,$t),an===null?mt=gi:an.sibling=gi,an=gi)}if(Yr()){var Oa=$t;_c(pe,Oa)}return mt}for(var Ba=u(pe,It);$t<he.length;$t++){var ha=me(Ba,pe,$t,he[$t],Me);ha!==null&&(e&&ha.alternate!==null&&Ba.delete(ha.key===null?$t:ha.key),tr=y(ha,tr,$t),an===null?mt=ha:an.sibling=ha,an=ha)}if(e&&Ba.forEach(function(P0){return t(pe,P0)}),Yr()){var ru=$t;_c(pe,ru)}return mt}function qe(pe,Ce,he,Me){var Ge=Ii(he);if(typeof Ge!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&he[Symbol.toStringTag]==="Generator"&&(e_||h("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."),e_=!0),he.entries===Ge&&(J2||h("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),J2=!0);var $e=Ge.call(he);if($e)for(var dt=null,mt=$e.next();!mt.done;mt=$e.next()){var an=mt.value;dt=ye(an,dt,pe)}}var It=Ge.call(he);if(It==null)throw new Error("An iterable object provided no iterator.");for(var tr=null,$t=null,Gn=Ce,pa=0,Xr=0,gi=null,Oa=It.next();Gn!==null&&!Oa.done;Xr++,Oa=It.next()){Gn.index>Xr?(gi=Gn,Gn=null):gi=Gn.sibling;var Ba=ie(pe,Gn,Oa.value,Me);if(Ba===null){Gn===null&&(Gn=gi);break}e&&Gn&&Ba.alternate===null&&t(pe,Gn),pa=y(Ba,pa,Xr),$t===null?tr=Ba:$t.sibling=Ba,$t=Ba,Gn=gi}if(Oa.done){if(o(pe,Gn),Yr()){var ha=Xr;_c(pe,ha)}return tr}if(Gn===null){for(;!Oa.done;Xr++,Oa=It.next()){var ru=le(pe,Oa.value,Me);ru!==null&&(pa=y(ru,pa,Xr),$t===null?tr=ru:$t.sibling=ru,$t=ru)}if(Yr()){var P0=Xr;_c(pe,P0)}return tr}for(var kh=u(pe,Gn);!Oa.done;Xr++,Oa=It.next()){var sl=me(kh,pe,Xr,Oa.value,Me);sl!==null&&(e&&sl.alternate!==null&&kh.delete(sl.key===null?Xr:sl.key),pa=y(sl,pa,Xr),$t===null?tr=sl:$t.sibling=sl,$t=sl)}if(e&&kh.forEach(function(IM){return t(pe,IM)}),Yr()){var jM=Xr;_c(pe,jM)}return tr}function at(pe,Ce,he,Me){if(Ce!==null&&Ce.tag===T){o(pe,Ce.sibling);var Ge=f(Ce,he);return Ge.return=pe,Ge}o(pe,Ce);var $e=kC(he,pe.mode,Me);return $e.return=pe,$e}function tt(pe,Ce,he,Me){for(var Ge=he.key,$e=Ce;$e!==null;){if($e.key===Ge){var dt=he.type;if(dt===_a){if($e.tag===k){o(pe,$e.sibling);var mt=f($e,he.props.children);return mt.return=pe,mt._debugSource=he._source,mt._debugOwner=he._owner,mt}}else if($e.elementType===dt||H3($e,he)||typeof dt=="object"&&dt!==null&&dt.$$typeof===lt&&Ww(dt)===$e.type){o(pe,$e.sibling);var an=f($e,he.props);return an.ref=eh(pe,$e,he),an.return=pe,an._debugSource=he._source,an._debugOwner=he._owner,an}o(pe,$e);break}else t(pe,$e);$e=$e.sibling}if(he.type===_a){var It=fs(he.props.children,pe.mode,Me,he.key);return It.return=pe,It}else{var tr=RC(he,pe.mode,Me);return tr.ref=eh(pe,Ce,he),tr.return=pe,tr}}function Mt(pe,Ce,he,Me){for(var Ge=he.key,$e=Ce;$e!==null;){if($e.key===Ge)if($e.tag===C&&$e.stateNode.containerInfo===he.containerInfo&&$e.stateNode.implementation===he.implementation){o(pe,$e.sibling);var dt=f($e,he.children||[]);return dt.return=pe,dt}else{o(pe,$e);break}else t(pe,$e);$e=$e.sibling}var mt=OC(he,pe.mode,Me);return mt.return=pe,mt}function Ot(pe,Ce,he,Me){var Ge=typeof he=="object"&&he!==null&&he.type===_a&&he.key===null;if(Ge&&(he=he.props.children),typeof he=="object"&&he!==null){switch(he.$$typeof){case mr:return b(tt(pe,Ce,he,Me));case Br:return b(Mt(pe,Ce,he,Me));case lt:var $e=he._payload,dt=he._init;return Ot(pe,Ce,dt($e),Me)}if(or(he))return _e(pe,Ce,he,Me);if(Ii(he))return qe(pe,Ce,he,Me);hm(pe,he)}return typeof he=="string"&&he!==""||typeof he=="number"?b(at(pe,Ce,""+he,Me)):(typeof he=="function"&&vm(pe),o(pe,Ce))}return Ot}var b0=Zw(!0),Kw=Zw(!1);function AB(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var o=t.child,u=Fc(o,o.pendingProps);for(t.child=u,u.return=t;o.sibling!==null;)o=o.sibling,u=u.sibling=Fc(o,o.pendingProps),u.return=t;u.sibling=null}}function RB(e,t){for(var o=e.child;o!==null;)aM(o,t),o=o.sibling}var th={},ns=Qu(th),nh=Qu(th),mm=Qu(th);function ym(e){if(e===th)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Qw(){var e=ym(mm.current);return e}function a_(e,t){fa(mm,t,e),fa(nh,e,e),fa(ns,th,e);var o=$O(t);ca(ns,e),fa(ns,o,e)}function w0(e){ca(ns,e),ca(nh,e),ca(mm,e)}function i_(){var e=ym(ns.current);return e}function Xw(e){ym(mm.current);var t=ym(ns.current),o=VO(t,e.type);t!==o&&(fa(nh,e,e),fa(ns,o,e))}function o_(e){nh.current===e&&(ca(ns,e),ca(nh,e))}var kB=0,Jw=1,e8=1,rh=2,so=Qu(kB);function l_(e,t){return(e&t)!==0}function D0(e){return e&Jw}function u_(e,t){return e&Jw|t}function OB(e,t){return e|t}function rs(e,t){fa(so,t,e)}function T0(e){ca(so,e)}function BB(e,t){var o=e.memoizedState;return o!==null?o.dehydrated!==null:(e.memoizedProps,!0)}function gm(e){for(var t=e;t!==null;){if(t.tag===N){var o=t.memoizedState;if(o!==null){var u=o.dehydrated;if(u===null||cw(u)||h2(u))return t}}else if(t.tag===I&&t.memoizedProps.revealOrder!==void 0){var f=(t.flags&pt)!==rt;if(f)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ei=0,_r=1,nl=2,Cr=4,qr=8,s_=[];function c_(){for(var e=0;e<s_.length;e++){var t=s_[e];t._workInProgressVersionPrimary=null}s_.length=0}function FB(e,t){var o=t._getVersion,u=o(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var Ye=a.ReactCurrentDispatcher,ah=a.ReactCurrentBatchConfig,f_,A0;f_=new Set;var Dc=Ee,rn=null,Sr=null,Er=null,xm=!1,ih=!1,oh=0,zB=0,MB=25,we=null,Bi=null,as=-1,d_=!1;function qt(){{var e=we;Bi===null?Bi=[e]:Bi.push(e)}}function Pe(){{var e=we;Bi!==null&&(as++,Bi[as]!==e&&NB(e))}}function R0(e){e!=null&&!or(e)&&h("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",we,typeof e)}function NB(e){{var t=yt(rn);if(!f_.has(t)&&(f_.add(t),Bi!==null)){for(var o="",u=30,f=0;f<=as;f++){for(var y=Bi[f],b=f===as?e:y,R=f+1+". "+y;R.length<u;)R+=" ";R+=b+`
132
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function hm(e,t){var o=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}function vm(e){{var t=yt(e)||"Component";if(r_[t])return;r_[t]=!0,h("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 Ww(e){var t=e._payload,o=e._init;return o(t)}function Zw(e){function t(pe,Ce){if(e){var he=pe.deletions;he===null?(pe.deletions=[Ce],pe.flags|=Vt):he.push(Ce)}}function o(pe,Ce){if(!e)return null;for(var he=Ce;he!==null;)t(pe,he),he=he.sibling;return null}function u(pe,Ce){for(var he=new Map,Me=Ce;Me!==null;)Me.key!==null?he.set(Me.key,Me):he.set(Me.index,Me),Me=Me.sibling;return he}function f(pe,Ce){var he=Fc(pe,Ce);return he.index=0,he.sibling=null,he}function y(pe,Ce,he){if(pe.index=he,!e)return pe.flags|=Gd,Ce;var Me=pe.alternate;if(Me!==null){var Ge=Me.index;return Ge<Ce?(pe.flags|=pn,Ce):Ge}else return pe.flags|=pn,Ce}function b(pe){return e&&pe.alternate===null&&(pe.flags|=pn),pe}function R(pe,Ce,he,Me){if(Ce===null||Ce.tag!==T){var Ge=kC(he,pe.mode,Me);return Ge.return=pe,Ge}else{var $e=f(Ce,he);return $e.return=pe,$e}}function z(pe,Ce,he,Me){var Ge=he.type;if(Ge===_a)return q(pe,Ce,he.props.children,Me,he.key);if(Ce!==null&&(Ce.elementType===Ge||H3(Ce,he)||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===lt&&Ww(Ge)===Ce.type)){var $e=f(Ce,he.props);return $e.ref=eh(pe,Ce,he),$e.return=pe,$e._debugSource=he._source,$e._debugOwner=he._owner,$e}var dt=RC(he,pe.mode,Me);return dt.ref=eh(pe,Ce,he),dt.return=pe,dt}function j(pe,Ce,he,Me){if(Ce===null||Ce.tag!==C||Ce.stateNode.containerInfo!==he.containerInfo||Ce.stateNode.implementation!==he.implementation){var Ge=OC(he,pe.mode,Me);return Ge.return=pe,Ge}else{var $e=f(Ce,he.children||[]);return $e.return=pe,$e}}function q(pe,Ce,he,Me,Ge){if(Ce===null||Ce.tag!==k){var $e=fs(he,pe.mode,Me,Ge);return $e.return=pe,$e}else{var dt=f(Ce,he);return dt.return=pe,dt}}function le(pe,Ce,he){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var Me=kC(""+Ce,pe.mode,he);return Me.return=pe,Me}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case mr:{var Ge=RC(Ce,pe.mode,he);return Ge.ref=eh(pe,null,Ce),Ge.return=pe,Ge}case Br:{var $e=OC(Ce,pe.mode,he);return $e.return=pe,$e}case lt:{var dt=Ce._payload,mt=Ce._init;return le(pe,mt(dt),he)}}if(or(Ce)||Ii(Ce)){var an=fs(Ce,pe.mode,he,null);return an.return=pe,an}hm(pe,Ce)}return typeof Ce=="function"&&vm(pe),null}function ie(pe,Ce,he,Me){var Ge=Ce!==null?Ce.key:null;if(typeof he=="string"&&he!==""||typeof he=="number")return Ge!==null?null:R(pe,Ce,""+he,Me);if(typeof he=="object"&&he!==null){switch(he.$$typeof){case mr:return he.key===Ge?z(pe,Ce,he,Me):null;case Br:return he.key===Ge?j(pe,Ce,he,Me):null;case lt:{var $e=he._payload,dt=he._init;return ie(pe,Ce,dt($e),Me)}}if(or(he)||Ii(he))return Ge!==null?null:q(pe,Ce,he,Me,null);hm(pe,he)}return typeof he=="function"&&vm(pe),null}function me(pe,Ce,he,Me,Ge){if(typeof Me=="string"&&Me!==""||typeof Me=="number"){var $e=pe.get(he)||null;return R(Ce,$e,""+Me,Ge)}if(typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case mr:{var dt=pe.get(Me.key===null?he:Me.key)||null;return z(Ce,dt,Me,Ge)}case Br:{var mt=pe.get(Me.key===null?he:Me.key)||null;return j(Ce,mt,Me,Ge)}case lt:var an=Me._payload,It=Me._init;return me(pe,Ce,he,It(an),Ge)}if(or(Me)||Ii(Me)){var tr=pe.get(he)||null;return q(Ce,tr,Me,Ge,null)}hm(Ce,Me)}return typeof Me=="function"&&vm(Ce),null}function ye(pe,Ce,he){{if(typeof pe!="object"||pe===null)return Ce;switch(pe.$$typeof){case mr:case Br:Gw(pe,he);var Me=pe.key;if(typeof Me!="string")break;if(Ce===null){Ce=new Set,Ce.add(Me);break}if(!Ce.has(Me)){Ce.add(Me);break}h("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Me);break;case lt:var Ge=pe._payload,$e=pe._init;ye($e(Ge),Ce,he);break}}return Ce}function _e(pe,Ce,he,Me){for(var Ge=null,$e=0;$e<he.length;$e++){var dt=he[$e];Ge=ye(dt,Ge,pe)}for(var mt=null,an=null,It=Ce,tr=0,$t=0,Gn=null;It!==null&&$t<he.length;$t++){It.index>$t?(Gn=It,It=null):Gn=It.sibling;var pa=ie(pe,It,he[$t],Me);if(pa===null){It===null&&(It=Gn);break}e&&It&&pa.alternate===null&&t(pe,It),tr=y(pa,tr,$t),an===null?mt=pa:an.sibling=pa,an=pa,It=Gn}if($t===he.length){if(o(pe,It),Yr()){var Xr=$t;_c(pe,Xr)}return mt}if(It===null){for(;$t<he.length;$t++){var gi=le(pe,he[$t],Me);gi!==null&&(tr=y(gi,tr,$t),an===null?mt=gi:an.sibling=gi,an=gi)}if(Yr()){var Oa=$t;_c(pe,Oa)}return mt}for(var Ba=u(pe,It);$t<he.length;$t++){var ha=me(Ba,pe,$t,he[$t],Me);ha!==null&&(e&&ha.alternate!==null&&Ba.delete(ha.key===null?$t:ha.key),tr=y(ha,tr,$t),an===null?mt=ha:an.sibling=ha,an=ha)}if(e&&Ba.forEach(function(P0){return t(pe,P0)}),Yr()){var ru=$t;_c(pe,ru)}return mt}function qe(pe,Ce,he,Me){var Ge=Ii(he);if(typeof Ge!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&he[Symbol.toStringTag]==="Generator"&&(e_||h("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."),e_=!0),he.entries===Ge&&(J2||h("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),J2=!0);var $e=Ge.call(he);if($e)for(var dt=null,mt=$e.next();!mt.done;mt=$e.next()){var an=mt.value;dt=ye(an,dt,pe)}}var It=Ge.call(he);if(It==null)throw new Error("An iterable object provided no iterator.");for(var tr=null,$t=null,Gn=Ce,pa=0,Xr=0,gi=null,Oa=It.next();Gn!==null&&!Oa.done;Xr++,Oa=It.next()){Gn.index>Xr?(gi=Gn,Gn=null):gi=Gn.sibling;var Ba=ie(pe,Gn,Oa.value,Me);if(Ba===null){Gn===null&&(Gn=gi);break}e&&Gn&&Ba.alternate===null&&t(pe,Gn),pa=y(Ba,pa,Xr),$t===null?tr=Ba:$t.sibling=Ba,$t=Ba,Gn=gi}if(Oa.done){if(o(pe,Gn),Yr()){var ha=Xr;_c(pe,ha)}return tr}if(Gn===null){for(;!Oa.done;Xr++,Oa=It.next()){var ru=le(pe,Oa.value,Me);ru!==null&&(pa=y(ru,pa,Xr),$t===null?tr=ru:$t.sibling=ru,$t=ru)}if(Yr()){var P0=Xr;_c(pe,P0)}return tr}for(var kh=u(pe,Gn);!Oa.done;Xr++,Oa=It.next()){var sl=me(kh,pe,Xr,Oa.value,Me);sl!==null&&(e&&sl.alternate!==null&&kh.delete(sl.key===null?Xr:sl.key),pa=y(sl,pa,Xr),$t===null?tr=sl:$t.sibling=sl,$t=sl)}if(e&&kh.forEach(function(VM){return t(pe,VM)}),Yr()){var $M=Xr;_c(pe,$M)}return tr}function at(pe,Ce,he,Me){if(Ce!==null&&Ce.tag===T){o(pe,Ce.sibling);var Ge=f(Ce,he);return Ge.return=pe,Ge}o(pe,Ce);var $e=kC(he,pe.mode,Me);return $e.return=pe,$e}function tt(pe,Ce,he,Me){for(var Ge=he.key,$e=Ce;$e!==null;){if($e.key===Ge){var dt=he.type;if(dt===_a){if($e.tag===k){o(pe,$e.sibling);var mt=f($e,he.props.children);return mt.return=pe,mt._debugSource=he._source,mt._debugOwner=he._owner,mt}}else if($e.elementType===dt||H3($e,he)||typeof dt=="object"&&dt!==null&&dt.$$typeof===lt&&Ww(dt)===$e.type){o(pe,$e.sibling);var an=f($e,he.props);return an.ref=eh(pe,$e,he),an.return=pe,an._debugSource=he._source,an._debugOwner=he._owner,an}o(pe,$e);break}else t(pe,$e);$e=$e.sibling}if(he.type===_a){var It=fs(he.props.children,pe.mode,Me,he.key);return It.return=pe,It}else{var tr=RC(he,pe.mode,Me);return tr.ref=eh(pe,Ce,he),tr.return=pe,tr}}function Mt(pe,Ce,he,Me){for(var Ge=he.key,$e=Ce;$e!==null;){if($e.key===Ge)if($e.tag===C&&$e.stateNode.containerInfo===he.containerInfo&&$e.stateNode.implementation===he.implementation){o(pe,$e.sibling);var dt=f($e,he.children||[]);return dt.return=pe,dt}else{o(pe,$e);break}else t(pe,$e);$e=$e.sibling}var mt=OC(he,pe.mode,Me);return mt.return=pe,mt}function Ot(pe,Ce,he,Me){var Ge=typeof he=="object"&&he!==null&&he.type===_a&&he.key===null;if(Ge&&(he=he.props.children),typeof he=="object"&&he!==null){switch(he.$$typeof){case mr:return b(tt(pe,Ce,he,Me));case Br:return b(Mt(pe,Ce,he,Me));case lt:var $e=he._payload,dt=he._init;return Ot(pe,Ce,dt($e),Me)}if(or(he))return _e(pe,Ce,he,Me);if(Ii(he))return qe(pe,Ce,he,Me);hm(pe,he)}return typeof he=="string"&&he!==""||typeof he=="number"?b(at(pe,Ce,""+he,Me)):(typeof he=="function"&&vm(pe),o(pe,Ce))}return Ot}var b0=Zw(!0),Kw=Zw(!1);function kB(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var o=t.child,u=Fc(o,o.pendingProps);for(t.child=u,u.return=t;o.sibling!==null;)o=o.sibling,u=u.sibling=Fc(o,o.pendingProps),u.return=t;u.sibling=null}}function OB(e,t){for(var o=e.child;o!==null;)oM(o,t),o=o.sibling}var th={},ns=Qu(th),nh=Qu(th),mm=Qu(th);function ym(e){if(e===th)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Qw(){var e=ym(mm.current);return e}function a_(e,t){fa(mm,t,e),fa(nh,e,e),fa(ns,th,e);var o=YO(t);ca(ns,e),fa(ns,o,e)}function w0(e){ca(ns,e),ca(nh,e),ca(mm,e)}function i_(){var e=ym(ns.current);return e}function Xw(e){ym(mm.current);var t=ym(ns.current),o=qO(t,e.type);t!==o&&(fa(nh,e,e),fa(ns,o,e))}function o_(e){nh.current===e&&(ca(ns,e),ca(nh,e))}var BB=0,Jw=1,e8=1,rh=2,so=Qu(BB);function l_(e,t){return(e&t)!==0}function D0(e){return e&Jw}function u_(e,t){return e&Jw|t}function FB(e,t){return e|t}function rs(e,t){fa(so,t,e)}function T0(e){ca(so,e)}function zB(e,t){var o=e.memoizedState;return o!==null?o.dehydrated!==null:(e.memoizedProps,!0)}function gm(e){for(var t=e;t!==null;){if(t.tag===N){var o=t.memoizedState;if(o!==null){var u=o.dehydrated;if(u===null||cw(u)||h2(u))return t}}else if(t.tag===I&&t.memoizedProps.revealOrder!==void 0){var f=(t.flags&pt)!==rt;if(f)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ei=0,_r=1,nl=2,Cr=4,qr=8,s_=[];function c_(){for(var e=0;e<s_.length;e++){var t=s_[e];t._workInProgressVersionPrimary=null}s_.length=0}function MB(e,t){var o=t._getVersion,u=o(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var Ye=a.ReactCurrentDispatcher,ah=a.ReactCurrentBatchConfig,f_,A0;f_=new Set;var Dc=Ee,rn=null,Sr=null,Er=null,xm=!1,ih=!1,oh=0,NB=0,LB=25,we=null,Bi=null,as=-1,d_=!1;function qt(){{var e=we;Bi===null?Bi=[e]:Bi.push(e)}}function Pe(){{var e=we;Bi!==null&&(as++,Bi[as]!==e&&UB(e))}}function R0(e){e!=null&&!or(e)&&h("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",we,typeof e)}function UB(e){{var t=yt(rn);if(!f_.has(t)&&(f_.add(t),Bi!==null)){for(var o="",u=30,f=0;f<=as;f++){for(var y=Bi[f],b=f===as?e:y,R=f+1+". "+y;R.length<u;)R+=" ";R+=b+`
133
133
  `,o+=R}h(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
134
134
 
135
135
  Previous render Next render
@@ -142,13 +142,13 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
142
142
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function p_(e,t){if(d_)return!1;if(t===null)return h("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",we),!1;e.length!==t.length&&h(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
143
143
 
144
144
  Previous: %s
145
- Incoming: %s`,we,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var o=0;o<t.length&&o<e.length;o++)if(!Ke(e[o],t[o]))return!1;return!0}function k0(e,t,o,u,f,y){Dc=y,rn=t,Bi=e!==null?e._debugHookTypes:null,as=-1,d_=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ee,e!==null&&e.memoizedState!==null?Ye.current=S8:Bi!==null?Ye.current=C8:Ye.current=_8;var b=o(u,f);if(ih){var R=0;do{if(ih=!1,oh=0,R>=MB)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");R+=1,d_=!1,Sr=null,Er=null,t.updateQueue=null,as=-1,Ye.current=E8,b=o(u,f)}while(ih)}Ye.current=Bm,t._debugHookTypes=Bi;var z=Sr!==null&&Sr.next!==null;if(Dc=Ee,rn=null,Sr=null,Er=null,we=null,Bi=null,as=-1,e!==null&&(e.flags&yr)!==(t.flags&yr)&&(e.mode&At)!==ot&&h("Internal React error: Expected static flag was missing. Please notify the React team."),xm=!1,z)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return b}function O0(){var e=oh!==0;return oh=0,e}function t8(e,t,o){t.updateQueue=e.updateQueue,(t.mode&qa)!==ot?t.flags&=~(wl|aa|Sn|xt):t.flags&=~(Sn|xt),e.lanes=zu(e.lanes,o)}function n8(){if(Ye.current=Bm,xm){for(var e=rn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}xm=!1}Dc=Ee,rn=null,Sr=null,Er=null,Bi=null,as=-1,we=null,v8=!1,ih=!1,oh=0}function rl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Er===null?rn.memoizedState=Er=e:Er=Er.next=e,Er}function Fi(){var e;if(Sr===null){var t=rn.alternate;t!==null?e=t.memoizedState:e=null}else e=Sr.next;var o;if(Er===null?o=rn.memoizedState:o=Er.next,o!==null)Er=o,o=Er.next,Sr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Sr=e;var u={memoizedState:Sr.memoizedState,baseState:Sr.baseState,baseQueue:Sr.baseQueue,queue:Sr.queue,next:null};Er===null?rn.memoizedState=Er=u:Er=Er.next=u}return Er}function r8(){return{lastEffect:null,stores:null}}function h_(e,t){return typeof t=="function"?t(e):t}function v_(e,t,o){var u=rl(),f;o!==void 0?f=o(t):f=t,u.memoizedState=u.baseState=f;var y={pending:null,interleaved:null,lanes:Ee,dispatch:null,lastRenderedReducer:e,lastRenderedState:f};u.queue=y;var b=y.dispatch=PB.bind(null,rn,y);return[u.memoizedState,b]}function m_(e,t,o){var u=Fi(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var y=Sr,b=y.baseQueue,R=f.pending;if(R!==null){if(b!==null){var z=b.next,j=R.next;b.next=j,R.next=z}y.baseQueue!==b&&h("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=b=R,f.pending=null}if(b!==null){var q=b.next,le=y.baseState,ie=null,me=null,ye=null,_e=q;do{var qe=_e.lane;if(Ml(Dc,qe)){if(ye!==null){var tt={lane:Ft,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ye=ye.next=tt}if(_e.hasEagerState)le=_e.eagerState;else{var Mt=_e.action;le=e(le,Mt)}}else{var at={lane:qe,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ye===null?(me=ye=at,ie=le):ye=ye.next=at,rn.lanes=_t(rn.lanes,qe),wh(qe)}_e=_e.next}while(_e!==null&&_e!==q);ye===null?ie=le:ye.next=me,Ke(le,u.memoizedState)||ph(),u.memoizedState=le,u.baseState=ie,u.baseQueue=ye,f.lastRenderedState=le}var Ot=f.interleaved;if(Ot!==null){var pe=Ot;do{var Ce=pe.lane;rn.lanes=_t(rn.lanes,Ce),wh(Ce),pe=pe.next}while(pe!==Ot)}else b===null&&(f.lanes=Ee);var he=f.dispatch;return[u.memoizedState,he]}function y_(e,t,o){var u=Fi(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var y=f.dispatch,b=f.pending,R=u.memoizedState;if(b!==null){f.pending=null;var z=b.next,j=z;do{var q=j.action;R=e(R,q),j=j.next}while(j!==z);Ke(R,u.memoizedState)||ph(),u.memoizedState=R,u.baseQueue===null&&(u.baseState=R),f.lastRenderedState=R}return[R,y]}function UN(e,t,o){}function HN(e,t,o){}function g_(e,t,o){var u=rn,f=rl(),y,b=Yr();if(b){if(o===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=o(),A0||y!==o()&&(h("The result of getServerSnapshot should be cached to avoid an infinite loop"),A0=!0)}else{if(y=t(),!A0){var R=t();Ke(y,R)||(h("The result of getSnapshot should be cached to avoid an infinite loop"),A0=!0)}var z=Km();if(z===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rc(z,Dc)||a8(u,t,y)}f.memoizedState=y;var j={value:y,getSnapshot:t};return f.queue=j,bm(o8.bind(null,u,j,e),[e]),u.flags|=Sn,lh(_r|qr,i8.bind(null,u,j,y,t),void 0,null),y}function _m(e,t,o){var u=rn,f=Fi(),y=t();if(!A0){var b=t();Ke(y,b)||(h("The result of getSnapshot should be cached to avoid an infinite loop"),A0=!0)}var R=f.memoizedState,z=!Ke(R,y);z&&(f.memoizedState=y,ph());var j=f.queue;if(sh(o8.bind(null,u,j,e),[e]),j.getSnapshot!==t||z||Er!==null&&Er.memoizedState.tag&_r){u.flags|=Sn,lh(_r|qr,i8.bind(null,u,j,y,t),void 0,null);var q=Km();if(q===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rc(q,Dc)||a8(u,t,y)}return y}function a8(e,t,o){e.flags|=Ws;var u={getSnapshot:t,value:o},f=rn.updateQueue;if(f===null)f=r8(),rn.updateQueue=f,f.stores=[u];else{var y=f.stores;y===null?f.stores=[u]:y.push(u)}}function i8(e,t,o,u){t.value=o,t.getSnapshot=u,l8(t)&&u8(e)}function o8(e,t,o){var u=function(){l8(t)&&u8(e)};return o(u)}function l8(e){var t=e.getSnapshot,o=e.value;try{var u=t();return!Ke(o,u)}catch{return!0}}function u8(e){var t=Ja(e,st);t!==null&&Tr(t,e,st,cn)}function Cm(e){var t=rl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var o={pending:null,interleaved:null,lanes:Ee,dispatch:null,lastRenderedReducer:h_,lastRenderedState:e};t.queue=o;var u=o.dispatch=jB.bind(null,rn,o);return[t.memoizedState,u]}function x_(e){return m_(h_)}function __(e){return y_(h_)}function lh(e,t,o,u){var f={tag:e,create:t,destroy:o,deps:u,next:null},y=rn.updateQueue;if(y===null)y=r8(),rn.updateQueue=y,y.lastEffect=f.next=f;else{var b=y.lastEffect;if(b===null)y.lastEffect=f.next=f;else{var R=b.next;b.next=f,f.next=R,y.lastEffect=f}}return f}function C_(e){var t=rl();{var o={current:e};return t.memoizedState=o,o}}function Sm(e){var t=Fi();return t.memoizedState}function uh(e,t,o,u){var f=rl(),y=u===void 0?null:u;rn.flags|=e,f.memoizedState=lh(_r|t,o,void 0,y)}function Em(e,t,o,u){var f=Fi(),y=u===void 0?null:u,b=void 0;if(Sr!==null){var R=Sr.memoizedState;if(b=R.destroy,y!==null){var z=R.deps;if(p_(y,z)){f.memoizedState=lh(t,o,b,y);return}}}rn.flags|=e,f.memoizedState=lh(_r|t,o,b,y)}function bm(e,t){return(rn.mode&qa)!==ot?uh(wl|Sn|Ho,qr,e,t):uh(Sn|Ho,qr,e,t)}function sh(e,t){return Em(Sn,qr,e,t)}function S_(e,t){return uh(xt,nl,e,t)}function wm(e,t){return Em(xt,nl,e,t)}function E_(e,t){var o=xt;return o|=ra,(rn.mode&qa)!==ot&&(o|=aa),uh(o,Cr,e,t)}function Dm(e,t){return Em(xt,Cr,e,t)}function s8(e,t){if(typeof t=="function"){var o=t,u=e();return o(u),function(){o(null)}}else if(t!=null){var f=t;f.hasOwnProperty("current")||h("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(f).join(", ")+"}");var y=e();return f.current=y,function(){f.current=null}}}function b_(e,t,o){typeof t!="function"&&h("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=o!=null?o.concat([e]):null,f=xt;return f|=ra,(rn.mode&qa)!==ot&&(f|=aa),uh(f,Cr,s8.bind(null,t,e),u)}function Tm(e,t,o){typeof t!="function"&&h("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=o!=null?o.concat([e]):null;return Em(xt,Cr,s8.bind(null,t,e),u)}function LB(e,t){}var Am=LB;function w_(e,t){var o=rl(),u=t===void 0?null:t;return o.memoizedState=[e,u],e}function Rm(e,t){var o=Fi(),u=t===void 0?null:t,f=o.memoizedState;if(f!==null&&u!==null){var y=f[1];if(p_(u,y))return f[0]}return o.memoizedState=[e,u],e}function D_(e,t){var o=rl(),u=t===void 0?null:t,f=e();return o.memoizedState=[f,u],f}function km(e,t){var o=Fi(),u=t===void 0?null:t,f=o.memoizedState;if(f!==null&&u!==null){var y=f[1];if(p_(u,y))return f[0]}var b=e();return o.memoizedState=[b,u],b}function T_(e){var t=rl();return t.memoizedState=e,e}function c8(e){var t=Fi(),o=Sr,u=o.memoizedState;return d8(t,u,e)}function f8(e){var t=Fi();if(Sr===null)return t.memoizedState=e,e;var o=Sr.memoizedState;return d8(t,o,e)}function d8(e,t,o){var u=!Fx(Dc);if(u){if(!Ke(o,t)){var f=cp();rn.lanes=_t(rn.lanes,f),wh(f),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,ph()),e.memoizedState=o,o}function UB(e,t,o){var u=Wa();Xn(Nr(u,xr)),e(!0);var f=ah.transition;ah.transition={};var y=ah.transition;ah.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Xn(u),ah.transition=f,f===null&&y._updatedFibers){var b=y._updatedFibers.size;b>10&&v("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),y._updatedFibers.clear()}}}function A_(){var e=Cm(!1),t=e[0],o=e[1],u=UB.bind(null,o),f=rl();return f.memoizedState=u,[t,u]}function p8(){var e=x_(),t=e[0],o=Fi(),u=o.memoizedState;return[t,u]}function h8(){var e=__(),t=e[0],o=Fi(),u=o.memoizedState;return[t,u]}var v8=!1;function HB(){return v8}function R_(){var e=rl(),t=Km(),o=t.identifierPrefix,u;if(Yr()){var f=J9();u=":"+o+"R"+f;var y=oh++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var b=zB++;u=":"+o+"r"+b.toString(32)+":"}return e.memoizedState=u,u}function Om(){var e=Fi(),t=e.memoizedState;return t}function PB(e,t,o){typeof arguments[3]=="function"&&h("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=ss(e),f={lane:u,action:o,hasEagerState:!1,eagerState:null,next:null};if(m8(e))y8(t,f);else{var y=zw(e,t,f,u);if(y!==null){var b=ka();Tr(y,e,u,b),g8(y,t,u)}}x8(e,u)}function jB(e,t,o){typeof arguments[3]=="function"&&h("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=ss(e),f={lane:u,action:o,hasEagerState:!1,eagerState:null,next:null};if(m8(e))y8(t,f);else{var y=e.alternate;if(e.lanes===Ee&&(y===null||y.lanes===Ee)){var b=t.lastRenderedReducer;if(b!==null){var R;R=Ye.current,Ye.current=co;try{var z=t.lastRenderedState,j=b(z,o);if(f.hasEagerState=!0,f.eagerState=j,Ke(j,z)){xB(e,t,f,u);return}}catch{}finally{Ye.current=R}}}var q=zw(e,t,f,u);if(q!==null){var le=ka();Tr(q,e,u,le),g8(q,t,u)}}x8(e,u)}function m8(e){var t=e.alternate;return e===rn||t!==null&&t===rn}function y8(e,t){ih=xm=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function g8(e,t,o){if(sp(o)){var u=t.lanes;u=fp(u,e.pendingLanes);var f=_t(u,o);t.lanes=f,Mu(e,f)}}function x8(e,t,o){Yo(e,t)}var Bm={readContext:pr,useCallback:da,useContext:da,useEffect:da,useImperativeHandle:da,useInsertionEffect:da,useLayoutEffect:da,useMemo:da,useReducer:da,useRef:da,useState:da,useDebugValue:da,useDeferredValue:da,useTransition:da,useMutableSource:da,useSyncExternalStore:da,useId:da,unstable_isNewReconciler:V},_8=null,C8=null,S8=null,E8=null,al=null,co=null,Fm=null;{var k_=function(){h("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().")},vt=function(){h("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};_8={readContext:function(e){return pr(e)},useCallback:function(e,t){return we="useCallback",qt(),R0(t),w_(e,t)},useContext:function(e){return we="useContext",qt(),pr(e)},useEffect:function(e,t){return we="useEffect",qt(),R0(t),bm(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",qt(),R0(o),b_(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",qt(),R0(t),S_(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",qt(),R0(t),E_(e,t)},useMemo:function(e,t){we="useMemo",qt(),R0(t);var o=Ye.current;Ye.current=al;try{return D_(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",qt();var u=Ye.current;Ye.current=al;try{return v_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",qt(),C_(e)},useState:function(e){we="useState",qt();var t=Ye.current;Ye.current=al;try{return Cm(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",qt(),void 0},useDeferredValue:function(e){return we="useDeferredValue",qt(),T_(e)},useTransition:function(){return we="useTransition",qt(),A_()},useMutableSource:function(e,t,o){return we="useMutableSource",qt(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",qt(),g_(e,t,o)},useId:function(){return we="useId",qt(),R_()},unstable_isNewReconciler:V},C8={readContext:function(e){return pr(e)},useCallback:function(e,t){return we="useCallback",Pe(),w_(e,t)},useContext:function(e){return we="useContext",Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",Pe(),bm(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",Pe(),b_(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Pe(),S_(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Pe(),E_(e,t)},useMemo:function(e,t){we="useMemo",Pe();var o=Ye.current;Ye.current=al;try{return D_(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",Pe();var u=Ye.current;Ye.current=al;try{return v_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",Pe(),C_(e)},useState:function(e){we="useState",Pe();var t=Ye.current;Ye.current=al;try{return Cm(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Pe(),void 0},useDeferredValue:function(e){return we="useDeferredValue",Pe(),T_(e)},useTransition:function(){return we="useTransition",Pe(),A_()},useMutableSource:function(e,t,o){return we="useMutableSource",Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",Pe(),g_(e,t,o)},useId:function(){return we="useId",Pe(),R_()},unstable_isNewReconciler:V},S8={readContext:function(e){return pr(e)},useCallback:function(e,t){return we="useCallback",Pe(),Rm(e,t)},useContext:function(e){return we="useContext",Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",Pe(),sh(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",Pe(),Tm(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Pe(),wm(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Pe(),Dm(e,t)},useMemo:function(e,t){we="useMemo",Pe();var o=Ye.current;Ye.current=co;try{return km(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",Pe();var u=Ye.current;Ye.current=co;try{return m_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",Pe(),Sm()},useState:function(e){we="useState",Pe();var t=Ye.current;Ye.current=co;try{return x_(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Pe(),Am()},useDeferredValue:function(e){return we="useDeferredValue",Pe(),c8(e)},useTransition:function(){return we="useTransition",Pe(),p8()},useMutableSource:function(e,t,o){return we="useMutableSource",Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",Pe(),_m(e,t)},useId:function(){return we="useId",Pe(),Om()},unstable_isNewReconciler:V},E8={readContext:function(e){return pr(e)},useCallback:function(e,t){return we="useCallback",Pe(),Rm(e,t)},useContext:function(e){return we="useContext",Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",Pe(),sh(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",Pe(),Tm(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Pe(),wm(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Pe(),Dm(e,t)},useMemo:function(e,t){we="useMemo",Pe();var o=Ye.current;Ye.current=Fm;try{return km(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",Pe();var u=Ye.current;Ye.current=Fm;try{return y_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",Pe(),Sm()},useState:function(e){we="useState",Pe();var t=Ye.current;Ye.current=Fm;try{return __(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Pe(),Am()},useDeferredValue:function(e){return we="useDeferredValue",Pe(),f8(e)},useTransition:function(){return we="useTransition",Pe(),h8()},useMutableSource:function(e,t,o){return we="useMutableSource",Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",Pe(),_m(e,t)},useId:function(){return we="useId",Pe(),Om()},unstable_isNewReconciler:V},al={readContext:function(e){return k_(),pr(e)},useCallback:function(e,t){return we="useCallback",vt(),qt(),w_(e,t)},useContext:function(e){return we="useContext",vt(),qt(),pr(e)},useEffect:function(e,t){return we="useEffect",vt(),qt(),bm(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",vt(),qt(),b_(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vt(),qt(),S_(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vt(),qt(),E_(e,t)},useMemo:function(e,t){we="useMemo",vt(),qt();var o=Ye.current;Ye.current=al;try{return D_(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",vt(),qt();var u=Ye.current;Ye.current=al;try{return v_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",vt(),qt(),C_(e)},useState:function(e){we="useState",vt(),qt();var t=Ye.current;Ye.current=al;try{return Cm(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vt(),qt(),void 0},useDeferredValue:function(e){return we="useDeferredValue",vt(),qt(),T_(e)},useTransition:function(){return we="useTransition",vt(),qt(),A_()},useMutableSource:function(e,t,o){return we="useMutableSource",vt(),qt(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",vt(),qt(),g_(e,t,o)},useId:function(){return we="useId",vt(),qt(),R_()},unstable_isNewReconciler:V},co={readContext:function(e){return k_(),pr(e)},useCallback:function(e,t){return we="useCallback",vt(),Pe(),Rm(e,t)},useContext:function(e){return we="useContext",vt(),Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",vt(),Pe(),sh(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",vt(),Pe(),Tm(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vt(),Pe(),wm(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vt(),Pe(),Dm(e,t)},useMemo:function(e,t){we="useMemo",vt(),Pe();var o=Ye.current;Ye.current=co;try{return km(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",vt(),Pe();var u=Ye.current;Ye.current=co;try{return m_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",vt(),Pe(),Sm()},useState:function(e){we="useState",vt(),Pe();var t=Ye.current;Ye.current=co;try{return x_(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vt(),Pe(),Am()},useDeferredValue:function(e){return we="useDeferredValue",vt(),Pe(),c8(e)},useTransition:function(){return we="useTransition",vt(),Pe(),p8()},useMutableSource:function(e,t,o){return we="useMutableSource",vt(),Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",vt(),Pe(),_m(e,t)},useId:function(){return we="useId",vt(),Pe(),Om()},unstable_isNewReconciler:V},Fm={readContext:function(e){return k_(),pr(e)},useCallback:function(e,t){return we="useCallback",vt(),Pe(),Rm(e,t)},useContext:function(e){return we="useContext",vt(),Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",vt(),Pe(),sh(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",vt(),Pe(),Tm(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vt(),Pe(),wm(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vt(),Pe(),Dm(e,t)},useMemo:function(e,t){we="useMemo",vt(),Pe();var o=Ye.current;Ye.current=co;try{return km(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",vt(),Pe();var u=Ye.current;Ye.current=co;try{return y_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",vt(),Pe(),Sm()},useState:function(e){we="useState",vt(),Pe();var t=Ye.current;Ye.current=co;try{return __(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vt(),Pe(),Am()},useDeferredValue:function(e){return we="useDeferredValue",vt(),Pe(),f8(e)},useTransition:function(){return we="useTransition",vt(),Pe(),h8()},useMutableSource:function(e,t,o){return we="useMutableSource",vt(),Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",vt(),Pe(),_m(e,t)},useId:function(){return we="useId",vt(),Pe(),Om()},unstable_isNewReconciler:V}}var is=l.unstable_now,b8=0,zm=-1,ch=-1,Mm=-1,O_=!1,Nm=!1;function w8(){return O_}function IB(){Nm=!0}function $B(){O_=!1,Nm=!1}function VB(){O_=Nm,Nm=!1}function D8(){return b8}function T8(){b8=is()}function B_(e){ch=is(),e.actualStartTime<0&&(e.actualStartTime=is())}function A8(e){ch=-1}function Lm(e,t){if(ch>=0){var o=is()-ch;e.actualDuration+=o,t&&(e.selfBaseDuration=o),ch=-1}}function il(e){if(zm>=0){var t=is()-zm;zm=-1;for(var o=e.return;o!==null;){switch(o.tag){case w:var u=o.stateNode;u.effectDuration+=t;return;case F:var f=o.stateNode;f.effectDuration+=t;return}o=o.return}}}function F_(e){if(Mm>=0){var t=is()-Mm;Mm=-1;for(var o=e.return;o!==null;){switch(o.tag){case w:var u=o.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case F:var f=o.stateNode;f!==null&&(f.passiveEffectDuration+=t);return}o=o.return}}}function ol(){zm=is()}function z_(){Mm=is()}function M_(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Tc(e,t){return{value:e,source:t,stack:xd(t),digest:null}}function N_(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function YB(e,t){return!0}function L_(e,t){try{var o=YB(e,t);if(o===!1)return;var u=t.value,f=t.source,y=t.stack,b=y!==null?y:"";if(u!=null&&u._suppressLogging&&e.tag===p)return;var R=f?yt(f):null,z=R?"The above error occurred in the <"+R+"> component:":"The above error occurred in one of your React components:",j;if(e.tag===w)j=`Consider adding an error boundary to your tree to customize error handling behavior.
145
+ Incoming: %s`,we,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var o=0;o<t.length&&o<e.length;o++)if(!Ke(e[o],t[o]))return!1;return!0}function k0(e,t,o,u,f,y){Dc=y,rn=t,Bi=e!==null?e._debugHookTypes:null,as=-1,d_=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ee,e!==null&&e.memoizedState!==null?Ye.current=S8:Bi!==null?Ye.current=C8:Ye.current=_8;var b=o(u,f);if(ih){var R=0;do{if(ih=!1,oh=0,R>=LB)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");R+=1,d_=!1,Sr=null,Er=null,t.updateQueue=null,as=-1,Ye.current=E8,b=o(u,f)}while(ih)}Ye.current=Bm,t._debugHookTypes=Bi;var z=Sr!==null&&Sr.next!==null;if(Dc=Ee,rn=null,Sr=null,Er=null,we=null,Bi=null,as=-1,e!==null&&(e.flags&yr)!==(t.flags&yr)&&(e.mode&At)!==ot&&h("Internal React error: Expected static flag was missing. Please notify the React team."),xm=!1,z)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return b}function O0(){var e=oh!==0;return oh=0,e}function t8(e,t,o){t.updateQueue=e.updateQueue,(t.mode&qa)!==ot?t.flags&=~(wl|aa|Sn|xt):t.flags&=~(Sn|xt),e.lanes=zu(e.lanes,o)}function n8(){if(Ye.current=Bm,xm){for(var e=rn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}xm=!1}Dc=Ee,rn=null,Sr=null,Er=null,Bi=null,as=-1,we=null,v8=!1,ih=!1,oh=0}function rl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Er===null?rn.memoizedState=Er=e:Er=Er.next=e,Er}function Fi(){var e;if(Sr===null){var t=rn.alternate;t!==null?e=t.memoizedState:e=null}else e=Sr.next;var o;if(Er===null?o=rn.memoizedState:o=Er.next,o!==null)Er=o,o=Er.next,Sr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Sr=e;var u={memoizedState:Sr.memoizedState,baseState:Sr.baseState,baseQueue:Sr.baseQueue,queue:Sr.queue,next:null};Er===null?rn.memoizedState=Er=u:Er=Er.next=u}return Er}function r8(){return{lastEffect:null,stores:null}}function h_(e,t){return typeof t=="function"?t(e):t}function v_(e,t,o){var u=rl(),f;o!==void 0?f=o(t):f=t,u.memoizedState=u.baseState=f;var y={pending:null,interleaved:null,lanes:Ee,dispatch:null,lastRenderedReducer:e,lastRenderedState:f};u.queue=y;var b=y.dispatch=IB.bind(null,rn,y);return[u.memoizedState,b]}function m_(e,t,o){var u=Fi(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var y=Sr,b=y.baseQueue,R=f.pending;if(R!==null){if(b!==null){var z=b.next,j=R.next;b.next=j,R.next=z}y.baseQueue!==b&&h("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=b=R,f.pending=null}if(b!==null){var q=b.next,le=y.baseState,ie=null,me=null,ye=null,_e=q;do{var qe=_e.lane;if(Ml(Dc,qe)){if(ye!==null){var tt={lane:Ft,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ye=ye.next=tt}if(_e.hasEagerState)le=_e.eagerState;else{var Mt=_e.action;le=e(le,Mt)}}else{var at={lane:qe,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ye===null?(me=ye=at,ie=le):ye=ye.next=at,rn.lanes=_t(rn.lanes,qe),wh(qe)}_e=_e.next}while(_e!==null&&_e!==q);ye===null?ie=le:ye.next=me,Ke(le,u.memoizedState)||ph(),u.memoizedState=le,u.baseState=ie,u.baseQueue=ye,f.lastRenderedState=le}var Ot=f.interleaved;if(Ot!==null){var pe=Ot;do{var Ce=pe.lane;rn.lanes=_t(rn.lanes,Ce),wh(Ce),pe=pe.next}while(pe!==Ot)}else b===null&&(f.lanes=Ee);var he=f.dispatch;return[u.memoizedState,he]}function y_(e,t,o){var u=Fi(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var y=f.dispatch,b=f.pending,R=u.memoizedState;if(b!==null){f.pending=null;var z=b.next,j=z;do{var q=j.action;R=e(R,q),j=j.next}while(j!==z);Ke(R,u.memoizedState)||ph(),u.memoizedState=R,u.baseQueue===null&&(u.baseState=R),f.lastRenderedState=R}return[R,y]}function HN(e,t,o){}function PN(e,t,o){}function g_(e,t,o){var u=rn,f=rl(),y,b=Yr();if(b){if(o===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=o(),A0||y!==o()&&(h("The result of getServerSnapshot should be cached to avoid an infinite loop"),A0=!0)}else{if(y=t(),!A0){var R=t();Ke(y,R)||(h("The result of getSnapshot should be cached to avoid an infinite loop"),A0=!0)}var z=Km();if(z===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rc(z,Dc)||a8(u,t,y)}f.memoizedState=y;var j={value:y,getSnapshot:t};return f.queue=j,bm(o8.bind(null,u,j,e),[e]),u.flags|=Sn,lh(_r|qr,i8.bind(null,u,j,y,t),void 0,null),y}function _m(e,t,o){var u=rn,f=Fi(),y=t();if(!A0){var b=t();Ke(y,b)||(h("The result of getSnapshot should be cached to avoid an infinite loop"),A0=!0)}var R=f.memoizedState,z=!Ke(R,y);z&&(f.memoizedState=y,ph());var j=f.queue;if(sh(o8.bind(null,u,j,e),[e]),j.getSnapshot!==t||z||Er!==null&&Er.memoizedState.tag&_r){u.flags|=Sn,lh(_r|qr,i8.bind(null,u,j,y,t),void 0,null);var q=Km();if(q===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rc(q,Dc)||a8(u,t,y)}return y}function a8(e,t,o){e.flags|=Ws;var u={getSnapshot:t,value:o},f=rn.updateQueue;if(f===null)f=r8(),rn.updateQueue=f,f.stores=[u];else{var y=f.stores;y===null?f.stores=[u]:y.push(u)}}function i8(e,t,o,u){t.value=o,t.getSnapshot=u,l8(t)&&u8(e)}function o8(e,t,o){var u=function(){l8(t)&&u8(e)};return o(u)}function l8(e){var t=e.getSnapshot,o=e.value;try{var u=t();return!Ke(o,u)}catch{return!0}}function u8(e){var t=Ja(e,st);t!==null&&Tr(t,e,st,cn)}function Cm(e){var t=rl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var o={pending:null,interleaved:null,lanes:Ee,dispatch:null,lastRenderedReducer:h_,lastRenderedState:e};t.queue=o;var u=o.dispatch=$B.bind(null,rn,o);return[t.memoizedState,u]}function x_(e){return m_(h_)}function __(e){return y_(h_)}function lh(e,t,o,u){var f={tag:e,create:t,destroy:o,deps:u,next:null},y=rn.updateQueue;if(y===null)y=r8(),rn.updateQueue=y,y.lastEffect=f.next=f;else{var b=y.lastEffect;if(b===null)y.lastEffect=f.next=f;else{var R=b.next;b.next=f,f.next=R,y.lastEffect=f}}return f}function C_(e){var t=rl();{var o={current:e};return t.memoizedState=o,o}}function Sm(e){var t=Fi();return t.memoizedState}function uh(e,t,o,u){var f=rl(),y=u===void 0?null:u;rn.flags|=e,f.memoizedState=lh(_r|t,o,void 0,y)}function Em(e,t,o,u){var f=Fi(),y=u===void 0?null:u,b=void 0;if(Sr!==null){var R=Sr.memoizedState;if(b=R.destroy,y!==null){var z=R.deps;if(p_(y,z)){f.memoizedState=lh(t,o,b,y);return}}}rn.flags|=e,f.memoizedState=lh(_r|t,o,b,y)}function bm(e,t){return(rn.mode&qa)!==ot?uh(wl|Sn|Ho,qr,e,t):uh(Sn|Ho,qr,e,t)}function sh(e,t){return Em(Sn,qr,e,t)}function S_(e,t){return uh(xt,nl,e,t)}function wm(e,t){return Em(xt,nl,e,t)}function E_(e,t){var o=xt;return o|=ra,(rn.mode&qa)!==ot&&(o|=aa),uh(o,Cr,e,t)}function Dm(e,t){return Em(xt,Cr,e,t)}function s8(e,t){if(typeof t=="function"){var o=t,u=e();return o(u),function(){o(null)}}else if(t!=null){var f=t;f.hasOwnProperty("current")||h("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(f).join(", ")+"}");var y=e();return f.current=y,function(){f.current=null}}}function b_(e,t,o){typeof t!="function"&&h("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=o!=null?o.concat([e]):null,f=xt;return f|=ra,(rn.mode&qa)!==ot&&(f|=aa),uh(f,Cr,s8.bind(null,t,e),u)}function Tm(e,t,o){typeof t!="function"&&h("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=o!=null?o.concat([e]):null;return Em(xt,Cr,s8.bind(null,t,e),u)}function HB(e,t){}var Am=HB;function w_(e,t){var o=rl(),u=t===void 0?null:t;return o.memoizedState=[e,u],e}function Rm(e,t){var o=Fi(),u=t===void 0?null:t,f=o.memoizedState;if(f!==null&&u!==null){var y=f[1];if(p_(u,y))return f[0]}return o.memoizedState=[e,u],e}function D_(e,t){var o=rl(),u=t===void 0?null:t,f=e();return o.memoizedState=[f,u],f}function km(e,t){var o=Fi(),u=t===void 0?null:t,f=o.memoizedState;if(f!==null&&u!==null){var y=f[1];if(p_(u,y))return f[0]}var b=e();return o.memoizedState=[b,u],b}function T_(e){var t=rl();return t.memoizedState=e,e}function c8(e){var t=Fi(),o=Sr,u=o.memoizedState;return d8(t,u,e)}function f8(e){var t=Fi();if(Sr===null)return t.memoizedState=e,e;var o=Sr.memoizedState;return d8(t,o,e)}function d8(e,t,o){var u=!Fx(Dc);if(u){if(!Ke(o,t)){var f=cp();rn.lanes=_t(rn.lanes,f),wh(f),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,ph()),e.memoizedState=o,o}function PB(e,t,o){var u=Wa();Xn(Nr(u,xr)),e(!0);var f=ah.transition;ah.transition={};var y=ah.transition;ah.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Xn(u),ah.transition=f,f===null&&y._updatedFibers){var b=y._updatedFibers.size;b>10&&v("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),y._updatedFibers.clear()}}}function A_(){var e=Cm(!1),t=e[0],o=e[1],u=PB.bind(null,o),f=rl();return f.memoizedState=u,[t,u]}function p8(){var e=x_(),t=e[0],o=Fi(),u=o.memoizedState;return[t,u]}function h8(){var e=__(),t=e[0],o=Fi(),u=o.memoizedState;return[t,u]}var v8=!1;function jB(){return v8}function R_(){var e=rl(),t=Km(),o=t.identifierPrefix,u;if(Yr()){var f=tB();u=":"+o+"R"+f;var y=oh++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var b=NB++;u=":"+o+"r"+b.toString(32)+":"}return e.memoizedState=u,u}function Om(){var e=Fi(),t=e.memoizedState;return t}function IB(e,t,o){typeof arguments[3]=="function"&&h("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=ss(e),f={lane:u,action:o,hasEagerState:!1,eagerState:null,next:null};if(m8(e))y8(t,f);else{var y=zw(e,t,f,u);if(y!==null){var b=ka();Tr(y,e,u,b),g8(y,t,u)}}x8(e,u)}function $B(e,t,o){typeof arguments[3]=="function"&&h("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=ss(e),f={lane:u,action:o,hasEagerState:!1,eagerState:null,next:null};if(m8(e))y8(t,f);else{var y=e.alternate;if(e.lanes===Ee&&(y===null||y.lanes===Ee)){var b=t.lastRenderedReducer;if(b!==null){var R;R=Ye.current,Ye.current=co;try{var z=t.lastRenderedState,j=b(z,o);if(f.hasEagerState=!0,f.eagerState=j,Ke(j,z)){CB(e,t,f,u);return}}catch{}finally{Ye.current=R}}}var q=zw(e,t,f,u);if(q!==null){var le=ka();Tr(q,e,u,le),g8(q,t,u)}}x8(e,u)}function m8(e){var t=e.alternate;return e===rn||t!==null&&t===rn}function y8(e,t){ih=xm=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function g8(e,t,o){if(sp(o)){var u=t.lanes;u=fp(u,e.pendingLanes);var f=_t(u,o);t.lanes=f,Mu(e,f)}}function x8(e,t,o){Yo(e,t)}var Bm={readContext:pr,useCallback:da,useContext:da,useEffect:da,useImperativeHandle:da,useInsertionEffect:da,useLayoutEffect:da,useMemo:da,useReducer:da,useRef:da,useState:da,useDebugValue:da,useDeferredValue:da,useTransition:da,useMutableSource:da,useSyncExternalStore:da,useId:da,unstable_isNewReconciler:V},_8=null,C8=null,S8=null,E8=null,al=null,co=null,Fm=null;{var k_=function(){h("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().")},vt=function(){h("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};_8={readContext:function(e){return pr(e)},useCallback:function(e,t){return we="useCallback",qt(),R0(t),w_(e,t)},useContext:function(e){return we="useContext",qt(),pr(e)},useEffect:function(e,t){return we="useEffect",qt(),R0(t),bm(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",qt(),R0(o),b_(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",qt(),R0(t),S_(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",qt(),R0(t),E_(e,t)},useMemo:function(e,t){we="useMemo",qt(),R0(t);var o=Ye.current;Ye.current=al;try{return D_(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",qt();var u=Ye.current;Ye.current=al;try{return v_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",qt(),C_(e)},useState:function(e){we="useState",qt();var t=Ye.current;Ye.current=al;try{return Cm(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",qt(),void 0},useDeferredValue:function(e){return we="useDeferredValue",qt(),T_(e)},useTransition:function(){return we="useTransition",qt(),A_()},useMutableSource:function(e,t,o){return we="useMutableSource",qt(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",qt(),g_(e,t,o)},useId:function(){return we="useId",qt(),R_()},unstable_isNewReconciler:V},C8={readContext:function(e){return pr(e)},useCallback:function(e,t){return we="useCallback",Pe(),w_(e,t)},useContext:function(e){return we="useContext",Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",Pe(),bm(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",Pe(),b_(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Pe(),S_(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Pe(),E_(e,t)},useMemo:function(e,t){we="useMemo",Pe();var o=Ye.current;Ye.current=al;try{return D_(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",Pe();var u=Ye.current;Ye.current=al;try{return v_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",Pe(),C_(e)},useState:function(e){we="useState",Pe();var t=Ye.current;Ye.current=al;try{return Cm(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Pe(),void 0},useDeferredValue:function(e){return we="useDeferredValue",Pe(),T_(e)},useTransition:function(){return we="useTransition",Pe(),A_()},useMutableSource:function(e,t,o){return we="useMutableSource",Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",Pe(),g_(e,t,o)},useId:function(){return we="useId",Pe(),R_()},unstable_isNewReconciler:V},S8={readContext:function(e){return pr(e)},useCallback:function(e,t){return we="useCallback",Pe(),Rm(e,t)},useContext:function(e){return we="useContext",Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",Pe(),sh(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",Pe(),Tm(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Pe(),wm(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Pe(),Dm(e,t)},useMemo:function(e,t){we="useMemo",Pe();var o=Ye.current;Ye.current=co;try{return km(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",Pe();var u=Ye.current;Ye.current=co;try{return m_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",Pe(),Sm()},useState:function(e){we="useState",Pe();var t=Ye.current;Ye.current=co;try{return x_(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Pe(),Am()},useDeferredValue:function(e){return we="useDeferredValue",Pe(),c8(e)},useTransition:function(){return we="useTransition",Pe(),p8()},useMutableSource:function(e,t,o){return we="useMutableSource",Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",Pe(),_m(e,t)},useId:function(){return we="useId",Pe(),Om()},unstable_isNewReconciler:V},E8={readContext:function(e){return pr(e)},useCallback:function(e,t){return we="useCallback",Pe(),Rm(e,t)},useContext:function(e){return we="useContext",Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",Pe(),sh(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",Pe(),Tm(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Pe(),wm(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Pe(),Dm(e,t)},useMemo:function(e,t){we="useMemo",Pe();var o=Ye.current;Ye.current=Fm;try{return km(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",Pe();var u=Ye.current;Ye.current=Fm;try{return y_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",Pe(),Sm()},useState:function(e){we="useState",Pe();var t=Ye.current;Ye.current=Fm;try{return __(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Pe(),Am()},useDeferredValue:function(e){return we="useDeferredValue",Pe(),f8(e)},useTransition:function(){return we="useTransition",Pe(),h8()},useMutableSource:function(e,t,o){return we="useMutableSource",Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",Pe(),_m(e,t)},useId:function(){return we="useId",Pe(),Om()},unstable_isNewReconciler:V},al={readContext:function(e){return k_(),pr(e)},useCallback:function(e,t){return we="useCallback",vt(),qt(),w_(e,t)},useContext:function(e){return we="useContext",vt(),qt(),pr(e)},useEffect:function(e,t){return we="useEffect",vt(),qt(),bm(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",vt(),qt(),b_(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vt(),qt(),S_(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vt(),qt(),E_(e,t)},useMemo:function(e,t){we="useMemo",vt(),qt();var o=Ye.current;Ye.current=al;try{return D_(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",vt(),qt();var u=Ye.current;Ye.current=al;try{return v_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",vt(),qt(),C_(e)},useState:function(e){we="useState",vt(),qt();var t=Ye.current;Ye.current=al;try{return Cm(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vt(),qt(),void 0},useDeferredValue:function(e){return we="useDeferredValue",vt(),qt(),T_(e)},useTransition:function(){return we="useTransition",vt(),qt(),A_()},useMutableSource:function(e,t,o){return we="useMutableSource",vt(),qt(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",vt(),qt(),g_(e,t,o)},useId:function(){return we="useId",vt(),qt(),R_()},unstable_isNewReconciler:V},co={readContext:function(e){return k_(),pr(e)},useCallback:function(e,t){return we="useCallback",vt(),Pe(),Rm(e,t)},useContext:function(e){return we="useContext",vt(),Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",vt(),Pe(),sh(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",vt(),Pe(),Tm(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vt(),Pe(),wm(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vt(),Pe(),Dm(e,t)},useMemo:function(e,t){we="useMemo",vt(),Pe();var o=Ye.current;Ye.current=co;try{return km(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",vt(),Pe();var u=Ye.current;Ye.current=co;try{return m_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",vt(),Pe(),Sm()},useState:function(e){we="useState",vt(),Pe();var t=Ye.current;Ye.current=co;try{return x_(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vt(),Pe(),Am()},useDeferredValue:function(e){return we="useDeferredValue",vt(),Pe(),c8(e)},useTransition:function(){return we="useTransition",vt(),Pe(),p8()},useMutableSource:function(e,t,o){return we="useMutableSource",vt(),Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",vt(),Pe(),_m(e,t)},useId:function(){return we="useId",vt(),Pe(),Om()},unstable_isNewReconciler:V},Fm={readContext:function(e){return k_(),pr(e)},useCallback:function(e,t){return we="useCallback",vt(),Pe(),Rm(e,t)},useContext:function(e){return we="useContext",vt(),Pe(),pr(e)},useEffect:function(e,t){return we="useEffect",vt(),Pe(),sh(e,t)},useImperativeHandle:function(e,t,o){return we="useImperativeHandle",vt(),Pe(),Tm(e,t,o)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vt(),Pe(),wm(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vt(),Pe(),Dm(e,t)},useMemo:function(e,t){we="useMemo",vt(),Pe();var o=Ye.current;Ye.current=co;try{return km(e,t)}finally{Ye.current=o}},useReducer:function(e,t,o){we="useReducer",vt(),Pe();var u=Ye.current;Ye.current=co;try{return y_(e,t,o)}finally{Ye.current=u}},useRef:function(e){return we="useRef",vt(),Pe(),Sm()},useState:function(e){we="useState",vt(),Pe();var t=Ye.current;Ye.current=co;try{return __(e)}finally{Ye.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vt(),Pe(),Am()},useDeferredValue:function(e){return we="useDeferredValue",vt(),Pe(),f8(e)},useTransition:function(){return we="useTransition",vt(),Pe(),h8()},useMutableSource:function(e,t,o){return we="useMutableSource",vt(),Pe(),void 0},useSyncExternalStore:function(e,t,o){return we="useSyncExternalStore",vt(),Pe(),_m(e,t)},useId:function(){return we="useId",vt(),Pe(),Om()},unstable_isNewReconciler:V}}var is=l.unstable_now,b8=0,zm=-1,ch=-1,Mm=-1,O_=!1,Nm=!1;function w8(){return O_}function VB(){Nm=!0}function YB(){O_=!1,Nm=!1}function qB(){O_=Nm,Nm=!1}function D8(){return b8}function T8(){b8=is()}function B_(e){ch=is(),e.actualStartTime<0&&(e.actualStartTime=is())}function A8(e){ch=-1}function Lm(e,t){if(ch>=0){var o=is()-ch;e.actualDuration+=o,t&&(e.selfBaseDuration=o),ch=-1}}function il(e){if(zm>=0){var t=is()-zm;zm=-1;for(var o=e.return;o!==null;){switch(o.tag){case w:var u=o.stateNode;u.effectDuration+=t;return;case F:var f=o.stateNode;f.effectDuration+=t;return}o=o.return}}}function F_(e){if(Mm>=0){var t=is()-Mm;Mm=-1;for(var o=e.return;o!==null;){switch(o.tag){case w:var u=o.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case F:var f=o.stateNode;f!==null&&(f.passiveEffectDuration+=t);return}o=o.return}}}function ol(){zm=is()}function z_(){Mm=is()}function M_(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Tc(e,t){return{value:e,source:t,stack:xd(t),digest:null}}function N_(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function GB(e,t){return!0}function L_(e,t){try{var o=GB(e,t);if(o===!1)return;var u=t.value,f=t.source,y=t.stack,b=y!==null?y:"";if(u!=null&&u._suppressLogging&&e.tag===p)return;var R=f?yt(f):null,z=R?"The above error occurred in the <"+R+"> component:":"The above error occurred in one of your React components:",j;if(e.tag===w)j=`Consider adding an error boundary to your tree to customize error handling behavior.
146
146
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var q=yt(e)||"Anonymous";j="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+q+".")}var le=z+`
147
147
  `+b+`
148
148
 
149
- `+(""+j)}catch(ie){setTimeout(function(){throw ie})}}var qB=typeof WeakMap=="function"?WeakMap:Map;function R8(e,t,o){var u=Ql(cn,o);u.tag=L2,u.payload={element:null};var f=t.value;return u.callback=function(){Uz(f),L_(e,t)},u}function U_(e,t,o){var u=Ql(cn,o);u.tag=L2;var f=e.type.getDerivedStateFromError;if(typeof f=="function"){var y=t.value;u.payload=function(){return f(y)},u.callback=function(){P3(e),L_(e,t)}}var b=e.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(u.callback=function(){P3(e),L_(e,t),typeof f!="function"&&Nz(this);var z=t.value,j=t.stack;this.componentDidCatch(z,{componentStack:j!==null?j:""}),typeof f!="function"&&(sa(e.lanes,st)||h("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",yt(e)||"Unknown"))}),u}function k8(e,t,o){var u=e.pingCache,f;if(u===null?(u=e.pingCache=new qB,f=new Set,u.set(t,f)):(f=u.get(t),f===void 0&&(f=new Set,u.set(t,f))),!f.has(o)){f.add(o);var y=Hz.bind(null,e,t,o);gr&&Dh(e,o),t.then(y,y)}}function GB(e,t,o,u){var f=e.updateQueue;if(f===null){var y=new Set;y.add(o),e.updateQueue=y}else f.add(o)}function WB(e,t){var o=e.tag;if((e.mode&At)===ot&&(o===_||o===A||o===L)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function O8(e){var t=e;do{if(t.tag===N&&BB(t))return t;t=t.return}while(t!==null);return null}function B8(e,t,o,u,f){if((e.mode&At)===ot){if(e===t)e.flags|=ur;else{if(e.flags|=pt,o.flags|=Zs,o.flags&=~(mf|Sa),o.tag===p){var y=o.alternate;if(y===null)o.tag=Q;else{var b=Ql(cn,st);b.tag=lm,ts(o,b,st)}}o.lanes=_t(o.lanes,st)}return e}return e.flags|=ur,e.lanes=f,e}function ZB(e,t,o,u,f){if(o.flags|=Sa,gr&&Dh(e,f),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;WB(o),Yr()&&o.mode&At&&Sw();var b=O8(t);if(b!==null){b.flags&=~Bn,B8(b,t,o,e,f),b.mode&At&&k8(e,y,f),GB(b,e,y);return}else{if(!Fu(f)){k8(e,y,f),yC();return}var R=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.");u=R}}else if(Yr()&&o.mode&At){Sw();var z=O8(t);if(z!==null){(z.flags&ur)===rt&&(z.flags|=Bn),B8(z,t,o,e,f),k2(Tc(u,o));return}}u=Tc(u,o),Az(u);var j=t;do{switch(j.tag){case w:{var q=u;j.flags|=ur;var le=Qn(f);j.lanes=_t(j.lanes,le);var ie=R8(j,q,le);P2(j,ie);return}case p:var me=u,ye=j.type,_e=j.stateNode;if((j.flags&pt)===rt&&(typeof ye.getDerivedStateFromError=="function"||_e!==null&&typeof _e.componentDidCatch=="function"&&!O3(_e))){j.flags|=ur;var qe=Qn(f);j.lanes=_t(j.lanes,qe);var at=U_(j,me,qe);P2(j,at);return}break}j=j.return}while(j!==null)}function KB(){return null}var fh=a.ReactCurrentOwner,fo=!1,H_,dh,P_,j_,I_,Ac,$_,Um;H_={},dh={},P_={},j_={},I_={},Ac=!1,$_={},Um={};function Aa(e,t,o,u){e===null?t.child=Kw(t,null,o,u):t.child=b0(t,e.child,o,u)}function QB(e,t,o,u){t.child=b0(t,e.child,null,u),t.child=b0(t,null,o,u)}function F8(e,t,o,u,f){if(t.type!==t.elementType){var y=o.propTypes;y&&io(y,u,"prop",un(o))}var b=o.render,R=t.ref,z,j;E0(t,f),Vo(t);{if(fh.current=t,ci(!0),z=k0(e,t,b,u,R,f),j=O0(),t.mode&An){Kn(!0);try{z=k0(e,t,b,u,R,f),j=O0()}finally{Kn(!1)}}ci(!1)}return Dl(),e!==null&&!fo?(t8(e,t,f),Xl(e,t,f)):(Yr()&&j&&b2(t),t.flags|=Lo,Aa(e,t,z,f),t.child)}function z8(e,t,o,u,f){if(e===null){var y=o.type;if(nM(y)&&o.compare===null&&o.defaultProps===void 0){var b=y;return b=H0(y),t.tag=L,t.type=b,q_(t,y),M8(e,t,b,u,f)}{var R=y.propTypes;R&&io(R,u,"prop",un(y))}var z=AC(o.type,null,u,t,t.mode,f);return z.ref=t.ref,z.return=t,t.child=z,z}{var j=o.type,q=j.propTypes;q&&io(q,u,"prop",un(j))}var le=e.child,ie=X_(e,f);if(!ie){var me=le.memoizedProps,ye=o.compare;if(ye=ye!==null?ye:nt,ye(me,u)&&e.ref===t.ref)return Xl(e,t,f)}t.flags|=Lo;var _e=Fc(le,u);return _e.ref=t.ref,_e.return=t,t.child=_e,_e}function M8(e,t,o,u,f){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===lt){var b=y,R=b._payload,z=b._init;try{y=z(R)}catch{y=null}var j=y&&y.propTypes;j&&io(j,u,"prop",un(y))}}if(e!==null){var q=e.memoizedProps;if(nt(q,u)&&e.ref===t.ref&&t.type===e.type)if(fo=!1,t.pendingProps=u=q,X_(e,f))(e.flags&Zs)!==rt&&(fo=!0);else return t.lanes=e.lanes,Xl(e,t,f)}return V_(e,t,o,u,f)}function N8(e,t,o){var u=t.pendingProps,f=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||Z)if((t.mode&At)===ot){var b={baseLanes:Ee,cachePool:null,transitions:null};t.memoizedState=b,Qm(t,o)}else if(sa(o,ua)){var le={baseLanes:Ee,cachePool:null,transitions:null};t.memoizedState=le;var ie=y!==null?y.baseLanes:o;Qm(t,ie)}else{var R=null,z;if(y!==null){var j=y.baseLanes;z=_t(j,o)}else z=o;t.lanes=t.childLanes=ua;var q={baseLanes:z,cachePool:R,transitions:null};return t.memoizedState=q,t.updateQueue=null,Qm(t,z),null}else{var me;y!==null?(me=_t(y.baseLanes,o),t.memoizedState=null):me=o,Qm(t,me)}return Aa(e,t,f,o),t.child}function XB(e,t,o){var u=t.pendingProps;return Aa(e,t,u,o),t.child}function JB(e,t,o){var u=t.pendingProps.children;return Aa(e,t,u,o),t.child}function eF(e,t,o){{t.flags|=xt;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var f=t.pendingProps,y=f.children;return Aa(e,t,y,o),t.child}function L8(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=na,t.flags|=Wd)}function V_(e,t,o,u,f){if(t.type!==t.elementType){var y=o.propTypes;y&&io(y,u,"prop",un(o))}var b;{var R=y0(t,o,!0);b=g0(t,R)}var z,j;E0(t,f),Vo(t);{if(fh.current=t,ci(!0),z=k0(e,t,o,u,b,f),j=O0(),t.mode&An){Kn(!0);try{z=k0(e,t,o,u,b,f),j=O0()}finally{Kn(!1)}}ci(!1)}return Dl(),e!==null&&!fo?(t8(e,t,f),Xl(e,t,f)):(Yr()&&j&&b2(t),t.flags|=Lo,Aa(e,t,z,f),t.child)}function U8(e,t,o,u,f){{switch(yM(t)){case!1:{var y=t.stateNode,b=t.type,R=new b(t.memoizedProps,y.context),z=R.state;y.updater.enqueueSetState(y,z,null);break}case!0:{t.flags|=pt,t.flags|=ur;var j=new Error("Simulated error coming from DevTools"),q=Qn(f);t.lanes=_t(t.lanes,q);var le=U_(t,Tc(j,t),q);P2(t,le);break}}if(t.type!==t.elementType){var ie=o.propTypes;ie&&io(ie,u,"prop",un(o))}}var me;tl(o)?(me=!0,K1(t)):me=!1,E0(t,f);var ye=t.stateNode,_e;ye===null?(Pm(e,t),Yw(t,o,u),X2(t,o,u,f),_e=!0):e===null?_e=DB(t,o,u,f):_e=TB(e,t,o,u,f);var qe=Y_(e,t,o,_e,me,f);{var at=t.stateNode;_e&&at.props!==u&&(Ac||h("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",yt(t)||"a component"),Ac=!0)}return qe}function Y_(e,t,o,u,f,y){L8(e,t);var b=(t.flags&pt)!==rt;if(!u&&!b)return f&&gw(t,o,!1),Xl(e,t,y);var R=t.stateNode;fh.current=t;var z;if(b&&typeof o.getDerivedStateFromError!="function")z=null,A8();else{Vo(t);{if(ci(!0),z=R.render(),t.mode&An){Kn(!0);try{R.render()}finally{Kn(!1)}}ci(!1)}Dl()}return t.flags|=Lo,e!==null&&b?QB(e,t,z,y):Aa(e,t,z,y),t.memoizedState=R.state,f&&gw(t,o,!0),t.child}function H8(e){var t=e.stateNode;t.pendingContext?mw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mw(e,t.context,!1),a_(e,t.containerInfo)}function tF(e,t,o){if(H8(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,f=t.memoizedState,y=f.element;Lw(e,t),fm(t,u,null,o);var b=t.memoizedState;t.stateNode;var R=b.element;if(f.isDehydrated){var z={element:R,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},j=t.updateQueue;if(j.baseState=z,t.memoizedState=z,t.flags&Bn){var q=Tc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return P8(e,t,R,o,q)}else if(R!==y){var le=Tc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return P8(e,t,R,o,le)}else{iB(t);var ie=Kw(t,null,R,o);t.child=ie;for(var me=ie;me;)me.flags=me.flags&~pn|$a,me=me.sibling}}else{if(C0(),R===y)return Xl(e,t,o);Aa(e,t,R,o)}return t.child}function P8(e,t,o,u,f){return C0(),k2(f),t.flags|=Bn,Aa(e,t,o,u),t.child}function nF(e,t,o){Xw(t),e===null&&R2(t);var u=t.type,f=t.pendingProps,y=e!==null?e.memoizedProps:null,b=f.children,R=c2(u,f);return R?b=null:y!==null&&c2(u,y)&&(t.flags|=Yt),L8(e,t),Aa(e,t,b,o),t.child}function rF(e,t){return e===null&&R2(t),null}function aF(e,t,o,u){Pm(e,t);var f=t.pendingProps,y=o,b=y._payload,R=y._init,z=R(b);t.type=z;var j=t.tag=rM(z),q=uo(z,f),le;switch(j){case _:return q_(t,z),t.type=z=H0(z),le=V_(null,t,z,q,u),le;case p:return t.type=z=SC(z),le=U8(null,t,z,q,u),le;case A:return t.type=z=EC(z),le=F8(null,t,z,q,u),le;case H:{if(t.type!==t.elementType){var ie=z.propTypes;ie&&io(ie,q,"prop",un(z))}return le=z8(null,t,z,uo(z.type,q),u),le}}var me="";throw z!==null&&typeof z=="object"&&z.$$typeof===lt&&(me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+z+". "+("Lazy element type must resolve to a class or function."+me))}function iF(e,t,o,u,f){Pm(e,t),t.tag=p;var y;return tl(o)?(y=!0,K1(t)):y=!1,E0(t,f),Yw(t,o,u),X2(t,o,u,f),Y_(null,t,o,!0,y,f)}function oF(e,t,o,u){Pm(e,t);var f=t.pendingProps,y;{var b=y0(t,o,!1);y=g0(t,b)}E0(t,u);var R,z;Vo(t);{if(o.prototype&&typeof o.prototype.render=="function"){var j=un(o)||"Unknown";H_[j]||(h("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.",j,j),H_[j]=!0)}t.mode&An&&lo.recordLegacyContextWarning(t,null),ci(!0),fh.current=t,R=k0(null,t,o,f,y,u),z=O0(),ci(!1)}if(Dl(),t.flags|=Lo,typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0){var q=un(o)||"Unknown";dh[q]||(h("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.",q,q,q),dh[q]=!0)}if(typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0){{var le=un(o)||"Unknown";dh[le]||(h("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.",le,le,le),dh[le]=!0)}t.tag=p,t.memoizedState=null,t.updateQueue=null;var ie=!1;return tl(o)?(ie=!0,K1(t)):ie=!1,t.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,H2(t),Vw(t,R),X2(t,o,f,u),Y_(null,t,o,!0,ie,u)}else{if(t.tag=_,t.mode&An){Kn(!0);try{R=k0(null,t,o,f,y,u),z=O0()}finally{Kn(!1)}}return Yr()&&z&&b2(t),Aa(null,t,R,u),q_(t,o),t.child}}function q_(e,t){{if(t&&t.childContextTypes&&h("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var o="",u=Ha();u&&(o+=`
149
+ `+(""+j)}catch(ie){setTimeout(function(){throw ie})}}var WB=typeof WeakMap=="function"?WeakMap:Map;function R8(e,t,o){var u=Ql(cn,o);u.tag=L2,u.payload={element:null};var f=t.value;return u.callback=function(){Pz(f),L_(e,t)},u}function U_(e,t,o){var u=Ql(cn,o);u.tag=L2;var f=e.type.getDerivedStateFromError;if(typeof f=="function"){var y=t.value;u.payload=function(){return f(y)},u.callback=function(){P3(e),L_(e,t)}}var b=e.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(u.callback=function(){P3(e),L_(e,t),typeof f!="function"&&Uz(this);var z=t.value,j=t.stack;this.componentDidCatch(z,{componentStack:j!==null?j:""}),typeof f!="function"&&(sa(e.lanes,st)||h("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",yt(e)||"Unknown"))}),u}function k8(e,t,o){var u=e.pingCache,f;if(u===null?(u=e.pingCache=new WB,f=new Set,u.set(t,f)):(f=u.get(t),f===void 0&&(f=new Set,u.set(t,f))),!f.has(o)){f.add(o);var y=jz.bind(null,e,t,o);gr&&Dh(e,o),t.then(y,y)}}function ZB(e,t,o,u){var f=e.updateQueue;if(f===null){var y=new Set;y.add(o),e.updateQueue=y}else f.add(o)}function KB(e,t){var o=e.tag;if((e.mode&At)===ot&&(o===_||o===A||o===L)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function O8(e){var t=e;do{if(t.tag===N&&zB(t))return t;t=t.return}while(t!==null);return null}function B8(e,t,o,u,f){if((e.mode&At)===ot){if(e===t)e.flags|=ur;else{if(e.flags|=pt,o.flags|=Zs,o.flags&=~(mf|Sa),o.tag===p){var y=o.alternate;if(y===null)o.tag=Q;else{var b=Ql(cn,st);b.tag=lm,ts(o,b,st)}}o.lanes=_t(o.lanes,st)}return e}return e.flags|=ur,e.lanes=f,e}function QB(e,t,o,u,f){if(o.flags|=Sa,gr&&Dh(e,f),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;KB(o),Yr()&&o.mode&At&&Sw();var b=O8(t);if(b!==null){b.flags&=~Bn,B8(b,t,o,e,f),b.mode&At&&k8(e,y,f),ZB(b,e,y);return}else{if(!Fu(f)){k8(e,y,f),yC();return}var R=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.");u=R}}else if(Yr()&&o.mode&At){Sw();var z=O8(t);if(z!==null){(z.flags&ur)===rt&&(z.flags|=Bn),B8(z,t,o,e,f),k2(Tc(u,o));return}}u=Tc(u,o),kz(u);var j=t;do{switch(j.tag){case w:{var q=u;j.flags|=ur;var le=Qn(f);j.lanes=_t(j.lanes,le);var ie=R8(j,q,le);P2(j,ie);return}case p:var me=u,ye=j.type,_e=j.stateNode;if((j.flags&pt)===rt&&(typeof ye.getDerivedStateFromError=="function"||_e!==null&&typeof _e.componentDidCatch=="function"&&!O3(_e))){j.flags|=ur;var qe=Qn(f);j.lanes=_t(j.lanes,qe);var at=U_(j,me,qe);P2(j,at);return}break}j=j.return}while(j!==null)}function XB(){return null}var fh=a.ReactCurrentOwner,fo=!1,H_,dh,P_,j_,I_,Ac,$_,Um;H_={},dh={},P_={},j_={},I_={},Ac=!1,$_={},Um={};function Aa(e,t,o,u){e===null?t.child=Kw(t,null,o,u):t.child=b0(t,e.child,o,u)}function JB(e,t,o,u){t.child=b0(t,e.child,null,u),t.child=b0(t,null,o,u)}function F8(e,t,o,u,f){if(t.type!==t.elementType){var y=o.propTypes;y&&io(y,u,"prop",un(o))}var b=o.render,R=t.ref,z,j;E0(t,f),Vo(t);{if(fh.current=t,ci(!0),z=k0(e,t,b,u,R,f),j=O0(),t.mode&An){Kn(!0);try{z=k0(e,t,b,u,R,f),j=O0()}finally{Kn(!1)}}ci(!1)}return Dl(),e!==null&&!fo?(t8(e,t,f),Xl(e,t,f)):(Yr()&&j&&b2(t),t.flags|=Lo,Aa(e,t,z,f),t.child)}function z8(e,t,o,u,f){if(e===null){var y=o.type;if(aM(y)&&o.compare===null&&o.defaultProps===void 0){var b=y;return b=H0(y),t.tag=L,t.type=b,q_(t,y),M8(e,t,b,u,f)}{var R=y.propTypes;R&&io(R,u,"prop",un(y))}var z=AC(o.type,null,u,t,t.mode,f);return z.ref=t.ref,z.return=t,t.child=z,z}{var j=o.type,q=j.propTypes;q&&io(q,u,"prop",un(j))}var le=e.child,ie=X_(e,f);if(!ie){var me=le.memoizedProps,ye=o.compare;if(ye=ye!==null?ye:nt,ye(me,u)&&e.ref===t.ref)return Xl(e,t,f)}t.flags|=Lo;var _e=Fc(le,u);return _e.ref=t.ref,_e.return=t,t.child=_e,_e}function M8(e,t,o,u,f){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===lt){var b=y,R=b._payload,z=b._init;try{y=z(R)}catch{y=null}var j=y&&y.propTypes;j&&io(j,u,"prop",un(y))}}if(e!==null){var q=e.memoizedProps;if(nt(q,u)&&e.ref===t.ref&&t.type===e.type)if(fo=!1,t.pendingProps=u=q,X_(e,f))(e.flags&Zs)!==rt&&(fo=!0);else return t.lanes=e.lanes,Xl(e,t,f)}return V_(e,t,o,u,f)}function N8(e,t,o){var u=t.pendingProps,f=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||Z)if((t.mode&At)===ot){var b={baseLanes:Ee,cachePool:null,transitions:null};t.memoizedState=b,Qm(t,o)}else if(sa(o,ua)){var le={baseLanes:Ee,cachePool:null,transitions:null};t.memoizedState=le;var ie=y!==null?y.baseLanes:o;Qm(t,ie)}else{var R=null,z;if(y!==null){var j=y.baseLanes;z=_t(j,o)}else z=o;t.lanes=t.childLanes=ua;var q={baseLanes:z,cachePool:R,transitions:null};return t.memoizedState=q,t.updateQueue=null,Qm(t,z),null}else{var me;y!==null?(me=_t(y.baseLanes,o),t.memoizedState=null):me=o,Qm(t,me)}return Aa(e,t,f,o),t.child}function eF(e,t,o){var u=t.pendingProps;return Aa(e,t,u,o),t.child}function tF(e,t,o){var u=t.pendingProps.children;return Aa(e,t,u,o),t.child}function nF(e,t,o){{t.flags|=xt;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var f=t.pendingProps,y=f.children;return Aa(e,t,y,o),t.child}function L8(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=na,t.flags|=Wd)}function V_(e,t,o,u,f){if(t.type!==t.elementType){var y=o.propTypes;y&&io(y,u,"prop",un(o))}var b;{var R=y0(t,o,!0);b=g0(t,R)}var z,j;E0(t,f),Vo(t);{if(fh.current=t,ci(!0),z=k0(e,t,o,u,b,f),j=O0(),t.mode&An){Kn(!0);try{z=k0(e,t,o,u,b,f),j=O0()}finally{Kn(!1)}}ci(!1)}return Dl(),e!==null&&!fo?(t8(e,t,f),Xl(e,t,f)):(Yr()&&j&&b2(t),t.flags|=Lo,Aa(e,t,z,f),t.child)}function U8(e,t,o,u,f){{switch(xM(t)){case!1:{var y=t.stateNode,b=t.type,R=new b(t.memoizedProps,y.context),z=R.state;y.updater.enqueueSetState(y,z,null);break}case!0:{t.flags|=pt,t.flags|=ur;var j=new Error("Simulated error coming from DevTools"),q=Qn(f);t.lanes=_t(t.lanes,q);var le=U_(t,Tc(j,t),q);P2(t,le);break}}if(t.type!==t.elementType){var ie=o.propTypes;ie&&io(ie,u,"prop",un(o))}}var me;tl(o)?(me=!0,K1(t)):me=!1,E0(t,f);var ye=t.stateNode,_e;ye===null?(Pm(e,t),Yw(t,o,u),X2(t,o,u,f),_e=!0):e===null?_e=AB(t,o,u,f):_e=RB(e,t,o,u,f);var qe=Y_(e,t,o,_e,me,f);{var at=t.stateNode;_e&&at.props!==u&&(Ac||h("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",yt(t)||"a component"),Ac=!0)}return qe}function Y_(e,t,o,u,f,y){L8(e,t);var b=(t.flags&pt)!==rt;if(!u&&!b)return f&&gw(t,o,!1),Xl(e,t,y);var R=t.stateNode;fh.current=t;var z;if(b&&typeof o.getDerivedStateFromError!="function")z=null,A8();else{Vo(t);{if(ci(!0),z=R.render(),t.mode&An){Kn(!0);try{R.render()}finally{Kn(!1)}}ci(!1)}Dl()}return t.flags|=Lo,e!==null&&b?JB(e,t,z,y):Aa(e,t,z,y),t.memoizedState=R.state,f&&gw(t,o,!0),t.child}function H8(e){var t=e.stateNode;t.pendingContext?mw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mw(e,t.context,!1),a_(e,t.containerInfo)}function rF(e,t,o){if(H8(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,f=t.memoizedState,y=f.element;Lw(e,t),fm(t,u,null,o);var b=t.memoizedState;t.stateNode;var R=b.element;if(f.isDehydrated){var z={element:R,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},j=t.updateQueue;if(j.baseState=z,t.memoizedState=z,t.flags&Bn){var q=Tc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return P8(e,t,R,o,q)}else if(R!==y){var le=Tc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return P8(e,t,R,o,le)}else{lB(t);var ie=Kw(t,null,R,o);t.child=ie;for(var me=ie;me;)me.flags=me.flags&~pn|$a,me=me.sibling}}else{if(C0(),R===y)return Xl(e,t,o);Aa(e,t,R,o)}return t.child}function P8(e,t,o,u,f){return C0(),k2(f),t.flags|=Bn,Aa(e,t,o,u),t.child}function aF(e,t,o){Xw(t),e===null&&R2(t);var u=t.type,f=t.pendingProps,y=e!==null?e.memoizedProps:null,b=f.children,R=c2(u,f);return R?b=null:y!==null&&c2(u,y)&&(t.flags|=Yt),L8(e,t),Aa(e,t,b,o),t.child}function iF(e,t){return e===null&&R2(t),null}function oF(e,t,o,u){Pm(e,t);var f=t.pendingProps,y=o,b=y._payload,R=y._init,z=R(b);t.type=z;var j=t.tag=iM(z),q=uo(z,f),le;switch(j){case _:return q_(t,z),t.type=z=H0(z),le=V_(null,t,z,q,u),le;case p:return t.type=z=SC(z),le=U8(null,t,z,q,u),le;case A:return t.type=z=EC(z),le=F8(null,t,z,q,u),le;case H:{if(t.type!==t.elementType){var ie=z.propTypes;ie&&io(ie,q,"prop",un(z))}return le=z8(null,t,z,uo(z.type,q),u),le}}var me="";throw z!==null&&typeof z=="object"&&z.$$typeof===lt&&(me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+z+". "+("Lazy element type must resolve to a class or function."+me))}function lF(e,t,o,u,f){Pm(e,t),t.tag=p;var y;return tl(o)?(y=!0,K1(t)):y=!1,E0(t,f),Yw(t,o,u),X2(t,o,u,f),Y_(null,t,o,!0,y,f)}function uF(e,t,o,u){Pm(e,t);var f=t.pendingProps,y;{var b=y0(t,o,!1);y=g0(t,b)}E0(t,u);var R,z;Vo(t);{if(o.prototype&&typeof o.prototype.render=="function"){var j=un(o)||"Unknown";H_[j]||(h("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.",j,j),H_[j]=!0)}t.mode&An&&lo.recordLegacyContextWarning(t,null),ci(!0),fh.current=t,R=k0(null,t,o,f,y,u),z=O0(),ci(!1)}if(Dl(),t.flags|=Lo,typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0){var q=un(o)||"Unknown";dh[q]||(h("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.",q,q,q),dh[q]=!0)}if(typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0){{var le=un(o)||"Unknown";dh[le]||(h("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.",le,le,le),dh[le]=!0)}t.tag=p,t.memoizedState=null,t.updateQueue=null;var ie=!1;return tl(o)?(ie=!0,K1(t)):ie=!1,t.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,H2(t),Vw(t,R),X2(t,o,f,u),Y_(null,t,o,!0,ie,u)}else{if(t.tag=_,t.mode&An){Kn(!0);try{R=k0(null,t,o,f,y,u),z=O0()}finally{Kn(!1)}}return Yr()&&z&&b2(t),Aa(null,t,R,u),q_(t,o),t.child}}function q_(e,t){{if(t&&t.childContextTypes&&h("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var o="",u=Ha();u&&(o+=`
150
150
 
151
- Check the render method of \``+u+"`.");var f=u||"",y=e._debugSource;y&&(f=y.fileName+":"+y.lineNumber),I_[f]||(I_[f]=!0,h("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",o))}if(typeof t.getDerivedStateFromProps=="function"){var b=un(t)||"Unknown";j_[b]||(h("%s: Function components do not support getDerivedStateFromProps.",b),j_[b]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var R=un(t)||"Unknown";P_[R]||(h("%s: Function components do not support contextType.",R),P_[R]=!0)}}}var G_={dehydrated:null,treeContext:null,retryLane:Ft};function W_(e){return{baseLanes:e,cachePool:KB(),transitions:null}}function lF(e,t){var o=null;return{baseLanes:_t(e.baseLanes,t),cachePool:o,transitions:e.transitions}}function uF(e,t,o,u){if(t!==null){var f=t.memoizedState;if(f===null)return!1}return l_(e,rh)}function sF(e,t){return zu(e.childLanes,t)}function j8(e,t,o){var u=t.pendingProps;gM(t)&&(t.flags|=pt);var f=so.current,y=!1,b=(t.flags&pt)!==rt;if(b||uF(f,e)?(y=!0,t.flags&=~pt):(e===null||e.memoizedState!==null)&&(f=OB(f,e8)),f=D0(f),rs(t,f),e===null){R2(t);var R=t.memoizedState;if(R!==null){var z=R.dehydrated;if(z!==null)return hF(t,z)}var j=u.children,q=u.fallback;if(y){var le=cF(t,j,q,o),ie=t.child;return ie.memoizedState=W_(o),t.memoizedState=G_,le}else return Z_(t,j)}else{var me=e.memoizedState;if(me!==null){var ye=me.dehydrated;if(ye!==null)return vF(e,t,b,u,ye,me,o)}if(y){var _e=u.fallback,qe=u.children,at=dF(e,t,qe,_e,o),tt=t.child,Mt=e.child.memoizedState;return tt.memoizedState=Mt===null?W_(o):lF(Mt,o),tt.childLanes=sF(e,o),t.memoizedState=G_,at}else{var Ot=u.children,pe=fF(e,t,Ot,o);return t.memoizedState=null,pe}}}function Z_(e,t,o){var u=e.mode,f={mode:"visible",children:t},y=K_(f,u);return y.return=e,e.child=y,y}function cF(e,t,o,u){var f=e.mode,y=e.child,b={mode:"hidden",children:t},R,z;return(f&At)===ot&&y!==null?(R=y,R.childLanes=Ee,R.pendingProps=b,e.mode&ut&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=0,R.treeBaseDuration=0),z=fs(o,f,u,null)):(R=K_(b,f),z=fs(o,f,u,null)),R.return=e,z.return=e,R.sibling=z,e.child=R,z}function K_(e,t,o){return I3(e,t,Ee,null)}function I8(e,t){return Fc(e,t)}function fF(e,t,o,u){var f=e.child,y=f.sibling,b=I8(f,{mode:"visible",children:o});if((t.mode&At)===ot&&(b.lanes=u),b.return=t,b.sibling=null,y!==null){var R=t.deletions;R===null?(t.deletions=[y],t.flags|=Vt):R.push(y)}return t.child=b,b}function dF(e,t,o,u,f){var y=t.mode,b=e.child,R=b.sibling,z={mode:"hidden",children:o},j;if((y&At)===ot&&t.child!==b){var q=t.child;j=q,j.childLanes=Ee,j.pendingProps=z,t.mode&ut&&(j.actualDuration=0,j.actualStartTime=-1,j.selfBaseDuration=b.selfBaseDuration,j.treeBaseDuration=b.treeBaseDuration),t.deletions=null}else j=I8(b,z),j.subtreeFlags=b.subtreeFlags&yr;var le;return R!==null?le=Fc(R,u):(le=fs(u,y,f,null),le.flags|=pn),le.return=t,j.return=t,j.sibling=le,t.child=j,le}function Hm(e,t,o,u){u!==null&&k2(u),b0(t,e.child,null,o);var f=t.pendingProps,y=f.children,b=Z_(t,y);return b.flags|=pn,t.memoizedState=null,b}function pF(e,t,o,u,f){var y=t.mode,b={mode:"visible",children:o},R=K_(b,y),z=fs(u,y,f,null);return z.flags|=pn,R.return=t,z.return=t,R.sibling=z,t.child=R,(t.mode&At)!==ot&&b0(t,e.child,null,f),z}function hF(e,t,o){return(e.mode&At)===ot?(h("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=st):h2(t)?e.lanes=Rl:e.lanes=ua,null}function vF(e,t,o,u,f,y,b){if(o)if(t.flags&Bn){t.flags&=~Bn;var pe=N_(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Hm(e,t,b,pe)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=pt,null;var Ce=u.children,he=u.fallback,Me=pF(e,t,Ce,he,b),Ge=t.child;return Ge.memoizedState=W_(b),t.memoizedState=G_,Me}else{if(rB(),(t.mode&At)===ot)return Hm(e,t,b,null);if(h2(f)){var R,z,j;{var q=_9(f);R=q.digest,z=q.message,j=q.stack}var le;z?le=new Error(z):le=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var ie=N_(le,R,j);return Hm(e,t,b,ie)}var me=sa(b,e.childLanes);if(fo||me){var ye=Km();if(ye!==null){var _e=Mx(ye,b);if(_e!==Ft&&_e!==y.retryLane){y.retryLane=_e;var qe=cn;Ja(e,_e),Tr(ye,e,_e,qe)}}yC();var at=N_(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Hm(e,t,b,at)}else if(cw(f)){t.flags|=pt,t.child=e.child;var tt=Pz.bind(null,e);return C9(f,tt),null}else{oB(t,f,y.treeContext);var Mt=u.children,Ot=Z_(t,Mt);return Ot.flags|=$a,Ot}}}function $8(e,t,o){e.lanes=_t(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=_t(u.lanes,t)),M2(e.return,t,o)}function mF(e,t,o){for(var u=t;u!==null;){if(u.tag===N){var f=u.memoizedState;f!==null&&$8(u,o,e)}else if(u.tag===I)$8(u,o,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function yF(e){for(var t=e,o=null;t!==null;){var u=t.alternate;u!==null&&gm(u)===null&&(o=t),t=t.sibling}return o}function gF(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!$_[e])if($_[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{h('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{h('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:h('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else h('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function xF(e,t){e!==void 0&&!Um[e]&&(e!=="collapsed"&&e!=="hidden"?(Um[e]=!0,h('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Um[e]=!0,h('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function V8(e,t){{var o=or(e),u=!o&&typeof Ii(e)=="function";if(o||u){var f=o?"array":"iterable";return h("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",f,t,f),!1}}return!0}function _F(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(or(e)){for(var o=0;o<e.length;o++)if(!V8(e[o],o))return}else{var u=Ii(e);if(typeof u=="function"){var f=u.call(e);if(f)for(var y=f.next(),b=0;!y.done;y=f.next()){if(!V8(y.value,b))return;b++}}else h('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function Q_(e,t,o,u,f){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:f}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=o,y.tailMode=f)}function Y8(e,t,o){var u=t.pendingProps,f=u.revealOrder,y=u.tail,b=u.children;gF(f),xF(y,f),_F(b,f),Aa(e,t,b,o);var R=so.current,z=l_(R,rh);if(z)R=u_(R,rh),t.flags|=pt;else{var j=e!==null&&(e.flags&pt)!==rt;j&&mF(t,t.child,o),R=D0(R)}if(rs(t,R),(t.mode&At)===ot)t.memoizedState=null;else switch(f){case"forwards":{var q=yF(t.child),le;q===null?(le=t.child,t.child=null):(le=q.sibling,q.sibling=null),Q_(t,!1,le,q,y);break}case"backwards":{var ie=null,me=t.child;for(t.child=null;me!==null;){var ye=me.alternate;if(ye!==null&&gm(ye)===null){t.child=me;break}var _e=me.sibling;me.sibling=ie,ie=me,me=_e}Q_(t,!0,ie,null,y);break}case"together":{Q_(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function CF(e,t,o){a_(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=b0(t,null,u,o):Aa(e,t,u,o),t.child}var q8=!1;function SF(e,t,o){var u=t.type,f=u._context,y=t.pendingProps,b=t.memoizedProps,R=y.value;{"value"in y||q8||(q8=!0,h("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var z=t.type.propTypes;z&&io(z,y,"prop","Context.Provider")}if(Fw(t,f,R),b!==null){var j=b.value;if(Ke(j,R)){if(b.children===y.children&&!W1())return Xl(e,t,o)}else mB(t,f,o)}var q=y.children;return Aa(e,t,q,o),t.child}var G8=!1;function EF(e,t,o){var u=t.type;u._context===void 0?u!==u.Consumer&&(G8||(G8=!0,h("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var f=t.pendingProps,y=f.children;typeof y!="function"&&h("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."),E0(t,o);var b=pr(u);Vo(t);var R;return fh.current=t,ci(!0),R=y(b),ci(!1),Dl(),t.flags|=Lo,Aa(e,t,R,o),t.child}function ph(){fo=!0}function Pm(e,t){(t.mode&At)===ot&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=pn)}function Xl(e,t,o){return e!==null&&(t.dependencies=e.dependencies),A8(),wh(t.lanes),sa(o,t.childLanes)?(AB(e,t),t.child):null}function bF(e,t,o){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,o.index=t.index,o.sibling=t.sibling,o.return=t.return,o.ref=t.ref,t===u.child)u.child=o;else{var f=u.child;if(f===null)throw new Error("Expected parent to have a child.");for(;f.sibling!==t;)if(f=f.sibling,f===null)throw new Error("Expected to find the previous sibling.");f.sibling=o}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Vt):y.push(e),o.flags|=pn,o}}function X_(e,t){var o=e.lanes;return!!sa(o,t)}function wF(e,t,o){switch(t.tag){case w:H8(t),t.stateNode,C0();break;case E:Xw(t);break;case p:{var u=t.type;tl(u)&&K1(t);break}case C:a_(t,t.stateNode.containerInfo);break;case B:{var f=t.memoizedProps.value,y=t.type._context;Fw(t,y,f);break}case F:{var b=sa(o,t.childLanes);b&&(t.flags|=xt);{var R=t.stateNode;R.effectDuration=0,R.passiveEffectDuration=0}}break;case N:{var z=t.memoizedState;if(z!==null){if(z.dehydrated!==null)return rs(t,D0(so.current)),t.flags|=pt,null;var j=t.child,q=j.childLanes;if(sa(o,q))return j8(e,t,o);rs(t,D0(so.current));var le=Xl(e,t,o);return le!==null?le.sibling:null}else rs(t,D0(so.current));break}case I:{var ie=(e.flags&pt)!==rt,me=sa(o,t.childLanes);if(ie){if(me)return Y8(e,t,o);t.flags|=pt}var ye=t.memoizedState;if(ye!==null&&(ye.rendering=null,ye.tail=null,ye.lastEffect=null),rs(t,so.current),me)break;return null}case W:case ne:return t.lanes=Ee,N8(e,t,o)}return Xl(e,t,o)}function W8(e,t,o){if(t._debugNeedsRemount&&e!==null)return bF(e,t,AC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,f=t.pendingProps;if(u!==f||W1()||t.type!==e.type)fo=!0;else{var y=X_(e,o);if(!y&&(t.flags&pt)===rt)return fo=!1,wF(e,t,o);(e.flags&Zs)!==rt?fo=!0:fo=!1}}else if(fo=!1,Yr()&&Q9(t)){var b=t.index,R=X9();Cw(t,R,b)}switch(t.lanes=Ee,t.tag){case x:return oF(e,t,t.type,o);case Y:{var z=t.elementType;return aF(e,t,z,o)}case _:{var j=t.type,q=t.pendingProps,le=t.elementType===j?q:uo(j,q);return V_(e,t,j,le,o)}case p:{var ie=t.type,me=t.pendingProps,ye=t.elementType===ie?me:uo(ie,me);return U8(e,t,ie,ye,o)}case w:return tF(e,t,o);case E:return nF(e,t,o);case T:return rF(e,t);case N:return j8(e,t,o);case C:return CF(e,t,o);case A:{var _e=t.type,qe=t.pendingProps,at=t.elementType===_e?qe:uo(_e,qe);return F8(e,t,_e,at,o)}case k:return XB(e,t,o);case O:return JB(e,t,o);case F:return eF(e,t,o);case B:return SF(e,t,o);case M:return EF(e,t,o);case H:{var tt=t.type,Mt=t.pendingProps,Ot=uo(tt,Mt);if(t.type!==t.elementType){var pe=tt.propTypes;pe&&io(pe,Ot,"prop",un(tt))}return Ot=uo(tt.type,Ot),z8(e,t,tt,Ot,o)}case L:return M8(e,t,t.type,t.pendingProps,o);case Q:{var Ce=t.type,he=t.pendingProps,Me=t.elementType===Ce?he:uo(Ce,he);return iF(e,t,Ce,Me,o)}case I:return Y8(e,t,o);case $:break;case W:return N8(e,t,o)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function B0(e){e.flags|=xt}function Z8(e){e.flags|=na,e.flags|=Wd}var K8,J_,Q8,X8;K8=function(e,t,o,u){for(var f=t.child;f!==null;){if(f.tag===E||f.tag===T)WO(e,f.stateNode);else if(f.tag!==C){if(f.child!==null){f.child.return=f,f=f.child;continue}}if(f===t)return;for(;f.sibling===null;){if(f.return===null||f.return===t)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},J_=function(e,t){},Q8=function(e,t,o,u,f){var y=e.memoizedProps;if(y!==u){var b=t.stateNode,R=i_(),z=KO(b,o,y,u,f,R);t.updateQueue=z,z&&B0(t)}},X8=function(e,t,o,u){o!==u&&B0(t)};function hh(e,t){if(!Yr())switch(e.tailMode){case"hidden":{for(var o=e.tail,u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var f=e.tail,y=null;f!==null;)f.alternate!==null&&(y=f),f=f.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function Gr(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=Ee,u=rt;if(t){if((e.mode&ut)!==ot){for(var z=e.selfBaseDuration,j=e.child;j!==null;)o=_t(o,_t(j.lanes,j.childLanes)),u|=j.subtreeFlags&yr,u|=j.flags&yr,z+=j.treeBaseDuration,j=j.sibling;e.treeBaseDuration=z}else for(var q=e.child;q!==null;)o=_t(o,_t(q.lanes,q.childLanes)),u|=q.subtreeFlags&yr,u|=q.flags&yr,q.return=e,q=q.sibling;e.subtreeFlags|=u}else{if((e.mode&ut)!==ot){for(var f=e.actualDuration,y=e.selfBaseDuration,b=e.child;b!==null;)o=_t(o,_t(b.lanes,b.childLanes)),u|=b.subtreeFlags,u|=b.flags,f+=b.actualDuration,y+=b.treeBaseDuration,b=b.sibling;e.actualDuration=f,e.treeBaseDuration=y}else for(var R=e.child;R!==null;)o=_t(o,_t(R.lanes,R.childLanes)),u|=R.subtreeFlags,u|=R.flags,R.return=e,R=R.sibling;e.subtreeFlags|=u}return e.childLanes=o,t}function DF(e,t,o){if(fB()&&(t.mode&At)!==ot&&(t.flags&pt)===rt)return Aw(t),C0(),t.flags|=Bn|Sa|ur,!1;var u=tm(t);if(o!==null&&o.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(sB(t),Gr(t),(t.mode&ut)!==ot){var f=o!==null;if(f){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(C0(),(t.flags&pt)===rt&&(t.memoizedState=null),t.flags|=xt,Gr(t),(t.mode&ut)!==ot){var b=o!==null;if(b){var R=t.child;R!==null&&(t.treeBaseDuration-=R.treeBaseDuration)}}return!1}else return Rw(),!0}function J8(e,t,o){var u=t.pendingProps;switch(w2(t),t.tag){case x:case Y:case L:case _:case A:case k:case O:case F:case M:case H:return Gr(t),null;case p:{var f=t.type;return tl(f)&&Z1(t),Gr(t),null}case w:{var y=t.stateNode;if(w0(t),C2(t),c_(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var b=tm(t);if(b)B0(t);else if(e!==null){var R=e.memoizedState;(!R.isDehydrated||(t.flags&Bn)!==rt)&&(t.flags|=Ia,Rw())}}return J_(e,t),Gr(t),null}case E:{o_(t);var z=Qw(),j=t.type;if(e!==null&&t.stateNode!=null)Q8(e,t,j,u,z),e.ref!==t.ref&&Z8(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Gr(t),null}var q=i_(),le=tm(t);if(le)lB(t,z,q)&&B0(t);else{var ie=GO(j,u,z,q,t);K8(ie,t,!1,!1),t.stateNode=ie,ZO(ie,j,u,z)&&B0(t)}t.ref!==null&&Z8(t)}return Gr(t),null}case T:{var me=u;if(e&&t.stateNode!=null){var ye=e.memoizedProps;X8(e,t,ye,me)}else{if(typeof me!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var _e=Qw(),qe=i_(),at=tm(t);at?uB(t)&&B0(t):t.stateNode=QO(me,_e,qe,t)}return Gr(t),null}case N:{T0(t);var tt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Mt=DF(e,t,tt);if(!Mt)return t.flags&ur?t:null}if((t.flags&pt)!==rt)return t.lanes=o,(t.mode&ut)!==ot&&M_(t),t;var Ot=tt!==null,pe=e!==null&&e.memoizedState!==null;if(Ot!==pe&&Ot){var Ce=t.child;if(Ce.flags|=Uo,(t.mode&At)!==ot){var he=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!G);he||l_(so.current,e8)?Tz():yC()}}var Me=t.updateQueue;if(Me!==null&&(t.flags|=xt),Gr(t),(t.mode&ut)!==ot&&Ot){var Ge=t.child;Ge!==null&&(t.treeBaseDuration-=Ge.treeBaseDuration)}return null}case C:return w0(t),J_(e,t),e===null&&V9(t.stateNode.containerInfo),Gr(t),null;case B:var $e=t.type._context;return z2($e,t),Gr(t),null;case Q:{var dt=t.type;return tl(dt)&&Z1(t),Gr(t),null}case I:{T0(t);var mt=t.memoizedState;if(mt===null)return Gr(t),null;var an=(t.flags&pt)!==rt,It=mt.rendering;if(It===null)if(an)hh(mt,!1);else{var tr=Rz()&&(e===null||(e.flags&pt)===rt);if(!tr)for(var $t=t.child;$t!==null;){var Gn=gm($t);if(Gn!==null){an=!0,t.flags|=pt,hh(mt,!1);var pa=Gn.updateQueue;return pa!==null&&(t.updateQueue=pa,t.flags|=xt),t.subtreeFlags=rt,RB(t,o),rs(t,u_(so.current,rh)),t.child}$t=$t.sibling}mt.tail!==null&&Tn()>_3()&&(t.flags|=pt,an=!0,hh(mt,!1),t.lanes=lp)}else{if(!an){var Xr=gm(It);if(Xr!==null){t.flags|=pt,an=!0;var gi=Xr.updateQueue;if(gi!==null&&(t.updateQueue=gi,t.flags|=xt),hh(mt,!0),mt.tail===null&&mt.tailMode==="hidden"&&!It.alternate&&!Yr())return Gr(t),null}else Tn()*2-mt.renderingStartTime>_3()&&o!==ua&&(t.flags|=pt,an=!0,hh(mt,!1),t.lanes=lp)}if(mt.isBackwards)It.sibling=t.child,t.child=It;else{var Oa=mt.last;Oa!==null?Oa.sibling=It:t.child=It,mt.last=It}}if(mt.tail!==null){var Ba=mt.tail;mt.rendering=Ba,mt.tail=Ba.sibling,mt.renderingStartTime=Tn(),Ba.sibling=null;var ha=so.current;return an?ha=u_(ha,rh):ha=D0(ha),rs(t,ha),Ba}return Gr(t),null}case $:break;case W:case ne:{mC(t);var ru=t.memoizedState,P0=ru!==null;if(e!==null){var kh=e.memoizedState,sl=kh!==null;sl!==P0&&!Z&&(t.flags|=Uo)}return!P0||(t.mode&At)===ot?Gr(t):sa(ul,ua)&&(Gr(t),t.subtreeFlags&(pn|xt)&&(t.flags|=Uo)),null}case J:return null;case K:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function TF(e,t,o){switch(w2(t),t.tag){case p:{var u=t.type;tl(u)&&Z1(t);var f=t.flags;return f&ur?(t.flags=f&~ur|pt,(t.mode&ut)!==ot&&M_(t),t):null}case w:{t.stateNode,w0(t),C2(t),c_();var y=t.flags;return(y&ur)!==rt&&(y&pt)===rt?(t.flags=y&~ur|pt,t):null}case E:return o_(t),null;case N:{T0(t);var b=t.memoizedState;if(b!==null&&b.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");C0()}var R=t.flags;return R&ur?(t.flags=R&~ur|pt,(t.mode&ut)!==ot&&M_(t),t):null}case I:return T0(t),null;case C:return w0(t),null;case B:var z=t.type._context;return z2(z,t),null;case W:case ne:return mC(t),null;case J:return null;default:return null}}function e3(e,t,o){switch(w2(t),t.tag){case p:{var u=t.type.childContextTypes;u!=null&&Z1(t);break}case w:{t.stateNode,w0(t),C2(t),c_();break}case E:{o_(t);break}case C:w0(t);break;case N:T0(t);break;case I:T0(t);break;case B:var f=t.type._context;z2(f,t);break;case W:case ne:mC(t);break}}var t3=null;t3=new Set;var jm=!1,Wr=!1,AF=typeof WeakSet=="function"?WeakSet:Set,Qe=null,F0=null,z0=null;function RF(e){bl(null,function(){throw e}),qd()}var kF=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ut)try{ol(),t.componentWillUnmount()}finally{il(e)}else t.componentWillUnmount()};function n3(e,t){try{os(Cr,e)}catch(o){yn(e,t,o)}}function eC(e,t,o){try{kF(e,o)}catch(u){yn(e,t,u)}}function OF(e,t,o){try{o.componentDidMount()}catch(u){yn(e,t,u)}}function r3(e,t){try{i3(e)}catch(o){yn(e,t,o)}}function M0(e,t){var o=e.ref;if(o!==null)if(typeof o=="function"){var u;try{if(be&&Be&&e.mode&ut)try{ol(),u=o(null)}finally{il(e)}else u=o(null)}catch(f){yn(e,t,f)}typeof u=="function"&&h("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",yt(e))}else o.current=null}function Im(e,t,o){try{o()}catch(u){yn(e,t,u)}}var a3=!1;function BF(e,t){YO(e.containerInfo),Qe=t,FF();var o=a3;return a3=!1,o}function FF(){for(;Qe!==null;){var e=Qe,t=e.child;(e.subtreeFlags&Du)!==rt&&t!==null?(t.return=e,Qe=t):zF()}}function zF(){for(;Qe!==null;){var e=Qe;nn(e);try{MF(e)}catch(o){yn(e,e.return,o)}Zn();var t=e.sibling;if(t!==null){t.return=e.return,Qe=t;return}Qe=e.return}}function MF(e){var t=e.alternate,o=e.flags;if((o&Ia)!==rt){switch(nn(e),e.tag){case _:case A:case L:break;case p:{if(t!==null){var u=t.memoizedProps,f=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!Ac&&(y.props!==e.memoizedProps&&h("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",yt(e)||"instance"),y.state!==e.memoizedState&&h("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",yt(e)||"instance"));var b=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:uo(e.type,u),f);{var R=t3;b===void 0&&!R.has(e.type)&&(R.add(e.type),h("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",yt(e)))}y.__reactInternalSnapshotBeforeUpdate=b}break}case w:{{var z=e.stateNode;m9(z.containerInfo)}break}case E:case T:case C:case Q:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Zn()}}function po(e,t,o){var u=t.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var y=f.next,b=y;do{if((b.tag&e)===e){var R=b.destroy;b.destroy=void 0,R!==void 0&&((e&qr)!==ei?bf(t):(e&Cr)!==ei&&wf(t),(e&nl)!==ei&&Th(!0),Im(t,o,R),(e&nl)!==ei&&Th(!1),(e&qr)!==ei?e1():(e&Cr)!==ei&&Tu())}b=b.next}while(b!==y)}}function os(e,t){var o=t.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next,y=f;do{if((y.tag&e)===e){(e&qr)!==ei?Jv(t):(e&Cr)!==ei&&t1(t);var b=y.create;(e&nl)!==ei&&Th(!0),y.destroy=b(),(e&nl)!==ei&&Th(!1),(e&qr)!==ei?ap():(e&Cr)!==ei&&n1();{var R=y.destroy;if(R!==void 0&&typeof R!="function"){var z=void 0;(y.tag&Cr)!==rt?z="useLayoutEffect":(y.tag&nl)!==rt?z="useInsertionEffect":z="useEffect";var j=void 0;R===null?j=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof R.then=="function"?j=`
151
+ Check the render method of \``+u+"`.");var f=u||"",y=e._debugSource;y&&(f=y.fileName+":"+y.lineNumber),I_[f]||(I_[f]=!0,h("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",o))}if(typeof t.getDerivedStateFromProps=="function"){var b=un(t)||"Unknown";j_[b]||(h("%s: Function components do not support getDerivedStateFromProps.",b),j_[b]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var R=un(t)||"Unknown";P_[R]||(h("%s: Function components do not support contextType.",R),P_[R]=!0)}}}var G_={dehydrated:null,treeContext:null,retryLane:Ft};function W_(e){return{baseLanes:e,cachePool:XB(),transitions:null}}function sF(e,t){var o=null;return{baseLanes:_t(e.baseLanes,t),cachePool:o,transitions:e.transitions}}function cF(e,t,o,u){if(t!==null){var f=t.memoizedState;if(f===null)return!1}return l_(e,rh)}function fF(e,t){return zu(e.childLanes,t)}function j8(e,t,o){var u=t.pendingProps;_M(t)&&(t.flags|=pt);var f=so.current,y=!1,b=(t.flags&pt)!==rt;if(b||cF(f,e)?(y=!0,t.flags&=~pt):(e===null||e.memoizedState!==null)&&(f=FB(f,e8)),f=D0(f),rs(t,f),e===null){R2(t);var R=t.memoizedState;if(R!==null){var z=R.dehydrated;if(z!==null)return mF(t,z)}var j=u.children,q=u.fallback;if(y){var le=dF(t,j,q,o),ie=t.child;return ie.memoizedState=W_(o),t.memoizedState=G_,le}else return Z_(t,j)}else{var me=e.memoizedState;if(me!==null){var ye=me.dehydrated;if(ye!==null)return yF(e,t,b,u,ye,me,o)}if(y){var _e=u.fallback,qe=u.children,at=hF(e,t,qe,_e,o),tt=t.child,Mt=e.child.memoizedState;return tt.memoizedState=Mt===null?W_(o):sF(Mt,o),tt.childLanes=fF(e,o),t.memoizedState=G_,at}else{var Ot=u.children,pe=pF(e,t,Ot,o);return t.memoizedState=null,pe}}}function Z_(e,t,o){var u=e.mode,f={mode:"visible",children:t},y=K_(f,u);return y.return=e,e.child=y,y}function dF(e,t,o,u){var f=e.mode,y=e.child,b={mode:"hidden",children:t},R,z;return(f&At)===ot&&y!==null?(R=y,R.childLanes=Ee,R.pendingProps=b,e.mode&ut&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=0,R.treeBaseDuration=0),z=fs(o,f,u,null)):(R=K_(b,f),z=fs(o,f,u,null)),R.return=e,z.return=e,R.sibling=z,e.child=R,z}function K_(e,t,o){return I3(e,t,Ee,null)}function I8(e,t){return Fc(e,t)}function pF(e,t,o,u){var f=e.child,y=f.sibling,b=I8(f,{mode:"visible",children:o});if((t.mode&At)===ot&&(b.lanes=u),b.return=t,b.sibling=null,y!==null){var R=t.deletions;R===null?(t.deletions=[y],t.flags|=Vt):R.push(y)}return t.child=b,b}function hF(e,t,o,u,f){var y=t.mode,b=e.child,R=b.sibling,z={mode:"hidden",children:o},j;if((y&At)===ot&&t.child!==b){var q=t.child;j=q,j.childLanes=Ee,j.pendingProps=z,t.mode&ut&&(j.actualDuration=0,j.actualStartTime=-1,j.selfBaseDuration=b.selfBaseDuration,j.treeBaseDuration=b.treeBaseDuration),t.deletions=null}else j=I8(b,z),j.subtreeFlags=b.subtreeFlags&yr;var le;return R!==null?le=Fc(R,u):(le=fs(u,y,f,null),le.flags|=pn),le.return=t,j.return=t,j.sibling=le,t.child=j,le}function Hm(e,t,o,u){u!==null&&k2(u),b0(t,e.child,null,o);var f=t.pendingProps,y=f.children,b=Z_(t,y);return b.flags|=pn,t.memoizedState=null,b}function vF(e,t,o,u,f){var y=t.mode,b={mode:"visible",children:o},R=K_(b,y),z=fs(u,y,f,null);return z.flags|=pn,R.return=t,z.return=t,R.sibling=z,t.child=R,(t.mode&At)!==ot&&b0(t,e.child,null,f),z}function mF(e,t,o){return(e.mode&At)===ot?(h("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=st):h2(t)?e.lanes=Rl:e.lanes=ua,null}function yF(e,t,o,u,f,y,b){if(o)if(t.flags&Bn){t.flags&=~Bn;var pe=N_(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Hm(e,t,b,pe)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=pt,null;var Ce=u.children,he=u.fallback,Me=vF(e,t,Ce,he,b),Ge=t.child;return Ge.memoizedState=W_(b),t.memoizedState=G_,Me}else{if(iB(),(t.mode&At)===ot)return Hm(e,t,b,null);if(h2(f)){var R,z,j;{var q=S9(f);R=q.digest,z=q.message,j=q.stack}var le;z?le=new Error(z):le=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var ie=N_(le,R,j);return Hm(e,t,b,ie)}var me=sa(b,e.childLanes);if(fo||me){var ye=Km();if(ye!==null){var _e=Mx(ye,b);if(_e!==Ft&&_e!==y.retryLane){y.retryLane=_e;var qe=cn;Ja(e,_e),Tr(ye,e,_e,qe)}}yC();var at=N_(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Hm(e,t,b,at)}else if(cw(f)){t.flags|=pt,t.child=e.child;var tt=Iz.bind(null,e);return E9(f,tt),null}else{uB(t,f,y.treeContext);var Mt=u.children,Ot=Z_(t,Mt);return Ot.flags|=$a,Ot}}}function $8(e,t,o){e.lanes=_t(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=_t(u.lanes,t)),M2(e.return,t,o)}function gF(e,t,o){for(var u=t;u!==null;){if(u.tag===N){var f=u.memoizedState;f!==null&&$8(u,o,e)}else if(u.tag===I)$8(u,o,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function xF(e){for(var t=e,o=null;t!==null;){var u=t.alternate;u!==null&&gm(u)===null&&(o=t),t=t.sibling}return o}function _F(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!$_[e])if($_[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{h('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{h('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:h('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else h('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function CF(e,t){e!==void 0&&!Um[e]&&(e!=="collapsed"&&e!=="hidden"?(Um[e]=!0,h('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Um[e]=!0,h('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function V8(e,t){{var o=or(e),u=!o&&typeof Ii(e)=="function";if(o||u){var f=o?"array":"iterable";return h("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",f,t,f),!1}}return!0}function SF(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(or(e)){for(var o=0;o<e.length;o++)if(!V8(e[o],o))return}else{var u=Ii(e);if(typeof u=="function"){var f=u.call(e);if(f)for(var y=f.next(),b=0;!y.done;y=f.next()){if(!V8(y.value,b))return;b++}}else h('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function Q_(e,t,o,u,f){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:f}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=o,y.tailMode=f)}function Y8(e,t,o){var u=t.pendingProps,f=u.revealOrder,y=u.tail,b=u.children;_F(f),CF(y,f),SF(b,f),Aa(e,t,b,o);var R=so.current,z=l_(R,rh);if(z)R=u_(R,rh),t.flags|=pt;else{var j=e!==null&&(e.flags&pt)!==rt;j&&gF(t,t.child,o),R=D0(R)}if(rs(t,R),(t.mode&At)===ot)t.memoizedState=null;else switch(f){case"forwards":{var q=xF(t.child),le;q===null?(le=t.child,t.child=null):(le=q.sibling,q.sibling=null),Q_(t,!1,le,q,y);break}case"backwards":{var ie=null,me=t.child;for(t.child=null;me!==null;){var ye=me.alternate;if(ye!==null&&gm(ye)===null){t.child=me;break}var _e=me.sibling;me.sibling=ie,ie=me,me=_e}Q_(t,!0,ie,null,y);break}case"together":{Q_(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function EF(e,t,o){a_(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=b0(t,null,u,o):Aa(e,t,u,o),t.child}var q8=!1;function bF(e,t,o){var u=t.type,f=u._context,y=t.pendingProps,b=t.memoizedProps,R=y.value;{"value"in y||q8||(q8=!0,h("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var z=t.type.propTypes;z&&io(z,y,"prop","Context.Provider")}if(Fw(t,f,R),b!==null){var j=b.value;if(Ke(j,R)){if(b.children===y.children&&!W1())return Xl(e,t,o)}else gB(t,f,o)}var q=y.children;return Aa(e,t,q,o),t.child}var G8=!1;function wF(e,t,o){var u=t.type;u._context===void 0?u!==u.Consumer&&(G8||(G8=!0,h("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var f=t.pendingProps,y=f.children;typeof y!="function"&&h("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."),E0(t,o);var b=pr(u);Vo(t);var R;return fh.current=t,ci(!0),R=y(b),ci(!1),Dl(),t.flags|=Lo,Aa(e,t,R,o),t.child}function ph(){fo=!0}function Pm(e,t){(t.mode&At)===ot&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=pn)}function Xl(e,t,o){return e!==null&&(t.dependencies=e.dependencies),A8(),wh(t.lanes),sa(o,t.childLanes)?(kB(e,t),t.child):null}function DF(e,t,o){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,o.index=t.index,o.sibling=t.sibling,o.return=t.return,o.ref=t.ref,t===u.child)u.child=o;else{var f=u.child;if(f===null)throw new Error("Expected parent to have a child.");for(;f.sibling!==t;)if(f=f.sibling,f===null)throw new Error("Expected to find the previous sibling.");f.sibling=o}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Vt):y.push(e),o.flags|=pn,o}}function X_(e,t){var o=e.lanes;return!!sa(o,t)}function TF(e,t,o){switch(t.tag){case w:H8(t),t.stateNode,C0();break;case E:Xw(t);break;case p:{var u=t.type;tl(u)&&K1(t);break}case C:a_(t,t.stateNode.containerInfo);break;case B:{var f=t.memoizedProps.value,y=t.type._context;Fw(t,y,f);break}case F:{var b=sa(o,t.childLanes);b&&(t.flags|=xt);{var R=t.stateNode;R.effectDuration=0,R.passiveEffectDuration=0}}break;case N:{var z=t.memoizedState;if(z!==null){if(z.dehydrated!==null)return rs(t,D0(so.current)),t.flags|=pt,null;var j=t.child,q=j.childLanes;if(sa(o,q))return j8(e,t,o);rs(t,D0(so.current));var le=Xl(e,t,o);return le!==null?le.sibling:null}else rs(t,D0(so.current));break}case I:{var ie=(e.flags&pt)!==rt,me=sa(o,t.childLanes);if(ie){if(me)return Y8(e,t,o);t.flags|=pt}var ye=t.memoizedState;if(ye!==null&&(ye.rendering=null,ye.tail=null,ye.lastEffect=null),rs(t,so.current),me)break;return null}case W:case ne:return t.lanes=Ee,N8(e,t,o)}return Xl(e,t,o)}function W8(e,t,o){if(t._debugNeedsRemount&&e!==null)return DF(e,t,AC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,f=t.pendingProps;if(u!==f||W1()||t.type!==e.type)fo=!0;else{var y=X_(e,o);if(!y&&(t.flags&pt)===rt)return fo=!1,TF(e,t,o);(e.flags&Zs)!==rt?fo=!0:fo=!1}}else if(fo=!1,Yr()&&J9(t)){var b=t.index,R=eB();Cw(t,R,b)}switch(t.lanes=Ee,t.tag){case x:return uF(e,t,t.type,o);case Y:{var z=t.elementType;return oF(e,t,z,o)}case _:{var j=t.type,q=t.pendingProps,le=t.elementType===j?q:uo(j,q);return V_(e,t,j,le,o)}case p:{var ie=t.type,me=t.pendingProps,ye=t.elementType===ie?me:uo(ie,me);return U8(e,t,ie,ye,o)}case w:return rF(e,t,o);case E:return aF(e,t,o);case T:return iF(e,t);case N:return j8(e,t,o);case C:return EF(e,t,o);case A:{var _e=t.type,qe=t.pendingProps,at=t.elementType===_e?qe:uo(_e,qe);return F8(e,t,_e,at,o)}case k:return eF(e,t,o);case O:return tF(e,t,o);case F:return nF(e,t,o);case B:return bF(e,t,o);case M:return wF(e,t,o);case H:{var tt=t.type,Mt=t.pendingProps,Ot=uo(tt,Mt);if(t.type!==t.elementType){var pe=tt.propTypes;pe&&io(pe,Ot,"prop",un(tt))}return Ot=uo(tt.type,Ot),z8(e,t,tt,Ot,o)}case L:return M8(e,t,t.type,t.pendingProps,o);case Q:{var Ce=t.type,he=t.pendingProps,Me=t.elementType===Ce?he:uo(Ce,he);return lF(e,t,Ce,Me,o)}case I:return Y8(e,t,o);case $:break;case W:return N8(e,t,o)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function B0(e){e.flags|=xt}function Z8(e){e.flags|=na,e.flags|=Wd}var K8,J_,Q8,X8;K8=function(e,t,o,u){for(var f=t.child;f!==null;){if(f.tag===E||f.tag===T)KO(e,f.stateNode);else if(f.tag!==C){if(f.child!==null){f.child.return=f,f=f.child;continue}}if(f===t)return;for(;f.sibling===null;){if(f.return===null||f.return===t)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},J_=function(e,t){},Q8=function(e,t,o,u,f){var y=e.memoizedProps;if(y!==u){var b=t.stateNode,R=i_(),z=XO(b,o,y,u,f,R);t.updateQueue=z,z&&B0(t)}},X8=function(e,t,o,u){o!==u&&B0(t)};function hh(e,t){if(!Yr())switch(e.tailMode){case"hidden":{for(var o=e.tail,u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var f=e.tail,y=null;f!==null;)f.alternate!==null&&(y=f),f=f.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function Gr(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=Ee,u=rt;if(t){if((e.mode&ut)!==ot){for(var z=e.selfBaseDuration,j=e.child;j!==null;)o=_t(o,_t(j.lanes,j.childLanes)),u|=j.subtreeFlags&yr,u|=j.flags&yr,z+=j.treeBaseDuration,j=j.sibling;e.treeBaseDuration=z}else for(var q=e.child;q!==null;)o=_t(o,_t(q.lanes,q.childLanes)),u|=q.subtreeFlags&yr,u|=q.flags&yr,q.return=e,q=q.sibling;e.subtreeFlags|=u}else{if((e.mode&ut)!==ot){for(var f=e.actualDuration,y=e.selfBaseDuration,b=e.child;b!==null;)o=_t(o,_t(b.lanes,b.childLanes)),u|=b.subtreeFlags,u|=b.flags,f+=b.actualDuration,y+=b.treeBaseDuration,b=b.sibling;e.actualDuration=f,e.treeBaseDuration=y}else for(var R=e.child;R!==null;)o=_t(o,_t(R.lanes,R.childLanes)),u|=R.subtreeFlags,u|=R.flags,R.return=e,R=R.sibling;e.subtreeFlags|=u}return e.childLanes=o,t}function AF(e,t,o){if(pB()&&(t.mode&At)!==ot&&(t.flags&pt)===rt)return Aw(t),C0(),t.flags|=Bn|Sa|ur,!1;var u=tm(t);if(o!==null&&o.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(fB(t),Gr(t),(t.mode&ut)!==ot){var f=o!==null;if(f){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(C0(),(t.flags&pt)===rt&&(t.memoizedState=null),t.flags|=xt,Gr(t),(t.mode&ut)!==ot){var b=o!==null;if(b){var R=t.child;R!==null&&(t.treeBaseDuration-=R.treeBaseDuration)}}return!1}else return Rw(),!0}function J8(e,t,o){var u=t.pendingProps;switch(w2(t),t.tag){case x:case Y:case L:case _:case A:case k:case O:case F:case M:case H:return Gr(t),null;case p:{var f=t.type;return tl(f)&&Z1(t),Gr(t),null}case w:{var y=t.stateNode;if(w0(t),C2(t),c_(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var b=tm(t);if(b)B0(t);else if(e!==null){var R=e.memoizedState;(!R.isDehydrated||(t.flags&Bn)!==rt)&&(t.flags|=Ia,Rw())}}return J_(e,t),Gr(t),null}case E:{o_(t);var z=Qw(),j=t.type;if(e!==null&&t.stateNode!=null)Q8(e,t,j,u,z),e.ref!==t.ref&&Z8(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Gr(t),null}var q=i_(),le=tm(t);if(le)sB(t,z,q)&&B0(t);else{var ie=ZO(j,u,z,q,t);K8(ie,t,!1,!1),t.stateNode=ie,QO(ie,j,u,z)&&B0(t)}t.ref!==null&&Z8(t)}return Gr(t),null}case T:{var me=u;if(e&&t.stateNode!=null){var ye=e.memoizedProps;X8(e,t,ye,me)}else{if(typeof me!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var _e=Qw(),qe=i_(),at=tm(t);at?cB(t)&&B0(t):t.stateNode=JO(me,_e,qe,t)}return Gr(t),null}case N:{T0(t);var tt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Mt=AF(e,t,tt);if(!Mt)return t.flags&ur?t:null}if((t.flags&pt)!==rt)return t.lanes=o,(t.mode&ut)!==ot&&M_(t),t;var Ot=tt!==null,pe=e!==null&&e.memoizedState!==null;if(Ot!==pe&&Ot){var Ce=t.child;if(Ce.flags|=Uo,(t.mode&At)!==ot){var he=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!G);he||l_(so.current,e8)?Rz():yC()}}var Me=t.updateQueue;if(Me!==null&&(t.flags|=xt),Gr(t),(t.mode&ut)!==ot&&Ot){var Ge=t.child;Ge!==null&&(t.treeBaseDuration-=Ge.treeBaseDuration)}return null}case C:return w0(t),J_(e,t),e===null&&q9(t.stateNode.containerInfo),Gr(t),null;case B:var $e=t.type._context;return z2($e,t),Gr(t),null;case Q:{var dt=t.type;return tl(dt)&&Z1(t),Gr(t),null}case I:{T0(t);var mt=t.memoizedState;if(mt===null)return Gr(t),null;var an=(t.flags&pt)!==rt,It=mt.rendering;if(It===null)if(an)hh(mt,!1);else{var tr=Oz()&&(e===null||(e.flags&pt)===rt);if(!tr)for(var $t=t.child;$t!==null;){var Gn=gm($t);if(Gn!==null){an=!0,t.flags|=pt,hh(mt,!1);var pa=Gn.updateQueue;return pa!==null&&(t.updateQueue=pa,t.flags|=xt),t.subtreeFlags=rt,OB(t,o),rs(t,u_(so.current,rh)),t.child}$t=$t.sibling}mt.tail!==null&&Tn()>_3()&&(t.flags|=pt,an=!0,hh(mt,!1),t.lanes=lp)}else{if(!an){var Xr=gm(It);if(Xr!==null){t.flags|=pt,an=!0;var gi=Xr.updateQueue;if(gi!==null&&(t.updateQueue=gi,t.flags|=xt),hh(mt,!0),mt.tail===null&&mt.tailMode==="hidden"&&!It.alternate&&!Yr())return Gr(t),null}else Tn()*2-mt.renderingStartTime>_3()&&o!==ua&&(t.flags|=pt,an=!0,hh(mt,!1),t.lanes=lp)}if(mt.isBackwards)It.sibling=t.child,t.child=It;else{var Oa=mt.last;Oa!==null?Oa.sibling=It:t.child=It,mt.last=It}}if(mt.tail!==null){var Ba=mt.tail;mt.rendering=Ba,mt.tail=Ba.sibling,mt.renderingStartTime=Tn(),Ba.sibling=null;var ha=so.current;return an?ha=u_(ha,rh):ha=D0(ha),rs(t,ha),Ba}return Gr(t),null}case $:break;case W:case ne:{mC(t);var ru=t.memoizedState,P0=ru!==null;if(e!==null){var kh=e.memoizedState,sl=kh!==null;sl!==P0&&!Z&&(t.flags|=Uo)}return!P0||(t.mode&At)===ot?Gr(t):sa(ul,ua)&&(Gr(t),t.subtreeFlags&(pn|xt)&&(t.flags|=Uo)),null}case J:return null;case K:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function RF(e,t,o){switch(w2(t),t.tag){case p:{var u=t.type;tl(u)&&Z1(t);var f=t.flags;return f&ur?(t.flags=f&~ur|pt,(t.mode&ut)!==ot&&M_(t),t):null}case w:{t.stateNode,w0(t),C2(t),c_();var y=t.flags;return(y&ur)!==rt&&(y&pt)===rt?(t.flags=y&~ur|pt,t):null}case E:return o_(t),null;case N:{T0(t);var b=t.memoizedState;if(b!==null&&b.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");C0()}var R=t.flags;return R&ur?(t.flags=R&~ur|pt,(t.mode&ut)!==ot&&M_(t),t):null}case I:return T0(t),null;case C:return w0(t),null;case B:var z=t.type._context;return z2(z,t),null;case W:case ne:return mC(t),null;case J:return null;default:return null}}function e3(e,t,o){switch(w2(t),t.tag){case p:{var u=t.type.childContextTypes;u!=null&&Z1(t);break}case w:{t.stateNode,w0(t),C2(t),c_();break}case E:{o_(t);break}case C:w0(t);break;case N:T0(t);break;case I:T0(t);break;case B:var f=t.type._context;z2(f,t);break;case W:case ne:mC(t);break}}var t3=null;t3=new Set;var jm=!1,Wr=!1,kF=typeof WeakSet=="function"?WeakSet:Set,Qe=null,F0=null,z0=null;function OF(e){bl(null,function(){throw e}),qd()}var BF=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ut)try{ol(),t.componentWillUnmount()}finally{il(e)}else t.componentWillUnmount()};function n3(e,t){try{os(Cr,e)}catch(o){yn(e,t,o)}}function eC(e,t,o){try{BF(e,o)}catch(u){yn(e,t,u)}}function FF(e,t,o){try{o.componentDidMount()}catch(u){yn(e,t,u)}}function r3(e,t){try{i3(e)}catch(o){yn(e,t,o)}}function M0(e,t){var o=e.ref;if(o!==null)if(typeof o=="function"){var u;try{if(be&&Be&&e.mode&ut)try{ol(),u=o(null)}finally{il(e)}else u=o(null)}catch(f){yn(e,t,f)}typeof u=="function"&&h("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",yt(e))}else o.current=null}function Im(e,t,o){try{o()}catch(u){yn(e,t,u)}}var a3=!1;function zF(e,t){GO(e.containerInfo),Qe=t,MF();var o=a3;return a3=!1,o}function MF(){for(;Qe!==null;){var e=Qe,t=e.child;(e.subtreeFlags&Du)!==rt&&t!==null?(t.return=e,Qe=t):NF()}}function NF(){for(;Qe!==null;){var e=Qe;nn(e);try{LF(e)}catch(o){yn(e,e.return,o)}Zn();var t=e.sibling;if(t!==null){t.return=e.return,Qe=t;return}Qe=e.return}}function LF(e){var t=e.alternate,o=e.flags;if((o&Ia)!==rt){switch(nn(e),e.tag){case _:case A:case L:break;case p:{if(t!==null){var u=t.memoizedProps,f=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!Ac&&(y.props!==e.memoizedProps&&h("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",yt(e)||"instance"),y.state!==e.memoizedState&&h("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",yt(e)||"instance"));var b=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:uo(e.type,u),f);{var R=t3;b===void 0&&!R.has(e.type)&&(R.add(e.type),h("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",yt(e)))}y.__reactInternalSnapshotBeforeUpdate=b}break}case w:{{var z=e.stateNode;g9(z.containerInfo)}break}case E:case T:case C:case Q:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Zn()}}function po(e,t,o){var u=t.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var y=f.next,b=y;do{if((b.tag&e)===e){var R=b.destroy;b.destroy=void 0,R!==void 0&&((e&qr)!==ei?bf(t):(e&Cr)!==ei&&wf(t),(e&nl)!==ei&&Th(!0),Im(t,o,R),(e&nl)!==ei&&Th(!1),(e&qr)!==ei?e1():(e&Cr)!==ei&&Tu())}b=b.next}while(b!==y)}}function os(e,t){var o=t.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next,y=f;do{if((y.tag&e)===e){(e&qr)!==ei?Jv(t):(e&Cr)!==ei&&t1(t);var b=y.create;(e&nl)!==ei&&Th(!0),y.destroy=b(),(e&nl)!==ei&&Th(!1),(e&qr)!==ei?ap():(e&Cr)!==ei&&n1();{var R=y.destroy;if(R!==void 0&&typeof R!="function"){var z=void 0;(y.tag&Cr)!==rt?z="useLayoutEffect":(y.tag&nl)!==rt?z="useInsertionEffect":z="useEffect";var j=void 0;R===null?j=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof R.then=="function"?j=`
152
152
 
153
153
  It looks like you wrote `+z+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
154
154
 
@@ -161,11 +161,11 @@ It looks like you wrote `+z+`(async () => ...) or returned a Promise. Instead, w
161
161
  fetchData();
162
162
  }, [someId]); // Or [] if effect doesn't need props or state
163
163
 
164
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:j=" You returned: "+R,h("%s must not return anything besides a function, which is used for clean-up.%s",z,j)}}}y=y.next}while(y!==f)}}function NF(e,t){if((t.flags&xt)!==rt)switch(t.tag){case F:{var o=t.stateNode.passiveEffectDuration,u=t.memoizedProps,f=u.id,y=u.onPostCommit,b=D8(),R=t.alternate===null?"mount":"update";w8()&&(R="nested-update"),typeof y=="function"&&y(f,R,o,b);var z=t.return;e:for(;z!==null;){switch(z.tag){case w:var j=z.stateNode;j.passiveEffectDuration+=o;break e;case F:var q=z.stateNode;q.passiveEffectDuration+=o;break e}z=z.return}break}}}function LF(e,t,o,u){if((o.flags&zr)!==rt)switch(o.tag){case _:case A:case L:{if(!Wr)if(o.mode&ut)try{ol(),os(Cr|_r,o)}finally{il(o)}else os(Cr|_r,o);break}case p:{var f=o.stateNode;if(o.flags&xt&&!Wr)if(t===null)if(o.type===o.elementType&&!Ac&&(f.props!==o.memoizedProps&&h("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",yt(o)||"instance"),f.state!==o.memoizedState&&h("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",yt(o)||"instance")),o.mode&ut)try{ol(),f.componentDidMount()}finally{il(o)}else f.componentDidMount();else{var y=o.elementType===o.type?t.memoizedProps:uo(o.type,t.memoizedProps),b=t.memoizedState;if(o.type===o.elementType&&!Ac&&(f.props!==o.memoizedProps&&h("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",yt(o)||"instance"),f.state!==o.memoizedState&&h("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",yt(o)||"instance")),o.mode&ut)try{ol(),f.componentDidUpdate(y,b,f.__reactInternalSnapshotBeforeUpdate)}finally{il(o)}else f.componentDidUpdate(y,b,f.__reactInternalSnapshotBeforeUpdate)}var R=o.updateQueue;R!==null&&(o.type===o.elementType&&!Ac&&(f.props!==o.memoizedProps&&h("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",yt(o)||"instance"),f.state!==o.memoizedState&&h("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",yt(o)||"instance")),Hw(o,R,f));break}case w:{var z=o.updateQueue;if(z!==null){var j=null;if(o.child!==null)switch(o.child.tag){case E:j=o.child.stateNode;break;case p:j=o.child.stateNode;break}Hw(o,z,j)}break}case E:{var q=o.stateNode;if(t===null&&o.flags&xt){var le=o.type,ie=o.memoizedProps;n9(q,le,ie)}break}case T:break;case C:break;case F:{{var me=o.memoizedProps,ye=me.onCommit,_e=me.onRender,qe=o.stateNode.effectDuration,at=D8(),tt=t===null?"mount":"update";w8()&&(tt="nested-update"),typeof _e=="function"&&_e(o.memoizedProps.id,tt,o.actualDuration,o.treeBaseDuration,o.actualStartTime,at);{typeof ye=="function"&&ye(o.memoizedProps.id,tt,qe,at),zz(o);var Mt=o.return;e:for(;Mt!==null;){switch(Mt.tag){case w:var Ot=Mt.stateNode;Ot.effectDuration+=qe;break e;case F:var pe=Mt.stateNode;pe.effectDuration+=qe;break e}Mt=Mt.return}}}break}case N:{YF(e,o);break}case I:case Q:case $:case W:case ne:case K:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Wr||o.flags&na&&i3(o)}function UF(e){switch(e.tag){case _:case A:case L:{if(e.mode&ut)try{ol(),n3(e,e.return)}finally{il(e)}else n3(e,e.return);break}case p:{var t=e.stateNode;typeof t.componentDidMount=="function"&&OF(e,e.return,t),r3(e,e.return);break}case E:{r3(e,e.return);break}}}function HF(e,t){for(var o=null,u=e;;){if(u.tag===E){if(o===null){o=u;try{var f=u.stateNode;t?d9(f):h9(u.stateNode,u.memoizedProps)}catch(b){yn(e,e.return,b)}}}else if(u.tag===T){if(o===null)try{var y=u.stateNode;t?p9(y):v9(y,u.memoizedProps)}catch(b){yn(e,e.return,b)}}else if(!((u.tag===W||u.tag===ne)&&u.memoizedState!==null&&u!==e)){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;o===u&&(o=null),u=u.return}o===u&&(o=null),u.sibling.return=u.return,u=u.sibling}}function i3(e){var t=e.ref;if(t!==null){var o=e.stateNode,u;switch(e.tag){case E:u=o;break;default:u=o}if(typeof t=="function"){var f;if(e.mode&ut)try{ol(),f=t(u)}finally{il(e)}else f=t(u);typeof f=="function"&&h("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",yt(e))}else t.hasOwnProperty("current")||h("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",yt(e)),t.current=u}}function PF(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function o3(e){var t=e.alternate;t!==null&&(e.alternate=null,o3(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===E){var o=e.stateNode;o!==null&&G9(o)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function jF(e){for(var t=e.return;t!==null;){if(l3(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function l3(e){return e.tag===E||e.tag===w||e.tag===C}function u3(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||l3(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==E&&t.tag!==T&&t.tag!==P;){if(t.flags&pn||t.child===null||t.tag===C)continue e;t.child.return=t,t=t.child}if(!(t.flags&pn))return t.stateNode}}function IF(e){var t=jF(e);switch(t.tag){case E:{var o=t.stateNode;t.flags&Yt&&(sw(o),t.flags&=~Yt);var u=u3(e);nC(e,u,o);break}case w:case C:{var f=t.stateNode.containerInfo,y=u3(e);tC(e,y,f);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function tC(e,t,o){var u=e.tag,f=u===E||u===T;if(f){var y=e.stateNode;t?u9(o,y,t):o9(o,y)}else if(u!==C){var b=e.child;if(b!==null){tC(b,t,o);for(var R=b.sibling;R!==null;)tC(R,t,o),R=R.sibling}}}function nC(e,t,o){var u=e.tag,f=u===E||u===T;if(f){var y=e.stateNode;t?l9(o,y,t):i9(o,y)}else if(u!==C){var b=e.child;if(b!==null){nC(b,t,o);for(var R=b.sibling;R!==null;)nC(R,t,o),R=R.sibling}}}var Zr=null,ho=!1;function $F(e,t,o){{var u=t;e:for(;u!==null;){switch(u.tag){case E:{Zr=u.stateNode,ho=!1;break e}case w:{Zr=u.stateNode.containerInfo,ho=!0;break e}case C:{Zr=u.stateNode.containerInfo,ho=!0;break e}}u=u.return}if(Zr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");s3(e,t,o),Zr=null,ho=!1}PF(o)}function ls(e,t,o){for(var u=o.child;u!==null;)s3(e,t,u),u=u.sibling}function s3(e,t,o){switch(np(o),o.tag){case E:Wr||M0(o,t);case T:{{var u=Zr,f=ho;Zr=null,ls(e,t,o),Zr=u,ho=f,Zr!==null&&(ho?c9(Zr,o.stateNode):s9(Zr,o.stateNode))}return}case P:{Zr!==null&&(ho?f9(Zr,o.stateNode):p2(Zr,o.stateNode));return}case C:{{var y=Zr,b=ho;Zr=o.stateNode.containerInfo,ho=!0,ls(e,t,o),Zr=y,ho=b}return}case _:case A:case H:case L:{if(!Wr){var R=o.updateQueue;if(R!==null){var z=R.lastEffect;if(z!==null){var j=z.next,q=j;do{var le=q,ie=le.destroy,me=le.tag;ie!==void 0&&((me&nl)!==ei?Im(o,t,ie):(me&Cr)!==ei&&(wf(o),o.mode&ut?(ol(),Im(o,t,ie),il(o)):Im(o,t,ie),Tu())),q=q.next}while(q!==j)}}}ls(e,t,o);return}case p:{if(!Wr){M0(o,t);var ye=o.stateNode;typeof ye.componentWillUnmount=="function"&&eC(o,t,ye)}ls(e,t,o);return}case $:{ls(e,t,o);return}case W:{if(o.mode&At){var _e=Wr;Wr=_e||o.memoizedState!==null,ls(e,t,o),Wr=_e}else ls(e,t,o);break}default:{ls(e,t,o);return}}}function VF(e){e.memoizedState}function YF(e,t){var o=t.memoizedState;if(o===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var y=f.dehydrated;y!==null&&k9(y)}}}}function c3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new AF),t.forEach(function(u){var f=jz.bind(null,e,u);if(!o.has(u)){if(o.add(u),gr)if(F0!==null&&z0!==null)Dh(z0,F0);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(f,f)}})}}function qF(e,t,o){F0=o,z0=e,nn(t),f3(t,e),nn(t),F0=null,z0=null}function vo(e,t,o){var u=t.deletions;if(u!==null)for(var f=0;f<u.length;f++){var y=u[f];try{$F(e,t,y)}catch(z){yn(y,t,z)}}var b=dx();if(t.subtreeFlags&ia)for(var R=t.child;R!==null;)nn(R),f3(R,e),R=R.sibling;nn(b)}function f3(e,t,o){var u=e.alternate,f=e.flags;switch(e.tag){case _:case A:case H:case L:{if(vo(t,e),ll(e),f&xt){try{po(nl|_r,e,e.return),os(nl|_r,e)}catch(dt){yn(e,e.return,dt)}if(e.mode&ut){try{ol(),po(Cr|_r,e,e.return)}catch(dt){yn(e,e.return,dt)}il(e)}else try{po(Cr|_r,e,e.return)}catch(dt){yn(e,e.return,dt)}}return}case p:{vo(t,e),ll(e),f&na&&u!==null&&M0(u,u.return);return}case E:{vo(t,e),ll(e),f&na&&u!==null&&M0(u,u.return);{if(e.flags&Yt){var y=e.stateNode;try{sw(y)}catch(dt){yn(e,e.return,dt)}}if(f&xt){var b=e.stateNode;if(b!=null){var R=e.memoizedProps,z=u!==null?u.memoizedProps:R,j=e.type,q=e.updateQueue;if(e.updateQueue=null,q!==null)try{r9(b,q,j,z,R,e)}catch(dt){yn(e,e.return,dt)}}}}return}case T:{if(vo(t,e),ll(e),f&xt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var le=e.stateNode,ie=e.memoizedProps,me=u!==null?u.memoizedProps:ie;try{a9(le,me,ie)}catch(dt){yn(e,e.return,dt)}}return}case w:{if(vo(t,e),ll(e),f&xt&&u!==null){var ye=u.memoizedState;if(ye.isDehydrated)try{R9(t.containerInfo)}catch(dt){yn(e,e.return,dt)}}return}case C:{vo(t,e),ll(e);return}case N:{vo(t,e),ll(e);var _e=e.child;if(_e.flags&Uo){var qe=_e.stateNode,at=_e.memoizedState,tt=at!==null;if(qe.isHidden=tt,tt){var Mt=_e.alternate!==null&&_e.alternate.memoizedState!==null;Mt||Dz()}}if(f&xt){try{VF(e)}catch(dt){yn(e,e.return,dt)}c3(e)}return}case W:{var Ot=u!==null&&u.memoizedState!==null;if(e.mode&At){var pe=Wr;Wr=pe||Ot,vo(t,e),Wr=pe}else vo(t,e);if(ll(e),f&Uo){var Ce=e.stateNode,he=e.memoizedState,Me=he!==null,Ge=e;if(Ce.isHidden=Me,Me&&!Ot&&(Ge.mode&At)!==ot){Qe=Ge;for(var $e=Ge.child;$e!==null;)Qe=$e,WF($e),$e=$e.sibling}HF(Ge,Me)}return}case I:{vo(t,e),ll(e),f&xt&&c3(e);return}case $:return;default:{vo(t,e),ll(e);return}}}function ll(e){var t=e.flags;if(t&pn){try{IF(e)}catch(o){yn(e,e.return,o)}e.flags&=~pn}t&$a&&(e.flags&=~$a)}function GF(e,t,o){F0=o,z0=t,Qe=e,d3(e,t,o),F0=null,z0=null}function d3(e,t,o){for(var u=(e.mode&At)!==ot;Qe!==null;){var f=Qe,y=f.child;if(f.tag===W&&u){var b=f.memoizedState!==null,R=b||jm;if(R){rC(e,t,o);continue}else{var z=f.alternate,j=z!==null&&z.memoizedState!==null,q=j||Wr,le=jm,ie=Wr;jm=R,Wr=q,Wr&&!ie&&(Qe=f,ZF(f));for(var me=y;me!==null;)Qe=me,d3(me,t,o),me=me.sibling;Qe=f,jm=le,Wr=ie,rC(e,t,o);continue}}(f.subtreeFlags&zr)!==rt&&y!==null?(y.return=f,Qe=y):rC(e,t,o)}}function rC(e,t,o){for(;Qe!==null;){var u=Qe;if((u.flags&zr)!==rt){var f=u.alternate;nn(u);try{LF(t,f,u,o)}catch(b){yn(u,u.return,b)}Zn()}if(u===e){Qe=null;return}var y=u.sibling;if(y!==null){y.return=u.return,Qe=y;return}Qe=u.return}}function WF(e){for(;Qe!==null;){var t=Qe,o=t.child;switch(t.tag){case _:case A:case H:case L:{if(t.mode&ut)try{ol(),po(Cr,t,t.return)}finally{il(t)}else po(Cr,t,t.return);break}case p:{M0(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&eC(t,t.return,u);break}case E:{M0(t,t.return);break}case W:{var f=t.memoizedState!==null;if(f){p3(e);continue}break}}o!==null?(o.return=t,Qe=o):p3(e)}}function p3(e){for(;Qe!==null;){var t=Qe;if(t===e){Qe=null;return}var o=t.sibling;if(o!==null){o.return=t.return,Qe=o;return}Qe=t.return}}function ZF(e){for(;Qe!==null;){var t=Qe,o=t.child;if(t.tag===W){var u=t.memoizedState!==null;if(u){h3(e);continue}}o!==null?(o.return=t,Qe=o):h3(e)}}function h3(e){for(;Qe!==null;){var t=Qe;nn(t);try{UF(t)}catch(u){yn(t,t.return,u)}if(Zn(),t===e){Qe=null;return}var o=t.sibling;if(o!==null){o.return=t.return,Qe=o;return}Qe=t.return}}function KF(e,t,o,u){Qe=t,QF(t,e,o,u)}function QF(e,t,o,u){for(;Qe!==null;){var f=Qe,y=f.child;(f.subtreeFlags&Va)!==rt&&y!==null?(y.return=f,Qe=y):XF(e,t,o,u)}}function XF(e,t,o,u){for(;Qe!==null;){var f=Qe;if((f.flags&Sn)!==rt){nn(f);try{JF(t,f,o,u)}catch(b){yn(f,f.return,b)}Zn()}if(f===e){Qe=null;return}var y=f.sibling;if(y!==null){y.return=f.return,Qe=y;return}Qe=f.return}}function JF(e,t,o,u){switch(t.tag){case _:case A:case L:{if(t.mode&ut){z_();try{os(qr|_r,t)}finally{F_(t)}}else os(qr|_r,t);break}}}function ez(e){Qe=e,tz()}function tz(){for(;Qe!==null;){var e=Qe,t=e.child;if((Qe.flags&Vt)!==rt){var o=e.deletions;if(o!==null){for(var u=0;u<o.length;u++){var f=o[u];Qe=f,az(f,e)}{var y=e.alternate;if(y!==null){var b=y.child;if(b!==null){y.child=null;do{var R=b.sibling;b.sibling=null,b=R}while(b!==null)}}}Qe=e}}(e.subtreeFlags&Va)!==rt&&t!==null?(t.return=e,Qe=t):nz()}}function nz(){for(;Qe!==null;){var e=Qe;(e.flags&Sn)!==rt&&(nn(e),rz(e),Zn());var t=e.sibling;if(t!==null){t.return=e.return,Qe=t;return}Qe=e.return}}function rz(e){switch(e.tag){case _:case A:case L:{e.mode&ut?(z_(),po(qr|_r,e,e.return),F_(e)):po(qr|_r,e,e.return);break}}}function az(e,t){for(;Qe!==null;){var o=Qe;nn(o),oz(o,t),Zn();var u=o.child;u!==null?(u.return=o,Qe=u):iz(e)}}function iz(e){for(;Qe!==null;){var t=Qe,o=t.sibling,u=t.return;if(o3(t),t===e){Qe=null;return}if(o!==null){o.return=u,Qe=o;return}Qe=u}}function oz(e,t){switch(e.tag){case _:case A:case L:{e.mode&ut?(z_(),po(qr,e,t),F_(e)):po(qr,e,t);break}}}function lz(e){switch(e.tag){case _:case A:case L:{try{os(Cr|_r,e)}catch(o){yn(e,e.return,o)}break}case p:{var t=e.stateNode;try{t.componentDidMount()}catch(o){yn(e,e.return,o)}break}}}function uz(e){switch(e.tag){case _:case A:case L:{try{os(qr|_r,e)}catch(t){yn(e,e.return,t)}break}}}function sz(e){switch(e.tag){case _:case A:case L:{try{po(Cr|_r,e,e.return)}catch(o){yn(e,e.return,o)}break}case p:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&eC(e,e.return,t);break}}}function cz(e){switch(e.tag){case _:case A:case L:try{po(qr|_r,e,e.return)}catch(t){yn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var vh=Symbol.for;vh("selector.component"),vh("selector.has_pseudo_class"),vh("selector.role"),vh("selector.test_id"),vh("selector.text")}var fz=[];function dz(){fz.forEach(function(e){return e()})}var pz=a.ReactCurrentActQueue;function hz(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,o=typeof jest<"u";return o&&t!==!1}}function v3(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&pz.current!==null&&h("The current testing environment is not configured to support act(...)"),e}}var vz=Math.ceil,aC=a.ReactCurrentDispatcher,iC=a.ReactCurrentOwner,Kr=a.ReactCurrentBatchConfig,mo=a.ReactCurrentActQueue,br=0,m3=1,Qr=2,zi=4,Jl=0,mh=1,Rc=2,$m=3,yh=4,y3=5,oC=6,zt=br,Ra=null,Un=null,wr=Ee,ul=Ee,lC=Qu(Ee),Dr=Jl,gh=null,Vm=Ee,xh=Ee,Ym=Ee,_h=null,ti=null,uC=0,g3=500,x3=1/0,mz=500,eu=null;function Ch(){x3=Tn()+mz}function _3(){return x3}var qm=!1,sC=null,N0=null,kc=!1,us=null,Sh=Ee,cC=[],fC=null,yz=50,Eh=0,dC=null,pC=!1,Gm=!1,gz=50,L0=0,Wm=null,bh=cn,Zm=Ee,C3=!1;function Km(){return Ra}function ka(){return(zt&(Qr|zi))!==br?Tn():(bh!==cn||(bh=Tn()),bh)}function ss(e){var t=e.mode;if((t&At)===ot)return st;if((zt&Qr)!==br&&wr!==Ee)return Qn(wr);var o=hB()!==pB;if(o){if(Kr.transition!==null){var u=Kr.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Zm===Ft&&(Zm=cp()),Zm}var f=Wa();if(f!==Ft)return f;var y=XO();return y}function xz(e){var t=e.mode;return(t&At)===ot?st:zx()}function Tr(e,t,o,u){$z(),C3&&h("useInsertionEffect must not schedule updates."),pC&&(Gm=!0),Nl(e,o,u),(zt&Qr)!==Ee&&e===Ra?qz(t):(gr&&vp(e,t,o),Gz(t),e===Ra&&((zt&Qr)===br&&(xh=_t(xh,o)),Dr===yh&&cs(e,wr)),ni(e,u),o===st&&zt===br&&(t.mode&At)===ot&&!mo.isBatchingLegacy&&(Ch(),_w()))}function _z(e,t,o){var u=e.current;u.lanes=t,Nl(e,t,o),ni(e,o)}function Cz(e){return(zt&Qr)!==br}function ni(e,t){var o=e.callbackNode;Ox(e,t);var u=tc(e,e===Ra?wr:Ee);if(u===Ee){o!==null&&L3(o),e.callbackNode=null,e.callbackPriority=Ft;return}var f=Yn(u),y=e.callbackPriority;if(y===f&&!(mo.current!==null&&o!==_C)){o==null&&y!==st&&h("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}o!=null&&L3(o);var b;if(f===st)e.tag===Xu?(mo.isBatchingLegacy!==null&&(mo.didScheduleLegacyUpdate=!0),K9(b3.bind(null,e))):xw(b3.bind(null,e)),mo.current!==null?mo.current.push(Ju):e9(function(){(zt&(Qr|zi))===br&&Ju()}),b=null;else{var R;switch(oc(u)){case Mr:R=Cf;break;case xr:R=wa;break;case eo:R=bi;break;case ac:R=Po;break;default:R=bi;break}b=CC(R,S3.bind(null,e))}e.callbackPriority=f,e.callbackNode=b}function S3(e,t){if($B(),bh=cn,Zm=Ee,(zt&(Qr|zi))!==br)throw new Error("Should not already be working.");var o=e.callbackNode,u=nu();if(u&&e.callbackNode!==o)return null;var f=tc(e,e===Ra?wr:Ee);if(f===Ee)return null;var y=!rc(e,f)&&!u1(e,f)&&!t,b=y?Oz(e,f):Xm(e,f);if(b!==Jl){if(b===Rc){var R=up(e);R!==Ee&&(f=R,b=hC(e,R))}if(b===mh){var z=gh;throw Oc(e,Ee),cs(e,f),ni(e,Tn()),z}if(b===oC)cs(e,f);else{var j=!rc(e,f),q=e.current.alternate;if(j&&!Ez(q)){if(b=Xm(e,f),b===Rc){var le=up(e);le!==Ee&&(f=le,b=hC(e,le))}if(b===mh){var ie=gh;throw Oc(e,Ee),cs(e,f),ni(e,Tn()),ie}}e.finishedWork=q,e.finishedLanes=f,Sz(e,b,f)}}return ni(e,Tn()),e.callbackNode===o?S3.bind(null,e):null}function hC(e,t){var o=_h;if(Jn(e)){var u=Oc(e,t);u.flags|=Bn,$9(e.containerInfo)}var f=Xm(e,t);if(f!==Rc){var y=ti;ti=o,y!==null&&E3(y)}return f}function E3(e){ti===null?ti=e:ti.push.apply(ti,e)}function Sz(e,t,o){switch(t){case Jl:case mh:throw new Error("Root did not complete. This is a bug in React.");case Rc:{Bc(e,ti,eu);break}case $m:{if(cs(e,o),Yf(o)&&!U3()){var u=uC+g3-Tn();if(u>10){var f=tc(e,Ee);if(f!==Ee)break;var y=e.suspendedLanes;if(!Ml(y,o)){ka(),pp(e,y);break}e.timeoutHandle=f2(Bc.bind(null,e,ti,eu),u);break}}Bc(e,ti,eu);break}case yh:{if(cs(e,o),l1(o))break;if(!U3()){var b=o1(e,o),R=b,z=Tn()-R,j=Iz(z)-z;if(j>10){e.timeoutHandle=f2(Bc.bind(null,e,ti,eu),j);break}}Bc(e,ti,eu);break}case y3:{Bc(e,ti,eu);break}default:throw new Error("Unknown root exit status.")}}function Ez(e){for(var t=e;;){if(t.flags&Ws){var o=t.updateQueue;if(o!==null){var u=o.stores;if(u!==null)for(var f=0;f<u.length;f++){var y=u[f],b=y.getSnapshot,R=y.value;try{if(!Ke(b(),R))return!1}catch{return!1}}}}var z=t.child;if(t.subtreeFlags&Ws&&z!==null){z.return=t,t=z;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function cs(e,t){t=zu(t,Ym),t=zu(t,xh),dp(e,t)}function b3(e){if(VB(),(zt&(Qr|zi))!==br)throw new Error("Should not already be working.");nu();var t=tc(e,Ee);if(!sa(t,st))return ni(e,Tn()),null;var o=Xm(e,t);if(e.tag!==Xu&&o===Rc){var u=up(e);u!==Ee&&(t=u,o=hC(e,u))}if(o===mh){var f=gh;throw Oc(e,Ee),cs(e,t),ni(e,Tn()),f}if(o===oC)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,Bc(e,ti,eu),ni(e,Tn()),null}function bz(e,t){t!==Ee&&(Mu(e,_t(t,st)),ni(e,Tn()),(zt&(Qr|zi))===br&&(Ch(),Ju()))}function vC(e,t){var o=zt;zt|=m3;try{return e(t)}finally{zt=o,zt===br&&!mo.isBatchingLegacy&&(Ch(),_w())}}function wz(e,t,o,u,f){var y=Wa(),b=Kr.transition;try{return Kr.transition=null,Xn(Mr),e(t,o,u,f)}finally{Xn(y),Kr.transition=b,zt===br&&Ch()}}function tu(e){us!==null&&us.tag===Xu&&(zt&(Qr|zi))===br&&nu();var t=zt;zt|=m3;var o=Kr.transition,u=Wa();try{return Kr.transition=null,Xn(Mr),e?e():void 0}finally{Xn(u),Kr.transition=o,zt=t,(zt&(Qr|zi))===br&&Ju()}}function w3(){return(zt&(Qr|zi))!==br}function Qm(e,t){fa(lC,ul,e),ul=_t(ul,t)}function mC(e){ul=lC.current,ca(lC,e)}function Oc(e,t){e.finishedWork=null,e.finishedLanes=Ee;var o=e.timeoutHandle;if(o!==d2&&(e.timeoutHandle=d2,JO(o)),Un!==null)for(var u=Un.return;u!==null;){var f=u.alternate;e3(f,u),u=u.return}Ra=e;var y=Fc(e.current,null);return Un=y,wr=ul=t,Dr=Jl,gh=null,Vm=Ee,xh=Ee,Ym=Ee,_h=null,ti=null,gB(),lo.discardPendingWarnings(),y}function D3(e,t){do{var o=Un;try{if(im(),n8(),Zn(),iC.current=null,o===null||o.return===null){Dr=mh,gh=t,Un=null;return}if(be&&o.mode&ut&&Lm(o,!0),xe)if(Dl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;r1(o,u,wr)}else Df(o,t,wr);ZB(e,o.return,o,t,wr),k3(o)}catch(f){t=f,Un===o&&o!==null?(o=o.return,Un=o):o=Un;continue}return}while(!0)}function T3(){var e=aC.current;return aC.current=Bm,e===null?Bm:e}function A3(e){aC.current=e}function Dz(){uC=Tn()}function wh(e){Vm=_t(e,Vm)}function Tz(){Dr===Jl&&(Dr=$m)}function yC(){(Dr===Jl||Dr===$m||Dr===Rc)&&(Dr=yh),Ra!==null&&(nc(Vm)||nc(xh))&&cs(Ra,wr)}function Az(e){Dr!==yh&&(Dr=Rc),_h===null?_h=[e]:_h.push(e)}function Rz(){return Dr===Jl}function Xm(e,t){var o=zt;zt|=Qr;var u=T3();if(Ra!==e||wr!==t){if(gr){var f=e.memoizedUpdaters;f.size>0&&(Dh(e,wr),f.clear()),Wf(e,t)}eu=mp(),Oc(e,t)}hi(t);do try{kz();break}catch(y){D3(e,y)}while(!0);if(im(),zt=o,A3(u),Un!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Ru(),Ra=null,wr=Ee,Dr}function kz(){for(;Un!==null;)R3(Un)}function Oz(e,t){var o=zt;zt|=Qr;var u=T3();if(Ra!==e||wr!==t){if(gr){var f=e.memoizedUpdaters;f.size>0&&(Dh(e,wr),f.clear()),Wf(e,t)}eu=mp(),Ch(),Oc(e,t)}hi(t);do try{Bz();break}catch(y){D3(e,y)}while(!0);return im(),A3(u),zt=o,Un!==null?(Qs(),Jl):(Ru(),Ra=null,wr=Ee,Dr)}function Bz(){for(;Un!==null&&!_f();)R3(Un)}function R3(e){var t=e.alternate;nn(e);var o;(e.mode&ut)!==ot?(B_(e),o=gC(t,e,ul),Lm(e,!0)):o=gC(t,e,ul),Zn(),e.memoizedProps=e.pendingProps,o===null?k3(e):Un=o,iC.current=null}function k3(e){var t=e;do{var o=t.alternate,u=t.return;if((t.flags&Sa)===rt){nn(t);var f=void 0;if((t.mode&ut)===ot?f=J8(o,t,ul):(B_(t),f=J8(o,t,ul),Lm(t,!1)),Zn(),f!==null){Un=f;return}}else{var y=TF(o,t);if(y!==null){y.flags&=Wv,Un=y;return}if((t.mode&ut)!==ot){Lm(t,!1);for(var b=t.actualDuration,R=t.child;R!==null;)b+=R.actualDuration,R=R.sibling;t.actualDuration=b}if(u!==null)u.flags|=Sa,u.subtreeFlags=rt,u.deletions=null;else{Dr=oC,Un=null;return}}var z=t.sibling;if(z!==null){Un=z;return}t=u,Un=t}while(t!==null);Dr===Jl&&(Dr=y3)}function Bc(e,t,o){var u=Wa(),f=Kr.transition;try{Kr.transition=null,Xn(Mr),Fz(e,t,o,u)}finally{Kr.transition=f,Xn(u)}return null}function Fz(e,t,o,u){do nu();while(us!==null);if(Vz(),(zt&(Qr|zi))!==br)throw new Error("Should not already be working.");var f=e.finishedWork,y=e.finishedLanes;if(Ef(y),f===null)return rp(),null;if(y===Ee&&h("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ee,f===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Ft;var b=_t(f.lanes,f.childLanes);hp(e,b),e===Ra&&(Ra=null,Un=null,wr=Ee),((f.subtreeFlags&Va)!==rt||(f.flags&Va)!==rt)&&(kc||(kc=!0,fC=o,CC(bi,function(){return nu(),null})));var R=(f.subtreeFlags&(Du|ia|zr|Va))!==rt,z=(f.flags&(Du|ia|zr|Va))!==rt;if(R||z){var j=Kr.transition;Kr.transition=null;var q=Wa();Xn(Mr);var le=zt;zt|=zi,iC.current=null,BF(e,f),T8(),qF(e,f,y),qO(e.containerInfo),e.current=f,a1(y),GF(f,e,y),Au(),Qv(),zt=le,Xn(q),Kr.transition=j}else e.current=f,T8();var ie=kc;if(kc?(kc=!1,us=e,Sh=y):(L0=0,Wm=null),b=e.pendingLanes,b===Ee&&(N0=null),ie||z3(e.current,!1),Qi(f.stateNode,u),gr&&e.memoizedUpdaters.clear(),dz(),ni(e,Tn()),t!==null)for(var me=e.onRecoverableError,ye=0;ye<t.length;ye++){var _e=t[ye],qe=_e.stack,at=_e.digest;me(_e.value,{componentStack:qe,digest:at})}if(qm){qm=!1;var tt=sC;throw sC=null,tt}return sa(Sh,st)&&e.tag!==Xu&&nu(),b=e.pendingLanes,sa(b,st)?(IB(),e===dC?Eh++:(Eh=0,dC=e)):Eh=0,Ju(),rp(),null}function nu(){if(us!==null){var e=oc(Sh),t=Nx(eo,e),o=Kr.transition,u=Wa();try{return Kr.transition=null,Xn(t),Mz()}finally{Xn(u),Kr.transition=o}}return!1}function zz(e){cC.push(e),kc||(kc=!0,CC(bi,function(){return nu(),null}))}function Mz(){if(us===null)return!1;var e=fC;fC=null;var t=us,o=Sh;if(us=null,Sh=Ee,(zt&(Qr|zi))!==br)throw new Error("Cannot flush passive effects while already rendering.");pC=!0,Gm=!1,i1(o);var u=zt;zt|=zi,ez(t.current),KF(t,t.current,o,e);{var f=cC;cC=[];for(var y=0;y<f.length;y++){var b=f[y];NF(t,b)}}Ks(),z3(t.current,!0),zt=u,Ju(),Gm?t===Wm?L0++:(L0=0,Wm=t):L0=0,pC=!1,Gm=!1,Io(t);{var R=t.current.stateNode;R.effectDuration=0,R.passiveEffectDuration=0}return!0}function O3(e){return N0!==null&&N0.has(e)}function Nz(e){N0===null?N0=new Set([e]):N0.add(e)}function Lz(e){qm||(qm=!0,sC=e)}var Uz=Lz;function B3(e,t,o){var u=Tc(o,t),f=R8(e,u,st),y=ts(e,f,st),b=ka();y!==null&&(Nl(y,st,b),ni(y,b))}function yn(e,t,o){if(RF(o),Th(!1),e.tag===w){B3(e,e,o);return}var u=null;for(u=t;u!==null;){if(u.tag===w){B3(u,e,o);return}else if(u.tag===p){var f=u.type,y=u.stateNode;if(typeof f.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!O3(y)){var b=Tc(o,e),R=U_(u,b,st),z=ts(u,R,st),j=ka();z!==null&&(Nl(z,st,j),ni(z,j));return}}u=u.return}h(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
164
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:j=" You returned: "+R,h("%s must not return anything besides a function, which is used for clean-up.%s",z,j)}}}y=y.next}while(y!==f)}}function UF(e,t){if((t.flags&xt)!==rt)switch(t.tag){case F:{var o=t.stateNode.passiveEffectDuration,u=t.memoizedProps,f=u.id,y=u.onPostCommit,b=D8(),R=t.alternate===null?"mount":"update";w8()&&(R="nested-update"),typeof y=="function"&&y(f,R,o,b);var z=t.return;e:for(;z!==null;){switch(z.tag){case w:var j=z.stateNode;j.passiveEffectDuration+=o;break e;case F:var q=z.stateNode;q.passiveEffectDuration+=o;break e}z=z.return}break}}}function HF(e,t,o,u){if((o.flags&zr)!==rt)switch(o.tag){case _:case A:case L:{if(!Wr)if(o.mode&ut)try{ol(),os(Cr|_r,o)}finally{il(o)}else os(Cr|_r,o);break}case p:{var f=o.stateNode;if(o.flags&xt&&!Wr)if(t===null)if(o.type===o.elementType&&!Ac&&(f.props!==o.memoizedProps&&h("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",yt(o)||"instance"),f.state!==o.memoizedState&&h("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",yt(o)||"instance")),o.mode&ut)try{ol(),f.componentDidMount()}finally{il(o)}else f.componentDidMount();else{var y=o.elementType===o.type?t.memoizedProps:uo(o.type,t.memoizedProps),b=t.memoizedState;if(o.type===o.elementType&&!Ac&&(f.props!==o.memoizedProps&&h("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",yt(o)||"instance"),f.state!==o.memoizedState&&h("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",yt(o)||"instance")),o.mode&ut)try{ol(),f.componentDidUpdate(y,b,f.__reactInternalSnapshotBeforeUpdate)}finally{il(o)}else f.componentDidUpdate(y,b,f.__reactInternalSnapshotBeforeUpdate)}var R=o.updateQueue;R!==null&&(o.type===o.elementType&&!Ac&&(f.props!==o.memoizedProps&&h("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",yt(o)||"instance"),f.state!==o.memoizedState&&h("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",yt(o)||"instance")),Hw(o,R,f));break}case w:{var z=o.updateQueue;if(z!==null){var j=null;if(o.child!==null)switch(o.child.tag){case E:j=o.child.stateNode;break;case p:j=o.child.stateNode;break}Hw(o,z,j)}break}case E:{var q=o.stateNode;if(t===null&&o.flags&xt){var le=o.type,ie=o.memoizedProps;a9(q,le,ie)}break}case T:break;case C:break;case F:{{var me=o.memoizedProps,ye=me.onCommit,_e=me.onRender,qe=o.stateNode.effectDuration,at=D8(),tt=t===null?"mount":"update";w8()&&(tt="nested-update"),typeof _e=="function"&&_e(o.memoizedProps.id,tt,o.actualDuration,o.treeBaseDuration,o.actualStartTime,at);{typeof ye=="function"&&ye(o.memoizedProps.id,tt,qe,at),Nz(o);var Mt=o.return;e:for(;Mt!==null;){switch(Mt.tag){case w:var Ot=Mt.stateNode;Ot.effectDuration+=qe;break e;case F:var pe=Mt.stateNode;pe.effectDuration+=qe;break e}Mt=Mt.return}}}break}case N:{GF(e,o);break}case I:case Q:case $:case W:case ne:case K:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Wr||o.flags&na&&i3(o)}function PF(e){switch(e.tag){case _:case A:case L:{if(e.mode&ut)try{ol(),n3(e,e.return)}finally{il(e)}else n3(e,e.return);break}case p:{var t=e.stateNode;typeof t.componentDidMount=="function"&&FF(e,e.return,t),r3(e,e.return);break}case E:{r3(e,e.return);break}}}function jF(e,t){for(var o=null,u=e;;){if(u.tag===E){if(o===null){o=u;try{var f=u.stateNode;t?h9(f):m9(u.stateNode,u.memoizedProps)}catch(b){yn(e,e.return,b)}}}else if(u.tag===T){if(o===null)try{var y=u.stateNode;t?v9(y):y9(y,u.memoizedProps)}catch(b){yn(e,e.return,b)}}else if(!((u.tag===W||u.tag===ne)&&u.memoizedState!==null&&u!==e)){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;o===u&&(o=null),u=u.return}o===u&&(o=null),u.sibling.return=u.return,u=u.sibling}}function i3(e){var t=e.ref;if(t!==null){var o=e.stateNode,u;switch(e.tag){case E:u=o;break;default:u=o}if(typeof t=="function"){var f;if(e.mode&ut)try{ol(),f=t(u)}finally{il(e)}else f=t(u);typeof f=="function"&&h("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",yt(e))}else t.hasOwnProperty("current")||h("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",yt(e)),t.current=u}}function IF(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function o3(e){var t=e.alternate;t!==null&&(e.alternate=null,o3(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===E){var o=e.stateNode;o!==null&&Z9(o)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function $F(e){for(var t=e.return;t!==null;){if(l3(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function l3(e){return e.tag===E||e.tag===w||e.tag===C}function u3(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||l3(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==E&&t.tag!==T&&t.tag!==P;){if(t.flags&pn||t.child===null||t.tag===C)continue e;t.child.return=t,t=t.child}if(!(t.flags&pn))return t.stateNode}}function VF(e){var t=$F(e);switch(t.tag){case E:{var o=t.stateNode;t.flags&Yt&&(sw(o),t.flags&=~Yt);var u=u3(e);nC(e,u,o);break}case w:case C:{var f=t.stateNode.containerInfo,y=u3(e);tC(e,y,f);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function tC(e,t,o){var u=e.tag,f=u===E||u===T;if(f){var y=e.stateNode;t?c9(o,y,t):u9(o,y)}else if(u!==C){var b=e.child;if(b!==null){tC(b,t,o);for(var R=b.sibling;R!==null;)tC(R,t,o),R=R.sibling}}}function nC(e,t,o){var u=e.tag,f=u===E||u===T;if(f){var y=e.stateNode;t?s9(o,y,t):l9(o,y)}else if(u!==C){var b=e.child;if(b!==null){nC(b,t,o);for(var R=b.sibling;R!==null;)nC(R,t,o),R=R.sibling}}}var Zr=null,ho=!1;function YF(e,t,o){{var u=t;e:for(;u!==null;){switch(u.tag){case E:{Zr=u.stateNode,ho=!1;break e}case w:{Zr=u.stateNode.containerInfo,ho=!0;break e}case C:{Zr=u.stateNode.containerInfo,ho=!0;break e}}u=u.return}if(Zr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");s3(e,t,o),Zr=null,ho=!1}IF(o)}function ls(e,t,o){for(var u=o.child;u!==null;)s3(e,t,u),u=u.sibling}function s3(e,t,o){switch(np(o),o.tag){case E:Wr||M0(o,t);case T:{{var u=Zr,f=ho;Zr=null,ls(e,t,o),Zr=u,ho=f,Zr!==null&&(ho?d9(Zr,o.stateNode):f9(Zr,o.stateNode))}return}case P:{Zr!==null&&(ho?p9(Zr,o.stateNode):p2(Zr,o.stateNode));return}case C:{{var y=Zr,b=ho;Zr=o.stateNode.containerInfo,ho=!0,ls(e,t,o),Zr=y,ho=b}return}case _:case A:case H:case L:{if(!Wr){var R=o.updateQueue;if(R!==null){var z=R.lastEffect;if(z!==null){var j=z.next,q=j;do{var le=q,ie=le.destroy,me=le.tag;ie!==void 0&&((me&nl)!==ei?Im(o,t,ie):(me&Cr)!==ei&&(wf(o),o.mode&ut?(ol(),Im(o,t,ie),il(o)):Im(o,t,ie),Tu())),q=q.next}while(q!==j)}}}ls(e,t,o);return}case p:{if(!Wr){M0(o,t);var ye=o.stateNode;typeof ye.componentWillUnmount=="function"&&eC(o,t,ye)}ls(e,t,o);return}case $:{ls(e,t,o);return}case W:{if(o.mode&At){var _e=Wr;Wr=_e||o.memoizedState!==null,ls(e,t,o),Wr=_e}else ls(e,t,o);break}default:{ls(e,t,o);return}}}function qF(e){e.memoizedState}function GF(e,t){var o=t.memoizedState;if(o===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var y=f.dehydrated;y!==null&&B9(y)}}}}function c3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new kF),t.forEach(function(u){var f=$z.bind(null,e,u);if(!o.has(u)){if(o.add(u),gr)if(F0!==null&&z0!==null)Dh(z0,F0);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(f,f)}})}}function WF(e,t,o){F0=o,z0=e,nn(t),f3(t,e),nn(t),F0=null,z0=null}function vo(e,t,o){var u=t.deletions;if(u!==null)for(var f=0;f<u.length;f++){var y=u[f];try{YF(e,t,y)}catch(z){yn(y,t,z)}}var b=dx();if(t.subtreeFlags&ia)for(var R=t.child;R!==null;)nn(R),f3(R,e),R=R.sibling;nn(b)}function f3(e,t,o){var u=e.alternate,f=e.flags;switch(e.tag){case _:case A:case H:case L:{if(vo(t,e),ll(e),f&xt){try{po(nl|_r,e,e.return),os(nl|_r,e)}catch(dt){yn(e,e.return,dt)}if(e.mode&ut){try{ol(),po(Cr|_r,e,e.return)}catch(dt){yn(e,e.return,dt)}il(e)}else try{po(Cr|_r,e,e.return)}catch(dt){yn(e,e.return,dt)}}return}case p:{vo(t,e),ll(e),f&na&&u!==null&&M0(u,u.return);return}case E:{vo(t,e),ll(e),f&na&&u!==null&&M0(u,u.return);{if(e.flags&Yt){var y=e.stateNode;try{sw(y)}catch(dt){yn(e,e.return,dt)}}if(f&xt){var b=e.stateNode;if(b!=null){var R=e.memoizedProps,z=u!==null?u.memoizedProps:R,j=e.type,q=e.updateQueue;if(e.updateQueue=null,q!==null)try{i9(b,q,j,z,R,e)}catch(dt){yn(e,e.return,dt)}}}}return}case T:{if(vo(t,e),ll(e),f&xt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var le=e.stateNode,ie=e.memoizedProps,me=u!==null?u.memoizedProps:ie;try{o9(le,me,ie)}catch(dt){yn(e,e.return,dt)}}return}case w:{if(vo(t,e),ll(e),f&xt&&u!==null){var ye=u.memoizedState;if(ye.isDehydrated)try{O9(t.containerInfo)}catch(dt){yn(e,e.return,dt)}}return}case C:{vo(t,e),ll(e);return}case N:{vo(t,e),ll(e);var _e=e.child;if(_e.flags&Uo){var qe=_e.stateNode,at=_e.memoizedState,tt=at!==null;if(qe.isHidden=tt,tt){var Mt=_e.alternate!==null&&_e.alternate.memoizedState!==null;Mt||Az()}}if(f&xt){try{qF(e)}catch(dt){yn(e,e.return,dt)}c3(e)}return}case W:{var Ot=u!==null&&u.memoizedState!==null;if(e.mode&At){var pe=Wr;Wr=pe||Ot,vo(t,e),Wr=pe}else vo(t,e);if(ll(e),f&Uo){var Ce=e.stateNode,he=e.memoizedState,Me=he!==null,Ge=e;if(Ce.isHidden=Me,Me&&!Ot&&(Ge.mode&At)!==ot){Qe=Ge;for(var $e=Ge.child;$e!==null;)Qe=$e,KF($e),$e=$e.sibling}jF(Ge,Me)}return}case I:{vo(t,e),ll(e),f&xt&&c3(e);return}case $:return;default:{vo(t,e),ll(e);return}}}function ll(e){var t=e.flags;if(t&pn){try{VF(e)}catch(o){yn(e,e.return,o)}e.flags&=~pn}t&$a&&(e.flags&=~$a)}function ZF(e,t,o){F0=o,z0=t,Qe=e,d3(e,t,o),F0=null,z0=null}function d3(e,t,o){for(var u=(e.mode&At)!==ot;Qe!==null;){var f=Qe,y=f.child;if(f.tag===W&&u){var b=f.memoizedState!==null,R=b||jm;if(R){rC(e,t,o);continue}else{var z=f.alternate,j=z!==null&&z.memoizedState!==null,q=j||Wr,le=jm,ie=Wr;jm=R,Wr=q,Wr&&!ie&&(Qe=f,QF(f));for(var me=y;me!==null;)Qe=me,d3(me,t,o),me=me.sibling;Qe=f,jm=le,Wr=ie,rC(e,t,o);continue}}(f.subtreeFlags&zr)!==rt&&y!==null?(y.return=f,Qe=y):rC(e,t,o)}}function rC(e,t,o){for(;Qe!==null;){var u=Qe;if((u.flags&zr)!==rt){var f=u.alternate;nn(u);try{HF(t,f,u,o)}catch(b){yn(u,u.return,b)}Zn()}if(u===e){Qe=null;return}var y=u.sibling;if(y!==null){y.return=u.return,Qe=y;return}Qe=u.return}}function KF(e){for(;Qe!==null;){var t=Qe,o=t.child;switch(t.tag){case _:case A:case H:case L:{if(t.mode&ut)try{ol(),po(Cr,t,t.return)}finally{il(t)}else po(Cr,t,t.return);break}case p:{M0(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&eC(t,t.return,u);break}case E:{M0(t,t.return);break}case W:{var f=t.memoizedState!==null;if(f){p3(e);continue}break}}o!==null?(o.return=t,Qe=o):p3(e)}}function p3(e){for(;Qe!==null;){var t=Qe;if(t===e){Qe=null;return}var o=t.sibling;if(o!==null){o.return=t.return,Qe=o;return}Qe=t.return}}function QF(e){for(;Qe!==null;){var t=Qe,o=t.child;if(t.tag===W){var u=t.memoizedState!==null;if(u){h3(e);continue}}o!==null?(o.return=t,Qe=o):h3(e)}}function h3(e){for(;Qe!==null;){var t=Qe;nn(t);try{PF(t)}catch(u){yn(t,t.return,u)}if(Zn(),t===e){Qe=null;return}var o=t.sibling;if(o!==null){o.return=t.return,Qe=o;return}Qe=t.return}}function XF(e,t,o,u){Qe=t,JF(t,e,o,u)}function JF(e,t,o,u){for(;Qe!==null;){var f=Qe,y=f.child;(f.subtreeFlags&Va)!==rt&&y!==null?(y.return=f,Qe=y):ez(e,t,o,u)}}function ez(e,t,o,u){for(;Qe!==null;){var f=Qe;if((f.flags&Sn)!==rt){nn(f);try{tz(t,f,o,u)}catch(b){yn(f,f.return,b)}Zn()}if(f===e){Qe=null;return}var y=f.sibling;if(y!==null){y.return=f.return,Qe=y;return}Qe=f.return}}function tz(e,t,o,u){switch(t.tag){case _:case A:case L:{if(t.mode&ut){z_();try{os(qr|_r,t)}finally{F_(t)}}else os(qr|_r,t);break}}}function nz(e){Qe=e,rz()}function rz(){for(;Qe!==null;){var e=Qe,t=e.child;if((Qe.flags&Vt)!==rt){var o=e.deletions;if(o!==null){for(var u=0;u<o.length;u++){var f=o[u];Qe=f,oz(f,e)}{var y=e.alternate;if(y!==null){var b=y.child;if(b!==null){y.child=null;do{var R=b.sibling;b.sibling=null,b=R}while(b!==null)}}}Qe=e}}(e.subtreeFlags&Va)!==rt&&t!==null?(t.return=e,Qe=t):az()}}function az(){for(;Qe!==null;){var e=Qe;(e.flags&Sn)!==rt&&(nn(e),iz(e),Zn());var t=e.sibling;if(t!==null){t.return=e.return,Qe=t;return}Qe=e.return}}function iz(e){switch(e.tag){case _:case A:case L:{e.mode&ut?(z_(),po(qr|_r,e,e.return),F_(e)):po(qr|_r,e,e.return);break}}}function oz(e,t){for(;Qe!==null;){var o=Qe;nn(o),uz(o,t),Zn();var u=o.child;u!==null?(u.return=o,Qe=u):lz(e)}}function lz(e){for(;Qe!==null;){var t=Qe,o=t.sibling,u=t.return;if(o3(t),t===e){Qe=null;return}if(o!==null){o.return=u,Qe=o;return}Qe=u}}function uz(e,t){switch(e.tag){case _:case A:case L:{e.mode&ut?(z_(),po(qr,e,t),F_(e)):po(qr,e,t);break}}}function sz(e){switch(e.tag){case _:case A:case L:{try{os(Cr|_r,e)}catch(o){yn(e,e.return,o)}break}case p:{var t=e.stateNode;try{t.componentDidMount()}catch(o){yn(e,e.return,o)}break}}}function cz(e){switch(e.tag){case _:case A:case L:{try{os(qr|_r,e)}catch(t){yn(e,e.return,t)}break}}}function fz(e){switch(e.tag){case _:case A:case L:{try{po(Cr|_r,e,e.return)}catch(o){yn(e,e.return,o)}break}case p:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&eC(e,e.return,t);break}}}function dz(e){switch(e.tag){case _:case A:case L:try{po(qr|_r,e,e.return)}catch(t){yn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var vh=Symbol.for;vh("selector.component"),vh("selector.has_pseudo_class"),vh("selector.role"),vh("selector.test_id"),vh("selector.text")}var pz=[];function hz(){pz.forEach(function(e){return e()})}var vz=a.ReactCurrentActQueue;function mz(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,o=typeof jest<"u";return o&&t!==!1}}function v3(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&vz.current!==null&&h("The current testing environment is not configured to support act(...)"),e}}var yz=Math.ceil,aC=a.ReactCurrentDispatcher,iC=a.ReactCurrentOwner,Kr=a.ReactCurrentBatchConfig,mo=a.ReactCurrentActQueue,br=0,m3=1,Qr=2,zi=4,Jl=0,mh=1,Rc=2,$m=3,yh=4,y3=5,oC=6,zt=br,Ra=null,Un=null,wr=Ee,ul=Ee,lC=Qu(Ee),Dr=Jl,gh=null,Vm=Ee,xh=Ee,Ym=Ee,_h=null,ti=null,uC=0,g3=500,x3=1/0,gz=500,eu=null;function Ch(){x3=Tn()+gz}function _3(){return x3}var qm=!1,sC=null,N0=null,kc=!1,us=null,Sh=Ee,cC=[],fC=null,xz=50,Eh=0,dC=null,pC=!1,Gm=!1,_z=50,L0=0,Wm=null,bh=cn,Zm=Ee,C3=!1;function Km(){return Ra}function ka(){return(zt&(Qr|zi))!==br?Tn():(bh!==cn||(bh=Tn()),bh)}function ss(e){var t=e.mode;if((t&At)===ot)return st;if((zt&Qr)!==br&&wr!==Ee)return Qn(wr);var o=mB()!==vB;if(o){if(Kr.transition!==null){var u=Kr.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Zm===Ft&&(Zm=cp()),Zm}var f=Wa();if(f!==Ft)return f;var y=e9();return y}function Cz(e){var t=e.mode;return(t&At)===ot?st:zx()}function Tr(e,t,o,u){Yz(),C3&&h("useInsertionEffect must not schedule updates."),pC&&(Gm=!0),Nl(e,o,u),(zt&Qr)!==Ee&&e===Ra?Wz(t):(gr&&vp(e,t,o),Zz(t),e===Ra&&((zt&Qr)===br&&(xh=_t(xh,o)),Dr===yh&&cs(e,wr)),ni(e,u),o===st&&zt===br&&(t.mode&At)===ot&&!mo.isBatchingLegacy&&(Ch(),_w()))}function Sz(e,t,o){var u=e.current;u.lanes=t,Nl(e,t,o),ni(e,o)}function Ez(e){return(zt&Qr)!==br}function ni(e,t){var o=e.callbackNode;Ox(e,t);var u=tc(e,e===Ra?wr:Ee);if(u===Ee){o!==null&&L3(o),e.callbackNode=null,e.callbackPriority=Ft;return}var f=Yn(u),y=e.callbackPriority;if(y===f&&!(mo.current!==null&&o!==_C)){o==null&&y!==st&&h("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}o!=null&&L3(o);var b;if(f===st)e.tag===Xu?(mo.isBatchingLegacy!==null&&(mo.didScheduleLegacyUpdate=!0),X9(b3.bind(null,e))):xw(b3.bind(null,e)),mo.current!==null?mo.current.push(Ju):n9(function(){(zt&(Qr|zi))===br&&Ju()}),b=null;else{var R;switch(oc(u)){case Mr:R=Cf;break;case xr:R=wa;break;case eo:R=bi;break;case ac:R=Po;break;default:R=bi;break}b=CC(R,S3.bind(null,e))}e.callbackPriority=f,e.callbackNode=b}function S3(e,t){if(YB(),bh=cn,Zm=Ee,(zt&(Qr|zi))!==br)throw new Error("Should not already be working.");var o=e.callbackNode,u=nu();if(u&&e.callbackNode!==o)return null;var f=tc(e,e===Ra?wr:Ee);if(f===Ee)return null;var y=!rc(e,f)&&!u1(e,f)&&!t,b=y?Fz(e,f):Xm(e,f);if(b!==Jl){if(b===Rc){var R=up(e);R!==Ee&&(f=R,b=hC(e,R))}if(b===mh){var z=gh;throw Oc(e,Ee),cs(e,f),ni(e,Tn()),z}if(b===oC)cs(e,f);else{var j=!rc(e,f),q=e.current.alternate;if(j&&!wz(q)){if(b=Xm(e,f),b===Rc){var le=up(e);le!==Ee&&(f=le,b=hC(e,le))}if(b===mh){var ie=gh;throw Oc(e,Ee),cs(e,f),ni(e,Tn()),ie}}e.finishedWork=q,e.finishedLanes=f,bz(e,b,f)}}return ni(e,Tn()),e.callbackNode===o?S3.bind(null,e):null}function hC(e,t){var o=_h;if(Jn(e)){var u=Oc(e,t);u.flags|=Bn,Y9(e.containerInfo)}var f=Xm(e,t);if(f!==Rc){var y=ti;ti=o,y!==null&&E3(y)}return f}function E3(e){ti===null?ti=e:ti.push.apply(ti,e)}function bz(e,t,o){switch(t){case Jl:case mh:throw new Error("Root did not complete. This is a bug in React.");case Rc:{Bc(e,ti,eu);break}case $m:{if(cs(e,o),Yf(o)&&!U3()){var u=uC+g3-Tn();if(u>10){var f=tc(e,Ee);if(f!==Ee)break;var y=e.suspendedLanes;if(!Ml(y,o)){ka(),pp(e,y);break}e.timeoutHandle=f2(Bc.bind(null,e,ti,eu),u);break}}Bc(e,ti,eu);break}case yh:{if(cs(e,o),l1(o))break;if(!U3()){var b=o1(e,o),R=b,z=Tn()-R,j=Vz(z)-z;if(j>10){e.timeoutHandle=f2(Bc.bind(null,e,ti,eu),j);break}}Bc(e,ti,eu);break}case y3:{Bc(e,ti,eu);break}default:throw new Error("Unknown root exit status.")}}function wz(e){for(var t=e;;){if(t.flags&Ws){var o=t.updateQueue;if(o!==null){var u=o.stores;if(u!==null)for(var f=0;f<u.length;f++){var y=u[f],b=y.getSnapshot,R=y.value;try{if(!Ke(b(),R))return!1}catch{return!1}}}}var z=t.child;if(t.subtreeFlags&Ws&&z!==null){z.return=t,t=z;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function cs(e,t){t=zu(t,Ym),t=zu(t,xh),dp(e,t)}function b3(e){if(qB(),(zt&(Qr|zi))!==br)throw new Error("Should not already be working.");nu();var t=tc(e,Ee);if(!sa(t,st))return ni(e,Tn()),null;var o=Xm(e,t);if(e.tag!==Xu&&o===Rc){var u=up(e);u!==Ee&&(t=u,o=hC(e,u))}if(o===mh){var f=gh;throw Oc(e,Ee),cs(e,t),ni(e,Tn()),f}if(o===oC)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,Bc(e,ti,eu),ni(e,Tn()),null}function Dz(e,t){t!==Ee&&(Mu(e,_t(t,st)),ni(e,Tn()),(zt&(Qr|zi))===br&&(Ch(),Ju()))}function vC(e,t){var o=zt;zt|=m3;try{return e(t)}finally{zt=o,zt===br&&!mo.isBatchingLegacy&&(Ch(),_w())}}function Tz(e,t,o,u,f){var y=Wa(),b=Kr.transition;try{return Kr.transition=null,Xn(Mr),e(t,o,u,f)}finally{Xn(y),Kr.transition=b,zt===br&&Ch()}}function tu(e){us!==null&&us.tag===Xu&&(zt&(Qr|zi))===br&&nu();var t=zt;zt|=m3;var o=Kr.transition,u=Wa();try{return Kr.transition=null,Xn(Mr),e?e():void 0}finally{Xn(u),Kr.transition=o,zt=t,(zt&(Qr|zi))===br&&Ju()}}function w3(){return(zt&(Qr|zi))!==br}function Qm(e,t){fa(lC,ul,e),ul=_t(ul,t)}function mC(e){ul=lC.current,ca(lC,e)}function Oc(e,t){e.finishedWork=null,e.finishedLanes=Ee;var o=e.timeoutHandle;if(o!==d2&&(e.timeoutHandle=d2,t9(o)),Un!==null)for(var u=Un.return;u!==null;){var f=u.alternate;e3(f,u),u=u.return}Ra=e;var y=Fc(e.current,null);return Un=y,wr=ul=t,Dr=Jl,gh=null,Vm=Ee,xh=Ee,Ym=Ee,_h=null,ti=null,_B(),lo.discardPendingWarnings(),y}function D3(e,t){do{var o=Un;try{if(im(),n8(),Zn(),iC.current=null,o===null||o.return===null){Dr=mh,gh=t,Un=null;return}if(be&&o.mode&ut&&Lm(o,!0),xe)if(Dl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;r1(o,u,wr)}else Df(o,t,wr);QB(e,o.return,o,t,wr),k3(o)}catch(f){t=f,Un===o&&o!==null?(o=o.return,Un=o):o=Un;continue}return}while(!0)}function T3(){var e=aC.current;return aC.current=Bm,e===null?Bm:e}function A3(e){aC.current=e}function Az(){uC=Tn()}function wh(e){Vm=_t(e,Vm)}function Rz(){Dr===Jl&&(Dr=$m)}function yC(){(Dr===Jl||Dr===$m||Dr===Rc)&&(Dr=yh),Ra!==null&&(nc(Vm)||nc(xh))&&cs(Ra,wr)}function kz(e){Dr!==yh&&(Dr=Rc),_h===null?_h=[e]:_h.push(e)}function Oz(){return Dr===Jl}function Xm(e,t){var o=zt;zt|=Qr;var u=T3();if(Ra!==e||wr!==t){if(gr){var f=e.memoizedUpdaters;f.size>0&&(Dh(e,wr),f.clear()),Wf(e,t)}eu=mp(),Oc(e,t)}hi(t);do try{Bz();break}catch(y){D3(e,y)}while(!0);if(im(),zt=o,A3(u),Un!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Ru(),Ra=null,wr=Ee,Dr}function Bz(){for(;Un!==null;)R3(Un)}function Fz(e,t){var o=zt;zt|=Qr;var u=T3();if(Ra!==e||wr!==t){if(gr){var f=e.memoizedUpdaters;f.size>0&&(Dh(e,wr),f.clear()),Wf(e,t)}eu=mp(),Ch(),Oc(e,t)}hi(t);do try{zz();break}catch(y){D3(e,y)}while(!0);return im(),A3(u),zt=o,Un!==null?(Qs(),Jl):(Ru(),Ra=null,wr=Ee,Dr)}function zz(){for(;Un!==null&&!_f();)R3(Un)}function R3(e){var t=e.alternate;nn(e);var o;(e.mode&ut)!==ot?(B_(e),o=gC(t,e,ul),Lm(e,!0)):o=gC(t,e,ul),Zn(),e.memoizedProps=e.pendingProps,o===null?k3(e):Un=o,iC.current=null}function k3(e){var t=e;do{var o=t.alternate,u=t.return;if((t.flags&Sa)===rt){nn(t);var f=void 0;if((t.mode&ut)===ot?f=J8(o,t,ul):(B_(t),f=J8(o,t,ul),Lm(t,!1)),Zn(),f!==null){Un=f;return}}else{var y=RF(o,t);if(y!==null){y.flags&=Wv,Un=y;return}if((t.mode&ut)!==ot){Lm(t,!1);for(var b=t.actualDuration,R=t.child;R!==null;)b+=R.actualDuration,R=R.sibling;t.actualDuration=b}if(u!==null)u.flags|=Sa,u.subtreeFlags=rt,u.deletions=null;else{Dr=oC,Un=null;return}}var z=t.sibling;if(z!==null){Un=z;return}t=u,Un=t}while(t!==null);Dr===Jl&&(Dr=y3)}function Bc(e,t,o){var u=Wa(),f=Kr.transition;try{Kr.transition=null,Xn(Mr),Mz(e,t,o,u)}finally{Kr.transition=f,Xn(u)}return null}function Mz(e,t,o,u){do nu();while(us!==null);if(qz(),(zt&(Qr|zi))!==br)throw new Error("Should not already be working.");var f=e.finishedWork,y=e.finishedLanes;if(Ef(y),f===null)return rp(),null;if(y===Ee&&h("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ee,f===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Ft;var b=_t(f.lanes,f.childLanes);hp(e,b),e===Ra&&(Ra=null,Un=null,wr=Ee),((f.subtreeFlags&Va)!==rt||(f.flags&Va)!==rt)&&(kc||(kc=!0,fC=o,CC(bi,function(){return nu(),null})));var R=(f.subtreeFlags&(Du|ia|zr|Va))!==rt,z=(f.flags&(Du|ia|zr|Va))!==rt;if(R||z){var j=Kr.transition;Kr.transition=null;var q=Wa();Xn(Mr);var le=zt;zt|=zi,iC.current=null,zF(e,f),T8(),WF(e,f,y),WO(e.containerInfo),e.current=f,a1(y),ZF(f,e,y),Au(),Qv(),zt=le,Xn(q),Kr.transition=j}else e.current=f,T8();var ie=kc;if(kc?(kc=!1,us=e,Sh=y):(L0=0,Wm=null),b=e.pendingLanes,b===Ee&&(N0=null),ie||z3(e.current,!1),Qi(f.stateNode,u),gr&&e.memoizedUpdaters.clear(),hz(),ni(e,Tn()),t!==null)for(var me=e.onRecoverableError,ye=0;ye<t.length;ye++){var _e=t[ye],qe=_e.stack,at=_e.digest;me(_e.value,{componentStack:qe,digest:at})}if(qm){qm=!1;var tt=sC;throw sC=null,tt}return sa(Sh,st)&&e.tag!==Xu&&nu(),b=e.pendingLanes,sa(b,st)?(VB(),e===dC?Eh++:(Eh=0,dC=e)):Eh=0,Ju(),rp(),null}function nu(){if(us!==null){var e=oc(Sh),t=Nx(eo,e),o=Kr.transition,u=Wa();try{return Kr.transition=null,Xn(t),Lz()}finally{Xn(u),Kr.transition=o}}return!1}function Nz(e){cC.push(e),kc||(kc=!0,CC(bi,function(){return nu(),null}))}function Lz(){if(us===null)return!1;var e=fC;fC=null;var t=us,o=Sh;if(us=null,Sh=Ee,(zt&(Qr|zi))!==br)throw new Error("Cannot flush passive effects while already rendering.");pC=!0,Gm=!1,i1(o);var u=zt;zt|=zi,nz(t.current),XF(t,t.current,o,e);{var f=cC;cC=[];for(var y=0;y<f.length;y++){var b=f[y];UF(t,b)}}Ks(),z3(t.current,!0),zt=u,Ju(),Gm?t===Wm?L0++:(L0=0,Wm=t):L0=0,pC=!1,Gm=!1,Io(t);{var R=t.current.stateNode;R.effectDuration=0,R.passiveEffectDuration=0}return!0}function O3(e){return N0!==null&&N0.has(e)}function Uz(e){N0===null?N0=new Set([e]):N0.add(e)}function Hz(e){qm||(qm=!0,sC=e)}var Pz=Hz;function B3(e,t,o){var u=Tc(o,t),f=R8(e,u,st),y=ts(e,f,st),b=ka();y!==null&&(Nl(y,st,b),ni(y,b))}function yn(e,t,o){if(OF(o),Th(!1),e.tag===w){B3(e,e,o);return}var u=null;for(u=t;u!==null;){if(u.tag===w){B3(u,e,o);return}else if(u.tag===p){var f=u.type,y=u.stateNode;if(typeof f.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!O3(y)){var b=Tc(o,e),R=U_(u,b,st),z=ts(u,R,st),j=ka();z!==null&&(Nl(z,st,j),ni(z,j));return}}u=u.return}h(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
165
165
 
166
166
  Error message:
167
167
 
168
- %s`,o)}function Hz(e,t,o){var u=e.pingCache;u!==null&&u.delete(t);var f=ka();pp(e,o),Wz(e),Ra===e&&Ml(wr,o)&&(Dr===yh||Dr===$m&&Yf(wr)&&Tn()-uC<g3?Oc(e,Ee):Ym=_t(Ym,o)),ni(e,f)}function F3(e,t){t===Ft&&(t=xz(e));var o=ka(),u=Ja(e,t);u!==null&&(Nl(u,t,o),ni(u,o))}function Pz(e){var t=e.memoizedState,o=Ft;t!==null&&(o=t.retryLane),F3(e,o)}function jz(e,t){var o=Ft,u;switch(e.tag){case N:u=e.stateNode;var f=e.memoizedState;f!==null&&(o=f.retryLane);break;case I:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),F3(e,o)}function Iz(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:vz(e/1960)*1960}function $z(){if(Eh>yz)throw Eh=0,dC=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");L0>gz&&(L0=0,Wm=null,h("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function Vz(){lo.flushLegacyContextWarning(),lo.flushPendingUnsafeLifecycleWarnings()}function z3(e,t){nn(e),Jm(e,aa,sz),t&&Jm(e,wl,cz),Jm(e,aa,lz),t&&Jm(e,wl,uz),Zn()}function Jm(e,t,o){for(var u=e,f=null;u!==null;){var y=u.subtreeFlags&t;u!==f&&u.child!==null&&y!==rt?u=u.child:((u.flags&t)!==rt&&o(u),u.sibling!==null?u=u.sibling:u=f=u.return)}}var ey=null;function M3(e){{if((zt&Qr)!==br||!(e.mode&At))return;var t=e.tag;if(t!==x&&t!==w&&t!==p&&t!==_&&t!==A&&t!==H&&t!==L)return;var o=yt(e)||"ReactComponent";if(ey!==null){if(ey.has(o))return;ey.add(o)}else ey=new Set([o]);var u=$n;try{nn(e),h("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{u?nn(e):Zn()}}}var gC;{var Yz=null;gC=function(e,t,o){var u=$3(Yz,t);try{return W8(e,t,o)}catch(y){if(aB()||y!==null&&typeof y=="object"&&typeof y.then=="function")throw y;if(im(),n8(),e3(e,t),$3(t,u),t.mode&ut&&B_(t),bl(null,W8,null,e,t,o),Rx()){var f=qd();typeof f=="object"&&f!==null&&f._suppressLogging&&typeof y=="object"&&y!==null&&!y._suppressLogging&&(y._suppressLogging=!0)}throw y}}}var N3=!1,xC;xC=new Set;function qz(e){if(Ua&&!HB())switch(e.tag){case _:case A:case L:{var t=Un&&yt(Un)||"Unknown",o=t;if(!xC.has(o)){xC.add(o);var u=yt(e)||"Unknown";h("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",u,t,t)}break}case p:{N3||(h("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),N3=!0);break}}}function Dh(e,t){if(gr){var o=e.memoizedUpdaters;o.forEach(function(u){vp(e,u,t)})}}var _C={};function CC(e,t){{var o=mo.current;return o!==null?(o.push(t),_C):xf(e,t)}}function L3(e){if(e!==_C)return Kv(e)}function U3(){return mo.current!==null}function Gz(e){{if(e.mode&At){if(!v3())return}else if(!hz()||zt!==br||e.tag!==_&&e.tag!==A&&e.tag!==L)return;if(mo.current===null){var t=$n;try{nn(e),h(`An update to %s inside a test was not wrapped in act(...).
168
+ %s`,o)}function jz(e,t,o){var u=e.pingCache;u!==null&&u.delete(t);var f=ka();pp(e,o),Kz(e),Ra===e&&Ml(wr,o)&&(Dr===yh||Dr===$m&&Yf(wr)&&Tn()-uC<g3?Oc(e,Ee):Ym=_t(Ym,o)),ni(e,f)}function F3(e,t){t===Ft&&(t=Cz(e));var o=ka(),u=Ja(e,t);u!==null&&(Nl(u,t,o),ni(u,o))}function Iz(e){var t=e.memoizedState,o=Ft;t!==null&&(o=t.retryLane),F3(e,o)}function $z(e,t){var o=Ft,u;switch(e.tag){case N:u=e.stateNode;var f=e.memoizedState;f!==null&&(o=f.retryLane);break;case I:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),F3(e,o)}function Vz(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:yz(e/1960)*1960}function Yz(){if(Eh>xz)throw Eh=0,dC=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");L0>_z&&(L0=0,Wm=null,h("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function qz(){lo.flushLegacyContextWarning(),lo.flushPendingUnsafeLifecycleWarnings()}function z3(e,t){nn(e),Jm(e,aa,fz),t&&Jm(e,wl,dz),Jm(e,aa,sz),t&&Jm(e,wl,cz),Zn()}function Jm(e,t,o){for(var u=e,f=null;u!==null;){var y=u.subtreeFlags&t;u!==f&&u.child!==null&&y!==rt?u=u.child:((u.flags&t)!==rt&&o(u),u.sibling!==null?u=u.sibling:u=f=u.return)}}var ey=null;function M3(e){{if((zt&Qr)!==br||!(e.mode&At))return;var t=e.tag;if(t!==x&&t!==w&&t!==p&&t!==_&&t!==A&&t!==H&&t!==L)return;var o=yt(e)||"ReactComponent";if(ey!==null){if(ey.has(o))return;ey.add(o)}else ey=new Set([o]);var u=$n;try{nn(e),h("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{u?nn(e):Zn()}}}var gC;{var Gz=null;gC=function(e,t,o){var u=$3(Gz,t);try{return W8(e,t,o)}catch(y){if(oB()||y!==null&&typeof y=="object"&&typeof y.then=="function")throw y;if(im(),n8(),e3(e,t),$3(t,u),t.mode&ut&&B_(t),bl(null,W8,null,e,t,o),Rx()){var f=qd();typeof f=="object"&&f!==null&&f._suppressLogging&&typeof y=="object"&&y!==null&&!y._suppressLogging&&(y._suppressLogging=!0)}throw y}}}var N3=!1,xC;xC=new Set;function Wz(e){if(Ua&&!jB())switch(e.tag){case _:case A:case L:{var t=Un&&yt(Un)||"Unknown",o=t;if(!xC.has(o)){xC.add(o);var u=yt(e)||"Unknown";h("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",u,t,t)}break}case p:{N3||(h("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),N3=!0);break}}}function Dh(e,t){if(gr){var o=e.memoizedUpdaters;o.forEach(function(u){vp(e,u,t)})}}var _C={};function CC(e,t){{var o=mo.current;return o!==null?(o.push(t),_C):xf(e,t)}}function L3(e){if(e!==_C)return Kv(e)}function U3(){return mo.current!==null}function Zz(e){{if(e.mode&At){if(!v3())return}else if(!mz()||zt!==br||e.tag!==_&&e.tag!==A&&e.tag!==L)return;if(mo.current===null){var t=$n;try{nn(e),h(`An update to %s inside a test was not wrapped in act(...).
169
169
 
170
170
  When testing, code that causes React state updates should be wrapped into act(...):
171
171
 
@@ -174,7 +174,7 @@ act(() => {
174
174
  });
175
175
  /* assert on the output */
176
176
 
177
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,yt(e))}finally{t?nn(e):Zn()}}}}function Wz(e){e.tag!==Xu&&v3()&&mo.current===null&&h(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
177
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,yt(e))}finally{t?nn(e):Zn()}}}}function Kz(e){e.tag!==Xu&&v3()&&mo.current===null&&h(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
178
178
 
179
179
  When testing, code that resolves suspended data should be wrapped into act(...):
180
180
 
@@ -183,14 +183,14 @@ act(() => {
183
183
  });
184
184
  /* assert on the output */
185
185
 
186
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Th(e){C3=e}var Mi=null,U0=null,Zz=function(e){Mi=e};function H0(e){{if(Mi===null)return e;var t=Mi(e);return t===void 0?e:t.current}}function SC(e){return H0(e)}function EC(e){{if(Mi===null)return e;var t=Mi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var o=H0(e.render);if(e.render!==o){var u={$$typeof:it,render:o};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function H3(e,t){{if(Mi===null)return!1;var o=e.elementType,u=t.type,f=!1,y=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case p:{typeof u=="function"&&(f=!0);break}case _:{(typeof u=="function"||y===lt)&&(f=!0);break}case A:{(y===it||y===lt)&&(f=!0);break}case H:case L:{(y===Et||y===lt)&&(f=!0);break}default:return!1}if(f){var b=Mi(o);if(b!==void 0&&b===Mi(u))return!0}return!1}}function P3(e){{if(Mi===null||typeof WeakSet!="function")return;U0===null&&(U0=new WeakSet),U0.add(e)}}var Kz=function(e,t){{if(Mi===null)return;var o=t.staleFamilies,u=t.updatedFamilies;nu(),tu(function(){bC(e.current,u,o)})}},Qz=function(e,t){{if(e.context!==mi)return;nu(),tu(function(){Ah(t,e,null,null)})}};function bC(e,t,o){{var u=e.alternate,f=e.child,y=e.sibling,b=e.tag,R=e.type,z=null;switch(b){case _:case L:case p:z=R;break;case A:z=R.render;break}if(Mi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var j=!1,q=!1;if(z!==null){var le=Mi(z);le!==void 0&&(o.has(le)?q=!0:t.has(le)&&(b===p?q=!0:j=!0))}if(U0!==null&&(U0.has(e)||u!==null&&U0.has(u))&&(q=!0),q&&(e._debugNeedsRemount=!0),q||j){var ie=Ja(e,st);ie!==null&&Tr(ie,e,st,cn)}f!==null&&!q&&bC(f,t,o),y!==null&&bC(y,t,o)}}var Xz=function(e,t){{var o=new Set,u=new Set(t.map(function(f){return f.current}));return wC(e.current,u,o),o}};function wC(e,t,o){{var u=e.child,f=e.sibling,y=e.tag,b=e.type,R=null;switch(y){case _:case L:case p:R=b;break;case A:R=b.render;break}var z=!1;R!==null&&t.has(R)&&(z=!0),z?Jz(e,o):u!==null&&wC(u,t,o),f!==null&&wC(f,t,o)}}function Jz(e,t){{var o=eM(e,t);if(o)return;for(var u=e;;){switch(u.tag){case E:t.add(u.stateNode);return;case C:t.add(u.stateNode.containerInfo);return;case w:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function eM(e,t){for(var o=e,u=!1;;){if(o.tag===E)u=!0,t.add(o.stateNode);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)return u;for(;o.sibling===null;){if(o.return===null||o.return===e)return u;o=o.return}o.sibling.return=o.return,o=o.sibling}return!1}var DC;{DC=!1;try{var j3=Object.preventExtensions({})}catch{DC=!0}}function tM(e,t,o,u){this.tag=e,this.key=o,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=rt,this.subtreeFlags=rt,this.deletions=null,this.lanes=Ee,this.childLanes=Ee,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!DC&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var yi=function(e,t,o,u){return new tM(e,t,o,u)};function TC(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function nM(e){return typeof e=="function"&&!TC(e)&&e.defaultProps===void 0}function rM(e){if(typeof e=="function")return TC(e)?p:_;if(e!=null){var t=e.$$typeof;if(t===it)return A;if(t===Et)return H}return x}function Fc(e,t){var o=e.alternate;o===null?(o=yi(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o._debugSource=e._debugSource,o._debugOwner=e._debugOwner,o._debugHookTypes=e._debugHookTypes,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=rt,o.subtreeFlags=rt,o.deletions=null,o.actualDuration=0,o.actualStartTime=-1),o.flags=e.flags&yr,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue;var u=e.dependencies;switch(o.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.selfBaseDuration=e.selfBaseDuration,o.treeBaseDuration=e.treeBaseDuration,o._debugNeedsRemount=e._debugNeedsRemount,o.tag){case x:case _:case L:o.type=H0(e.type);break;case p:o.type=SC(e.type);break;case A:o.type=EC(e.type);break}return o}function aM(e,t){e.flags&=yr|pn;var o=e.alternate;if(o===null)e.childLanes=Ee,e.lanes=t,e.child=null,e.subtreeFlags=rt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=rt,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type;var u=o.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=o.selfBaseDuration,e.treeBaseDuration=o.treeBaseDuration}return e}function iM(e,t,o){var u;return e===Q1?(u=At,t===!0&&(u|=An,u|=qa)):u=ot,gr&&(u|=ut),yi(w,null,null,u)}function AC(e,t,o,u,f,y){var b=x,R=e;if(typeof e=="function")TC(e)?(b=p,R=SC(R)):R=H0(R);else if(typeof e=="string")b=E;else{e:switch(e){case _a:return fs(o.children,f,y,t);case Ao:b=O,f|=An,(f&At)!==ot&&(f|=qa);break;case ee:return oM(o,f,y,t);case Ct:return lM(o,f,y,t);case Ut:return uM(o,f,y,t);case Cn:return I3(o,f,y,t);case Ir:case ir:case Ro:case Gc:case _n:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Oe:b=B;break e;case je:b=M;break e;case it:b=A,R=EC(R);break e;case Et:b=H;break e;case lt:b=Y,R=null;break e}var z="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(z+=" 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 j=u?yt(u):null;j&&(z+=`
186
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Th(e){C3=e}var Mi=null,U0=null,Qz=function(e){Mi=e};function H0(e){{if(Mi===null)return e;var t=Mi(e);return t===void 0?e:t.current}}function SC(e){return H0(e)}function EC(e){{if(Mi===null)return e;var t=Mi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var o=H0(e.render);if(e.render!==o){var u={$$typeof:it,render:o};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function H3(e,t){{if(Mi===null)return!1;var o=e.elementType,u=t.type,f=!1,y=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case p:{typeof u=="function"&&(f=!0);break}case _:{(typeof u=="function"||y===lt)&&(f=!0);break}case A:{(y===it||y===lt)&&(f=!0);break}case H:case L:{(y===Et||y===lt)&&(f=!0);break}default:return!1}if(f){var b=Mi(o);if(b!==void 0&&b===Mi(u))return!0}return!1}}function P3(e){{if(Mi===null||typeof WeakSet!="function")return;U0===null&&(U0=new WeakSet),U0.add(e)}}var Xz=function(e,t){{if(Mi===null)return;var o=t.staleFamilies,u=t.updatedFamilies;nu(),tu(function(){bC(e.current,u,o)})}},Jz=function(e,t){{if(e.context!==mi)return;nu(),tu(function(){Ah(t,e,null,null)})}};function bC(e,t,o){{var u=e.alternate,f=e.child,y=e.sibling,b=e.tag,R=e.type,z=null;switch(b){case _:case L:case p:z=R;break;case A:z=R.render;break}if(Mi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var j=!1,q=!1;if(z!==null){var le=Mi(z);le!==void 0&&(o.has(le)?q=!0:t.has(le)&&(b===p?q=!0:j=!0))}if(U0!==null&&(U0.has(e)||u!==null&&U0.has(u))&&(q=!0),q&&(e._debugNeedsRemount=!0),q||j){var ie=Ja(e,st);ie!==null&&Tr(ie,e,st,cn)}f!==null&&!q&&bC(f,t,o),y!==null&&bC(y,t,o)}}var eM=function(e,t){{var o=new Set,u=new Set(t.map(function(f){return f.current}));return wC(e.current,u,o),o}};function wC(e,t,o){{var u=e.child,f=e.sibling,y=e.tag,b=e.type,R=null;switch(y){case _:case L:case p:R=b;break;case A:R=b.render;break}var z=!1;R!==null&&t.has(R)&&(z=!0),z?tM(e,o):u!==null&&wC(u,t,o),f!==null&&wC(f,t,o)}}function tM(e,t){{var o=nM(e,t);if(o)return;for(var u=e;;){switch(u.tag){case E:t.add(u.stateNode);return;case C:t.add(u.stateNode.containerInfo);return;case w:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function nM(e,t){for(var o=e,u=!1;;){if(o.tag===E)u=!0,t.add(o.stateNode);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)return u;for(;o.sibling===null;){if(o.return===null||o.return===e)return u;o=o.return}o.sibling.return=o.return,o=o.sibling}return!1}var DC;{DC=!1;try{var j3=Object.preventExtensions({})}catch{DC=!0}}function rM(e,t,o,u){this.tag=e,this.key=o,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=rt,this.subtreeFlags=rt,this.deletions=null,this.lanes=Ee,this.childLanes=Ee,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!DC&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var yi=function(e,t,o,u){return new rM(e,t,o,u)};function TC(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function aM(e){return typeof e=="function"&&!TC(e)&&e.defaultProps===void 0}function iM(e){if(typeof e=="function")return TC(e)?p:_;if(e!=null){var t=e.$$typeof;if(t===it)return A;if(t===Et)return H}return x}function Fc(e,t){var o=e.alternate;o===null?(o=yi(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o._debugSource=e._debugSource,o._debugOwner=e._debugOwner,o._debugHookTypes=e._debugHookTypes,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=rt,o.subtreeFlags=rt,o.deletions=null,o.actualDuration=0,o.actualStartTime=-1),o.flags=e.flags&yr,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue;var u=e.dependencies;switch(o.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.selfBaseDuration=e.selfBaseDuration,o.treeBaseDuration=e.treeBaseDuration,o._debugNeedsRemount=e._debugNeedsRemount,o.tag){case x:case _:case L:o.type=H0(e.type);break;case p:o.type=SC(e.type);break;case A:o.type=EC(e.type);break}return o}function oM(e,t){e.flags&=yr|pn;var o=e.alternate;if(o===null)e.childLanes=Ee,e.lanes=t,e.child=null,e.subtreeFlags=rt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=rt,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type;var u=o.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=o.selfBaseDuration,e.treeBaseDuration=o.treeBaseDuration}return e}function lM(e,t,o){var u;return e===Q1?(u=At,t===!0&&(u|=An,u|=qa)):u=ot,gr&&(u|=ut),yi(w,null,null,u)}function AC(e,t,o,u,f,y){var b=x,R=e;if(typeof e=="function")TC(e)?(b=p,R=SC(R)):R=H0(R);else if(typeof e=="string")b=E;else{e:switch(e){case _a:return fs(o.children,f,y,t);case Ao:b=O,f|=An,(f&At)!==ot&&(f|=qa);break;case ee:return uM(o,f,y,t);case Ct:return sM(o,f,y,t);case Ut:return cM(o,f,y,t);case Cn:return I3(o,f,y,t);case Ir:case ir:case Ro:case Gc:case _n:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Oe:b=B;break e;case je:b=M;break e;case it:b=A,R=EC(R);break e;case Et:b=H;break e;case lt:b=Y,R=null;break e}var z="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(z+=" 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 j=u?yt(u):null;j&&(z+=`
187
187
 
188
- Check the render method of \``+j+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+z))}}}var q=yi(b,o,t,f);return q.elementType=e,q.type=R,q.lanes=y,q._debugOwner=u,q}function RC(e,t,o){var u=null;u=e._owner;var f=e.type,y=e.key,b=e.props,R=AC(f,y,b,u,t,o);return R._debugSource=e._source,R._debugOwner=e._owner,R}function fs(e,t,o,u){var f=yi(k,e,u,t);return f.lanes=o,f}function oM(e,t,o,u){typeof e.id!="string"&&h('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var f=yi(F,e,u,t|ut);return f.elementType=ee,f.lanes=o,f.stateNode={effectDuration:0,passiveEffectDuration:0},f}function lM(e,t,o,u){var f=yi(N,e,u,t);return f.elementType=Ct,f.lanes=o,f}function uM(e,t,o,u){var f=yi(I,e,u,t);return f.elementType=Ut,f.lanes=o,f}function I3(e,t,o,u){var f=yi(W,e,u,t);f.elementType=Cn,f.lanes=o;var y={isHidden:!1};return f.stateNode=y,f}function kC(e,t,o){var u=yi(T,e,null,t);return u.lanes=o,u}function sM(){var e=yi(E,null,null,ot);return e.elementType="DELETED",e}function cM(e){var t=yi(P,null,null,ot);return t.stateNode=e,t}function OC(e,t,o){var u=e.children!==null?e.children:[],f=yi(C,u,e.key,t);return f.lanes=o,f.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},f}function $3(e,t){return e===null&&(e=yi(x,null,null,ot)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function fM(e,t,o,u,f){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=d2,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ft,this.eventTimes=Gf(Ee),this.expirationTimes=Gf(cn),this.pendingLanes=Ee,this.suspendedLanes=Ee,this.pingedLanes=Ee,this.expiredLanes=Ee,this.mutableReadLanes=Ee,this.finishedLanes=Ee,this.entangledLanes=Ee,this.entanglements=Gf(Ee),this.identifierPrefix=u,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],b=0;b<vn;b++)y.push(new Set)}switch(t){case Q1:this._debugRootType=o?"hydrateRoot()":"createRoot()";break;case Xu:this._debugRootType=o?"hydrate()":"render()";break}}function V3(e,t,o,u,f,y,b,R,z,j){var q=new fM(e,t,o,R,z),le=iM(t,y);q.current=le,le.stateNode=q;{var ie={element:u,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null};le.memoizedState=ie}return H2(le),q}var BC="18.2.0";function dM(e,t,o){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return nr(u),{$$typeof:Br,key:u==null?null:""+u,children:e,containerInfo:t,implementation:o}}var FC,zC;FC=!1,zC={};function Y3(e){if(!e)return mi;var t=ja(e),o=Z9(t);if(t.tag===p){var u=t.type;if(tl(u))return yw(t,u,o)}return o}function pM(e,t){{var o=ja(e);if(o===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var f=Ya(o);if(f===null)return null;if(f.mode&An){var y=yt(o)||"Component";if(!zC[y]){zC[y]=!0;var b=$n;try{nn(f),o.mode&An?h("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,y):h("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,y)}finally{b?nn(b):Zn()}}}return f.stateNode}}function q3(e,t,o,u,f,y,b,R){var z=!1,j=null;return V3(e,t,z,j,o,u,f,y,b)}function G3(e,t,o,u,f,y,b,R,z,j){var q=!0,le=V3(o,u,q,e,f,y,b,R,z);le.context=Y3(null);var ie=le.current,me=ka(),ye=ss(ie),_e=Ql(me,ye);return _e.callback=t??null,ts(ie,_e,ye),_z(le,ye,me),le}function Ah(e,t,o,u){Xv(t,e);var f=t.current,y=ka(),b=ss(f);Tl(b);var R=Y3(o);t.context===null?t.context=R:t.pendingContext=R,Ua&&$n!==null&&!FC&&(FC=!0,h(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
188
+ Check the render method of \``+j+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+z))}}}var q=yi(b,o,t,f);return q.elementType=e,q.type=R,q.lanes=y,q._debugOwner=u,q}function RC(e,t,o){var u=null;u=e._owner;var f=e.type,y=e.key,b=e.props,R=AC(f,y,b,u,t,o);return R._debugSource=e._source,R._debugOwner=e._owner,R}function fs(e,t,o,u){var f=yi(k,e,u,t);return f.lanes=o,f}function uM(e,t,o,u){typeof e.id!="string"&&h('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var f=yi(F,e,u,t|ut);return f.elementType=ee,f.lanes=o,f.stateNode={effectDuration:0,passiveEffectDuration:0},f}function sM(e,t,o,u){var f=yi(N,e,u,t);return f.elementType=Ct,f.lanes=o,f}function cM(e,t,o,u){var f=yi(I,e,u,t);return f.elementType=Ut,f.lanes=o,f}function I3(e,t,o,u){var f=yi(W,e,u,t);f.elementType=Cn,f.lanes=o;var y={isHidden:!1};return f.stateNode=y,f}function kC(e,t,o){var u=yi(T,e,null,t);return u.lanes=o,u}function fM(){var e=yi(E,null,null,ot);return e.elementType="DELETED",e}function dM(e){var t=yi(P,null,null,ot);return t.stateNode=e,t}function OC(e,t,o){var u=e.children!==null?e.children:[],f=yi(C,u,e.key,t);return f.lanes=o,f.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},f}function $3(e,t){return e===null&&(e=yi(x,null,null,ot)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function pM(e,t,o,u,f){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=d2,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ft,this.eventTimes=Gf(Ee),this.expirationTimes=Gf(cn),this.pendingLanes=Ee,this.suspendedLanes=Ee,this.pingedLanes=Ee,this.expiredLanes=Ee,this.mutableReadLanes=Ee,this.finishedLanes=Ee,this.entangledLanes=Ee,this.entanglements=Gf(Ee),this.identifierPrefix=u,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],b=0;b<vn;b++)y.push(new Set)}switch(t){case Q1:this._debugRootType=o?"hydrateRoot()":"createRoot()";break;case Xu:this._debugRootType=o?"hydrate()":"render()";break}}function V3(e,t,o,u,f,y,b,R,z,j){var q=new pM(e,t,o,R,z),le=lM(t,y);q.current=le,le.stateNode=q;{var ie={element:u,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null};le.memoizedState=ie}return H2(le),q}var BC="18.2.0";function hM(e,t,o){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return nr(u),{$$typeof:Br,key:u==null?null:""+u,children:e,containerInfo:t,implementation:o}}var FC,zC;FC=!1,zC={};function Y3(e){if(!e)return mi;var t=ja(e),o=Q9(t);if(t.tag===p){var u=t.type;if(tl(u))return yw(t,u,o)}return o}function vM(e,t){{var o=ja(e);if(o===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var f=Ya(o);if(f===null)return null;if(f.mode&An){var y=yt(o)||"Component";if(!zC[y]){zC[y]=!0;var b=$n;try{nn(f),o.mode&An?h("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,y):h("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,y)}finally{b?nn(b):Zn()}}}return f.stateNode}}function q3(e,t,o,u,f,y,b,R){var z=!1,j=null;return V3(e,t,z,j,o,u,f,y,b)}function G3(e,t,o,u,f,y,b,R,z,j){var q=!0,le=V3(o,u,q,e,f,y,b,R,z);le.context=Y3(null);var ie=le.current,me=ka(),ye=ss(ie),_e=Ql(me,ye);return _e.callback=t??null,ts(ie,_e,ye),Sz(le,ye,me),le}function Ah(e,t,o,u){Xv(t,e);var f=t.current,y=ka(),b=ss(f);Tl(b);var R=Y3(o);t.context===null?t.context=R:t.pendingContext=R,Ua&&$n!==null&&!FC&&(FC=!0,h(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
189
189
 
190
- Check the render method of %s.`,yt($n)||"Unknown"));var z=Ql(y,b);z.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&h("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),z.callback=u);var j=ts(f,z,b);return j!==null&&(Tr(j,f,b,y),cm(j,f,b)),b}function ty(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case E:return t.child.stateNode;default:return t.child.stateNode}}function hM(e){switch(e.tag){case w:{var t=e.stateNode;if(Jn(t)){var o=Bx(t);bz(t,o)}break}case N:{tu(function(){var f=Ja(e,st);if(f!==null){var y=ka();Tr(f,e,st,y)}});var u=st;MC(e,u);break}}}function W3(e,t){var o=e.memoizedState;o!==null&&o.dehydrated!==null&&(o.retryLane=c1(o.retryLane,t))}function MC(e,t){W3(e,t);var o=e.alternate;o&&W3(o,t)}function vM(e){if(e.tag===N){var t=ku,o=Ja(e,t);if(o!==null){var u=ka();Tr(o,e,t,u)}MC(e,t)}}function mM(e){if(e.tag===N){var t=ss(e),o=Ja(e,t);if(o!==null){var u=ka();Tr(o,e,t,u)}MC(e,t)}}function Z3(e){var t=Zv(e);return t===null?null:t.stateNode}var K3=function(e){return null};function yM(e){return K3(e)}var Q3=function(e){return!1};function gM(e){return Q3(e)}var X3=null,J3=null,e6=null,t6=null,n6=null,r6=null,a6=null,i6=null,o6=null;{var l6=function(e,t,o){var u=t[o],f=or(e)?e.slice():Rt({},e);return o+1===t.length?(or(f)?f.splice(u,1):delete f[u],f):(f[u]=l6(e[u],t,o+1),f)},u6=function(e,t){return l6(e,t,0)},s6=function(e,t,o,u){var f=t[u],y=or(e)?e.slice():Rt({},e);if(u+1===t.length){var b=o[u];y[b]=y[f],or(y)?y.splice(f,1):delete y[f]}else y[f]=s6(e[f],t,o,u+1);return y},c6=function(e,t,o){if(t.length!==o.length){v("copyWithRename() expects paths of the same length");return}else for(var u=0;u<o.length-1;u++)if(t[u]!==o[u]){v("copyWithRename() expects paths to be the same except for the deepest key");return}return s6(e,t,o,0)},f6=function(e,t,o,u){if(o>=t.length)return u;var f=t[o],y=or(e)?e.slice():Rt({},e);return y[f]=f6(e[f],t,o+1,u),y},d6=function(e,t,o){return f6(e,t,0,o)},NC=function(e,t){for(var o=e.memoizedState;o!==null&&t>0;)o=o.next,t--;return o};X3=function(e,t,o,u){var f=NC(e,t);if(f!==null){var y=d6(f.memoizedState,o,u);f.memoizedState=y,f.baseState=y,e.memoizedProps=Rt({},e.memoizedProps);var b=Ja(e,st);b!==null&&Tr(b,e,st,cn)}},J3=function(e,t,o){var u=NC(e,t);if(u!==null){var f=u6(u.memoizedState,o);u.memoizedState=f,u.baseState=f,e.memoizedProps=Rt({},e.memoizedProps);var y=Ja(e,st);y!==null&&Tr(y,e,st,cn)}},e6=function(e,t,o,u){var f=NC(e,t);if(f!==null){var y=c6(f.memoizedState,o,u);f.memoizedState=y,f.baseState=y,e.memoizedProps=Rt({},e.memoizedProps);var b=Ja(e,st);b!==null&&Tr(b,e,st,cn)}},t6=function(e,t,o){e.pendingProps=d6(e.memoizedProps,t,o),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Ja(e,st);u!==null&&Tr(u,e,st,cn)},n6=function(e,t){e.pendingProps=u6(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Ja(e,st);o!==null&&Tr(o,e,st,cn)},r6=function(e,t,o){e.pendingProps=c6(e.memoizedProps,t,o),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Ja(e,st);u!==null&&Tr(u,e,st,cn)},a6=function(e){var t=Ja(e,st);t!==null&&Tr(t,e,st,cn)},i6=function(e){K3=e},o6=function(e){Q3=e}}function xM(e){var t=Ya(e);return t===null?null:t.stateNode}function _M(e){return null}function CM(){return $n}function SM(e){var t=e.findFiberByHostInstance,o=a.ReactCurrentDispatcher;return tp({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:X3,overrideHookStateDeletePath:J3,overrideHookStateRenamePath:e6,overrideProps:t6,overridePropsDeletePath:n6,overridePropsRenamePath:r6,setErrorHandler:i6,setSuspenseHandler:o6,scheduleUpdate:a6,currentDispatcherRef:o,findHostInstanceByFiber:xM,findFiberByHostInstance:t||_M,findHostInstancesForRefresh:Xz,scheduleRefresh:Kz,scheduleRoot:Qz,setRefreshHandler:Zz,getCurrentFiber:CM,reconcilerVersion:BC})}var p6=typeof reportError=="function"?reportError:function(e){};function LC(e){this._internalRoot=e}ny.prototype.render=LC.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?h("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):ry(arguments[1])?h("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&h("You passed a second argument to root.render(...) but it only accepts one argument.");var o=t.containerInfo;if(o.nodeType!==Vn){var u=Z3(t.current);u&&u.parentNode!==o&&h("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Ah(e,t,null,null)},ny.prototype.unmount=LC.prototype.unmount=function(){typeof arguments[0]=="function"&&h("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;w3()&&h("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),tu(function(){Ah(null,e,null,null)}),dw(t)}};function EM(e,t){if(!ry(e))throw new Error("createRoot(...): Target container is not a DOM element.");h6(e);var o=!1,u=!1,f="",y=p6;t!=null&&(t.hydrate?v("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===mr&&h(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
190
+ Check the render method of %s.`,yt($n)||"Unknown"));var z=Ql(y,b);z.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&h("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),z.callback=u);var j=ts(f,z,b);return j!==null&&(Tr(j,f,b,y),cm(j,f,b)),b}function ty(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case E:return t.child.stateNode;default:return t.child.stateNode}}function mM(e){switch(e.tag){case w:{var t=e.stateNode;if(Jn(t)){var o=Bx(t);Dz(t,o)}break}case N:{tu(function(){var f=Ja(e,st);if(f!==null){var y=ka();Tr(f,e,st,y)}});var u=st;MC(e,u);break}}}function W3(e,t){var o=e.memoizedState;o!==null&&o.dehydrated!==null&&(o.retryLane=c1(o.retryLane,t))}function MC(e,t){W3(e,t);var o=e.alternate;o&&W3(o,t)}function yM(e){if(e.tag===N){var t=ku,o=Ja(e,t);if(o!==null){var u=ka();Tr(o,e,t,u)}MC(e,t)}}function gM(e){if(e.tag===N){var t=ss(e),o=Ja(e,t);if(o!==null){var u=ka();Tr(o,e,t,u)}MC(e,t)}}function Z3(e){var t=Zv(e);return t===null?null:t.stateNode}var K3=function(e){return null};function xM(e){return K3(e)}var Q3=function(e){return!1};function _M(e){return Q3(e)}var X3=null,J3=null,e6=null,t6=null,n6=null,r6=null,a6=null,i6=null,o6=null;{var l6=function(e,t,o){var u=t[o],f=or(e)?e.slice():Rt({},e);return o+1===t.length?(or(f)?f.splice(u,1):delete f[u],f):(f[u]=l6(e[u],t,o+1),f)},u6=function(e,t){return l6(e,t,0)},s6=function(e,t,o,u){var f=t[u],y=or(e)?e.slice():Rt({},e);if(u+1===t.length){var b=o[u];y[b]=y[f],or(y)?y.splice(f,1):delete y[f]}else y[f]=s6(e[f],t,o,u+1);return y},c6=function(e,t,o){if(t.length!==o.length){v("copyWithRename() expects paths of the same length");return}else for(var u=0;u<o.length-1;u++)if(t[u]!==o[u]){v("copyWithRename() expects paths to be the same except for the deepest key");return}return s6(e,t,o,0)},f6=function(e,t,o,u){if(o>=t.length)return u;var f=t[o],y=or(e)?e.slice():Rt({},e);return y[f]=f6(e[f],t,o+1,u),y},d6=function(e,t,o){return f6(e,t,0,o)},NC=function(e,t){for(var o=e.memoizedState;o!==null&&t>0;)o=o.next,t--;return o};X3=function(e,t,o,u){var f=NC(e,t);if(f!==null){var y=d6(f.memoizedState,o,u);f.memoizedState=y,f.baseState=y,e.memoizedProps=Rt({},e.memoizedProps);var b=Ja(e,st);b!==null&&Tr(b,e,st,cn)}},J3=function(e,t,o){var u=NC(e,t);if(u!==null){var f=u6(u.memoizedState,o);u.memoizedState=f,u.baseState=f,e.memoizedProps=Rt({},e.memoizedProps);var y=Ja(e,st);y!==null&&Tr(y,e,st,cn)}},e6=function(e,t,o,u){var f=NC(e,t);if(f!==null){var y=c6(f.memoizedState,o,u);f.memoizedState=y,f.baseState=y,e.memoizedProps=Rt({},e.memoizedProps);var b=Ja(e,st);b!==null&&Tr(b,e,st,cn)}},t6=function(e,t,o){e.pendingProps=d6(e.memoizedProps,t,o),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Ja(e,st);u!==null&&Tr(u,e,st,cn)},n6=function(e,t){e.pendingProps=u6(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=Ja(e,st);o!==null&&Tr(o,e,st,cn)},r6=function(e,t,o){e.pendingProps=c6(e.memoizedProps,t,o),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Ja(e,st);u!==null&&Tr(u,e,st,cn)},a6=function(e){var t=Ja(e,st);t!==null&&Tr(t,e,st,cn)},i6=function(e){K3=e},o6=function(e){Q3=e}}function CM(e){var t=Ya(e);return t===null?null:t.stateNode}function SM(e){return null}function EM(){return $n}function bM(e){var t=e.findFiberByHostInstance,o=a.ReactCurrentDispatcher;return tp({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:X3,overrideHookStateDeletePath:J3,overrideHookStateRenamePath:e6,overrideProps:t6,overridePropsDeletePath:n6,overridePropsRenamePath:r6,setErrorHandler:i6,setSuspenseHandler:o6,scheduleUpdate:a6,currentDispatcherRef:o,findHostInstanceByFiber:CM,findFiberByHostInstance:t||SM,findHostInstancesForRefresh:eM,scheduleRefresh:Xz,scheduleRoot:Jz,setRefreshHandler:Qz,getCurrentFiber:EM,reconcilerVersion:BC})}var p6=typeof reportError=="function"?reportError:function(e){};function LC(e){this._internalRoot=e}ny.prototype.render=LC.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?h("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):ry(arguments[1])?h("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&h("You passed a second argument to root.render(...) but it only accepts one argument.");var o=t.containerInfo;if(o.nodeType!==Vn){var u=Z3(t.current);u&&u.parentNode!==o&&h("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Ah(e,t,null,null)},ny.prototype.unmount=LC.prototype.unmount=function(){typeof arguments[0]=="function"&&h("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;w3()&&h("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),tu(function(){Ah(null,e,null,null)}),dw(t)}};function wM(e,t){if(!ry(e))throw new Error("createRoot(...): Target container is not a DOM element.");h6(e);var o=!1,u=!1,f="",y=p6;t!=null&&(t.hydrate?v("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===mr&&h(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
191
191
 
192
192
  let root = createRoot(domContainer);
193
- root.render(<App />);`),t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(f=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var b=q3(e,Q1,null,o,u,f,y);V1(b.current,e);var R=e.nodeType===Vn?e.parentNode:e;return Np(R),new LC(b)}function ny(e){this._internalRoot=e}function bM(e){e&&g1(e)}ny.prototype.unstable_scheduleHydration=bM;function wM(e,t,o){if(!ry(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");h6(e),t===void 0&&h("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=o??null,f=o!=null&&o.hydratedSources||null,y=!1,b=!1,R="",z=p6;o!=null&&(o.unstable_strictMode===!0&&(y=!0),o.identifierPrefix!==void 0&&(R=o.identifierPrefix),o.onRecoverableError!==void 0&&(z=o.onRecoverableError));var j=G3(t,null,e,Q1,u,y,b,R,z);if(V1(j.current,e),Np(e),f)for(var q=0;q<f.length;q++){var le=f[q];FB(j,le)}return new ny(j)}function ry(e){return!!(e&&(e.nodeType===ta||e.nodeType===fi||e.nodeType===gl||!te))}function Rh(e){return!!(e&&(e.nodeType===ta||e.nodeType===fi||e.nodeType===gl||e.nodeType===Vn&&e.nodeValue===" react-mount-point-unstable "))}function h6(e){e.nodeType===ta&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&h("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Gp(e)&&(e._reactRootContainer?h("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):h("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var DM=a.ReactCurrentOwner,v6;v6=function(e){if(e._reactRootContainer&&e.nodeType!==Vn){var t=Z3(e._reactRootContainer.current);t&&t.parentNode!==e&&h("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var o=!!e._reactRootContainer,u=UC(e),f=!!(u&&Ku(u));f&&!o&&h("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===ta&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&h("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function UC(e){return e?e.nodeType===fi?e.documentElement:e.firstChild:null}function m6(){}function TM(e,t,o,u,f){if(f){if(typeof u=="function"){var y=u;u=function(){var ie=ty(b);y.call(ie)}}var b=G3(t,u,e,Xu,null,!1,!1,"",m6);e._reactRootContainer=b,V1(b.current,e);var R=e.nodeType===Vn?e.parentNode:e;return Np(R),tu(),b}else{for(var z;z=e.lastChild;)e.removeChild(z);if(typeof u=="function"){var j=u;u=function(){var ie=ty(q);j.call(ie)}}var q=q3(e,Xu,null,!1,!1,"",m6);e._reactRootContainer=q,V1(q.current,e);var le=e.nodeType===Vn?e.parentNode:e;return Np(le),tu(function(){Ah(t,q,o,u)}),q}}function AM(e,t){e!==null&&typeof e!="function"&&h("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function ay(e,t,o,u,f){v6(o),AM(f===void 0?null:f,"render");var y=o._reactRootContainer,b;if(!y)b=TM(o,t,e,f,u);else{if(b=y,typeof f=="function"){var R=f;f=function(){var z=ty(b);R.call(z)}}Ah(t,b,e,f)}return ty(b)}function RM(e){{var t=DM.current;if(t!==null&&t.stateNode!==null){var o=t.stateNode._warnedAboutRefsInRender;o||h("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",un(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===ta?e:pM(e,"findDOMNode")}function kM(e,t,o){if(h("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rh(t))throw new Error("Target container is not a DOM element.");{var u=Gp(t)&&t._reactRootContainer===void 0;u&&h("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return ay(null,e,t,!0,o)}function OM(e,t,o){if(h("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rh(t))throw new Error("Target container is not a DOM element.");{var u=Gp(t)&&t._reactRootContainer===void 0;u&&h("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return ay(null,e,t,!1,o)}function BM(e,t,o,u){if(h("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rh(o))throw new Error("Target container is not a DOM element.");if(e==null||!Gs(e))throw new Error("parentComponent must be a valid React Component");return ay(e,t,o,!1,u)}function FM(e){if(!Rh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Gp(e)&&e._reactRootContainer===void 0;t&&h("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var o=UC(e),u=o&&!Ku(o);u&&h("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return tu(function(){ay(null,null,e,!1,function(){e._reactRootContainer=null,dw(e)})}),!0}else{{var f=UC(e),y=!!(f&&Ku(f)),b=e.nodeType===ta&&Rh(e.parentNode)&&!!e.parentNode._reactRootContainer;y&&h("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",b?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}We(hM),d1(vM),uc(mM),gp(Wa),h1(ic),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&h("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),qv(NO),hf(vC,wz,tu);function zM(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ry(t))throw new Error("Target container is not a DOM element.");return dM(e,t,null,o)}function MM(e,t,o,u){return BM(e,t,o,u)}var HC={usingClientEntryPoint:!1,Events:[Ku,m0,Y1,pf,Vs,vC]};function NM(e,t){return HC.usingClientEntryPoint||h('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),EM(e,t)}function LM(e,t,o){return HC.usingClientEntryPoint||h('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),wM(e,t,o)}function UM(e){return w3()&&h("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),tu(e)}var HM=SM({findFiberByHostInstance:gc,bundleType:1,version:BC,rendererPackageName:"react-dom"});if(!HM&&ft&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var PM=window.location.protocol;/^(https?|file):$/.test(PM)}za.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=HC,za.createPortal=zM,za.createRoot=NM,za.findDOMNode=RM,za.flushSync=UM,za.hydrate=kM,za.hydrateRoot=LM,za.render=OM,za.unmountComponentAtNode=FM,za.unstable_batchedUpdates=vC,za.unstable_renderSubtreeIntoContainer=MM,za.version=BC,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),za}(function(n){function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch{}}}process.env.NODE_ENV==="production"?(l(),n.exports=e5()):n.exports=t5()})(hy);var gy=(n=>(n.zip="application/zip",n.png="image/png",n.jpg="image/jpg",n.jpeg="image/jpeg",n.pdf="application/pdf",n.doc="application/msword",n.docx="application/vnd.openxmlformats-officedocument.wordprocessingml.document",n.pptx="application/vnd.openxmlformats-officedocument.presentationml.presentation",n.ppt="application/vnd.ms-powerpoint",n.xlsx="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",n.xls="application/vnd.ms-excel",n.txt="text/plain",n.csv="text/csv",n.svg="image/svg+xml",n))(gy||{});const xy=new Map(Object.entries(gy));var Nc=(n=>(n.zip=".zip",n.png=".png",n.jpg=".jpg",n.jpeg=".jpeg",n.pdf=".pdf",n.doc=".doc",n.docx=".docx",n.ppt=".ppt",n.pptx=".pptx",n.xls=".xls",n.xlsx=".xlsx",n.txt=".txt",n.csv=".csv",n.svg=".svg",n.rar=".rar",n))(Nc||{});const n5=Object.freeze(Object.defineProperty({__proto__:null,FileType:gy,FileTypeMap:xy,FileSuffix:Nc},Symbol.toStringTag,{value:"Module"})),r5=n=>{if(!au.isObject(n))return n;const l=n;return au.pick(l,au.keys(l).filter(a=>!au.isNil(l[a])))},zS=n=>new Promise((l,a)=>{const s=new FileReader;s.readAsDataURL(n),s.onload=()=>l(s.result),s.onerror=d=>a(d)}),Lh=n=>{var l;if(n)return"."+((l=n.split(".").at(-1))==null?void 0:l.toLowerCase())},a5=n=>{if(n){if(n.startsWith("http")){const l=n.split(".").at(-1);if(l&&xy.has(l))return xy.get(l)}if(n.startsWith("data:")&&n.includes("base64")){const l=n.indexOf(";base64"),a=n.slice(0,l).split(":");if(a[1])return a[1]}}},MS=(n,l)=>{const a=typeof l=="object"?JSON.stringify(l):l;localStorage.setItem(n,a)},_y=n=>{let a=localStorage.getItem(n);return typeof a=="string"&&(a=Cy(a)),a||null},i5=n=>{localStorage.removeItem(n)},o5=(n,l)=>{const a=typeof l=="object"?JSON.stringify(l):l;sessionStorage.setItem(n,a)},l5=n=>{let a=sessionStorage.getItem(n);return typeof a=="string"&&(a=Cy(a)),a||null},u5=n=>{sessionStorage.removeItem(n)},s5=(n,l)=>{const a=[];for(let s=0;s<l.length;s++)a.findIndex(d=>d[n]===l[s][n])<0&&a.push(l[s]);return a},Cy=n=>{if(!n)return null;if(typeof n=="object")return n;if(typeof n=="string"){let l=n;try{l=JSON.parse(n)}catch{}return l}};function c5(){var n=URL.createObjectURL(new Blob),l=n.toString();return URL.revokeObjectURL(n),l.substr(l.lastIndexOf("/")+1)}const f5=Object.freeze(Object.defineProperty({__proto__:null,filterObject:r5,getBase64:zS,getFileSuffix:Lh,getFileType:a5,setLocalStorage:MS,getLocalStorage:_y,removeLocalStorage:i5,setSessionStorage:o5,getSessionStorage:l5,removeSessionStorage:u5,arrayDeduplication:s5,JSONParse:Cy,uuid:c5,forceReload:()=>{const n="FORCERELOAD";sessionStorage.getItem(n)!=="1"&&(sessionStorage.setItem(n,"1"),window.location.reload())},formatResponse:n=>{if(typeof n=="string"){const l=n.indexOf(",");return JSON.parse(n.slice(l+1))}return n}},Symbol.toStringTag,{value:"Module"}));const d5=4,NS=0,LS=1,p5=2;function Lc(n){let l=n.length;for(;--l>=0;)n[l]=0}const h5=0,US=1,v5=2,m5=3,y5=258,Sy=29,Y0=256,q0=Y0+1+Sy,Uc=30,Ey=19,HS=2*q0+1,ps=15,by=16,g5=7,wy=256,PS=16,jS=17,IS=18,Dy=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Uh=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),x5=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),$S=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_5=512,fl=new Array((q0+2)*2);Lc(fl);const G0=new Array(Uc*2);Lc(G0);const W0=new Array(_5);Lc(W0);const Z0=new Array(y5-m5+1);Lc(Z0);const Ty=new Array(Sy);Lc(Ty);const Hh=new Array(Uc);Lc(Hh);function Ay(n,l,a,s,d){this.static_tree=n,this.extra_bits=l,this.extra_base=a,this.elems=s,this.max_length=d,this.has_stree=n&&n.length}let VS,YS,qS;function Ry(n,l){this.dyn_tree=n,this.max_code=0,this.stat_desc=l}const GS=n=>n<256?W0[n]:W0[256+(n>>>7)],K0=(n,l)=>{n.pending_buf[n.pending++]=l&255,n.pending_buf[n.pending++]=l>>>8&255},Ma=(n,l,a)=>{n.bi_valid>by-a?(n.bi_buf|=l<<n.bi_valid&65535,K0(n,n.bi_buf),n.bi_buf=l>>by-n.bi_valid,n.bi_valid+=a-by):(n.bi_buf|=l<<n.bi_valid&65535,n.bi_valid+=a)},xo=(n,l,a)=>{Ma(n,a[l*2],a[l*2+1])},WS=(n,l)=>{let a=0;do a|=n&1,n>>>=1,a<<=1;while(--l>0);return a>>>1},C5=n=>{n.bi_valid===16?(K0(n,n.bi_buf),n.bi_buf=0,n.bi_valid=0):n.bi_valid>=8&&(n.pending_buf[n.pending++]=n.bi_buf&255,n.bi_buf>>=8,n.bi_valid-=8)},S5=(n,l)=>{const a=l.dyn_tree,s=l.max_code,d=l.stat_desc.static_tree,v=l.stat_desc.has_stree,h=l.stat_desc.extra_bits,g=l.stat_desc.extra_base,_=l.stat_desc.max_length;let p,x,w,C,E,T,k=0;for(C=0;C<=ps;C++)n.bl_count[C]=0;for(a[n.heap[n.heap_max]*2+1]=0,p=n.heap_max+1;p<HS;p++)x=n.heap[p],C=a[a[x*2+1]*2+1]+1,C>_&&(C=_,k++),a[x*2+1]=C,!(x>s)&&(n.bl_count[C]++,E=0,x>=g&&(E=h[x-g]),T=a[x*2],n.opt_len+=T*(C+E),v&&(n.static_len+=T*(d[x*2+1]+E)));if(k!==0){do{for(C=_-1;n.bl_count[C]===0;)C--;n.bl_count[C]--,n.bl_count[C+1]+=2,n.bl_count[_]--,k-=2}while(k>0);for(C=_;C!==0;C--)for(x=n.bl_count[C];x!==0;)w=n.heap[--p],!(w>s)&&(a[w*2+1]!==C&&(n.opt_len+=(C-a[w*2+1])*a[w*2],a[w*2+1]=C),x--)}},ZS=(n,l,a)=>{const s=new Array(ps+1);let d=0,v,h;for(v=1;v<=ps;v++)d=d+a[v-1]<<1,s[v]=d;for(h=0;h<=l;h++){let g=n[h*2+1];g!==0&&(n[h*2]=WS(s[g]++,g))}},E5=()=>{let n,l,a,s,d;const v=new Array(ps+1);for(a=0,s=0;s<Sy-1;s++)for(Ty[s]=a,n=0;n<1<<Dy[s];n++)Z0[a++]=s;for(Z0[a-1]=s,d=0,s=0;s<16;s++)for(Hh[s]=d,n=0;n<1<<Uh[s];n++)W0[d++]=s;for(d>>=7;s<Uc;s++)for(Hh[s]=d<<7,n=0;n<1<<Uh[s]-7;n++)W0[256+d++]=s;for(l=0;l<=ps;l++)v[l]=0;for(n=0;n<=143;)fl[n*2+1]=8,n++,v[8]++;for(;n<=255;)fl[n*2+1]=9,n++,v[9]++;for(;n<=279;)fl[n*2+1]=7,n++,v[7]++;for(;n<=287;)fl[n*2+1]=8,n++,v[8]++;for(ZS(fl,q0+1,v),n=0;n<Uc;n++)G0[n*2+1]=5,G0[n*2]=WS(n,5);VS=new Ay(fl,Dy,Y0+1,q0,ps),YS=new Ay(G0,Uh,0,Uc,ps),qS=new Ay(new Array(0),x5,0,Ey,g5)},KS=n=>{let l;for(l=0;l<q0;l++)n.dyn_ltree[l*2]=0;for(l=0;l<Uc;l++)n.dyn_dtree[l*2]=0;for(l=0;l<Ey;l++)n.bl_tree[l*2]=0;n.dyn_ltree[wy*2]=1,n.opt_len=n.static_len=0,n.sym_next=n.matches=0},QS=n=>{n.bi_valid>8?K0(n,n.bi_buf):n.bi_valid>0&&(n.pending_buf[n.pending++]=n.bi_buf),n.bi_buf=0,n.bi_valid=0},XS=(n,l,a,s)=>{const d=l*2,v=a*2;return n[d]<n[v]||n[d]===n[v]&&s[l]<=s[a]},ky=(n,l,a)=>{const s=n.heap[a];let d=a<<1;for(;d<=n.heap_len&&(d<n.heap_len&&XS(l,n.heap[d+1],n.heap[d],n.depth)&&d++,!XS(l,s,n.heap[d],n.depth));)n.heap[a]=n.heap[d],a=d,d<<=1;n.heap[a]=s},JS=(n,l,a)=>{let s,d,v=0,h,g;if(n.sym_next!==0)do s=n.pending_buf[n.sym_buf+v++]&255,s+=(n.pending_buf[n.sym_buf+v++]&255)<<8,d=n.pending_buf[n.sym_buf+v++],s===0?xo(n,d,l):(h=Z0[d],xo(n,h+Y0+1,l),g=Dy[h],g!==0&&(d-=Ty[h],Ma(n,d,g)),s--,h=GS(s),xo(n,h,a),g=Uh[h],g!==0&&(s-=Hh[h],Ma(n,s,g)));while(v<n.sym_next);xo(n,wy,l)},Oy=(n,l)=>{const a=l.dyn_tree,s=l.stat_desc.static_tree,d=l.stat_desc.has_stree,v=l.stat_desc.elems;let h,g,_=-1,p;for(n.heap_len=0,n.heap_max=HS,h=0;h<v;h++)a[h*2]!==0?(n.heap[++n.heap_len]=_=h,n.depth[h]=0):a[h*2+1]=0;for(;n.heap_len<2;)p=n.heap[++n.heap_len]=_<2?++_:0,a[p*2]=1,n.depth[p]=0,n.opt_len--,d&&(n.static_len-=s[p*2+1]);for(l.max_code=_,h=n.heap_len>>1;h>=1;h--)ky(n,a,h);p=v;do h=n.heap[1],n.heap[1]=n.heap[n.heap_len--],ky(n,a,1),g=n.heap[1],n.heap[--n.heap_max]=h,n.heap[--n.heap_max]=g,a[p*2]=a[h*2]+a[g*2],n.depth[p]=(n.depth[h]>=n.depth[g]?n.depth[h]:n.depth[g])+1,a[h*2+1]=a[g*2+1]=p,n.heap[1]=p++,ky(n,a,1);while(n.heap_len>=2);n.heap[--n.heap_max]=n.heap[1],S5(n,l),ZS(a,_,n.bl_count)},eE=(n,l,a)=>{let s,d=-1,v,h=l[0*2+1],g=0,_=7,p=4;for(h===0&&(_=138,p=3),l[(a+1)*2+1]=65535,s=0;s<=a;s++)v=h,h=l[(s+1)*2+1],!(++g<_&&v===h)&&(g<p?n.bl_tree[v*2]+=g:v!==0?(v!==d&&n.bl_tree[v*2]++,n.bl_tree[PS*2]++):g<=10?n.bl_tree[jS*2]++:n.bl_tree[IS*2]++,g=0,d=v,h===0?(_=138,p=3):v===h?(_=6,p=3):(_=7,p=4))},tE=(n,l,a)=>{let s,d=-1,v,h=l[0*2+1],g=0,_=7,p=4;for(h===0&&(_=138,p=3),s=0;s<=a;s++)if(v=h,h=l[(s+1)*2+1],!(++g<_&&v===h)){if(g<p)do xo(n,v,n.bl_tree);while(--g!==0);else v!==0?(v!==d&&(xo(n,v,n.bl_tree),g--),xo(n,PS,n.bl_tree),Ma(n,g-3,2)):g<=10?(xo(n,jS,n.bl_tree),Ma(n,g-3,3)):(xo(n,IS,n.bl_tree),Ma(n,g-11,7));g=0,d=v,h===0?(_=138,p=3):v===h?(_=6,p=3):(_=7,p=4)}},b5=n=>{let l;for(eE(n,n.dyn_ltree,n.l_desc.max_code),eE(n,n.dyn_dtree,n.d_desc.max_code),Oy(n,n.bl_desc),l=Ey-1;l>=3&&n.bl_tree[$S[l]*2+1]===0;l--);return n.opt_len+=3*(l+1)+5+5+4,l},w5=(n,l,a,s)=>{let d;for(Ma(n,l-257,5),Ma(n,a-1,5),Ma(n,s-4,4),d=0;d<s;d++)Ma(n,n.bl_tree[$S[d]*2+1],3);tE(n,n.dyn_ltree,l-1),tE(n,n.dyn_dtree,a-1)},D5=n=>{let l=4093624447,a;for(a=0;a<=31;a++,l>>>=1)if(l&1&&n.dyn_ltree[a*2]!==0)return NS;if(n.dyn_ltree[9*2]!==0||n.dyn_ltree[10*2]!==0||n.dyn_ltree[13*2]!==0)return LS;for(a=32;a<Y0;a++)if(n.dyn_ltree[a*2]!==0)return LS;return NS};let nE=!1;const T5=n=>{nE||(E5(),nE=!0),n.l_desc=new Ry(n.dyn_ltree,VS),n.d_desc=new Ry(n.dyn_dtree,YS),n.bl_desc=new Ry(n.bl_tree,qS),n.bi_buf=0,n.bi_valid=0,KS(n)},rE=(n,l,a,s)=>{Ma(n,(h5<<1)+(s?1:0),3),QS(n),K0(n,a),K0(n,~a),a&&n.pending_buf.set(n.window.subarray(l,l+a),n.pending),n.pending+=a},A5=n=>{Ma(n,US<<1,3),xo(n,wy,fl),C5(n)},R5=(n,l,a,s)=>{let d,v,h=0;n.level>0?(n.strm.data_type===p5&&(n.strm.data_type=D5(n)),Oy(n,n.l_desc),Oy(n,n.d_desc),h=b5(n),d=n.opt_len+3+7>>>3,v=n.static_len+3+7>>>3,v<=d&&(d=v)):d=v=a+5,a+4<=d&&l!==-1?rE(n,l,a,s):n.strategy===d5||v===d?(Ma(n,(US<<1)+(s?1:0),3),JS(n,fl,G0)):(Ma(n,(v5<<1)+(s?1:0),3),w5(n,n.l_desc.max_code+1,n.d_desc.max_code+1,h+1),JS(n,n.dyn_ltree,n.dyn_dtree)),KS(n),s&&QS(n)},k5=(n,l,a)=>(n.pending_buf[n.sym_buf+n.sym_next++]=l,n.pending_buf[n.sym_buf+n.sym_next++]=l>>8,n.pending_buf[n.sym_buf+n.sym_next++]=a,l===0?n.dyn_ltree[a*2]++:(n.matches++,l--,n.dyn_ltree[(Z0[a]+Y0+1)*2]++,n.dyn_dtree[GS(l)*2]++),n.sym_next===n.sym_end);var O5=T5,B5=rE,F5=R5,z5=k5,M5=A5,N5={_tr_init:O5,_tr_stored_block:B5,_tr_flush_block:F5,_tr_tally:z5,_tr_align:M5},Q0=(n,l,a,s)=>{let d=n&65535|0,v=n>>>16&65535|0,h=0;for(;a!==0;){h=a>2e3?2e3:a,a-=h;do d=d+l[s++]|0,v=v+d|0;while(--h);d%=65521,v%=65521}return d|v<<16|0};const L5=()=>{let n,l=[];for(var a=0;a<256;a++){n=a;for(var s=0;s<8;s++)n=n&1?3988292384^n>>>1:n>>>1;l[a]=n}return l},U5=new Uint32Array(L5());var Rr=(n,l,a,s)=>{const d=U5,v=s+a;n^=-1;for(let h=s;h<v;h++)n=n>>>8^d[(n^l[h])&255];return n^-1},hs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},vs={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:H5,_tr_stored_block:By,_tr_flush_block:P5,_tr_tally:iu,_tr_align:j5}=N5,{Z_NO_FLUSH:ou,Z_PARTIAL_FLUSH:I5,Z_FULL_FLUSH:$5,Z_FINISH:_i,Z_BLOCK:aE,Z_OK:jr,Z_STREAM_END:iE,Z_STREAM_ERROR:_o,Z_DATA_ERROR:V5,Z_BUF_ERROR:Fy,Z_DEFAULT_COMPRESSION:Y5,Z_FILTERED:q5,Z_HUFFMAN_ONLY:Ph,Z_RLE:G5,Z_FIXED:W5,Z_DEFAULT_STRATEGY:Z5,Z_UNKNOWN:K5,Z_DEFLATED:jh}=vs,Q5=9,X5=15,J5=8,eT=29,zy=256+1+eT,tT=30,nT=19,rT=2*zy+1,aT=15,Nt=3,lu=258,Co=lu+Nt+1,iT=32,Hc=42,My=57,Ny=69,Ly=73,Uy=91,Hy=103,ms=113,X0=666,ya=1,Pc=2,ys=3,jc=4,oT=3,gs=(n,l)=>(n.msg=hs[l],l),oE=n=>n*2-(n>4?9:0),uu=n=>{let l=n.length;for(;--l>=0;)n[l]=0},lT=n=>{let l,a,s,d=n.w_size;l=n.hash_size,s=l;do a=n.head[--s],n.head[s]=a>=d?a-d:0;while(--l);l=d,s=l;do a=n.prev[--s],n.prev[s]=a>=d?a-d:0;while(--l)};let su=(n,l,a)=>(l<<n.hash_shift^a)&n.hash_mask;const ri=n=>{const l=n.state;let a=l.pending;a>n.avail_out&&(a=n.avail_out),a!==0&&(n.output.set(l.pending_buf.subarray(l.pending_out,l.pending_out+a),n.next_out),n.next_out+=a,l.pending_out+=a,n.total_out+=a,n.avail_out-=a,l.pending-=a,l.pending===0&&(l.pending_out=0))},ai=(n,l)=>{P5(n,n.block_start>=0?n.block_start:-1,n.strstart-n.block_start,l),n.block_start=n.strstart,ri(n.strm)},Gt=(n,l)=>{n.pending_buf[n.pending++]=l},J0=(n,l)=>{n.pending_buf[n.pending++]=l>>>8&255,n.pending_buf[n.pending++]=l&255},Py=(n,l,a,s)=>{let d=n.avail_in;return d>s&&(d=s),d===0?0:(n.avail_in-=d,l.set(n.input.subarray(n.next_in,n.next_in+d),a),n.state.wrap===1?n.adler=Q0(n.adler,l,d,a):n.state.wrap===2&&(n.adler=Rr(n.adler,l,d,a)),n.next_in+=d,n.total_in+=d,d)},lE=(n,l)=>{let a=n.max_chain_length,s=n.strstart,d,v,h=n.prev_length,g=n.nice_match;const _=n.strstart>n.w_size-Co?n.strstart-(n.w_size-Co):0,p=n.window,x=n.w_mask,w=n.prev,C=n.strstart+lu;let E=p[s+h-1],T=p[s+h];n.prev_length>=n.good_match&&(a>>=2),g>n.lookahead&&(g=n.lookahead);do if(d=l,!(p[d+h]!==T||p[d+h-1]!==E||p[d]!==p[s]||p[++d]!==p[s+1])){s+=2,d++;do;while(p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&s<C);if(v=lu-(C-s),s=C-lu,v>h){if(n.match_start=l,h=v,v>=g)break;E=p[s+h-1],T=p[s+h]}}while((l=w[l&x])>_&&--a!==0);return h<=n.lookahead?h:n.lookahead},Ic=n=>{const l=n.w_size;let a,s,d;do{if(s=n.window_size-n.lookahead-n.strstart,n.strstart>=l+(l-Co)&&(n.window.set(n.window.subarray(l,l+l-s),0),n.match_start-=l,n.strstart-=l,n.block_start-=l,n.insert>n.strstart&&(n.insert=n.strstart),lT(n),s+=l),n.strm.avail_in===0)break;if(a=Py(n.strm,n.window,n.strstart+n.lookahead,s),n.lookahead+=a,n.lookahead+n.insert>=Nt)for(d=n.strstart-n.insert,n.ins_h=n.window[d],n.ins_h=su(n,n.ins_h,n.window[d+1]);n.insert&&(n.ins_h=su(n,n.ins_h,n.window[d+Nt-1]),n.prev[d&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=d,d++,n.insert--,!(n.lookahead+n.insert<Nt)););}while(n.lookahead<Co&&n.strm.avail_in!==0)},uE=(n,l)=>{let a=n.pending_buf_size-5>n.w_size?n.w_size:n.pending_buf_size-5,s,d,v,h=0,g=n.strm.avail_in;do{if(s=65535,v=n.bi_valid+42>>3,n.strm.avail_out<v||(v=n.strm.avail_out-v,d=n.strstart-n.block_start,s>d+n.strm.avail_in&&(s=d+n.strm.avail_in),s>v&&(s=v),s<a&&(s===0&&l!==_i||l===ou||s!==d+n.strm.avail_in)))break;h=l===_i&&s===d+n.strm.avail_in?1:0,By(n,0,0,h),n.pending_buf[n.pending-4]=s,n.pending_buf[n.pending-3]=s>>8,n.pending_buf[n.pending-2]=~s,n.pending_buf[n.pending-1]=~s>>8,ri(n.strm),d&&(d>s&&(d=s),n.strm.output.set(n.window.subarray(n.block_start,n.block_start+d),n.strm.next_out),n.strm.next_out+=d,n.strm.avail_out-=d,n.strm.total_out+=d,n.block_start+=d,s-=d),s&&(Py(n.strm,n.strm.output,n.strm.next_out,s),n.strm.next_out+=s,n.strm.avail_out-=s,n.strm.total_out+=s)}while(h===0);return g-=n.strm.avail_in,g&&(g>=n.w_size?(n.matches=2,n.window.set(n.strm.input.subarray(n.strm.next_in-n.w_size,n.strm.next_in),0),n.strstart=n.w_size,n.insert=n.strstart):(n.window_size-n.strstart<=g&&(n.strstart-=n.w_size,n.window.set(n.window.subarray(n.w_size,n.w_size+n.strstart),0),n.matches<2&&n.matches++,n.insert>n.strstart&&(n.insert=n.strstart)),n.window.set(n.strm.input.subarray(n.strm.next_in-g,n.strm.next_in),n.strstart),n.strstart+=g,n.insert+=g>n.w_size-n.insert?n.w_size-n.insert:g),n.block_start=n.strstart),n.high_water<n.strstart&&(n.high_water=n.strstart),h?jc:l!==ou&&l!==_i&&n.strm.avail_in===0&&n.strstart===n.block_start?Pc:(v=n.window_size-n.strstart,n.strm.avail_in>v&&n.block_start>=n.w_size&&(n.block_start-=n.w_size,n.strstart-=n.w_size,n.window.set(n.window.subarray(n.w_size,n.w_size+n.strstart),0),n.matches<2&&n.matches++,v+=n.w_size,n.insert>n.strstart&&(n.insert=n.strstart)),v>n.strm.avail_in&&(v=n.strm.avail_in),v&&(Py(n.strm,n.window,n.strstart,v),n.strstart+=v,n.insert+=v>n.w_size-n.insert?n.w_size-n.insert:v),n.high_water<n.strstart&&(n.high_water=n.strstart),v=n.bi_valid+42>>3,v=n.pending_buf_size-v>65535?65535:n.pending_buf_size-v,a=v>n.w_size?n.w_size:v,d=n.strstart-n.block_start,(d>=a||(d||l===_i)&&l!==ou&&n.strm.avail_in===0&&d<=v)&&(s=d>v?v:d,h=l===_i&&n.strm.avail_in===0&&s===d?1:0,By(n,n.block_start,s,h),n.block_start+=s,ri(n.strm)),h?ys:ya)},jy=(n,l)=>{let a,s;for(;;){if(n.lookahead<Co){if(Ic(n),n.lookahead<Co&&l===ou)return ya;if(n.lookahead===0)break}if(a=0,n.lookahead>=Nt&&(n.ins_h=su(n,n.ins_h,n.window[n.strstart+Nt-1]),a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),a!==0&&n.strstart-a<=n.w_size-Co&&(n.match_length=lE(n,a)),n.match_length>=Nt)if(s=iu(n,n.strstart-n.match_start,n.match_length-Nt),n.lookahead-=n.match_length,n.match_length<=n.max_lazy_match&&n.lookahead>=Nt){n.match_length--;do n.strstart++,n.ins_h=su(n,n.ins_h,n.window[n.strstart+Nt-1]),a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart;while(--n.match_length!==0);n.strstart++}else n.strstart+=n.match_length,n.match_length=0,n.ins_h=n.window[n.strstart],n.ins_h=su(n,n.ins_h,n.window[n.strstart+1]);else s=iu(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++;if(s&&(ai(n,!1),n.strm.avail_out===0))return ya}return n.insert=n.strstart<Nt-1?n.strstart:Nt-1,l===_i?(ai(n,!0),n.strm.avail_out===0?ys:jc):n.sym_next&&(ai(n,!1),n.strm.avail_out===0)?ya:Pc},$c=(n,l)=>{let a,s,d;for(;;){if(n.lookahead<Co){if(Ic(n),n.lookahead<Co&&l===ou)return ya;if(n.lookahead===0)break}if(a=0,n.lookahead>=Nt&&(n.ins_h=su(n,n.ins_h,n.window[n.strstart+Nt-1]),a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),n.prev_length=n.match_length,n.prev_match=n.match_start,n.match_length=Nt-1,a!==0&&n.prev_length<n.max_lazy_match&&n.strstart-a<=n.w_size-Co&&(n.match_length=lE(n,a),n.match_length<=5&&(n.strategy===q5||n.match_length===Nt&&n.strstart-n.match_start>4096)&&(n.match_length=Nt-1)),n.prev_length>=Nt&&n.match_length<=n.prev_length){d=n.strstart+n.lookahead-Nt,s=iu(n,n.strstart-1-n.prev_match,n.prev_length-Nt),n.lookahead-=n.prev_length-1,n.prev_length-=2;do++n.strstart<=d&&(n.ins_h=su(n,n.ins_h,n.window[n.strstart+Nt-1]),a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart);while(--n.prev_length!==0);if(n.match_available=0,n.match_length=Nt-1,n.strstart++,s&&(ai(n,!1),n.strm.avail_out===0))return ya}else if(n.match_available){if(s=iu(n,0,n.window[n.strstart-1]),s&&ai(n,!1),n.strstart++,n.lookahead--,n.strm.avail_out===0)return ya}else n.match_available=1,n.strstart++,n.lookahead--}return n.match_available&&(s=iu(n,0,n.window[n.strstart-1]),n.match_available=0),n.insert=n.strstart<Nt-1?n.strstart:Nt-1,l===_i?(ai(n,!0),n.strm.avail_out===0?ys:jc):n.sym_next&&(ai(n,!1),n.strm.avail_out===0)?ya:Pc},uT=(n,l)=>{let a,s,d,v;const h=n.window;for(;;){if(n.lookahead<=lu){if(Ic(n),n.lookahead<=lu&&l===ou)return ya;if(n.lookahead===0)break}if(n.match_length=0,n.lookahead>=Nt&&n.strstart>0&&(d=n.strstart-1,s=h[d],s===h[++d]&&s===h[++d]&&s===h[++d])){v=n.strstart+lu;do;while(s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&d<v);n.match_length=lu-(v-d),n.match_length>n.lookahead&&(n.match_length=n.lookahead)}if(n.match_length>=Nt?(a=iu(n,1,n.match_length-Nt),n.lookahead-=n.match_length,n.strstart+=n.match_length,n.match_length=0):(a=iu(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++),a&&(ai(n,!1),n.strm.avail_out===0))return ya}return n.insert=0,l===_i?(ai(n,!0),n.strm.avail_out===0?ys:jc):n.sym_next&&(ai(n,!1),n.strm.avail_out===0)?ya:Pc},sT=(n,l)=>{let a;for(;;){if(n.lookahead===0&&(Ic(n),n.lookahead===0)){if(l===ou)return ya;break}if(n.match_length=0,a=iu(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++,a&&(ai(n,!1),n.strm.avail_out===0))return ya}return n.insert=0,l===_i?(ai(n,!0),n.strm.avail_out===0?ys:jc):n.sym_next&&(ai(n,!1),n.strm.avail_out===0)?ya:Pc};function So(n,l,a,s,d){this.good_length=n,this.max_lazy=l,this.nice_length=a,this.max_chain=s,this.func=d}const ed=[new So(0,0,0,0,uE),new So(4,4,8,4,jy),new So(4,5,16,8,jy),new So(4,6,32,32,jy),new So(4,4,16,16,$c),new So(8,16,32,32,$c),new So(8,16,128,128,$c),new So(8,32,128,256,$c),new So(32,128,258,1024,$c),new So(32,258,258,4096,$c)],cT=n=>{n.window_size=2*n.w_size,uu(n.head),n.max_lazy_match=ed[n.level].max_lazy,n.good_match=ed[n.level].good_length,n.nice_match=ed[n.level].nice_length,n.max_chain_length=ed[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=Nt-1,n.match_available=0,n.ins_h=0};function fT(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=jh,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(rT*2),this.dyn_dtree=new Uint16Array((2*tT+1)*2),this.bl_tree=new Uint16Array((2*nT+1)*2),uu(this.dyn_ltree),uu(this.dyn_dtree),uu(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(aT+1),this.heap=new Uint16Array(2*zy+1),uu(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*zy+1),uu(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const td=n=>{if(!n)return 1;const l=n.state;return!l||l.strm!==n||l.status!==Hc&&l.status!==My&&l.status!==Ny&&l.status!==Ly&&l.status!==Uy&&l.status!==Hy&&l.status!==ms&&l.status!==X0?1:0},sE=n=>{if(td(n))return gs(n,_o);n.total_in=n.total_out=0,n.data_type=K5;const l=n.state;return l.pending=0,l.pending_out=0,l.wrap<0&&(l.wrap=-l.wrap),l.status=l.wrap===2?My:l.wrap?Hc:ms,n.adler=l.wrap===2?0:1,l.last_flush=-2,H5(l),jr},cE=n=>{const l=sE(n);return l===jr&&cT(n.state),l},dT=(n,l)=>td(n)||n.state.wrap!==2?_o:(n.state.gzhead=l,jr),fE=(n,l,a,s,d,v)=>{if(!n)return _o;let h=1;if(l===Y5&&(l=6),s<0?(h=0,s=-s):s>15&&(h=2,s-=16),d<1||d>Q5||a!==jh||s<8||s>15||l<0||l>9||v<0||v>W5||s===8&&h!==1)return gs(n,_o);s===8&&(s=9);const g=new fT;return n.state=g,g.strm=n,g.status=Hc,g.wrap=h,g.gzhead=null,g.w_bits=s,g.w_size=1<<g.w_bits,g.w_mask=g.w_size-1,g.hash_bits=d+7,g.hash_size=1<<g.hash_bits,g.hash_mask=g.hash_size-1,g.hash_shift=~~((g.hash_bits+Nt-1)/Nt),g.window=new Uint8Array(g.w_size*2),g.head=new Uint16Array(g.hash_size),g.prev=new Uint16Array(g.w_size),g.lit_bufsize=1<<d+6,g.pending_buf_size=g.lit_bufsize*4,g.pending_buf=new Uint8Array(g.pending_buf_size),g.sym_buf=g.lit_bufsize,g.sym_end=(g.lit_bufsize-1)*3,g.level=l,g.strategy=v,g.method=a,cE(n)},pT=(n,l)=>fE(n,l,jh,X5,J5,Z5),hT=(n,l)=>{if(td(n)||l>aE||l<0)return n?gs(n,_o):_o;const a=n.state;if(!n.output||n.avail_in!==0&&!n.input||a.status===X0&&l!==_i)return gs(n,n.avail_out===0?Fy:_o);const s=a.last_flush;if(a.last_flush=l,a.pending!==0){if(ri(n),n.avail_out===0)return a.last_flush=-1,jr}else if(n.avail_in===0&&oE(l)<=oE(s)&&l!==_i)return gs(n,Fy);if(a.status===X0&&n.avail_in!==0)return gs(n,Fy);if(a.status===Hc&&a.wrap===0&&(a.status=ms),a.status===Hc){let d=jh+(a.w_bits-8<<4)<<8,v=-1;if(a.strategy>=Ph||a.level<2?v=0:a.level<6?v=1:a.level===6?v=2:v=3,d|=v<<6,a.strstart!==0&&(d|=iT),d+=31-d%31,J0(a,d),a.strstart!==0&&(J0(a,n.adler>>>16),J0(a,n.adler&65535)),n.adler=1,a.status=ms,ri(n),a.pending!==0)return a.last_flush=-1,jr}if(a.status===My){if(n.adler=0,Gt(a,31),Gt(a,139),Gt(a,8),a.gzhead)Gt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),Gt(a,a.gzhead.time&255),Gt(a,a.gzhead.time>>8&255),Gt(a,a.gzhead.time>>16&255),Gt(a,a.gzhead.time>>24&255),Gt(a,a.level===9?2:a.strategy>=Ph||a.level<2?4:0),Gt(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(Gt(a,a.gzhead.extra.length&255),Gt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(n.adler=Rr(n.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=Ny;else if(Gt(a,0),Gt(a,0),Gt(a,0),Gt(a,0),Gt(a,0),Gt(a,a.level===9?2:a.strategy>=Ph||a.level<2?4:0),Gt(a,oT),a.status=ms,ri(n),a.pending!==0)return a.last_flush=-1,jr}if(a.status===Ny){if(a.gzhead.extra){let d=a.pending,v=(a.gzhead.extra.length&65535)-a.gzindex;for(;a.pending+v>a.pending_buf_size;){let g=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+g),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),a.gzindex+=g,ri(n),a.pending!==0)return a.last_flush=-1,jr;d=0,v-=g}let h=new Uint8Array(a.gzhead.extra);a.pending_buf.set(h.subarray(a.gzindex,a.gzindex+v),a.pending),a.pending+=v,a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),a.gzindex=0}a.status=Ly}if(a.status===Ly){if(a.gzhead.name){let d=a.pending,v;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),ri(n),a.pending!==0)return a.last_flush=-1,jr;d=0}a.gzindex<a.gzhead.name.length?v=a.gzhead.name.charCodeAt(a.gzindex++)&255:v=0,Gt(a,v)}while(v!==0);a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),a.gzindex=0}a.status=Uy}if(a.status===Uy){if(a.gzhead.comment){let d=a.pending,v;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),ri(n),a.pending!==0)return a.last_flush=-1,jr;d=0}a.gzindex<a.gzhead.comment.length?v=a.gzhead.comment.charCodeAt(a.gzindex++)&255:v=0,Gt(a,v)}while(v!==0);a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d))}a.status=Hy}if(a.status===Hy){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ri(n),a.pending!==0))return a.last_flush=-1,jr;Gt(a,n.adler&255),Gt(a,n.adler>>8&255),n.adler=0}if(a.status=ms,ri(n),a.pending!==0)return a.last_flush=-1,jr}if(n.avail_in!==0||a.lookahead!==0||l!==ou&&a.status!==X0){let d=a.level===0?uE(a,l):a.strategy===Ph?sT(a,l):a.strategy===G5?uT(a,l):ed[a.level].func(a,l);if((d===ys||d===jc)&&(a.status=X0),d===ya||d===ys)return n.avail_out===0&&(a.last_flush=-1),jr;if(d===Pc&&(l===I5?j5(a):l!==aE&&(By(a,0,0,!1),l===$5&&(uu(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),ri(n),n.avail_out===0))return a.last_flush=-1,jr}return l!==_i?jr:a.wrap<=0?iE:(a.wrap===2?(Gt(a,n.adler&255),Gt(a,n.adler>>8&255),Gt(a,n.adler>>16&255),Gt(a,n.adler>>24&255),Gt(a,n.total_in&255),Gt(a,n.total_in>>8&255),Gt(a,n.total_in>>16&255),Gt(a,n.total_in>>24&255)):(J0(a,n.adler>>>16),J0(a,n.adler&65535)),ri(n),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?jr:iE)},vT=n=>{if(td(n))return _o;const l=n.state.status;return n.state=null,l===ms?gs(n,V5):jr},mT=(n,l)=>{let a=l.length;if(td(n))return _o;const s=n.state,d=s.wrap;if(d===2||d===1&&s.status!==Hc||s.lookahead)return _o;if(d===1&&(n.adler=Q0(n.adler,l,a,0)),s.wrap=0,a>=s.w_size){d===0&&(uu(s.head),s.strstart=0,s.block_start=0,s.insert=0);let _=new Uint8Array(s.w_size);_.set(l.subarray(a-s.w_size,a),0),l=_,a=s.w_size}const v=n.avail_in,h=n.next_in,g=n.input;for(n.avail_in=a,n.next_in=0,n.input=l,Ic(s);s.lookahead>=Nt;){let _=s.strstart,p=s.lookahead-(Nt-1);do s.ins_h=su(s,s.ins_h,s.window[_+Nt-1]),s.prev[_&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=_,_++;while(--p);s.strstart=_,s.lookahead=Nt-1,Ic(s)}return s.strstart+=s.lookahead,s.block_start=s.strstart,s.insert=s.lookahead,s.lookahead=0,s.match_length=s.prev_length=Nt-1,s.match_available=0,n.next_in=h,n.input=g,n.avail_in=v,s.wrap=d,jr};var yT=pT,gT=fE,xT=cE,_T=sE,CT=dT,ST=hT,ET=vT,bT=mT,wT="pako deflate (from Nodeca project)",nd={deflateInit:yT,deflateInit2:gT,deflateReset:xT,deflateResetKeep:_T,deflateSetHeader:CT,deflate:ST,deflateEnd:ET,deflateSetDictionary:bT,deflateInfo:wT};const DT=(n,l)=>Object.prototype.hasOwnProperty.call(n,l);var TT=function(n){const l=Array.prototype.slice.call(arguments,1);for(;l.length;){const a=l.shift();if(a){if(typeof a!="object")throw new TypeError(a+"must be non-object");for(const s in a)DT(a,s)&&(n[s]=a[s])}}return n},AT=n=>{let l=0;for(let s=0,d=n.length;s<d;s++)l+=n[s].length;const a=new Uint8Array(l);for(let s=0,d=0,v=n.length;s<v;s++){let h=n[s];a.set(h,d),d+=h.length}return a},Ih={assign:TT,flattenChunks:AT};let dE=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{dE=!1}const rd=new Uint8Array(256);for(let n=0;n<256;n++)rd[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;rd[254]=rd[254]=1;var RT=n=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(n);let l,a,s,d,v,h=n.length,g=0;for(d=0;d<h;d++)a=n.charCodeAt(d),(a&64512)===55296&&d+1<h&&(s=n.charCodeAt(d+1),(s&64512)===56320&&(a=65536+(a-55296<<10)+(s-56320),d++)),g+=a<128?1:a<2048?2:a<65536?3:4;for(l=new Uint8Array(g),v=0,d=0;v<g;d++)a=n.charCodeAt(d),(a&64512)===55296&&d+1<h&&(s=n.charCodeAt(d+1),(s&64512)===56320&&(a=65536+(a-55296<<10)+(s-56320),d++)),a<128?l[v++]=a:a<2048?(l[v++]=192|a>>>6,l[v++]=128|a&63):a<65536?(l[v++]=224|a>>>12,l[v++]=128|a>>>6&63,l[v++]=128|a&63):(l[v++]=240|a>>>18,l[v++]=128|a>>>12&63,l[v++]=128|a>>>6&63,l[v++]=128|a&63);return l};const kT=(n,l)=>{if(l<65534&&n.subarray&&dE)return String.fromCharCode.apply(null,n.length===l?n:n.subarray(0,l));let a="";for(let s=0;s<l;s++)a+=String.fromCharCode(n[s]);return a};var OT=(n,l)=>{const a=l||n.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(n.subarray(0,l));let s,d;const v=new Array(a*2);for(d=0,s=0;s<a;){let h=n[s++];if(h<128){v[d++]=h;continue}let g=rd[h];if(g>4){v[d++]=65533,s+=g-1;continue}for(h&=g===2?31:g===3?15:7;g>1&&s<a;)h=h<<6|n[s++]&63,g--;if(g>1){v[d++]=65533;continue}h<65536?v[d++]=h:(h-=65536,v[d++]=55296|h>>10&1023,v[d++]=56320|h&1023)}return kT(v,d)},BT=(n,l)=>{l=l||n.length,l>n.length&&(l=n.length);let a=l-1;for(;a>=0&&(n[a]&192)===128;)a--;return a<0||a===0?l:a+rd[n[a]]>l?a:l},ad={string2buf:RT,buf2string:OT,utf8border:BT};function FT(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var pE=FT;const hE=Object.prototype.toString,{Z_NO_FLUSH:zT,Z_SYNC_FLUSH:MT,Z_FULL_FLUSH:NT,Z_FINISH:LT,Z_OK:$h,Z_STREAM_END:UT,Z_DEFAULT_COMPRESSION:HT,Z_DEFAULT_STRATEGY:PT,Z_DEFLATED:jT}=vs;function id(n){this.options=Ih.assign({level:HT,method:jT,chunkSize:16384,windowBits:15,memLevel:8,strategy:PT},n||{});let l=this.options;l.raw&&l.windowBits>0?l.windowBits=-l.windowBits:l.gzip&&l.windowBits>0&&l.windowBits<16&&(l.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new pE,this.strm.avail_out=0;let a=nd.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(a!==$h)throw new Error(hs[a]);if(l.header&&nd.deflateSetHeader(this.strm,l.header),l.dictionary){let s;if(typeof l.dictionary=="string"?s=ad.string2buf(l.dictionary):hE.call(l.dictionary)==="[object ArrayBuffer]"?s=new Uint8Array(l.dictionary):s=l.dictionary,a=nd.deflateSetDictionary(this.strm,s),a!==$h)throw new Error(hs[a]);this._dict_set=!0}}id.prototype.push=function(n,l){const a=this.strm,s=this.options.chunkSize;let d,v;if(this.ended)return!1;for(l===~~l?v=l:v=l===!0?LT:zT,typeof n=="string"?a.input=ad.string2buf(n):hE.call(n)==="[object ArrayBuffer]"?a.input=new Uint8Array(n):a.input=n,a.next_in=0,a.avail_in=a.input.length;;){if(a.avail_out===0&&(a.output=new Uint8Array(s),a.next_out=0,a.avail_out=s),(v===MT||v===NT)&&a.avail_out<=6){this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;continue}if(d=nd.deflate(a,v),d===UT)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),d=nd.deflateEnd(this.strm),this.onEnd(d),this.ended=!0,d===$h;if(a.avail_out===0){this.onData(a.output);continue}if(v>0&&a.next_out>0){this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;continue}if(a.avail_in===0)break}return!0},id.prototype.onData=function(n){this.chunks.push(n)},id.prototype.onEnd=function(n){n===$h&&(this.result=Ih.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function Iy(n,l){const a=new id(l);if(a.push(n,!0),a.err)throw a.msg||hs[a.err];return a.result}function IT(n,l){return l=l||{},l.raw=!0,Iy(n,l)}function $T(n,l){return l=l||{},l.gzip=!0,Iy(n,l)}var VT=id,YT=Iy,qT=IT,GT=$T,WT=vs,ZT={Deflate:VT,deflate:YT,deflateRaw:qT,gzip:GT,constants:WT};const Vh=16209,KT=16191;var QT=function(l,a){let s,d,v,h,g,_,p,x,w,C,E,T,k,O,M,B,A,F,N,H,L,Y,Q,P;const I=l.state;s=l.next_in,Q=l.input,d=s+(l.avail_in-5),v=l.next_out,P=l.output,h=v-(a-l.avail_out),g=v+(l.avail_out-257),_=I.dmax,p=I.wsize,x=I.whave,w=I.wnext,C=I.window,E=I.hold,T=I.bits,k=I.lencode,O=I.distcode,M=(1<<I.lenbits)-1,B=(1<<I.distbits)-1;e:do{T<15&&(E+=Q[s++]<<T,T+=8,E+=Q[s++]<<T,T+=8),A=k[E&M];t:for(;;){if(F=A>>>24,E>>>=F,T-=F,F=A>>>16&255,F===0)P[v++]=A&65535;else if(F&16){N=A&65535,F&=15,F&&(T<F&&(E+=Q[s++]<<T,T+=8),N+=E&(1<<F)-1,E>>>=F,T-=F),T<15&&(E+=Q[s++]<<T,T+=8,E+=Q[s++]<<T,T+=8),A=O[E&B];n:for(;;){if(F=A>>>24,E>>>=F,T-=F,F=A>>>16&255,F&16){if(H=A&65535,F&=15,T<F&&(E+=Q[s++]<<T,T+=8,T<F&&(E+=Q[s++]<<T,T+=8)),H+=E&(1<<F)-1,H>_){l.msg="invalid distance too far back",I.mode=Vh;break e}if(E>>>=F,T-=F,F=v-h,H>F){if(F=H-F,F>x&&I.sane){l.msg="invalid distance too far back",I.mode=Vh;break e}if(L=0,Y=C,w===0){if(L+=p-F,F<N){N-=F;do P[v++]=C[L++];while(--F);L=v-H,Y=P}}else if(w<F){if(L+=p+w-F,F-=w,F<N){N-=F;do P[v++]=C[L++];while(--F);if(L=0,w<N){F=w,N-=F;do P[v++]=C[L++];while(--F);L=v-H,Y=P}}}else if(L+=w-F,F<N){N-=F;do P[v++]=C[L++];while(--F);L=v-H,Y=P}for(;N>2;)P[v++]=Y[L++],P[v++]=Y[L++],P[v++]=Y[L++],N-=3;N&&(P[v++]=Y[L++],N>1&&(P[v++]=Y[L++]))}else{L=v-H;do P[v++]=P[L++],P[v++]=P[L++],P[v++]=P[L++],N-=3;while(N>2);N&&(P[v++]=P[L++],N>1&&(P[v++]=P[L++]))}}else if(F&64){l.msg="invalid distance code",I.mode=Vh;break e}else{A=O[(A&65535)+(E&(1<<F)-1)];continue n}break}}else if(F&64)if(F&32){I.mode=KT;break e}else{l.msg="invalid literal/length code",I.mode=Vh;break e}else{A=k[(A&65535)+(E&(1<<F)-1)];continue t}break}}while(s<d&&v<g);N=T>>3,s-=N,T-=N<<3,E&=(1<<T)-1,l.next_in=s,l.next_out=v,l.avail_in=s<d?5+(d-s):5-(s-d),l.avail_out=v<g?257+(g-v):257-(v-g),I.hold=E,I.bits=T};const Vc=15,vE=852,mE=592,yE=0,$y=1,gE=2,XT=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),JT=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),eA=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),tA=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var od=(n,l,a,s,d,v,h,g)=>{const _=g.bits;let p=0,x=0,w=0,C=0,E=0,T=0,k=0,O=0,M=0,B=0,A,F,N,H,L,Y=null,Q;const P=new Uint16Array(Vc+1),I=new Uint16Array(Vc+1);let $=null,W,ne,J;for(p=0;p<=Vc;p++)P[p]=0;for(x=0;x<s;x++)P[l[a+x]]++;for(E=_,C=Vc;C>=1&&P[C]===0;C--);if(E>C&&(E=C),C===0)return d[v++]=1<<24|64<<16|0,d[v++]=1<<24|64<<16|0,g.bits=1,0;for(w=1;w<C&&P[w]===0;w++);for(E<w&&(E=w),O=1,p=1;p<=Vc;p++)if(O<<=1,O-=P[p],O<0)return-1;if(O>0&&(n===yE||C!==1))return-1;for(I[1]=0,p=1;p<Vc;p++)I[p+1]=I[p]+P[p];for(x=0;x<s;x++)l[a+x]!==0&&(h[I[l[a+x]]++]=x);if(n===yE?(Y=$=h,Q=20):n===$y?(Y=XT,$=JT,Q=257):(Y=eA,$=tA,Q=0),B=0,x=0,p=w,L=v,T=E,k=0,N=-1,M=1<<E,H=M-1,n===$y&&M>vE||n===gE&&M>mE)return 1;for(;;){W=p-k,h[x]+1<Q?(ne=0,J=h[x]):h[x]>=Q?(ne=$[h[x]-Q],J=Y[h[x]-Q]):(ne=32+64,J=0),A=1<<p-k,F=1<<T,w=F;do F-=A,d[L+(B>>k)+F]=W<<24|ne<<16|J|0;while(F!==0);for(A=1<<p-1;B&A;)A>>=1;if(A!==0?(B&=A-1,B+=A):B=0,x++,--P[p]===0){if(p===C)break;p=l[a+h[x]]}if(p>E&&(B&H)!==N){for(k===0&&(k=E),L+=w,T=p-k,O=1<<T;T+k<C&&(O-=P[T+k],!(O<=0));)T++,O<<=1;if(M+=1<<T,n===$y&&M>vE||n===gE&&M>mE)return 1;N=B&H,d[N]=E<<24|T<<16|L-v|0}}return B!==0&&(d[L+B]=p-k<<24|64<<16|0),g.bits=E,0};const nA=0,xE=1,_E=2,{Z_FINISH:CE,Z_BLOCK:rA,Z_TREES:Yh,Z_OK:xs,Z_STREAM_END:aA,Z_NEED_DICT:iA,Z_STREAM_ERROR:Ci,Z_DATA_ERROR:SE,Z_MEM_ERROR:EE,Z_BUF_ERROR:oA,Z_DEFLATED:bE}=vs,qh=16180,wE=16181,DE=16182,TE=16183,AE=16184,RE=16185,kE=16186,OE=16187,BE=16188,FE=16189,Gh=16190,dl=16191,Vy=16192,zE=16193,Yy=16194,ME=16195,NE=16196,LE=16197,UE=16198,Wh=16199,Zh=16200,HE=16201,PE=16202,jE=16203,IE=16204,$E=16205,qy=16206,VE=16207,YE=16208,On=16209,qE=16210,GE=16211,lA=852,uA=592,sA=15,WE=n=>(n>>>24&255)+(n>>>8&65280)+((n&65280)<<8)+((n&255)<<24);function cA(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const _s=n=>{if(!n)return 1;const l=n.state;return!l||l.strm!==n||l.mode<qh||l.mode>GE?1:0},ZE=n=>{if(_s(n))return Ci;const l=n.state;return n.total_in=n.total_out=l.total=0,n.msg="",l.wrap&&(n.adler=l.wrap&1),l.mode=qh,l.last=0,l.havedict=0,l.flags=-1,l.dmax=32768,l.head=null,l.hold=0,l.bits=0,l.lencode=l.lendyn=new Int32Array(lA),l.distcode=l.distdyn=new Int32Array(uA),l.sane=1,l.back=-1,xs},KE=n=>{if(_s(n))return Ci;const l=n.state;return l.wsize=0,l.whave=0,l.wnext=0,ZE(n)},QE=(n,l)=>{let a;if(_s(n))return Ci;const s=n.state;return l<0?(a=0,l=-l):(a=(l>>4)+5,l<48&&(l&=15)),l&&(l<8||l>15)?Ci:(s.window!==null&&s.wbits!==l&&(s.window=null),s.wrap=a,s.wbits=l,KE(n))},XE=(n,l)=>{if(!n)return Ci;const a=new cA;n.state=a,a.strm=n,a.window=null,a.mode=qh;const s=QE(n,l);return s!==xs&&(n.state=null),s},fA=n=>XE(n,sA);let JE=!0,Gy,Wy;const dA=n=>{if(JE){Gy=new Int32Array(512),Wy=new Int32Array(32);let l=0;for(;l<144;)n.lens[l++]=8;for(;l<256;)n.lens[l++]=9;for(;l<280;)n.lens[l++]=7;for(;l<288;)n.lens[l++]=8;for(od(xE,n.lens,0,288,Gy,0,n.work,{bits:9}),l=0;l<32;)n.lens[l++]=5;od(_E,n.lens,0,32,Wy,0,n.work,{bits:5}),JE=!1}n.lencode=Gy,n.lenbits=9,n.distcode=Wy,n.distbits=5},eb=(n,l,a,s)=>{let d;const v=n.state;return v.window===null&&(v.wsize=1<<v.wbits,v.wnext=0,v.whave=0,v.window=new Uint8Array(v.wsize)),s>=v.wsize?(v.window.set(l.subarray(a-v.wsize,a),0),v.wnext=0,v.whave=v.wsize):(d=v.wsize-v.wnext,d>s&&(d=s),v.window.set(l.subarray(a-s,a-s+d),v.wnext),s-=d,s?(v.window.set(l.subarray(a-s,a),0),v.wnext=s,v.whave=v.wsize):(v.wnext+=d,v.wnext===v.wsize&&(v.wnext=0),v.whave<v.wsize&&(v.whave+=d))),0},pA=(n,l)=>{let a,s,d,v,h,g,_,p,x,w,C,E,T,k,O=0,M,B,A,F,N,H,L,Y;const Q=new Uint8Array(4);let P,I;const $=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(_s(n)||!n.output||!n.input&&n.avail_in!==0)return Ci;a=n.state,a.mode===dl&&(a.mode=Vy),h=n.next_out,d=n.output,_=n.avail_out,v=n.next_in,s=n.input,g=n.avail_in,p=a.hold,x=a.bits,w=g,C=_,Y=xs;e:for(;;)switch(a.mode){case qh:if(a.wrap===0){a.mode=Vy;break}for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.wrap&2&&p===35615){a.wbits===0&&(a.wbits=15),a.check=0,Q[0]=p&255,Q[1]=p>>>8&255,a.check=Rr(a.check,Q,2,0),p=0,x=0,a.mode=wE;break}if(a.head&&(a.head.done=!1),!(a.wrap&1)||(((p&255)<<8)+(p>>8))%31){n.msg="incorrect header check",a.mode=On;break}if((p&15)!==bE){n.msg="unknown compression method",a.mode=On;break}if(p>>>=4,x-=4,L=(p&15)+8,a.wbits===0&&(a.wbits=L),L>15||L>a.wbits){n.msg="invalid window size",a.mode=On;break}a.dmax=1<<a.wbits,a.flags=0,n.adler=a.check=1,a.mode=p&512?FE:dl,p=0,x=0;break;case wE:for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.flags=p,(a.flags&255)!==bE){n.msg="unknown compression method",a.mode=On;break}if(a.flags&57344){n.msg="unknown header flags set",a.mode=On;break}a.head&&(a.head.text=p>>8&1),a.flags&512&&a.wrap&4&&(Q[0]=p&255,Q[1]=p>>>8&255,a.check=Rr(a.check,Q,2,0)),p=0,x=0,a.mode=DE;case DE:for(;x<32;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.head&&(a.head.time=p),a.flags&512&&a.wrap&4&&(Q[0]=p&255,Q[1]=p>>>8&255,Q[2]=p>>>16&255,Q[3]=p>>>24&255,a.check=Rr(a.check,Q,4,0)),p=0,x=0,a.mode=TE;case TE:for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.head&&(a.head.xflags=p&255,a.head.os=p>>8),a.flags&512&&a.wrap&4&&(Q[0]=p&255,Q[1]=p>>>8&255,a.check=Rr(a.check,Q,2,0)),p=0,x=0,a.mode=AE;case AE:if(a.flags&1024){for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.length=p,a.head&&(a.head.extra_len=p),a.flags&512&&a.wrap&4&&(Q[0]=p&255,Q[1]=p>>>8&255,a.check=Rr(a.check,Q,2,0)),p=0,x=0}else a.head&&(a.head.extra=null);a.mode=RE;case RE:if(a.flags&1024&&(E=a.length,E>g&&(E=g),E&&(a.head&&(L=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(s.subarray(v,v+E),L)),a.flags&512&&a.wrap&4&&(a.check=Rr(a.check,s,E,v)),g-=E,v+=E,a.length-=E),a.length))break e;a.length=0,a.mode=kE;case kE:if(a.flags&2048){if(g===0)break e;E=0;do L=s[v+E++],a.head&&L&&a.length<65536&&(a.head.name+=String.fromCharCode(L));while(L&&E<g);if(a.flags&512&&a.wrap&4&&(a.check=Rr(a.check,s,E,v)),g-=E,v+=E,L)break e}else a.head&&(a.head.name=null);a.length=0,a.mode=OE;case OE:if(a.flags&4096){if(g===0)break e;E=0;do L=s[v+E++],a.head&&L&&a.length<65536&&(a.head.comment+=String.fromCharCode(L));while(L&&E<g);if(a.flags&512&&a.wrap&4&&(a.check=Rr(a.check,s,E,v)),g-=E,v+=E,L)break e}else a.head&&(a.head.comment=null);a.mode=BE;case BE:if(a.flags&512){for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.wrap&4&&p!==(a.check&65535)){n.msg="header crc mismatch",a.mode=On;break}p=0,x=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),n.adler=a.check=0,a.mode=dl;break;case FE:for(;x<32;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}n.adler=a.check=WE(p),p=0,x=0,a.mode=Gh;case Gh:if(a.havedict===0)return n.next_out=h,n.avail_out=_,n.next_in=v,n.avail_in=g,a.hold=p,a.bits=x,iA;n.adler=a.check=1,a.mode=dl;case dl:if(l===rA||l===Yh)break e;case Vy:if(a.last){p>>>=x&7,x-=x&7,a.mode=qy;break}for(;x<3;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}switch(a.last=p&1,p>>>=1,x-=1,p&3){case 0:a.mode=zE;break;case 1:if(dA(a),a.mode=Wh,l===Yh){p>>>=2,x-=2;break e}break;case 2:a.mode=NE;break;case 3:n.msg="invalid block type",a.mode=On}p>>>=2,x-=2;break;case zE:for(p>>>=x&7,x-=x&7;x<32;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if((p&65535)!==(p>>>16^65535)){n.msg="invalid stored block lengths",a.mode=On;break}if(a.length=p&65535,p=0,x=0,a.mode=Yy,l===Yh)break e;case Yy:a.mode=ME;case ME:if(E=a.length,E){if(E>g&&(E=g),E>_&&(E=_),E===0)break e;d.set(s.subarray(v,v+E),h),g-=E,v+=E,_-=E,h+=E,a.length-=E;break}a.mode=dl;break;case NE:for(;x<14;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.nlen=(p&31)+257,p>>>=5,x-=5,a.ndist=(p&31)+1,p>>>=5,x-=5,a.ncode=(p&15)+4,p>>>=4,x-=4,a.nlen>286||a.ndist>30){n.msg="too many length or distance symbols",a.mode=On;break}a.have=0,a.mode=LE;case LE:for(;a.have<a.ncode;){for(;x<3;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.lens[$[a.have++]]=p&7,p>>>=3,x-=3}for(;a.have<19;)a.lens[$[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,P={bits:a.lenbits},Y=od(nA,a.lens,0,19,a.lencode,0,a.work,P),a.lenbits=P.bits,Y){n.msg="invalid code lengths set",a.mode=On;break}a.have=0,a.mode=UE;case UE:for(;a.have<a.nlen+a.ndist;){for(;O=a.lencode[p&(1<<a.lenbits)-1],M=O>>>24,B=O>>>16&255,A=O&65535,!(M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(A<16)p>>>=M,x-=M,a.lens[a.have++]=A;else{if(A===16){for(I=M+2;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(p>>>=M,x-=M,a.have===0){n.msg="invalid bit length repeat",a.mode=On;break}L=a.lens[a.have-1],E=3+(p&3),p>>>=2,x-=2}else if(A===17){for(I=M+3;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}p>>>=M,x-=M,L=0,E=3+(p&7),p>>>=3,x-=3}else{for(I=M+7;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}p>>>=M,x-=M,L=0,E=11+(p&127),p>>>=7,x-=7}if(a.have+E>a.nlen+a.ndist){n.msg="invalid bit length repeat",a.mode=On;break}for(;E--;)a.lens[a.have++]=L}}if(a.mode===On)break;if(a.lens[256]===0){n.msg="invalid code -- missing end-of-block",a.mode=On;break}if(a.lenbits=9,P={bits:a.lenbits},Y=od(xE,a.lens,0,a.nlen,a.lencode,0,a.work,P),a.lenbits=P.bits,Y){n.msg="invalid literal/lengths set",a.mode=On;break}if(a.distbits=6,a.distcode=a.distdyn,P={bits:a.distbits},Y=od(_E,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,P),a.distbits=P.bits,Y){n.msg="invalid distances set",a.mode=On;break}if(a.mode=Wh,l===Yh)break e;case Wh:a.mode=Zh;case Zh:if(g>=6&&_>=258){n.next_out=h,n.avail_out=_,n.next_in=v,n.avail_in=g,a.hold=p,a.bits=x,QT(n,C),h=n.next_out,d=n.output,_=n.avail_out,v=n.next_in,s=n.input,g=n.avail_in,p=a.hold,x=a.bits,a.mode===dl&&(a.back=-1);break}for(a.back=0;O=a.lencode[p&(1<<a.lenbits)-1],M=O>>>24,B=O>>>16&255,A=O&65535,!(M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(B&&!(B&240)){for(F=M,N=B,H=A;O=a.lencode[H+((p&(1<<F+N)-1)>>F)],M=O>>>24,B=O>>>16&255,A=O&65535,!(F+M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}p>>>=F,x-=F,a.back+=F}if(p>>>=M,x-=M,a.back+=M,a.length=A,B===0){a.mode=$E;break}if(B&32){a.back=-1,a.mode=dl;break}if(B&64){n.msg="invalid literal/length code",a.mode=On;break}a.extra=B&15,a.mode=HE;case HE:if(a.extra){for(I=a.extra;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.length+=p&(1<<a.extra)-1,p>>>=a.extra,x-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=PE;case PE:for(;O=a.distcode[p&(1<<a.distbits)-1],M=O>>>24,B=O>>>16&255,A=O&65535,!(M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(!(B&240)){for(F=M,N=B,H=A;O=a.distcode[H+((p&(1<<F+N)-1)>>F)],M=O>>>24,B=O>>>16&255,A=O&65535,!(F+M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}p>>>=F,x-=F,a.back+=F}if(p>>>=M,x-=M,a.back+=M,B&64){n.msg="invalid distance code",a.mode=On;break}a.offset=A,a.extra=B&15,a.mode=jE;case jE:if(a.extra){for(I=a.extra;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.offset+=p&(1<<a.extra)-1,p>>>=a.extra,x-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){n.msg="invalid distance too far back",a.mode=On;break}a.mode=IE;case IE:if(_===0)break e;if(E=C-_,a.offset>E){if(E=a.offset-E,E>a.whave&&a.sane){n.msg="invalid distance too far back",a.mode=On;break}E>a.wnext?(E-=a.wnext,T=a.wsize-E):T=a.wnext-E,E>a.length&&(E=a.length),k=a.window}else k=d,T=h-a.offset,E=a.length;E>_&&(E=_),_-=E,a.length-=E;do d[h++]=k[T++];while(--E);a.length===0&&(a.mode=Zh);break;case $E:if(_===0)break e;d[h++]=a.length,_--,a.mode=Zh;break;case qy:if(a.wrap){for(;x<32;){if(g===0)break e;g--,p|=s[v++]<<x,x+=8}if(C-=_,n.total_out+=C,a.total+=C,a.wrap&4&&C&&(n.adler=a.check=a.flags?Rr(a.check,d,C,h-C):Q0(a.check,d,C,h-C)),C=_,a.wrap&4&&(a.flags?p:WE(p))!==a.check){n.msg="incorrect data check",a.mode=On;break}p=0,x=0}a.mode=VE;case VE:if(a.wrap&&a.flags){for(;x<32;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.wrap&4&&p!==(a.total&4294967295)){n.msg="incorrect length check",a.mode=On;break}p=0,x=0}a.mode=YE;case YE:Y=aA;break e;case On:Y=SE;break e;case qE:return EE;case GE:default:return Ci}return n.next_out=h,n.avail_out=_,n.next_in=v,n.avail_in=g,a.hold=p,a.bits=x,(a.wsize||C!==n.avail_out&&a.mode<On&&(a.mode<qy||l!==CE))&&eb(n,n.output,n.next_out,C-n.avail_out),w-=n.avail_in,C-=n.avail_out,n.total_in+=w,n.total_out+=C,a.total+=C,a.wrap&4&&C&&(n.adler=a.check=a.flags?Rr(a.check,d,C,n.next_out-C):Q0(a.check,d,C,n.next_out-C)),n.data_type=a.bits+(a.last?64:0)+(a.mode===dl?128:0)+(a.mode===Wh||a.mode===Yy?256:0),(w===0&&C===0||l===CE)&&Y===xs&&(Y=oA),Y},hA=n=>{if(_s(n))return Ci;let l=n.state;return l.window&&(l.window=null),n.state=null,xs},vA=(n,l)=>{if(_s(n))return Ci;const a=n.state;return a.wrap&2?(a.head=l,l.done=!1,xs):Ci},mA=(n,l)=>{const a=l.length;let s,d,v;return _s(n)||(s=n.state,s.wrap!==0&&s.mode!==Gh)?Ci:s.mode===Gh&&(d=1,d=Q0(d,l,a,0),d!==s.check)?SE:(v=eb(n,l,a,a),v?(s.mode=qE,EE):(s.havedict=1,xs))};var yA=KE,gA=QE,xA=ZE,_A=fA,CA=XE,SA=pA,EA=hA,bA=vA,wA=mA,DA="pako inflate (from Nodeca project)",pl={inflateReset:yA,inflateReset2:gA,inflateResetKeep:xA,inflateInit:_A,inflateInit2:CA,inflate:SA,inflateEnd:EA,inflateGetHeader:bA,inflateSetDictionary:wA,inflateInfo:DA};function TA(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var AA=TA;const tb=Object.prototype.toString,{Z_NO_FLUSH:RA,Z_FINISH:kA,Z_OK:ld,Z_STREAM_END:Zy,Z_NEED_DICT:Ky,Z_STREAM_ERROR:OA,Z_DATA_ERROR:nb,Z_MEM_ERROR:BA}=vs;function ud(n){this.options=Ih.assign({chunkSize:1024*64,windowBits:15,to:""},n||{});const l=this.options;l.raw&&l.windowBits>=0&&l.windowBits<16&&(l.windowBits=-l.windowBits,l.windowBits===0&&(l.windowBits=-15)),l.windowBits>=0&&l.windowBits<16&&!(n&&n.windowBits)&&(l.windowBits+=32),l.windowBits>15&&l.windowBits<48&&(l.windowBits&15||(l.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new pE,this.strm.avail_out=0;let a=pl.inflateInit2(this.strm,l.windowBits);if(a!==ld)throw new Error(hs[a]);if(this.header=new AA,pl.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=ad.string2buf(l.dictionary):tb.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(a=pl.inflateSetDictionary(this.strm,l.dictionary),a!==ld)))throw new Error(hs[a])}ud.prototype.push=function(n,l){const a=this.strm,s=this.options.chunkSize,d=this.options.dictionary;let v,h,g;if(this.ended)return!1;for(l===~~l?h=l:h=l===!0?kA:RA,tb.call(n)==="[object ArrayBuffer]"?a.input=new Uint8Array(n):a.input=n,a.next_in=0,a.avail_in=a.input.length;;){for(a.avail_out===0&&(a.output=new Uint8Array(s),a.next_out=0,a.avail_out=s),v=pl.inflate(a,h),v===Ky&&d&&(v=pl.inflateSetDictionary(a,d),v===ld?v=pl.inflate(a,h):v===nb&&(v=Ky));a.avail_in>0&&v===Zy&&a.state.wrap>0&&n[a.next_in]!==0;)pl.inflateReset(a),v=pl.inflate(a,h);switch(v){case OA:case nb:case Ky:case BA:return this.onEnd(v),this.ended=!0,!1}if(g=a.avail_out,a.next_out&&(a.avail_out===0||v===Zy))if(this.options.to==="string"){let _=ad.utf8border(a.output,a.next_out),p=a.next_out-_,x=ad.buf2string(a.output,_);a.next_out=p,a.avail_out=s-p,p&&a.output.set(a.output.subarray(_,_+p),0),this.onData(x)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(!(v===ld&&g===0)){if(v===Zy)return v=pl.inflateEnd(this.strm),this.onEnd(v),this.ended=!0,!0;if(a.avail_in===0)break}}return!0},ud.prototype.onData=function(n){this.chunks.push(n)},ud.prototype.onEnd=function(n){n===ld&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ih.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function Qy(n,l){const a=new ud(l);if(a.push(n),a.err)throw a.msg||hs[a.err];return a.result}function FA(n,l){return l=l||{},l.raw=!0,Qy(n,l)}var zA=ud,MA=Qy,NA=FA,LA=Qy,UA=vs,HA={Inflate:zA,inflate:MA,inflateRaw:NA,ungzip:LA,constants:UA};const{Deflate:PA,deflate:jA,deflateRaw:IA,gzip:$A}=ZT,{Inflate:VA,inflate:YA,inflateRaw:qA,ungzip:GA}=HA;var WA=PA,ZA=jA,KA=IA,QA=$A,XA=VA,JA=YA,eR=qA,tR=GA,nR=vs,rR={Deflate:WA,deflate:ZA,deflateRaw:KA,gzip:QA,Inflate:XA,inflate:JA,inflateRaw:eR,ungzip:tR,constants:nR},Ae={};Ae.toRGBA8=function(n){var l=n.width,a=n.height;if(n.tabs.acTL==null)return[Ae.toRGBA8.decodeImage(n.data,l,a,n).buffer];var s=[];n.frames[0].data==null&&(n.frames[0].data=n.data);for(var d=l*a*4,v=new Uint8Array(d),h=new Uint8Array(d),g=new Uint8Array(d),_=0;_<n.frames.length;_++){var p=n.frames[_],x=p.rect.x,w=p.rect.y,C=p.rect.width,E=p.rect.height,T=Ae.toRGBA8.decodeImage(p.data,C,E,n);if(_!=0)for(var k=0;k<d;k++)g[k]=v[k];if(p.blend==0?Ae._copyTile(T,C,E,v,l,a,x,w,0):p.blend==1&&Ae._copyTile(T,C,E,v,l,a,x,w,1),s.push(v.buffer.slice(0)),p.dispose!=0){if(p.dispose==1)Ae._copyTile(h,C,E,v,l,a,x,w,0);else if(p.dispose==2)for(var k=0;k<d;k++)v[k]=g[k]}}return s},Ae.toRGBA8.decodeImage=function(n,l,a,s){var d=l*a,v=Ae.decode._getBPP(s),h=Math.ceil(l*v/8),g=new Uint8Array(d*4),_=new Uint32Array(g.buffer),p=s.ctype,x=s.depth,w=Ae._bin.readUshort;if(p==6){var C=d<<2;if(x==8)for(var E=0;E<C;E+=4)g[E]=n[E],g[E+1]=n[E+1],g[E+2]=n[E+2],g[E+3]=n[E+3];if(x==16)for(var E=0;E<C;E++)g[E]=n[E<<1]}else if(p==2){var T=s.tabs.tRNS;if(T==null){if(x==8)for(var E=0;E<d;E++){var k=E*3;_[E]=255<<24|n[k+2]<<16|n[k+1]<<8|n[k]}if(x==16)for(var E=0;E<d;E++){var k=E*6;_[E]=255<<24|n[k+4]<<16|n[k+2]<<8|n[k]}}else{var O=T[0],M=T[1],B=T[2];if(x==8)for(var E=0;E<d;E++){var A=E<<2,k=E*3;_[E]=255<<24|n[k+2]<<16|n[k+1]<<8|n[k],n[k]==O&&n[k+1]==M&&n[k+2]==B&&(g[A+3]=0)}if(x==16)for(var E=0;E<d;E++){var A=E<<2,k=E*6;_[E]=255<<24|n[k+4]<<16|n[k+2]<<8|n[k],w(n,k)==O&&w(n,k+2)==M&&w(n,k+4)==B&&(g[A+3]=0)}}}else if(p==3){var F=s.tabs.PLTE,N=s.tabs.tRNS,H=N?N.length:0;if(x==1)for(var L=0;L<a;L++)for(var Y=L*h,Q=L*l,E=0;E<l;E++){var A=Q+E<<2,P=n[Y+(E>>3)]>>7-((E&7)<<0)&1,I=3*P;g[A]=F[I],g[A+1]=F[I+1],g[A+2]=F[I+2],g[A+3]=P<H?N[P]:255}if(x==2)for(var L=0;L<a;L++)for(var Y=L*h,Q=L*l,E=0;E<l;E++){var A=Q+E<<2,P=n[Y+(E>>2)]>>6-((E&3)<<1)&3,I=3*P;g[A]=F[I],g[A+1]=F[I+1],g[A+2]=F[I+2],g[A+3]=P<H?N[P]:255}if(x==4)for(var L=0;L<a;L++)for(var Y=L*h,Q=L*l,E=0;E<l;E++){var A=Q+E<<2,P=n[Y+(E>>1)]>>4-((E&1)<<2)&15,I=3*P;g[A]=F[I],g[A+1]=F[I+1],g[A+2]=F[I+2],g[A+3]=P<H?N[P]:255}if(x==8)for(var E=0;E<d;E++){var A=E<<2,P=n[E],I=3*P;g[A]=F[I],g[A+1]=F[I+1],g[A+2]=F[I+2],g[A+3]=P<H?N[P]:255}}else if(p==4){if(x==8)for(var E=0;E<d;E++){var A=E<<2,$=E<<1,W=n[$];g[A]=W,g[A+1]=W,g[A+2]=W,g[A+3]=n[$+1]}if(x==16)for(var E=0;E<d;E++){var A=E<<2,$=E<<2,W=n[$];g[A]=W,g[A+1]=W,g[A+2]=W,g[A+3]=n[$+2]}}else if(p==0)for(var O=s.tabs.tRNS?s.tabs.tRNS:-1,L=0;L<a;L++){var ne=L*h,J=L*l;if(x==1)for(var K=0;K<l;K++){var W=255*(n[ne+(K>>>3)]>>>7-(K&7)&1),ce=W==O*255?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}else if(x==2)for(var K=0;K<l;K++){var W=85*(n[ne+(K>>>2)]>>>6-((K&3)<<1)&3),ce=W==O*85?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}else if(x==4)for(var K=0;K<l;K++){var W=17*(n[ne+(K>>>1)]>>>4-((K&1)<<2)&15),ce=W==O*17?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}else if(x==8)for(var K=0;K<l;K++){var W=n[ne+K],ce=W==O?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}else if(x==16)for(var K=0;K<l;K++){var W=n[ne+(K<<1)],ce=w(n,ne+(K<<E))==O?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}}return g},Ae.decode=function(n){for(var l=new Uint8Array(n),a=8,s=Ae._bin,d=s.readUshort,v=s.readUint,h={tabs:{},frames:[]},g=new Uint8Array(l.length),_=0,p,x=0,w=[137,80,78,71,13,10,26,10],C=0;C<8;C++)if(l[C]!=w[C])throw"The input is not a PNG file!";for(;a<l.length;){var E=s.readUint(l,a);a+=4;var T=s.readASCII(l,a,4);if(a+=4,T=="IHDR")Ae.decode._IHDR(l,a,h);else if(T=="CgBI")h.tabs[T]=l.slice(a,a+4);else if(T=="IDAT"){for(var C=0;C<E;C++)g[_+C]=l[a+C];_+=E}else if(T=="acTL")h.tabs[T]={num_frames:v(l,a),num_plays:v(l,a+4)},p=new Uint8Array(l.length);else if(T=="fcTL"){if(x!=0){var k=h.frames[h.frames.length-1];k.data=Ae.decode._decompress(h,p.slice(0,x),k.rect.width,k.rect.height),x=0}var O={x:v(l,a+12),y:v(l,a+16),width:v(l,a+4),height:v(l,a+8)},M=d(l,a+22);M=d(l,a+20)/(M==0?100:M);var B={rect:O,delay:Math.round(M*1e3),dispose:l[a+24],blend:l[a+25]};h.frames.push(B)}else if(T=="fdAT"){for(var C=0;C<E-4;C++)p[x+C]=l[a+C+4];x+=E-4}else if(T=="pHYs")h.tabs[T]=[s.readUint(l,a),s.readUint(l,a+4),l[a+8]];else if(T=="cHRM"){h.tabs[T]=[];for(var C=0;C<8;C++)h.tabs[T].push(s.readUint(l,a+C*4))}else if(T=="tEXt"||T=="zTXt"){h.tabs[T]==null&&(h.tabs[T]={});var A=s.nextZero(l,a),F=s.readASCII(l,a,A-a),N,H=a+E-A-1;if(T=="tEXt")N=s.readASCII(l,A+1,H);else{var L=Ae.decode._inflate(l.slice(A+2,A+2+H));N=s.readUTF8(L,0,L.length)}h.tabs[T][F]=N}else if(T=="iTXt"){h.tabs[T]==null&&(h.tabs[T]={});var A=0,Y=a;A=s.nextZero(l,Y);var F=s.readASCII(l,Y,A-Y);Y=A+1;var Q=l[Y];l[Y+1],Y+=2,A=s.nextZero(l,Y),s.readASCII(l,Y,A-Y),Y=A+1,A=s.nextZero(l,Y),s.readUTF8(l,Y,A-Y),Y=A+1;var N,H=E-(Y-a);if(Q==0)N=s.readUTF8(l,Y,H);else{var L=Ae.decode._inflate(l.slice(Y,Y+H));N=s.readUTF8(L,0,L.length)}h.tabs[T][F]=N}else if(T=="PLTE")h.tabs[T]=s.readBytes(l,a,E);else if(T=="hIST"){var P=h.tabs.PLTE.length/3;h.tabs[T]=[];for(var C=0;C<P;C++)h.tabs[T].push(d(l,a+C*2))}else if(T=="tRNS")h.ctype==3?h.tabs[T]=s.readBytes(l,a,E):h.ctype==0?h.tabs[T]=d(l,a):h.ctype==2&&(h.tabs[T]=[d(l,a),d(l,a+2),d(l,a+4)]);else if(T=="gAMA")h.tabs[T]=s.readUint(l,a)/1e5;else if(T=="sRGB")h.tabs[T]=l[a];else if(T=="bKGD")h.ctype==0||h.ctype==4?h.tabs[T]=[d(l,a)]:h.ctype==2||h.ctype==6?h.tabs[T]=[d(l,a),d(l,a+2),d(l,a+4)]:h.ctype==3&&(h.tabs[T]=l[a]);else if(T=="IEND")break;a+=E,s.readUint(l,a),a+=4}if(x!=0){var k=h.frames[h.frames.length-1];k.data=Ae.decode._decompress(h,p.slice(0,x),k.rect.width,k.rect.height),x=0}return h.data=Ae.decode._decompress(h,g,h.width,h.height),delete h.compress,delete h.interlace,delete h.filter,h},Ae.decode._decompress=function(n,l,a,s){var d=Ae.decode._getBPP(n),v=Math.ceil(a*d/8),h=new Uint8Array((v+1+n.interlace)*s);return n.tabs.CgBI?l=Ae.inflateRaw(l,h):l=Ae.decode._inflate(l,h),n.interlace==0?l=Ae.decode._filterZero(l,n,0,a,s):n.interlace==1&&(l=Ae.decode._readInterlace(l,n)),l},Ae.decode._inflate=function(n,l){var a=Ae.inflateRaw(new Uint8Array(n.buffer,2,n.length-6),l);return a},Ae.inflateRaw=function(){var n={};return n.H={},n.H.N=function(l,a){var s=Uint8Array,d=0,v=0,h=0,g=0,_=0,p=0,x=0,w=0,C=0,E,T;if(l[0]==3&&l[1]==0)return a||new s(0);var k=n.H,O=k.b,M=k.e,B=k.R,A=k.n,F=k.A,N=k.Z,H=k.m,L=a==null;for(L&&(a=new s(l.length>>>2<<3));d==0;){if(d=O(l,C,1),v=O(l,C+1,2),C+=3,v==0){C&7&&(C+=8-(C&7));var Y=(C>>>3)+4,Q=l[Y-4]|l[Y-3]<<8;L&&(a=n.H.W(a,w+Q)),a.set(new s(l.buffer,l.byteOffset+Y,Q),w),C=Y+Q<<3,w+=Q;continue}if(L&&(a=n.H.W(a,w+(1<<17))),v==1&&(E=H.J,T=H.h,p=(1<<9)-1,x=(1<<5)-1),v==2){h=M(l,C,5)+257,g=M(l,C+5,5)+1,_=M(l,C+10,4)+4,C+=14;for(var P=1,I=0;I<38;I+=2)H.Q[I]=0,H.Q[I+1]=0;for(var I=0;I<_;I++){var $=M(l,C+I*3,3);H.Q[(H.X[I]<<1)+1]=$,$>P&&(P=$)}C+=3*_,A(H.Q,P),F(H.Q,P,H.u),E=H.w,T=H.d,C=B(H.u,(1<<P)-1,h+g,l,C,H.v);var W=k.V(H.v,0,h,H.C);p=(1<<W)-1;var ne=k.V(H.v,h,g,H.D);x=(1<<ne)-1,A(H.C,W),F(H.C,W,E),A(H.D,ne),F(H.D,ne,T)}for(;;){var J=E[N(l,C)&p];C+=J&15;var K=J>>>4;if(!(K>>>8))a[w++]=K;else{if(K==256)break;var ce=w+K-254;if(K>264){var V=H.q[K-257];ce=w+(V>>>3)+M(l,C,V&7),C+=V&7}var ue=T[N(l,C)&x];C+=ue&15;var Z=ue>>>4,G=H.c[Z],te=(G>>>4)+O(l,C,G&15);for(C+=G&15;w<ce;)a[w]=a[w++-te],a[w]=a[w++-te],a[w]=a[w++-te],a[w]=a[w++-te];w=ce}}}return a.length==w?a:a.slice(0,w)},n.H.W=function(l,a){var s=l.length;if(a<=s)return l;var d=new Uint8Array(s<<1);return d.set(l,0),d},n.H.R=function(l,a,s,d,v,h){for(var g=n.H.e,_=n.H.Z,p=0;p<s;){var x=l[_(d,v)&a];v+=x&15;var w=x>>>4;if(w<=15)h[p]=w,p++;else{var C=0,E=0;w==16?(E=3+g(d,v,2),v+=2,C=h[p-1]):w==17?(E=3+g(d,v,3),v+=3):w==18&&(E=11+g(d,v,7),v+=7);for(var T=p+E;p<T;)h[p]=C,p++}}return v},n.H.V=function(l,a,s,d){for(var v=0,h=0,g=d.length>>>1;h<s;){var _=l[h+a];d[h<<1]=0,d[(h<<1)+1]=_,_>v&&(v=_),h++}for(;h<g;)d[h<<1]=0,d[(h<<1)+1]=0,h++;return v},n.H.n=function(l,a){for(var s=n.H.m,d=l.length,v,h,g,_,p,x=s.j,_=0;_<=a;_++)x[_]=0;for(_=1;_<d;_+=2)x[l[_]]++;var w=s.K;for(v=0,x[0]=0,h=1;h<=a;h++)v=v+x[h-1]<<1,w[h]=v;for(g=0;g<d;g+=2)p=l[g+1],p!=0&&(l[g]=w[p],w[p]++)},n.H.A=function(l,a,s){for(var d=l.length,v=n.H.m,h=v.r,g=0;g<d;g+=2)if(l[g+1]!=0)for(var _=g>>1,p=l[g+1],x=_<<4|p,w=a-p,C=l[g]<<w,E=C+(1<<w);C!=E;){var T=h[C]>>>15-a;s[T]=x,C++}},n.H.l=function(l,a){for(var s=n.H.m.r,d=15-a,v=0;v<l.length;v+=2){var h=l[v]<<a-l[v+1];l[v]=s[h]>>>d}},n.H.M=function(l,a,s){s=s<<(a&7);var d=a>>>3;l[d]|=s,l[d+1]|=s>>>8},n.H.I=function(l,a,s){s=s<<(a&7);var d=a>>>3;l[d]|=s,l[d+1]|=s>>>8,l[d+2]|=s>>>16},n.H.e=function(l,a,s){return(l[a>>>3]|l[(a>>>3)+1]<<8)>>>(a&7)&(1<<s)-1},n.H.b=function(l,a,s){return(l[a>>>3]|l[(a>>>3)+1]<<8|l[(a>>>3)+2]<<16)>>>(a&7)&(1<<s)-1},n.H.Z=function(l,a){return(l[a>>>3]|l[(a>>>3)+1]<<8|l[(a>>>3)+2]<<16)>>>(a&7)},n.H.i=function(l,a){return(l[a>>>3]|l[(a>>>3)+1]<<8|l[(a>>>3)+2]<<16|l[(a>>>3)+3]<<24)>>>(a&7)},n.H.m=function(){var l=Uint16Array,a=Uint32Array;return{K:new l(16),j:new l(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new l(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new a(32),J:new l(512),_:[],h:new l(32),$:[],w:new l(32768),C:[],v:[],d:new l(32768),D:[],u:new l(512),Q:[],r:new l(1<<15),s:new a(286),Y:new a(30),a:new a(19),t:new a(15e3),k:new l(1<<16),g:new l(1<<15)}}(),function(){for(var l=n.H.m,a=1<<15,s=0;s<a;s++){var d=s;d=(d&2863311530)>>>1|(d&1431655765)<<1,d=(d&3435973836)>>>2|(d&858993459)<<2,d=(d&4042322160)>>>4|(d&252645135)<<4,d=(d&4278255360)>>>8|(d&16711935)<<8,l.r[s]=(d>>>16|d<<16)>>>17}function v(h,g,_){for(;g--!=0;)h.push(0,_)}for(var s=0;s<32;s++)l.q[s]=l.S[s]<<3|l.T[s],l.c[s]=l.p[s]<<4|l.z[s];v(l._,144,8),v(l._,255-143,9),v(l._,279-255,7),v(l._,287-279,8),n.H.n(l._,9),n.H.A(l._,9,l.J),n.H.l(l._,9),v(l.$,32,5),n.H.n(l.$,5),n.H.A(l.$,5,l.h),n.H.l(l.$,5),v(l.Q,19,0),v(l.C,286,0),v(l.D,30,0),v(l.v,320,0)}(),n.H.N}(),Ae.decode._readInterlace=function(n,l){for(var a=l.width,s=l.height,d=Ae.decode._getBPP(l),v=d>>3,h=Math.ceil(a*d/8),g=new Uint8Array(s*h),_=0,p=[0,0,4,0,2,0,1],x=[0,4,0,2,0,1,0],w=[8,8,8,4,4,2,2],C=[8,8,4,4,2,2,1],E=0;E<7;){for(var T=w[E],k=C[E],O=0,M=0,B=p[E];B<s;)B+=T,M++;for(var A=x[E];A<a;)A+=k,O++;var F=Math.ceil(O*d/8);Ae.decode._filterZero(n,l,_,O,M);for(var N=0,H=p[E];H<s;){for(var L=x[E],Y=_+N*F<<3;L<a;){if(d==1){var Q=n[Y>>3];Q=Q>>7-(Y&7)&1,g[H*h+(L>>3)]|=Q<<7-((L&7)<<0)}if(d==2){var Q=n[Y>>3];Q=Q>>6-(Y&7)&3,g[H*h+(L>>2)]|=Q<<6-((L&3)<<1)}if(d==4){var Q=n[Y>>3];Q=Q>>4-(Y&7)&15,g[H*h+(L>>1)]|=Q<<4-((L&1)<<2)}if(d>=8)for(var P=H*h+L*v,I=0;I<v;I++)g[P+I]=n[(Y>>3)+I];Y+=d,L+=k}N++,H+=T}O*M!=0&&(_+=M*(1+F)),E=E+1}return g},Ae.decode._getBPP=function(n){var l=[1,null,3,1,2,null,4][n.ctype];return l*n.depth},Ae.decode._filterZero=function(n,l,a,s,d){var v=Ae.decode._getBPP(l),h=Math.ceil(s*v/8),g=Ae.decode._paeth;v=Math.ceil(v/8);var _=0,p=1,x=n[a],w=0;if(x>1&&(n[a]=[0,0,1][x-2]),x==3)for(w=v;w<h;w++)n[w+1]=n[w+1]+(n[w+1-v]>>>1)&255;for(var C=0;C<d;C++)if(_=a+C*h,p=_+C+1,x=n[p-1],w=0,x==0)for(;w<h;w++)n[_+w]=n[p+w];else if(x==1){for(;w<v;w++)n[_+w]=n[p+w];for(;w<h;w++)n[_+w]=n[p+w]+n[_+w-v]}else if(x==2)for(;w<h;w++)n[_+w]=n[p+w]+n[_+w-h];else if(x==3){for(;w<v;w++)n[_+w]=n[p+w]+(n[_+w-h]>>>1);for(;w<h;w++)n[_+w]=n[p+w]+(n[_+w-h]+n[_+w-v]>>>1)}else{for(;w<v;w++)n[_+w]=n[p+w]+g(0,n[_+w-h],0);for(;w<h;w++)n[_+w]=n[p+w]+g(n[_+w-v],n[_+w-h],n[_+w-v-h])}return n},Ae.decode._paeth=function(n,l,a){var s=n+l-a,d=s-n,v=s-l,h=s-a;return d*d<=v*v&&d*d<=h*h?n:v*v<=h*h?l:a},Ae.decode._IHDR=function(n,l,a){var s=Ae._bin;a.width=s.readUint(n,l),l+=4,a.height=s.readUint(n,l),l+=4,a.depth=n[l],l++,a.ctype=n[l],l++,a.compress=n[l],l++,a.filter=n[l],l++,a.interlace=n[l],l++},Ae._bin={nextZero:function(n,l){for(;n[l]!=0;)l++;return l},readUshort:function(n,l){return n[l]<<8|n[l+1]},writeUshort:function(n,l,a){n[l]=a>>8&255,n[l+1]=a&255},readUint:function(n,l){return n[l]*(256*256*256)+(n[l+1]<<16|n[l+2]<<8|n[l+3])},writeUint:function(n,l,a){n[l]=a>>24&255,n[l+1]=a>>16&255,n[l+2]=a>>8&255,n[l+3]=a&255},readASCII:function(n,l,a){for(var s="",d=0;d<a;d++)s+=String.fromCharCode(n[l+d]);return s},writeASCII:function(n,l,a){for(var s=0;s<a.length;s++)n[l+s]=a.charCodeAt(s)},readBytes:function(n,l,a){for(var s=[],d=0;d<a;d++)s.push(n[l+d]);return s},pad:function(n){return n.length<2?"0"+n:n},readUTF8:function(n,l,a){for(var s="",d,v=0;v<a;v++)s+="%"+Ae._bin.pad(n[l+v].toString(16));try{d=decodeURIComponent(s)}catch{return Ae._bin.readASCII(n,l,a)}return d}},Ae._copyTile=function(n,l,a,s,d,v,h,g,_){for(var p=Math.min(l,d),x=Math.min(a,v),w=0,C=0,E=0;E<x;E++)for(var T=0;T<p;T++)if(h>=0&&g>=0?(w=E*l+T<<2,C=(g+E)*d+h+T<<2):(w=(-g+E)*l-h+T<<2,C=E*d+T<<2),_==0)s[C]=n[w],s[C+1]=n[w+1],s[C+2]=n[w+2],s[C+3]=n[w+3];else if(_==1){var k=n[w+3]*.00392156862745098,O=n[w]*k,M=n[w+1]*k,B=n[w+2]*k,A=s[C+3]*(1/255),F=s[C]*A,N=s[C+1]*A,H=s[C+2]*A,L=1-k,Y=k+A*L,Q=Y==0?0:1/Y;s[C+3]=255*Y,s[C+0]=(O+F*L)*Q,s[C+1]=(M+N*L)*Q,s[C+2]=(B+H*L)*Q}else if(_==2){var k=n[w+3],O=n[w],M=n[w+1],B=n[w+2],A=s[C+3],F=s[C],N=s[C+1],H=s[C+2];k==A&&O==F&&M==N&&B==H?(s[C]=0,s[C+1]=0,s[C+2]=0,s[C+3]=0):(s[C]=O,s[C+1]=M,s[C+2]=B,s[C+3]=k)}else if(_==3){var k=n[w+3],O=n[w],M=n[w+1],B=n[w+2],A=s[C+3],F=s[C],N=s[C+1],H=s[C+2];if(k==A&&O==F&&M==N&&B==H)continue;if(k<220&&A>20)return!1}return!0},Ae.encode=function(n,l,a,s,d,v,h){s==null&&(s=0),h==null&&(h=!1);var g=Ae.encode.compress(n,l,a,s,[!1,!1,!1,0,h]);return Ae.encode.compressPNG(g,-1),Ae.encode._main(g,l,a,d,v)},Ae.encodeLL=function(n,l,a,s,d,v,h,g){for(var _={ctype:0+(s==1?0:2)+(d==0?0:4),depth:v,frames:[]},p=(s+d)*v,x=p*l,w=0;w<n.length;w++)_.frames.push({rect:{x:0,y:0,width:l,height:a},img:new Uint8Array(n[w]),blend:0,dispose:1,bpp:Math.ceil(p/8),bpl:Math.ceil(x/8)});Ae.encode.compressPNG(_,0,!0);var C=Ae.encode._main(_,l,a,h,g);return C},Ae.encode._main=function(n,l,a,s,d){d==null&&(d={});var v=Ae.crc.crc,h=Ae._bin.writeUint,g=Ae._bin.writeUshort,_=Ae._bin.writeASCII,p=8,x=n.frames.length>1,w=!1,C=8+(16+5+4)+(x?20:0);if(d.sRGB!=null&&(C+=8+1+4),d.pHYs!=null&&(C+=8+9+4),n.ctype==3){for(var E=n.plte.length,T=0;T<E;T++)n.plte[T]>>>24!=255&&(w=!0);C+=8+E*3+4+(w?8+E*1+4:0)}for(var k=0;k<n.frames.length;k++){var O=n.frames[k];x&&(C+=38),C+=O.cimg.length+12,k!=0&&(C+=4)}C+=12;for(var M=new Uint8Array(C),B=[137,80,78,71,13,10,26,10],T=0;T<8;T++)M[T]=B[T];if(h(M,p,13),p+=4,_(M,p,"IHDR"),p+=4,h(M,p,l),p+=4,h(M,p,a),p+=4,M[p]=n.depth,p++,M[p]=n.ctype,p++,M[p]=0,p++,M[p]=0,p++,M[p]=0,p++,h(M,p,v(M,p-17,17)),p+=4,d.sRGB!=null&&(h(M,p,1),p+=4,_(M,p,"sRGB"),p+=4,M[p]=d.sRGB,p++,h(M,p,v(M,p-5,5)),p+=4),d.pHYs!=null&&(h(M,p,9),p+=4,_(M,p,"pHYs"),p+=4,h(M,p,d.pHYs[0]),p+=4,h(M,p,d.pHYs[1]),p+=4,M[p]=d.pHYs[2],p++,h(M,p,v(M,p-13,13)),p+=4),x&&(h(M,p,8),p+=4,_(M,p,"acTL"),p+=4,h(M,p,n.frames.length),p+=4,h(M,p,d.loop!=null?d.loop:0),p+=4,h(M,p,v(M,p-12,12)),p+=4),n.ctype==3){var E=n.plte.length;h(M,p,E*3),p+=4,_(M,p,"PLTE"),p+=4;for(var T=0;T<E;T++){var A=T*3,F=n.plte[T],N=F&255,H=F>>>8&255,L=F>>>16&255;M[p+A+0]=N,M[p+A+1]=H,M[p+A+2]=L}if(p+=E*3,h(M,p,v(M,p-E*3-4,E*3+4)),p+=4,w){h(M,p,E),p+=4,_(M,p,"tRNS"),p+=4;for(var T=0;T<E;T++)M[p+T]=n.plte[T]>>>24&255;p+=E,h(M,p,v(M,p-E-4,E+4)),p+=4}}for(var Y=0,k=0;k<n.frames.length;k++){var O=n.frames[k];x&&(h(M,p,26),p+=4,_(M,p,"fcTL"),p+=4,h(M,p,Y++),p+=4,h(M,p,O.rect.width),p+=4,h(M,p,O.rect.height),p+=4,h(M,p,O.rect.x),p+=4,h(M,p,O.rect.y),p+=4,g(M,p,s[k]),p+=2,g(M,p,1e3),p+=2,M[p]=O.dispose,p++,M[p]=O.blend,p++,h(M,p,v(M,p-30,30)),p+=4);var Q=O.cimg,E=Q.length;h(M,p,E+(k==0?0:4)),p+=4;var P=p;_(M,p,k==0?"IDAT":"fdAT"),p+=4,k!=0&&(h(M,p,Y++),p+=4),M.set(Q,p),p+=E,h(M,p,v(M,P,p-P)),p+=4}return h(M,p,0),p+=4,_(M,p,"IEND"),p+=4,h(M,p,v(M,p-4,4)),p+=4,M.buffer},Ae.encode.compressPNG=function(n,l,a){for(var s=0;s<n.frames.length;s++){var d=n.frames[s];d.rect.width;var v=d.rect.height,h=new Uint8Array(v*d.bpl+v);d.cimg=Ae.encode._filterZero(d.img,v,d.bpp,d.bpl,h,l,a)}},Ae.encode.compress=function(n,l,a,s,d){for(var v=d[0],h=d[1],g=d[2],_=d[3],p=d[4],x=6,w=8,C=255,E=0;E<n.length;E++)for(var T=new Uint8Array(n[E]),k=T.length,O=0;O<k;O+=4)C&=T[O+3];var M=C!=255,B=Ae.encode.framize(n,l,a,v,h,g),A={},F=[],N=[];if(s!=0){for(var H=[],O=0;O<B.length;O++)H.push(B[O].img.buffer);for(var L=Ae.encode.concatRGBA(H),Y=Ae.quantize(L,s),Q=0,P=new Uint8Array(Y.abuf),O=0;O<B.length;O++){var I=B[O].img,$=I.length;N.push(new Uint8Array(Y.inds.buffer,Q>>2,$>>2));for(var E=0;E<$;E+=4)I[E]=P[Q+E],I[E+1]=P[Q+E+1],I[E+2]=P[Q+E+2],I[E+3]=P[Q+E+3];Q+=$}for(var O=0;O<Y.plte.length;O++)F.push(Y.plte[O].est.rgba)}else for(var E=0;E<B.length;E++){var W=B[E],ne=new Uint32Array(W.img.buffer),J=W.rect.width,k=ne.length,K=new Uint8Array(k);N.push(K);for(var O=0;O<k;O++){var ce=ne[O];if(O!=0&&ce==ne[O-1])K[O]=K[O-1];else if(O>J&&ce==ne[O-J])K[O]=K[O-J];else{var V=A[ce];if(V==null&&(A[ce]=V=F.length,F.push(ce),F.length>=300))break;K[O]=V}}}var ue=F.length;ue<=256&&p==!1&&(ue<=2?w=1:ue<=4?w=2:ue<=16?w=4:w=8,w=Math.max(w,_));for(var E=0;E<B.length;E++){var W=B[E];W.rect.x,W.rect.y;var J=W.rect.width,Z=W.rect.height,G=W.img;new Uint32Array(G.buffer);var te=4*J,se=4;if(ue<=256&&p==!1){te=Math.ceil(w*J/8);for(var re=new Uint8Array(te*Z),xe=N[E],be=0;be<Z;be++){var O=be*te,Be=be*J;if(w==8)for(var Se=0;Se<J;Se++)re[O+Se]=xe[Be+Se];else if(w==4)for(var Se=0;Se<J;Se++)re[O+(Se>>1)]|=xe[Be+Se]<<4-(Se&1)*4;else if(w==2)for(var Se=0;Se<J;Se++)re[O+(Se>>2)]|=xe[Be+Se]<<6-(Se&3)*2;else if(w==1)for(var Se=0;Se<J;Se++)re[O+(Se>>3)]|=xe[Be+Se]<<7-(Se&7)*1}G=re,x=3,se=1}else if(M==!1&&B.length==1){for(var re=new Uint8Array(J*Z*3),Ie=J*Z,O=0;O<Ie;O++){var I=O*3,Ne=O*4;re[I]=G[Ne],re[I+1]=G[Ne+1],re[I+2]=G[Ne+2]}G=re,x=2,se=3,te=3*J}W.img=G,W.bpl=te,W.bpp=se}return{ctype:x,depth:w,plte:F,frames:B}},Ae.encode.framize=function(n,l,a,s,d,v){for(var h=[],g=0;g<n.length;g++){var _=new Uint8Array(n[g]),p=new Uint32Array(_.buffer),x,w=0,C=0,E=l,T=a,k=s?1:0;if(g!=0){for(var O=v||s||g==1||h[g-2].dispose!=0?1:2,M=0,B=1e9,A=0;A<O;A++){for(var W=new Uint8Array(n[g-1-A]),F=new Uint32Array(n[g-1-A]),N=l,H=a,L=-1,Y=-1,Q=0;Q<a;Q++)for(var P=0;P<l;P++){var I=Q*l+P;p[I]!=F[I]&&(P<N&&(N=P),P>L&&(L=P),Q<H&&(H=Q),Q>Y&&(Y=Q))}L==-1&&(N=H=L=Y=0),d&&((N&1)==1&&N--,(H&1)==1&&H--);var $=(L-N+1)*(Y-H+1);$<B&&(B=$,M=A,w=N,C=H,E=L-N+1,T=Y-H+1)}var W=new Uint8Array(n[g-1-M]);M==1&&(h[g-1].dispose=2),x=new Uint8Array(E*T*4),Ae._copyTile(W,l,a,x,E,T,-w,-C,0),k=Ae._copyTile(_,l,a,x,E,T,-w,-C,3)?1:0,k==1?Ae.encode._prepareDiff(_,l,a,x,{x:w,y:C,width:E,height:T}):Ae._copyTile(_,l,a,x,E,T,-w,-C,0)}else x=_.slice(0);h.push({rect:{x:w,y:C,width:E,height:T},img:x,blend:k,dispose:0})}if(s)for(var g=0;g<h.length;g++){var ne=h[g];if(ne.blend!=1){var J=ne.rect,K=h[g-1].rect,ce=Math.min(J.x,K.x),V=Math.min(J.y,K.y),ue=Math.max(J.x+J.width,K.x+K.width),Z=Math.max(J.y+J.height,K.y+K.height),G={x:ce,y:V,width:ue-ce,height:Z-V};h[g-1].dispose=1,g-1!=0&&Ae.encode._updateFrame(n,l,a,h,g-1,G,d),Ae.encode._updateFrame(n,l,a,h,g,G,d)}}var te=0;if(n.length!=1)for(var I=0;I<h.length;I++){var ne=h[I];te+=ne.rect.width*ne.rect.height}return h},Ae.encode._updateFrame=function(n,l,a,s,d,v,h){for(var g=Uint8Array,_=Uint32Array,p=new g(n[d-1]),x=new _(n[d-1]),w=d+1<n.length?new g(n[d+1]):null,C=new g(n[d]),E=new _(C.buffer),T=l,k=a,O=-1,M=-1,B=0;B<v.height;B++)for(var A=0;A<v.width;A++){var F=v.x+A,N=v.y+B,H=N*l+F,L=E[H];L==0||s[d-1].dispose==0&&x[H]==L&&(w==null||w[H*4+3]!=0)||(F<T&&(T=F),F>O&&(O=F),N<k&&(k=N),N>M&&(M=N))}O==-1&&(T=k=O=M=0),h&&((T&1)==1&&T--,(k&1)==1&&k--),v={x:T,y:k,width:O-T+1,height:M-k+1};var Y=s[d];Y.rect=v,Y.blend=1,Y.img=new Uint8Array(v.width*v.height*4),s[d-1].dispose==0?(Ae._copyTile(p,l,a,Y.img,v.width,v.height,-v.x,-v.y,0),Ae.encode._prepareDiff(C,l,a,Y.img,v)):Ae._copyTile(C,l,a,Y.img,v.width,v.height,-v.x,-v.y,0)},Ae.encode._prepareDiff=function(n,l,a,s,d){Ae._copyTile(n,l,a,s,d.width,d.height,-d.x,-d.y,2)},Ae.encode._filterZero=function(n,l,a,s,d,v,h){var g=[],_=[0,1,2,3,4];v!=-1?_=[v]:(l*s>5e5||a==1)&&(_=[0]);var p;h&&(p={level:0});for(var x=d.length>1e7&&UZIP!=null?UZIP:rR,w=0;w<_.length;w++){for(var C=0;C<l;C++)Ae.encode._filterLine(d,n,C,s,a,_[w]);g.push(x.deflate(d,p))}for(var E,T=1e9,w=0;w<g.length;w++)g[w].length<T&&(E=w,T=g[w].length);return g[E]},Ae.encode._filterLine=function(n,l,a,s,d,v){var h=a*s,g=h+a,_=Ae.decode._paeth;if(n[g]=v,g++,v==0)if(s<500)for(var p=0;p<s;p++)n[g+p]=l[h+p];else n.set(new Uint8Array(l.buffer,h,s),g);else if(v==1){for(var p=0;p<d;p++)n[g+p]=l[h+p];for(var p=d;p<s;p++)n[g+p]=l[h+p]-l[h+p-d]+256&255}else if(a==0){for(var p=0;p<d;p++)n[g+p]=l[h+p];if(v==2)for(var p=d;p<s;p++)n[g+p]=l[h+p];if(v==3)for(var p=d;p<s;p++)n[g+p]=l[h+p]-(l[h+p-d]>>1)+256&255;if(v==4)for(var p=d;p<s;p++)n[g+p]=l[h+p]-_(l[h+p-d],0,0)+256&255}else{if(v==2)for(var p=0;p<s;p++)n[g+p]=l[h+p]+256-l[h+p-s]&255;if(v==3){for(var p=0;p<d;p++)n[g+p]=l[h+p]+256-(l[h+p-s]>>1)&255;for(var p=d;p<s;p++)n[g+p]=l[h+p]+256-(l[h+p-s]+l[h+p-d]>>1)&255}if(v==4){for(var p=0;p<d;p++)n[g+p]=l[h+p]+256-_(0,l[h+p-s],0)&255;for(var p=d;p<s;p++)n[g+p]=l[h+p]+256-_(l[h+p-d],l[h+p-s],l[h+p-d-s])&255}}},Ae.crc={table:function(){for(var n=new Uint32Array(256),l=0;l<256;l++){for(var a=l,s=0;s<8;s++)a&1?a=3988292384^a>>>1:a=a>>>1;n[l]=a}return n}(),update:function(n,l,a,s){for(var d=0;d<s;d++)n=Ae.crc.table[(n^l[a+d])&255]^n>>>8;return n},crc:function(n,l,a){return Ae.crc.update(4294967295,n,l,a)^4294967295}},Ae.quantize=function(n,l){var a=new Uint8Array(n),s=a.slice(0),d=new Uint32Array(s.buffer),v=Ae.quantize.getKDtree(s,l),h=v[0],g=v[1],_=Ae.quantize.planeDst,p=a,x=d,w=p.length,C=new Uint8Array(a.length>>2),E;if(a.length<2e7)for(var T=0;T<w;T+=4){var k=p[T]*.00392156862745098,O=p[T+1]*(1/255),M=p[T+2]*(1/255),B=p[T+3]*(1/255);E=Ae.quantize.getNearest(h,k,O,M,B),C[T>>2]=E.ind,x[T>>2]=E.est.rgba}else for(var T=0;T<w;T+=4){var k=p[T]*.00392156862745098,O=p[T+1]*(1/255),M=p[T+2]*(1/255),B=p[T+3]*(1/255);for(E=h;E.left;)E=_(E.est,k,O,M,B)<=0?E.left:E.right;C[T>>2]=E.ind,x[T>>2]=E.est.rgba}return{abuf:s.buffer,inds:C,plte:g}},Ae.quantize.getKDtree=function(n,l,a){a==null&&(a=1e-4);var s=new Uint32Array(n.buffer),d={i0:0,i1:n.length,bst:null,est:null,tdst:0,left:null,right:null};d.bst=Ae.quantize.stats(n,d.i0,d.i1),d.est=Ae.quantize.estats(d.bst);for(var v=[d];v.length<l;){for(var h=0,g=0,_=0;_<v.length;_++)v[_].est.L>h&&(h=v[_].est.L,g=_);if(h<a)break;var p=v[g],x=Ae.quantize.splitPixels(n,s,p.i0,p.i1,p.est.e,p.est.eMq255),w=p.i0>=x||p.i1<=x;if(w){p.est.L=0;continue}var C={i0:p.i0,i1:x,bst:null,est:null,tdst:0,left:null,right:null};C.bst=Ae.quantize.stats(n,C.i0,C.i1),C.est=Ae.quantize.estats(C.bst);var E={i0:x,i1:p.i1,bst:null,est:null,tdst:0,left:null,right:null};E.bst={R:[],m:[],N:p.bst.N-C.bst.N};for(var _=0;_<16;_++)E.bst.R[_]=p.bst.R[_]-C.bst.R[_];for(var _=0;_<4;_++)E.bst.m[_]=p.bst.m[_]-C.bst.m[_];E.est=Ae.quantize.estats(E.bst),p.left=C,p.right=E,v[g]=C,v.push(E)}v.sort(function(T,k){return k.bst.N-T.bst.N});for(var _=0;_<v.length;_++)v[_].ind=_;return[d,v]},Ae.quantize.getNearest=function(n,l,a,s,d){if(n.left==null)return n.tdst=Ae.quantize.dist(n.est.q,l,a,s,d),n;var v=Ae.quantize.planeDst(n.est,l,a,s,d),h=n.left,g=n.right;v>0&&(h=n.right,g=n.left);var _=Ae.quantize.getNearest(h,l,a,s,d);if(_.tdst<=v*v)return _;var p=Ae.quantize.getNearest(g,l,a,s,d);return p.tdst<_.tdst?p:_},Ae.quantize.planeDst=function(n,l,a,s,d){var v=n.e;return v[0]*l+v[1]*a+v[2]*s+v[3]*d-n.eMq},Ae.quantize.dist=function(n,l,a,s,d){var v=l-n[0],h=a-n[1],g=s-n[2],_=d-n[3];return v*v+h*h+g*g+_*_},Ae.quantize.splitPixels=function(n,l,a,s,d,v){var h=Ae.quantize.vecDot;for(s-=4;a<s;){for(;h(n,a,d)<=v;)a+=4;for(;h(n,s,d)>v;)s-=4;if(a>=s)break;var g=l[a>>2];l[a>>2]=l[s>>2],l[s>>2]=g,a+=4,s-=4}for(;h(n,a,d)>v;)a-=4;return a+4},Ae.quantize.vecDot=function(n,l,a){return n[l]*a[0]+n[l+1]*a[1]+n[l+2]*a[2]+n[l+3]*a[3]},Ae.quantize.stats=function(n,l,a){for(var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d=[0,0,0,0],v=a-l>>2,h=l;h<a;h+=4){var g=n[h]*.00392156862745098,_=n[h+1]*(1/255),p=n[h+2]*(1/255),x=n[h+3]*(1/255);d[0]+=g,d[1]+=_,d[2]+=p,d[3]+=x,s[0]+=g*g,s[1]+=g*_,s[2]+=g*p,s[3]+=g*x,s[5]+=_*_,s[6]+=_*p,s[7]+=_*x,s[10]+=p*p,s[11]+=p*x,s[15]+=x*x}return s[4]=s[1],s[8]=s[2],s[9]=s[6],s[12]=s[3],s[13]=s[7],s[14]=s[11],{R:s,m:d,N:v}},Ae.quantize.estats=function(n){var l=n.R,a=n.m,s=n.N,d=a[0],v=a[1],h=a[2],g=a[3],_=s==0?0:1/s,p=[l[0]-d*d*_,l[1]-d*v*_,l[2]-d*h*_,l[3]-d*g*_,l[4]-v*d*_,l[5]-v*v*_,l[6]-v*h*_,l[7]-v*g*_,l[8]-h*d*_,l[9]-h*v*_,l[10]-h*h*_,l[11]-h*g*_,l[12]-g*d*_,l[13]-g*v*_,l[14]-g*h*_,l[15]-g*g*_],x=p,w=Ae.M4,C=[Math.random(),Math.random(),Math.random(),Math.random()],E=0,T=0;if(s!=0)for(var k=0;k<16&&(C=w.multVec(x,C),T=Math.sqrt(w.dot(C,C)),C=w.sml(1/T,C),!(k!=0&&Math.abs(T-E)<1e-9));k++)E=T;var O=[d*_,v*_,h*_,g*_],M=w.dot(w.sml(255,O),C);return{Cov:p,q:O,e:C,L:E,eMq255:M,eMq:w.dot(C,O),rgba:(Math.round(255*O[3])<<24|Math.round(255*O[2])<<16|Math.round(255*O[1])<<8|Math.round(255*O[0])<<0)>>>0}},Ae.M4={multVec:function(n,l){return[n[0]*l[0]+n[1]*l[1]+n[2]*l[2]+n[3]*l[3],n[4]*l[0]+n[5]*l[1]+n[6]*l[2]+n[7]*l[3],n[8]*l[0]+n[9]*l[1]+n[10]*l[2]+n[11]*l[3],n[12]*l[0]+n[13]*l[1]+n[14]*l[2]+n[15]*l[3]]},dot:function(n,l){return n[0]*l[0]+n[1]*l[1]+n[2]*l[2]+n[3]*l[3]},sml:function(n,l){return[n*l[0],n*l[1],n*l[2],n*l[3]]}},Ae.encode.concatRGBA=function(n){for(var l=0,a=0;a<n.length;a++)l+=n[a].byteLength;for(var s=new Uint8Array(l),d=0,a=0;a<n.length;a++){for(var v=new Uint8Array(n[a]),h=v.length,g=0;g<h;g+=4){var _=v[g],p=v[g+1],x=v[g+2],w=v[g+3];w==0&&(_=p=x=0),s[d+g]=_,s[d+g+1]=p,s[d+g+2]=x,s[d+g+3]=w}d+=h}return s.buffer};const aR=n=>new Promise((l,a)=>{const s=new FileReader;s.onloadend=d=>l(d.target.result),s.onerror=d=>a(d),s.readAsDataURL(n)}),iR=n=>new Promise((l,a)=>{const s=new Image;s.onload=()=>l(s),s.onerror=d=>a(d),s.src=n}),oR=(n,l,a)=>new Promise(s=>n.toBlob(d=>s(d),l,a)),lR=n=>{const s=n.width,d=n.height;let v=n.width,h=n.height;return(s>2e3||d>2e3)&&(s/d>2e3/2e3?(v=2e3,h=Math.round(2e3*(d/s))):(h=2e3,v=Math.round(2e3*(s/d)))),{width:v,height:h}},uR=n=>{let l=0;return n>1||n<0?l=0:l=n?n*256:0,l},rb=async(n,l=.5,a=5)=>{const s=n.name;if(n.size/1024/1024<a)return n;try{const d=document.createElement("canvas"),v=d.getContext("2d"),h=await aR(n),g=await iR(h),_=lR(g);if(d.width=_.width,d.height=_.height,v.clearRect(0,0,_.width,_.height),v.drawImage(g,0,0,_.width,_.height),["image/jpeg","image/jpg"].includes(n.type)){const p=await oR(d,n.type,l);return new File([p],s,{type:n.type})}else{const p=v.getImageData(0,0,_.width,_.height).data,x=uR(l),w=Ae.encode([p.buffer],_.width,_.height,x);return new File([w],n.name,{type:n.type})}}catch{return n}},ab=[Nc.jpeg,Nc.jpg,Nc.png],ib=n=>{const{maxCount:l=1,listType:a="picture-card",fileList:s=[],maxSize:d=2,accept:v=ab.join(","),uploadBtnName:h="上传",uploadHint:g=null,compression:_}=n,[p,x]=Te.useState(!1),[w,C]=Te.useState(""),E=()=>a!=="text"?bt("div",{style:{position:"relative"},children:[bt("div",{children:[de(SS,{}),de("div",{style:{marginTop:8},children:h})]}),g]}):bt(yo,{children:[de(De.Button,{icon:de(TS,{}),children:h}),g]}),T=B=>new Promise(async(F,N)=>{const H=v.split(","),L=Lh(B.name)||"";if(v&&!H.includes(L)&&(De.message.error(`只允许上传 ${v} 文件`),N(!1)),!(B.size/1024/1024<d)&&!_&&(De.message.error(`文件必须小于${d}MB`),N(!1)),_){let Q=0;async function P($){if(!_)return;const W=await rb($,_.quality,_.limit);if(Q++,Q>=5)return W;if(W.size/1024/1024>d)await P(W);else return W}const I=await P(B);F(I)}F(B)}).catch(F=>De.Upload.LIST_IGNORE),k=B=>{n.onChange&&n.onChange(B)},O=B=>{n.onPreview?n.onPreview(B):M(B)},M=async B=>{let A=Lh(B.name)||"";if(A||(A=Lh(B.name||B.url)||""),A===Nc.pdf)return De.Modal.info({title:"PDF",width:"60%",content:de("iframe",{title:"PDF预览",src:B.url||B.response.url,frameBorder:"0",style:{width:"100%",height:"70vh"}}),okText:"关闭"});ab.includes(A)&&(!B.url&&!B.thumbUrl&&!B.preview&&(B.preview=await zS(B.originFileObj)),C(B.url||B.thumbUrl||B.preview),x(!0))};return bt(yo,{children:[de(De.Upload,{beforeUpload:T,onChange:k,listType:a,...n,onPreview:O,children:s.length>=l?null:E()}),de(De.Image,{style:{display:"none"},preview:{visible:p,src:w,onVisibleChange:()=>{x(!1),C("")}}})]})},Kh={fieldModal:"create-form-module_fieldModal_8bf3d",content:"create-form-module_content_61f84",suffix:"create-form-module_suffix_42205",placeholder:"create-form-module_placeholder_90d6a"},sR={labelCol:{span:4},wrapperCol:{span:20}},ob=n=>{switch(n){case"upload":return"fileList";case"switch":return"checked";default:return"value"}},Xy=n=>{const{items:l,rowProps:a,formProps:s,readonly:d=!1,hiddenTitle:v=!1}=n,h=(p,x)=>{var w,C;if(x.btnType==="submit"){(w=s==null?void 0:s.form)==null||w.validateFields().then(E=>{x.onClick&&x.onClick(E)});return}if(x.btnType==="reset"){(C=s==null?void 0:s.form)==null||C.resetFields(),x.onClick&&x.onClick(p);return}x.btnType==="cancel"&&x.onClick&&x.onClick(p)},g=p=>Array.isArray(p)?p:p&&p.fileList,_=p=>{var w;const x=s==null?void 0:s.initialValues;return p.dataIndex?((w=p.render)==null?void 0:w.call(p,x==null?void 0:x[p.dataIndex],x))||p.value||(x==null?void 0:x[p.dataIndex]):""};return de(De.Form,{layout:"horizontal",form:s==null?void 0:s.form,...sR,...s||{},children:de(De.Row,{gutter:16,...a,children:l.filter(p=>!p.hidden).map((p,x)=>de(De.Col,{...p.colProps||{span:24},children:de(De.Form.Item,{...p.valueType==="upload"?{getValueFromEvent:g}:{},label:v?"":p.title,name:p.valueType==="btns"?void 0:p.dataIndex,...p.formItemProps,children:p.readonly?de("div",{children:_(p)}):p.readonly===void 0&&d?de("div",{children:_(p)}):de(lb,{onChange:w=>{var C;return(C=p==null?void 0:p.onChange)==null?void 0:C.call(p,w)},valueType:p.valueType,onBtnClick:h,valueProps:p.valueProps,formItemProps:p.formItemProps})})},p.dataIndex||x))})})},lb=n=>{const{valueType:l,valueProps:a,value:s,onChange:d,onBtnClick:v,inputRef:h,formItemProps:g}=n,_=Te.useMemo(()=>{let p=de(De.Input,{placeholder:"请输入",allowClear:!0,...a});switch(l){case"rate":p=de(De.Rate,{...a});break;case"password":p=de(De.Input.Password,{...a});break;case"modal":p=de(cR,{...a});break;case"checkbox":p=de(De.Checkbox.Group,{...a});break;case"select":p=de(De.Select,{placeholder:"请选择",allowClear:!0,...a});break;case"inputNumber":p=de(De.InputNumber,{style:{width:"100%"},placeholder:"请输入",...a});break;case"textarea":p=de(De.Input.TextArea,{placeholder:"请输入",allowClear:!0,...a});break;case"radio":p=de(De.Radio.Group,{...a});break;case"switch":p=de(De.Switch,{...a});break;case"datePicker":p=de(De.DatePicker,{style:{width:"100%"},allowClear:!0,...a});break;case"rangePicker":p=de(De.DatePicker.RangePicker,{style:{width:"100%"},allowClear:!0,...a});break;case"timePicker":p=de(De.TimePicker,{style:{width:"100%"},allowClear:!0,...a});break;case"cascader":p=de(De.Cascader,{allowClear:!0,...a});break;case"upload":p=de(ib,{...a});break;case"btns":p=de(De.Space,{children:a==null?void 0:a.map(x=>Te.createElement(De.Button,{type:x.btnType==="submit"?"primary":"default",...au.omit(x,["btnType"]),key:x.key||x.btnType,onClick:w=>{v==null||v(w,x)}},x.title||x.children))});break}return p},[l,a,d,s]);if(l==="custom"){const p=a;return Te.cloneElement(p.children,{[(g==null?void 0:g.valuePropName)||ob(l||"input")]:s,onChange:d,ref:h})}return Te.cloneElement(_,{[ob(l||"input")]:s,onChange:d,ref:h})},cR=n=>{const{placeholder:l,labelKey:a,onToggle:s,value:d,onClear:v,className:h,style:g}=n;return bt("div",{className:[Kh.fieldModal,h].filter(_=>_).join(" "),style:g,children:[de("div",{className:Kh.content,onClick:()=>s(!0),children:d?de("span",{children:d[a]}):de("span",{className:Kh.placeholder,children:l})}),de("span",{className:Kh.suffix,onClick:v,children:d&&de(hD,{})})]})};var Jy={exports:{}},sd={},Qh={exports:{}},ub={},Yc={exports:{}},eg={exports:{}},Jt={};var sb;function fR(){if(sb)return Jt;sb=1;var n=typeof Symbol=="function"&&Symbol.for,l=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,d=n?Symbol.for("react.strict_mode"):60108,v=n?Symbol.for("react.profiler"):60114,h=n?Symbol.for("react.provider"):60109,g=n?Symbol.for("react.context"):60110,_=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,x=n?Symbol.for("react.forward_ref"):60112,w=n?Symbol.for("react.suspense"):60113,C=n?Symbol.for("react.suspense_list"):60120,E=n?Symbol.for("react.memo"):60115,T=n?Symbol.for("react.lazy"):60116,k=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,M=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function A(N){if(typeof N=="object"&&N!==null){var H=N.$$typeof;switch(H){case l:switch(N=N.type,N){case _:case p:case s:case v:case d:case w:return N;default:switch(N=N&&N.$$typeof,N){case g:case x:case T:case E:case h:return N;default:return H}}case a:return H}}}function F(N){return A(N)===p}return Jt.AsyncMode=_,Jt.ConcurrentMode=p,Jt.ContextConsumer=g,Jt.ContextProvider=h,Jt.Element=l,Jt.ForwardRef=x,Jt.Fragment=s,Jt.Lazy=T,Jt.Memo=E,Jt.Portal=a,Jt.Profiler=v,Jt.StrictMode=d,Jt.Suspense=w,Jt.isAsyncMode=function(N){return F(N)||A(N)===_},Jt.isConcurrentMode=F,Jt.isContextConsumer=function(N){return A(N)===g},Jt.isContextProvider=function(N){return A(N)===h},Jt.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===l},Jt.isForwardRef=function(N){return A(N)===x},Jt.isFragment=function(N){return A(N)===s},Jt.isLazy=function(N){return A(N)===T},Jt.isMemo=function(N){return A(N)===E},Jt.isPortal=function(N){return A(N)===a},Jt.isProfiler=function(N){return A(N)===v},Jt.isStrictMode=function(N){return A(N)===d},Jt.isSuspense=function(N){return A(N)===w},Jt.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===s||N===p||N===v||N===d||N===w||N===C||typeof N=="object"&&N!==null&&(N.$$typeof===T||N.$$typeof===E||N.$$typeof===h||N.$$typeof===g||N.$$typeof===x||N.$$typeof===O||N.$$typeof===M||N.$$typeof===B||N.$$typeof===k)},Jt.typeOf=A,Jt}var en={};var cb;function dR(){return cb||(cb=1,process.env.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,l=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,d=n?Symbol.for("react.strict_mode"):60108,v=n?Symbol.for("react.profiler"):60114,h=n?Symbol.for("react.provider"):60109,g=n?Symbol.for("react.context"):60110,_=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,x=n?Symbol.for("react.forward_ref"):60112,w=n?Symbol.for("react.suspense"):60113,C=n?Symbol.for("react.suspense_list"):60120,E=n?Symbol.for("react.memo"):60115,T=n?Symbol.for("react.lazy"):60116,k=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,M=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function A(Fe){return typeof Fe=="string"||typeof Fe=="function"||Fe===s||Fe===p||Fe===v||Fe===d||Fe===w||Fe===C||typeof Fe=="object"&&Fe!==null&&(Fe.$$typeof===T||Fe.$$typeof===E||Fe.$$typeof===h||Fe.$$typeof===g||Fe.$$typeof===x||Fe.$$typeof===O||Fe.$$typeof===M||Fe.$$typeof===B||Fe.$$typeof===k)}function F(Fe){if(typeof Fe=="object"&&Fe!==null){var ft=Fe.$$typeof;switch(ft){case l:var wt=Fe.type;switch(wt){case _:case p:case s:case v:case d:case w:return wt;default:var ln=wt&&wt.$$typeof;switch(ln){case g:case x:case T:case E:case h:return ln;default:return ft}}case a:return ft}}}var N=_,H=p,L=g,Y=h,Q=l,P=x,I=s,$=T,W=E,ne=a,J=v,K=d,ce=w,V=!1;function ue(Fe){return V||(V=!0),Z(Fe)||F(Fe)===_}function Z(Fe){return F(Fe)===p}function G(Fe){return F(Fe)===g}function te(Fe){return F(Fe)===h}function se(Fe){return typeof Fe=="object"&&Fe!==null&&Fe.$$typeof===l}function re(Fe){return F(Fe)===x}function xe(Fe){return F(Fe)===s}function be(Fe){return F(Fe)===T}function Be(Fe){return F(Fe)===E}function Se(Fe){return F(Fe)===a}function Ie(Fe){return F(Fe)===v}function Ne(Fe){return F(Fe)===d}function ct(Fe){return F(Fe)===w}en.AsyncMode=N,en.ConcurrentMode=H,en.ContextConsumer=L,en.ContextProvider=Y,en.Element=Q,en.ForwardRef=P,en.Fragment=I,en.Lazy=$,en.Memo=W,en.Portal=ne,en.Profiler=J,en.StrictMode=K,en.Suspense=ce,en.isAsyncMode=ue,en.isConcurrentMode=Z,en.isContextConsumer=G,en.isContextProvider=te,en.isElement=se,en.isForwardRef=re,en.isFragment=xe,en.isLazy=be,en.isMemo=Be,en.isPortal=Se,en.isProfiler=Ie,en.isStrictMode=Ne,en.isSuspense=ct,en.isValidElementType=A,en.typeOf=F}()),en}var fb;function db(){return fb||(fb=1,function(n){process.env.NODE_ENV==="production"?n.exports=fR():n.exports=dR()}(eg)),eg.exports}var tg,pb;function pR(){if(pb)return tg;pb=1;var n=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function s(v){if(v==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(v)}function d(){try{if(!Object.assign)return!1;var v=new String("abc");if(v[5]="de",Object.getOwnPropertyNames(v)[0]==="5")return!1;for(var h={},g=0;g<10;g++)h["_"+String.fromCharCode(g)]=g;var _=Object.getOwnPropertyNames(h).map(function(x){return h[x]});if(_.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(x){p[x]=x}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return tg=d()?Object.assign:function(v,h){for(var g,_=s(v),p,x=1;x<arguments.length;x++){g=Object(arguments[x]);for(var w in g)l.call(g,w)&&(_[w]=g[w]);if(n){p=n(g);for(var C=0;C<p.length;C++)a.call(g,p[C])&&(_[p[C]]=g[p[C]])}}return _},tg}var ng,hb;function rg(){if(hb)return ng;hb=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ng=n,ng}var ag,vb;function mb(){return vb||(vb=1,ag=Function.call.bind(Object.prototype.hasOwnProperty)),ag}var ig,yb;function hR(){if(yb)return ig;yb=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var l=rg(),a={},s=mb();n=function(v){var h="Warning: "+v;try{throw new Error(h)}catch{}}}function d(v,h,g,_,p){if(process.env.NODE_ENV!=="production"){for(var x in v)if(s(v,x)){var w;try{if(typeof v[x]!="function"){var C=Error((_||"React class")+": "+g+" type `"+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[x]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}w=v[x](h,x,_,g,null,l)}catch(T){w=T}if(w&&!(w instanceof Error)&&n((_||"React class")+": type specification of "+g+" `"+x+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in a)){a[w.message]=!0;var E=p?p():"";n("Failed "+g+" type: "+w.message+(E??""))}}}}return d.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},ig=d,ig}var og,gb;function vR(){if(gb)return og;gb=1;var n=db(),l=pR(),a=rg(),s=mb(),d=hR(),v=function(){};process.env.NODE_ENV!=="production"&&(v=function(g){var _="Warning: "+g;try{throw new Error(_)}catch{}});function h(){return null}return og=function(g,_){var p=typeof Symbol=="function"&&Symbol.iterator,x="@@iterator";function w(Z){var G=Z&&(p&&Z[p]||Z[x]);if(typeof G=="function")return G}var C="<<anonymous>>",E={array:M("array"),bigint:M("bigint"),bool:M("boolean"),func:M("function"),number:M("number"),object:M("object"),string:M("string"),symbol:M("symbol"),any:B(),arrayOf:A,element:F(),elementType:N(),instanceOf:H,node:P(),objectOf:Y,oneOf:L,oneOfType:Q,shape:$,exact:W};function T(Z,G){return Z===G?Z!==0||1/Z===1/G:Z!==Z&&G!==G}function k(Z,G){this.message=Z,this.data=G&&typeof G=="object"?G:{},this.stack=""}k.prototype=Error.prototype;function O(Z){if(process.env.NODE_ENV!=="production")var G={},te=0;function se(xe,be,Be,Se,Ie,Ne,ct){if(Se=Se||C,Ne=Ne||Be,ct!==a){if(_){var Fe=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Fe.name="Invariant Violation",Fe}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ft=Se+":"+Be;!G[ft]&&te<3&&(v("You are manually calling a React.PropTypes validation function for the `"+Ne+"` prop on `"+Se+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),G[ft]=!0,te++)}}return be[Be]==null?xe?be[Be]===null?new k("The "+Ie+" `"+Ne+"` is marked as required "+("in `"+Se+"`, but its value is `null`.")):new k("The "+Ie+" `"+Ne+"` is marked as required in "+("`"+Se+"`, but its value is `undefined`.")):null:Z(be,Be,Se,Ie,Ne)}var re=se.bind(null,!1);return re.isRequired=se.bind(null,!0),re}function M(Z){function G(te,se,re,xe,be,Be){var Se=te[se],Ie=K(Se);if(Ie!==Z){var Ne=ce(Se);return new k("Invalid "+xe+" `"+be+"` of type "+("`"+Ne+"` supplied to `"+re+"`, expected ")+("`"+Z+"`."),{expectedType:Z})}return null}return O(G)}function B(){return O(h)}function A(Z){function G(te,se,re,xe,be){if(typeof Z!="function")return new k("Property `"+be+"` of component `"+re+"` has invalid PropType notation inside arrayOf.");var Be=te[se];if(!Array.isArray(Be)){var Se=K(Be);return new k("Invalid "+xe+" `"+be+"` of type "+("`"+Se+"` supplied to `"+re+"`, expected an array."))}for(var Ie=0;Ie<Be.length;Ie++){var Ne=Z(Be,Ie,re,xe,be+"["+Ie+"]",a);if(Ne instanceof Error)return Ne}return null}return O(G)}function F(){function Z(G,te,se,re,xe){var be=G[te];if(!g(be)){var Be=K(be);return new k("Invalid "+re+" `"+xe+"` of type "+("`"+Be+"` supplied to `"+se+"`, expected a single ReactElement."))}return null}return O(Z)}function N(){function Z(G,te,se,re,xe){var be=G[te];if(!n.isValidElementType(be)){var Be=K(be);return new k("Invalid "+re+" `"+xe+"` of type "+("`"+Be+"` supplied to `"+se+"`, expected a single ReactElement type."))}return null}return O(Z)}function H(Z){function G(te,se,re,xe,be){if(!(te[se]instanceof Z)){var Be=Z.name||C,Se=ue(te[se]);return new k("Invalid "+xe+" `"+be+"` of type "+("`"+Se+"` supplied to `"+re+"`, expected ")+("instance of `"+Be+"`."))}return null}return O(G)}function L(Z){if(!Array.isArray(Z))return process.env.NODE_ENV!=="production"&&(arguments.length>1?v("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):v("Invalid argument supplied to oneOf, expected an array.")),h;function G(te,se,re,xe,be){for(var Be=te[se],Se=0;Se<Z.length;Se++)if(T(Be,Z[Se]))return null;var Ie=JSON.stringify(Z,function(ct,Fe){var ft=ce(Fe);return ft==="symbol"?String(Fe):Fe});return new k("Invalid "+xe+" `"+be+"` of value `"+String(Be)+"` "+("supplied to `"+re+"`, expected one of "+Ie+"."))}return O(G)}function Y(Z){function G(te,se,re,xe,be){if(typeof Z!="function")return new k("Property `"+be+"` of component `"+re+"` has invalid PropType notation inside objectOf.");var Be=te[se],Se=K(Be);if(Se!=="object")return new k("Invalid "+xe+" `"+be+"` of type "+("`"+Se+"` supplied to `"+re+"`, expected an object."));for(var Ie in Be)if(s(Be,Ie)){var Ne=Z(Be,Ie,re,xe,be+"."+Ie,a);if(Ne instanceof Error)return Ne}return null}return O(G)}function Q(Z){if(!Array.isArray(Z))return process.env.NODE_ENV!=="production"&&v("Invalid argument supplied to oneOfType, expected an instance of array."),h;for(var G=0;G<Z.length;G++){var te=Z[G];if(typeof te!="function")return v("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(te)+" at index "+G+"."),h}function se(re,xe,be,Be,Se){for(var Ie=[],Ne=0;Ne<Z.length;Ne++){var ct=Z[Ne],Fe=ct(re,xe,be,Be,Se,a);if(Fe==null)return null;Fe.data&&s(Fe.data,"expectedType")&&Ie.push(Fe.data.expectedType)}var ft=Ie.length>0?", expected one of type ["+Ie.join(", ")+"]":"";return new k("Invalid "+Be+" `"+Se+"` supplied to "+("`"+be+"`"+ft+"."))}return O(se)}function P(){function Z(G,te,se,re,xe){return ne(G[te])?null:new k("Invalid "+re+" `"+xe+"` supplied to "+("`"+se+"`, expected a ReactNode."))}return O(Z)}function I(Z,G,te,se,re){return new k((Z||"React class")+": "+G+" type `"+te+"."+se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+re+"`.")}function $(Z){function G(te,se,re,xe,be){var Be=te[se],Se=K(Be);if(Se!=="object")return new k("Invalid "+xe+" `"+be+"` of type `"+Se+"` "+("supplied to `"+re+"`, expected `object`."));for(var Ie in Z){var Ne=Z[Ie];if(typeof Ne!="function")return I(re,xe,be,Ie,ce(Ne));var ct=Ne(Be,Ie,re,xe,be+"."+Ie,a);if(ct)return ct}return null}return O(G)}function W(Z){function G(te,se,re,xe,be){var Be=te[se],Se=K(Be);if(Se!=="object")return new k("Invalid "+xe+" `"+be+"` of type `"+Se+"` "+("supplied to `"+re+"`, expected `object`."));var Ie=l({},te[se],Z);for(var Ne in Ie){var ct=Z[Ne];if(s(Z,Ne)&&typeof ct!="function")return I(re,xe,be,Ne,ce(ct));if(!ct)return new k("Invalid "+xe+" `"+be+"` key `"+Ne+"` supplied to `"+re+"`.\nBad object: "+JSON.stringify(te[se],null," ")+`
193
+ root.render(<App />);`),t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(f=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var b=q3(e,Q1,null,o,u,f,y);V1(b.current,e);var R=e.nodeType===Vn?e.parentNode:e;return Np(R),new LC(b)}function ny(e){this._internalRoot=e}function DM(e){e&&g1(e)}ny.prototype.unstable_scheduleHydration=DM;function TM(e,t,o){if(!ry(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");h6(e),t===void 0&&h("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=o??null,f=o!=null&&o.hydratedSources||null,y=!1,b=!1,R="",z=p6;o!=null&&(o.unstable_strictMode===!0&&(y=!0),o.identifierPrefix!==void 0&&(R=o.identifierPrefix),o.onRecoverableError!==void 0&&(z=o.onRecoverableError));var j=G3(t,null,e,Q1,u,y,b,R,z);if(V1(j.current,e),Np(e),f)for(var q=0;q<f.length;q++){var le=f[q];MB(j,le)}return new ny(j)}function ry(e){return!!(e&&(e.nodeType===ta||e.nodeType===fi||e.nodeType===gl||!te))}function Rh(e){return!!(e&&(e.nodeType===ta||e.nodeType===fi||e.nodeType===gl||e.nodeType===Vn&&e.nodeValue===" react-mount-point-unstable "))}function h6(e){e.nodeType===ta&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&h("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Gp(e)&&(e._reactRootContainer?h("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):h("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var AM=a.ReactCurrentOwner,v6;v6=function(e){if(e._reactRootContainer&&e.nodeType!==Vn){var t=Z3(e._reactRootContainer.current);t&&t.parentNode!==e&&h("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var o=!!e._reactRootContainer,u=UC(e),f=!!(u&&Ku(u));f&&!o&&h("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===ta&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&h("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function UC(e){return e?e.nodeType===fi?e.documentElement:e.firstChild:null}function m6(){}function RM(e,t,o,u,f){if(f){if(typeof u=="function"){var y=u;u=function(){var ie=ty(b);y.call(ie)}}var b=G3(t,u,e,Xu,null,!1,!1,"",m6);e._reactRootContainer=b,V1(b.current,e);var R=e.nodeType===Vn?e.parentNode:e;return Np(R),tu(),b}else{for(var z;z=e.lastChild;)e.removeChild(z);if(typeof u=="function"){var j=u;u=function(){var ie=ty(q);j.call(ie)}}var q=q3(e,Xu,null,!1,!1,"",m6);e._reactRootContainer=q,V1(q.current,e);var le=e.nodeType===Vn?e.parentNode:e;return Np(le),tu(function(){Ah(t,q,o,u)}),q}}function kM(e,t){e!==null&&typeof e!="function"&&h("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function ay(e,t,o,u,f){v6(o),kM(f===void 0?null:f,"render");var y=o._reactRootContainer,b;if(!y)b=RM(o,t,e,f,u);else{if(b=y,typeof f=="function"){var R=f;f=function(){var z=ty(b);R.call(z)}}Ah(t,b,e,f)}return ty(b)}function OM(e){{var t=AM.current;if(t!==null&&t.stateNode!==null){var o=t.stateNode._warnedAboutRefsInRender;o||h("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",un(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===ta?e:vM(e,"findDOMNode")}function BM(e,t,o){if(h("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rh(t))throw new Error("Target container is not a DOM element.");{var u=Gp(t)&&t._reactRootContainer===void 0;u&&h("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return ay(null,e,t,!0,o)}function FM(e,t,o){if(h("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rh(t))throw new Error("Target container is not a DOM element.");{var u=Gp(t)&&t._reactRootContainer===void 0;u&&h("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return ay(null,e,t,!1,o)}function zM(e,t,o,u){if(h("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rh(o))throw new Error("Target container is not a DOM element.");if(e==null||!Gs(e))throw new Error("parentComponent must be a valid React Component");return ay(e,t,o,!1,u)}function MM(e){if(!Rh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Gp(e)&&e._reactRootContainer===void 0;t&&h("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var o=UC(e),u=o&&!Ku(o);u&&h("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return tu(function(){ay(null,null,e,!1,function(){e._reactRootContainer=null,dw(e)})}),!0}else{{var f=UC(e),y=!!(f&&Ku(f)),b=e.nodeType===ta&&Rh(e.parentNode)&&!!e.parentNode._reactRootContainer;y&&h("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",b?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}We(mM),d1(yM),uc(gM),gp(Wa),h1(ic),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&h("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),qv(UO),hf(vC,Tz,tu);function NM(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ry(t))throw new Error("Target container is not a DOM element.");return hM(e,t,null,o)}function LM(e,t,o,u){return zM(e,t,o,u)}var HC={usingClientEntryPoint:!1,Events:[Ku,m0,Y1,pf,Vs,vC]};function UM(e,t){return HC.usingClientEntryPoint||h('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),wM(e,t)}function HM(e,t,o){return HC.usingClientEntryPoint||h('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),TM(e,t,o)}function PM(e){return w3()&&h("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),tu(e)}var jM=bM({findFiberByHostInstance:gc,bundleType:1,version:BC,rendererPackageName:"react-dom"});if(!jM&&ft&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var IM=window.location.protocol;/^(https?|file):$/.test(IM)}za.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=HC,za.createPortal=NM,za.createRoot=UM,za.findDOMNode=OM,za.flushSync=PM,za.hydrate=BM,za.hydrateRoot=HM,za.render=FM,za.unmountComponentAtNode=MM,za.unstable_batchedUpdates=vC,za.unstable_renderSubtreeIntoContainer=LM,za.version=BC,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),za}(function(n){function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch{}}}process.env.NODE_ENV==="production"?(l(),n.exports=e5()):n.exports=t5()})(hy);var gy=(n=>(n.zip="application/zip",n.png="image/png",n.jpg="image/jpg",n.jpeg="image/jpeg",n.pdf="application/pdf",n.doc="application/msword",n.docx="application/vnd.openxmlformats-officedocument.wordprocessingml.document",n.pptx="application/vnd.openxmlformats-officedocument.presentationml.presentation",n.ppt="application/vnd.ms-powerpoint",n.xlsx="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",n.xls="application/vnd.ms-excel",n.txt="text/plain",n.csv="text/csv",n.svg="image/svg+xml",n))(gy||{});const xy=new Map(Object.entries(gy));var Nc=(n=>(n.zip=".zip",n.png=".png",n.jpg=".jpg",n.jpeg=".jpeg",n.pdf=".pdf",n.doc=".doc",n.docx=".docx",n.ppt=".ppt",n.pptx=".pptx",n.xls=".xls",n.xlsx=".xlsx",n.txt=".txt",n.csv=".csv",n.svg=".svg",n.rar=".rar",n))(Nc||{});const n5=Object.freeze(Object.defineProperty({__proto__:null,FileType:gy,FileTypeMap:xy,FileSuffix:Nc},Symbol.toStringTag,{value:"Module"})),r5=n=>{if(!au.isObject(n))return n;const l=n;return au.pick(l,au.keys(l).filter(a=>!au.isNil(l[a])))},zS=n=>new Promise((l,a)=>{const s=new FileReader;s.readAsDataURL(n),s.onload=()=>l(s.result),s.onerror=d=>a(d)}),Lh=n=>{var l;if(n)return"."+((l=n.split(".").at(-1))==null?void 0:l.toLowerCase())},a5=n=>{if(n){if(n.startsWith("http")){const l=n.split(".").at(-1);if(l&&xy.has(l))return xy.get(l)}if(n.startsWith("data:")&&n.includes("base64")){const l=n.indexOf(";base64"),a=n.slice(0,l).split(":");if(a[1])return a[1]}}},MS=(n,l)=>{const a=typeof l=="object"?JSON.stringify(l):l;localStorage.setItem(n,a)},_y=n=>{let a=localStorage.getItem(n);return typeof a=="string"&&(a=Cy(a)),a||null},i5=n=>{localStorage.removeItem(n)},o5=(n,l)=>{const a=typeof l=="object"?JSON.stringify(l):l;sessionStorage.setItem(n,a)},l5=n=>{let a=sessionStorage.getItem(n);return typeof a=="string"&&(a=Cy(a)),a||null},u5=n=>{sessionStorage.removeItem(n)},s5=(n,l)=>{const a=[];for(let s=0;s<l.length;s++)a.findIndex(d=>d[n]===l[s][n])<0&&a.push(l[s]);return a},Cy=n=>{if(!n)return null;if(typeof n=="object")return n;if(typeof n=="string"){let l=n;try{l=JSON.parse(n)}catch{}return l}};function c5(){var n=URL.createObjectURL(new Blob),l=n.toString();return URL.revokeObjectURL(n),l.substr(l.lastIndexOf("/")+1)}const f5=Object.freeze(Object.defineProperty({__proto__:null,filterObject:r5,getBase64:zS,getFileSuffix:Lh,getFileType:a5,setLocalStorage:MS,getLocalStorage:_y,removeLocalStorage:i5,setSessionStorage:o5,getSessionStorage:l5,removeSessionStorage:u5,arrayDeduplication:s5,JSONParse:Cy,uuid:c5,forceReload:()=>{const n="FORCERELOAD";sessionStorage.getItem(n)!=="1"&&(sessionStorage.setItem(n,"1"),window.location.reload())},formatResponse:n=>{if(typeof n=="string"){const l=n.indexOf(",");return JSON.parse(n.slice(l+1))}return n}},Symbol.toStringTag,{value:"Module"}));const d5=4,NS=0,LS=1,p5=2;function Lc(n){let l=n.length;for(;--l>=0;)n[l]=0}const h5=0,US=1,v5=2,m5=3,y5=258,Sy=29,Y0=256,q0=Y0+1+Sy,Uc=30,Ey=19,HS=2*q0+1,ps=15,by=16,g5=7,wy=256,PS=16,jS=17,IS=18,Dy=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Uh=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),x5=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),$S=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_5=512,fl=new Array((q0+2)*2);Lc(fl);const G0=new Array(Uc*2);Lc(G0);const W0=new Array(_5);Lc(W0);const Z0=new Array(y5-m5+1);Lc(Z0);const Ty=new Array(Sy);Lc(Ty);const Hh=new Array(Uc);Lc(Hh);function Ay(n,l,a,s,d){this.static_tree=n,this.extra_bits=l,this.extra_base=a,this.elems=s,this.max_length=d,this.has_stree=n&&n.length}let VS,YS,qS;function Ry(n,l){this.dyn_tree=n,this.max_code=0,this.stat_desc=l}const GS=n=>n<256?W0[n]:W0[256+(n>>>7)],K0=(n,l)=>{n.pending_buf[n.pending++]=l&255,n.pending_buf[n.pending++]=l>>>8&255},Ma=(n,l,a)=>{n.bi_valid>by-a?(n.bi_buf|=l<<n.bi_valid&65535,K0(n,n.bi_buf),n.bi_buf=l>>by-n.bi_valid,n.bi_valid+=a-by):(n.bi_buf|=l<<n.bi_valid&65535,n.bi_valid+=a)},xo=(n,l,a)=>{Ma(n,a[l*2],a[l*2+1])},WS=(n,l)=>{let a=0;do a|=n&1,n>>>=1,a<<=1;while(--l>0);return a>>>1},C5=n=>{n.bi_valid===16?(K0(n,n.bi_buf),n.bi_buf=0,n.bi_valid=0):n.bi_valid>=8&&(n.pending_buf[n.pending++]=n.bi_buf&255,n.bi_buf>>=8,n.bi_valid-=8)},S5=(n,l)=>{const a=l.dyn_tree,s=l.max_code,d=l.stat_desc.static_tree,v=l.stat_desc.has_stree,h=l.stat_desc.extra_bits,g=l.stat_desc.extra_base,_=l.stat_desc.max_length;let p,x,w,C,E,T,k=0;for(C=0;C<=ps;C++)n.bl_count[C]=0;for(a[n.heap[n.heap_max]*2+1]=0,p=n.heap_max+1;p<HS;p++)x=n.heap[p],C=a[a[x*2+1]*2+1]+1,C>_&&(C=_,k++),a[x*2+1]=C,!(x>s)&&(n.bl_count[C]++,E=0,x>=g&&(E=h[x-g]),T=a[x*2],n.opt_len+=T*(C+E),v&&(n.static_len+=T*(d[x*2+1]+E)));if(k!==0){do{for(C=_-1;n.bl_count[C]===0;)C--;n.bl_count[C]--,n.bl_count[C+1]+=2,n.bl_count[_]--,k-=2}while(k>0);for(C=_;C!==0;C--)for(x=n.bl_count[C];x!==0;)w=n.heap[--p],!(w>s)&&(a[w*2+1]!==C&&(n.opt_len+=(C-a[w*2+1])*a[w*2],a[w*2+1]=C),x--)}},ZS=(n,l,a)=>{const s=new Array(ps+1);let d=0,v,h;for(v=1;v<=ps;v++)d=d+a[v-1]<<1,s[v]=d;for(h=0;h<=l;h++){let g=n[h*2+1];g!==0&&(n[h*2]=WS(s[g]++,g))}},E5=()=>{let n,l,a,s,d;const v=new Array(ps+1);for(a=0,s=0;s<Sy-1;s++)for(Ty[s]=a,n=0;n<1<<Dy[s];n++)Z0[a++]=s;for(Z0[a-1]=s,d=0,s=0;s<16;s++)for(Hh[s]=d,n=0;n<1<<Uh[s];n++)W0[d++]=s;for(d>>=7;s<Uc;s++)for(Hh[s]=d<<7,n=0;n<1<<Uh[s]-7;n++)W0[256+d++]=s;for(l=0;l<=ps;l++)v[l]=0;for(n=0;n<=143;)fl[n*2+1]=8,n++,v[8]++;for(;n<=255;)fl[n*2+1]=9,n++,v[9]++;for(;n<=279;)fl[n*2+1]=7,n++,v[7]++;for(;n<=287;)fl[n*2+1]=8,n++,v[8]++;for(ZS(fl,q0+1,v),n=0;n<Uc;n++)G0[n*2+1]=5,G0[n*2]=WS(n,5);VS=new Ay(fl,Dy,Y0+1,q0,ps),YS=new Ay(G0,Uh,0,Uc,ps),qS=new Ay(new Array(0),x5,0,Ey,g5)},KS=n=>{let l;for(l=0;l<q0;l++)n.dyn_ltree[l*2]=0;for(l=0;l<Uc;l++)n.dyn_dtree[l*2]=0;for(l=0;l<Ey;l++)n.bl_tree[l*2]=0;n.dyn_ltree[wy*2]=1,n.opt_len=n.static_len=0,n.sym_next=n.matches=0},QS=n=>{n.bi_valid>8?K0(n,n.bi_buf):n.bi_valid>0&&(n.pending_buf[n.pending++]=n.bi_buf),n.bi_buf=0,n.bi_valid=0},XS=(n,l,a,s)=>{const d=l*2,v=a*2;return n[d]<n[v]||n[d]===n[v]&&s[l]<=s[a]},ky=(n,l,a)=>{const s=n.heap[a];let d=a<<1;for(;d<=n.heap_len&&(d<n.heap_len&&XS(l,n.heap[d+1],n.heap[d],n.depth)&&d++,!XS(l,s,n.heap[d],n.depth));)n.heap[a]=n.heap[d],a=d,d<<=1;n.heap[a]=s},JS=(n,l,a)=>{let s,d,v=0,h,g;if(n.sym_next!==0)do s=n.pending_buf[n.sym_buf+v++]&255,s+=(n.pending_buf[n.sym_buf+v++]&255)<<8,d=n.pending_buf[n.sym_buf+v++],s===0?xo(n,d,l):(h=Z0[d],xo(n,h+Y0+1,l),g=Dy[h],g!==0&&(d-=Ty[h],Ma(n,d,g)),s--,h=GS(s),xo(n,h,a),g=Uh[h],g!==0&&(s-=Hh[h],Ma(n,s,g)));while(v<n.sym_next);xo(n,wy,l)},Oy=(n,l)=>{const a=l.dyn_tree,s=l.stat_desc.static_tree,d=l.stat_desc.has_stree,v=l.stat_desc.elems;let h,g,_=-1,p;for(n.heap_len=0,n.heap_max=HS,h=0;h<v;h++)a[h*2]!==0?(n.heap[++n.heap_len]=_=h,n.depth[h]=0):a[h*2+1]=0;for(;n.heap_len<2;)p=n.heap[++n.heap_len]=_<2?++_:0,a[p*2]=1,n.depth[p]=0,n.opt_len--,d&&(n.static_len-=s[p*2+1]);for(l.max_code=_,h=n.heap_len>>1;h>=1;h--)ky(n,a,h);p=v;do h=n.heap[1],n.heap[1]=n.heap[n.heap_len--],ky(n,a,1),g=n.heap[1],n.heap[--n.heap_max]=h,n.heap[--n.heap_max]=g,a[p*2]=a[h*2]+a[g*2],n.depth[p]=(n.depth[h]>=n.depth[g]?n.depth[h]:n.depth[g])+1,a[h*2+1]=a[g*2+1]=p,n.heap[1]=p++,ky(n,a,1);while(n.heap_len>=2);n.heap[--n.heap_max]=n.heap[1],S5(n,l),ZS(a,_,n.bl_count)},eE=(n,l,a)=>{let s,d=-1,v,h=l[0*2+1],g=0,_=7,p=4;for(h===0&&(_=138,p=3),l[(a+1)*2+1]=65535,s=0;s<=a;s++)v=h,h=l[(s+1)*2+1],!(++g<_&&v===h)&&(g<p?n.bl_tree[v*2]+=g:v!==0?(v!==d&&n.bl_tree[v*2]++,n.bl_tree[PS*2]++):g<=10?n.bl_tree[jS*2]++:n.bl_tree[IS*2]++,g=0,d=v,h===0?(_=138,p=3):v===h?(_=6,p=3):(_=7,p=4))},tE=(n,l,a)=>{let s,d=-1,v,h=l[0*2+1],g=0,_=7,p=4;for(h===0&&(_=138,p=3),s=0;s<=a;s++)if(v=h,h=l[(s+1)*2+1],!(++g<_&&v===h)){if(g<p)do xo(n,v,n.bl_tree);while(--g!==0);else v!==0?(v!==d&&(xo(n,v,n.bl_tree),g--),xo(n,PS,n.bl_tree),Ma(n,g-3,2)):g<=10?(xo(n,jS,n.bl_tree),Ma(n,g-3,3)):(xo(n,IS,n.bl_tree),Ma(n,g-11,7));g=0,d=v,h===0?(_=138,p=3):v===h?(_=6,p=3):(_=7,p=4)}},b5=n=>{let l;for(eE(n,n.dyn_ltree,n.l_desc.max_code),eE(n,n.dyn_dtree,n.d_desc.max_code),Oy(n,n.bl_desc),l=Ey-1;l>=3&&n.bl_tree[$S[l]*2+1]===0;l--);return n.opt_len+=3*(l+1)+5+5+4,l},w5=(n,l,a,s)=>{let d;for(Ma(n,l-257,5),Ma(n,a-1,5),Ma(n,s-4,4),d=0;d<s;d++)Ma(n,n.bl_tree[$S[d]*2+1],3);tE(n,n.dyn_ltree,l-1),tE(n,n.dyn_dtree,a-1)},D5=n=>{let l=4093624447,a;for(a=0;a<=31;a++,l>>>=1)if(l&1&&n.dyn_ltree[a*2]!==0)return NS;if(n.dyn_ltree[9*2]!==0||n.dyn_ltree[10*2]!==0||n.dyn_ltree[13*2]!==0)return LS;for(a=32;a<Y0;a++)if(n.dyn_ltree[a*2]!==0)return LS;return NS};let nE=!1;const T5=n=>{nE||(E5(),nE=!0),n.l_desc=new Ry(n.dyn_ltree,VS),n.d_desc=new Ry(n.dyn_dtree,YS),n.bl_desc=new Ry(n.bl_tree,qS),n.bi_buf=0,n.bi_valid=0,KS(n)},rE=(n,l,a,s)=>{Ma(n,(h5<<1)+(s?1:0),3),QS(n),K0(n,a),K0(n,~a),a&&n.pending_buf.set(n.window.subarray(l,l+a),n.pending),n.pending+=a},A5=n=>{Ma(n,US<<1,3),xo(n,wy,fl),C5(n)},R5=(n,l,a,s)=>{let d,v,h=0;n.level>0?(n.strm.data_type===p5&&(n.strm.data_type=D5(n)),Oy(n,n.l_desc),Oy(n,n.d_desc),h=b5(n),d=n.opt_len+3+7>>>3,v=n.static_len+3+7>>>3,v<=d&&(d=v)):d=v=a+5,a+4<=d&&l!==-1?rE(n,l,a,s):n.strategy===d5||v===d?(Ma(n,(US<<1)+(s?1:0),3),JS(n,fl,G0)):(Ma(n,(v5<<1)+(s?1:0),3),w5(n,n.l_desc.max_code+1,n.d_desc.max_code+1,h+1),JS(n,n.dyn_ltree,n.dyn_dtree)),KS(n),s&&QS(n)},k5=(n,l,a)=>(n.pending_buf[n.sym_buf+n.sym_next++]=l,n.pending_buf[n.sym_buf+n.sym_next++]=l>>8,n.pending_buf[n.sym_buf+n.sym_next++]=a,l===0?n.dyn_ltree[a*2]++:(n.matches++,l--,n.dyn_ltree[(Z0[a]+Y0+1)*2]++,n.dyn_dtree[GS(l)*2]++),n.sym_next===n.sym_end);var O5=T5,B5=rE,F5=R5,z5=k5,M5=A5,N5={_tr_init:O5,_tr_stored_block:B5,_tr_flush_block:F5,_tr_tally:z5,_tr_align:M5},Q0=(n,l,a,s)=>{let d=n&65535|0,v=n>>>16&65535|0,h=0;for(;a!==0;){h=a>2e3?2e3:a,a-=h;do d=d+l[s++]|0,v=v+d|0;while(--h);d%=65521,v%=65521}return d|v<<16|0};const L5=()=>{let n,l=[];for(var a=0;a<256;a++){n=a;for(var s=0;s<8;s++)n=n&1?3988292384^n>>>1:n>>>1;l[a]=n}return l},U5=new Uint32Array(L5());var Rr=(n,l,a,s)=>{const d=U5,v=s+a;n^=-1;for(let h=s;h<v;h++)n=n>>>8^d[(n^l[h])&255];return n^-1},hs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},vs={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:H5,_tr_stored_block:By,_tr_flush_block:P5,_tr_tally:iu,_tr_align:j5}=N5,{Z_NO_FLUSH:ou,Z_PARTIAL_FLUSH:I5,Z_FULL_FLUSH:$5,Z_FINISH:_i,Z_BLOCK:aE,Z_OK:jr,Z_STREAM_END:iE,Z_STREAM_ERROR:_o,Z_DATA_ERROR:V5,Z_BUF_ERROR:Fy,Z_DEFAULT_COMPRESSION:Y5,Z_FILTERED:q5,Z_HUFFMAN_ONLY:Ph,Z_RLE:G5,Z_FIXED:W5,Z_DEFAULT_STRATEGY:Z5,Z_UNKNOWN:K5,Z_DEFLATED:jh}=vs,Q5=9,X5=15,J5=8,eT=29,zy=256+1+eT,tT=30,nT=19,rT=2*zy+1,aT=15,Nt=3,lu=258,Co=lu+Nt+1,iT=32,Hc=42,My=57,Ny=69,Ly=73,Uy=91,Hy=103,ms=113,X0=666,ya=1,Pc=2,ys=3,jc=4,oT=3,gs=(n,l)=>(n.msg=hs[l],l),oE=n=>n*2-(n>4?9:0),uu=n=>{let l=n.length;for(;--l>=0;)n[l]=0},lT=n=>{let l,a,s,d=n.w_size;l=n.hash_size,s=l;do a=n.head[--s],n.head[s]=a>=d?a-d:0;while(--l);l=d,s=l;do a=n.prev[--s],n.prev[s]=a>=d?a-d:0;while(--l)};let su=(n,l,a)=>(l<<n.hash_shift^a)&n.hash_mask;const ri=n=>{const l=n.state;let a=l.pending;a>n.avail_out&&(a=n.avail_out),a!==0&&(n.output.set(l.pending_buf.subarray(l.pending_out,l.pending_out+a),n.next_out),n.next_out+=a,l.pending_out+=a,n.total_out+=a,n.avail_out-=a,l.pending-=a,l.pending===0&&(l.pending_out=0))},ai=(n,l)=>{P5(n,n.block_start>=0?n.block_start:-1,n.strstart-n.block_start,l),n.block_start=n.strstart,ri(n.strm)},Gt=(n,l)=>{n.pending_buf[n.pending++]=l},J0=(n,l)=>{n.pending_buf[n.pending++]=l>>>8&255,n.pending_buf[n.pending++]=l&255},Py=(n,l,a,s)=>{let d=n.avail_in;return d>s&&(d=s),d===0?0:(n.avail_in-=d,l.set(n.input.subarray(n.next_in,n.next_in+d),a),n.state.wrap===1?n.adler=Q0(n.adler,l,d,a):n.state.wrap===2&&(n.adler=Rr(n.adler,l,d,a)),n.next_in+=d,n.total_in+=d,d)},lE=(n,l)=>{let a=n.max_chain_length,s=n.strstart,d,v,h=n.prev_length,g=n.nice_match;const _=n.strstart>n.w_size-Co?n.strstart-(n.w_size-Co):0,p=n.window,x=n.w_mask,w=n.prev,C=n.strstart+lu;let E=p[s+h-1],T=p[s+h];n.prev_length>=n.good_match&&(a>>=2),g>n.lookahead&&(g=n.lookahead);do if(d=l,!(p[d+h]!==T||p[d+h-1]!==E||p[d]!==p[s]||p[++d]!==p[s+1])){s+=2,d++;do;while(p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&p[++s]===p[++d]&&s<C);if(v=lu-(C-s),s=C-lu,v>h){if(n.match_start=l,h=v,v>=g)break;E=p[s+h-1],T=p[s+h]}}while((l=w[l&x])>_&&--a!==0);return h<=n.lookahead?h:n.lookahead},Ic=n=>{const l=n.w_size;let a,s,d;do{if(s=n.window_size-n.lookahead-n.strstart,n.strstart>=l+(l-Co)&&(n.window.set(n.window.subarray(l,l+l-s),0),n.match_start-=l,n.strstart-=l,n.block_start-=l,n.insert>n.strstart&&(n.insert=n.strstart),lT(n),s+=l),n.strm.avail_in===0)break;if(a=Py(n.strm,n.window,n.strstart+n.lookahead,s),n.lookahead+=a,n.lookahead+n.insert>=Nt)for(d=n.strstart-n.insert,n.ins_h=n.window[d],n.ins_h=su(n,n.ins_h,n.window[d+1]);n.insert&&(n.ins_h=su(n,n.ins_h,n.window[d+Nt-1]),n.prev[d&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=d,d++,n.insert--,!(n.lookahead+n.insert<Nt)););}while(n.lookahead<Co&&n.strm.avail_in!==0)},uE=(n,l)=>{let a=n.pending_buf_size-5>n.w_size?n.w_size:n.pending_buf_size-5,s,d,v,h=0,g=n.strm.avail_in;do{if(s=65535,v=n.bi_valid+42>>3,n.strm.avail_out<v||(v=n.strm.avail_out-v,d=n.strstart-n.block_start,s>d+n.strm.avail_in&&(s=d+n.strm.avail_in),s>v&&(s=v),s<a&&(s===0&&l!==_i||l===ou||s!==d+n.strm.avail_in)))break;h=l===_i&&s===d+n.strm.avail_in?1:0,By(n,0,0,h),n.pending_buf[n.pending-4]=s,n.pending_buf[n.pending-3]=s>>8,n.pending_buf[n.pending-2]=~s,n.pending_buf[n.pending-1]=~s>>8,ri(n.strm),d&&(d>s&&(d=s),n.strm.output.set(n.window.subarray(n.block_start,n.block_start+d),n.strm.next_out),n.strm.next_out+=d,n.strm.avail_out-=d,n.strm.total_out+=d,n.block_start+=d,s-=d),s&&(Py(n.strm,n.strm.output,n.strm.next_out,s),n.strm.next_out+=s,n.strm.avail_out-=s,n.strm.total_out+=s)}while(h===0);return g-=n.strm.avail_in,g&&(g>=n.w_size?(n.matches=2,n.window.set(n.strm.input.subarray(n.strm.next_in-n.w_size,n.strm.next_in),0),n.strstart=n.w_size,n.insert=n.strstart):(n.window_size-n.strstart<=g&&(n.strstart-=n.w_size,n.window.set(n.window.subarray(n.w_size,n.w_size+n.strstart),0),n.matches<2&&n.matches++,n.insert>n.strstart&&(n.insert=n.strstart)),n.window.set(n.strm.input.subarray(n.strm.next_in-g,n.strm.next_in),n.strstart),n.strstart+=g,n.insert+=g>n.w_size-n.insert?n.w_size-n.insert:g),n.block_start=n.strstart),n.high_water<n.strstart&&(n.high_water=n.strstart),h?jc:l!==ou&&l!==_i&&n.strm.avail_in===0&&n.strstart===n.block_start?Pc:(v=n.window_size-n.strstart,n.strm.avail_in>v&&n.block_start>=n.w_size&&(n.block_start-=n.w_size,n.strstart-=n.w_size,n.window.set(n.window.subarray(n.w_size,n.w_size+n.strstart),0),n.matches<2&&n.matches++,v+=n.w_size,n.insert>n.strstart&&(n.insert=n.strstart)),v>n.strm.avail_in&&(v=n.strm.avail_in),v&&(Py(n.strm,n.window,n.strstart,v),n.strstart+=v,n.insert+=v>n.w_size-n.insert?n.w_size-n.insert:v),n.high_water<n.strstart&&(n.high_water=n.strstart),v=n.bi_valid+42>>3,v=n.pending_buf_size-v>65535?65535:n.pending_buf_size-v,a=v>n.w_size?n.w_size:v,d=n.strstart-n.block_start,(d>=a||(d||l===_i)&&l!==ou&&n.strm.avail_in===0&&d<=v)&&(s=d>v?v:d,h=l===_i&&n.strm.avail_in===0&&s===d?1:0,By(n,n.block_start,s,h),n.block_start+=s,ri(n.strm)),h?ys:ya)},jy=(n,l)=>{let a,s;for(;;){if(n.lookahead<Co){if(Ic(n),n.lookahead<Co&&l===ou)return ya;if(n.lookahead===0)break}if(a=0,n.lookahead>=Nt&&(n.ins_h=su(n,n.ins_h,n.window[n.strstart+Nt-1]),a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),a!==0&&n.strstart-a<=n.w_size-Co&&(n.match_length=lE(n,a)),n.match_length>=Nt)if(s=iu(n,n.strstart-n.match_start,n.match_length-Nt),n.lookahead-=n.match_length,n.match_length<=n.max_lazy_match&&n.lookahead>=Nt){n.match_length--;do n.strstart++,n.ins_h=su(n,n.ins_h,n.window[n.strstart+Nt-1]),a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart;while(--n.match_length!==0);n.strstart++}else n.strstart+=n.match_length,n.match_length=0,n.ins_h=n.window[n.strstart],n.ins_h=su(n,n.ins_h,n.window[n.strstart+1]);else s=iu(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++;if(s&&(ai(n,!1),n.strm.avail_out===0))return ya}return n.insert=n.strstart<Nt-1?n.strstart:Nt-1,l===_i?(ai(n,!0),n.strm.avail_out===0?ys:jc):n.sym_next&&(ai(n,!1),n.strm.avail_out===0)?ya:Pc},$c=(n,l)=>{let a,s,d;for(;;){if(n.lookahead<Co){if(Ic(n),n.lookahead<Co&&l===ou)return ya;if(n.lookahead===0)break}if(a=0,n.lookahead>=Nt&&(n.ins_h=su(n,n.ins_h,n.window[n.strstart+Nt-1]),a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),n.prev_length=n.match_length,n.prev_match=n.match_start,n.match_length=Nt-1,a!==0&&n.prev_length<n.max_lazy_match&&n.strstart-a<=n.w_size-Co&&(n.match_length=lE(n,a),n.match_length<=5&&(n.strategy===q5||n.match_length===Nt&&n.strstart-n.match_start>4096)&&(n.match_length=Nt-1)),n.prev_length>=Nt&&n.match_length<=n.prev_length){d=n.strstart+n.lookahead-Nt,s=iu(n,n.strstart-1-n.prev_match,n.prev_length-Nt),n.lookahead-=n.prev_length-1,n.prev_length-=2;do++n.strstart<=d&&(n.ins_h=su(n,n.ins_h,n.window[n.strstart+Nt-1]),a=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart);while(--n.prev_length!==0);if(n.match_available=0,n.match_length=Nt-1,n.strstart++,s&&(ai(n,!1),n.strm.avail_out===0))return ya}else if(n.match_available){if(s=iu(n,0,n.window[n.strstart-1]),s&&ai(n,!1),n.strstart++,n.lookahead--,n.strm.avail_out===0)return ya}else n.match_available=1,n.strstart++,n.lookahead--}return n.match_available&&(s=iu(n,0,n.window[n.strstart-1]),n.match_available=0),n.insert=n.strstart<Nt-1?n.strstart:Nt-1,l===_i?(ai(n,!0),n.strm.avail_out===0?ys:jc):n.sym_next&&(ai(n,!1),n.strm.avail_out===0)?ya:Pc},uT=(n,l)=>{let a,s,d,v;const h=n.window;for(;;){if(n.lookahead<=lu){if(Ic(n),n.lookahead<=lu&&l===ou)return ya;if(n.lookahead===0)break}if(n.match_length=0,n.lookahead>=Nt&&n.strstart>0&&(d=n.strstart-1,s=h[d],s===h[++d]&&s===h[++d]&&s===h[++d])){v=n.strstart+lu;do;while(s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&s===h[++d]&&d<v);n.match_length=lu-(v-d),n.match_length>n.lookahead&&(n.match_length=n.lookahead)}if(n.match_length>=Nt?(a=iu(n,1,n.match_length-Nt),n.lookahead-=n.match_length,n.strstart+=n.match_length,n.match_length=0):(a=iu(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++),a&&(ai(n,!1),n.strm.avail_out===0))return ya}return n.insert=0,l===_i?(ai(n,!0),n.strm.avail_out===0?ys:jc):n.sym_next&&(ai(n,!1),n.strm.avail_out===0)?ya:Pc},sT=(n,l)=>{let a;for(;;){if(n.lookahead===0&&(Ic(n),n.lookahead===0)){if(l===ou)return ya;break}if(n.match_length=0,a=iu(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++,a&&(ai(n,!1),n.strm.avail_out===0))return ya}return n.insert=0,l===_i?(ai(n,!0),n.strm.avail_out===0?ys:jc):n.sym_next&&(ai(n,!1),n.strm.avail_out===0)?ya:Pc};function So(n,l,a,s,d){this.good_length=n,this.max_lazy=l,this.nice_length=a,this.max_chain=s,this.func=d}const ed=[new So(0,0,0,0,uE),new So(4,4,8,4,jy),new So(4,5,16,8,jy),new So(4,6,32,32,jy),new So(4,4,16,16,$c),new So(8,16,32,32,$c),new So(8,16,128,128,$c),new So(8,32,128,256,$c),new So(32,128,258,1024,$c),new So(32,258,258,4096,$c)],cT=n=>{n.window_size=2*n.w_size,uu(n.head),n.max_lazy_match=ed[n.level].max_lazy,n.good_match=ed[n.level].good_length,n.nice_match=ed[n.level].nice_length,n.max_chain_length=ed[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=Nt-1,n.match_available=0,n.ins_h=0};function fT(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=jh,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(rT*2),this.dyn_dtree=new Uint16Array((2*tT+1)*2),this.bl_tree=new Uint16Array((2*nT+1)*2),uu(this.dyn_ltree),uu(this.dyn_dtree),uu(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(aT+1),this.heap=new Uint16Array(2*zy+1),uu(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*zy+1),uu(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const td=n=>{if(!n)return 1;const l=n.state;return!l||l.strm!==n||l.status!==Hc&&l.status!==My&&l.status!==Ny&&l.status!==Ly&&l.status!==Uy&&l.status!==Hy&&l.status!==ms&&l.status!==X0?1:0},sE=n=>{if(td(n))return gs(n,_o);n.total_in=n.total_out=0,n.data_type=K5;const l=n.state;return l.pending=0,l.pending_out=0,l.wrap<0&&(l.wrap=-l.wrap),l.status=l.wrap===2?My:l.wrap?Hc:ms,n.adler=l.wrap===2?0:1,l.last_flush=-2,H5(l),jr},cE=n=>{const l=sE(n);return l===jr&&cT(n.state),l},dT=(n,l)=>td(n)||n.state.wrap!==2?_o:(n.state.gzhead=l,jr),fE=(n,l,a,s,d,v)=>{if(!n)return _o;let h=1;if(l===Y5&&(l=6),s<0?(h=0,s=-s):s>15&&(h=2,s-=16),d<1||d>Q5||a!==jh||s<8||s>15||l<0||l>9||v<0||v>W5||s===8&&h!==1)return gs(n,_o);s===8&&(s=9);const g=new fT;return n.state=g,g.strm=n,g.status=Hc,g.wrap=h,g.gzhead=null,g.w_bits=s,g.w_size=1<<g.w_bits,g.w_mask=g.w_size-1,g.hash_bits=d+7,g.hash_size=1<<g.hash_bits,g.hash_mask=g.hash_size-1,g.hash_shift=~~((g.hash_bits+Nt-1)/Nt),g.window=new Uint8Array(g.w_size*2),g.head=new Uint16Array(g.hash_size),g.prev=new Uint16Array(g.w_size),g.lit_bufsize=1<<d+6,g.pending_buf_size=g.lit_bufsize*4,g.pending_buf=new Uint8Array(g.pending_buf_size),g.sym_buf=g.lit_bufsize,g.sym_end=(g.lit_bufsize-1)*3,g.level=l,g.strategy=v,g.method=a,cE(n)},pT=(n,l)=>fE(n,l,jh,X5,J5,Z5),hT=(n,l)=>{if(td(n)||l>aE||l<0)return n?gs(n,_o):_o;const a=n.state;if(!n.output||n.avail_in!==0&&!n.input||a.status===X0&&l!==_i)return gs(n,n.avail_out===0?Fy:_o);const s=a.last_flush;if(a.last_flush=l,a.pending!==0){if(ri(n),n.avail_out===0)return a.last_flush=-1,jr}else if(n.avail_in===0&&oE(l)<=oE(s)&&l!==_i)return gs(n,Fy);if(a.status===X0&&n.avail_in!==0)return gs(n,Fy);if(a.status===Hc&&a.wrap===0&&(a.status=ms),a.status===Hc){let d=jh+(a.w_bits-8<<4)<<8,v=-1;if(a.strategy>=Ph||a.level<2?v=0:a.level<6?v=1:a.level===6?v=2:v=3,d|=v<<6,a.strstart!==0&&(d|=iT),d+=31-d%31,J0(a,d),a.strstart!==0&&(J0(a,n.adler>>>16),J0(a,n.adler&65535)),n.adler=1,a.status=ms,ri(n),a.pending!==0)return a.last_flush=-1,jr}if(a.status===My){if(n.adler=0,Gt(a,31),Gt(a,139),Gt(a,8),a.gzhead)Gt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),Gt(a,a.gzhead.time&255),Gt(a,a.gzhead.time>>8&255),Gt(a,a.gzhead.time>>16&255),Gt(a,a.gzhead.time>>24&255),Gt(a,a.level===9?2:a.strategy>=Ph||a.level<2?4:0),Gt(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(Gt(a,a.gzhead.extra.length&255),Gt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(n.adler=Rr(n.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=Ny;else if(Gt(a,0),Gt(a,0),Gt(a,0),Gt(a,0),Gt(a,0),Gt(a,a.level===9?2:a.strategy>=Ph||a.level<2?4:0),Gt(a,oT),a.status=ms,ri(n),a.pending!==0)return a.last_flush=-1,jr}if(a.status===Ny){if(a.gzhead.extra){let d=a.pending,v=(a.gzhead.extra.length&65535)-a.gzindex;for(;a.pending+v>a.pending_buf_size;){let g=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+g),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),a.gzindex+=g,ri(n),a.pending!==0)return a.last_flush=-1,jr;d=0,v-=g}let h=new Uint8Array(a.gzhead.extra);a.pending_buf.set(h.subarray(a.gzindex,a.gzindex+v),a.pending),a.pending+=v,a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),a.gzindex=0}a.status=Ly}if(a.status===Ly){if(a.gzhead.name){let d=a.pending,v;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),ri(n),a.pending!==0)return a.last_flush=-1,jr;d=0}a.gzindex<a.gzhead.name.length?v=a.gzhead.name.charCodeAt(a.gzindex++)&255:v=0,Gt(a,v)}while(v!==0);a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),a.gzindex=0}a.status=Uy}if(a.status===Uy){if(a.gzhead.comment){let d=a.pending,v;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d)),ri(n),a.pending!==0)return a.last_flush=-1,jr;d=0}a.gzindex<a.gzhead.comment.length?v=a.gzhead.comment.charCodeAt(a.gzindex++)&255:v=0,Gt(a,v)}while(v!==0);a.gzhead.hcrc&&a.pending>d&&(n.adler=Rr(n.adler,a.pending_buf,a.pending-d,d))}a.status=Hy}if(a.status===Hy){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ri(n),a.pending!==0))return a.last_flush=-1,jr;Gt(a,n.adler&255),Gt(a,n.adler>>8&255),n.adler=0}if(a.status=ms,ri(n),a.pending!==0)return a.last_flush=-1,jr}if(n.avail_in!==0||a.lookahead!==0||l!==ou&&a.status!==X0){let d=a.level===0?uE(a,l):a.strategy===Ph?sT(a,l):a.strategy===G5?uT(a,l):ed[a.level].func(a,l);if((d===ys||d===jc)&&(a.status=X0),d===ya||d===ys)return n.avail_out===0&&(a.last_flush=-1),jr;if(d===Pc&&(l===I5?j5(a):l!==aE&&(By(a,0,0,!1),l===$5&&(uu(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),ri(n),n.avail_out===0))return a.last_flush=-1,jr}return l!==_i?jr:a.wrap<=0?iE:(a.wrap===2?(Gt(a,n.adler&255),Gt(a,n.adler>>8&255),Gt(a,n.adler>>16&255),Gt(a,n.adler>>24&255),Gt(a,n.total_in&255),Gt(a,n.total_in>>8&255),Gt(a,n.total_in>>16&255),Gt(a,n.total_in>>24&255)):(J0(a,n.adler>>>16),J0(a,n.adler&65535)),ri(n),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?jr:iE)},vT=n=>{if(td(n))return _o;const l=n.state.status;return n.state=null,l===ms?gs(n,V5):jr},mT=(n,l)=>{let a=l.length;if(td(n))return _o;const s=n.state,d=s.wrap;if(d===2||d===1&&s.status!==Hc||s.lookahead)return _o;if(d===1&&(n.adler=Q0(n.adler,l,a,0)),s.wrap=0,a>=s.w_size){d===0&&(uu(s.head),s.strstart=0,s.block_start=0,s.insert=0);let _=new Uint8Array(s.w_size);_.set(l.subarray(a-s.w_size,a),0),l=_,a=s.w_size}const v=n.avail_in,h=n.next_in,g=n.input;for(n.avail_in=a,n.next_in=0,n.input=l,Ic(s);s.lookahead>=Nt;){let _=s.strstart,p=s.lookahead-(Nt-1);do s.ins_h=su(s,s.ins_h,s.window[_+Nt-1]),s.prev[_&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=_,_++;while(--p);s.strstart=_,s.lookahead=Nt-1,Ic(s)}return s.strstart+=s.lookahead,s.block_start=s.strstart,s.insert=s.lookahead,s.lookahead=0,s.match_length=s.prev_length=Nt-1,s.match_available=0,n.next_in=h,n.input=g,n.avail_in=v,s.wrap=d,jr};var yT=pT,gT=fE,xT=cE,_T=sE,CT=dT,ST=hT,ET=vT,bT=mT,wT="pako deflate (from Nodeca project)",nd={deflateInit:yT,deflateInit2:gT,deflateReset:xT,deflateResetKeep:_T,deflateSetHeader:CT,deflate:ST,deflateEnd:ET,deflateSetDictionary:bT,deflateInfo:wT};const DT=(n,l)=>Object.prototype.hasOwnProperty.call(n,l);var TT=function(n){const l=Array.prototype.slice.call(arguments,1);for(;l.length;){const a=l.shift();if(a){if(typeof a!="object")throw new TypeError(a+"must be non-object");for(const s in a)DT(a,s)&&(n[s]=a[s])}}return n},AT=n=>{let l=0;for(let s=0,d=n.length;s<d;s++)l+=n[s].length;const a=new Uint8Array(l);for(let s=0,d=0,v=n.length;s<v;s++){let h=n[s];a.set(h,d),d+=h.length}return a},Ih={assign:TT,flattenChunks:AT};let dE=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{dE=!1}const rd=new Uint8Array(256);for(let n=0;n<256;n++)rd[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;rd[254]=rd[254]=1;var RT=n=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(n);let l,a,s,d,v,h=n.length,g=0;for(d=0;d<h;d++)a=n.charCodeAt(d),(a&64512)===55296&&d+1<h&&(s=n.charCodeAt(d+1),(s&64512)===56320&&(a=65536+(a-55296<<10)+(s-56320),d++)),g+=a<128?1:a<2048?2:a<65536?3:4;for(l=new Uint8Array(g),v=0,d=0;v<g;d++)a=n.charCodeAt(d),(a&64512)===55296&&d+1<h&&(s=n.charCodeAt(d+1),(s&64512)===56320&&(a=65536+(a-55296<<10)+(s-56320),d++)),a<128?l[v++]=a:a<2048?(l[v++]=192|a>>>6,l[v++]=128|a&63):a<65536?(l[v++]=224|a>>>12,l[v++]=128|a>>>6&63,l[v++]=128|a&63):(l[v++]=240|a>>>18,l[v++]=128|a>>>12&63,l[v++]=128|a>>>6&63,l[v++]=128|a&63);return l};const kT=(n,l)=>{if(l<65534&&n.subarray&&dE)return String.fromCharCode.apply(null,n.length===l?n:n.subarray(0,l));let a="";for(let s=0;s<l;s++)a+=String.fromCharCode(n[s]);return a};var OT=(n,l)=>{const a=l||n.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(n.subarray(0,l));let s,d;const v=new Array(a*2);for(d=0,s=0;s<a;){let h=n[s++];if(h<128){v[d++]=h;continue}let g=rd[h];if(g>4){v[d++]=65533,s+=g-1;continue}for(h&=g===2?31:g===3?15:7;g>1&&s<a;)h=h<<6|n[s++]&63,g--;if(g>1){v[d++]=65533;continue}h<65536?v[d++]=h:(h-=65536,v[d++]=55296|h>>10&1023,v[d++]=56320|h&1023)}return kT(v,d)},BT=(n,l)=>{l=l||n.length,l>n.length&&(l=n.length);let a=l-1;for(;a>=0&&(n[a]&192)===128;)a--;return a<0||a===0?l:a+rd[n[a]]>l?a:l},ad={string2buf:RT,buf2string:OT,utf8border:BT};function FT(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var pE=FT;const hE=Object.prototype.toString,{Z_NO_FLUSH:zT,Z_SYNC_FLUSH:MT,Z_FULL_FLUSH:NT,Z_FINISH:LT,Z_OK:$h,Z_STREAM_END:UT,Z_DEFAULT_COMPRESSION:HT,Z_DEFAULT_STRATEGY:PT,Z_DEFLATED:jT}=vs;function id(n){this.options=Ih.assign({level:HT,method:jT,chunkSize:16384,windowBits:15,memLevel:8,strategy:PT},n||{});let l=this.options;l.raw&&l.windowBits>0?l.windowBits=-l.windowBits:l.gzip&&l.windowBits>0&&l.windowBits<16&&(l.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new pE,this.strm.avail_out=0;let a=nd.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(a!==$h)throw new Error(hs[a]);if(l.header&&nd.deflateSetHeader(this.strm,l.header),l.dictionary){let s;if(typeof l.dictionary=="string"?s=ad.string2buf(l.dictionary):hE.call(l.dictionary)==="[object ArrayBuffer]"?s=new Uint8Array(l.dictionary):s=l.dictionary,a=nd.deflateSetDictionary(this.strm,s),a!==$h)throw new Error(hs[a]);this._dict_set=!0}}id.prototype.push=function(n,l){const a=this.strm,s=this.options.chunkSize;let d,v;if(this.ended)return!1;for(l===~~l?v=l:v=l===!0?LT:zT,typeof n=="string"?a.input=ad.string2buf(n):hE.call(n)==="[object ArrayBuffer]"?a.input=new Uint8Array(n):a.input=n,a.next_in=0,a.avail_in=a.input.length;;){if(a.avail_out===0&&(a.output=new Uint8Array(s),a.next_out=0,a.avail_out=s),(v===MT||v===NT)&&a.avail_out<=6){this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;continue}if(d=nd.deflate(a,v),d===UT)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),d=nd.deflateEnd(this.strm),this.onEnd(d),this.ended=!0,d===$h;if(a.avail_out===0){this.onData(a.output);continue}if(v>0&&a.next_out>0){this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;continue}if(a.avail_in===0)break}return!0},id.prototype.onData=function(n){this.chunks.push(n)},id.prototype.onEnd=function(n){n===$h&&(this.result=Ih.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function Iy(n,l){const a=new id(l);if(a.push(n,!0),a.err)throw a.msg||hs[a.err];return a.result}function IT(n,l){return l=l||{},l.raw=!0,Iy(n,l)}function $T(n,l){return l=l||{},l.gzip=!0,Iy(n,l)}var VT=id,YT=Iy,qT=IT,GT=$T,WT=vs,ZT={Deflate:VT,deflate:YT,deflateRaw:qT,gzip:GT,constants:WT};const Vh=16209,KT=16191;var QT=function(l,a){let s,d,v,h,g,_,p,x,w,C,E,T,k,O,M,B,A,F,N,H,L,Y,Q,P;const I=l.state;s=l.next_in,Q=l.input,d=s+(l.avail_in-5),v=l.next_out,P=l.output,h=v-(a-l.avail_out),g=v+(l.avail_out-257),_=I.dmax,p=I.wsize,x=I.whave,w=I.wnext,C=I.window,E=I.hold,T=I.bits,k=I.lencode,O=I.distcode,M=(1<<I.lenbits)-1,B=(1<<I.distbits)-1;e:do{T<15&&(E+=Q[s++]<<T,T+=8,E+=Q[s++]<<T,T+=8),A=k[E&M];t:for(;;){if(F=A>>>24,E>>>=F,T-=F,F=A>>>16&255,F===0)P[v++]=A&65535;else if(F&16){N=A&65535,F&=15,F&&(T<F&&(E+=Q[s++]<<T,T+=8),N+=E&(1<<F)-1,E>>>=F,T-=F),T<15&&(E+=Q[s++]<<T,T+=8,E+=Q[s++]<<T,T+=8),A=O[E&B];n:for(;;){if(F=A>>>24,E>>>=F,T-=F,F=A>>>16&255,F&16){if(H=A&65535,F&=15,T<F&&(E+=Q[s++]<<T,T+=8,T<F&&(E+=Q[s++]<<T,T+=8)),H+=E&(1<<F)-1,H>_){l.msg="invalid distance too far back",I.mode=Vh;break e}if(E>>>=F,T-=F,F=v-h,H>F){if(F=H-F,F>x&&I.sane){l.msg="invalid distance too far back",I.mode=Vh;break e}if(L=0,Y=C,w===0){if(L+=p-F,F<N){N-=F;do P[v++]=C[L++];while(--F);L=v-H,Y=P}}else if(w<F){if(L+=p+w-F,F-=w,F<N){N-=F;do P[v++]=C[L++];while(--F);if(L=0,w<N){F=w,N-=F;do P[v++]=C[L++];while(--F);L=v-H,Y=P}}}else if(L+=w-F,F<N){N-=F;do P[v++]=C[L++];while(--F);L=v-H,Y=P}for(;N>2;)P[v++]=Y[L++],P[v++]=Y[L++],P[v++]=Y[L++],N-=3;N&&(P[v++]=Y[L++],N>1&&(P[v++]=Y[L++]))}else{L=v-H;do P[v++]=P[L++],P[v++]=P[L++],P[v++]=P[L++],N-=3;while(N>2);N&&(P[v++]=P[L++],N>1&&(P[v++]=P[L++]))}}else if(F&64){l.msg="invalid distance code",I.mode=Vh;break e}else{A=O[(A&65535)+(E&(1<<F)-1)];continue n}break}}else if(F&64)if(F&32){I.mode=KT;break e}else{l.msg="invalid literal/length code",I.mode=Vh;break e}else{A=k[(A&65535)+(E&(1<<F)-1)];continue t}break}}while(s<d&&v<g);N=T>>3,s-=N,T-=N<<3,E&=(1<<T)-1,l.next_in=s,l.next_out=v,l.avail_in=s<d?5+(d-s):5-(s-d),l.avail_out=v<g?257+(g-v):257-(v-g),I.hold=E,I.bits=T};const Vc=15,vE=852,mE=592,yE=0,$y=1,gE=2,XT=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),JT=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),eA=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),tA=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var od=(n,l,a,s,d,v,h,g)=>{const _=g.bits;let p=0,x=0,w=0,C=0,E=0,T=0,k=0,O=0,M=0,B=0,A,F,N,H,L,Y=null,Q;const P=new Uint16Array(Vc+1),I=new Uint16Array(Vc+1);let $=null,W,ne,J;for(p=0;p<=Vc;p++)P[p]=0;for(x=0;x<s;x++)P[l[a+x]]++;for(E=_,C=Vc;C>=1&&P[C]===0;C--);if(E>C&&(E=C),C===0)return d[v++]=1<<24|64<<16|0,d[v++]=1<<24|64<<16|0,g.bits=1,0;for(w=1;w<C&&P[w]===0;w++);for(E<w&&(E=w),O=1,p=1;p<=Vc;p++)if(O<<=1,O-=P[p],O<0)return-1;if(O>0&&(n===yE||C!==1))return-1;for(I[1]=0,p=1;p<Vc;p++)I[p+1]=I[p]+P[p];for(x=0;x<s;x++)l[a+x]!==0&&(h[I[l[a+x]]++]=x);if(n===yE?(Y=$=h,Q=20):n===$y?(Y=XT,$=JT,Q=257):(Y=eA,$=tA,Q=0),B=0,x=0,p=w,L=v,T=E,k=0,N=-1,M=1<<E,H=M-1,n===$y&&M>vE||n===gE&&M>mE)return 1;for(;;){W=p-k,h[x]+1<Q?(ne=0,J=h[x]):h[x]>=Q?(ne=$[h[x]-Q],J=Y[h[x]-Q]):(ne=32+64,J=0),A=1<<p-k,F=1<<T,w=F;do F-=A,d[L+(B>>k)+F]=W<<24|ne<<16|J|0;while(F!==0);for(A=1<<p-1;B&A;)A>>=1;if(A!==0?(B&=A-1,B+=A):B=0,x++,--P[p]===0){if(p===C)break;p=l[a+h[x]]}if(p>E&&(B&H)!==N){for(k===0&&(k=E),L+=w,T=p-k,O=1<<T;T+k<C&&(O-=P[T+k],!(O<=0));)T++,O<<=1;if(M+=1<<T,n===$y&&M>vE||n===gE&&M>mE)return 1;N=B&H,d[N]=E<<24|T<<16|L-v|0}}return B!==0&&(d[L+B]=p-k<<24|64<<16|0),g.bits=E,0};const nA=0,xE=1,_E=2,{Z_FINISH:CE,Z_BLOCK:rA,Z_TREES:Yh,Z_OK:xs,Z_STREAM_END:aA,Z_NEED_DICT:iA,Z_STREAM_ERROR:Ci,Z_DATA_ERROR:SE,Z_MEM_ERROR:EE,Z_BUF_ERROR:oA,Z_DEFLATED:bE}=vs,qh=16180,wE=16181,DE=16182,TE=16183,AE=16184,RE=16185,kE=16186,OE=16187,BE=16188,FE=16189,Gh=16190,dl=16191,Vy=16192,zE=16193,Yy=16194,ME=16195,NE=16196,LE=16197,UE=16198,Wh=16199,Zh=16200,HE=16201,PE=16202,jE=16203,IE=16204,$E=16205,qy=16206,VE=16207,YE=16208,On=16209,qE=16210,GE=16211,lA=852,uA=592,sA=15,WE=n=>(n>>>24&255)+(n>>>8&65280)+((n&65280)<<8)+((n&255)<<24);function cA(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const _s=n=>{if(!n)return 1;const l=n.state;return!l||l.strm!==n||l.mode<qh||l.mode>GE?1:0},ZE=n=>{if(_s(n))return Ci;const l=n.state;return n.total_in=n.total_out=l.total=0,n.msg="",l.wrap&&(n.adler=l.wrap&1),l.mode=qh,l.last=0,l.havedict=0,l.flags=-1,l.dmax=32768,l.head=null,l.hold=0,l.bits=0,l.lencode=l.lendyn=new Int32Array(lA),l.distcode=l.distdyn=new Int32Array(uA),l.sane=1,l.back=-1,xs},KE=n=>{if(_s(n))return Ci;const l=n.state;return l.wsize=0,l.whave=0,l.wnext=0,ZE(n)},QE=(n,l)=>{let a;if(_s(n))return Ci;const s=n.state;return l<0?(a=0,l=-l):(a=(l>>4)+5,l<48&&(l&=15)),l&&(l<8||l>15)?Ci:(s.window!==null&&s.wbits!==l&&(s.window=null),s.wrap=a,s.wbits=l,KE(n))},XE=(n,l)=>{if(!n)return Ci;const a=new cA;n.state=a,a.strm=n,a.window=null,a.mode=qh;const s=QE(n,l);return s!==xs&&(n.state=null),s},fA=n=>XE(n,sA);let JE=!0,Gy,Wy;const dA=n=>{if(JE){Gy=new Int32Array(512),Wy=new Int32Array(32);let l=0;for(;l<144;)n.lens[l++]=8;for(;l<256;)n.lens[l++]=9;for(;l<280;)n.lens[l++]=7;for(;l<288;)n.lens[l++]=8;for(od(xE,n.lens,0,288,Gy,0,n.work,{bits:9}),l=0;l<32;)n.lens[l++]=5;od(_E,n.lens,0,32,Wy,0,n.work,{bits:5}),JE=!1}n.lencode=Gy,n.lenbits=9,n.distcode=Wy,n.distbits=5},eb=(n,l,a,s)=>{let d;const v=n.state;return v.window===null&&(v.wsize=1<<v.wbits,v.wnext=0,v.whave=0,v.window=new Uint8Array(v.wsize)),s>=v.wsize?(v.window.set(l.subarray(a-v.wsize,a),0),v.wnext=0,v.whave=v.wsize):(d=v.wsize-v.wnext,d>s&&(d=s),v.window.set(l.subarray(a-s,a-s+d),v.wnext),s-=d,s?(v.window.set(l.subarray(a-s,a),0),v.wnext=s,v.whave=v.wsize):(v.wnext+=d,v.wnext===v.wsize&&(v.wnext=0),v.whave<v.wsize&&(v.whave+=d))),0},pA=(n,l)=>{let a,s,d,v,h,g,_,p,x,w,C,E,T,k,O=0,M,B,A,F,N,H,L,Y;const Q=new Uint8Array(4);let P,I;const $=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(_s(n)||!n.output||!n.input&&n.avail_in!==0)return Ci;a=n.state,a.mode===dl&&(a.mode=Vy),h=n.next_out,d=n.output,_=n.avail_out,v=n.next_in,s=n.input,g=n.avail_in,p=a.hold,x=a.bits,w=g,C=_,Y=xs;e:for(;;)switch(a.mode){case qh:if(a.wrap===0){a.mode=Vy;break}for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.wrap&2&&p===35615){a.wbits===0&&(a.wbits=15),a.check=0,Q[0]=p&255,Q[1]=p>>>8&255,a.check=Rr(a.check,Q,2,0),p=0,x=0,a.mode=wE;break}if(a.head&&(a.head.done=!1),!(a.wrap&1)||(((p&255)<<8)+(p>>8))%31){n.msg="incorrect header check",a.mode=On;break}if((p&15)!==bE){n.msg="unknown compression method",a.mode=On;break}if(p>>>=4,x-=4,L=(p&15)+8,a.wbits===0&&(a.wbits=L),L>15||L>a.wbits){n.msg="invalid window size",a.mode=On;break}a.dmax=1<<a.wbits,a.flags=0,n.adler=a.check=1,a.mode=p&512?FE:dl,p=0,x=0;break;case wE:for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.flags=p,(a.flags&255)!==bE){n.msg="unknown compression method",a.mode=On;break}if(a.flags&57344){n.msg="unknown header flags set",a.mode=On;break}a.head&&(a.head.text=p>>8&1),a.flags&512&&a.wrap&4&&(Q[0]=p&255,Q[1]=p>>>8&255,a.check=Rr(a.check,Q,2,0)),p=0,x=0,a.mode=DE;case DE:for(;x<32;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.head&&(a.head.time=p),a.flags&512&&a.wrap&4&&(Q[0]=p&255,Q[1]=p>>>8&255,Q[2]=p>>>16&255,Q[3]=p>>>24&255,a.check=Rr(a.check,Q,4,0)),p=0,x=0,a.mode=TE;case TE:for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.head&&(a.head.xflags=p&255,a.head.os=p>>8),a.flags&512&&a.wrap&4&&(Q[0]=p&255,Q[1]=p>>>8&255,a.check=Rr(a.check,Q,2,0)),p=0,x=0,a.mode=AE;case AE:if(a.flags&1024){for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.length=p,a.head&&(a.head.extra_len=p),a.flags&512&&a.wrap&4&&(Q[0]=p&255,Q[1]=p>>>8&255,a.check=Rr(a.check,Q,2,0)),p=0,x=0}else a.head&&(a.head.extra=null);a.mode=RE;case RE:if(a.flags&1024&&(E=a.length,E>g&&(E=g),E&&(a.head&&(L=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(s.subarray(v,v+E),L)),a.flags&512&&a.wrap&4&&(a.check=Rr(a.check,s,E,v)),g-=E,v+=E,a.length-=E),a.length))break e;a.length=0,a.mode=kE;case kE:if(a.flags&2048){if(g===0)break e;E=0;do L=s[v+E++],a.head&&L&&a.length<65536&&(a.head.name+=String.fromCharCode(L));while(L&&E<g);if(a.flags&512&&a.wrap&4&&(a.check=Rr(a.check,s,E,v)),g-=E,v+=E,L)break e}else a.head&&(a.head.name=null);a.length=0,a.mode=OE;case OE:if(a.flags&4096){if(g===0)break e;E=0;do L=s[v+E++],a.head&&L&&a.length<65536&&(a.head.comment+=String.fromCharCode(L));while(L&&E<g);if(a.flags&512&&a.wrap&4&&(a.check=Rr(a.check,s,E,v)),g-=E,v+=E,L)break e}else a.head&&(a.head.comment=null);a.mode=BE;case BE:if(a.flags&512){for(;x<16;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.wrap&4&&p!==(a.check&65535)){n.msg="header crc mismatch",a.mode=On;break}p=0,x=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),n.adler=a.check=0,a.mode=dl;break;case FE:for(;x<32;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}n.adler=a.check=WE(p),p=0,x=0,a.mode=Gh;case Gh:if(a.havedict===0)return n.next_out=h,n.avail_out=_,n.next_in=v,n.avail_in=g,a.hold=p,a.bits=x,iA;n.adler=a.check=1,a.mode=dl;case dl:if(l===rA||l===Yh)break e;case Vy:if(a.last){p>>>=x&7,x-=x&7,a.mode=qy;break}for(;x<3;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}switch(a.last=p&1,p>>>=1,x-=1,p&3){case 0:a.mode=zE;break;case 1:if(dA(a),a.mode=Wh,l===Yh){p>>>=2,x-=2;break e}break;case 2:a.mode=NE;break;case 3:n.msg="invalid block type",a.mode=On}p>>>=2,x-=2;break;case zE:for(p>>>=x&7,x-=x&7;x<32;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if((p&65535)!==(p>>>16^65535)){n.msg="invalid stored block lengths",a.mode=On;break}if(a.length=p&65535,p=0,x=0,a.mode=Yy,l===Yh)break e;case Yy:a.mode=ME;case ME:if(E=a.length,E){if(E>g&&(E=g),E>_&&(E=_),E===0)break e;d.set(s.subarray(v,v+E),h),g-=E,v+=E,_-=E,h+=E,a.length-=E;break}a.mode=dl;break;case NE:for(;x<14;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.nlen=(p&31)+257,p>>>=5,x-=5,a.ndist=(p&31)+1,p>>>=5,x-=5,a.ncode=(p&15)+4,p>>>=4,x-=4,a.nlen>286||a.ndist>30){n.msg="too many length or distance symbols",a.mode=On;break}a.have=0,a.mode=LE;case LE:for(;a.have<a.ncode;){for(;x<3;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.lens[$[a.have++]]=p&7,p>>>=3,x-=3}for(;a.have<19;)a.lens[$[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,P={bits:a.lenbits},Y=od(nA,a.lens,0,19,a.lencode,0,a.work,P),a.lenbits=P.bits,Y){n.msg="invalid code lengths set",a.mode=On;break}a.have=0,a.mode=UE;case UE:for(;a.have<a.nlen+a.ndist;){for(;O=a.lencode[p&(1<<a.lenbits)-1],M=O>>>24,B=O>>>16&255,A=O&65535,!(M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(A<16)p>>>=M,x-=M,a.lens[a.have++]=A;else{if(A===16){for(I=M+2;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(p>>>=M,x-=M,a.have===0){n.msg="invalid bit length repeat",a.mode=On;break}L=a.lens[a.have-1],E=3+(p&3),p>>>=2,x-=2}else if(A===17){for(I=M+3;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}p>>>=M,x-=M,L=0,E=3+(p&7),p>>>=3,x-=3}else{for(I=M+7;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}p>>>=M,x-=M,L=0,E=11+(p&127),p>>>=7,x-=7}if(a.have+E>a.nlen+a.ndist){n.msg="invalid bit length repeat",a.mode=On;break}for(;E--;)a.lens[a.have++]=L}}if(a.mode===On)break;if(a.lens[256]===0){n.msg="invalid code -- missing end-of-block",a.mode=On;break}if(a.lenbits=9,P={bits:a.lenbits},Y=od(xE,a.lens,0,a.nlen,a.lencode,0,a.work,P),a.lenbits=P.bits,Y){n.msg="invalid literal/lengths set",a.mode=On;break}if(a.distbits=6,a.distcode=a.distdyn,P={bits:a.distbits},Y=od(_E,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,P),a.distbits=P.bits,Y){n.msg="invalid distances set",a.mode=On;break}if(a.mode=Wh,l===Yh)break e;case Wh:a.mode=Zh;case Zh:if(g>=6&&_>=258){n.next_out=h,n.avail_out=_,n.next_in=v,n.avail_in=g,a.hold=p,a.bits=x,QT(n,C),h=n.next_out,d=n.output,_=n.avail_out,v=n.next_in,s=n.input,g=n.avail_in,p=a.hold,x=a.bits,a.mode===dl&&(a.back=-1);break}for(a.back=0;O=a.lencode[p&(1<<a.lenbits)-1],M=O>>>24,B=O>>>16&255,A=O&65535,!(M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(B&&!(B&240)){for(F=M,N=B,H=A;O=a.lencode[H+((p&(1<<F+N)-1)>>F)],M=O>>>24,B=O>>>16&255,A=O&65535,!(F+M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}p>>>=F,x-=F,a.back+=F}if(p>>>=M,x-=M,a.back+=M,a.length=A,B===0){a.mode=$E;break}if(B&32){a.back=-1,a.mode=dl;break}if(B&64){n.msg="invalid literal/length code",a.mode=On;break}a.extra=B&15,a.mode=HE;case HE:if(a.extra){for(I=a.extra;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.length+=p&(1<<a.extra)-1,p>>>=a.extra,x-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=PE;case PE:for(;O=a.distcode[p&(1<<a.distbits)-1],M=O>>>24,B=O>>>16&255,A=O&65535,!(M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(!(B&240)){for(F=M,N=B,H=A;O=a.distcode[H+((p&(1<<F+N)-1)>>F)],M=O>>>24,B=O>>>16&255,A=O&65535,!(F+M<=x);){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}p>>>=F,x-=F,a.back+=F}if(p>>>=M,x-=M,a.back+=M,B&64){n.msg="invalid distance code",a.mode=On;break}a.offset=A,a.extra=B&15,a.mode=jE;case jE:if(a.extra){for(I=a.extra;x<I;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}a.offset+=p&(1<<a.extra)-1,p>>>=a.extra,x-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){n.msg="invalid distance too far back",a.mode=On;break}a.mode=IE;case IE:if(_===0)break e;if(E=C-_,a.offset>E){if(E=a.offset-E,E>a.whave&&a.sane){n.msg="invalid distance too far back",a.mode=On;break}E>a.wnext?(E-=a.wnext,T=a.wsize-E):T=a.wnext-E,E>a.length&&(E=a.length),k=a.window}else k=d,T=h-a.offset,E=a.length;E>_&&(E=_),_-=E,a.length-=E;do d[h++]=k[T++];while(--E);a.length===0&&(a.mode=Zh);break;case $E:if(_===0)break e;d[h++]=a.length,_--,a.mode=Zh;break;case qy:if(a.wrap){for(;x<32;){if(g===0)break e;g--,p|=s[v++]<<x,x+=8}if(C-=_,n.total_out+=C,a.total+=C,a.wrap&4&&C&&(n.adler=a.check=a.flags?Rr(a.check,d,C,h-C):Q0(a.check,d,C,h-C)),C=_,a.wrap&4&&(a.flags?p:WE(p))!==a.check){n.msg="incorrect data check",a.mode=On;break}p=0,x=0}a.mode=VE;case VE:if(a.wrap&&a.flags){for(;x<32;){if(g===0)break e;g--,p+=s[v++]<<x,x+=8}if(a.wrap&4&&p!==(a.total&4294967295)){n.msg="incorrect length check",a.mode=On;break}p=0,x=0}a.mode=YE;case YE:Y=aA;break e;case On:Y=SE;break e;case qE:return EE;case GE:default:return Ci}return n.next_out=h,n.avail_out=_,n.next_in=v,n.avail_in=g,a.hold=p,a.bits=x,(a.wsize||C!==n.avail_out&&a.mode<On&&(a.mode<qy||l!==CE))&&eb(n,n.output,n.next_out,C-n.avail_out),w-=n.avail_in,C-=n.avail_out,n.total_in+=w,n.total_out+=C,a.total+=C,a.wrap&4&&C&&(n.adler=a.check=a.flags?Rr(a.check,d,C,n.next_out-C):Q0(a.check,d,C,n.next_out-C)),n.data_type=a.bits+(a.last?64:0)+(a.mode===dl?128:0)+(a.mode===Wh||a.mode===Yy?256:0),(w===0&&C===0||l===CE)&&Y===xs&&(Y=oA),Y},hA=n=>{if(_s(n))return Ci;let l=n.state;return l.window&&(l.window=null),n.state=null,xs},vA=(n,l)=>{if(_s(n))return Ci;const a=n.state;return a.wrap&2?(a.head=l,l.done=!1,xs):Ci},mA=(n,l)=>{const a=l.length;let s,d,v;return _s(n)||(s=n.state,s.wrap!==0&&s.mode!==Gh)?Ci:s.mode===Gh&&(d=1,d=Q0(d,l,a,0),d!==s.check)?SE:(v=eb(n,l,a,a),v?(s.mode=qE,EE):(s.havedict=1,xs))};var yA=KE,gA=QE,xA=ZE,_A=fA,CA=XE,SA=pA,EA=hA,bA=vA,wA=mA,DA="pako inflate (from Nodeca project)",pl={inflateReset:yA,inflateReset2:gA,inflateResetKeep:xA,inflateInit:_A,inflateInit2:CA,inflate:SA,inflateEnd:EA,inflateGetHeader:bA,inflateSetDictionary:wA,inflateInfo:DA};function TA(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var AA=TA;const tb=Object.prototype.toString,{Z_NO_FLUSH:RA,Z_FINISH:kA,Z_OK:ld,Z_STREAM_END:Zy,Z_NEED_DICT:Ky,Z_STREAM_ERROR:OA,Z_DATA_ERROR:nb,Z_MEM_ERROR:BA}=vs;function ud(n){this.options=Ih.assign({chunkSize:1024*64,windowBits:15,to:""},n||{});const l=this.options;l.raw&&l.windowBits>=0&&l.windowBits<16&&(l.windowBits=-l.windowBits,l.windowBits===0&&(l.windowBits=-15)),l.windowBits>=0&&l.windowBits<16&&!(n&&n.windowBits)&&(l.windowBits+=32),l.windowBits>15&&l.windowBits<48&&(l.windowBits&15||(l.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new pE,this.strm.avail_out=0;let a=pl.inflateInit2(this.strm,l.windowBits);if(a!==ld)throw new Error(hs[a]);if(this.header=new AA,pl.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=ad.string2buf(l.dictionary):tb.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(a=pl.inflateSetDictionary(this.strm,l.dictionary),a!==ld)))throw new Error(hs[a])}ud.prototype.push=function(n,l){const a=this.strm,s=this.options.chunkSize,d=this.options.dictionary;let v,h,g;if(this.ended)return!1;for(l===~~l?h=l:h=l===!0?kA:RA,tb.call(n)==="[object ArrayBuffer]"?a.input=new Uint8Array(n):a.input=n,a.next_in=0,a.avail_in=a.input.length;;){for(a.avail_out===0&&(a.output=new Uint8Array(s),a.next_out=0,a.avail_out=s),v=pl.inflate(a,h),v===Ky&&d&&(v=pl.inflateSetDictionary(a,d),v===ld?v=pl.inflate(a,h):v===nb&&(v=Ky));a.avail_in>0&&v===Zy&&a.state.wrap>0&&n[a.next_in]!==0;)pl.inflateReset(a),v=pl.inflate(a,h);switch(v){case OA:case nb:case Ky:case BA:return this.onEnd(v),this.ended=!0,!1}if(g=a.avail_out,a.next_out&&(a.avail_out===0||v===Zy))if(this.options.to==="string"){let _=ad.utf8border(a.output,a.next_out),p=a.next_out-_,x=ad.buf2string(a.output,_);a.next_out=p,a.avail_out=s-p,p&&a.output.set(a.output.subarray(_,_+p),0),this.onData(x)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(!(v===ld&&g===0)){if(v===Zy)return v=pl.inflateEnd(this.strm),this.onEnd(v),this.ended=!0,!0;if(a.avail_in===0)break}}return!0},ud.prototype.onData=function(n){this.chunks.push(n)},ud.prototype.onEnd=function(n){n===ld&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ih.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function Qy(n,l){const a=new ud(l);if(a.push(n),a.err)throw a.msg||hs[a.err];return a.result}function FA(n,l){return l=l||{},l.raw=!0,Qy(n,l)}var zA=ud,MA=Qy,NA=FA,LA=Qy,UA=vs,HA={Inflate:zA,inflate:MA,inflateRaw:NA,ungzip:LA,constants:UA};const{Deflate:PA,deflate:jA,deflateRaw:IA,gzip:$A}=ZT,{Inflate:VA,inflate:YA,inflateRaw:qA,ungzip:GA}=HA;var WA=PA,ZA=jA,KA=IA,QA=$A,XA=VA,JA=YA,eR=qA,tR=GA,nR=vs,rR={Deflate:WA,deflate:ZA,deflateRaw:KA,gzip:QA,Inflate:XA,inflate:JA,inflateRaw:eR,ungzip:tR,constants:nR},Ae={};Ae.toRGBA8=function(n){var l=n.width,a=n.height;if(n.tabs.acTL==null)return[Ae.toRGBA8.decodeImage(n.data,l,a,n).buffer];var s=[];n.frames[0].data==null&&(n.frames[0].data=n.data);for(var d=l*a*4,v=new Uint8Array(d),h=new Uint8Array(d),g=new Uint8Array(d),_=0;_<n.frames.length;_++){var p=n.frames[_],x=p.rect.x,w=p.rect.y,C=p.rect.width,E=p.rect.height,T=Ae.toRGBA8.decodeImage(p.data,C,E,n);if(_!=0)for(var k=0;k<d;k++)g[k]=v[k];if(p.blend==0?Ae._copyTile(T,C,E,v,l,a,x,w,0):p.blend==1&&Ae._copyTile(T,C,E,v,l,a,x,w,1),s.push(v.buffer.slice(0)),p.dispose!=0){if(p.dispose==1)Ae._copyTile(h,C,E,v,l,a,x,w,0);else if(p.dispose==2)for(var k=0;k<d;k++)v[k]=g[k]}}return s},Ae.toRGBA8.decodeImage=function(n,l,a,s){var d=l*a,v=Ae.decode._getBPP(s),h=Math.ceil(l*v/8),g=new Uint8Array(d*4),_=new Uint32Array(g.buffer),p=s.ctype,x=s.depth,w=Ae._bin.readUshort;if(p==6){var C=d<<2;if(x==8)for(var E=0;E<C;E+=4)g[E]=n[E],g[E+1]=n[E+1],g[E+2]=n[E+2],g[E+3]=n[E+3];if(x==16)for(var E=0;E<C;E++)g[E]=n[E<<1]}else if(p==2){var T=s.tabs.tRNS;if(T==null){if(x==8)for(var E=0;E<d;E++){var k=E*3;_[E]=255<<24|n[k+2]<<16|n[k+1]<<8|n[k]}if(x==16)for(var E=0;E<d;E++){var k=E*6;_[E]=255<<24|n[k+4]<<16|n[k+2]<<8|n[k]}}else{var O=T[0],M=T[1],B=T[2];if(x==8)for(var E=0;E<d;E++){var A=E<<2,k=E*3;_[E]=255<<24|n[k+2]<<16|n[k+1]<<8|n[k],n[k]==O&&n[k+1]==M&&n[k+2]==B&&(g[A+3]=0)}if(x==16)for(var E=0;E<d;E++){var A=E<<2,k=E*6;_[E]=255<<24|n[k+4]<<16|n[k+2]<<8|n[k],w(n,k)==O&&w(n,k+2)==M&&w(n,k+4)==B&&(g[A+3]=0)}}}else if(p==3){var F=s.tabs.PLTE,N=s.tabs.tRNS,H=N?N.length:0;if(x==1)for(var L=0;L<a;L++)for(var Y=L*h,Q=L*l,E=0;E<l;E++){var A=Q+E<<2,P=n[Y+(E>>3)]>>7-((E&7)<<0)&1,I=3*P;g[A]=F[I],g[A+1]=F[I+1],g[A+2]=F[I+2],g[A+3]=P<H?N[P]:255}if(x==2)for(var L=0;L<a;L++)for(var Y=L*h,Q=L*l,E=0;E<l;E++){var A=Q+E<<2,P=n[Y+(E>>2)]>>6-((E&3)<<1)&3,I=3*P;g[A]=F[I],g[A+1]=F[I+1],g[A+2]=F[I+2],g[A+3]=P<H?N[P]:255}if(x==4)for(var L=0;L<a;L++)for(var Y=L*h,Q=L*l,E=0;E<l;E++){var A=Q+E<<2,P=n[Y+(E>>1)]>>4-((E&1)<<2)&15,I=3*P;g[A]=F[I],g[A+1]=F[I+1],g[A+2]=F[I+2],g[A+3]=P<H?N[P]:255}if(x==8)for(var E=0;E<d;E++){var A=E<<2,P=n[E],I=3*P;g[A]=F[I],g[A+1]=F[I+1],g[A+2]=F[I+2],g[A+3]=P<H?N[P]:255}}else if(p==4){if(x==8)for(var E=0;E<d;E++){var A=E<<2,$=E<<1,W=n[$];g[A]=W,g[A+1]=W,g[A+2]=W,g[A+3]=n[$+1]}if(x==16)for(var E=0;E<d;E++){var A=E<<2,$=E<<2,W=n[$];g[A]=W,g[A+1]=W,g[A+2]=W,g[A+3]=n[$+2]}}else if(p==0)for(var O=s.tabs.tRNS?s.tabs.tRNS:-1,L=0;L<a;L++){var ne=L*h,J=L*l;if(x==1)for(var K=0;K<l;K++){var W=255*(n[ne+(K>>>3)]>>>7-(K&7)&1),ce=W==O*255?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}else if(x==2)for(var K=0;K<l;K++){var W=85*(n[ne+(K>>>2)]>>>6-((K&3)<<1)&3),ce=W==O*85?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}else if(x==4)for(var K=0;K<l;K++){var W=17*(n[ne+(K>>>1)]>>>4-((K&1)<<2)&15),ce=W==O*17?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}else if(x==8)for(var K=0;K<l;K++){var W=n[ne+K],ce=W==O?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}else if(x==16)for(var K=0;K<l;K++){var W=n[ne+(K<<1)],ce=w(n,ne+(K<<E))==O?0:255;_[J+K]=ce<<24|W<<16|W<<8|W}}return g},Ae.decode=function(n){for(var l=new Uint8Array(n),a=8,s=Ae._bin,d=s.readUshort,v=s.readUint,h={tabs:{},frames:[]},g=new Uint8Array(l.length),_=0,p,x=0,w=[137,80,78,71,13,10,26,10],C=0;C<8;C++)if(l[C]!=w[C])throw"The input is not a PNG file!";for(;a<l.length;){var E=s.readUint(l,a);a+=4;var T=s.readASCII(l,a,4);if(a+=4,T=="IHDR")Ae.decode._IHDR(l,a,h);else if(T=="CgBI")h.tabs[T]=l.slice(a,a+4);else if(T=="IDAT"){for(var C=0;C<E;C++)g[_+C]=l[a+C];_+=E}else if(T=="acTL")h.tabs[T]={num_frames:v(l,a),num_plays:v(l,a+4)},p=new Uint8Array(l.length);else if(T=="fcTL"){if(x!=0){var k=h.frames[h.frames.length-1];k.data=Ae.decode._decompress(h,p.slice(0,x),k.rect.width,k.rect.height),x=0}var O={x:v(l,a+12),y:v(l,a+16),width:v(l,a+4),height:v(l,a+8)},M=d(l,a+22);M=d(l,a+20)/(M==0?100:M);var B={rect:O,delay:Math.round(M*1e3),dispose:l[a+24],blend:l[a+25]};h.frames.push(B)}else if(T=="fdAT"){for(var C=0;C<E-4;C++)p[x+C]=l[a+C+4];x+=E-4}else if(T=="pHYs")h.tabs[T]=[s.readUint(l,a),s.readUint(l,a+4),l[a+8]];else if(T=="cHRM"){h.tabs[T]=[];for(var C=0;C<8;C++)h.tabs[T].push(s.readUint(l,a+C*4))}else if(T=="tEXt"||T=="zTXt"){h.tabs[T]==null&&(h.tabs[T]={});var A=s.nextZero(l,a),F=s.readASCII(l,a,A-a),N,H=a+E-A-1;if(T=="tEXt")N=s.readASCII(l,A+1,H);else{var L=Ae.decode._inflate(l.slice(A+2,A+2+H));N=s.readUTF8(L,0,L.length)}h.tabs[T][F]=N}else if(T=="iTXt"){h.tabs[T]==null&&(h.tabs[T]={});var A=0,Y=a;A=s.nextZero(l,Y);var F=s.readASCII(l,Y,A-Y);Y=A+1;var Q=l[Y];l[Y+1],Y+=2,A=s.nextZero(l,Y),s.readASCII(l,Y,A-Y),Y=A+1,A=s.nextZero(l,Y),s.readUTF8(l,Y,A-Y),Y=A+1;var N,H=E-(Y-a);if(Q==0)N=s.readUTF8(l,Y,H);else{var L=Ae.decode._inflate(l.slice(Y,Y+H));N=s.readUTF8(L,0,L.length)}h.tabs[T][F]=N}else if(T=="PLTE")h.tabs[T]=s.readBytes(l,a,E);else if(T=="hIST"){var P=h.tabs.PLTE.length/3;h.tabs[T]=[];for(var C=0;C<P;C++)h.tabs[T].push(d(l,a+C*2))}else if(T=="tRNS")h.ctype==3?h.tabs[T]=s.readBytes(l,a,E):h.ctype==0?h.tabs[T]=d(l,a):h.ctype==2&&(h.tabs[T]=[d(l,a),d(l,a+2),d(l,a+4)]);else if(T=="gAMA")h.tabs[T]=s.readUint(l,a)/1e5;else if(T=="sRGB")h.tabs[T]=l[a];else if(T=="bKGD")h.ctype==0||h.ctype==4?h.tabs[T]=[d(l,a)]:h.ctype==2||h.ctype==6?h.tabs[T]=[d(l,a),d(l,a+2),d(l,a+4)]:h.ctype==3&&(h.tabs[T]=l[a]);else if(T=="IEND")break;a+=E,s.readUint(l,a),a+=4}if(x!=0){var k=h.frames[h.frames.length-1];k.data=Ae.decode._decompress(h,p.slice(0,x),k.rect.width,k.rect.height),x=0}return h.data=Ae.decode._decompress(h,g,h.width,h.height),delete h.compress,delete h.interlace,delete h.filter,h},Ae.decode._decompress=function(n,l,a,s){var d=Ae.decode._getBPP(n),v=Math.ceil(a*d/8),h=new Uint8Array((v+1+n.interlace)*s);return n.tabs.CgBI?l=Ae.inflateRaw(l,h):l=Ae.decode._inflate(l,h),n.interlace==0?l=Ae.decode._filterZero(l,n,0,a,s):n.interlace==1&&(l=Ae.decode._readInterlace(l,n)),l},Ae.decode._inflate=function(n,l){var a=Ae.inflateRaw(new Uint8Array(n.buffer,2,n.length-6),l);return a},Ae.inflateRaw=function(){var n={};return n.H={},n.H.N=function(l,a){var s=Uint8Array,d=0,v=0,h=0,g=0,_=0,p=0,x=0,w=0,C=0,E,T;if(l[0]==3&&l[1]==0)return a||new s(0);var k=n.H,O=k.b,M=k.e,B=k.R,A=k.n,F=k.A,N=k.Z,H=k.m,L=a==null;for(L&&(a=new s(l.length>>>2<<3));d==0;){if(d=O(l,C,1),v=O(l,C+1,2),C+=3,v==0){C&7&&(C+=8-(C&7));var Y=(C>>>3)+4,Q=l[Y-4]|l[Y-3]<<8;L&&(a=n.H.W(a,w+Q)),a.set(new s(l.buffer,l.byteOffset+Y,Q),w),C=Y+Q<<3,w+=Q;continue}if(L&&(a=n.H.W(a,w+(1<<17))),v==1&&(E=H.J,T=H.h,p=(1<<9)-1,x=(1<<5)-1),v==2){h=M(l,C,5)+257,g=M(l,C+5,5)+1,_=M(l,C+10,4)+4,C+=14;for(var P=1,I=0;I<38;I+=2)H.Q[I]=0,H.Q[I+1]=0;for(var I=0;I<_;I++){var $=M(l,C+I*3,3);H.Q[(H.X[I]<<1)+1]=$,$>P&&(P=$)}C+=3*_,A(H.Q,P),F(H.Q,P,H.u),E=H.w,T=H.d,C=B(H.u,(1<<P)-1,h+g,l,C,H.v);var W=k.V(H.v,0,h,H.C);p=(1<<W)-1;var ne=k.V(H.v,h,g,H.D);x=(1<<ne)-1,A(H.C,W),F(H.C,W,E),A(H.D,ne),F(H.D,ne,T)}for(;;){var J=E[N(l,C)&p];C+=J&15;var K=J>>>4;if(!(K>>>8))a[w++]=K;else{if(K==256)break;var ce=w+K-254;if(K>264){var V=H.q[K-257];ce=w+(V>>>3)+M(l,C,V&7),C+=V&7}var ue=T[N(l,C)&x];C+=ue&15;var Z=ue>>>4,G=H.c[Z],te=(G>>>4)+O(l,C,G&15);for(C+=G&15;w<ce;)a[w]=a[w++-te],a[w]=a[w++-te],a[w]=a[w++-te],a[w]=a[w++-te];w=ce}}}return a.length==w?a:a.slice(0,w)},n.H.W=function(l,a){var s=l.length;if(a<=s)return l;var d=new Uint8Array(s<<1);return d.set(l,0),d},n.H.R=function(l,a,s,d,v,h){for(var g=n.H.e,_=n.H.Z,p=0;p<s;){var x=l[_(d,v)&a];v+=x&15;var w=x>>>4;if(w<=15)h[p]=w,p++;else{var C=0,E=0;w==16?(E=3+g(d,v,2),v+=2,C=h[p-1]):w==17?(E=3+g(d,v,3),v+=3):w==18&&(E=11+g(d,v,7),v+=7);for(var T=p+E;p<T;)h[p]=C,p++}}return v},n.H.V=function(l,a,s,d){for(var v=0,h=0,g=d.length>>>1;h<s;){var _=l[h+a];d[h<<1]=0,d[(h<<1)+1]=_,_>v&&(v=_),h++}for(;h<g;)d[h<<1]=0,d[(h<<1)+1]=0,h++;return v},n.H.n=function(l,a){for(var s=n.H.m,d=l.length,v,h,g,_,p,x=s.j,_=0;_<=a;_++)x[_]=0;for(_=1;_<d;_+=2)x[l[_]]++;var w=s.K;for(v=0,x[0]=0,h=1;h<=a;h++)v=v+x[h-1]<<1,w[h]=v;for(g=0;g<d;g+=2)p=l[g+1],p!=0&&(l[g]=w[p],w[p]++)},n.H.A=function(l,a,s){for(var d=l.length,v=n.H.m,h=v.r,g=0;g<d;g+=2)if(l[g+1]!=0)for(var _=g>>1,p=l[g+1],x=_<<4|p,w=a-p,C=l[g]<<w,E=C+(1<<w);C!=E;){var T=h[C]>>>15-a;s[T]=x,C++}},n.H.l=function(l,a){for(var s=n.H.m.r,d=15-a,v=0;v<l.length;v+=2){var h=l[v]<<a-l[v+1];l[v]=s[h]>>>d}},n.H.M=function(l,a,s){s=s<<(a&7);var d=a>>>3;l[d]|=s,l[d+1]|=s>>>8},n.H.I=function(l,a,s){s=s<<(a&7);var d=a>>>3;l[d]|=s,l[d+1]|=s>>>8,l[d+2]|=s>>>16},n.H.e=function(l,a,s){return(l[a>>>3]|l[(a>>>3)+1]<<8)>>>(a&7)&(1<<s)-1},n.H.b=function(l,a,s){return(l[a>>>3]|l[(a>>>3)+1]<<8|l[(a>>>3)+2]<<16)>>>(a&7)&(1<<s)-1},n.H.Z=function(l,a){return(l[a>>>3]|l[(a>>>3)+1]<<8|l[(a>>>3)+2]<<16)>>>(a&7)},n.H.i=function(l,a){return(l[a>>>3]|l[(a>>>3)+1]<<8|l[(a>>>3)+2]<<16|l[(a>>>3)+3]<<24)>>>(a&7)},n.H.m=function(){var l=Uint16Array,a=Uint32Array;return{K:new l(16),j:new l(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new l(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new a(32),J:new l(512),_:[],h:new l(32),$:[],w:new l(32768),C:[],v:[],d:new l(32768),D:[],u:new l(512),Q:[],r:new l(1<<15),s:new a(286),Y:new a(30),a:new a(19),t:new a(15e3),k:new l(1<<16),g:new l(1<<15)}}(),function(){for(var l=n.H.m,a=1<<15,s=0;s<a;s++){var d=s;d=(d&2863311530)>>>1|(d&1431655765)<<1,d=(d&3435973836)>>>2|(d&858993459)<<2,d=(d&4042322160)>>>4|(d&252645135)<<4,d=(d&4278255360)>>>8|(d&16711935)<<8,l.r[s]=(d>>>16|d<<16)>>>17}function v(h,g,_){for(;g--!=0;)h.push(0,_)}for(var s=0;s<32;s++)l.q[s]=l.S[s]<<3|l.T[s],l.c[s]=l.p[s]<<4|l.z[s];v(l._,144,8),v(l._,255-143,9),v(l._,279-255,7),v(l._,287-279,8),n.H.n(l._,9),n.H.A(l._,9,l.J),n.H.l(l._,9),v(l.$,32,5),n.H.n(l.$,5),n.H.A(l.$,5,l.h),n.H.l(l.$,5),v(l.Q,19,0),v(l.C,286,0),v(l.D,30,0),v(l.v,320,0)}(),n.H.N}(),Ae.decode._readInterlace=function(n,l){for(var a=l.width,s=l.height,d=Ae.decode._getBPP(l),v=d>>3,h=Math.ceil(a*d/8),g=new Uint8Array(s*h),_=0,p=[0,0,4,0,2,0,1],x=[0,4,0,2,0,1,0],w=[8,8,8,4,4,2,2],C=[8,8,4,4,2,2,1],E=0;E<7;){for(var T=w[E],k=C[E],O=0,M=0,B=p[E];B<s;)B+=T,M++;for(var A=x[E];A<a;)A+=k,O++;var F=Math.ceil(O*d/8);Ae.decode._filterZero(n,l,_,O,M);for(var N=0,H=p[E];H<s;){for(var L=x[E],Y=_+N*F<<3;L<a;){if(d==1){var Q=n[Y>>3];Q=Q>>7-(Y&7)&1,g[H*h+(L>>3)]|=Q<<7-((L&7)<<0)}if(d==2){var Q=n[Y>>3];Q=Q>>6-(Y&7)&3,g[H*h+(L>>2)]|=Q<<6-((L&3)<<1)}if(d==4){var Q=n[Y>>3];Q=Q>>4-(Y&7)&15,g[H*h+(L>>1)]|=Q<<4-((L&1)<<2)}if(d>=8)for(var P=H*h+L*v,I=0;I<v;I++)g[P+I]=n[(Y>>3)+I];Y+=d,L+=k}N++,H+=T}O*M!=0&&(_+=M*(1+F)),E=E+1}return g},Ae.decode._getBPP=function(n){var l=[1,null,3,1,2,null,4][n.ctype];return l*n.depth},Ae.decode._filterZero=function(n,l,a,s,d){var v=Ae.decode._getBPP(l),h=Math.ceil(s*v/8),g=Ae.decode._paeth;v=Math.ceil(v/8);var _=0,p=1,x=n[a],w=0;if(x>1&&(n[a]=[0,0,1][x-2]),x==3)for(w=v;w<h;w++)n[w+1]=n[w+1]+(n[w+1-v]>>>1)&255;for(var C=0;C<d;C++)if(_=a+C*h,p=_+C+1,x=n[p-1],w=0,x==0)for(;w<h;w++)n[_+w]=n[p+w];else if(x==1){for(;w<v;w++)n[_+w]=n[p+w];for(;w<h;w++)n[_+w]=n[p+w]+n[_+w-v]}else if(x==2)for(;w<h;w++)n[_+w]=n[p+w]+n[_+w-h];else if(x==3){for(;w<v;w++)n[_+w]=n[p+w]+(n[_+w-h]>>>1);for(;w<h;w++)n[_+w]=n[p+w]+(n[_+w-h]+n[_+w-v]>>>1)}else{for(;w<v;w++)n[_+w]=n[p+w]+g(0,n[_+w-h],0);for(;w<h;w++)n[_+w]=n[p+w]+g(n[_+w-v],n[_+w-h],n[_+w-v-h])}return n},Ae.decode._paeth=function(n,l,a){var s=n+l-a,d=s-n,v=s-l,h=s-a;return d*d<=v*v&&d*d<=h*h?n:v*v<=h*h?l:a},Ae.decode._IHDR=function(n,l,a){var s=Ae._bin;a.width=s.readUint(n,l),l+=4,a.height=s.readUint(n,l),l+=4,a.depth=n[l],l++,a.ctype=n[l],l++,a.compress=n[l],l++,a.filter=n[l],l++,a.interlace=n[l],l++},Ae._bin={nextZero:function(n,l){for(;n[l]!=0;)l++;return l},readUshort:function(n,l){return n[l]<<8|n[l+1]},writeUshort:function(n,l,a){n[l]=a>>8&255,n[l+1]=a&255},readUint:function(n,l){return n[l]*(256*256*256)+(n[l+1]<<16|n[l+2]<<8|n[l+3])},writeUint:function(n,l,a){n[l]=a>>24&255,n[l+1]=a>>16&255,n[l+2]=a>>8&255,n[l+3]=a&255},readASCII:function(n,l,a){for(var s="",d=0;d<a;d++)s+=String.fromCharCode(n[l+d]);return s},writeASCII:function(n,l,a){for(var s=0;s<a.length;s++)n[l+s]=a.charCodeAt(s)},readBytes:function(n,l,a){for(var s=[],d=0;d<a;d++)s.push(n[l+d]);return s},pad:function(n){return n.length<2?"0"+n:n},readUTF8:function(n,l,a){for(var s="",d,v=0;v<a;v++)s+="%"+Ae._bin.pad(n[l+v].toString(16));try{d=decodeURIComponent(s)}catch{return Ae._bin.readASCII(n,l,a)}return d}},Ae._copyTile=function(n,l,a,s,d,v,h,g,_){for(var p=Math.min(l,d),x=Math.min(a,v),w=0,C=0,E=0;E<x;E++)for(var T=0;T<p;T++)if(h>=0&&g>=0?(w=E*l+T<<2,C=(g+E)*d+h+T<<2):(w=(-g+E)*l-h+T<<2,C=E*d+T<<2),_==0)s[C]=n[w],s[C+1]=n[w+1],s[C+2]=n[w+2],s[C+3]=n[w+3];else if(_==1){var k=n[w+3]*.00392156862745098,O=n[w]*k,M=n[w+1]*k,B=n[w+2]*k,A=s[C+3]*(1/255),F=s[C]*A,N=s[C+1]*A,H=s[C+2]*A,L=1-k,Y=k+A*L,Q=Y==0?0:1/Y;s[C+3]=255*Y,s[C+0]=(O+F*L)*Q,s[C+1]=(M+N*L)*Q,s[C+2]=(B+H*L)*Q}else if(_==2){var k=n[w+3],O=n[w],M=n[w+1],B=n[w+2],A=s[C+3],F=s[C],N=s[C+1],H=s[C+2];k==A&&O==F&&M==N&&B==H?(s[C]=0,s[C+1]=0,s[C+2]=0,s[C+3]=0):(s[C]=O,s[C+1]=M,s[C+2]=B,s[C+3]=k)}else if(_==3){var k=n[w+3],O=n[w],M=n[w+1],B=n[w+2],A=s[C+3],F=s[C],N=s[C+1],H=s[C+2];if(k==A&&O==F&&M==N&&B==H)continue;if(k<220&&A>20)return!1}return!0},Ae.encode=function(n,l,a,s,d,v,h){s==null&&(s=0),h==null&&(h=!1);var g=Ae.encode.compress(n,l,a,s,[!1,!1,!1,0,h]);return Ae.encode.compressPNG(g,-1),Ae.encode._main(g,l,a,d,v)},Ae.encodeLL=function(n,l,a,s,d,v,h,g){for(var _={ctype:0+(s==1?0:2)+(d==0?0:4),depth:v,frames:[]},p=(s+d)*v,x=p*l,w=0;w<n.length;w++)_.frames.push({rect:{x:0,y:0,width:l,height:a},img:new Uint8Array(n[w]),blend:0,dispose:1,bpp:Math.ceil(p/8),bpl:Math.ceil(x/8)});Ae.encode.compressPNG(_,0,!0);var C=Ae.encode._main(_,l,a,h,g);return C},Ae.encode._main=function(n,l,a,s,d){d==null&&(d={});var v=Ae.crc.crc,h=Ae._bin.writeUint,g=Ae._bin.writeUshort,_=Ae._bin.writeASCII,p=8,x=n.frames.length>1,w=!1,C=8+(16+5+4)+(x?20:0);if(d.sRGB!=null&&(C+=8+1+4),d.pHYs!=null&&(C+=8+9+4),n.ctype==3){for(var E=n.plte.length,T=0;T<E;T++)n.plte[T]>>>24!=255&&(w=!0);C+=8+E*3+4+(w?8+E*1+4:0)}for(var k=0;k<n.frames.length;k++){var O=n.frames[k];x&&(C+=38),C+=O.cimg.length+12,k!=0&&(C+=4)}C+=12;for(var M=new Uint8Array(C),B=[137,80,78,71,13,10,26,10],T=0;T<8;T++)M[T]=B[T];if(h(M,p,13),p+=4,_(M,p,"IHDR"),p+=4,h(M,p,l),p+=4,h(M,p,a),p+=4,M[p]=n.depth,p++,M[p]=n.ctype,p++,M[p]=0,p++,M[p]=0,p++,M[p]=0,p++,h(M,p,v(M,p-17,17)),p+=4,d.sRGB!=null&&(h(M,p,1),p+=4,_(M,p,"sRGB"),p+=4,M[p]=d.sRGB,p++,h(M,p,v(M,p-5,5)),p+=4),d.pHYs!=null&&(h(M,p,9),p+=4,_(M,p,"pHYs"),p+=4,h(M,p,d.pHYs[0]),p+=4,h(M,p,d.pHYs[1]),p+=4,M[p]=d.pHYs[2],p++,h(M,p,v(M,p-13,13)),p+=4),x&&(h(M,p,8),p+=4,_(M,p,"acTL"),p+=4,h(M,p,n.frames.length),p+=4,h(M,p,d.loop!=null?d.loop:0),p+=4,h(M,p,v(M,p-12,12)),p+=4),n.ctype==3){var E=n.plte.length;h(M,p,E*3),p+=4,_(M,p,"PLTE"),p+=4;for(var T=0;T<E;T++){var A=T*3,F=n.plte[T],N=F&255,H=F>>>8&255,L=F>>>16&255;M[p+A+0]=N,M[p+A+1]=H,M[p+A+2]=L}if(p+=E*3,h(M,p,v(M,p-E*3-4,E*3+4)),p+=4,w){h(M,p,E),p+=4,_(M,p,"tRNS"),p+=4;for(var T=0;T<E;T++)M[p+T]=n.plte[T]>>>24&255;p+=E,h(M,p,v(M,p-E-4,E+4)),p+=4}}for(var Y=0,k=0;k<n.frames.length;k++){var O=n.frames[k];x&&(h(M,p,26),p+=4,_(M,p,"fcTL"),p+=4,h(M,p,Y++),p+=4,h(M,p,O.rect.width),p+=4,h(M,p,O.rect.height),p+=4,h(M,p,O.rect.x),p+=4,h(M,p,O.rect.y),p+=4,g(M,p,s[k]),p+=2,g(M,p,1e3),p+=2,M[p]=O.dispose,p++,M[p]=O.blend,p++,h(M,p,v(M,p-30,30)),p+=4);var Q=O.cimg,E=Q.length;h(M,p,E+(k==0?0:4)),p+=4;var P=p;_(M,p,k==0?"IDAT":"fdAT"),p+=4,k!=0&&(h(M,p,Y++),p+=4),M.set(Q,p),p+=E,h(M,p,v(M,P,p-P)),p+=4}return h(M,p,0),p+=4,_(M,p,"IEND"),p+=4,h(M,p,v(M,p-4,4)),p+=4,M.buffer},Ae.encode.compressPNG=function(n,l,a){for(var s=0;s<n.frames.length;s++){var d=n.frames[s];d.rect.width;var v=d.rect.height,h=new Uint8Array(v*d.bpl+v);d.cimg=Ae.encode._filterZero(d.img,v,d.bpp,d.bpl,h,l,a)}},Ae.encode.compress=function(n,l,a,s,d){for(var v=d[0],h=d[1],g=d[2],_=d[3],p=d[4],x=6,w=8,C=255,E=0;E<n.length;E++)for(var T=new Uint8Array(n[E]),k=T.length,O=0;O<k;O+=4)C&=T[O+3];var M=C!=255,B=Ae.encode.framize(n,l,a,v,h,g),A={},F=[],N=[];if(s!=0){for(var H=[],O=0;O<B.length;O++)H.push(B[O].img.buffer);for(var L=Ae.encode.concatRGBA(H),Y=Ae.quantize(L,s),Q=0,P=new Uint8Array(Y.abuf),O=0;O<B.length;O++){var I=B[O].img,$=I.length;N.push(new Uint8Array(Y.inds.buffer,Q>>2,$>>2));for(var E=0;E<$;E+=4)I[E]=P[Q+E],I[E+1]=P[Q+E+1],I[E+2]=P[Q+E+2],I[E+3]=P[Q+E+3];Q+=$}for(var O=0;O<Y.plte.length;O++)F.push(Y.plte[O].est.rgba)}else for(var E=0;E<B.length;E++){var W=B[E],ne=new Uint32Array(W.img.buffer),J=W.rect.width,k=ne.length,K=new Uint8Array(k);N.push(K);for(var O=0;O<k;O++){var ce=ne[O];if(O!=0&&ce==ne[O-1])K[O]=K[O-1];else if(O>J&&ce==ne[O-J])K[O]=K[O-J];else{var V=A[ce];if(V==null&&(A[ce]=V=F.length,F.push(ce),F.length>=300))break;K[O]=V}}}var ue=F.length;ue<=256&&p==!1&&(ue<=2?w=1:ue<=4?w=2:ue<=16?w=4:w=8,w=Math.max(w,_));for(var E=0;E<B.length;E++){var W=B[E];W.rect.x,W.rect.y;var J=W.rect.width,Z=W.rect.height,G=W.img;new Uint32Array(G.buffer);var te=4*J,se=4;if(ue<=256&&p==!1){te=Math.ceil(w*J/8);for(var re=new Uint8Array(te*Z),xe=N[E],be=0;be<Z;be++){var O=be*te,Be=be*J;if(w==8)for(var Se=0;Se<J;Se++)re[O+Se]=xe[Be+Se];else if(w==4)for(var Se=0;Se<J;Se++)re[O+(Se>>1)]|=xe[Be+Se]<<4-(Se&1)*4;else if(w==2)for(var Se=0;Se<J;Se++)re[O+(Se>>2)]|=xe[Be+Se]<<6-(Se&3)*2;else if(w==1)for(var Se=0;Se<J;Se++)re[O+(Se>>3)]|=xe[Be+Se]<<7-(Se&7)*1}G=re,x=3,se=1}else if(M==!1&&B.length==1){for(var re=new Uint8Array(J*Z*3),Ie=J*Z,O=0;O<Ie;O++){var I=O*3,Ne=O*4;re[I]=G[Ne],re[I+1]=G[Ne+1],re[I+2]=G[Ne+2]}G=re,x=2,se=3,te=3*J}W.img=G,W.bpl=te,W.bpp=se}return{ctype:x,depth:w,plte:F,frames:B}},Ae.encode.framize=function(n,l,a,s,d,v){for(var h=[],g=0;g<n.length;g++){var _=new Uint8Array(n[g]),p=new Uint32Array(_.buffer),x,w=0,C=0,E=l,T=a,k=s?1:0;if(g!=0){for(var O=v||s||g==1||h[g-2].dispose!=0?1:2,M=0,B=1e9,A=0;A<O;A++){for(var W=new Uint8Array(n[g-1-A]),F=new Uint32Array(n[g-1-A]),N=l,H=a,L=-1,Y=-1,Q=0;Q<a;Q++)for(var P=0;P<l;P++){var I=Q*l+P;p[I]!=F[I]&&(P<N&&(N=P),P>L&&(L=P),Q<H&&(H=Q),Q>Y&&(Y=Q))}L==-1&&(N=H=L=Y=0),d&&((N&1)==1&&N--,(H&1)==1&&H--);var $=(L-N+1)*(Y-H+1);$<B&&(B=$,M=A,w=N,C=H,E=L-N+1,T=Y-H+1)}var W=new Uint8Array(n[g-1-M]);M==1&&(h[g-1].dispose=2),x=new Uint8Array(E*T*4),Ae._copyTile(W,l,a,x,E,T,-w,-C,0),k=Ae._copyTile(_,l,a,x,E,T,-w,-C,3)?1:0,k==1?Ae.encode._prepareDiff(_,l,a,x,{x:w,y:C,width:E,height:T}):Ae._copyTile(_,l,a,x,E,T,-w,-C,0)}else x=_.slice(0);h.push({rect:{x:w,y:C,width:E,height:T},img:x,blend:k,dispose:0})}if(s)for(var g=0;g<h.length;g++){var ne=h[g];if(ne.blend!=1){var J=ne.rect,K=h[g-1].rect,ce=Math.min(J.x,K.x),V=Math.min(J.y,K.y),ue=Math.max(J.x+J.width,K.x+K.width),Z=Math.max(J.y+J.height,K.y+K.height),G={x:ce,y:V,width:ue-ce,height:Z-V};h[g-1].dispose=1,g-1!=0&&Ae.encode._updateFrame(n,l,a,h,g-1,G,d),Ae.encode._updateFrame(n,l,a,h,g,G,d)}}var te=0;if(n.length!=1)for(var I=0;I<h.length;I++){var ne=h[I];te+=ne.rect.width*ne.rect.height}return h},Ae.encode._updateFrame=function(n,l,a,s,d,v,h){for(var g=Uint8Array,_=Uint32Array,p=new g(n[d-1]),x=new _(n[d-1]),w=d+1<n.length?new g(n[d+1]):null,C=new g(n[d]),E=new _(C.buffer),T=l,k=a,O=-1,M=-1,B=0;B<v.height;B++)for(var A=0;A<v.width;A++){var F=v.x+A,N=v.y+B,H=N*l+F,L=E[H];L==0||s[d-1].dispose==0&&x[H]==L&&(w==null||w[H*4+3]!=0)||(F<T&&(T=F),F>O&&(O=F),N<k&&(k=N),N>M&&(M=N))}O==-1&&(T=k=O=M=0),h&&((T&1)==1&&T--,(k&1)==1&&k--),v={x:T,y:k,width:O-T+1,height:M-k+1};var Y=s[d];Y.rect=v,Y.blend=1,Y.img=new Uint8Array(v.width*v.height*4),s[d-1].dispose==0?(Ae._copyTile(p,l,a,Y.img,v.width,v.height,-v.x,-v.y,0),Ae.encode._prepareDiff(C,l,a,Y.img,v)):Ae._copyTile(C,l,a,Y.img,v.width,v.height,-v.x,-v.y,0)},Ae.encode._prepareDiff=function(n,l,a,s,d){Ae._copyTile(n,l,a,s,d.width,d.height,-d.x,-d.y,2)},Ae.encode._filterZero=function(n,l,a,s,d,v,h){var g=[],_=[0,1,2,3,4];v!=-1?_=[v]:(l*s>5e5||a==1)&&(_=[0]);var p;h&&(p={level:0});for(var x=d.length>1e7&&UZIP!=null?UZIP:rR,w=0;w<_.length;w++){for(var C=0;C<l;C++)Ae.encode._filterLine(d,n,C,s,a,_[w]);g.push(x.deflate(d,p))}for(var E,T=1e9,w=0;w<g.length;w++)g[w].length<T&&(E=w,T=g[w].length);return g[E]},Ae.encode._filterLine=function(n,l,a,s,d,v){var h=a*s,g=h+a,_=Ae.decode._paeth;if(n[g]=v,g++,v==0)if(s<500)for(var p=0;p<s;p++)n[g+p]=l[h+p];else n.set(new Uint8Array(l.buffer,h,s),g);else if(v==1){for(var p=0;p<d;p++)n[g+p]=l[h+p];for(var p=d;p<s;p++)n[g+p]=l[h+p]-l[h+p-d]+256&255}else if(a==0){for(var p=0;p<d;p++)n[g+p]=l[h+p];if(v==2)for(var p=d;p<s;p++)n[g+p]=l[h+p];if(v==3)for(var p=d;p<s;p++)n[g+p]=l[h+p]-(l[h+p-d]>>1)+256&255;if(v==4)for(var p=d;p<s;p++)n[g+p]=l[h+p]-_(l[h+p-d],0,0)+256&255}else{if(v==2)for(var p=0;p<s;p++)n[g+p]=l[h+p]+256-l[h+p-s]&255;if(v==3){for(var p=0;p<d;p++)n[g+p]=l[h+p]+256-(l[h+p-s]>>1)&255;for(var p=d;p<s;p++)n[g+p]=l[h+p]+256-(l[h+p-s]+l[h+p-d]>>1)&255}if(v==4){for(var p=0;p<d;p++)n[g+p]=l[h+p]+256-_(0,l[h+p-s],0)&255;for(var p=d;p<s;p++)n[g+p]=l[h+p]+256-_(l[h+p-d],l[h+p-s],l[h+p-d-s])&255}}},Ae.crc={table:function(){for(var n=new Uint32Array(256),l=0;l<256;l++){for(var a=l,s=0;s<8;s++)a&1?a=3988292384^a>>>1:a=a>>>1;n[l]=a}return n}(),update:function(n,l,a,s){for(var d=0;d<s;d++)n=Ae.crc.table[(n^l[a+d])&255]^n>>>8;return n},crc:function(n,l,a){return Ae.crc.update(4294967295,n,l,a)^4294967295}},Ae.quantize=function(n,l){var a=new Uint8Array(n),s=a.slice(0),d=new Uint32Array(s.buffer),v=Ae.quantize.getKDtree(s,l),h=v[0],g=v[1],_=Ae.quantize.planeDst,p=a,x=d,w=p.length,C=new Uint8Array(a.length>>2),E;if(a.length<2e7)for(var T=0;T<w;T+=4){var k=p[T]*.00392156862745098,O=p[T+1]*(1/255),M=p[T+2]*(1/255),B=p[T+3]*(1/255);E=Ae.quantize.getNearest(h,k,O,M,B),C[T>>2]=E.ind,x[T>>2]=E.est.rgba}else for(var T=0;T<w;T+=4){var k=p[T]*.00392156862745098,O=p[T+1]*(1/255),M=p[T+2]*(1/255),B=p[T+3]*(1/255);for(E=h;E.left;)E=_(E.est,k,O,M,B)<=0?E.left:E.right;C[T>>2]=E.ind,x[T>>2]=E.est.rgba}return{abuf:s.buffer,inds:C,plte:g}},Ae.quantize.getKDtree=function(n,l,a){a==null&&(a=1e-4);var s=new Uint32Array(n.buffer),d={i0:0,i1:n.length,bst:null,est:null,tdst:0,left:null,right:null};d.bst=Ae.quantize.stats(n,d.i0,d.i1),d.est=Ae.quantize.estats(d.bst);for(var v=[d];v.length<l;){for(var h=0,g=0,_=0;_<v.length;_++)v[_].est.L>h&&(h=v[_].est.L,g=_);if(h<a)break;var p=v[g],x=Ae.quantize.splitPixels(n,s,p.i0,p.i1,p.est.e,p.est.eMq255),w=p.i0>=x||p.i1<=x;if(w){p.est.L=0;continue}var C={i0:p.i0,i1:x,bst:null,est:null,tdst:0,left:null,right:null};C.bst=Ae.quantize.stats(n,C.i0,C.i1),C.est=Ae.quantize.estats(C.bst);var E={i0:x,i1:p.i1,bst:null,est:null,tdst:0,left:null,right:null};E.bst={R:[],m:[],N:p.bst.N-C.bst.N};for(var _=0;_<16;_++)E.bst.R[_]=p.bst.R[_]-C.bst.R[_];for(var _=0;_<4;_++)E.bst.m[_]=p.bst.m[_]-C.bst.m[_];E.est=Ae.quantize.estats(E.bst),p.left=C,p.right=E,v[g]=C,v.push(E)}v.sort(function(T,k){return k.bst.N-T.bst.N});for(var _=0;_<v.length;_++)v[_].ind=_;return[d,v]},Ae.quantize.getNearest=function(n,l,a,s,d){if(n.left==null)return n.tdst=Ae.quantize.dist(n.est.q,l,a,s,d),n;var v=Ae.quantize.planeDst(n.est,l,a,s,d),h=n.left,g=n.right;v>0&&(h=n.right,g=n.left);var _=Ae.quantize.getNearest(h,l,a,s,d);if(_.tdst<=v*v)return _;var p=Ae.quantize.getNearest(g,l,a,s,d);return p.tdst<_.tdst?p:_},Ae.quantize.planeDst=function(n,l,a,s,d){var v=n.e;return v[0]*l+v[1]*a+v[2]*s+v[3]*d-n.eMq},Ae.quantize.dist=function(n,l,a,s,d){var v=l-n[0],h=a-n[1],g=s-n[2],_=d-n[3];return v*v+h*h+g*g+_*_},Ae.quantize.splitPixels=function(n,l,a,s,d,v){var h=Ae.quantize.vecDot;for(s-=4;a<s;){for(;h(n,a,d)<=v;)a+=4;for(;h(n,s,d)>v;)s-=4;if(a>=s)break;var g=l[a>>2];l[a>>2]=l[s>>2],l[s>>2]=g,a+=4,s-=4}for(;h(n,a,d)>v;)a-=4;return a+4},Ae.quantize.vecDot=function(n,l,a){return n[l]*a[0]+n[l+1]*a[1]+n[l+2]*a[2]+n[l+3]*a[3]},Ae.quantize.stats=function(n,l,a){for(var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d=[0,0,0,0],v=a-l>>2,h=l;h<a;h+=4){var g=n[h]*.00392156862745098,_=n[h+1]*(1/255),p=n[h+2]*(1/255),x=n[h+3]*(1/255);d[0]+=g,d[1]+=_,d[2]+=p,d[3]+=x,s[0]+=g*g,s[1]+=g*_,s[2]+=g*p,s[3]+=g*x,s[5]+=_*_,s[6]+=_*p,s[7]+=_*x,s[10]+=p*p,s[11]+=p*x,s[15]+=x*x}return s[4]=s[1],s[8]=s[2],s[9]=s[6],s[12]=s[3],s[13]=s[7],s[14]=s[11],{R:s,m:d,N:v}},Ae.quantize.estats=function(n){var l=n.R,a=n.m,s=n.N,d=a[0],v=a[1],h=a[2],g=a[3],_=s==0?0:1/s,p=[l[0]-d*d*_,l[1]-d*v*_,l[2]-d*h*_,l[3]-d*g*_,l[4]-v*d*_,l[5]-v*v*_,l[6]-v*h*_,l[7]-v*g*_,l[8]-h*d*_,l[9]-h*v*_,l[10]-h*h*_,l[11]-h*g*_,l[12]-g*d*_,l[13]-g*v*_,l[14]-g*h*_,l[15]-g*g*_],x=p,w=Ae.M4,C=[Math.random(),Math.random(),Math.random(),Math.random()],E=0,T=0;if(s!=0)for(var k=0;k<16&&(C=w.multVec(x,C),T=Math.sqrt(w.dot(C,C)),C=w.sml(1/T,C),!(k!=0&&Math.abs(T-E)<1e-9));k++)E=T;var O=[d*_,v*_,h*_,g*_],M=w.dot(w.sml(255,O),C);return{Cov:p,q:O,e:C,L:E,eMq255:M,eMq:w.dot(C,O),rgba:(Math.round(255*O[3])<<24|Math.round(255*O[2])<<16|Math.round(255*O[1])<<8|Math.round(255*O[0])<<0)>>>0}},Ae.M4={multVec:function(n,l){return[n[0]*l[0]+n[1]*l[1]+n[2]*l[2]+n[3]*l[3],n[4]*l[0]+n[5]*l[1]+n[6]*l[2]+n[7]*l[3],n[8]*l[0]+n[9]*l[1]+n[10]*l[2]+n[11]*l[3],n[12]*l[0]+n[13]*l[1]+n[14]*l[2]+n[15]*l[3]]},dot:function(n,l){return n[0]*l[0]+n[1]*l[1]+n[2]*l[2]+n[3]*l[3]},sml:function(n,l){return[n*l[0],n*l[1],n*l[2],n*l[3]]}},Ae.encode.concatRGBA=function(n){for(var l=0,a=0;a<n.length;a++)l+=n[a].byteLength;for(var s=new Uint8Array(l),d=0,a=0;a<n.length;a++){for(var v=new Uint8Array(n[a]),h=v.length,g=0;g<h;g+=4){var _=v[g],p=v[g+1],x=v[g+2],w=v[g+3];w==0&&(_=p=x=0),s[d+g]=_,s[d+g+1]=p,s[d+g+2]=x,s[d+g+3]=w}d+=h}return s.buffer};const aR=n=>new Promise((l,a)=>{const s=new FileReader;s.onloadend=d=>l(d.target.result),s.onerror=d=>a(d),s.readAsDataURL(n)}),iR=n=>new Promise((l,a)=>{const s=new Image;s.onload=()=>l(s),s.onerror=d=>a(d),s.src=n}),oR=(n,l,a)=>new Promise(s=>n.toBlob(d=>s(d),l,a)),lR=n=>{const s=n.width,d=n.height;let v=n.width,h=n.height;return(s>2e3||d>2e3)&&(s/d>2e3/2e3?(v=2e3,h=Math.round(2e3*(d/s))):(h=2e3,v=Math.round(2e3*(s/d)))),{width:v,height:h}},uR=n=>{let l=0;return n>1||n<0?l=0:l=n?n*256:0,l},rb=async(n,l=.5,a=5)=>{const s=n.name;if(n.size/1024/1024<a)return n;try{const d=document.createElement("canvas"),v=d.getContext("2d"),h=await aR(n),g=await iR(h),_=lR(g);if(d.width=_.width,d.height=_.height,v.clearRect(0,0,_.width,_.height),v.drawImage(g,0,0,_.width,_.height),["image/jpeg","image/jpg"].includes(n.type)){const p=await oR(d,n.type,l);return new File([p],s,{type:n.type})}else{const p=v.getImageData(0,0,_.width,_.height).data,x=uR(l),w=Ae.encode([p.buffer],_.width,_.height,x);return new File([w],n.name,{type:n.type})}}catch{return n}},ab=[Nc.jpeg,Nc.jpg,Nc.png],ib=n=>{const{maxCount:l=1,listType:a="picture-card",fileList:s=[],maxSize:d=2,accept:v=ab.join(","),uploadBtnName:h="上传",uploadHint:g=null,compression:_}=n,[p,x]=Te.useState(!1),[w,C]=Te.useState(""),E=()=>a!=="text"?bt("div",{style:{position:"relative"},children:[bt("div",{children:[de(SS,{}),de("div",{style:{marginTop:8},children:h})]}),g]}):bt(yo,{children:[de(De.Button,{icon:de(TS,{}),children:h}),g]}),T=B=>new Promise(async(F,N)=>{const H=v.split(","),L=Lh(B.name)||"";if(v&&!H.includes(L)&&(De.message.error(`只允许上传 ${v} 文件`),N(!1)),!(B.size/1024/1024<d)&&!_&&(De.message.error(`文件必须小于${d}MB`),N(!1)),_){let Q=0;async function P($){if(!_)return;const W=await rb($,_.quality,_.limit);if(Q++,Q>=5)return W;if(W.size/1024/1024>d)await P(W);else return W}const I=await P(B);F(I)}F(B)}).catch(F=>De.Upload.LIST_IGNORE),k=B=>{n.onChange&&n.onChange(B)},O=B=>{n.onPreview?n.onPreview(B):M(B)},M=async B=>{let A=Lh(B.name)||"";if(A||(A=Lh(B.name||B.url)||""),A===Nc.pdf)return De.Modal.info({title:"PDF",width:"60%",content:de("iframe",{title:"PDF预览",src:B.url||B.response.url,frameBorder:"0",style:{width:"100%",height:"70vh"}}),okText:"关闭"});ab.includes(A)&&(!B.url&&!B.thumbUrl&&!B.preview&&(B.preview=await zS(B.originFileObj)),C(B.url||B.thumbUrl||B.preview),x(!0))};return bt(yo,{children:[de(De.Upload,{beforeUpload:T,onChange:k,listType:a,...n,onPreview:O,children:s.length>=l?null:E()}),de(De.Image,{style:{display:"none"},preview:{visible:p,src:w,onVisibleChange:()=>{x(!1),C("")}}})]})},Kh={fieldModal:"create-form-module_fieldModal_8bf3d",content:"create-form-module_content_61f84",suffix:"create-form-module_suffix_42205",placeholder:"create-form-module_placeholder_90d6a"},sR={labelCol:{span:4},wrapperCol:{span:20}},ob=n=>{switch(n){case"upload":return"fileList";case"switch":return"checked";default:return"value"}},Xy=n=>{const{items:l,rowProps:a,formProps:s,readonly:d=!1,hiddenTitle:v=!1}=n,h=(p,x)=>{var w,C;if(x.btnType==="submit"){(w=s==null?void 0:s.form)==null||w.validateFields().then(E=>{x.onClick&&x.onClick(E)});return}if(x.btnType==="reset"){(C=s==null?void 0:s.form)==null||C.resetFields(),x.onClick&&x.onClick(p);return}x.btnType==="cancel"&&x.onClick&&x.onClick(p)},g=p=>Array.isArray(p)?p:p&&p.fileList,_=p=>{var w;const x=s==null?void 0:s.initialValues;return p.dataIndex?((w=p.render)==null?void 0:w.call(p,x==null?void 0:x[p.dataIndex],x))||p.value||(x==null?void 0:x[p.dataIndex]):""};return de(De.Form,{layout:"horizontal",form:s==null?void 0:s.form,...sR,...s||{},children:de(De.Row,{gutter:16,...a,children:l.filter(p=>!p.hidden).map((p,x)=>de(De.Col,{...p.colProps||{span:24},children:de(De.Form.Item,{...p.valueType==="upload"?{getValueFromEvent:g}:{},label:v?"":p.title,name:p.valueType==="btns"?void 0:p.dataIndex,...p.formItemProps,children:p.readonly?de("div",{children:_(p)}):p.readonly===void 0&&d?de("div",{children:_(p)}):de(lb,{onChange:w=>{var C;return(C=p==null?void 0:p.onChange)==null?void 0:C.call(p,w)},valueType:p.valueType,onBtnClick:h,valueProps:p.valueProps,formItemProps:p.formItemProps})})},p.dataIndex||x))})})},lb=n=>{const{valueType:l,valueProps:a,value:s,onChange:d,onBtnClick:v,inputRef:h,formItemProps:g}=n,_=Te.useMemo(()=>{let p=de(De.Input,{placeholder:"请输入",allowClear:!0,...a});switch(l){case"rate":p=de(De.Rate,{...a});break;case"password":p=de(De.Input.Password,{...a});break;case"modal":p=de(cR,{...a});break;case"checkbox":p=de(De.Checkbox.Group,{...a});break;case"select":p=de(De.Select,{placeholder:"请选择",allowClear:!0,...a});break;case"inputNumber":p=de(De.InputNumber,{style:{width:"100%"},placeholder:"请输入",...a});break;case"textarea":p=de(De.Input.TextArea,{placeholder:"请输入",allowClear:!0,...a});break;case"radio":p=de(De.Radio.Group,{...a});break;case"switch":p=de(De.Switch,{...a});break;case"datePicker":p=de(De.DatePicker,{style:{width:"100%"},allowClear:!0,...a});break;case"rangePicker":p=de(De.DatePicker.RangePicker,{style:{width:"100%"},allowClear:!0,...a});break;case"timePicker":p=de(De.TimePicker,{style:{width:"100%"},allowClear:!0,...a});break;case"cascader":p=de(De.Cascader,{allowClear:!0,...a});break;case"upload":p=de(ib,{...a});break;case"btns":p=de(De.Space,{children:a==null?void 0:a.map(x=>Te.createElement(De.Button,{type:x.btnType==="submit"?"primary":"default",...au.omit(x,["btnType"]),key:x.key||x.btnType,onClick:w=>{v==null||v(w,x)}},x.title||x.children))});break}return p},[l,a,d,s]);if(l==="custom"){const p=a;return Te.cloneElement(p.children,{[(g==null?void 0:g.valuePropName)||ob(l||"input")]:s,onChange:d,ref:h})}return Te.cloneElement(_,{[ob(l||"input")]:s,onChange:d,ref:h})},cR=n=>{const{placeholder:l,labelKey:a,onToggle:s,value:d,onClear:v,className:h,style:g}=n;return bt("div",{className:[Kh.fieldModal,h].filter(_=>_).join(" "),style:g,children:[de("div",{className:Kh.content,onClick:()=>s(!0),children:d?de("span",{children:d[a]}):de("span",{className:Kh.placeholder,children:l})}),de("span",{className:Kh.suffix,onClick:v,children:d&&de(hD,{})})]})};var Jy={exports:{}},sd={},Qh={exports:{}},ub={},Yc={exports:{}},eg={exports:{}},Jt={};var sb;function fR(){if(sb)return Jt;sb=1;var n=typeof Symbol=="function"&&Symbol.for,l=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,d=n?Symbol.for("react.strict_mode"):60108,v=n?Symbol.for("react.profiler"):60114,h=n?Symbol.for("react.provider"):60109,g=n?Symbol.for("react.context"):60110,_=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,x=n?Symbol.for("react.forward_ref"):60112,w=n?Symbol.for("react.suspense"):60113,C=n?Symbol.for("react.suspense_list"):60120,E=n?Symbol.for("react.memo"):60115,T=n?Symbol.for("react.lazy"):60116,k=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,M=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function A(N){if(typeof N=="object"&&N!==null){var H=N.$$typeof;switch(H){case l:switch(N=N.type,N){case _:case p:case s:case v:case d:case w:return N;default:switch(N=N&&N.$$typeof,N){case g:case x:case T:case E:case h:return N;default:return H}}case a:return H}}}function F(N){return A(N)===p}return Jt.AsyncMode=_,Jt.ConcurrentMode=p,Jt.ContextConsumer=g,Jt.ContextProvider=h,Jt.Element=l,Jt.ForwardRef=x,Jt.Fragment=s,Jt.Lazy=T,Jt.Memo=E,Jt.Portal=a,Jt.Profiler=v,Jt.StrictMode=d,Jt.Suspense=w,Jt.isAsyncMode=function(N){return F(N)||A(N)===_},Jt.isConcurrentMode=F,Jt.isContextConsumer=function(N){return A(N)===g},Jt.isContextProvider=function(N){return A(N)===h},Jt.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===l},Jt.isForwardRef=function(N){return A(N)===x},Jt.isFragment=function(N){return A(N)===s},Jt.isLazy=function(N){return A(N)===T},Jt.isMemo=function(N){return A(N)===E},Jt.isPortal=function(N){return A(N)===a},Jt.isProfiler=function(N){return A(N)===v},Jt.isStrictMode=function(N){return A(N)===d},Jt.isSuspense=function(N){return A(N)===w},Jt.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===s||N===p||N===v||N===d||N===w||N===C||typeof N=="object"&&N!==null&&(N.$$typeof===T||N.$$typeof===E||N.$$typeof===h||N.$$typeof===g||N.$$typeof===x||N.$$typeof===O||N.$$typeof===M||N.$$typeof===B||N.$$typeof===k)},Jt.typeOf=A,Jt}var en={};var cb;function dR(){return cb||(cb=1,process.env.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,l=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,d=n?Symbol.for("react.strict_mode"):60108,v=n?Symbol.for("react.profiler"):60114,h=n?Symbol.for("react.provider"):60109,g=n?Symbol.for("react.context"):60110,_=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,x=n?Symbol.for("react.forward_ref"):60112,w=n?Symbol.for("react.suspense"):60113,C=n?Symbol.for("react.suspense_list"):60120,E=n?Symbol.for("react.memo"):60115,T=n?Symbol.for("react.lazy"):60116,k=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,M=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function A(Fe){return typeof Fe=="string"||typeof Fe=="function"||Fe===s||Fe===p||Fe===v||Fe===d||Fe===w||Fe===C||typeof Fe=="object"&&Fe!==null&&(Fe.$$typeof===T||Fe.$$typeof===E||Fe.$$typeof===h||Fe.$$typeof===g||Fe.$$typeof===x||Fe.$$typeof===O||Fe.$$typeof===M||Fe.$$typeof===B||Fe.$$typeof===k)}function F(Fe){if(typeof Fe=="object"&&Fe!==null){var ft=Fe.$$typeof;switch(ft){case l:var wt=Fe.type;switch(wt){case _:case p:case s:case v:case d:case w:return wt;default:var ln=wt&&wt.$$typeof;switch(ln){case g:case x:case T:case E:case h:return ln;default:return ft}}case a:return ft}}}var N=_,H=p,L=g,Y=h,Q=l,P=x,I=s,$=T,W=E,ne=a,J=v,K=d,ce=w,V=!1;function ue(Fe){return V||(V=!0),Z(Fe)||F(Fe)===_}function Z(Fe){return F(Fe)===p}function G(Fe){return F(Fe)===g}function te(Fe){return F(Fe)===h}function se(Fe){return typeof Fe=="object"&&Fe!==null&&Fe.$$typeof===l}function re(Fe){return F(Fe)===x}function xe(Fe){return F(Fe)===s}function be(Fe){return F(Fe)===T}function Be(Fe){return F(Fe)===E}function Se(Fe){return F(Fe)===a}function Ie(Fe){return F(Fe)===v}function Ne(Fe){return F(Fe)===d}function ct(Fe){return F(Fe)===w}en.AsyncMode=N,en.ConcurrentMode=H,en.ContextConsumer=L,en.ContextProvider=Y,en.Element=Q,en.ForwardRef=P,en.Fragment=I,en.Lazy=$,en.Memo=W,en.Portal=ne,en.Profiler=J,en.StrictMode=K,en.Suspense=ce,en.isAsyncMode=ue,en.isConcurrentMode=Z,en.isContextConsumer=G,en.isContextProvider=te,en.isElement=se,en.isForwardRef=re,en.isFragment=xe,en.isLazy=be,en.isMemo=Be,en.isPortal=Se,en.isProfiler=Ie,en.isStrictMode=Ne,en.isSuspense=ct,en.isValidElementType=A,en.typeOf=F}()),en}var fb;function db(){return fb||(fb=1,function(n){process.env.NODE_ENV==="production"?n.exports=fR():n.exports=dR()}(eg)),eg.exports}var tg,pb;function pR(){if(pb)return tg;pb=1;var n=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function s(v){if(v==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(v)}function d(){try{if(!Object.assign)return!1;var v=new String("abc");if(v[5]="de",Object.getOwnPropertyNames(v)[0]==="5")return!1;for(var h={},g=0;g<10;g++)h["_"+String.fromCharCode(g)]=g;var _=Object.getOwnPropertyNames(h).map(function(x){return h[x]});if(_.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(x){p[x]=x}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return tg=d()?Object.assign:function(v,h){for(var g,_=s(v),p,x=1;x<arguments.length;x++){g=Object(arguments[x]);for(var w in g)l.call(g,w)&&(_[w]=g[w]);if(n){p=n(g);for(var C=0;C<p.length;C++)a.call(g,p[C])&&(_[p[C]]=g[p[C]])}}return _},tg}var ng,hb;function rg(){if(hb)return ng;hb=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ng=n,ng}var ag,vb;function mb(){return vb||(vb=1,ag=Function.call.bind(Object.prototype.hasOwnProperty)),ag}var ig,yb;function hR(){if(yb)return ig;yb=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var l=rg(),a={},s=mb();n=function(v){var h="Warning: "+v;try{throw new Error(h)}catch{}}}function d(v,h,g,_,p){if(process.env.NODE_ENV!=="production"){for(var x in v)if(s(v,x)){var w;try{if(typeof v[x]!="function"){var C=Error((_||"React class")+": "+g+" type `"+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[x]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}w=v[x](h,x,_,g,null,l)}catch(T){w=T}if(w&&!(w instanceof Error)&&n((_||"React class")+": type specification of "+g+" `"+x+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in a)){a[w.message]=!0;var E=p?p():"";n("Failed "+g+" type: "+w.message+(E??""))}}}}return d.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},ig=d,ig}var og,gb;function vR(){if(gb)return og;gb=1;var n=db(),l=pR(),a=rg(),s=mb(),d=hR(),v=function(){};process.env.NODE_ENV!=="production"&&(v=function(g){var _="Warning: "+g;try{throw new Error(_)}catch{}});function h(){return null}return og=function(g,_){var p=typeof Symbol=="function"&&Symbol.iterator,x="@@iterator";function w(Z){var G=Z&&(p&&Z[p]||Z[x]);if(typeof G=="function")return G}var C="<<anonymous>>",E={array:M("array"),bigint:M("bigint"),bool:M("boolean"),func:M("function"),number:M("number"),object:M("object"),string:M("string"),symbol:M("symbol"),any:B(),arrayOf:A,element:F(),elementType:N(),instanceOf:H,node:P(),objectOf:Y,oneOf:L,oneOfType:Q,shape:$,exact:W};function T(Z,G){return Z===G?Z!==0||1/Z===1/G:Z!==Z&&G!==G}function k(Z,G){this.message=Z,this.data=G&&typeof G=="object"?G:{},this.stack=""}k.prototype=Error.prototype;function O(Z){if(process.env.NODE_ENV!=="production")var G={},te=0;function se(xe,be,Be,Se,Ie,Ne,ct){if(Se=Se||C,Ne=Ne||Be,ct!==a){if(_){var Fe=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Fe.name="Invariant Violation",Fe}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ft=Se+":"+Be;!G[ft]&&te<3&&(v("You are manually calling a React.PropTypes validation function for the `"+Ne+"` prop on `"+Se+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),G[ft]=!0,te++)}}return be[Be]==null?xe?be[Be]===null?new k("The "+Ie+" `"+Ne+"` is marked as required "+("in `"+Se+"`, but its value is `null`.")):new k("The "+Ie+" `"+Ne+"` is marked as required in "+("`"+Se+"`, but its value is `undefined`.")):null:Z(be,Be,Se,Ie,Ne)}var re=se.bind(null,!1);return re.isRequired=se.bind(null,!0),re}function M(Z){function G(te,se,re,xe,be,Be){var Se=te[se],Ie=K(Se);if(Ie!==Z){var Ne=ce(Se);return new k("Invalid "+xe+" `"+be+"` of type "+("`"+Ne+"` supplied to `"+re+"`, expected ")+("`"+Z+"`."),{expectedType:Z})}return null}return O(G)}function B(){return O(h)}function A(Z){function G(te,se,re,xe,be){if(typeof Z!="function")return new k("Property `"+be+"` of component `"+re+"` has invalid PropType notation inside arrayOf.");var Be=te[se];if(!Array.isArray(Be)){var Se=K(Be);return new k("Invalid "+xe+" `"+be+"` of type "+("`"+Se+"` supplied to `"+re+"`, expected an array."))}for(var Ie=0;Ie<Be.length;Ie++){var Ne=Z(Be,Ie,re,xe,be+"["+Ie+"]",a);if(Ne instanceof Error)return Ne}return null}return O(G)}function F(){function Z(G,te,se,re,xe){var be=G[te];if(!g(be)){var Be=K(be);return new k("Invalid "+re+" `"+xe+"` of type "+("`"+Be+"` supplied to `"+se+"`, expected a single ReactElement."))}return null}return O(Z)}function N(){function Z(G,te,se,re,xe){var be=G[te];if(!n.isValidElementType(be)){var Be=K(be);return new k("Invalid "+re+" `"+xe+"` of type "+("`"+Be+"` supplied to `"+se+"`, expected a single ReactElement type."))}return null}return O(Z)}function H(Z){function G(te,se,re,xe,be){if(!(te[se]instanceof Z)){var Be=Z.name||C,Se=ue(te[se]);return new k("Invalid "+xe+" `"+be+"` of type "+("`"+Se+"` supplied to `"+re+"`, expected ")+("instance of `"+Be+"`."))}return null}return O(G)}function L(Z){if(!Array.isArray(Z))return process.env.NODE_ENV!=="production"&&(arguments.length>1?v("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):v("Invalid argument supplied to oneOf, expected an array.")),h;function G(te,se,re,xe,be){for(var Be=te[se],Se=0;Se<Z.length;Se++)if(T(Be,Z[Se]))return null;var Ie=JSON.stringify(Z,function(ct,Fe){var ft=ce(Fe);return ft==="symbol"?String(Fe):Fe});return new k("Invalid "+xe+" `"+be+"` of value `"+String(Be)+"` "+("supplied to `"+re+"`, expected one of "+Ie+"."))}return O(G)}function Y(Z){function G(te,se,re,xe,be){if(typeof Z!="function")return new k("Property `"+be+"` of component `"+re+"` has invalid PropType notation inside objectOf.");var Be=te[se],Se=K(Be);if(Se!=="object")return new k("Invalid "+xe+" `"+be+"` of type "+("`"+Se+"` supplied to `"+re+"`, expected an object."));for(var Ie in Be)if(s(Be,Ie)){var Ne=Z(Be,Ie,re,xe,be+"."+Ie,a);if(Ne instanceof Error)return Ne}return null}return O(G)}function Q(Z){if(!Array.isArray(Z))return process.env.NODE_ENV!=="production"&&v("Invalid argument supplied to oneOfType, expected an instance of array."),h;for(var G=0;G<Z.length;G++){var te=Z[G];if(typeof te!="function")return v("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(te)+" at index "+G+"."),h}function se(re,xe,be,Be,Se){for(var Ie=[],Ne=0;Ne<Z.length;Ne++){var ct=Z[Ne],Fe=ct(re,xe,be,Be,Se,a);if(Fe==null)return null;Fe.data&&s(Fe.data,"expectedType")&&Ie.push(Fe.data.expectedType)}var ft=Ie.length>0?", expected one of type ["+Ie.join(", ")+"]":"";return new k("Invalid "+Be+" `"+Se+"` supplied to "+("`"+be+"`"+ft+"."))}return O(se)}function P(){function Z(G,te,se,re,xe){return ne(G[te])?null:new k("Invalid "+re+" `"+xe+"` supplied to "+("`"+se+"`, expected a ReactNode."))}return O(Z)}function I(Z,G,te,se,re){return new k((Z||"React class")+": "+G+" type `"+te+"."+se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+re+"`.")}function $(Z){function G(te,se,re,xe,be){var Be=te[se],Se=K(Be);if(Se!=="object")return new k("Invalid "+xe+" `"+be+"` of type `"+Se+"` "+("supplied to `"+re+"`, expected `object`."));for(var Ie in Z){var Ne=Z[Ie];if(typeof Ne!="function")return I(re,xe,be,Ie,ce(Ne));var ct=Ne(Be,Ie,re,xe,be+"."+Ie,a);if(ct)return ct}return null}return O(G)}function W(Z){function G(te,se,re,xe,be){var Be=te[se],Se=K(Be);if(Se!=="object")return new k("Invalid "+xe+" `"+be+"` of type `"+Se+"` "+("supplied to `"+re+"`, expected `object`."));var Ie=l({},te[se],Z);for(var Ne in Ie){var ct=Z[Ne];if(s(Z,Ne)&&typeof ct!="function")return I(re,xe,be,Ne,ce(ct));if(!ct)return new k("Invalid "+xe+" `"+be+"` key `"+Ne+"` supplied to `"+re+"`.\nBad object: "+JSON.stringify(te[se],null," ")+`
194
194
  Valid keys: `+JSON.stringify(Object.keys(Z),null," "));var Fe=ct(Be,Ne,re,xe,be+"."+Ne,a);if(Fe)return Fe}return null}return O(G)}function ne(Z){switch(typeof Z){case"number":case"string":case"undefined":return!0;case"boolean":return!Z;case"object":if(Array.isArray(Z))return Z.every(ne);if(Z===null||g(Z))return!0;var G=w(Z);if(G){var te=G.call(Z),se;if(G!==Z.entries){for(;!(se=te.next()).done;)if(!ne(se.value))return!1}else for(;!(se=te.next()).done;){var re=se.value;if(re&&!ne(re[1]))return!1}}else return!1;return!0;default:return!1}}function J(Z,G){return Z==="symbol"?!0:G?G["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&G instanceof Symbol:!1}function K(Z){var G=typeof Z;return Array.isArray(Z)?"array":Z instanceof RegExp?"object":J(G,Z)?"symbol":G}function ce(Z){if(typeof Z>"u"||Z===null)return""+Z;var G=K(Z);if(G==="object"){if(Z instanceof Date)return"date";if(Z instanceof RegExp)return"regexp"}return G}function V(Z){var G=ce(Z);switch(G){case"array":case"object":return"an "+G;case"boolean":case"date":case"regexp":return"a "+G;default:return G}}function ue(Z){return!Z.constructor||!Z.constructor.name?C:Z.constructor.name}return E.checkPropTypes=d,E.resetWarningCache=d.resetWarningCache,E.PropTypes=E,E},og}var lg,xb;function mR(){if(xb)return lg;xb=1;var n=rg();function l(){}function a(){}return a.resetWarningCache=l,lg=function(){function s(h,g,_,p,x,w){if(w!==n){var C=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw C.name="Invariant Violation",C}}s.isRequired=s;function d(){return s}var v={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:d,element:s,elementType:s,instanceOf:d,node:s,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:a,resetWarningCache:l};return v.PropTypes=v,v},lg}if(process.env.NODE_ENV!=="production"){var yR=db(),gR=!0;Yc.exports=vR()(yR.isElement,gR)}else Yc.exports=mR()();function _b(n){var l,a,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n))for(l=0;l<n.length;l++)n[l]&&(a=_b(n[l]))&&(s&&(s+=" "),s+=a);else for(l in n)n[l]&&(s&&(s+=" "),s+=l);return s}function Cb(){for(var n,l,a=0,s="";a<arguments.length;)(n=arguments[a++])&&(l=_b(n))&&(s&&(s+=" "),s+=l);return s}const xR=jC(Object.freeze(Object.defineProperty({__proto__:null,clsx:Cb,default:Cb},Symbol.toStringTag,{value:"Module"})));var Hn={},Eo={};Object.defineProperty(Eo,"__esModule",{value:!0}),Eo.dontSetMe=bR,Eo.findInArray=_R,Eo.int=ER,Eo.isFunction=CR,Eo.isNum=SR;function _R(n,l){for(let a=0,s=n.length;a<s;a++)if(l.apply(l,[n[a],a,n]))return n[a]}function CR(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Function]"}function SR(n){return typeof n=="number"&&!isNaN(n)}function ER(n){return parseInt(n,10)}function bR(n,l,a){if(n[l])return new Error("Invalid prop ".concat(l," passed to ").concat(a," - do not set this, set it on the child."))}var Cs={};Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.browserPrefixToKey=Eb,Cs.browserPrefixToStyle=wR,Cs.default=void 0,Cs.getPrefix=Sb;const ug=["Moz","Webkit","O","ms"];function Sb(){var n;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const a=(n=window.document)===null||n===void 0||(n=n.documentElement)===null||n===void 0?void 0:n.style;if(!a||l in a)return"";for(let s=0;s<ug.length;s++)if(Eb(l,ug[s])in a)return ug[s];return""}function Eb(n,l){return l?"".concat(l).concat(DR(n)):n}function wR(n,l){return l?"-".concat(l.toLowerCase(),"-").concat(n):n}function DR(n){let l="",a=!0;for(let s=0;s<n.length;s++)a?(l+=n[s].toUpperCase(),a=!1):n[s]==="-"?a=!0:l+=n[s];return l}Cs.default=Sb(),Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.addClassName=Tb,Hn.addEvent=RR,Hn.addUserSelectStyles=PR,Hn.createCSSTransform=NR,Hn.createSVGTransform=LR,Hn.getTouch=UR,Hn.getTouchIdentifier=HR,Hn.getTranslation=sg,Hn.innerHeight=FR,Hn.innerWidth=zR,Hn.matchesSelector=Db,Hn.matchesSelectorAndParentsTo=AR,Hn.offsetXYFromParent=MR,Hn.outerHeight=OR,Hn.outerWidth=BR,Hn.removeClassName=Ab,Hn.removeEvent=kR,Hn.removeUserSelectStyles=jR;var ii=Eo,bb=TR(Cs);function wb(n){if(typeof WeakMap!="function")return null;var l=new WeakMap,a=new WeakMap;return(wb=function(s){return s?a:l})(n)}function TR(n,l){if(!l&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var a=wb(l);if(a&&a.has(n))return a.get(n);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in n)if(v!=="default"&&Object.prototype.hasOwnProperty.call(n,v)){var h=d?Object.getOwnPropertyDescriptor(n,v):null;h&&(h.get||h.set)?Object.defineProperty(s,v,h):s[v]=n[v]}return s.default=n,a&&a.set(n,s),s}let Xh="";function Db(n,l){return Xh||(Xh=(0,ii.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(a){return(0,ii.isFunction)(n[a])})),(0,ii.isFunction)(n[Xh])?n[Xh](l):!1}function AR(n,l,a){let s=n;do{if(Db(s,l))return!0;if(s===a)return!1;s=s.parentNode}while(s);return!1}function RR(n,l,a,s){if(!n)return;const d={capture:!0,...s};n.addEventListener?n.addEventListener(l,a,d):n.attachEvent?n.attachEvent("on"+l,a):n["on"+l]=a}function kR(n,l,a,s){if(!n)return;const d={capture:!0,...s};n.removeEventListener?n.removeEventListener(l,a,d):n.detachEvent?n.detachEvent("on"+l,a):n["on"+l]=null}function OR(n){let l=n.clientHeight;const a=n.ownerDocument.defaultView.getComputedStyle(n);return l+=(0,ii.int)(a.borderTopWidth),l+=(0,ii.int)(a.borderBottomWidth),l}function BR(n){let l=n.clientWidth;const a=n.ownerDocument.defaultView.getComputedStyle(n);return l+=(0,ii.int)(a.borderLeftWidth),l+=(0,ii.int)(a.borderRightWidth),l}function FR(n){let l=n.clientHeight;const a=n.ownerDocument.defaultView.getComputedStyle(n);return l-=(0,ii.int)(a.paddingTop),l-=(0,ii.int)(a.paddingBottom),l}function zR(n){let l=n.clientWidth;const a=n.ownerDocument.defaultView.getComputedStyle(n);return l-=(0,ii.int)(a.paddingLeft),l-=(0,ii.int)(a.paddingRight),l}function MR(n,l,a){const d=l===l.ownerDocument.body?{left:0,top:0}:l.getBoundingClientRect(),v=(n.clientX+l.scrollLeft-d.left)/a,h=(n.clientY+l.scrollTop-d.top)/a;return{x:v,y:h}}function NR(n,l){const a=sg(n,l,"px");return{[(0,bb.browserPrefixToKey)("transform",bb.default)]:a}}function LR(n,l){return sg(n,l,"")}function sg(n,l,a){let{x:s,y:d}=n,v="translate(".concat(s).concat(a,",").concat(d).concat(a,")");if(l){const h="".concat(typeof l.x=="string"?l.x:l.x+a),g="".concat(typeof l.y=="string"?l.y:l.y+a);v="translate(".concat(h,", ").concat(g,")")+v}return v}function UR(n,l){return n.targetTouches&&(0,ii.findInArray)(n.targetTouches,a=>l===a.identifier)||n.changedTouches&&(0,ii.findInArray)(n.changedTouches,a=>l===a.identifier)}function HR(n){if(n.targetTouches&&n.targetTouches[0])return n.targetTouches[0].identifier;if(n.changedTouches&&n.changedTouches[0])return n.changedTouches[0].identifier}function PR(n){if(!n)return;let l=n.getElementById("react-draggable-style-el");l||(l=n.createElement("style"),l.type="text/css",l.id="react-draggable-style-el",l.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
195
195
  `,l.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
196
- `,n.getElementsByTagName("head")[0].appendChild(l)),n.body&&Tb(n.body,"react-draggable-transparent-selection")}function jR(n){if(n)try{if(n.body&&Ab(n.body,"react-draggable-transparent-selection"),n.selection)n.selection.empty();else{const l=(n.defaultView||window).getSelection();l&&l.type!=="Caret"&&l.removeAllRanges()}}catch{}}function Tb(n,l){n.classList?n.classList.add(l):n.className.match(new RegExp("(?:^|\\s)".concat(l,"(?!\\S)")))||(n.className+=" ".concat(l))}function Ab(n,l){n.classList?n.classList.remove(l):n.className=n.className.replace(new RegExp("(?:^|\\s)".concat(l,"(?!\\S)"),"g"),"")}var bo={};Object.defineProperty(bo,"__esModule",{value:!0}),bo.canDragX=VR,bo.canDragY=YR,bo.createCoreData=GR,bo.createDraggableData=WR,bo.getBoundPosition=IR,bo.getControlPosition=qR,bo.snapToGrid=$R;var oi=Eo,qc=Hn;function IR(n,l,a){if(!n.props.bounds)return[l,a];let{bounds:s}=n.props;s=typeof s=="string"?s:ZR(s);const d=cg(n);if(typeof s=="string"){const{ownerDocument:v}=d,h=v.defaultView;let g;if(s==="parent"?g=d.parentNode:g=v.querySelector(s),!(g instanceof h.HTMLElement))throw new Error('Bounds selector "'+s+'" could not find an element.');const _=g,p=h.getComputedStyle(d),x=h.getComputedStyle(_);s={left:-d.offsetLeft+(0,oi.int)(x.paddingLeft)+(0,oi.int)(p.marginLeft),top:-d.offsetTop+(0,oi.int)(x.paddingTop)+(0,oi.int)(p.marginTop),right:(0,qc.innerWidth)(_)-(0,qc.outerWidth)(d)-d.offsetLeft+(0,oi.int)(x.paddingRight)-(0,oi.int)(p.marginRight),bottom:(0,qc.innerHeight)(_)-(0,qc.outerHeight)(d)-d.offsetTop+(0,oi.int)(x.paddingBottom)-(0,oi.int)(p.marginBottom)}}return(0,oi.isNum)(s.right)&&(l=Math.min(l,s.right)),(0,oi.isNum)(s.bottom)&&(a=Math.min(a,s.bottom)),(0,oi.isNum)(s.left)&&(l=Math.max(l,s.left)),(0,oi.isNum)(s.top)&&(a=Math.max(a,s.top)),[l,a]}function $R(n,l,a){const s=Math.round(l/n[0])*n[0],d=Math.round(a/n[1])*n[1];return[s,d]}function VR(n){return n.props.axis==="both"||n.props.axis==="x"}function YR(n){return n.props.axis==="both"||n.props.axis==="y"}function qR(n,l,a){const s=typeof l=="number"?(0,qc.getTouch)(n,l):null;if(typeof l=="number"&&!s)return null;const d=cg(a),v=a.props.offsetParent||d.offsetParent||d.ownerDocument.body;return(0,qc.offsetXYFromParent)(s||n,v,a.props.scale)}function GR(n,l,a){const s=!(0,oi.isNum)(n.lastX),d=cg(n);return s?{node:d,deltaX:0,deltaY:0,lastX:l,lastY:a,x:l,y:a}:{node:d,deltaX:l-n.lastX,deltaY:a-n.lastY,lastX:n.lastX,lastY:n.lastY,x:l,y:a}}function WR(n,l){const a=n.props.scale;return{node:l.node,x:n.state.x+l.deltaX/a,y:n.state.y+l.deltaY/a,deltaX:l.deltaX/a,deltaY:l.deltaY/a,lastX:n.state.x,lastY:n.state.y}}function ZR(n){return{left:n.left,top:n.top,right:n.right,bottom:n.bottom}}function cg(n){const l=n.findDOMNode();if(!l)throw new Error("<DraggableCore>: Unmounted during event!");return l}var Jh={},ev={};Object.defineProperty(ev,"__esModule",{value:!0}),ev.default=KR;function KR(){}Object.defineProperty(Jh,"__esModule",{value:!0}),Jh.default=void 0;var fg=XR(Te),Na=pg(Yc.exports),QR=pg(hy.exports),Jr=Hn,cu=bo,dg=Eo,cd=pg(ev);function pg(n){return n&&n.__esModule?n:{default:n}}function Rb(n){if(typeof WeakMap!="function")return null;var l=new WeakMap,a=new WeakMap;return(Rb=function(s){return s?a:l})(n)}function XR(n,l){if(!l&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var a=Rb(l);if(a&&a.has(n))return a.get(n);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in n)if(v!=="default"&&Object.prototype.hasOwnProperty.call(n,v)){var h=d?Object.getOwnPropertyDescriptor(n,v):null;h&&(h.get||h.set)?Object.defineProperty(s,v,h):s[v]=n[v]}return s.default=n,a&&a.set(n,s),s}function ga(n,l,a){return l=JR(l),l in n?Object.defineProperty(n,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[l]=a,n}function JR(n){var l=ek(n,"string");return typeof l=="symbol"?l:String(l)}function ek(n,l){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var s=a.call(n,l||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(n)}const Ni={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let fu=Ni.mouse,tv=class extends fg.Component{constructor(){super(...arguments),ga(this,"dragging",!1),ga(this,"lastX",NaN),ga(this,"lastY",NaN),ga(this,"touchIdentifier",null),ga(this,"mounted",!1),ga(this,"handleDragStart",l=>{if(this.props.onMouseDown(l),!this.props.allowAnyClick&&typeof l.button=="number"&&l.button!==0)return!1;const a=this.findDOMNode();if(!a||!a.ownerDocument||!a.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:s}=a;if(this.props.disabled||!(l.target instanceof s.defaultView.Node)||this.props.handle&&!(0,Jr.matchesSelectorAndParentsTo)(l.target,this.props.handle,a)||this.props.cancel&&(0,Jr.matchesSelectorAndParentsTo)(l.target,this.props.cancel,a))return;l.type==="touchstart"&&l.preventDefault();const d=(0,Jr.getTouchIdentifier)(l);this.touchIdentifier=d;const v=(0,cu.getControlPosition)(l,d,this);if(v==null)return;const{x:h,y:g}=v,_=(0,cu.createCoreData)(this,h,g);(0,cd.default)("DraggableCore: handleDragStart: %j",_),(0,cd.default)("calling",this.props.onStart),!(this.props.onStart(l,_)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Jr.addUserSelectStyles)(s),this.dragging=!0,this.lastX=h,this.lastY=g,(0,Jr.addEvent)(s,fu.move,this.handleDrag),(0,Jr.addEvent)(s,fu.stop,this.handleDragStop))}),ga(this,"handleDrag",l=>{const a=(0,cu.getControlPosition)(l,this.touchIdentifier,this);if(a==null)return;let{x:s,y:d}=a;if(Array.isArray(this.props.grid)){let g=s-this.lastX,_=d-this.lastY;if([g,_]=(0,cu.snapToGrid)(this.props.grid,g,_),!g&&!_)return;s=this.lastX+g,d=this.lastY+_}const v=(0,cu.createCoreData)(this,s,d);if((0,cd.default)("DraggableCore: handleDrag: %j",v),this.props.onDrag(l,v)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const _=document.createEvent("MouseEvents");_.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(_)}return}this.lastX=s,this.lastY=d}),ga(this,"handleDragStop",l=>{if(!this.dragging)return;const a=(0,cu.getControlPosition)(l,this.touchIdentifier,this);if(a==null)return;let{x:s,y:d}=a;if(Array.isArray(this.props.grid)){let _=s-this.lastX||0,p=d-this.lastY||0;[_,p]=(0,cu.snapToGrid)(this.props.grid,_,p),s=this.lastX+_,d=this.lastY+p}const v=(0,cu.createCoreData)(this,s,d);if(this.props.onStop(l,v)===!1||this.mounted===!1)return!1;const g=this.findDOMNode();g&&this.props.enableUserSelectHack&&(0,Jr.removeUserSelectStyles)(g.ownerDocument),(0,cd.default)("DraggableCore: handleDragStop: %j",v),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,g&&((0,cd.default)("DraggableCore: Removing handlers"),(0,Jr.removeEvent)(g.ownerDocument,fu.move,this.handleDrag),(0,Jr.removeEvent)(g.ownerDocument,fu.stop,this.handleDragStop))}),ga(this,"onMouseDown",l=>(fu=Ni.mouse,this.handleDragStart(l))),ga(this,"onMouseUp",l=>(fu=Ni.mouse,this.handleDragStop(l))),ga(this,"onTouchStart",l=>(fu=Ni.touch,this.handleDragStart(l))),ga(this,"onTouchEnd",l=>(fu=Ni.touch,this.handleDragStop(l)))}componentDidMount(){this.mounted=!0;const l=this.findDOMNode();l&&(0,Jr.addEvent)(l,Ni.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const l=this.findDOMNode();if(l){const{ownerDocument:a}=l;(0,Jr.removeEvent)(a,Ni.mouse.move,this.handleDrag),(0,Jr.removeEvent)(a,Ni.touch.move,this.handleDrag),(0,Jr.removeEvent)(a,Ni.mouse.stop,this.handleDragStop),(0,Jr.removeEvent)(a,Ni.touch.stop,this.handleDragStop),(0,Jr.removeEvent)(l,Ni.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Jr.removeUserSelectStyles)(a)}}findDOMNode(){var l,a;return(l=this.props)!==null&&l!==void 0&&l.nodeRef?(a=this.props)===null||a===void 0||(a=a.nodeRef)===null||a===void 0?void 0:a.current:QR.default.findDOMNode(this)}render(){return fg.cloneElement(fg.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};Jh.default=tv,ga(tv,"displayName","DraggableCore"),ga(tv,"propTypes",{allowAnyClick:Na.default.bool,children:Na.default.node.isRequired,disabled:Na.default.bool,enableUserSelectHack:Na.default.bool,offsetParent:function(n,l){if(n[l]&&n[l].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Na.default.arrayOf(Na.default.number),handle:Na.default.string,cancel:Na.default.string,nodeRef:Na.default.object,onStart:Na.default.func,onDrag:Na.default.func,onStop:Na.default.func,onMouseDown:Na.default.func,scale:Na.default.number,className:dg.dontSetMe,style:dg.dontSetMe,transform:dg.dontSetMe}),ga(tv,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"DraggableCore",{enumerable:!0,get:function(){return _.default}}),n.default=void 0;var l=C(Te),a=x(Yc.exports),s=x(hy.exports),d=x(xR),v=Hn,h=bo,g=Eo,_=x(Jh),p=x(ev);function x(B){return B&&B.__esModule?B:{default:B}}function w(B){if(typeof WeakMap!="function")return null;var A=new WeakMap,F=new WeakMap;return(w=function(N){return N?F:A})(B)}function C(B,A){if(!A&&B&&B.__esModule)return B;if(B===null||typeof B!="object"&&typeof B!="function")return{default:B};var F=w(A);if(F&&F.has(B))return F.get(B);var N={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in B)if(L!=="default"&&Object.prototype.hasOwnProperty.call(B,L)){var Y=H?Object.getOwnPropertyDescriptor(B,L):null;Y&&(Y.get||Y.set)?Object.defineProperty(N,L,Y):N[L]=B[L]}return N.default=B,F&&F.set(B,N),N}function E(){return E=Object.assign?Object.assign.bind():function(B){for(var A=1;A<arguments.length;A++){var F=arguments[A];for(var N in F)Object.prototype.hasOwnProperty.call(F,N)&&(B[N]=F[N])}return B},E.apply(this,arguments)}function T(B,A,F){return A=k(A),A in B?Object.defineProperty(B,A,{value:F,enumerable:!0,configurable:!0,writable:!0}):B[A]=F,B}function k(B){var A=O(B,"string");return typeof A=="symbol"?A:String(A)}function O(B,A){if(typeof B!="object"||B===null)return B;var F=B[Symbol.toPrimitive];if(F!==void 0){var N=F.call(B,A||"default");if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(B)}class M extends l.Component{static getDerivedStateFromProps(A,F){let{position:N}=A,{prevPropsPosition:H}=F;return N&&(!H||N.x!==H.x||N.y!==H.y)?((0,p.default)("Draggable: getDerivedStateFromProps %j",{position:N,prevPropsPosition:H}),{x:N.x,y:N.y,prevPropsPosition:{...N}}):null}constructor(A){super(A),T(this,"onDragStart",(F,N)=>{if((0,p.default)("Draggable: onDragStart: %j",N),this.props.onStart(F,(0,h.createDraggableData)(this,N))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),T(this,"onDrag",(F,N)=>{if(!this.state.dragging)return!1;(0,p.default)("Draggable: onDrag: %j",N);const H=(0,h.createDraggableData)(this,N),L={x:H.x,y:H.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Q,y:P}=L;L.x+=this.state.slackX,L.y+=this.state.slackY;const[I,$]=(0,h.getBoundPosition)(this,L.x,L.y);L.x=I,L.y=$,L.slackX=this.state.slackX+(Q-L.x),L.slackY=this.state.slackY+(P-L.y),H.x=L.x,H.y=L.y,H.deltaX=L.x-this.state.x,H.deltaY=L.y-this.state.y}if(this.props.onDrag(F,H)===!1)return!1;this.setState(L)}),T(this,"onDragStop",(F,N)=>{if(!this.state.dragging||this.props.onStop(F,(0,h.createDraggableData)(this,N))===!1)return!1;(0,p.default)("Draggable: onDragStop: %j",N);const L={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:Q,y:P}=this.props.position;L.x=Q,L.y=P}this.setState(L)}),this.state={dragging:!1,dragged:!1,x:A.position?A.position.x:A.defaultPosition.x,y:A.position?A.position.y:A.defaultPosition.y,prevPropsPosition:{...A.position},slackX:0,slackY:0,isElementSVG:!1},A.position&&(A.onDrag||A.onStop)}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var A,F;return(A=(F=this.props)===null||F===void 0||(F=F.nodeRef)===null||F===void 0?void 0:F.current)!==null&&A!==void 0?A:s.default.findDOMNode(this)}render(){const{axis:A,bounds:F,children:N,defaultPosition:H,defaultClassName:L,defaultClassNameDragging:Y,defaultClassNameDragged:Q,position:P,positionOffset:I,scale:$,...W}=this.props;let ne={},J=null;const ce=!Boolean(P)||this.state.dragging,V=P||H,ue={x:(0,h.canDragX)(this)&&ce?this.state.x:V.x,y:(0,h.canDragY)(this)&&ce?this.state.y:V.y};this.state.isElementSVG?J=(0,v.createSVGTransform)(ue,I):ne=(0,v.createCSSTransform)(ue,I);const Z=(0,d.default)(N.props.className||"",L,{[Y]:this.state.dragging,[Q]:this.state.dragged});return l.createElement(_.default,E({},W,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),l.cloneElement(l.Children.only(N),{className:Z,style:{...N.props.style,...ne},transform:J}))}}n.default=M,T(M,"displayName","Draggable"),T(M,"propTypes",{..._.default.propTypes,axis:a.default.oneOf(["both","x","y","none"]),bounds:a.default.oneOfType([a.default.shape({left:a.default.number,right:a.default.number,top:a.default.number,bottom:a.default.number}),a.default.string,a.default.oneOf([!1])]),defaultClassName:a.default.string,defaultClassNameDragging:a.default.string,defaultClassNameDragged:a.default.string,defaultPosition:a.default.shape({x:a.default.number,y:a.default.number}),positionOffset:a.default.shape({x:a.default.oneOfType([a.default.number,a.default.string]),y:a.default.oneOfType([a.default.number,a.default.string])}),position:a.default.shape({x:a.default.number,y:a.default.number}),className:g.dontSetMe,style:g.dontSetMe,transform:g.dontSetMe}),T(M,"defaultProps",{..._.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})}(ub);const{default:kb,DraggableCore:tk}=ub;Qh.exports=kb,Qh.exports.default=kb,Qh.exports.DraggableCore=tk;var hg={};hg.__esModule=!0,hg.cloneElement=lk;var nk=rk(Te);function rk(n){return n&&n.__esModule?n:{default:n}}function Ob(n,l){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);l&&(s=s.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),a.push.apply(a,s)}return a}function Bb(n){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?Ob(Object(a),!0).forEach(function(s){ak(n,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):Ob(Object(a)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(a,s))})}return n}function ak(n,l,a){return l=ik(l),l in n?Object.defineProperty(n,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[l]=a,n}function ik(n){var l=ok(n,"string");return typeof l=="symbol"?l:String(l)}function ok(n,l){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var s=a.call(n,l||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(n)}function lk(n,l){return l.style&&n.props.style&&(l.style=Bb(Bb({},n.props.style),l.style)),l.className&&n.props.className&&(l.className=n.props.className+" "+l.className),nk.default.cloneElement(n,l)}var fd={};fd.__esModule=!0,fd.resizableProps=void 0;var Tt=uk(Yc.exports);function uk(n){return n&&n.__esModule?n:{default:n}}var sk={axis:Tt.default.oneOf(["both","x","y","none"]),className:Tt.default.string,children:Tt.default.element.isRequired,draggableOpts:Tt.default.shape({allowAnyClick:Tt.default.bool,cancel:Tt.default.string,children:Tt.default.node,disabled:Tt.default.bool,enableUserSelectHack:Tt.default.bool,offsetParent:Tt.default.node,grid:Tt.default.arrayOf(Tt.default.number),handle:Tt.default.string,nodeRef:Tt.default.object,onStart:Tt.default.func,onDrag:Tt.default.func,onStop:Tt.default.func,onMouseDown:Tt.default.func,scale:Tt.default.number}),height:function(){for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];var d=a[0];if(d.axis==="both"||d.axis==="y"){var v;return(v=Tt.default.number).isRequired.apply(v,a)}return Tt.default.number.apply(Tt.default,a)},handle:Tt.default.oneOfType([Tt.default.node,Tt.default.func]),handleSize:Tt.default.arrayOf(Tt.default.number),lockAspectRatio:Tt.default.bool,maxConstraints:Tt.default.arrayOf(Tt.default.number),minConstraints:Tt.default.arrayOf(Tt.default.number),onResizeStop:Tt.default.func,onResizeStart:Tt.default.func,onResize:Tt.default.func,resizeHandles:Tt.default.arrayOf(Tt.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:Tt.default.number,width:function(){for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];var d=a[0];if(d.axis==="both"||d.axis==="x"){var v;return(v=Tt.default.number).isRequired.apply(v,a)}return Tt.default.number.apply(Tt.default,a)}};fd.resizableProps=sk,sd.__esModule=!0,sd.default=void 0;var dd=hk(Te),ck=Qh.exports,fk=hg,dk=fd,pk=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function Fb(n){if(typeof WeakMap!="function")return null;var l=new WeakMap,a=new WeakMap;return(Fb=function(d){return d?a:l})(n)}function hk(n,l){if(!l&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var a=Fb(l);if(a&&a.has(n))return a.get(n);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in n)if(v!=="default"&&Object.prototype.hasOwnProperty.call(n,v)){var h=d?Object.getOwnPropertyDescriptor(n,v):null;h&&(h.get||h.set)?Object.defineProperty(s,v,h):s[v]=n[v]}return s.default=n,a&&a.set(n,s),s}function vg(){return vg=Object.assign?Object.assign.bind():function(n){for(var l=1;l<arguments.length;l++){var a=arguments[l];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])}return n},vg.apply(this,arguments)}function vk(n,l){if(n==null)return{};var a={},s=Object.keys(n),d,v;for(v=0;v<s.length;v++)d=s[v],!(l.indexOf(d)>=0)&&(a[d]=n[d]);return a}function zb(n,l){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);l&&(s=s.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),a.push.apply(a,s)}return a}function mg(n){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?zb(Object(a),!0).forEach(function(s){mk(n,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):zb(Object(a)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(a,s))})}return n}function mk(n,l,a){return l=yk(l),l in n?Object.defineProperty(n,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[l]=a,n}function yk(n){var l=gk(n,"string");return typeof l=="symbol"?l:String(l)}function gk(n,l){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var s=a.call(n,l||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(n)}function xk(n,l){n.prototype=Object.create(l.prototype),n.prototype.constructor=n,yg(n,l)}function yg(n,l){return yg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,d){return s.__proto__=d,s},yg(n,l)}var gg=function(n){xk(l,n);function l(){for(var s,d=arguments.length,v=new Array(d),h=0;h<d;h++)v[h]=arguments[h];return s=n.call.apply(n,[this].concat(v))||this,s.handleRefs={},s.lastHandleRect=null,s.slack=null,s}var a=l.prototype;return a.componentWillUnmount=function(){this.resetData()},a.resetData=function(){this.lastHandleRect=this.slack=null},a.runConstraints=function(d,v){var h=this.props,g=h.minConstraints,_=h.maxConstraints,p=h.lockAspectRatio;if(!g&&!_&&!p)return[d,v];if(p){var x=this.props.width/this.props.height,w=d-this.props.width,C=v-this.props.height;Math.abs(w)>Math.abs(C*x)?v=d/x:d=v*x}var E=d,T=v,k=this.slack||[0,0],O=k[0],M=k[1];return d+=O,v+=M,g&&(d=Math.max(g[0],d),v=Math.max(g[1],v)),_&&(d=Math.min(_[0],d),v=Math.min(_[1],v)),this.slack=[O+(E-d),M+(T-v)],[d,v]},a.resizeHandler=function(d,v){var h=this;return function(g,_){var p=_.node,x=_.deltaX,w=_.deltaY;d==="onResizeStart"&&h.resetData();var C=(h.props.axis==="both"||h.props.axis==="x")&&v!=="n"&&v!=="s",E=(h.props.axis==="both"||h.props.axis==="y")&&v!=="e"&&v!=="w";if(!(!C&&!E)){var T=v[0],k=v[v.length-1],O=p.getBoundingClientRect();if(h.lastHandleRect!=null){if(k==="w"){var M=O.left-h.lastHandleRect.left;x+=M}if(T==="n"){var B=O.top-h.lastHandleRect.top;w+=B}}h.lastHandleRect=O,k==="w"&&(x=-x),T==="n"&&(w=-w);var A=h.props.width+(C?x/h.props.transformScale:0),F=h.props.height+(E?w/h.props.transformScale:0),N=h.runConstraints(A,F);A=N[0],F=N[1];var H=A!==h.props.width||F!==h.props.height,L=typeof h.props[d]=="function"?h.props[d]:null,Y=d==="onResize"&&!H;L&&!Y&&(g.persist==null||g.persist(),L(g,{node:p,size:{width:A,height:F},handle:v})),d==="onResizeStop"&&h.resetData()}}},a.renderResizeHandle=function(d,v){var h=this.props.handle;if(!h)return dd.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+d,ref:v});if(typeof h=="function")return h(d,v);var g=typeof h.type=="string",_=mg({ref:v},g?{}:{handleAxis:d});return dd.cloneElement(h,_)},a.render=function(){var d=this,v=this.props,h=v.children,g=v.className,_=v.draggableOpts;v.width,v.height,v.handle,v.handleSize,v.lockAspectRatio,v.axis,v.minConstraints,v.maxConstraints,v.onResize,v.onResizeStop,v.onResizeStart;var p=v.resizeHandles;v.transformScale;var x=vk(v,pk);return(0,fk.cloneElement)(h,mg(mg({},x),{},{className:(g?g+" ":"")+"react-resizable",children:[].concat(h.props.children,p.map(function(w){var C,E=(C=d.handleRefs[w])!=null?C:d.handleRefs[w]=dd.createRef();return dd.createElement(ck.DraggableCore,vg({},_,{nodeRef:E,key:"resizableHandle-"+w,onStop:d.resizeHandler("onResizeStop",w),onStart:d.resizeHandler("onResizeStart",w),onDrag:d.resizeHandler("onResize",w)}),d.renderResizeHandle(w,E))}))}))},l}(dd.Component);sd.default=gg,gg.propTypes=dk.resizableProps,gg.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1};var nv={};nv.__esModule=!0,nv.default=void 0;var xg=bk(Te),_k=Mb(Yc.exports),Ck=Mb(sd),Sk=fd,Ek=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function Mb(n){return n&&n.__esModule?n:{default:n}}function Nb(n){if(typeof WeakMap!="function")return null;var l=new WeakMap,a=new WeakMap;return(Nb=function(d){return d?a:l})(n)}function bk(n,l){if(!l&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var a=Nb(l);if(a&&a.has(n))return a.get(n);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in n)if(v!=="default"&&Object.prototype.hasOwnProperty.call(n,v)){var h=d?Object.getOwnPropertyDescriptor(n,v):null;h&&(h.get||h.set)?Object.defineProperty(s,v,h):s[v]=n[v]}return s.default=n,a&&a.set(n,s),s}function _g(){return _g=Object.assign?Object.assign.bind():function(n){for(var l=1;l<arguments.length;l++){var a=arguments[l];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])}return n},_g.apply(this,arguments)}function Lb(n,l){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);l&&(s=s.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),a.push.apply(a,s)}return a}function rv(n){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?Lb(Object(a),!0).forEach(function(s){wk(n,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):Lb(Object(a)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(a,s))})}return n}function wk(n,l,a){return l=Dk(l),l in n?Object.defineProperty(n,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[l]=a,n}function Dk(n){var l=Tk(n,"string");return typeof l=="symbol"?l:String(l)}function Tk(n,l){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var s=a.call(n,l||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(n)}function Ak(n,l){if(n==null)return{};var a={},s=Object.keys(n),d,v;for(v=0;v<s.length;v++)d=s[v],!(l.indexOf(d)>=0)&&(a[d]=n[d]);return a}function Rk(n,l){n.prototype=Object.create(l.prototype),n.prototype.constructor=n,Cg(n,l)}function Cg(n,l){return Cg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,d){return s.__proto__=d,s},Cg(n,l)}var Ub=function(n){Rk(l,n);function l(){for(var s,d=arguments.length,v=new Array(d),h=0;h<d;h++)v[h]=arguments[h];return s=n.call.apply(n,[this].concat(v))||this,s.state={width:s.props.width,height:s.props.height,propsWidth:s.props.width,propsHeight:s.props.height},s.onResize=function(g,_){var p=_.size;s.props.onResize?(g.persist==null||g.persist(),s.setState(p,function(){return s.props.onResize&&s.props.onResize(g,_)})):s.setState(p)},s}l.getDerivedStateFromProps=function(d,v){return v.propsWidth!==d.width||v.propsHeight!==d.height?{width:d.width,height:d.height,propsWidth:d.width,propsHeight:d.height}:null};var a=l.prototype;return a.render=function(){var d=this.props,v=d.handle,h=d.handleSize;d.onResize;var g=d.onResizeStart,_=d.onResizeStop,p=d.draggableOpts,x=d.minConstraints,w=d.maxConstraints,C=d.lockAspectRatio,E=d.axis;d.width,d.height;var T=d.resizeHandles,k=d.style,O=d.transformScale,M=Ak(d,Ek);return xg.createElement(Ck.default,{axis:E,draggableOpts:p,handle:v,handleSize:h,height:this.state.height,lockAspectRatio:C,maxConstraints:w,minConstraints:x,onResizeStart:g,onResize:this.onResize,onResizeStop:_,resizeHandles:T,transformScale:O,width:this.state.width},xg.createElement("div",_g({},M,{style:rv(rv({},k),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},l}(xg.Component);nv.default=Ub,Ub.propTypes=rv(rv({},Sk.resizableProps),{},{children:_k.default.element}),Jy.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")};var kk=Jy.exports.Resizable=sd.default;Jy.exports.ResizableBox=nv.default;const Ok={search:"search-table-module_search_17add",table:"search-table-module_table_5f652"},Bk=n=>{const{onResize:l,width:a,resizeable:s,...d}=n;return!a||!s?de("th",{...d}):de(kk,{width:a||200,height:0,onResize:l,draggableOpts:{enableUserSelectHack:!1},children:de("th",{...d})})};function Fk(n){const{tableProps:l={},searchProps:a}=n,{minColumnWidth:s=200,resizeable:d=!1,tableId:v,storageKey:h="szld_table_cell_width",emptyText:g,..._}=l,[p,x]=Te.useState(l.columns||[]),w=k=>{var M,B;let O=k.width||s;if(k.dataIndex&&v){const A=Array.isArray(k.dataIndex)?k.dataIndex.join("-"):String(k.dataIndex),F=(B=(M=_y(h))==null?void 0:M[v])==null?void 0:B[A];F&&(O=F)}return O};Te.useEffect(()=>{const k=l.columns||[];if(k.length===0||!d){x(k);return}const O=k==null?void 0:k.filter(M=>!M.hidden).map(M=>M.dataIndex?{...M,width:w(M),onHeaderCell:B=>({width:B.width,resizeable:d,onResize:(A,{size:F})=>C(B,F)})}:M);O.length>0&&(O[O.length-1].minWidth=O[O.length-1].width,O[O.length-1].width=void 0),x(O)},[l.columns,v,s,d]);const C=(k,O)=>{x(M=>{const B=M==null?void 0:M.map(A=>A.dataIndex===k.dataIndex?{...A,width:O.width}:A);if(v){const A=_y(h)||{};A[v]=A[v]||{},B==null||B.forEach(F=>{if(F.dataIndex){const N=Array.isArray(F.dataIndex)?F.dataIndex.join("-"):String(F.dataIndex);A[v][N]=F.width}}),localStorage.setItem(h,JSON.stringify(A))}return B})},E={header:{cell:Bk},..._==null?void 0:_.components},T=Te.useMemo(()=>{var O;const k=M=>{let B=M.width||M.minWidth;return(!B||typeof B=="string")&&(B=s),B};return(O=p==null?void 0:p.map(M=>k(M)))==null?void 0:O.reduce((M,B)=>M+B,0)},[p,s]);return bt(yo,{children:[a&&de(Xy,{hiddenTitle:!0,...a,items:a.items}),de(De.Table,{scroll:{x:T},..._,components:E,columns:p,className:cl(Ok.table,l==null?void 0:l.className),locale:{emptyText:de(De.Empty,{image:De.Empty.PRESENTED_IMAGE_SIMPLE,description:g})},pagination:typeof(l==null?void 0:l.pagination)=="boolean"?l.pagination:{showPrevNextJumpers:!0,showQuickJumper:!0,showSizeChanger:!0,showTotal:k=>`共 ${k} 条`,...l==null?void 0:l.pagination}})]})}const zk={editableCellValueWrap:"editable-module_editableCellValueWrap_3b3d9"},Hb=Te.createContext(null),Mk=({index:n,...l})=>{const[a]=De.Form.useForm();return de(De.Form,{form:a,component:!1,children:de(Hb.Provider,{value:a,children:de("tr",{...l})})})};function Nk(n){const{title:l,editable:a,children:s,dataIndex:d,record:v,rules:h,onChange:g,type:_="input",valueProps:p,initialValue:x,...w}=n,C=Te.useRef(null),E=Te.useContext(Hb),T=async()=>{try{const M=await E.validateFields();g({...v,...M})}catch{}},k=()=>de(lb,{valueType:_,valueProps:{...p,onBlur:T,onPressEnter:T},inputRef:C});let O=s;return a&&(O=de(De.Form.Item,{style:{margin:0},initialValue:x||au.get(v,d),name:d,rules:h,children:k()})),de("td",{...w,children:O})}function Lk(n){const{columns:l,onChange:a,...s}=n,d={body:{row:Mk,cell:Nk}},v=l==null?void 0:l.map(h=>h.editable?{...h,onCell:g=>({...h,record:g,onChange:a})}:h);return de(De.Table,{...s,components:d,rowClassName:()=>zk.editableRow,columns:v})}const Pb=n=>{const{auth:l=!0,...a}=n;return l?de(De.Button,{...a}):null},Uk=n=>{const{PId:l,auths:a,...s}=n,d=Te.useMemo(()=>a?!!(typeof l=="number"&&a.find(v=>v.PId===l)||Array.isArray(l)&&a.filter(v=>l.includes(v.PId)).length>0):!1,[l,a]);return de(Pb,{...s,auth:d})},pd={wrapper:"LoopSlide-module_wrapper_dde90",container:"LoopSlide-module_container_be123",scrollContent:"LoopSlide-module_scrollContent_36ed7",content:"LoopSlide-module_content_f392a"},Hk=({speed:n=10,delay:l=1,timingFunction:a="linear",className:s="",style:d,children:v,height:h="100vh",mouseControl:g=!1,classes:_})=>{const p=Te.useRef(null),x=Te.useRef(null),w=Te.useRef(null),C=Te.useRef(null),E=Te.useRef(0),T=Te.useRef(),k=Te.useRef(0),O=Te.useMemo(()=>{if(!x.current||!w.current)return;const L=x.current,Y=w.current,Q=parseFloat(Y.scrollHeight.toString());return Q*2-L.clientHeight<Q},[]),M=()=>{if(!x.current||!w.current)return;const L=x.current,Y=w.current,Q=parseFloat(Y.scrollHeight.toString());if(Q*2<=L.clientHeight){L.style.animation="none";return}const P=Q/L.clientHeight;L.style.setProperty("--content-height",`${Q}px`),L.style.animationDuration=`${n*P}s`,L.style.animationDelay=`${l}s`,L.style.animationTimingFunction=a};Te.useEffect(()=>(M(),x.current&&(C.current=new ResizeObserver(M),C.current.observe(x.current)),()=>{C.current&&x.current&&C.current.unobserve(x.current)}),[n,l]);const B=()=>{g&&x.current&&(x.current.style.animationPlayState="paused")},A=()=>{g&&x.current&&(H(),x.current.style.animationPlayState="running")},F=()=>{if(!x.current||!g)return;const Y=x.current.getAnimations()[0];if(Y)if(Math.abs(E.current)>.1){const Q=performance.now(),P=Q-k.current;k.current=Q;const I=.95;E.current*=Math.pow(I,P/16);const $=Y.currentTime||0;Y.currentTime=$+E.current,T.current=requestAnimationFrame(F)}else E.current=0,H()},N=L=>{if(!g||!x.current)return;L.preventDefault();const Y=L.deltaY,Q=.25;E.current+=Y*Q;const P=50;E.current=Math.max(-P,Math.min(P,E.current)),T.current||(k.current=performance.now(),T.current=requestAnimationFrame(F))},H=()=>{T.current&&(cancelAnimationFrame(T.current),T.current=void 0)};return Te.useEffect(()=>()=>{H()},[]),Te.useEffect(()=>{const L=p.current;if(L)return g&&L.addEventListener("wheel",N,{passive:!1}),()=>{L.removeEventListener("wheel",N)}},[g]),de("div",{ref:p,className:`${pd.wrapper} ${s}`,style:{height:h,...d},onMouseEnter:B,onMouseLeave:A,children:bt("div",{ref:x,className:cl(pd.container,_==null?void 0:_.container),children:[de("div",{ref:w,className:cl(pd.content,_==null?void 0:_.content),children:v}),de("div",{className:cl(pd.content,_==null?void 0:_.content),children:v}),O&&de("div",{className:cl(pd.content,_==null?void 0:_.content),children:v})]})})},hr={main:"workflownode-module_main_dce7f",item:"workflownode-module_item_73d7c",tail:"workflownode-module_tail_3cb51",node:"workflownode-module_node_005fd",content:"workflownode-module_content_8334f",btn:"workflownode-module_btn_b0c06",collpase:"workflownode-module_collpase_f2468",title:"workflownode-module_title_cb34c",dateWrapper:"workflownode-module_dateWrapper_94849",remark:"workflownode-module_remark_4f910",itemActive:"workflownode-module_itemActive_2a29d",itemDone:"workflownode-module_itemDone_489bc",itemUnDo:"workflownode-module_itemUnDo_2914c"},jb=n=>{const{data:l,current:a,rowKey:s,renderContent:d}=n,[v,h]=Te.useState(!1),g=Te.useMemo(()=>n.currentIndex!==void 0?n.currentIndex:!a||l.length===0?0:l.findIndex(w=>w.PNId===a),[a,l]),_=Te.useMemo(()=>g>1?v?0:g-1:0,[g,v]),p=()=>{h(!0)};return bt("ul",{className:hr.main,children:[g>1&&!v&&bt("li",{className:cl(hr.item,hr.itemDone),children:[de("div",{className:hr.tail}),de("div",{className:hr.node}),de("div",{className:hr.content,children:bt("div",{className:hr.collpase,children:[bt("div",{children:["已收起",de("span",{children:g-1}),"个节点"]}),bt("a",{className:hr.btn,onClick:p,children:["展开节点",de(SD,{})]})]})})]}),l.slice(_).map((x,w)=>bt("li",{className:cl(hr.item,g===w+_?hr.itemActive:g>w+_?hr.itemDone:hr.itemUnDo),children:[de("div",{className:hr.tail}),de("div",{className:hr.node}),bt("div",{className:hr.content,children:[d?d(x,w,v?g:g-_):bt(yo,{children:[de("div",{className:hr.title,children:x.PNName}),bt("div",{className:hr.dateWrapper,children:[x.PlanFinishDate&&bt("span",{children:["预计完成时间: ",x.PlanFinishDate]}),x.UpdateTime&&bt("span",{style:{color:"#333",fontWeight:"bold"},children:["实际完成时间: ",x.UpdateTime]})]}),x.Remark&&de("div",{className:hr.remark,children:x.Remark})]}),v&&g-1===w&&bt("a",{className:hr.btn,onClick:()=>h(!1),children:["收起节点 ",de(YD,{})]})]})]},typeof s=="string"?x[s]:s(x)))]})},Pk=n=>{const{current:l,data:a,rowKey:s,renderContent:d,currentIndex:v,...h}=n;return(()=>{De.Modal.info({icon:null,title:"流程节点",width:700,content:de(jb,{rowKey:s,renderContent:d,current:l,currentIndex:v,data:a}),closable:!0,footer:null,maskClosable:!0,...h})})(),null},Ib={customPagination:"custom-pagination-module_customPagination_bb6f7",jumpBtns:"custom-pagination-module_jumpBtns_a6c0b"};function jk(n){const{totalText:l="共",unitText:a="条",jumpText:s="跳至",pageText:d="页",paginationProps:v}=n,[h,g]=Te.useState(""),_=(v==null?void 0:v.pageSize)||10,p=C=>{g(C.target.value)},x=C=>{var E;g(""),!Number.isNaN(Number(C.target.value))&&((E=v==null?void 0:v.onChange)==null||E.call(v,Number(C.target.value),_))},w=C=>{var E;if(C.key==="Enter"){if(g(""),Number.isNaN(Number(h)))return;(E=v==null?void 0:v.onChange)==null||E.call(v,Number(h),_)}};return bt("div",{className:Ib.customPagination,children:[de(De.Pagination,{showTotal:C=>`${l} ${C} ${a}`,showSizeChanger:{options:[{label:`10 ${a}/${d}`,value:10},{label:`20 ${a}/${d}`,value:20},{label:`50 ${a}/${d}`,value:50},{label:`100 ${a}/${d}`,value:100}]},...v}),bt("div",{className:Ib.jumpBtns,children:[s,de(De.Input,{style:{width:"50px",margin:"0 8px"},value:h,onChange:p,onBlur:C=>x(C),onKeyDown:C=>w(C)}),d]})]})}var $b={exports:{}};(function(n,l){(function(a,s){n.exports=s()})(Dt,function(){var a=1e3,s=6e4,d=36e5,v="millisecond",h="second",g="minute",_="hour",p="day",x="week",w="month",C="quarter",E="year",T="date",k="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,M=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,B={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ne){var J=["th","st","nd","rd"],K=ne%100;return"["+ne+(J[(K-20)%10]||J[K]||J[0])+"]"}},A=function(ne,J,K){var ce=String(ne);return!ce||ce.length>=J?ne:""+Array(J+1-ce.length).join(K)+ne},F={s:A,z:function(ne){var J=-ne.utcOffset(),K=Math.abs(J),ce=Math.floor(K/60),V=K%60;return(J<=0?"+":"-")+A(ce,2,"0")+":"+A(V,2,"0")},m:function ne(J,K){if(J.date()<K.date())return-ne(K,J);var ce=12*(K.year()-J.year())+(K.month()-J.month()),V=J.clone().add(ce,w),ue=K-V<0,Z=J.clone().add(ce+(ue?-1:1),w);return+(-(ce+(K-V)/(ue?V-Z:Z-V))||0)},a:function(ne){return ne<0?Math.ceil(ne)||0:Math.floor(ne)},p:function(ne){return{M:w,y:E,w:x,d:p,D:T,h:_,m:g,s:h,ms:v,Q:C}[ne]||String(ne||"").toLowerCase().replace(/s$/,"")},u:function(ne){return ne===void 0}},N="en",H={};H[N]=B;var L="$isDayjsObject",Y=function(ne){return ne instanceof $||!(!ne||!ne[L])},Q=function ne(J,K,ce){var V;if(!J)return N;if(typeof J=="string"){var ue=J.toLowerCase();H[ue]&&(V=ue),K&&(H[ue]=K,V=ue);var Z=J.split("-");if(!V&&Z.length>1)return ne(Z[0])}else{var G=J.name;H[G]=J,V=G}return!ce&&V&&(N=V),V||!ce&&N},P=function(ne,J){if(Y(ne))return ne.clone();var K=typeof J=="object"?J:{};return K.date=ne,K.args=arguments,new $(K)},I=F;I.l=Q,I.i=Y,I.w=function(ne,J){return P(ne,{locale:J.$L,utc:J.$u,x:J.$x,$offset:J.$offset})};var $=function(){function ne(K){this.$L=Q(K.locale,null,!0),this.parse(K),this.$x=this.$x||K.x||{},this[L]=!0}var J=ne.prototype;return J.parse=function(K){this.$d=function(ce){var V=ce.date,ue=ce.utc;if(V===null)return new Date(NaN);if(I.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var Z=V.match(O);if(Z){var G=Z[2]-1||0,te=(Z[7]||"0").substring(0,3);return ue?new Date(Date.UTC(Z[1],G,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,te)):new Date(Z[1],G,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,te)}}return new Date(V)}(K),this.init()},J.init=function(){var K=this.$d;this.$y=K.getFullYear(),this.$M=K.getMonth(),this.$D=K.getDate(),this.$W=K.getDay(),this.$H=K.getHours(),this.$m=K.getMinutes(),this.$s=K.getSeconds(),this.$ms=K.getMilliseconds()},J.$utils=function(){return I},J.isValid=function(){return this.$d.toString()!==k},J.isSame=function(K,ce){var V=P(K);return this.startOf(ce)<=V&&V<=this.endOf(ce)},J.isAfter=function(K,ce){return P(K)<this.startOf(ce)},J.isBefore=function(K,ce){return this.endOf(ce)<P(K)},J.$g=function(K,ce,V){return I.u(K)?this[ce]:this.set(V,K)},J.unix=function(){return Math.floor(this.valueOf()/1e3)},J.valueOf=function(){return this.$d.getTime()},J.startOf=function(K,ce){var V=this,ue=!!I.u(ce)||ce,Z=I.p(K),G=function(Ie,Ne){var ct=I.w(V.$u?Date.UTC(V.$y,Ne,Ie):new Date(V.$y,Ne,Ie),V);return ue?ct:ct.endOf(p)},te=function(Ie,Ne){return I.w(V.toDate()[Ie].apply(V.toDate("s"),(ue?[0,0,0,0]:[23,59,59,999]).slice(Ne)),V)},se=this.$W,re=this.$M,xe=this.$D,be="set"+(this.$u?"UTC":"");switch(Z){case E:return ue?G(1,0):G(31,11);case w:return ue?G(1,re):G(0,re+1);case x:var Be=this.$locale().weekStart||0,Se=(se<Be?se+7:se)-Be;return G(ue?xe-Se:xe+(6-Se),re);case p:case T:return te(be+"Hours",0);case _:return te(be+"Minutes",1);case g:return te(be+"Seconds",2);case h:return te(be+"Milliseconds",3);default:return this.clone()}},J.endOf=function(K){return this.startOf(K,!1)},J.$set=function(K,ce){var V,ue=I.p(K),Z="set"+(this.$u?"UTC":""),G=(V={},V[p]=Z+"Date",V[T]=Z+"Date",V[w]=Z+"Month",V[E]=Z+"FullYear",V[_]=Z+"Hours",V[g]=Z+"Minutes",V[h]=Z+"Seconds",V[v]=Z+"Milliseconds",V)[ue],te=ue===p?this.$D+(ce-this.$W):ce;if(ue===w||ue===E){var se=this.clone().set(T,1);se.$d[G](te),se.init(),this.$d=se.set(T,Math.min(this.$D,se.daysInMonth())).$d}else G&&this.$d[G](te);return this.init(),this},J.set=function(K,ce){return this.clone().$set(K,ce)},J.get=function(K){return this[I.p(K)]()},J.add=function(K,ce){var V,ue=this;K=Number(K);var Z=I.p(ce),G=function(re){var xe=P(ue);return I.w(xe.date(xe.date()+Math.round(re*K)),ue)};if(Z===w)return this.set(w,this.$M+K);if(Z===E)return this.set(E,this.$y+K);if(Z===p)return G(1);if(Z===x)return G(7);var te=(V={},V[g]=s,V[_]=d,V[h]=a,V)[Z]||1,se=this.$d.getTime()+K*te;return I.w(se,this)},J.subtract=function(K,ce){return this.add(-1*K,ce)},J.format=function(K){var ce=this,V=this.$locale();if(!this.isValid())return V.invalidDate||k;var ue=K||"YYYY-MM-DDTHH:mm:ssZ",Z=I.z(this),G=this.$H,te=this.$m,se=this.$M,re=V.weekdays,xe=V.months,be=V.meridiem,Be=function(Ne,ct,Fe,ft){return Ne&&(Ne[ct]||Ne(ce,ue))||Fe[ct].slice(0,ft)},Se=function(Ne){return I.s(G%12||12,Ne,"0")},Ie=be||function(Ne,ct,Fe){var ft=Ne<12?"AM":"PM";return Fe?ft.toLowerCase():ft};return ue.replace(M,function(Ne,ct){return ct||function(Fe){switch(Fe){case"YY":return String(ce.$y).slice(-2);case"YYYY":return I.s(ce.$y,4,"0");case"M":return se+1;case"MM":return I.s(se+1,2,"0");case"MMM":return Be(V.monthsShort,se,xe,3);case"MMMM":return Be(xe,se);case"D":return ce.$D;case"DD":return I.s(ce.$D,2,"0");case"d":return String(ce.$W);case"dd":return Be(V.weekdaysMin,ce.$W,re,2);case"ddd":return Be(V.weekdaysShort,ce.$W,re,3);case"dddd":return re[ce.$W];case"H":return String(G);case"HH":return I.s(G,2,"0");case"h":return Se(1);case"hh":return Se(2);case"a":return Ie(G,te,!0);case"A":return Ie(G,te,!1);case"m":return String(te);case"mm":return I.s(te,2,"0");case"s":return String(ce.$s);case"ss":return I.s(ce.$s,2,"0");case"SSS":return I.s(ce.$ms,3,"0");case"Z":return Z}return null}(Ne)||Z.replace(":","")})},J.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},J.diff=function(K,ce,V){var ue,Z=this,G=I.p(ce),te=P(K),se=(te.utcOffset()-this.utcOffset())*s,re=this-te,xe=function(){return I.m(Z,te)};switch(G){case E:ue=xe()/12;break;case w:ue=xe();break;case C:ue=xe()/3;break;case x:ue=(re-se)/6048e5;break;case p:ue=(re-se)/864e5;break;case _:ue=re/d;break;case g:ue=re/s;break;case h:ue=re/a;break;default:ue=re}return V?ue:I.a(ue)},J.daysInMonth=function(){return this.endOf(w).$D},J.$locale=function(){return H[this.$L]},J.locale=function(K,ce){if(!K)return this.$L;var V=this.clone(),ue=Q(K,ce,!0);return ue&&(V.$L=ue),V},J.clone=function(){return I.w(this.$d,this)},J.toDate=function(){return new Date(this.valueOf())},J.toJSON=function(){return this.isValid()?this.toISOString():null},J.toISOString=function(){return this.$d.toISOString()},J.toString=function(){return this.$d.toUTCString()},ne}(),W=$.prototype;return P.prototype=W,[["$ms",v],["$s",h],["$m",g],["$H",_],["$W",p],["$M",w],["$y",E],["$D",T]].forEach(function(ne){W[ne[1]]=function(J){return this.$g(J,ne[0],ne[1])}}),P.extend=function(ne,J){return ne.$i||(ne(J,$,P),ne.$i=!0),P},P.locale=Q,P.isDayjs=Y,P.unix=function(ne){return P(1e3*ne)},P.en=H[N],P.Ls=H,P.p={},P})})($b);const xa=$b.exports,Ik=n=>{const{input:l=""}=n.json||{};let a="请输入";return["radio","checkbox","select","mult-select","modal-select","date-picker","range-picker","multiple-date-picker","time-picker","week-picker","month-picker","quarter-picker","year-picker","second-picker"].includes(l)&&(a="请选择"),["image","file","video","audio"].includes(l)&&(a="请上传"),a},Ss=n=>{var s,d,v,h;const l=(s=n.json)==null?void 0:s.input;let a=n.attrvalue||((d=n.json)==null?void 0:d.default);if(l==="label"&&a&&(a=((v=n.json)==null?void 0:v["label-value"])??a??"-"),l==="range-picker"&&a)try{a=a==null?void 0:a.split("~"),a=a.map(g=>g)}catch{a=void 0}if(l==="multiple-date-picker"&&a)try{a=a==null?void 0:a.split(","),a=a.map(g=>xa())}catch{a=void 0}if(l==="cascader"&&a&&typeof a=="string"){const g=(h=n.json)==null?void 0:h["cascader-delimiter"];g&&(a=a.split(g).filter(Boolean))}if(["mult-select","checkbox"].includes(l)&&a&&typeof a=="string"&&(a=a.split(",").filter(Boolean)),["image","video","audio","file"].includes(l)&&a)try{a=(Array.isArray(a)?a:JSON.parse(a)).map(_=>({..._,url:_.FilePath,name:_.FileName,uid:_.FileId}))}catch{a=[]}return n.attrtype===1&&(a=Vk(n.children||[])),a||null},Vb=n=>n&&n<xa().startOf("day"),Yb=(n,l,a)=>{let s=[];return a.forEach(d=>{s.push(n==null?void 0:n[d])}),s.join(l||"-")},$k=async({commonRequestWidthParams:n,commonRequest:l,interfaceTypeDict:a="YLZDDictList",interfaceTypeSysDict:s="YLZDSysConfigList",actionUrlKey:d="action-url",actionUrlExtraParams:v={},item:h})=>{var x;let g=[];const _=async w=>{var E;let C=[];if(h.classify)try{const T=await l(w,{asctypeid:h.classify});(E=T==null?void 0:T.data)!=null&&E.list&&Array.isArray(T.data.list)&&(C=T.data.list.map(k=>({label:`${k.dicid||""}-${k.info||""}`,value:`${k.dicid||""}-${k.info||""}`})))}catch{De.message.error("加载选项失败")}return C},p=async()=>{var w,C;try{const E=((w=h==null?void 0:h["key-field"])==null?void 0:w.list)||[],T=((C=h==null?void 0:h["key-field"])==null?void 0:C.delimiter)||"";if(!E.length){De.message.error("请配置key-field");return}const k=await n({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{[d]:h==null?void 0:h["action-url"],...v});if(k!=null&&k.data){const O=k==null?void 0:k.data,M=(O==null?void 0:O.list)||[];let B=[];Array.isArray(O)&&(B=O),Array.isArray(M)&&(B=M),g=B.map(A=>({label:Yb(A,T,E),value:Yb(A,T,E)}))}}catch{De.message.error("加载选项失败")}};return h.inputType==="local"?(g=((x=h.data)==null?void 0:x.map(w=>({label:w,value:w})))||[],h.options&&Array.isArray(h.options)&&(g=h.options)):h.inputType==="dictionary"?g=await _(a):h.inputType==="system-dictionary"&&(g=await _(s)),h.inputType==="url"&&(h!=null&&h["action-url"])&&await p(),g},Vk=n=>{if(!(n!=null&&n.length))return[];const l=a=>a==null?void 0:a.map(s=>{const d={};return s.forEach(v=>{var h;(h=v==null?void 0:v.children)!=null&&h.length?d[v.attrid]=l(v.children):d[v.attrid]=v.attrvalue}),d});return l(n)};function av(n){try{return JSON.parse(n)}catch{return{}}}function Sg(n){if(!qb(n))return n;const l=atob(n),a=new Uint8Array(l.length);for(let s=0;s<l.length;s++)a[s]=l.charCodeAt(s);return new TextDecoder().decode(a)}function qb(n){return n?n.length%4!==0?!1:/^[A-Za-z0-9+/]+(?:=?=?)$/.test(n):!0}const Yk=(n,l,a)=>{let s=au.cloneDeep(n),d=[];const v=g=>{try{const _=new Map(g.map((p,x)=>[p.attrid,x]));for(const[p,x]of Object.entries(l)){const w=_.get(p);if(w===void 0)continue;const C=g[w];if(!x&&x!==0){C.attrvalue="";continue}h(C,x)}g.forEach(p=>{p.children&&Array.isArray(p.children)&&p.children.length>0&&!Array.isArray(p.children[0])&&v(p.children),p.children&&Array.isArray(p.children)&&p.children.length>0&&Array.isArray(p.children[0])&&p.children.forEach(x=>{x.children&&Array.isArray(x.children)&&v(x.children)})})}catch{}},h=(g,_)=>{var w,C,E,T;const p=(w=g.json)==null?void 0:w.input,x=(C=g.json)==null?void 0:C.format;switch(p){case"image":case"file":case"video":case"audio":const k=typeof _=="string"?JSON.parse(_):_;if(!Array.isArray(k)){g.attrvalue=JSON.stringify([]);return}const O=k.filter(A=>A.FileId),M=k.filter(A=>{var F;return A.status==="done"&&((F=A.response)==null?void 0:F.data)}).map(A=>A.response.data),B=[...O,...M];d=[...d,...M],g.attrvalue=JSON.stringify(B);break;case"cascader":if(Array.isArray(_)&&_.length>0){const A=((E=g.json)==null?void 0:E["cascader-delimiter"])||"/";g.attrvalue=_.join(A)}else g.attrvalue="";break;case"range-picker":Array.isArray(_)&&_.length>0?g.attrvalue=_.join("~"):g.attrvalue="";break;case"multiple-date-picker":Array.isArray(_)&&_.length>0?g.attrvalue=_.join(","):g.attrvalue=_;break;case"checkbox":case"mult-select":Array.isArray(_)&&_.length>0?g.attrvalue=_.join(","):g.attrvalue=_;break;case"date-picker":_?g.attrvalue=xa(_).format(x||"YYYY-MM-DD"):g.attrvalue="";break;case"time-picker":_?g.attrvalue=xa(_).format(x||"YYYY-MM-DD HH:mm:ss"):g.attrvalue="";break;default:(T=g==null?void 0:g.json)!=null&&T["properties-multiple"]||(g.attrvalue=_);break}};return s.attr_list&&Array.isArray(s.attr_list)&&v(s.attr_list),{updatedData:a?Zb(s.attr_list||[]):s,uploadedFiles:d}},Eg=(n,l)=>n.map(a=>{var v,h,g;const s=Gb(a,l),{children:d}=s;if(d&&!Array.isArray(d==null?void 0:d[0])&&(d!=null&&d.length)&&(s.children=[Eg(d)]),s!=null&&s.children&&Array.isArray((v=s==null?void 0:s.children)==null?void 0:v[0])&&((h=s==null?void 0:s.children)!=null&&h.length)){const _=(g=s==null?void 0:s.children)==null?void 0:g.map(p=>p==null?void 0:p.map(x=>Gb(x)));s.children=_}return s}),Gb=(n,l)=>{if(!n.json&&n.info)try{const a=n.info_base64===1?Sg(n.info):n.info,s=av(a);return{...n,json:s,...l}}catch{return{...n,json:{},...l}}return{...n,...l}},qk=(n,l)=>Eg(n,l),Wb=(n,l)=>{const a=Eg(n,l),s=a.filter(h=>{var g;return(g=h.json)==null?void 0:g.combination}).reduce((h,g)=>{const _=g.json["combination-id"];return _&&(h[_]||(h[_]=[]),h[_].push(g)),h},{}),d=new Set;Object.values(s).forEach(h=>{(h==null?void 0:h.length)!==0&&h.slice(1).forEach(g=>d.add(g.attrid))});const v=h=>h.filter(g=>!d.has(g.attrid)).map(g=>{var x;const _=(x=g.json)==null?void 0:x["combination-id"];if(_&&s[_]){const w={...g,json:{...g.json,combinations:s[_]}},{children:C}=w;return C&&Array.isArray(C==null?void 0:C[0])&&(C!=null&&C.length)&&(w.children=C==null?void 0:C.map(E=>v(E))),w}const{children:p}=g;return p&&Array.isArray(p==null?void 0:p[0])&&(p!=null&&p.length)&&(g.children=p==null?void 0:p.map(w=>v(w))),g});return v(a)},Gk=async({number:n,key:l,sourceNumber:a,guidInterfaceName:s,SelPCParamInterfaceName:d,servicerAttrListInterfaceName:v,accepterAttrListInterfaceName:h,defaultAttrListInterfaceName:g,commonRequest:_,guidParams:p,pcParam:x,attrReqKey:w="asid",attrListExtraParams:C={}})=>new Promise(async(E,T)=>{var N,H,L,Y;let k="",O=[],M={},B={};const A=await _(s||"FWDXGLCreateGUID",p||{"source-number":a});(A==null?void 0:A.ReturnValue)===1&&((N=A==null?void 0:A.data)!=null&&N.GUID)?k=A.data.GUID:T("获取GUID失败");const F=await _(d||"FWDXGLSelPCParam",x||{"source-number":a});if((F==null?void 0:F.ReturnValue)===1){const Q=(H=F.data[n])==null?void 0:H[l],P=(L=F.data[n])==null?void 0:L["properties-type"],I={server:v||"",accepter:h||""};B=F.data;const $=await _(I[P]||g,{[w]:Q,"source-number":a,...C});if(($==null?void 0:$.ReturnValue)===1&&$.data){const W=((Y=$.data)==null?void 0:Y.attr_list)||[];O=Wb(W),M={...$.data,attr_list:O},E({baseData:M,newGUID:k,attrListConfigs:O,selPCParam:B})}else T("请配置属性集")}else T("获取配置失败")}),Wk=async(n,l,a)=>await a(n,l);function Zk(n){return n.replace(/-([a-z])/g,function(l,a){return a.toUpperCase()})}const Zb=n=>{var d;function l(v){const h={};return v.forEach(g=>{var p,x,w,C,E;const _=`${g.attrid}_${g.attrtype}`;if(g.attrtype===1&&g.children.length>0&&!Array.isArray(g.children))h[_]={asid:((x=(p=g.children)==null?void 0:p[0])==null?void 0:x.asid)||"",data_list:[l(g.children)]};else if(g.attrtype===1&&g.children.length>0&&Array.isArray(g.children)){const{attrvalue:T=[],children:k=[]}=g||{};Array.isArray(T)&&(T!=null&&T.length)&&(g.children=T.map(O=>{}),h[_]={asid:((E=(C=(w=g.children)==null?void 0:w[0])==null?void 0:C[0])==null?void 0:E.asid)||"",data_list:g.children.map(O=>l(O))})}else h[_]=g.attrvalue}),h}const a=((d=n[0])==null?void 0:d.asid)||"",s=[l(n)];return{data:{asid:a,data_list:s}}},Kb=async({attrList:n,params:l,extra:a={},commonRequest:s})=>{var g;const d=await s("YLFWLRDataDetails",l),v=((g=d==null?void 0:d.data)==null?void 0:g.list)||[];return v.length?await Promise.all(v.map(async _=>await Promise.all((n==null?void 0:n.map(async x=>{const w={...x,...a};if(w.attrvalue=(_==null?void 0:_[x.attrid])||"",x.attrtype===1&&Array.isArray(x.children)&&x.children.length>0){const C=(_==null?void 0:_[x.attrid])||{};w.children=await Kb({attrList:x.children,params:C,extra:a,commonRequest:s})}return w}))||[])))||[]:n.map(_=>({..._,...a,attrvalue:"",children:[]}))},hd=(n,l,a)=>{let s=[];return a.forEach(d=>{s.push(n==null?void 0:n[d])}),s.join(l||"-")},Kk=Object.freeze(Object.defineProperty({__proto__:null,getJson:av,base64ToString:Sg,isBase64:qb,handleSubmitForm:Yk,handleBaseAttrList:qk,handleAttrList:Wb,handleFormConfig:Gk,handleOperationFile:Wk,handleKebabToCamel:Zk,handleAttrListToObj:Zb,handleAttrListToObjDetail:Kb,handleUrlOptions:hd,handleSelectOptions:async({commonRequestWidthParams:n,commonRequest:l,interfaceTypeDict:a="YLZDDictList",interfaceTypeSysDict:s="YLZDSysConfigList",actionUrlKey:d="action-url",actionUrlExtraParams:v={},item:h})=>{var x;let g=[];const _=async w=>{var E;let C=[];if(h.classify)try{const T=await l(w,{asctypeid:h.classify});(E=T==null?void 0:T.data)!=null&&E.list&&Array.isArray(T.data.list)&&(C=T.data.list.map(k=>({label:`${k.dicid||""}-${k.info||""}`,value:`${k.dicid||""}-${k.info||""}`})))}catch{De.message.error("加载选项失败")}return C},p=async()=>{var w,C;try{const E=((w=h==null?void 0:h["key-field"])==null?void 0:w.list)||[],T=((C=h==null?void 0:h["key-field"])==null?void 0:C.delimiter)||"";if(!E.length){De.message.error("请配置key-field");return}const k=await n({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{[d]:h==null?void 0:h["action-url"],...v});if(k!=null&&k.data){const O=k==null?void 0:k.data,M=(O==null?void 0:O.list)||[];let B=[];Array.isArray(O)&&(B=O),Array.isArray(M)&&(B=M),g=B.map(A=>({label:hd(A,T,E),value:hd(A,T,E)}))}}catch{De.message.error("加载选项失败")}};return h.inputType==="local"?(g=((x=h.data)==null?void 0:x.map(w=>({label:w,value:w})))||[],h.options&&Array.isArray(h.options)&&(g=h.options)):h.inputType==="dictionary"?g=await _(a):h.inputType==="system-dictionary"&&(g=await _(s)),h.inputType==="url"&&(h!=null&&h["action-url"])&&await p(),g}},Symbol.toStringTag,{value:"Module"}));var Qb={exports:{}};(function(n,l){(function(a,s){n.exports=s()})(Dt,function(){var a="day";return function(s,d,v){var h=function(p){return p.add(4-p.isoWeekday(),a)},g=d.prototype;g.isoWeekYear=function(){return h(this).year()},g.isoWeek=function(p){if(!this.$utils().u(p))return this.add(7*(p-this.isoWeek()),a);var x,w,C,E,T=h(this),k=(x=this.isoWeekYear(),w=this.$u,C=(w?v.utc:v)().year(x).startOf("year"),E=4-C.isoWeekday(),C.isoWeekday()>4&&(E+=7),C.add(E,a));return T.diff(k,"week")+1},g.isoWeekday=function(p){return this.$utils().u(p)?this.day()||7:this.day(this.day()%7?p:p-7)};var _=g.startOf;g.startOf=function(p,x){var w=this.$utils(),C=!!w.u(x)||x;return w.p(p)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):_.bind(this)(p,x)}}})})(Qb);const Qk=Qb.exports;function Xk(n){const{item:l,disabled:a,style:s,commonRequestWidthParams:d,CustomModalComponent:v}=n,{message:h}=De.App.useApp(),g=l.input,[_,p]=Te.useState(n.value),[x,w]=Te.useState(!1),[C,E]=Te.useState([]),[T,k]=Te.useState([]),[O,M]=Te.useState(!1),[B,A]=Te.useState({PageNum:1,PageSize:6}),[F,N]=Te.useState([]),[H,L]=Te.useState(0),Y=ne();Te.useEffect(()=>{x&&P()},[x,B]);const Q=(K,ce)=>{E(K),k(ce)},P=async()=>{var K;if(l.inputType==="url"&&(l!=null&&l["action-url"])){M(!0);try{const ce=await d({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{"action-url":l==null?void 0:l["action-url"],...B});if((ce==null?void 0:ce.ReturnValue)===0){h.error(ce.msg),M(!1);return}const V=ce==null?void 0:ce.data,ue=(K=V==null?void 0:V.list)==null?void 0:K.map((G,te)=>{const se=(B.PageNum-1)*B.PageSize+te;return{...G,_rowKey:se}}),Z=(ue==null?void 0:ue.filter(G=>C.includes(G._rowKey)))||[];k(Z),N([...ue||[]]),L((V==null?void 0:V.number)||0),M(!1)}catch(ce){M(!1),h.error(ce.msg||"参数错误")}return}h.error("请配置action-url")},I=()=>{var K,ce;if(!a){if(_){const V=((K=l==null?void 0:l["key-field"])==null?void 0:K.list)??[],ue=((ce=l==null?void 0:l["key-field"])==null?void 0:ce.delimiter)??"-";if(!V.length){h.error("请配置key-field");return}switch(g){case"modal-select":const Z=_==null?void 0:_.split("-"),G=F==null?void 0:F.findIndex(re=>Z.includes((re==null?void 0:re.typeid)||(re==null?void 0:re.instanceid)));E([G]);break;case"modal-mult-select":const te=_==null?void 0:_.split(","),se=te==null?void 0:te.map(re=>{var be;const xe=(be=re.split(ue))==null?void 0:be[0];return F==null?void 0:F.findIndex(Be=>xe.includes((Be==null?void 0:Be.typeid)||(Be==null?void 0:Be.instanceid)))});E(se);break}}w(!0)}},$=async()=>{try{const K=await Jk(T,l);p(K),n.onSure(K),w(!1)}catch(K){h.error(K.msg||"参数错误")}},W=()=>{A({...B,PageNum:1}),w(!1)};function ne(){const K=l["modal-field-list"];let ce=[];for(let V in K){let ue=K[V];const Z={dataIndex:V,title:ue};ce=[...ce,Z]}return ce}const J=K=>{A({...B,PageNum:K})};return bt(yo,{children:[de(De.Select,{placeholder:(l==null?void 0:l.message)||"请选择",onClick:I,value:_,open:!1,disabled:a,style:s}),v&&de(v,{title:l["modal-caption"]||"",open:x,onOk:$,onCancel:W,modalStyle:{width:l["modal-width"]??600,minHeight:l["modal-height"]??400},children:de(De.Table,{columns:Y,loading:O,dataSource:F,rowKey:K=>K._rowKey,scroll:{y:"calc(80vh - 300px)"},rowSelection:{type:g==="modal-select"?"radio":"checkbox",selectedRowKeys:C,onChange:Q},pagination:{total:H,current:B.PageNum,pageSize:B.PageSize,onChange:J}})})||de(De.Modal,{title:l["modal-caption"],open:x,onOk:$,onCancel:W,width:l["modal-width"]??600,okButtonProps:{disabled:C.length===0},children:de(De.Table,{columns:Y,loading:O,dataSource:F,rowKey:K=>K._rowKey,rowSelection:{type:g==="modal-select"?"radio":"checkbox",selectedRowKeys:C,onChange:Q},pagination:{total:H,current:B.PageNum,pageSize:B.PageSize,onChange:J}})})]})}function Jk(n,l){return new Promise((a,s)=>{try{var d=l["key-field"];if(!d){s({msg:"请配置key-field"});return}var v=(d==null?void 0:d.list)??[];let h=n.map(g=>v.map(p=>g[p]).join((d==null?void 0:d.delimiter)||"-")).join(",");a(h)}catch{s({msg:"key-field参数配置错误"})}})}const e7=n=>{const{item:l,onChange:a,readonly:s=!1,options:d,radioAlign:v="horizontal",commonRequestWidthParams:h,commonRequest:g,handleUrlOptions:_,value:p,interfaceTypeDict:x,interfaceTypeSysDict:w,actionUrlKey:C,actionUrlExtraParams:E}=n,{message:T}=De.App.useApp(),[k,O]=Te.useState([]),[M,B]=Te.useState(p||[]);Te.useEffect(()=>{if((l==null?void 0:l.inputType)==="local"){const N=(l==null?void 0:l.data)||[];O(N.map(H=>({value:H,label:H})))}else(l==null?void 0:l.inputType)==="dictionary"?A(l.classify,x):(l==null?void 0:l.inputType)==="system-dictionary"?A(l.classify,w):(l==null?void 0:l.inputType)==="url"&&F()},[l==null?void 0:l.inputType]);const A=async(N,H)=>{var Y;if(!N)return;const L=await g(H,{asctypeid:N});if((L==null?void 0:L.ReturnValue)===1){const Q=((Y=L==null?void 0:L.data)==null?void 0:Y.list)||[];O(Q.map(P=>{const I=P.dicid+"-"+P.info;return{value:I,label:I}}))}},F=async()=>{var N,H;try{const L=((N=l==null?void 0:l["key-field"])==null?void 0:N.list)||[],Y=((H=l==null?void 0:l["key-field"])==null?void 0:H.delimiter)||"";if(!L.length){T.error("请配置key-field");return}const Q=await h({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{[C]:l==null?void 0:l["action-url"],...E});if(Q!=null&&Q.data){const P=Q==null?void 0:Q.data,I=P==null?void 0:P.list;let $=[];Array.isArray(P)&&($=P),Array.isArray(I)&&($=I);const W=$.map(ne=>({label:_(ne,Y,L),value:_(ne,Y,L)}));O([...W])}}catch{T.error("加载选项失败")}finally{}};return de(De.Checkbox.Group,{...d,options:k,value:M,style:v==="vertical"?{display:"flex",flexDirection:"column",gap:"8px",width:"100%"}:{width:"100%"},onChange:N=>{B(N),a==null||a(N)},disabled:s})},t7=({item:n,readonly:l,value:a,onChange:s,style:d,commonRequestWidthParams:v,commonRequest:h,interfaceTypeDict:g,interfaceTypeSysDict:_,actionUrlKey:p,actionUrlExtraParams:x})=>{const[w,C]=Te.useState([]),[E,T]=Te.useState(!1),{message:k}=De.App.useApp();Te.useEffect(()=>{O()},[n.inputType,n.classify,n.data,n.options]);const O=async()=>{if(n.inputType==="local"){let H=[];n.data&&Array.isArray(n.data)?H=n.data.map(L=>({label:L,value:L})):n.options&&Array.isArray(n.options)&&(H=n.options),C(H)}else if(n.inputType==="dictionary")await M(_);else if(n.inputType==="system-dictionary")M(_);else if(n.inputType==="url"&&(n!=null&&n["action-url"])){const H=await A();H&&Array.isArray(H)&&C(H)}else{let H=[];n.data&&Array.isArray(n.data)?H=n.data.map(L=>({label:L,value:L})):n.options&&Array.isArray(n.options)&&(H=n.options),C(H)}},M=async H=>{var L;if(n.classify){T(!0);try{const Y=await h(H,{asctypeid:n.classify});if((L=Y==null?void 0:Y.data)!=null&&L.list&&Array.isArray(Y.data.list)){const Q=Y.data.list.map(P=>({label:`${P.dicid||""}-${P.info||""}`,value:`${P.dicid||""}-${P.info||""}`}));C(Q)}}catch{k.error("加载选项失败")}finally{T(!1)}}},B=(H,L)=>{s&&s(H)},A=async H=>new Promise(async(L,Y)=>{var W,ne,J;const Q=((W=n==null?void 0:n["key-field"])==null?void 0:W.list)||[],P=(n==null?void 0:n["search-field"])||[],I=((ne=n==null?void 0:n["key-field"])==null?void 0:ne.delimiter)||"-";if(!Q.length){k.error("请配置key-field");return}const $={[p]:n==null?void 0:n["action-url"],...x};H&&(P.forEach(K=>{$[K]=H[K]||""}),$.level=Number(H.level||0)+1||""),T(!0);try{const K=await v({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},$);if((J=K==null?void 0:K.data)!=null&&J.list&&Array.isArray(K.data.list)){const ce=K.data.list.map(V=>({...V,label:`${V[Q[0]]||""}${I}${V[Q[1]]||""}`,value:`${V[Q[0]]||""}${I}${V[Q[1]]||""}`,children:[],isLeaf:(V==null?void 0:V.subcount)===0}));L(ce)}Y([])}catch{k.error("加载选项失败"),Y([])}finally{Y([]),T(!1)}}),F=async H=>{const L=H[H.length-1],Y=await A(L)||[];return L.children=Y,C([...w]),Y},N=(H,L)=>L.some(Y=>Y.label.toLowerCase().includes(H.toLowerCase()));return de(De.Cascader,{showSearch:{filter:N},loading:E,placeholder:"请选择",loadData:F,disabled:l,onChange:B,style:{...d},options:w,value:a,onOpenChange:async H=>{var L;if(H&&(a!=null&&a.length)){const Y=((L=n==null?void 0:n["key-field"])==null?void 0:L.list)||[],Q=(n==null?void 0:n["search-field"])||[];if(!Y.length||!Q.length){k.error("请配置key-field和search-field");return}const P=Y.findIndex(W=>W===Q[0]);if(P===-1){k.error("key-field与search-field配置不匹配");return}const I=a.map(W=>W.split("-")[P]||"").filter(Boolean);let $=w;for(const[W,ne]of I.entries()){if(W===I.length-1)break;const J=$.filter(V=>V[Q[0]]===ne);if(J.length===0)break;const K=J[0];if(K.children&&K.children.length>0){$=K.children;continue}$=await F(J)}}}})},n7=({item:n,readonly:l,value:a,onChange:s,style:d,commonRequestWidthParams:v})=>{const[h,g]=Te.useState([]),[_,p]=Te.useState(!1);Te.useEffect(()=>{(async()=>{var B;if(n.inputType==="url"&&n["action-url"]){p(!0);try{const A=await v({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{"action-url":n==null?void 0:n["action-url"]});(B=A==null?void 0:A.data)!=null&&B.list&&Array.isArray(A.data.list)?g(A.data.list):A!=null&&A.data&&Array.isArray(A.data)?g(A.data):Array.isArray(A==null?void 0:A.list)?g(A.list):(A==null?void 0:A.ReturnValue)===1&&(A!=null&&A.data)&&(Array.isArray(A.data)?g(A.data):g([A.data]))}catch{}finally{p(!1)}}else n.data&&Array.isArray(n.data)&&g(n.data)})()},[n.inputType,n["action-url"],n.data]);const x=M=>JSON.stringify(M),w=M=>{const B=x(M);return a===B},C=M=>{if(l)return;const B=x(M);s&&s(B)},E=n["card-image-width"]||200,T=n["card-image-height"]||100,k=n["card-image-field"],O=n["card-info-field"];return de("div",{style:{...d},children:_?de("div",{style:{textAlign:"center",padding:"20px"},children:"加载中..."}):de("div",{style:{display:"flex",flexWrap:"wrap",gap:"50px"},children:h.map((M,B)=>{const A=w(M);return bt("div",{onClick:()=>C(M),style:{flex:"1 1 auto",width:`${E}px`,padding:"12px",cursor:l?"not-allowed":"pointer",opacity:l?.6:1,transition:"all 0.3s"},children:[M[k]&&de("img",{src:M.picurl,alt:M[O]||"",style:{width:`${E}px`,height:`${T}px`,objectFit:"cover",borderRadius:"4px",marginBottom:"8px"},onError:F=>{F.currentTarget.style.display="none"}}),de("div",{style:{fontSize:"14px",color:"#333333"},children:bt(De.Space,{size:6,children:[de("div",{style:{width:"16px",height:"16px",borderRadius:"50%",border:A?"none":"1px solid #d9d9d9",backgroundColor:A?"var(--color-primary)":"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,cursor:l?"not-allowed":"pointer"},children:A&&de(cD,{style:{fontSize:"12px",color:"#fff"}})}),M[O]||""]})})]},B)})})})},r7=({item:n,readonly:l,style:a,commonRequestWidthParams:s,commonRequest:d,value:v,onChange:h,interfaceTypeDict:g,interfaceTypeSysDict:_,actionUrlKey:p,actionUrlExtraParams:x})=>{const[w,C]=Te.useState([]),[E,T]=Te.useState(!1);Te.useEffect(()=>{k()},[n.inputType,n.classify,n.data,n.options]);const k=async()=>{T(!0);const O=await $k({commonRequestWidthParams:s,commonRequest:d,interfaceTypeDict:g,interfaceTypeSysDict:_,actionUrlKey:p,actionUrlExtraParams:x,item:n});C(O),T(!1)};return de(De.Select,{placeholder:(n==null?void 0:n["default-prompt"])||"请选择",mode:n.input==="mult-select"?"multiple":void 0,disabled:l,loading:E,showSearch:!0,value:v,filterOption:(O,M)=>{var B;return((B=M==null?void 0:M.label)==null?void 0:B.toLowerCase().indexOf(O.toLowerCase()))>=0},options:w,style:{...a},allowClear:!0,onChange:O=>{h(O)}})},a7={customUpload:"myUpload-module_customUpload_7c7d3"},i7=n=>new Promise((l,a)=>{const s=new FileReader;s.readAsDataURL(n),s.onload=()=>l(s.result),s.onerror=d=>a(d)}),o7=n=>{const{action:l,item:a,onChange:s,readonly:d=!1,relatedid:v,uploadText:h="上传文件",onRemove:g,list:_=[],uploadType:p,relatedidKey:x}=n,{message:w}=De.App.useApp(),C=(a==null?void 0:a["upload-accept"])||"*",E=a==null?void 0:a.input,T=a==null?void 0:a["upload-size"],k=(a==null?void 0:a["upload-max-count"])||1,[O,M]=Te.useState(E==="image"?"picture-card":"text"),[B,A]=Te.useState([]),[F,N]=Te.useState(!1),[H,L]=Te.useState("");Te.useEffect(()=>{_&&_.length&&A(_)},[_]);const Y=async $=>{p==="image"&&(!$.url&&!$.preview&&($.preview=await i7($.originFileObj)),L($.url||$.preview),N(!0))},Q=({fileList:$})=>{A($),s&&s($)},P=$=>{if(!T)return!0;const W=$.size/1024/1024<Number(T);return W||w.error(`请上传不超过${T}MB的文件`),W},I=E==="image"?bt("button",{style:{border:0,background:"none"},type:"button",children:[de(SS,{}),de("div",{style:{marginTop:8},children:"Upload"})]}):de(yo,{children:de(De.Button,{icon:de(TS,{}),children:h})});return bt(yo,{children:[de(De.Upload,{action:l,beforeUpload:P,listType:O,accept:C,fileList:B,onPreview:Y,data:{[x]:v},maxCount:k,onChange:Q,onRemove:g,disabled:d,className:a7.customUpload,children:B.length>=k?null:I}),H&&de(De.Image,{wrapperStyle:{display:"none"},preview:{visible:F,onVisibleChange:$=>N($),afterOpenChange:$=>!$&&L("")},src:H})]})},l7=n=>{const{item:l,onChange:a,readonly:s=!1,options:d,radioAlign:v="horizontal",commonRequestWidthParams:h,commonRequest:g,handleUrlOptions:_,value:p,interfaceTypeDict:x,interfaceTypeSysDict:w,actionUrlKey:C,actionUrlExtraParams:E}=n,{message:T}=De.App.useApp(),[k,O]=Te.useState([]);Te.useEffect(()=>{if((l==null?void 0:l.inputType)==="local"){const A=(l==null?void 0:l.data)||[];O(A.map(F=>({value:F,label:F})))}else(l==null?void 0:l.inputType)==="dictionary"?M(l.classify,x):(l==null?void 0:l.inputType)==="system-dictionary"?M(l.classify,w):(l==null?void 0:l.inputType)==="url"&&B()},[l==null?void 0:l.inputType]);const M=async(A,F)=>{var H;if(!A)return;const N=await g(F,{asctypeid:A});if((N==null?void 0:N.ReturnValue)===1){const L=((H=N==null?void 0:N.data)==null?void 0:H.list)||[];O(L.map(Y=>{const Q=Y.dicid+"-"+Y.info;return{value:Q,label:Q}}))}},B=async()=>{var A,F;try{const N=((A=l==null?void 0:l["key-field"])==null?void 0:A.list)||[],H=((F=l==null?void 0:l["key-field"])==null?void 0:F.delimiter)||"";if(!N.length){T.error("请配置key-field");return}if(!h)return;const L=await h({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{[C]:l==null?void 0:l["action-url"],...E});if(L!=null&&L.data){const Y=L==null?void 0:L.data,Q=Y==null?void 0:Y.list;let P=[];Array.isArray(Y)&&(P=Y),Array.isArray(Q)&&(P=Q);const I=P.map($=>({label:_($,H,N),value:_($,H,N)}));O([...I])}}catch{T.error("加载选项失败")}finally{}};return de(De.Radio.Group,{...d,options:k,onChange:a,disabled:s,value:p,style:v==="vertical"?{display:"flex",flexDirection:"column",gap:"8px",width:"100%"}:{width:"100%"}})};xa.extend(Qk);function u7(n){const{commonRequestWidthParams:l,uploadAction:a,commonRequest:s,formConfig:d,setFormConfig:v,updateDelFileList:h,interfaceTypeChildren:g,interfaceTypeDict:_,interfaceTypeSysDict:p,relatedidKey:x,actionUrlKey:w,actionUrlExtraParams:C,CustomModalComponent:E,setAttrList:T,hideAttrList:k=[]}=n,O=Te.useRef([]),{message:M}=De.App.useApp();Te.useEffect(()=>{d&&(O.current=d)},[d]);const B=Te.useCallback($=>Array.isArray($)?$:($==null?void 0:$.fileList)??[],[]),A=$=>{h($)},F=Te.useCallback($=>{var K,ce;const W=(K=$.json)==null?void 0:K.input,ne=(ce=$.json)==null?void 0:ce.format,J={};switch(W){case"image":case"file":case"video":case"audio":J.getValueFromEvent=B;break;case"date-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY-MM-DD"),J.getValueProps=V=>({value:V?xa(V):null});break;case"time-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY-MM-DD HH:mm:ss"),J.getValueProps=V=>({value:V?xa(V):null});break;case"week-picker":J.getValueFromEvent=V=>`${V==null?void 0:V.year()}-${xa(V).isoWeek()}周`,J.getValueProps=V=>{if(!V)return{value:null};const[ue,Z]=V.split("-"),G=Number(ue),te=Number(Z.replace("周",""));return{value:xa().year(G).isoWeek(te)}};break;case"month-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY-MM"),J.getValueProps=V=>({value:V?xa(V):null});break;case"quarter-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY年第Q季度"),J.getValueProps=V=>({value:V?xa(V,ne||"YYYY年第Q季度"):null});break;case"year-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY"),J.getValueProps=V=>({value:V?xa(V):null});break;case"second-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"HH:mm:ss"),J.getValueProps=V=>({value:V?xa(V,ne||"HH:mm:ss"):null});break;case"range-picker":J.getValueFromEvent=V=>V==null?void 0:V.map(ue=>ue==null?void 0:ue.format(ne||"YYYY-MM-DD")),J.getValueProps=V=>({value:(V==null?void 0:V.map(ue=>xa(ue)))||null});break;case"multiple-date-picker":J.getValueFromEvent=V=>V==null?void 0:V.map(ue=>ue==null?void 0:ue.format(ne||"YYYY-MM-DD")),J.getValueProps=V=>({value:(V==null?void 0:V.map(ue=>xa(ue)))||null});break}return J},[B]),N=Te.useCallback(({isActive:$})=>$?de(kD,{style:{fontSize:18,color:"#999"}}):de(LD,{style:{fontSize:18,color:"#999"}}),[]),H=($,W)=>{var ne,J,K,ce,V;return bt(De.Flex,{gap:10,vertical:W==="flex",align:"center",children:[de("span",{children:$.attrname}),((ne=$==null?void 0:$.json)==null?void 0:ne.instruction)&&W==="icon"&&de(De.Tooltip,{title:(J=$==null?void 0:$.json)==null?void 0:J.instruction,children:de(DD,{style:{color:((K=$==null?void 0:$.json)==null?void 0:K["instruction-color"])??"#888888",fontSize:16,cursor:"pointer"}})})||de("span",{style:{color:((ce=$==null?void 0:$.json)==null?void 0:ce["instruction-color"])??"red"},children:(V=$==null?void 0:$.json)==null?void 0:V.instruction})]})},L=Te.useCallback(({itemWithJson:$,colNum:W=1,readonly:ne=!1,instructionShowMode:J="icon",radioAlign:K="horizontal",formItemStyle:ce,relatedid:V,form:ue,defaultWidth:Z=358,parentFormListField:G,isShowLabel:te=!0})=>{const se=Ss($);let re=$.children||[];Array.isArray(re==null?void 0:re[0])&&re.length&&(re=re[0]);const xe=be=>{const Be=(G==null?void 0:G.parentName)||(G==null?void 0:G.name);return Be?Array.isArray(Be)?[...Be,$.attrid,be.name]:[Be,$.attrid,be.name]:[$.attrid,be.name]};return de(De.Col,{span:24/W,children:de(De.Collapse,{bordered:!1,defaultActiveKey:[$.attrid],style:{backgroundColor:"transparent"},expandIcon:({isActive:be})=>N({isActive:be}),items:[{key:$.attrid,label:$.attrname,styles:{header:{paddingLeft:0}},children:de(De.Form.List,{name:G?Array.isArray(G.name)?[...G.name,$.attrid]:[G.name,$.attrid]:$.attrid,initialValue:se,children:(be,{add:Be,remove:Se})=>bt("div",{style:{display:"flex",rowGap:16,flexDirection:"column"},children:[be.map(Ie=>{const Ne={...Ie,parentName:xe(Ie)};return de(De.Card,{style:{width:Z+100},size:"small",title:`${$.attrname} ${Ie.name+1}`,extra:de(gD,{onClick:()=>{be.length>1?Se(Ie.name):M.warning("至少需要保留一个!")}}),children:(re||[]).map((ct,Fe)=>de(Te.Fragment,{children:I({item:ct,readonly:ne,colNum:W,instructionShowMode:J,relatedid:V,form:ue,defaultWidth:Z,formItemStyle:ce,radioAlign:K,isFormListItem:!0,formListField:Ne,isShowLabel:!0})},ct.attrid||`child-${Fe}`))},Ie.key)}),de(De.Flex,{style:{width:200},children:de(De.Button,{type:"dashed",onClick:()=>Be(),block:!0,children:"+ 新增"})})]})})}]},$.attrid)})},[N,Ss]),Y=Te.useCallback(({itemWithJson:$,colNum:W=1,readonly:ne=!1,instructionShowMode:J="icon",radioAlign:K="horizontal",formItemStyle:ce,relatedid:V,form:ue,defaultWidth:Z=358,isFormListItem:G=!1,formListField:te,isShowLabel:se=!0})=>{var re,xe,be,Be,Se,Ie,Ne;if(((re=$.json)==null?void 0:re.hide)===!0||k!=null&&k.includes($.attrid))return de(yo,{});if($.attrtype===1)return L({itemWithJson:$,colNum:W,readonly:ne,instructionShowMode:J,radioAlign:K,formItemStyle:ce,relatedid:V,form:ue,defaultWidth:Z,parentFormListField:te,isShowLabel:se});if($.attrtype===2)return de(yo,{children:"实例信息"});if($.attrtype===0){const ct=Ss($),Fe=(xe=$.json)==null?void 0:xe["default-prompt"],ft=Ik($),{combinations:wt=[]}=$.json||{};if(wt!=null&&wt.length)return de(De.Col,{span:24/W,children:de(De.Form.Item,{label:(be=$==null?void 0:$.json)==null?void 0:be["combination-name"],required:(Be=$.json)==null?void 0:Be.must,children:de(De.Space.Compact,{children:wt.map((Bt,wn)=>{var ar,Wn,Mn,Zt;let Pn=Ss(Bt),nr=Z;const rr={},gn=Bt.json.input||"text",Wt=ce==null?void 0:ce.find(jn=>jn.type===gn);if(Wt){const{width:jn}=(Wt==null?void 0:Wt.style)||{};jn&&(rr.width=jn)}const dn=(ar=Bt==null?void 0:Bt.json)==null?void 0:ar["combination-width-ratio"];return dn&&(nr=Z*dn),de(De.Form.Item,{name:te?Array.isArray(te.name)?[...te.name,Bt.attrid]:[te.name,Bt.attrid]:Bt.attrid,noStyle:!0,initialValue:Pn,rules:[...(Wn=Bt.json)!=null&&Wn.must?[{required:!0,message:Fe||`${ft}${Bt.attrname}`}]:[],...(Mn=$.json)!=null&&Mn.regexp?[{pattern:new RegExp($.json.regexp.replace(/^\/|\/$/g,"")),message:((Zt=$.json)==null?void 0:Zt["regexp-message"])||`${$.attrname}格式不正确`}]:[]],...F(Bt),children:P({item:Bt,readonly:ne,formItemStyle:ce,radioAlign:K,relatedid:V,form:ue,defaultWidth:nr,customWidth:rr})},wn)})})},`${$.attrid}+1`)});const ln=G&&te?Array.isArray(te.name)?[...te.name,$.attrid]:[te.name,$.attrid]:$.attrid;return de(De.Col,{span:24/W,children:de(De.Form.Item,{name:ln,label:se&&H($,J)||null,initialValue:ct,rules:[...(Se=$.json)!=null&&Se.must?[{required:!0,message:`${ft}${$.attrname}`}]:[],...(Ie=$.json)!=null&&Ie.regexp?[{pattern:new RegExp($.json.regexp.replace(/^\/|\/$/g,"")),message:((Ne=$.json)==null?void 0:Ne["regexp-message"])||`${$.attrname}格式不正确`}]:[]],...F($),children:P({item:$,readonly:ne,formItemStyle:ce,radioAlign:K,relatedid:V,form:ue,defaultWidth:Z})},$.attrid)})}return null},[H,Ss,F,k,L]),Q=async $=>{var W;try{const ne=(W=$==null?void 0:$.response)==null?void 0:W.data;if(ne){if(!l)return;const J=await l({Controlname:"DelFile",PageName:"initializationfile"},ne);if((J==null?void 0:J.ReturnValue)!==1)return M.error((J==null?void 0:J.msg)||"删除文件失败"),!1}else A($);return!0}catch{return M.error("删除文件失败,请重试"),!1}},P=({item:$,readonly:W=!1,formItemStyle:ne=[],radioAlign:J="horizontal",relatedid:K,form:ce,defaultWidth:V=358,customWidth:ue={}})=>{var be,Be,Se,Ie;const Z=$.json.input||"text",G=Ss($),te=((be=$.json)==null?void 0:be["default-prompt"])||"",se=((Be=$.json)==null?void 0:Be["disable-date-goover"])||!1,re=$.json.length&&{maxLength:$.json.length}||{},xe=ne.find(Ne=>Ne.type===Z);switch(Z){case"label":return de(De.Input,{disabled:!0,value:((Se=$.json)==null?void 0:Se["label-value"])||$.attrvalue||((Ie=$.json)==null?void 0:Ie.default)||"-",style:{width:V,...xe==null?void 0:xe.style,...ue}});case"text":return de(De.Input,{placeholder:te||"请输入",...re,disabled:W,allowClear:!0,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"password":return de(De.Input.Password,{placeholder:te||"请输入",...re,disabled:W,allowClear:!0,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"textarea":return de(De.Input.TextArea,{allowClear:!0,placeholder:te||"请输入",rows:5,...re,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"number":return de(De.InputNumber,{controls:!1,placeholder:te||"请输入",...re,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"select":case"mult-select":return de(r7,{item:$.json,readonly:W,style:{width:V,...xe==null?void 0:xe.style,...ue},commonRequestWidthParams:l,commonRequest:s,value:G,interfaceTypeDict:_,interfaceTypeSysDict:p,actionUrlKey:w,actionUrlExtraParams:C,onChange:Ne=>{ce.setFieldValue($.attrid,Ne)}});case"modal-mult-select":case"modal-select":return de(Xk,{style:{width:V,...xe==null?void 0:xe.style,...ue},item:$.json,value:$.attrvalue||$.json.default||"",commonRequestWidthParams:l,commonRequest:s,onSure:async Ne=>{ce.setFieldValue($.attrid,Ne)},disabled:W,CustomModalComponent:E});case"date-picker":case"time-picker":case"week-picker":case"month-picker":case"quarter-picker":case"year-picker":case"second-picker":{const Ne={"date-picker":"date","time-picker":"date","week-picker":"week","month-picker":"month","quarter-picker":"quarter","year-picker":"year","second-picker":"time"};let ct;return Z==="date-picker"&&(ct=se?Vb:void 0),de(De.DatePicker,{showTime:Z==="time-picker",picker:Ne[Z]||"date",disabled:W,disabledDate:ct,placement:"bottomLeft",style:{width:V,...xe==null?void 0:xe.style,...ue}})}case"range-picker":return de(De.DatePicker.RangePicker,{disabledDate:se?Vb:void 0,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"multiple-date-picker":return de(De.DatePicker,{multiple:!0,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"radio":return de(l7,{radioAlign:J,commonRequest:s,commonRequestWidthParams:l,item:$.json,readonly:W,options:re,handleUrlOptions:hd,value:G,interfaceTypeDict:_,interfaceTypeSysDict:p,actionUrlKey:w,actionUrlExtraParams:C,onChange:Ne=>{ce.setFieldValue($.attrid,Ne.target.value)}});case"checkbox":return de(e7,{radioAlign:J,commonRequest:s,commonRequestWidthParams:l,item:$.json,readonly:W,options:re,value:G,handleUrlOptions:hd,interfaceTypeDict:_,interfaceTypeSysDict:p,actionUrlKey:w,actionUrlExtraParams:C,onChange:Ne=>{ce.setFieldValue($.attrid,Ne.join(","))}});case"audio":case"file":case"image":case"video":return de(o7,{action:a&&a("initializationfile"),item:$.json,uploadType:Z,list:G,readonly:W,relatedid:K,relatedidKey:x,onRemove:Ne=>Q(Ne)});case"cascader":return de(t7,{commonRequestWidthParams:l,commonRequest:s,item:$.json,value:$.attrvalue,style:{width:V,...xe==null?void 0:xe.style,...ue},interfaceTypeDict:_,interfaceTypeSysDict:p,actionUrlKey:w,actionUrlExtraParams:C});case"radio-card":return de(n7,{item:$.json,readonly:W,onChange:Ne=>{ce.setFieldValue($.attrid,Ne)},commonRequestWidthParams:l});default:return de(De.Input,{placeholder:"请输入",...re,showCount:!0,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}})}},I=({item:$,readonly:W=!1,colNum:ne=1,instructionShowMode:J="icon",relatedid:K,form:ce,defaultWidth:V=358,formItemStyle:ue,radioAlign:Z="horizontal",isFormListItem:G=!1,formListField:te,isShowLabel:se=!0})=>{var be;const re=$.info_base64===1?av(Sg($.info)):av($.info),xe={...$,json:{...$==null?void 0:$.json,...re}};return((be=xe.json)==null?void 0:be.hide)===!0?null:de(Te.Fragment,{children:Y({itemWithJson:xe,readonly:W,colNum:ne,instructionShowMode:J,relatedid:K,form:ce,defaultWidth:V,formItemStyle:ue,radioAlign:Z,isFormListItem:G,formListField:te,isShowLabel:se})},xe.attrid)};return{handleRenderItem:I,handleSetFormItemInitialValue:Ss}}const s7=Te.forwardRef((n,l)=>{const{formConfig:a,setFormConfig:s,setAttrList:d,form:v,readonly:h=!1,relatedid:g,colNum:_=1,colSpace:p=[0,0],instructionShowMode:x="flex",defaultWidth:w=358,commonRequestWidthParams:C,uploadAction:E,commonRequest:T,formItemStyle:k=[],radioAlign:O="horizontal",interfaceTypeChildren:M="YLLRDetailAttrlist",interfaceTypeDict:B="YLZDDictList",interfaceTypeSysDict:A="YLZDSysConfigList",relatedidKey:F="relatedid",actionUrlKey:N="action-url",actionUrlExtraParams:H={},CustomModalComponent:L,hideAttrList:Y=[],formShowType:Q="form",headerWidth:P,formListItemWidth:I}=n,$=Te.useRef([]),W=J=>{$.current.push(J)},{handleRenderItem:ne}=u7({commonRequestWidthParams:C,uploadAction:E,commonRequest:T,setFormConfig:s,setAttrList:d,updateDelFileList:W,formConfig:a,interfaceTypeChildren:M,interfaceTypeDict:B,interfaceTypeSysDict:A,relatedidKey:F,actionUrlKey:N,actionUrlExtraParams:H,CustomModalComponent:L,hideAttrList:Y});return Te.useImperativeHandle(l,()=>({getDelFileList:()=>$.current})),de(yo,{children:Q==="table"?de(De.Form.List,{name:"customFormList",initialValue:[{}],children:(J,{add:K,remove:ce})=>bt("div",{className:"custom-form-list",children:[bt(De.Flex,{align:"center",children:[de(De.Flex,{className:"custom-form-list-header",align:"center",children:a==null?void 0:a.map((V,ue)=>bt(De.Flex,{style:{width:(P==null?void 0:P[ue])||w},align:"center",children:[ue!==0&&de("div",{className:"line"}),de("div",{className:"custom-form-list-header-item",children:V.attrname})]},ue))}),de("a",{className:"custom-form-list-add-btn",onClick:()=>K(),children:"新增"})]}),J.map(V=>bt(De.Flex,{align:"center",className:"custom-form-list-item-container",children:[de(De.Flex,{className:"custom-form-list-item",align:"center",children:a==null?void 0:a.map((ue,Z)=>de(De.Flex,{align:"center",className:"custom-form-list-item-content",justify:"center",style:{width:(P==null?void 0:P[Z])||w},children:ne({item:ue,readonly:h,colNum:_,instructionShowMode:x,relatedid:g,form:v,defaultWidth:(I==null?void 0:I[Z])||w,formItemStyle:k,isFormListItem:!0,formListField:V,isShowLabel:!1})},ue.attrid||`child-${Z}`))}),de("a",{className:"custom-form-list-del-btn",onClick:()=>ce(V.key),children:"删除"})]},V.key))]})}):de(De.Row,{gutter:p,children:a.map((J,K)=>de(Te.Fragment,{children:ne({item:J,readonly:h,colNum:_,instructionShowMode:x,relatedid:g,form:v,defaultWidth:w,formItemStyle:k,radioAlign:O})},J.attrid||`form-item-${K}`))})})}),c7=(n,l)=>{const a=new URL(n),s=new URL(l);return a.protocol===s.protocol&&a.host===s.host&&a.port===s.port},f7=n=>{const l=String(n).split("/");return l[l.length-1]},d7=n=>{var a;return(a=n.headers.get("content-disposition"))==null?void 0:a.split(";")[1].split("=")[1]},p7=(n,l)=>{const a=l||f7(n);if(c7(n,window.location.href)){bg(n,a);return}let s=l;fetch(n,{method:"get"}).then(d=>(s||(s=d7(d)),d.blob())).then(d=>{Xb(d,s||a)}).catch(()=>{bg(n,"")})},h7=n=>{for(var l=n.split(","),a=l[0].match(/:(.*?);/)[1],s=window.atob(l[1]),d=s.length,v=new Uint8Array(d);d--;)v[d]=s.charCodeAt(d);return new Blob([v],{type:a})},Xb=(n,l)=>{let a="";n instanceof Blob?a=window.URL.createObjectURL(n):a=window.URL.createObjectURL(h7(n));const s=window.navigator;if(s.msSaveOrOpenBlob){s.msSaveOrOpenBlob(n,l);return}bg(a,l),window.URL.revokeObjectURL(a)},bg=(n,l)=>{let a=document.createElement("a");a.style.display="none",a.href=n,a.target="_blank",a.download=l,document.body.appendChild(a),a.click(),document.body.removeChild(a)},v7=Object.freeze(Object.defineProperty({__proto__:null,downloadUrl:p7,downloadBlob:Xb},Symbol.toStringTag,{value:"Module"})),Jb={phone:{pattern:/^1[3456789]\d{9}$/,message:"请输入正确的手机号码"},telephone:{pattern:/^[\d -]+$/,message:"请输入正确的电话号码"},email:{pattern:/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,message:"请输入正确的邮箱地址"},httpUrl:{pattern:/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/,message:"请输入合法的URL"},zipCode:{pattern:/^[0-9]{6}$/,message:"请输入正确的邮政编码"},specificKey:{pattern:/^[\w\u4E00-\u9FA5\uF900-\uFA2D()()]*$/,message:"可输入字母、汉字、数字或()"},inputTextarea:{pattern:/^[\w\u4E00-\u9FA5\uF900-\uFA2D-\u3002-\uff1f-\uff01-\uff0c-\u3001-\uff1b-\uff1a]*$/,message:"请输入字母、汉字或数字和中文常用字符:?!,、;。"},backendRestrict:{pattern:/^[^'"/\\]*$/,message:`不能输入特殊字符\\'/"`},onetoNinetyNine:{pattern:/^[1-9][0-9]{0,1}$/,message:"请输入1-99的整数"},passwordRule:{pattern:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z0-9]{8,12}$/,message:"密码应为字母大小写+数字8-12位组合"},passwordNewRule:{pattern:/^.*(?=.{8,})(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#¥%&*.()_+~/-]).*$/,message:"密码应为字母大小写+数字+常见字符!@#¥%&*.()_+~/- 8-12位组合"},pureNumber:{pattern:/^[1-9][0-9]*$/,message:"请输入整数类型"},onlyBlankRule:{pattern:/\S/,message:"输入内容不能只有空格"}},m7=Object.freeze(Object.defineProperty({__proto__:null,default:Jb},Symbol.toStringTag,{value:"Module"}));class y7{constructor(l){zc(this,"options",{id:"",canvasId:"verifyCanvas",width:100,height:30,type:"blend",code:""});this.options=l}GVerify(){this.options.numArr="0,1,2,3,4,5,6,7,8,9".split(","),this.options.letterArr=this.getAllLetter(),this._init(),this.refresh()}_init(){const l=document.getElementById(this.options.id),a=document.createElement("canvas");a.id=this.options.canvasId,a.width=Number(this.options.width),a.height=Number(this.options.height),a.style.cursor="pointer",a.innerHTML="您的浏览器版本不支持canvas",l&&l.appendChild(a),a.onclick=()=>{this.refresh()}}refresh(){this.options.code="";const l=document.getElementById(this.options.canvasId);let a,s=[];if(l.getContext)a=l.getContext("2d");else return;a.textBaseline="middle",a.fillStyle=this.randomColor(180,240),a.fillRect(0,0,this.options.width,this.options.height),this.options.type=="blend"?s=this.options.numArr.concat(this.options.letterArr):this.options.type=="number"?s=this.options.numArr:s=this.options.letterArr;for(let d=1;d<=4;d++){const v=s[this.randomNum(0,s.length)];this.options.code+=v,a.font="20px SimHei",a.fillStyle=this.randomColor(50,160),a.shadowBlur=this.randomNum(-3,3),a.shadowColor="rgba(0, 0, 0, 0.3)";const h=Number(this.options.width)/5*d,g=Number(this.options.height)/2,_=this.randomNum(-30,30);a.translate(h,g),a.rotate(_*Math.PI/180),a.fillText(v,0,0),a.rotate(-_*Math.PI/180),a.translate(-h,-g)}for(let d=0;d<2;d++)a.strokeStyle=this.randomColor(40,180),a.beginPath(),a.moveTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height)/2)),a.lineTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height))),a.stroke();for(let d=0;d<Number(this.options.width)/10;d++)a.fillStyle=this.randomColor(0,255),a.beginPath(),a.arc(this.randomNum(0,this.options.width),this.randomNum(0,this.options.height),1,0,2*Math.PI),a.fill()}validate(l){const a=l.toLowerCase(),s=this.options.code.toLowerCase();return a==s}getAllLetter(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}randomNum(l,a){return Math.floor(Math.random()*(a-l)+l)}randomColor(l,a){const s=this.randomNum(l,a),d=this.randomNum(l,a),v=this.randomNum(l,a);return"rgb("+s+","+d+","+v+")"}}const g7=Object.freeze(Object.defineProperty({__proto__:null,getGVerify:y7},Symbol.toStringTag,{value:"Module"}));var e4={exports:{}};function x7(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var wg={exports:{}};const _7=jC(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var t4;function Lt(){return t4||(t4=1,function(n,l){(function(a,s){n.exports=s()})(Dt,function(){var a=a||function(s,d){var v;if(typeof window<"u"&&window.crypto&&(v=window.crypto),typeof self<"u"&&self.crypto&&(v=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(v=globalThis.crypto),!v&&typeof window<"u"&&window.msCrypto&&(v=window.msCrypto),!v&&typeof Dt<"u"&&Dt.crypto&&(v=Dt.crypto),!v&&typeof x7=="function")try{v=_7}catch{}var h=function(){if(v){if(typeof v.getRandomValues=="function")try{return v.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof v.randomBytes=="function")try{return v.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},g=Object.create||function(){function B(){}return function(A){var F;return B.prototype=A,F=new B,B.prototype=null,F}}(),_={},p=_.lib={},x=p.Base=function(){return{extend:function(B){var A=g(this);return B&&A.mixIn(B),(!A.hasOwnProperty("init")||this.init===A.init)&&(A.init=function(){A.$super.init.apply(this,arguments)}),A.init.prototype=A,A.$super=this,A},create:function(){var B=this.extend();return B.init.apply(B,arguments),B},init:function(){},mixIn:function(B){for(var A in B)B.hasOwnProperty(A)&&(this[A]=B[A]);B.hasOwnProperty("toString")&&(this.toString=B.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),w=p.WordArray=x.extend({init:function(B,A){B=this.words=B||[],A!=d?this.sigBytes=A:this.sigBytes=B.length*4},toString:function(B){return(B||E).stringify(this)},concat:function(B){var A=this.words,F=B.words,N=this.sigBytes,H=B.sigBytes;if(this.clamp(),N%4)for(var L=0;L<H;L++){var Y=F[L>>>2]>>>24-L%4*8&255;A[N+L>>>2]|=Y<<24-(N+L)%4*8}else for(var Q=0;Q<H;Q+=4)A[N+Q>>>2]=F[Q>>>2];return this.sigBytes+=H,this},clamp:function(){var B=this.words,A=this.sigBytes;B[A>>>2]&=4294967295<<32-A%4*8,B.length=s.ceil(A/4)},clone:function(){var B=x.clone.call(this);return B.words=this.words.slice(0),B},random:function(B){for(var A=[],F=0;F<B;F+=4)A.push(h());return new w.init(A,B)}}),C=_.enc={},E=C.Hex={stringify:function(B){for(var A=B.words,F=B.sigBytes,N=[],H=0;H<F;H++){var L=A[H>>>2]>>>24-H%4*8&255;N.push((L>>>4).toString(16)),N.push((L&15).toString(16))}return N.join("")},parse:function(B){for(var A=B.length,F=[],N=0;N<A;N+=2)F[N>>>3]|=parseInt(B.substr(N,2),16)<<24-N%8*4;return new w.init(F,A/2)}},T=C.Latin1={stringify:function(B){for(var A=B.words,F=B.sigBytes,N=[],H=0;H<F;H++){var L=A[H>>>2]>>>24-H%4*8&255;N.push(String.fromCharCode(L))}return N.join("")},parse:function(B){for(var A=B.length,F=[],N=0;N<A;N++)F[N>>>2]|=(B.charCodeAt(N)&255)<<24-N%4*8;return new w.init(F,A)}},k=C.Utf8={stringify:function(B){try{return decodeURIComponent(escape(T.stringify(B)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(B){return T.parse(unescape(encodeURIComponent(B)))}},O=p.BufferedBlockAlgorithm=x.extend({reset:function(){this._data=new w.init,this._nDataBytes=0},_append:function(B){typeof B=="string"&&(B=k.parse(B)),this._data.concat(B),this._nDataBytes+=B.sigBytes},_process:function(B){var A,F=this._data,N=F.words,H=F.sigBytes,L=this.blockSize,Y=L*4,Q=H/Y;B?Q=s.ceil(Q):Q=s.max((Q|0)-this._minBufferSize,0);var P=Q*L,I=s.min(P*4,H);if(P){for(var $=0;$<P;$+=L)this._doProcessBlock(N,$);A=N.splice(0,P),F.sigBytes-=I}return new w.init(A,I)},clone:function(){var B=x.clone.call(this);return B._data=this._data.clone(),B},_minBufferSize:0});p.Hasher=O.extend({cfg:x.extend(),init:function(B){this.cfg=this.cfg.extend(B),this.reset()},reset:function(){O.reset.call(this),this._doReset()},update:function(B){return this._append(B),this._process(),this},finalize:function(B){B&&this._append(B);var A=this._doFinalize();return A},blockSize:16,_createHelper:function(B){return function(A,F){return new B.init(F).finalize(A)}},_createHmacHelper:function(B){return function(A,F){return new M.HMAC.init(B,F).finalize(A)}}});var M=_.algo={};return _}(Math);return a})}(wg)),wg.exports}var Dg={exports:{}},n4;function iv(){return n4||(n4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.Base,g=v.WordArray,_=d.x64={};_.Word=h.extend({init:function(p,x){this.high=p,this.low=x}}),_.WordArray=h.extend({init:function(p,x){p=this.words=p||[],x!=s?this.sigBytes=x:this.sigBytes=p.length*8},toX32:function(){for(var p=this.words,x=p.length,w=[],C=0;C<x;C++){var E=p[C];w.push(E.high),w.push(E.low)}return g.create(w,this.sigBytes)},clone:function(){for(var p=h.clone.call(this),x=p.words=this.words.slice(0),w=x.length,C=0;C<w;C++)x[C]=x[C].clone();return p}})}(),a})}(Dg)),Dg.exports}var Tg={exports:{}},r4;function C7(){return r4||(r4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){if(typeof ArrayBuffer=="function"){var s=a,d=s.lib,v=d.WordArray,h=v.init,g=v.init=function(_){if(_ instanceof ArrayBuffer&&(_=new Uint8Array(_)),(_ instanceof Int8Array||typeof Uint8ClampedArray<"u"&&_ instanceof Uint8ClampedArray||_ instanceof Int16Array||_ instanceof Uint16Array||_ instanceof Int32Array||_ instanceof Uint32Array||_ instanceof Float32Array||_ instanceof Float64Array)&&(_=new Uint8Array(_.buffer,_.byteOffset,_.byteLength)),_ instanceof Uint8Array){for(var p=_.byteLength,x=[],w=0;w<p;w++)x[w>>>2]|=_[w]<<24-w%4*8;h.call(this,x,p)}else h.apply(this,arguments)};g.prototype=v}}(),a.lib.WordArray})}(Tg)),Tg.exports}var Ag={exports:{}},a4;function S7(){return a4||(a4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=s.enc;h.Utf16=h.Utf16BE={stringify:function(_){for(var p=_.words,x=_.sigBytes,w=[],C=0;C<x;C+=2){var E=p[C>>>2]>>>16-C%4*8&65535;w.push(String.fromCharCode(E))}return w.join("")},parse:function(_){for(var p=_.length,x=[],w=0;w<p;w++)x[w>>>1]|=_.charCodeAt(w)<<16-w%2*16;return v.create(x,p*2)}},h.Utf16LE={stringify:function(_){for(var p=_.words,x=_.sigBytes,w=[],C=0;C<x;C+=2){var E=g(p[C>>>2]>>>16-C%4*8&65535);w.push(String.fromCharCode(E))}return w.join("")},parse:function(_){for(var p=_.length,x=[],w=0;w<p;w++)x[w>>>1]|=g(_.charCodeAt(w)<<16-w%2*16);return v.create(x,p*2)}};function g(_){return _<<8&4278255360|_>>>8&16711935}}(),a.enc.Utf16})}(Ag)),Ag.exports}var Rg={exports:{}},i4;function Es(){return i4||(i4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=s.enc;h.Base64={stringify:function(_){var p=_.words,x=_.sigBytes,w=this._map;_.clamp();for(var C=[],E=0;E<x;E+=3)for(var T=p[E>>>2]>>>24-E%4*8&255,k=p[E+1>>>2]>>>24-(E+1)%4*8&255,O=p[E+2>>>2]>>>24-(E+2)%4*8&255,M=T<<16|k<<8|O,B=0;B<4&&E+B*.75<x;B++)C.push(w.charAt(M>>>6*(3-B)&63));var A=w.charAt(64);if(A)for(;C.length%4;)C.push(A);return C.join("")},parse:function(_){var p=_.length,x=this._map,w=this._reverseMap;if(!w){w=this._reverseMap=[];for(var C=0;C<x.length;C++)w[x.charCodeAt(C)]=C}var E=x.charAt(64);if(E){var T=_.indexOf(E);T!==-1&&(p=T)}return g(_,p,w)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function g(_,p,x){for(var w=[],C=0,E=0;E<p;E++)if(E%4){var T=x[_.charCodeAt(E-1)]<<E%4*2,k=x[_.charCodeAt(E)]>>>6-E%4*2,O=T|k;w[C>>>2]|=O<<24-C%4*8,C++}return v.create(w,C)}}(),a.enc.Base64})}(Rg)),Rg.exports}var kg={exports:{}},o4;function E7(){return o4||(o4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=s.enc;h.Base64url={stringify:function(_,p){p===void 0&&(p=!0);var x=_.words,w=_.sigBytes,C=p?this._safe_map:this._map;_.clamp();for(var E=[],T=0;T<w;T+=3)for(var k=x[T>>>2]>>>24-T%4*8&255,O=x[T+1>>>2]>>>24-(T+1)%4*8&255,M=x[T+2>>>2]>>>24-(T+2)%4*8&255,B=k<<16|O<<8|M,A=0;A<4&&T+A*.75<w;A++)E.push(C.charAt(B>>>6*(3-A)&63));var F=C.charAt(64);if(F)for(;E.length%4;)E.push(F);return E.join("")},parse:function(_,p){p===void 0&&(p=!0);var x=_.length,w=p?this._safe_map:this._map,C=this._reverseMap;if(!C){C=this._reverseMap=[];for(var E=0;E<w.length;E++)C[w.charCodeAt(E)]=E}var T=w.charAt(64);if(T){var k=_.indexOf(T);k!==-1&&(x=k)}return g(_,x,C)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function g(_,p,x){for(var w=[],C=0,E=0;E<p;E++)if(E%4){var T=x[_.charCodeAt(E-1)]<<E%4*2,k=x[_.charCodeAt(E)]>>>6-E%4*2,O=T|k;w[C>>>2]|=O<<24-C%4*8,C++}return v.create(w,C)}}(),a.enc.Base64url})}(kg)),kg.exports}var Og={exports:{}},l4;function bs(){return l4||(l4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.WordArray,g=v.Hasher,_=d.algo,p=[];(function(){for(var k=0;k<64;k++)p[k]=s.abs(s.sin(k+1))*4294967296|0})();var x=_.MD5=g.extend({_doReset:function(){this._hash=new h.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(k,O){for(var M=0;M<16;M++){var B=O+M,A=k[B];k[B]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var F=this._hash.words,N=k[O+0],H=k[O+1],L=k[O+2],Y=k[O+3],Q=k[O+4],P=k[O+5],I=k[O+6],$=k[O+7],W=k[O+8],ne=k[O+9],J=k[O+10],K=k[O+11],ce=k[O+12],V=k[O+13],ue=k[O+14],Z=k[O+15],G=F[0],te=F[1],se=F[2],re=F[3];G=w(G,te,se,re,N,7,p[0]),re=w(re,G,te,se,H,12,p[1]),se=w(se,re,G,te,L,17,p[2]),te=w(te,se,re,G,Y,22,p[3]),G=w(G,te,se,re,Q,7,p[4]),re=w(re,G,te,se,P,12,p[5]),se=w(se,re,G,te,I,17,p[6]),te=w(te,se,re,G,$,22,p[7]),G=w(G,te,se,re,W,7,p[8]),re=w(re,G,te,se,ne,12,p[9]),se=w(se,re,G,te,J,17,p[10]),te=w(te,se,re,G,K,22,p[11]),G=w(G,te,se,re,ce,7,p[12]),re=w(re,G,te,se,V,12,p[13]),se=w(se,re,G,te,ue,17,p[14]),te=w(te,se,re,G,Z,22,p[15]),G=C(G,te,se,re,H,5,p[16]),re=C(re,G,te,se,I,9,p[17]),se=C(se,re,G,te,K,14,p[18]),te=C(te,se,re,G,N,20,p[19]),G=C(G,te,se,re,P,5,p[20]),re=C(re,G,te,se,J,9,p[21]),se=C(se,re,G,te,Z,14,p[22]),te=C(te,se,re,G,Q,20,p[23]),G=C(G,te,se,re,ne,5,p[24]),re=C(re,G,te,se,ue,9,p[25]),se=C(se,re,G,te,Y,14,p[26]),te=C(te,se,re,G,W,20,p[27]),G=C(G,te,se,re,V,5,p[28]),re=C(re,G,te,se,L,9,p[29]),se=C(se,re,G,te,$,14,p[30]),te=C(te,se,re,G,ce,20,p[31]),G=E(G,te,se,re,P,4,p[32]),re=E(re,G,te,se,W,11,p[33]),se=E(se,re,G,te,K,16,p[34]),te=E(te,se,re,G,ue,23,p[35]),G=E(G,te,se,re,H,4,p[36]),re=E(re,G,te,se,Q,11,p[37]),se=E(se,re,G,te,$,16,p[38]),te=E(te,se,re,G,J,23,p[39]),G=E(G,te,se,re,V,4,p[40]),re=E(re,G,te,se,N,11,p[41]),se=E(se,re,G,te,Y,16,p[42]),te=E(te,se,re,G,I,23,p[43]),G=E(G,te,se,re,ne,4,p[44]),re=E(re,G,te,se,ce,11,p[45]),se=E(se,re,G,te,Z,16,p[46]),te=E(te,se,re,G,L,23,p[47]),G=T(G,te,se,re,N,6,p[48]),re=T(re,G,te,se,$,10,p[49]),se=T(se,re,G,te,ue,15,p[50]),te=T(te,se,re,G,P,21,p[51]),G=T(G,te,se,re,ce,6,p[52]),re=T(re,G,te,se,Y,10,p[53]),se=T(se,re,G,te,J,15,p[54]),te=T(te,se,re,G,H,21,p[55]),G=T(G,te,se,re,W,6,p[56]),re=T(re,G,te,se,Z,10,p[57]),se=T(se,re,G,te,I,15,p[58]),te=T(te,se,re,G,V,21,p[59]),G=T(G,te,se,re,Q,6,p[60]),re=T(re,G,te,se,K,10,p[61]),se=T(se,re,G,te,L,15,p[62]),te=T(te,se,re,G,ne,21,p[63]),F[0]=F[0]+G|0,F[1]=F[1]+te|0,F[2]=F[2]+se|0,F[3]=F[3]+re|0},_doFinalize:function(){var k=this._data,O=k.words,M=this._nDataBytes*8,B=k.sigBytes*8;O[B>>>5]|=128<<24-B%32;var A=s.floor(M/4294967296),F=M;O[(B+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,O[(B+64>>>9<<4)+14]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,k.sigBytes=(O.length+1)*4,this._process();for(var N=this._hash,H=N.words,L=0;L<4;L++){var Y=H[L];H[L]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360}return N},clone:function(){var k=g.clone.call(this);return k._hash=this._hash.clone(),k}});function w(k,O,M,B,A,F,N){var H=k+(O&M|~O&B)+A+N;return(H<<F|H>>>32-F)+O}function C(k,O,M,B,A,F,N){var H=k+(O&B|M&~B)+A+N;return(H<<F|H>>>32-F)+O}function E(k,O,M,B,A,F,N){var H=k+(O^M^B)+A+N;return(H<<F|H>>>32-F)+O}function T(k,O,M,B,A,F,N){var H=k+(M^(O|~B))+A+N;return(H<<F|H>>>32-F)+O}d.MD5=g._createHelper(x),d.HmacMD5=g._createHmacHelper(x)}(Math),a.MD5})}(Og)),Og.exports}var Bg={exports:{}},u4;function s4(){return u4||(u4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=d.Hasher,g=s.algo,_=[],p=g.SHA1=h.extend({_doReset:function(){this._hash=new v.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(x,w){for(var C=this._hash.words,E=C[0],T=C[1],k=C[2],O=C[3],M=C[4],B=0;B<80;B++){if(B<16)_[B]=x[w+B]|0;else{var A=_[B-3]^_[B-8]^_[B-14]^_[B-16];_[B]=A<<1|A>>>31}var F=(E<<5|E>>>27)+M+_[B];B<20?F+=(T&k|~T&O)+1518500249:B<40?F+=(T^k^O)+1859775393:B<60?F+=(T&k|T&O|k&O)-1894007588:F+=(T^k^O)-899497514,M=O,O=k,k=T<<30|T>>>2,T=E,E=F}C[0]=C[0]+E|0,C[1]=C[1]+T|0,C[2]=C[2]+k|0,C[3]=C[3]+O|0,C[4]=C[4]+M|0},_doFinalize:function(){var x=this._data,w=x.words,C=this._nDataBytes*8,E=x.sigBytes*8;return w[E>>>5]|=128<<24-E%32,w[(E+64>>>9<<4)+14]=Math.floor(C/4294967296),w[(E+64>>>9<<4)+15]=C,x.sigBytes=w.length*4,this._process(),this._hash},clone:function(){var x=h.clone.call(this);return x._hash=this._hash.clone(),x}});s.SHA1=h._createHelper(p),s.HmacSHA1=h._createHmacHelper(p)}(),a.SHA1})}(Bg)),Bg.exports}var Fg={exports:{}},c4;function zg(){return c4||(c4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.WordArray,g=v.Hasher,_=d.algo,p=[],x=[];(function(){function E(M){for(var B=s.sqrt(M),A=2;A<=B;A++)if(!(M%A))return!1;return!0}function T(M){return(M-(M|0))*4294967296|0}for(var k=2,O=0;O<64;)E(k)&&(O<8&&(p[O]=T(s.pow(k,1/2))),x[O]=T(s.pow(k,1/3)),O++),k++})();var w=[],C=_.SHA256=g.extend({_doReset:function(){this._hash=new h.init(p.slice(0))},_doProcessBlock:function(E,T){for(var k=this._hash.words,O=k[0],M=k[1],B=k[2],A=k[3],F=k[4],N=k[5],H=k[6],L=k[7],Y=0;Y<64;Y++){if(Y<16)w[Y]=E[T+Y]|0;else{var Q=w[Y-15],P=(Q<<25|Q>>>7)^(Q<<14|Q>>>18)^Q>>>3,I=w[Y-2],$=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;w[Y]=P+w[Y-7]+$+w[Y-16]}var W=F&N^~F&H,ne=O&M^O&B^M&B,J=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),K=(F<<26|F>>>6)^(F<<21|F>>>11)^(F<<7|F>>>25),ce=L+K+W+x[Y]+w[Y],V=J+ne;L=H,H=N,N=F,F=A+ce|0,A=B,B=M,M=O,O=ce+V|0}k[0]=k[0]+O|0,k[1]=k[1]+M|0,k[2]=k[2]+B|0,k[3]=k[3]+A|0,k[4]=k[4]+F|0,k[5]=k[5]+N|0,k[6]=k[6]+H|0,k[7]=k[7]+L|0},_doFinalize:function(){var E=this._data,T=E.words,k=this._nDataBytes*8,O=E.sigBytes*8;return T[O>>>5]|=128<<24-O%32,T[(O+64>>>9<<4)+14]=s.floor(k/4294967296),T[(O+64>>>9<<4)+15]=k,E.sigBytes=T.length*4,this._process(),this._hash},clone:function(){var E=g.clone.call(this);return E._hash=this._hash.clone(),E}});d.SHA256=g._createHelper(C),d.HmacSHA256=g._createHmacHelper(C)}(Math),a.SHA256})}(Fg)),Fg.exports}var Mg={exports:{}},f4;function b7(){return f4||(f4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),zg())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=s.algo,g=h.SHA256,_=h.SHA224=g.extend({_doReset:function(){this._hash=new v.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var p=g._doFinalize.call(this);return p.sigBytes-=4,p}});s.SHA224=g._createHelper(_),s.HmacSHA224=g._createHmacHelper(_)}(),a.SHA224})}(Mg)),Mg.exports}var Ng={exports:{}},d4;function p4(){return d4||(d4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),iv())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.Hasher,h=s.x64,g=h.Word,_=h.WordArray,p=s.algo;function x(){return g.create.apply(g,arguments)}var w=[x(1116352408,3609767458),x(1899447441,602891725),x(3049323471,3964484399),x(3921009573,2173295548),x(961987163,4081628472),x(1508970993,3053834265),x(2453635748,2937671579),x(2870763221,3664609560),x(3624381080,2734883394),x(310598401,1164996542),x(607225278,1323610764),x(1426881987,3590304994),x(1925078388,4068182383),x(2162078206,991336113),x(2614888103,633803317),x(3248222580,3479774868),x(3835390401,2666613458),x(4022224774,944711139),x(264347078,2341262773),x(604807628,2007800933),x(770255983,1495990901),x(1249150122,1856431235),x(1555081692,3175218132),x(1996064986,2198950837),x(2554220882,3999719339),x(2821834349,766784016),x(2952996808,2566594879),x(3210313671,3203337956),x(3336571891,1034457026),x(3584528711,2466948901),x(113926993,3758326383),x(338241895,168717936),x(666307205,1188179964),x(773529912,1546045734),x(1294757372,1522805485),x(1396182291,2643833823),x(1695183700,2343527390),x(1986661051,1014477480),x(2177026350,1206759142),x(2456956037,344077627),x(2730485921,1290863460),x(2820302411,3158454273),x(3259730800,3505952657),x(3345764771,106217008),x(3516065817,3606008344),x(3600352804,1432725776),x(4094571909,1467031594),x(275423344,851169720),x(430227734,3100823752),x(506948616,1363258195),x(659060556,3750685593),x(883997877,3785050280),x(958139571,3318307427),x(1322822218,3812723403),x(1537002063,2003034995),x(1747873779,3602036899),x(1955562222,1575990012),x(2024104815,1125592928),x(2227730452,2716904306),x(2361852424,442776044),x(2428436474,593698344),x(2756734187,3733110249),x(3204031479,2999351573),x(3329325298,3815920427),x(3391569614,3928383900),x(3515267271,566280711),x(3940187606,3454069534),x(4118630271,4000239992),x(116418474,1914138554),x(174292421,2731055270),x(289380356,3203993006),x(460393269,320620315),x(685471733,587496836),x(852142971,1086792851),x(1017036298,365543100),x(1126000580,2618297676),x(1288033470,3409855158),x(1501505948,4234509866),x(1607167915,987167468),x(1816402316,1246189591)],C=[];(function(){for(var T=0;T<80;T++)C[T]=x()})();var E=p.SHA512=v.extend({_doReset:function(){this._hash=new _.init([new g.init(1779033703,4089235720),new g.init(3144134277,2227873595),new g.init(1013904242,4271175723),new g.init(2773480762,1595750129),new g.init(1359893119,2917565137),new g.init(2600822924,725511199),new g.init(528734635,4215389547),new g.init(1541459225,327033209)])},_doProcessBlock:function(T,k){for(var O=this._hash.words,M=O[0],B=O[1],A=O[2],F=O[3],N=O[4],H=O[5],L=O[6],Y=O[7],Q=M.high,P=M.low,I=B.high,$=B.low,W=A.high,ne=A.low,J=F.high,K=F.low,ce=N.high,V=N.low,ue=H.high,Z=H.low,G=L.high,te=L.low,se=Y.high,re=Y.low,xe=Q,be=P,Be=I,Se=$,Ie=W,Ne=ne,ct=J,Fe=K,ft=ce,wt=V,ln=ue,Bt=Z,wn=G,Pn=te,nr=se,rr=re,gn=0;gn<80;gn++){var Wt,dn,ar=C[gn];if(gn<16)dn=ar.high=T[k+gn*2]|0,Wt=ar.low=T[k+gn*2+1]|0;else{var Wn=C[gn-15],Mn=Wn.high,Zt=Wn.low,jn=(Mn>>>1|Zt<<31)^(Mn>>>8|Zt<<24)^Mn>>>7,li=(Zt>>>1|Mn<<31)^(Zt>>>8|Mn<<24)^(Zt>>>7|Mn<<25),ea=C[gn-2],Ue=ea.high,Je=ea.low,St=(Ue>>>19|Je<<13)^(Ue<<3|Je>>>29)^Ue>>>6,Pt=(Je>>>19|Ue<<13)^(Je<<3|Ue>>>29)^(Je>>>6|Ue<<26),fn=C[gn-7],In=fn.high,Dn=fn.low,vr=C[gn-16],tn=vr.high,Or=vr.low;Wt=li+Dn,dn=jn+In+(Wt>>>0<li>>>0?1:0),Wt=Wt+Pt,dn=dn+St+(Wt>>>0<Pt>>>0?1:0),Wt=Wt+Or,dn=dn+tn+(Wt>>>0<Or>>>0?1:0),ar.high=dn,ar.low=Wt}var Kt=ft&ln^~ft&wn,Qt=wt&Bt^~wt&Pn,wo=xe&Be^xe&Ie^Be&Ie,Li=be&Se^be&Ne^Se&Ne,Do=(xe>>>28|be<<4)^(xe<<30|be>>>2)^(xe<<25|be>>>7),To=(be>>>28|xe<<4)^(be<<30|xe>>>2)^(be<<25|xe>>>7),pu=(ft>>>14|wt<<18)^(ft>>>18|wt<<14)^(ft<<23|wt>>>9),Ui=(wt>>>14|ft<<18)^(wt>>>18|ft<<14)^(wt<<23|ft>>>9),Hi=w[gn],Pi=Hi.high,ji=Hi.low,xn=rr+Ui,mr=nr+pu+(xn>>>0<rr>>>0?1:0),xn=xn+Qt,mr=mr+Kt+(xn>>>0<Qt>>>0?1:0),xn=xn+ji,mr=mr+Pi+(xn>>>0<ji>>>0?1:0),xn=xn+Wt,mr=mr+dn+(xn>>>0<Wt>>>0?1:0),Br=To+Li,_a=Do+wo+(Br>>>0<To>>>0?1:0);nr=wn,rr=Pn,wn=ln,Pn=Bt,ln=ft,Bt=wt,wt=Fe+xn|0,ft=ct+mr+(wt>>>0<Fe>>>0?1:0)|0,ct=Ie,Fe=Ne,Ie=Be,Ne=Se,Be=xe,Se=be,be=xn+Br|0,xe=mr+_a+(be>>>0<xn>>>0?1:0)|0}P=M.low=P+be,M.high=Q+xe+(P>>>0<be>>>0?1:0),$=B.low=$+Se,B.high=I+Be+($>>>0<Se>>>0?1:0),ne=A.low=ne+Ne,A.high=W+Ie+(ne>>>0<Ne>>>0?1:0),K=F.low=K+Fe,F.high=J+ct+(K>>>0<Fe>>>0?1:0),V=N.low=V+wt,N.high=ce+ft+(V>>>0<wt>>>0?1:0),Z=H.low=Z+Bt,H.high=ue+ln+(Z>>>0<Bt>>>0?1:0),te=L.low=te+Pn,L.high=G+wn+(te>>>0<Pn>>>0?1:0),re=Y.low=re+rr,Y.high=se+nr+(re>>>0<rr>>>0?1:0)},_doFinalize:function(){var T=this._data,k=T.words,O=this._nDataBytes*8,M=T.sigBytes*8;k[M>>>5]|=128<<24-M%32,k[(M+128>>>10<<5)+30]=Math.floor(O/4294967296),k[(M+128>>>10<<5)+31]=O,T.sigBytes=k.length*4,this._process();var B=this._hash.toX32();return B},clone:function(){var T=v.clone.call(this);return T._hash=this._hash.clone(),T},blockSize:1024/32});s.SHA512=v._createHelper(E),s.HmacSHA512=v._createHmacHelper(E)}(),a.SHA512})}(Ng)),Ng.exports}var Lg={exports:{}},h4;function w7(){return h4||(h4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),iv(),p4())})(Dt,function(a){return function(){var s=a,d=s.x64,v=d.Word,h=d.WordArray,g=s.algo,_=g.SHA512,p=g.SHA384=_.extend({_doReset:function(){this._hash=new h.init([new v.init(3418070365,3238371032),new v.init(1654270250,914150663),new v.init(2438529370,812702999),new v.init(355462360,4144912697),new v.init(1731405415,4290775857),new v.init(2394180231,1750603025),new v.init(3675008525,1694076839),new v.init(1203062813,3204075428)])},_doFinalize:function(){var x=_._doFinalize.call(this);return x.sigBytes-=16,x}});s.SHA384=_._createHelper(p),s.HmacSHA384=_._createHmacHelper(p)}(),a.SHA384})}(Lg)),Lg.exports}var Ug={exports:{}},v4;function D7(){return v4||(v4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),iv())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.WordArray,g=v.Hasher,_=d.x64,p=_.Word,x=d.algo,w=[],C=[],E=[];(function(){for(var O=1,M=0,B=0;B<24;B++){w[O+5*M]=(B+1)*(B+2)/2%64;var A=M%5,F=(2*O+3*M)%5;O=A,M=F}for(var O=0;O<5;O++)for(var M=0;M<5;M++)C[O+5*M]=M+(2*O+3*M)%5*5;for(var N=1,H=0;H<24;H++){for(var L=0,Y=0,Q=0;Q<7;Q++){if(N&1){var P=(1<<Q)-1;P<32?Y^=1<<P:L^=1<<P-32}N&128?N=N<<1^113:N<<=1}E[H]=p.create(L,Y)}})();var T=[];(function(){for(var O=0;O<25;O++)T[O]=p.create()})();var k=x.SHA3=g.extend({cfg:g.cfg.extend({outputLength:512}),_doReset:function(){for(var O=this._state=[],M=0;M<25;M++)O[M]=new p.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(O,M){for(var B=this._state,A=this.blockSize/2,F=0;F<A;F++){var N=O[M+2*F],H=O[M+2*F+1];N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,H=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360;var L=B[F];L.high^=H,L.low^=N}for(var Y=0;Y<24;Y++){for(var Q=0;Q<5;Q++){for(var P=0,I=0,$=0;$<5;$++){var L=B[Q+5*$];P^=L.high,I^=L.low}var W=T[Q];W.high=P,W.low=I}for(var Q=0;Q<5;Q++)for(var ne=T[(Q+4)%5],J=T[(Q+1)%5],K=J.high,ce=J.low,P=ne.high^(K<<1|ce>>>31),I=ne.low^(ce<<1|K>>>31),$=0;$<5;$++){var L=B[Q+5*$];L.high^=P,L.low^=I}for(var V=1;V<25;V++){var P,I,L=B[V],ue=L.high,Z=L.low,G=w[V];G<32?(P=ue<<G|Z>>>32-G,I=Z<<G|ue>>>32-G):(P=Z<<G-32|ue>>>64-G,I=ue<<G-32|Z>>>64-G);var te=T[C[V]];te.high=P,te.low=I}var se=T[0],re=B[0];se.high=re.high,se.low=re.low;for(var Q=0;Q<5;Q++)for(var $=0;$<5;$++){var V=Q+5*$,L=B[V],xe=T[V],be=T[(Q+1)%5+5*$],Be=T[(Q+2)%5+5*$];L.high=xe.high^~be.high&Be.high,L.low=xe.low^~be.low&Be.low}var L=B[0],Se=E[Y];L.high^=Se.high,L.low^=Se.low}},_doFinalize:function(){var O=this._data,M=O.words;this._nDataBytes*8;var B=O.sigBytes*8,A=this.blockSize*32;M[B>>>5]|=1<<24-B%32,M[(s.ceil((B+1)/A)*A>>>5)-1]|=128,O.sigBytes=M.length*4,this._process();for(var F=this._state,N=this.cfg.outputLength/8,H=N/8,L=[],Y=0;Y<H;Y++){var Q=F[Y],P=Q.high,I=Q.low;P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,L.push(I),L.push(P)}return new h.init(L,N)},clone:function(){for(var O=g.clone.call(this),M=O._state=this._state.slice(0),B=0;B<25;B++)M[B]=M[B].clone();return O}});d.SHA3=g._createHelper(k),d.HmacSHA3=g._createHmacHelper(k)}(Math),a.SHA3})}(Ug)),Ug.exports}var Hg={exports:{}},m4;function T7(){return m4||(m4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.WordArray,g=v.Hasher,_=d.algo,p=h.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),x=h.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),w=h.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),C=h.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),E=h.create([0,1518500249,1859775393,2400959708,2840853838]),T=h.create([1352829926,1548603684,1836072691,2053994217,0]),k=_.RIPEMD160=g.extend({_doReset:function(){this._hash=h.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(H,L){for(var Y=0;Y<16;Y++){var Q=L+Y,P=H[Q];H[Q]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360}var I=this._hash.words,$=E.words,W=T.words,ne=p.words,J=x.words,K=w.words,ce=C.words,V,ue,Z,G,te,se,re,xe,be,Be;se=V=I[0],re=ue=I[1],xe=Z=I[2],be=G=I[3],Be=te=I[4];for(var Se,Y=0;Y<80;Y+=1)Se=V+H[L+ne[Y]]|0,Y<16?Se+=O(ue,Z,G)+$[0]:Y<32?Se+=M(ue,Z,G)+$[1]:Y<48?Se+=B(ue,Z,G)+$[2]:Y<64?Se+=A(ue,Z,G)+$[3]:Se+=F(ue,Z,G)+$[4],Se=Se|0,Se=N(Se,K[Y]),Se=Se+te|0,V=te,te=G,G=N(Z,10),Z=ue,ue=Se,Se=se+H[L+J[Y]]|0,Y<16?Se+=F(re,xe,be)+W[0]:Y<32?Se+=A(re,xe,be)+W[1]:Y<48?Se+=B(re,xe,be)+W[2]:Y<64?Se+=M(re,xe,be)+W[3]:Se+=O(re,xe,be)+W[4],Se=Se|0,Se=N(Se,ce[Y]),Se=Se+Be|0,se=Be,Be=be,be=N(xe,10),xe=re,re=Se;Se=I[1]+Z+be|0,I[1]=I[2]+G+Be|0,I[2]=I[3]+te+se|0,I[3]=I[4]+V+re|0,I[4]=I[0]+ue+xe|0,I[0]=Se},_doFinalize:function(){var H=this._data,L=H.words,Y=this._nDataBytes*8,Q=H.sigBytes*8;L[Q>>>5]|=128<<24-Q%32,L[(Q+64>>>9<<4)+14]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360,H.sigBytes=(L.length+1)*4,this._process();for(var P=this._hash,I=P.words,$=0;$<5;$++){var W=I[$];I[$]=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360}return P},clone:function(){var H=g.clone.call(this);return H._hash=this._hash.clone(),H}});function O(H,L,Y){return H^L^Y}function M(H,L,Y){return H&L|~H&Y}function B(H,L,Y){return(H|~L)^Y}function A(H,L,Y){return H&Y|L&~Y}function F(H,L,Y){return H^(L|~Y)}function N(H,L){return H<<L|H>>>32-L}d.RIPEMD160=g._createHelper(k),d.HmacRIPEMD160=g._createHmacHelper(k)}(),a.RIPEMD160})}(Hg)),Hg.exports}var Pg={exports:{}},y4;function jg(){return y4||(y4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){(function(){var s=a,d=s.lib,v=d.Base,h=s.enc,g=h.Utf8,_=s.algo;_.HMAC=v.extend({init:function(p,x){p=this._hasher=new p.init,typeof x=="string"&&(x=g.parse(x));var w=p.blockSize,C=w*4;x.sigBytes>C&&(x=p.finalize(x)),x.clamp();for(var E=this._oKey=x.clone(),T=this._iKey=x.clone(),k=E.words,O=T.words,M=0;M<w;M++)k[M]^=1549556828,O[M]^=909522486;E.sigBytes=T.sigBytes=C,this.reset()},reset:function(){var p=this._hasher;p.reset(),p.update(this._iKey)},update:function(p){return this._hasher.update(p),this},finalize:function(p){var x=this._hasher,w=x.finalize(p);x.reset();var C=x.finalize(this._oKey.clone().concat(w));return C}})})()})}(Pg)),Pg.exports}var Ig={exports:{}},g4;function A7(){return g4||(g4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),zg(),jg())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.Base,h=d.WordArray,g=s.algo,_=g.SHA256,p=g.HMAC,x=g.PBKDF2=v.extend({cfg:v.extend({keySize:128/32,hasher:_,iterations:25e4}),init:function(w){this.cfg=this.cfg.extend(w)},compute:function(w,C){for(var E=this.cfg,T=p.create(E.hasher,w),k=h.create(),O=h.create([1]),M=k.words,B=O.words,A=E.keySize,F=E.iterations;M.length<A;){var N=T.update(C).finalize(O);T.reset();for(var H=N.words,L=H.length,Y=N,Q=1;Q<F;Q++){Y=T.finalize(Y),T.reset();for(var P=Y.words,I=0;I<L;I++)H[I]^=P[I]}k.concat(N),B[0]++}return k.sigBytes=A*4,k}});s.PBKDF2=function(w,C,E){return x.create(E).compute(w,C)}}(),a.PBKDF2})}(Ig)),Ig.exports}var $g={exports:{}},x4;function du(){return x4||(x4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),s4(),jg())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.Base,h=d.WordArray,g=s.algo,_=g.MD5,p=g.EvpKDF=v.extend({cfg:v.extend({keySize:128/32,hasher:_,iterations:1}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,w){for(var C,E=this.cfg,T=E.hasher.create(),k=h.create(),O=k.words,M=E.keySize,B=E.iterations;O.length<M;){C&&T.update(C),C=T.update(x).finalize(w),T.reset();for(var A=1;A<B;A++)C=T.finalize(C),T.reset();k.concat(C)}return k.sigBytes=M*4,k}});s.EvpKDF=function(x,w,C){return p.create(C).compute(x,w)}}(),a.EvpKDF})}($g)),$g.exports}var Vg={exports:{}},_4;function kr(){return _4||(_4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),du())})(Dt,function(a){a.lib.Cipher||function(s){var d=a,v=d.lib,h=v.Base,g=v.WordArray,_=v.BufferedBlockAlgorithm,p=d.enc;p.Utf8;var x=p.Base64,w=d.algo,C=w.EvpKDF,E=v.Cipher=_.extend({cfg:h.extend(),createEncryptor:function(P,I){return this.create(this._ENC_XFORM_MODE,P,I)},createDecryptor:function(P,I){return this.create(this._DEC_XFORM_MODE,P,I)},init:function(P,I,$){this.cfg=this.cfg.extend($),this._xformMode=P,this._key=I,this.reset()},reset:function(){_.reset.call(this),this._doReset()},process:function(P){return this._append(P),this._process()},finalize:function(P){P&&this._append(P);var I=this._doFinalize();return I},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function P(I){return typeof I=="string"?Q:H}return function(I){return{encrypt:function($,W,ne){return P(W).encrypt(I,$,W,ne)},decrypt:function($,W,ne){return P(W).decrypt(I,$,W,ne)}}}}()});v.StreamCipher=E.extend({_doFinalize:function(){var P=this._process(!0);return P},blockSize:1});var T=d.mode={},k=v.BlockCipherMode=h.extend({createEncryptor:function(P,I){return this.Encryptor.create(P,I)},createDecryptor:function(P,I){return this.Decryptor.create(P,I)},init:function(P,I){this._cipher=P,this._iv=I}}),O=T.CBC=function(){var P=k.extend();P.Encryptor=P.extend({processBlock:function($,W){var ne=this._cipher,J=ne.blockSize;I.call(this,$,W,J),ne.encryptBlock($,W),this._prevBlock=$.slice(W,W+J)}}),P.Decryptor=P.extend({processBlock:function($,W){var ne=this._cipher,J=ne.blockSize,K=$.slice(W,W+J);ne.decryptBlock($,W),I.call(this,$,W,J),this._prevBlock=K}});function I($,W,ne){var J,K=this._iv;K?(J=K,this._iv=s):J=this._prevBlock;for(var ce=0;ce<ne;ce++)$[W+ce]^=J[ce]}return P}(),M=d.pad={},B=M.Pkcs7={pad:function(P,I){for(var $=I*4,W=$-P.sigBytes%$,ne=W<<24|W<<16|W<<8|W,J=[],K=0;K<W;K+=4)J.push(ne);var ce=g.create(J,W);P.concat(ce)},unpad:function(P){var I=P.words[P.sigBytes-1>>>2]&255;P.sigBytes-=I}};v.BlockCipher=E.extend({cfg:E.cfg.extend({mode:O,padding:B}),reset:function(){var P;E.reset.call(this);var I=this.cfg,$=I.iv,W=I.mode;this._xformMode==this._ENC_XFORM_MODE?P=W.createEncryptor:(P=W.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==P?this._mode.init(this,$&&$.words):(this._mode=P.call(W,this,$&&$.words),this._mode.__creator=P)},_doProcessBlock:function(P,I){this._mode.processBlock(P,I)},_doFinalize:function(){var P,I=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(I.pad(this._data,this.blockSize),P=this._process(!0)):(P=this._process(!0),I.unpad(P)),P},blockSize:128/32});var A=v.CipherParams=h.extend({init:function(P){this.mixIn(P)},toString:function(P){return(P||this.formatter).stringify(this)}}),F=d.format={},N=F.OpenSSL={stringify:function(P){var I,$=P.ciphertext,W=P.salt;return W?I=g.create([1398893684,1701076831]).concat(W).concat($):I=$,I.toString(x)},parse:function(P){var I,$=x.parse(P),W=$.words;return W[0]==1398893684&&W[1]==1701076831&&(I=g.create(W.slice(2,4)),W.splice(0,4),$.sigBytes-=16),A.create({ciphertext:$,salt:I})}},H=v.SerializableCipher=h.extend({cfg:h.extend({format:N}),encrypt:function(P,I,$,W){W=this.cfg.extend(W);var ne=P.createEncryptor($,W),J=ne.finalize(I),K=ne.cfg;return A.create({ciphertext:J,key:$,iv:K.iv,algorithm:P,mode:K.mode,padding:K.padding,blockSize:P.blockSize,formatter:W.format})},decrypt:function(P,I,$,W){W=this.cfg.extend(W),I=this._parse(I,W.format);var ne=P.createDecryptor($,W).finalize(I.ciphertext);return ne},_parse:function(P,I){return typeof P=="string"?I.parse(P,this):P}}),L=d.kdf={},Y=L.OpenSSL={execute:function(P,I,$,W,ne){if(W||(W=g.random(64/8)),ne)var J=C.create({keySize:I+$,hasher:ne}).compute(P,W);else var J=C.create({keySize:I+$}).compute(P,W);var K=g.create(J.words.slice(I),$*4);return J.sigBytes=I*4,A.create({key:J,iv:K,salt:W})}},Q=v.PasswordBasedCipher=H.extend({cfg:H.cfg.extend({kdf:Y}),encrypt:function(P,I,$,W){W=this.cfg.extend(W);var ne=W.kdf.execute($,P.keySize,P.ivSize,W.salt,W.hasher);W.iv=ne.iv;var J=H.encrypt.call(this,P,I,ne.key,W);return J.mixIn(ne),J},decrypt:function(P,I,$,W){W=this.cfg.extend(W),I=this._parse(I,W.format);var ne=W.kdf.execute($,P.keySize,P.ivSize,I.salt,W.hasher);W.iv=ne.iv;var J=H.decrypt.call(this,P,I,ne.key,W);return J}})}()})}(Vg)),Vg.exports}var Yg={exports:{}},C4;function R7(){return C4||(C4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.CFB=function(){var s=a.lib.BlockCipherMode.extend();s.Encryptor=s.extend({processBlock:function(v,h){var g=this._cipher,_=g.blockSize;d.call(this,v,h,_,g),this._prevBlock=v.slice(h,h+_)}}),s.Decryptor=s.extend({processBlock:function(v,h){var g=this._cipher,_=g.blockSize,p=v.slice(h,h+_);d.call(this,v,h,_,g),this._prevBlock=p}});function d(v,h,g,_){var p,x=this._iv;x?(p=x.slice(0),this._iv=void 0):p=this._prevBlock,_.encryptBlock(p,0);for(var w=0;w<g;w++)v[h+w]^=p[w]}return s}(),a.mode.CFB})}(Yg)),Yg.exports}var qg={exports:{}},S4;function k7(){return S4||(S4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.CTR=function(){var s=a.lib.BlockCipherMode.extend(),d=s.Encryptor=s.extend({processBlock:function(v,h){var g=this._cipher,_=g.blockSize,p=this._iv,x=this._counter;p&&(x=this._counter=p.slice(0),this._iv=void 0);var w=x.slice(0);g.encryptBlock(w,0),x[_-1]=x[_-1]+1|0;for(var C=0;C<_;C++)v[h+C]^=w[C]}});return s.Decryptor=d,s}(),a.mode.CTR})}(qg)),qg.exports}var Gg={exports:{}},E4;function O7(){return E4||(E4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.CTRGladman=function(){var s=a.lib.BlockCipherMode.extend();function d(g){if((g>>24&255)===255){var _=g>>16&255,p=g>>8&255,x=g&255;_===255?(_=0,p===255?(p=0,x===255?x=0:++x):++p):++_,g=0,g+=_<<16,g+=p<<8,g+=x}else g+=1<<24;return g}function v(g){return(g[0]=d(g[0]))===0&&(g[1]=d(g[1])),g}var h=s.Encryptor=s.extend({processBlock:function(g,_){var p=this._cipher,x=p.blockSize,w=this._iv,C=this._counter;w&&(C=this._counter=w.slice(0),this._iv=void 0),v(C);var E=C.slice(0);p.encryptBlock(E,0);for(var T=0;T<x;T++)g[_+T]^=E[T]}});return s.Decryptor=h,s}(),a.mode.CTRGladman})}(Gg)),Gg.exports}var Wg={exports:{}},b4;function B7(){return b4||(b4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.OFB=function(){var s=a.lib.BlockCipherMode.extend(),d=s.Encryptor=s.extend({processBlock:function(v,h){var g=this._cipher,_=g.blockSize,p=this._iv,x=this._keystream;p&&(x=this._keystream=p.slice(0),this._iv=void 0),g.encryptBlock(x,0);for(var w=0;w<_;w++)v[h+w]^=x[w]}});return s.Decryptor=d,s}(),a.mode.OFB})}(Wg)),Wg.exports}var Zg={exports:{}},w4;function F7(){return w4||(w4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.ECB=function(){var s=a.lib.BlockCipherMode.extend();return s.Encryptor=s.extend({processBlock:function(d,v){this._cipher.encryptBlock(d,v)}}),s.Decryptor=s.extend({processBlock:function(d,v){this._cipher.decryptBlock(d,v)}}),s}(),a.mode.ECB})}(Zg)),Zg.exports}var Kg={exports:{}},D4;function z7(){return D4||(D4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.AnsiX923={pad:function(s,d){var v=s.sigBytes,h=d*4,g=h-v%h,_=v+g-1;s.clamp(),s.words[_>>>2]|=g<<24-_%4*8,s.sigBytes+=g},unpad:function(s){var d=s.words[s.sigBytes-1>>>2]&255;s.sigBytes-=d}},a.pad.Ansix923})}(Kg)),Kg.exports}var Qg={exports:{}},T4;function M7(){return T4||(T4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.Iso10126={pad:function(s,d){var v=d*4,h=v-s.sigBytes%v;s.concat(a.lib.WordArray.random(h-1)).concat(a.lib.WordArray.create([h<<24],1))},unpad:function(s){var d=s.words[s.sigBytes-1>>>2]&255;s.sigBytes-=d}},a.pad.Iso10126})}(Qg)),Qg.exports}var Xg={exports:{}},A4;function N7(){return A4||(A4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.Iso97971={pad:function(s,d){s.concat(a.lib.WordArray.create([2147483648],1)),a.pad.ZeroPadding.pad(s,d)},unpad:function(s){a.pad.ZeroPadding.unpad(s),s.sigBytes--}},a.pad.Iso97971})}(Xg)),Xg.exports}var Jg={exports:{}},R4;function L7(){return R4||(R4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.ZeroPadding={pad:function(s,d){var v=d*4;s.clamp(),s.sigBytes+=v-(s.sigBytes%v||v)},unpad:function(s){for(var d=s.words,v=s.sigBytes-1,v=s.sigBytes-1;v>=0;v--)if(d[v>>>2]>>>24-v%4*8&255){s.sigBytes=v+1;break}}},a.pad.ZeroPadding})}(Jg)),Jg.exports}var ex={exports:{}},k4;function U7(){return k4||(k4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.NoPadding={pad:function(){},unpad:function(){}},a.pad.NoPadding})}(ex)),ex.exports}var tx={exports:{}},O4;function H7(){return O4||(O4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.CipherParams,g=d.enc,_=g.Hex,p=d.format;p.Hex={stringify:function(x){return x.ciphertext.toString(_)},parse:function(x){var w=_.parse(x);return h.create({ciphertext:w})}}}(),a.format.Hex})}(tx)),tx.exports}var nx={exports:{}},B4;function P7(){return B4||(B4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.BlockCipher,h=s.algo,g=[],_=[],p=[],x=[],w=[],C=[],E=[],T=[],k=[],O=[];(function(){for(var A=[],F=0;F<256;F++)F<128?A[F]=F<<1:A[F]=F<<1^283;for(var N=0,H=0,F=0;F<256;F++){var L=H^H<<1^H<<2^H<<3^H<<4;L=L>>>8^L&255^99,g[N]=L,_[L]=N;var Y=A[N],Q=A[Y],P=A[Q],I=A[L]*257^L*16843008;p[N]=I<<24|I>>>8,x[N]=I<<16|I>>>16,w[N]=I<<8|I>>>24,C[N]=I;var I=P*16843009^Q*65537^Y*257^N*16843008;E[L]=I<<24|I>>>8,T[L]=I<<16|I>>>16,k[L]=I<<8|I>>>24,O[L]=I,N?(N=Y^A[A[A[P^Y]]],H^=A[A[H]]):N=H=1}})();var M=[0,1,2,4,8,16,32,64,128,27,54],B=h.AES=v.extend({_doReset:function(){var A;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var F=this._keyPriorReset=this._key,N=F.words,H=F.sigBytes/4,L=this._nRounds=H+6,Y=(L+1)*4,Q=this._keySchedule=[],P=0;P<Y;P++)P<H?Q[P]=N[P]:(A=Q[P-1],P%H?H>6&&P%H==4&&(A=g[A>>>24]<<24|g[A>>>16&255]<<16|g[A>>>8&255]<<8|g[A&255]):(A=A<<8|A>>>24,A=g[A>>>24]<<24|g[A>>>16&255]<<16|g[A>>>8&255]<<8|g[A&255],A^=M[P/H|0]<<24),Q[P]=Q[P-H]^A);for(var I=this._invKeySchedule=[],$=0;$<Y;$++){var P=Y-$;if($%4)var A=Q[P];else var A=Q[P-4];$<4||P<=4?I[$]=A:I[$]=E[g[A>>>24]]^T[g[A>>>16&255]]^k[g[A>>>8&255]]^O[g[A&255]]}}},encryptBlock:function(A,F){this._doCryptBlock(A,F,this._keySchedule,p,x,w,C,g)},decryptBlock:function(A,F){var N=A[F+1];A[F+1]=A[F+3],A[F+3]=N,this._doCryptBlock(A,F,this._invKeySchedule,E,T,k,O,_);var N=A[F+1];A[F+1]=A[F+3],A[F+3]=N},_doCryptBlock:function(A,F,N,H,L,Y,Q,P){for(var I=this._nRounds,$=A[F]^N[0],W=A[F+1]^N[1],ne=A[F+2]^N[2],J=A[F+3]^N[3],K=4,ce=1;ce<I;ce++){var V=H[$>>>24]^L[W>>>16&255]^Y[ne>>>8&255]^Q[J&255]^N[K++],ue=H[W>>>24]^L[ne>>>16&255]^Y[J>>>8&255]^Q[$&255]^N[K++],Z=H[ne>>>24]^L[J>>>16&255]^Y[$>>>8&255]^Q[W&255]^N[K++],G=H[J>>>24]^L[$>>>16&255]^Y[W>>>8&255]^Q[ne&255]^N[K++];$=V,W=ue,ne=Z,J=G}var V=(P[$>>>24]<<24|P[W>>>16&255]<<16|P[ne>>>8&255]<<8|P[J&255])^N[K++],ue=(P[W>>>24]<<24|P[ne>>>16&255]<<16|P[J>>>8&255]<<8|P[$&255])^N[K++],Z=(P[ne>>>24]<<24|P[J>>>16&255]<<16|P[$>>>8&255]<<8|P[W&255])^N[K++],G=(P[J>>>24]<<24|P[$>>>16&255]<<16|P[W>>>8&255]<<8|P[ne&255])^N[K++];A[F]=V,A[F+1]=ue,A[F+2]=Z,A[F+3]=G},keySize:256/32});s.AES=v._createHelper(B)}(),a.AES})}(nx)),nx.exports}var rx={exports:{}},F4;function j7(){return F4||(F4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=d.BlockCipher,g=s.algo,_=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],p=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],x=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],w=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],C=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],E=g.DES=h.extend({_doReset:function(){for(var M=this._key,B=M.words,A=[],F=0;F<56;F++){var N=_[F]-1;A[F]=B[N>>>5]>>>31-N%32&1}for(var H=this._subKeys=[],L=0;L<16;L++){for(var Y=H[L]=[],Q=x[L],F=0;F<24;F++)Y[F/6|0]|=A[(p[F]-1+Q)%28]<<31-F%6,Y[4+(F/6|0)]|=A[28+(p[F+24]-1+Q)%28]<<31-F%6;Y[0]=Y[0]<<1|Y[0]>>>31;for(var F=1;F<7;F++)Y[F]=Y[F]>>>(F-1)*4+3;Y[7]=Y[7]<<5|Y[7]>>>27}for(var P=this._invSubKeys=[],F=0;F<16;F++)P[F]=H[15-F]},encryptBlock:function(M,B){this._doCryptBlock(M,B,this._subKeys)},decryptBlock:function(M,B){this._doCryptBlock(M,B,this._invSubKeys)},_doCryptBlock:function(M,B,A){this._lBlock=M[B],this._rBlock=M[B+1],T.call(this,4,252645135),T.call(this,16,65535),k.call(this,2,858993459),k.call(this,8,16711935),T.call(this,1,1431655765);for(var F=0;F<16;F++){for(var N=A[F],H=this._lBlock,L=this._rBlock,Y=0,Q=0;Q<8;Q++)Y|=w[Q][((L^N[Q])&C[Q])>>>0];this._lBlock=L,this._rBlock=H^Y}var P=this._lBlock;this._lBlock=this._rBlock,this._rBlock=P,T.call(this,1,1431655765),k.call(this,8,16711935),k.call(this,2,858993459),T.call(this,16,65535),T.call(this,4,252645135),M[B]=this._lBlock,M[B+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function T(M,B){var A=(this._lBlock>>>M^this._rBlock)&B;this._rBlock^=A,this._lBlock^=A<<M}function k(M,B){var A=(this._rBlock>>>M^this._lBlock)&B;this._lBlock^=A,this._rBlock^=A<<M}s.DES=h._createHelper(E);var O=g.TripleDES=h.extend({_doReset:function(){var M=this._key,B=M.words;if(B.length!==2&&B.length!==4&&B.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var A=B.slice(0,2),F=B.length<4?B.slice(0,2):B.slice(2,4),N=B.length<6?B.slice(0,2):B.slice(4,6);this._des1=E.createEncryptor(v.create(A)),this._des2=E.createEncryptor(v.create(F)),this._des3=E.createEncryptor(v.create(N))},encryptBlock:function(M,B){this._des1.encryptBlock(M,B),this._des2.decryptBlock(M,B),this._des3.encryptBlock(M,B)},decryptBlock:function(M,B){this._des3.decryptBlock(M,B),this._des2.encryptBlock(M,B),this._des1.decryptBlock(M,B)},keySize:192/32,ivSize:64/32,blockSize:64/32});s.TripleDES=h._createHelper(O)}(),a.TripleDES})}(rx)),rx.exports}var ax={exports:{}},z4;function I7(){return z4||(z4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.StreamCipher,h=s.algo,g=h.RC4=v.extend({_doReset:function(){for(var x=this._key,w=x.words,C=x.sigBytes,E=this._S=[],T=0;T<256;T++)E[T]=T;for(var T=0,k=0;T<256;T++){var O=T%C,M=w[O>>>2]>>>24-O%4*8&255;k=(k+E[T]+M)%256;var B=E[T];E[T]=E[k],E[k]=B}this._i=this._j=0},_doProcessBlock:function(x,w){x[w]^=_.call(this)},keySize:256/32,ivSize:0});function _(){for(var x=this._S,w=this._i,C=this._j,E=0,T=0;T<4;T++){w=(w+1)%256,C=(C+x[w])%256;var k=x[w];x[w]=x[C],x[C]=k,E|=x[(x[w]+x[C])%256]<<24-T*8}return this._i=w,this._j=C,E}s.RC4=v._createHelper(g);var p=h.RC4Drop=g.extend({cfg:g.cfg.extend({drop:192}),_doReset:function(){g._doReset.call(this);for(var x=this.cfg.drop;x>0;x--)_.call(this)}});s.RC4Drop=v._createHelper(p)}(),a.RC4})}(ax)),ax.exports}var ix={exports:{}},M4;function $7(){return M4||(M4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.StreamCipher,h=s.algo,g=[],_=[],p=[],x=h.Rabbit=v.extend({_doReset:function(){for(var C=this._key.words,E=this.cfg.iv,T=0;T<4;T++)C[T]=(C[T]<<8|C[T]>>>24)&16711935|(C[T]<<24|C[T]>>>8)&4278255360;var k=this._X=[C[0],C[3]<<16|C[2]>>>16,C[1],C[0]<<16|C[3]>>>16,C[2],C[1]<<16|C[0]>>>16,C[3],C[2]<<16|C[1]>>>16],O=this._C=[C[2]<<16|C[2]>>>16,C[0]&4294901760|C[1]&65535,C[3]<<16|C[3]>>>16,C[1]&4294901760|C[2]&65535,C[0]<<16|C[0]>>>16,C[2]&4294901760|C[3]&65535,C[1]<<16|C[1]>>>16,C[3]&4294901760|C[0]&65535];this._b=0;for(var T=0;T<4;T++)w.call(this);for(var T=0;T<8;T++)O[T]^=k[T+4&7];if(E){var M=E.words,B=M[0],A=M[1],F=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,N=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,H=F>>>16|N&4294901760,L=N<<16|F&65535;O[0]^=F,O[1]^=H,O[2]^=N,O[3]^=L,O[4]^=F,O[5]^=H,O[6]^=N,O[7]^=L;for(var T=0;T<4;T++)w.call(this)}},_doProcessBlock:function(C,E){var T=this._X;w.call(this),g[0]=T[0]^T[5]>>>16^T[3]<<16,g[1]=T[2]^T[7]>>>16^T[5]<<16,g[2]=T[4]^T[1]>>>16^T[7]<<16,g[3]=T[6]^T[3]>>>16^T[1]<<16;for(var k=0;k<4;k++)g[k]=(g[k]<<8|g[k]>>>24)&16711935|(g[k]<<24|g[k]>>>8)&4278255360,C[E+k]^=g[k]},blockSize:128/32,ivSize:64/32});function w(){for(var C=this._X,E=this._C,T=0;T<8;T++)_[T]=E[T];E[0]=E[0]+1295307597+this._b|0,E[1]=E[1]+3545052371+(E[0]>>>0<_[0]>>>0?1:0)|0,E[2]=E[2]+886263092+(E[1]>>>0<_[1]>>>0?1:0)|0,E[3]=E[3]+1295307597+(E[2]>>>0<_[2]>>>0?1:0)|0,E[4]=E[4]+3545052371+(E[3]>>>0<_[3]>>>0?1:0)|0,E[5]=E[5]+886263092+(E[4]>>>0<_[4]>>>0?1:0)|0,E[6]=E[6]+1295307597+(E[5]>>>0<_[5]>>>0?1:0)|0,E[7]=E[7]+3545052371+(E[6]>>>0<_[6]>>>0?1:0)|0,this._b=E[7]>>>0<_[7]>>>0?1:0;for(var T=0;T<8;T++){var k=C[T]+E[T],O=k&65535,M=k>>>16,B=((O*O>>>17)+O*M>>>15)+M*M,A=((k&4294901760)*k|0)+((k&65535)*k|0);p[T]=B^A}C[0]=p[0]+(p[7]<<16|p[7]>>>16)+(p[6]<<16|p[6]>>>16)|0,C[1]=p[1]+(p[0]<<8|p[0]>>>24)+p[7]|0,C[2]=p[2]+(p[1]<<16|p[1]>>>16)+(p[0]<<16|p[0]>>>16)|0,C[3]=p[3]+(p[2]<<8|p[2]>>>24)+p[1]|0,C[4]=p[4]+(p[3]<<16|p[3]>>>16)+(p[2]<<16|p[2]>>>16)|0,C[5]=p[5]+(p[4]<<8|p[4]>>>24)+p[3]|0,C[6]=p[6]+(p[5]<<16|p[5]>>>16)+(p[4]<<16|p[4]>>>16)|0,C[7]=p[7]+(p[6]<<8|p[6]>>>24)+p[5]|0}s.Rabbit=v._createHelper(x)}(),a.Rabbit})}(ix)),ix.exports}var ox={exports:{}},N4;function V7(){return N4||(N4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.StreamCipher,h=s.algo,g=[],_=[],p=[],x=h.RabbitLegacy=v.extend({_doReset:function(){var C=this._key.words,E=this.cfg.iv,T=this._X=[C[0],C[3]<<16|C[2]>>>16,C[1],C[0]<<16|C[3]>>>16,C[2],C[1]<<16|C[0]>>>16,C[3],C[2]<<16|C[1]>>>16],k=this._C=[C[2]<<16|C[2]>>>16,C[0]&4294901760|C[1]&65535,C[3]<<16|C[3]>>>16,C[1]&4294901760|C[2]&65535,C[0]<<16|C[0]>>>16,C[2]&4294901760|C[3]&65535,C[1]<<16|C[1]>>>16,C[3]&4294901760|C[0]&65535];this._b=0;for(var O=0;O<4;O++)w.call(this);for(var O=0;O<8;O++)k[O]^=T[O+4&7];if(E){var M=E.words,B=M[0],A=M[1],F=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,N=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,H=F>>>16|N&4294901760,L=N<<16|F&65535;k[0]^=F,k[1]^=H,k[2]^=N,k[3]^=L,k[4]^=F,k[5]^=H,k[6]^=N,k[7]^=L;for(var O=0;O<4;O++)w.call(this)}},_doProcessBlock:function(C,E){var T=this._X;w.call(this),g[0]=T[0]^T[5]>>>16^T[3]<<16,g[1]=T[2]^T[7]>>>16^T[5]<<16,g[2]=T[4]^T[1]>>>16^T[7]<<16,g[3]=T[6]^T[3]>>>16^T[1]<<16;for(var k=0;k<4;k++)g[k]=(g[k]<<8|g[k]>>>24)&16711935|(g[k]<<24|g[k]>>>8)&4278255360,C[E+k]^=g[k]},blockSize:128/32,ivSize:64/32});function w(){for(var C=this._X,E=this._C,T=0;T<8;T++)_[T]=E[T];E[0]=E[0]+1295307597+this._b|0,E[1]=E[1]+3545052371+(E[0]>>>0<_[0]>>>0?1:0)|0,E[2]=E[2]+886263092+(E[1]>>>0<_[1]>>>0?1:0)|0,E[3]=E[3]+1295307597+(E[2]>>>0<_[2]>>>0?1:0)|0,E[4]=E[4]+3545052371+(E[3]>>>0<_[3]>>>0?1:0)|0,E[5]=E[5]+886263092+(E[4]>>>0<_[4]>>>0?1:0)|0,E[6]=E[6]+1295307597+(E[5]>>>0<_[5]>>>0?1:0)|0,E[7]=E[7]+3545052371+(E[6]>>>0<_[6]>>>0?1:0)|0,this._b=E[7]>>>0<_[7]>>>0?1:0;for(var T=0;T<8;T++){var k=C[T]+E[T],O=k&65535,M=k>>>16,B=((O*O>>>17)+O*M>>>15)+M*M,A=((k&4294901760)*k|0)+((k&65535)*k|0);p[T]=B^A}C[0]=p[0]+(p[7]<<16|p[7]>>>16)+(p[6]<<16|p[6]>>>16)|0,C[1]=p[1]+(p[0]<<8|p[0]>>>24)+p[7]|0,C[2]=p[2]+(p[1]<<16|p[1]>>>16)+(p[0]<<16|p[0]>>>16)|0,C[3]=p[3]+(p[2]<<8|p[2]>>>24)+p[1]|0,C[4]=p[4]+(p[3]<<16|p[3]>>>16)+(p[2]<<16|p[2]>>>16)|0,C[5]=p[5]+(p[4]<<8|p[4]>>>24)+p[3]|0,C[6]=p[6]+(p[5]<<16|p[5]>>>16)+(p[4]<<16|p[4]>>>16)|0,C[7]=p[7]+(p[6]<<8|p[6]>>>24)+p[5]|0}s.RabbitLegacy=v._createHelper(x)}(),a.RabbitLegacy})}(ox)),ox.exports}var lx={exports:{}},L4;function Y7(){return L4||(L4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.BlockCipher,h=s.algo;const g=16,_=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],p=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var x={pbox:[],sbox:[]};function w(O,M){let B=M>>24&255,A=M>>16&255,F=M>>8&255,N=M&255,H=O.sbox[0][B]+O.sbox[1][A];return H=H^O.sbox[2][F],H=H+O.sbox[3][N],H}function C(O,M,B){let A=M,F=B,N;for(let H=0;H<g;++H)A=A^O.pbox[H],F=w(O,A)^F,N=A,A=F,F=N;return N=A,A=F,F=N,F=F^O.pbox[g],A=A^O.pbox[g+1],{left:A,right:F}}function E(O,M,B){let A=M,F=B,N;for(let H=g+1;H>1;--H)A=A^O.pbox[H],F=w(O,A)^F,N=A,A=F,F=N;return N=A,A=F,F=N,F=F^O.pbox[1],A=A^O.pbox[0],{left:A,right:F}}function T(O,M,B){for(let L=0;L<4;L++){O.sbox[L]=[];for(let Y=0;Y<256;Y++)O.sbox[L][Y]=p[L][Y]}let A=0;for(let L=0;L<g+2;L++)O.pbox[L]=_[L]^M[A],A++,A>=B&&(A=0);let F=0,N=0,H=0;for(let L=0;L<g+2;L+=2)H=C(O,F,N),F=H.left,N=H.right,O.pbox[L]=F,O.pbox[L+1]=N;for(let L=0;L<4;L++)for(let Y=0;Y<256;Y+=2)H=C(O,F,N),F=H.left,N=H.right,O.sbox[L][Y]=F,O.sbox[L][Y+1]=N;return!0}var k=h.Blowfish=v.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var O=this._keyPriorReset=this._key,M=O.words,B=O.sigBytes/4;T(x,M,B)}},encryptBlock:function(O,M){var B=C(x,O[M],O[M+1]);O[M]=B.left,O[M+1]=B.right},decryptBlock:function(O,M){var B=E(x,O[M],O[M+1]);O[M]=B.left,O[M+1]=B.right},blockSize:64/32,keySize:128/32,ivSize:64/32});s.Blowfish=v._createHelper(k)}(),a.Blowfish})}(lx)),lx.exports}(function(n,l){(function(a,s,d){n.exports=s(Lt(),iv(),C7(),S7(),Es(),E7(),bs(),s4(),zg(),b7(),p4(),w7(),D7(),T7(),jg(),A7(),du(),kr(),R7(),k7(),O7(),B7(),F7(),z7(),M7(),N7(),L7(),U7(),H7(),P7(),j7(),I7(),$7(),V7(),Y7())})(Dt,function(a){return a})})(e4);const hl=e4.exports;class q7{constructor(){zc(this,"salt","SzlDJd#4202")}encrypt(l){if(!l)return;const a=typeof l=="string"?l:JSON.stringify(l);return hl.AES.encrypt(a,this.salt).toString()}decrypt(l){if(l)return hl.AES.decrypt(l,this.salt).toString(hl.enc.Utf8)}}class G7{constructor(l){zc(this,"salt");this.salt=l}encrypt(l){return hl.HmacSHA512(l,this.salt).toString()}}const bn=class{static rotateLeft(l,a){return l<<a|l>>>32-a}static FFj(l,a,s,d){return d>=0&&d<=15?l^a^s:l&a|l&s|a&s}static GGj(l,a,s,d){return d>=0&&d<=15?l^a^s:l&a|~l&s}static P0(l){return l^bn.rotateLeft(l,9)^bn.rotateLeft(l,17)}static P1(l){return l^bn.rotateLeft(l,15)^bn.rotateLeft(l,23)}static pad(l){const a=l.length*8,s=(448-(a+1)%512+512)%512,d=(a+1+s+64)/8,v=new Uint8Array(d);v.set(l),v[l.length]=128;const h=new Uint8Array(8);return new DataView(h.buffer).setBigUint64(0,BigInt(a),!1),v.set(h,d-8),v}static processBlock(l,a){const s=new Uint32Array(68),d=new Uint32Array(64);for(let E=0;E<16;E++){const T=new DataView(l.buffer,l.byteOffset+E*4,4);s[E]=T.getUint32(0,!1)}for(let E=16;E<68;E++)s[E]=bn.P1(s[E-16]^s[E-9]^bn.rotateLeft(s[E-3],15))^bn.rotateLeft(s[E-13],7)^s[E-6];for(let E=0;E<64;E++)d[E]=s[E]^s[E+4];let v=a[0],h=a[1],g=a[2],_=a[3],p=a[4],x=a[5],w=a[6],C=a[7];for(let E=0;E<64;E++){const T=bn.rotateLeft(bn.rotateLeft(v,12)+p+bn.rotateLeft(bn.T[E],E),7),k=T^bn.rotateLeft(v,12),O=bn.FFj(v,h,g,E)+_+k+d[E],M=bn.GGj(p,x,w,E)+C+T+s[E];_=g,g=bn.rotateLeft(h,9),h=v,v=O,C=w,w=bn.rotateLeft(x,19),x=p,p=bn.P0(M)}a[0]^=v,a[1]^=h,a[2]^=g,a[3]^=_,a[4]^=p,a[5]^=x,a[6]^=w,a[7]^=C}static hash(l){const a=bn.pad(l),s=new Uint32Array(bn.IV);for(let h=0;h<a.length;h+=64){const g=a.slice(h,h+64);bn.processBlock(g,s)}const d=new Uint8Array(32),v=new DataView(d.buffer);for(let h=0;h<8;h++)v.setUint32(h*4,s[h],!1);return d}static hashHex(l){const a=typeof l=="string"?new TextEncoder().encode(l):l,s=bn.hash(a);return Array.from(s).map(d=>d.toString(16).padStart(2,"0")).join("")}};let ws=bn;zc(ws,"IV",new Uint32Array([1937774191,1226093241,388252375,3666478592,2842636476,372324522,3817729613,2969243214])),zc(ws,"T",new Uint32Array(64)),(()=>{for(let l=0;l<16;l++)bn.T[l]=2043430169;for(let l=16;l<64;l++)bn.T[l]=2055708042})();class ux{constructor(l){zc(this,"key");this.key=typeof l=="string"?new TextEncoder().encode(l):l}digest(l){const a=typeof l=="string"?new TextEncoder().encode(l):l,s=64;let d;if(this.key.length>s)d=ws.hash(this.key);else{d=new Uint8Array(s),d.set(this.key);for(let w=this.key.length;w<s;w++)d[w]=0}const v=new Uint8Array(s),h=new Uint8Array(s);for(let w=0;w<s;w++)v[w]=d[w]^54,h[w]=d[w]^92;const g=new Uint8Array(v.length+a.length);g.set(v),g.set(a,v.length);const _=ws.hash(g),p=new Uint8Array(h.length+_.length);return p.set(h),p.set(_,h.length),ws.hash(p)}digestHex(l){const a=this.digest(l);return Array.from(a).map(s=>s.toString(16).padStart(2,"0")).join("")}static hmac(l,a){return new ux(l).digestHex(a)}}const W7=Object.freeze(Object.defineProperty({__proto__:null,handleGetAttrList:async(n,l,a)=>{var s;try{const d=await l(a||"SERATTALLList",n);return(d==null?void 0:d.ReturnValue)===1?((s=d==null?void 0:d.data)==null?void 0:s.attr_list)||[]:[]}catch{}},handleGetAttrDetail:async(n,l,a)=>{var s;try{const d=await l(a||"YLFWLRDataDetails",n);return(d==null?void 0:d.ReturnValue)===1?((s=d==null?void 0:d.data)==null?void 0:s.list)||[]:[]}catch{}},handleObjDetailToSignleAttrList:(n,l)=>n.map(a=>({...a,attrvalue:l[a.attrid]||""}))},Symbol.toStringTag,{value:"Module"}));function Z7(n){const{imgKey:l="Img"}=n,{data:a,loading:s,error:d,refresh:v}=PC.useRequest(n.request,{debounceWait:300,ready:!0,retryCount:3});return{data:a,renderCaptcha:()=>d?de(De.Button,{type:"link",title:"验证码加载失败,请重试",icon:de(jD,{}),onClick:v,children:"点击重试"}):de("img",{src:au.get(a,[l]),style:{height:"100%",objectFit:"contain",cursor:"pointer"},onClick:v}),loading:s,refresh:v}}function K7(n){const{modal:l,message:a}=De.App.useApp(),[s]=De.Form.useForm(),d=[{dataIndex:"Password",title:"新密码",valueType:"password",valueProps:{placeholder:"请输入新密码"},formItemProps:{rules:[{required:!0,message:"请输入新密码"},Jb.passwordNewRule]}},{dataIndex:"NewPassword",title:"确认密码",valueType:"password",valueProps:{placeholder:"请输入确认密码"},formItemProps:{rules:[{required:!0,message:"请输入确认密码"},({getFieldValue:h})=>({validator(g,_){return!_||h("Password")===_?Promise.resolve():Promise.reject(new Error("两次密码输入不一致"))}})]}}];return{handleChangePwd:PC.useLockFn(async(h,g)=>{const _=n==null?void 0:n.modalProps;let p;_!=null&&_.width&&(typeof _.width=="string"||typeof _.width=="number")&&(p=_.width),await l.confirm({title:g||"修改密码",icon:null,wrapClassName:"confirmWrapper",content:de(Xy,{items:d,formProps:{form:s,preserve:!1,layout:"vertical",labelCol:{span:24},wrapperCol:{span:24}}}),onOk(){return new Promise((x,w)=>{s.validateFields().then(C=>{h({values:C,resolve:x,reject:w})}).catch(C=>{w(C)})})},..._,width:p})})}}const Q7="SzlDJd#4202";function X7(n){const[l,a]=Te.useState(null);Te.useEffect(()=>{s()},[]);const s=()=>{const d=hl.AES.decrypt(n,Q7);try{const v=JSON.parse(d.toString(hl.enc.Utf8));a(v)}catch{}};return l}function J7(n){const{secertKey:l,storageKey:a}=n;return{onParse:v=>{const h=localStorage.getItem(a);if(!h){v(null);return}const g=hl.AES.decrypt(h,l);try{const _=JSON.parse(g.toString(hl.enc.Utf8));v(_)}catch{v(null)}},onSave:v=>{const h=hl.AES.encrypt(JSON.stringify({...v,timestamp:Date.now()}),l);MS(a,h.toString())}}}function eO(n){const{dataSource:l,rowKey:a,defaultRows:s=[]}=n,d=Te.useRef(s),[v,h]=Te.useState([]),[g,_]=Te.useState([]);return Te.useEffect(()=>{if(l&&l.length>0){const p=[...l,...d.current];d.current=p.filter((x,w,C)=>C.findIndex(E=>x[a]===E[a])===w)}},[l,a]),Te.useEffect(()=>{if(d.current.length>0){let p=[];g.forEach(x=>{const w=d.current.find(C=>C[a]===x);w&&!p.map(C=>C[a]).includes(x)&&p.push(w)}),h(p)}},[d.current,g,a]),{selectedRows:v,selectedKeys:g,setSelectedKeys:_}}function tO({detailInfo:n,labelSpan:l=3,valueSpan:a=9,imgWidth:s=93,imgHeight:d=93,useGrid:v=!0,mainApplicationDomain:h=""}){const g=C=>{var E;(E=window.parent)==null||E.postMessage({type:"previewDoc",docurl:C},h)},_=C=>{if(typeof(C==null?void 0:C.attrvalue)!="string")return;const E=JSON.parse((C==null?void 0:C.attrvalue)||"[]"),T=de(De.Space,{children:E.map((k,O)=>de("div",{style:{border:"1px solid rgba(0, 0, 0, 0.15)",borderRadius:4},children:de(De.Image,{style:{objectFit:"cover",padding:5},width:s,height:d,src:k==null?void 0:k.FilePath,alt:(C==null?void 0:C.attrname)||"-"},O)},O))});return v?bt(Te.Fragment,{children:[de(De.Col,{span:l,children:C==null?void 0:C.attrname}),de(De.Col,{span:a,style:{wordWrap:"break-word"},children:T})]},C.attrid):de(Te.Fragment,{children:bt(De.Col,{span:l,children:[C==null?void 0:C.attrname,":",T]})},C.attrid)},p=C=>{if(typeof(C==null?void 0:C.attrvalue)!="string")return;const E=JSON.parse((C==null?void 0:C.attrvalue)||"[]"),T=de(De.Space,{children:E.map((k,O)=>de("a",{onClick:()=>g(k==null?void 0:k.FilePath),children:(k==null?void 0:k.FileName)||"-"},O))});return v?bt(Te.Fragment,{children:[de(De.Col,{span:l,children:C==null?void 0:C.attrname}),de(De.Col,{span:a,style:{wordWrap:"break-word"},children:T})]},C.attrid):de(Te.Fragment,{children:bt(De.Col,{span:l,style:{wordWrap:"break-word"},children:[C==null?void 0:C.attrname,":",T]})},C.attrid)},x=C=>v?bt(Te.Fragment,{children:[de(De.Col,{span:l,children:C==null?void 0:C.attrname}),de(De.Col,{span:a,style:{wordWrap:"break-word"},children:(C==null?void 0:C.attrvalue)||"-"})]},C.attrid):de(Te.Fragment,{children:bt(De.Col,{span:l,style:{wordWrap:"break-word"},children:[C==null?void 0:C.attrname,":",(C==null?void 0:C.attrvalue)||"-"]})},C.attrid);return{renderDetail:()=>{if(!n)return null;const C=E=>{var T;return(T=E==null?void 0:E.filter(k=>(k==null?void 0:k.attrtype)===0))==null?void 0:T.map(k=>{const O=(k==null?void 0:k.json)||(k==null?void 0:k.info)&&JSON.parse(k.info);let M;return(O==null?void 0:O.input)==="image"?M=_(k):["file","audio","video"].includes(O==null?void 0:O.input)?M=p(k):M=x(k),k!=null&&k.children&&k.children.length>0?bt(Te.Fragment,{children:[M,de("div",{style:{marginLeft:"16px",marginTop:"8px",borderLeft:"2px dashed #e8e8e8",paddingLeft:"16px"},children:C(k.children)})]},k.attrid):M})};return de(De.Row,{gutter:[15,15],children:C(n==null?void 0:n.attr_list)})}}}gt.AES=q7,gt.AuthButton=Pb,gt.BackHeader=QD,gt.CoralButton=Uk,gt.CreateForm=Xy,gt.CustomPagination=jk,gt.DynamicForm=s7,gt.EditTable=Lk,gt.FormRules=m7,gt.HmacSHA512=G7,gt.HmacSM3=ux,gt.LoopSlide=Hk,gt.SearchTable=Fk,gt.UploadFile=ib,gt.WorkFlowNode=jb,gt.compressionImage=rb,gt.download=v7,gt.fileType=n5,gt.method=Kk,gt.showWorkFlow=Pk,gt.szxkFunc=W7,gt.useCaptcha=Z7,gt.useChangePwd=K7,gt.useConfig=X7,gt.useDetailRender=tO,gt.useRemember=J7,gt.useRowSelection=eO,gt.utils=f5,gt.verfyCode=g7,Object.defineProperty(gt,Symbol.toStringTag,{value:"Module"})});
196
+ `,n.getElementsByTagName("head")[0].appendChild(l)),n.body&&Tb(n.body,"react-draggable-transparent-selection")}function jR(n){if(n)try{if(n.body&&Ab(n.body,"react-draggable-transparent-selection"),n.selection)n.selection.empty();else{const l=(n.defaultView||window).getSelection();l&&l.type!=="Caret"&&l.removeAllRanges()}}catch{}}function Tb(n,l){n.classList?n.classList.add(l):n.className.match(new RegExp("(?:^|\\s)".concat(l,"(?!\\S)")))||(n.className+=" ".concat(l))}function Ab(n,l){n.classList?n.classList.remove(l):n.className=n.className.replace(new RegExp("(?:^|\\s)".concat(l,"(?!\\S)"),"g"),"")}var bo={};Object.defineProperty(bo,"__esModule",{value:!0}),bo.canDragX=VR,bo.canDragY=YR,bo.createCoreData=GR,bo.createDraggableData=WR,bo.getBoundPosition=IR,bo.getControlPosition=qR,bo.snapToGrid=$R;var oi=Eo,qc=Hn;function IR(n,l,a){if(!n.props.bounds)return[l,a];let{bounds:s}=n.props;s=typeof s=="string"?s:ZR(s);const d=cg(n);if(typeof s=="string"){const{ownerDocument:v}=d,h=v.defaultView;let g;if(s==="parent"?g=d.parentNode:g=v.querySelector(s),!(g instanceof h.HTMLElement))throw new Error('Bounds selector "'+s+'" could not find an element.');const _=g,p=h.getComputedStyle(d),x=h.getComputedStyle(_);s={left:-d.offsetLeft+(0,oi.int)(x.paddingLeft)+(0,oi.int)(p.marginLeft),top:-d.offsetTop+(0,oi.int)(x.paddingTop)+(0,oi.int)(p.marginTop),right:(0,qc.innerWidth)(_)-(0,qc.outerWidth)(d)-d.offsetLeft+(0,oi.int)(x.paddingRight)-(0,oi.int)(p.marginRight),bottom:(0,qc.innerHeight)(_)-(0,qc.outerHeight)(d)-d.offsetTop+(0,oi.int)(x.paddingBottom)-(0,oi.int)(p.marginBottom)}}return(0,oi.isNum)(s.right)&&(l=Math.min(l,s.right)),(0,oi.isNum)(s.bottom)&&(a=Math.min(a,s.bottom)),(0,oi.isNum)(s.left)&&(l=Math.max(l,s.left)),(0,oi.isNum)(s.top)&&(a=Math.max(a,s.top)),[l,a]}function $R(n,l,a){const s=Math.round(l/n[0])*n[0],d=Math.round(a/n[1])*n[1];return[s,d]}function VR(n){return n.props.axis==="both"||n.props.axis==="x"}function YR(n){return n.props.axis==="both"||n.props.axis==="y"}function qR(n,l,a){const s=typeof l=="number"?(0,qc.getTouch)(n,l):null;if(typeof l=="number"&&!s)return null;const d=cg(a),v=a.props.offsetParent||d.offsetParent||d.ownerDocument.body;return(0,qc.offsetXYFromParent)(s||n,v,a.props.scale)}function GR(n,l,a){const s=!(0,oi.isNum)(n.lastX),d=cg(n);return s?{node:d,deltaX:0,deltaY:0,lastX:l,lastY:a,x:l,y:a}:{node:d,deltaX:l-n.lastX,deltaY:a-n.lastY,lastX:n.lastX,lastY:n.lastY,x:l,y:a}}function WR(n,l){const a=n.props.scale;return{node:l.node,x:n.state.x+l.deltaX/a,y:n.state.y+l.deltaY/a,deltaX:l.deltaX/a,deltaY:l.deltaY/a,lastX:n.state.x,lastY:n.state.y}}function ZR(n){return{left:n.left,top:n.top,right:n.right,bottom:n.bottom}}function cg(n){const l=n.findDOMNode();if(!l)throw new Error("<DraggableCore>: Unmounted during event!");return l}var Jh={},ev={};Object.defineProperty(ev,"__esModule",{value:!0}),ev.default=KR;function KR(){}Object.defineProperty(Jh,"__esModule",{value:!0}),Jh.default=void 0;var fg=XR(Te),Na=pg(Yc.exports),QR=pg(hy.exports),Jr=Hn,cu=bo,dg=Eo,cd=pg(ev);function pg(n){return n&&n.__esModule?n:{default:n}}function Rb(n){if(typeof WeakMap!="function")return null;var l=new WeakMap,a=new WeakMap;return(Rb=function(s){return s?a:l})(n)}function XR(n,l){if(!l&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var a=Rb(l);if(a&&a.has(n))return a.get(n);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in n)if(v!=="default"&&Object.prototype.hasOwnProperty.call(n,v)){var h=d?Object.getOwnPropertyDescriptor(n,v):null;h&&(h.get||h.set)?Object.defineProperty(s,v,h):s[v]=n[v]}return s.default=n,a&&a.set(n,s),s}function ga(n,l,a){return l=JR(l),l in n?Object.defineProperty(n,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[l]=a,n}function JR(n){var l=ek(n,"string");return typeof l=="symbol"?l:String(l)}function ek(n,l){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var s=a.call(n,l||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(n)}const Ni={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let fu=Ni.mouse,tv=class extends fg.Component{constructor(){super(...arguments),ga(this,"dragging",!1),ga(this,"lastX",NaN),ga(this,"lastY",NaN),ga(this,"touchIdentifier",null),ga(this,"mounted",!1),ga(this,"handleDragStart",l=>{if(this.props.onMouseDown(l),!this.props.allowAnyClick&&typeof l.button=="number"&&l.button!==0)return!1;const a=this.findDOMNode();if(!a||!a.ownerDocument||!a.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:s}=a;if(this.props.disabled||!(l.target instanceof s.defaultView.Node)||this.props.handle&&!(0,Jr.matchesSelectorAndParentsTo)(l.target,this.props.handle,a)||this.props.cancel&&(0,Jr.matchesSelectorAndParentsTo)(l.target,this.props.cancel,a))return;l.type==="touchstart"&&l.preventDefault();const d=(0,Jr.getTouchIdentifier)(l);this.touchIdentifier=d;const v=(0,cu.getControlPosition)(l,d,this);if(v==null)return;const{x:h,y:g}=v,_=(0,cu.createCoreData)(this,h,g);(0,cd.default)("DraggableCore: handleDragStart: %j",_),(0,cd.default)("calling",this.props.onStart),!(this.props.onStart(l,_)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Jr.addUserSelectStyles)(s),this.dragging=!0,this.lastX=h,this.lastY=g,(0,Jr.addEvent)(s,fu.move,this.handleDrag),(0,Jr.addEvent)(s,fu.stop,this.handleDragStop))}),ga(this,"handleDrag",l=>{const a=(0,cu.getControlPosition)(l,this.touchIdentifier,this);if(a==null)return;let{x:s,y:d}=a;if(Array.isArray(this.props.grid)){let g=s-this.lastX,_=d-this.lastY;if([g,_]=(0,cu.snapToGrid)(this.props.grid,g,_),!g&&!_)return;s=this.lastX+g,d=this.lastY+_}const v=(0,cu.createCoreData)(this,s,d);if((0,cd.default)("DraggableCore: handleDrag: %j",v),this.props.onDrag(l,v)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const _=document.createEvent("MouseEvents");_.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(_)}return}this.lastX=s,this.lastY=d}),ga(this,"handleDragStop",l=>{if(!this.dragging)return;const a=(0,cu.getControlPosition)(l,this.touchIdentifier,this);if(a==null)return;let{x:s,y:d}=a;if(Array.isArray(this.props.grid)){let _=s-this.lastX||0,p=d-this.lastY||0;[_,p]=(0,cu.snapToGrid)(this.props.grid,_,p),s=this.lastX+_,d=this.lastY+p}const v=(0,cu.createCoreData)(this,s,d);if(this.props.onStop(l,v)===!1||this.mounted===!1)return!1;const g=this.findDOMNode();g&&this.props.enableUserSelectHack&&(0,Jr.removeUserSelectStyles)(g.ownerDocument),(0,cd.default)("DraggableCore: handleDragStop: %j",v),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,g&&((0,cd.default)("DraggableCore: Removing handlers"),(0,Jr.removeEvent)(g.ownerDocument,fu.move,this.handleDrag),(0,Jr.removeEvent)(g.ownerDocument,fu.stop,this.handleDragStop))}),ga(this,"onMouseDown",l=>(fu=Ni.mouse,this.handleDragStart(l))),ga(this,"onMouseUp",l=>(fu=Ni.mouse,this.handleDragStop(l))),ga(this,"onTouchStart",l=>(fu=Ni.touch,this.handleDragStart(l))),ga(this,"onTouchEnd",l=>(fu=Ni.touch,this.handleDragStop(l)))}componentDidMount(){this.mounted=!0;const l=this.findDOMNode();l&&(0,Jr.addEvent)(l,Ni.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const l=this.findDOMNode();if(l){const{ownerDocument:a}=l;(0,Jr.removeEvent)(a,Ni.mouse.move,this.handleDrag),(0,Jr.removeEvent)(a,Ni.touch.move,this.handleDrag),(0,Jr.removeEvent)(a,Ni.mouse.stop,this.handleDragStop),(0,Jr.removeEvent)(a,Ni.touch.stop,this.handleDragStop),(0,Jr.removeEvent)(l,Ni.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Jr.removeUserSelectStyles)(a)}}findDOMNode(){var l,a;return(l=this.props)!==null&&l!==void 0&&l.nodeRef?(a=this.props)===null||a===void 0||(a=a.nodeRef)===null||a===void 0?void 0:a.current:QR.default.findDOMNode(this)}render(){return fg.cloneElement(fg.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};Jh.default=tv,ga(tv,"displayName","DraggableCore"),ga(tv,"propTypes",{allowAnyClick:Na.default.bool,children:Na.default.node.isRequired,disabled:Na.default.bool,enableUserSelectHack:Na.default.bool,offsetParent:function(n,l){if(n[l]&&n[l].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Na.default.arrayOf(Na.default.number),handle:Na.default.string,cancel:Na.default.string,nodeRef:Na.default.object,onStart:Na.default.func,onDrag:Na.default.func,onStop:Na.default.func,onMouseDown:Na.default.func,scale:Na.default.number,className:dg.dontSetMe,style:dg.dontSetMe,transform:dg.dontSetMe}),ga(tv,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"DraggableCore",{enumerable:!0,get:function(){return _.default}}),n.default=void 0;var l=C(Te),a=x(Yc.exports),s=x(hy.exports),d=x(xR),v=Hn,h=bo,g=Eo,_=x(Jh),p=x(ev);function x(B){return B&&B.__esModule?B:{default:B}}function w(B){if(typeof WeakMap!="function")return null;var A=new WeakMap,F=new WeakMap;return(w=function(N){return N?F:A})(B)}function C(B,A){if(!A&&B&&B.__esModule)return B;if(B===null||typeof B!="object"&&typeof B!="function")return{default:B};var F=w(A);if(F&&F.has(B))return F.get(B);var N={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in B)if(L!=="default"&&Object.prototype.hasOwnProperty.call(B,L)){var Y=H?Object.getOwnPropertyDescriptor(B,L):null;Y&&(Y.get||Y.set)?Object.defineProperty(N,L,Y):N[L]=B[L]}return N.default=B,F&&F.set(B,N),N}function E(){return E=Object.assign?Object.assign.bind():function(B){for(var A=1;A<arguments.length;A++){var F=arguments[A];for(var N in F)Object.prototype.hasOwnProperty.call(F,N)&&(B[N]=F[N])}return B},E.apply(this,arguments)}function T(B,A,F){return A=k(A),A in B?Object.defineProperty(B,A,{value:F,enumerable:!0,configurable:!0,writable:!0}):B[A]=F,B}function k(B){var A=O(B,"string");return typeof A=="symbol"?A:String(A)}function O(B,A){if(typeof B!="object"||B===null)return B;var F=B[Symbol.toPrimitive];if(F!==void 0){var N=F.call(B,A||"default");if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(B)}class M extends l.Component{static getDerivedStateFromProps(A,F){let{position:N}=A,{prevPropsPosition:H}=F;return N&&(!H||N.x!==H.x||N.y!==H.y)?((0,p.default)("Draggable: getDerivedStateFromProps %j",{position:N,prevPropsPosition:H}),{x:N.x,y:N.y,prevPropsPosition:{...N}}):null}constructor(A){super(A),T(this,"onDragStart",(F,N)=>{if((0,p.default)("Draggable: onDragStart: %j",N),this.props.onStart(F,(0,h.createDraggableData)(this,N))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),T(this,"onDrag",(F,N)=>{if(!this.state.dragging)return!1;(0,p.default)("Draggable: onDrag: %j",N);const H=(0,h.createDraggableData)(this,N),L={x:H.x,y:H.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Q,y:P}=L;L.x+=this.state.slackX,L.y+=this.state.slackY;const[I,$]=(0,h.getBoundPosition)(this,L.x,L.y);L.x=I,L.y=$,L.slackX=this.state.slackX+(Q-L.x),L.slackY=this.state.slackY+(P-L.y),H.x=L.x,H.y=L.y,H.deltaX=L.x-this.state.x,H.deltaY=L.y-this.state.y}if(this.props.onDrag(F,H)===!1)return!1;this.setState(L)}),T(this,"onDragStop",(F,N)=>{if(!this.state.dragging||this.props.onStop(F,(0,h.createDraggableData)(this,N))===!1)return!1;(0,p.default)("Draggable: onDragStop: %j",N);const L={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:Q,y:P}=this.props.position;L.x=Q,L.y=P}this.setState(L)}),this.state={dragging:!1,dragged:!1,x:A.position?A.position.x:A.defaultPosition.x,y:A.position?A.position.y:A.defaultPosition.y,prevPropsPosition:{...A.position},slackX:0,slackY:0,isElementSVG:!1},A.position&&(A.onDrag||A.onStop)}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var A,F;return(A=(F=this.props)===null||F===void 0||(F=F.nodeRef)===null||F===void 0?void 0:F.current)!==null&&A!==void 0?A:s.default.findDOMNode(this)}render(){const{axis:A,bounds:F,children:N,defaultPosition:H,defaultClassName:L,defaultClassNameDragging:Y,defaultClassNameDragged:Q,position:P,positionOffset:I,scale:$,...W}=this.props;let ne={},J=null;const ce=!Boolean(P)||this.state.dragging,V=P||H,ue={x:(0,h.canDragX)(this)&&ce?this.state.x:V.x,y:(0,h.canDragY)(this)&&ce?this.state.y:V.y};this.state.isElementSVG?J=(0,v.createSVGTransform)(ue,I):ne=(0,v.createCSSTransform)(ue,I);const Z=(0,d.default)(N.props.className||"",L,{[Y]:this.state.dragging,[Q]:this.state.dragged});return l.createElement(_.default,E({},W,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),l.cloneElement(l.Children.only(N),{className:Z,style:{...N.props.style,...ne},transform:J}))}}n.default=M,T(M,"displayName","Draggable"),T(M,"propTypes",{..._.default.propTypes,axis:a.default.oneOf(["both","x","y","none"]),bounds:a.default.oneOfType([a.default.shape({left:a.default.number,right:a.default.number,top:a.default.number,bottom:a.default.number}),a.default.string,a.default.oneOf([!1])]),defaultClassName:a.default.string,defaultClassNameDragging:a.default.string,defaultClassNameDragged:a.default.string,defaultPosition:a.default.shape({x:a.default.number,y:a.default.number}),positionOffset:a.default.shape({x:a.default.oneOfType([a.default.number,a.default.string]),y:a.default.oneOfType([a.default.number,a.default.string])}),position:a.default.shape({x:a.default.number,y:a.default.number}),className:g.dontSetMe,style:g.dontSetMe,transform:g.dontSetMe}),T(M,"defaultProps",{..._.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})}(ub);const{default:kb,DraggableCore:tk}=ub;Qh.exports=kb,Qh.exports.default=kb,Qh.exports.DraggableCore=tk;var hg={};hg.__esModule=!0,hg.cloneElement=lk;var nk=rk(Te);function rk(n){return n&&n.__esModule?n:{default:n}}function Ob(n,l){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);l&&(s=s.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),a.push.apply(a,s)}return a}function Bb(n){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?Ob(Object(a),!0).forEach(function(s){ak(n,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):Ob(Object(a)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(a,s))})}return n}function ak(n,l,a){return l=ik(l),l in n?Object.defineProperty(n,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[l]=a,n}function ik(n){var l=ok(n,"string");return typeof l=="symbol"?l:String(l)}function ok(n,l){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var s=a.call(n,l||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(n)}function lk(n,l){return l.style&&n.props.style&&(l.style=Bb(Bb({},n.props.style),l.style)),l.className&&n.props.className&&(l.className=n.props.className+" "+l.className),nk.default.cloneElement(n,l)}var fd={};fd.__esModule=!0,fd.resizableProps=void 0;var Tt=uk(Yc.exports);function uk(n){return n&&n.__esModule?n:{default:n}}var sk={axis:Tt.default.oneOf(["both","x","y","none"]),className:Tt.default.string,children:Tt.default.element.isRequired,draggableOpts:Tt.default.shape({allowAnyClick:Tt.default.bool,cancel:Tt.default.string,children:Tt.default.node,disabled:Tt.default.bool,enableUserSelectHack:Tt.default.bool,offsetParent:Tt.default.node,grid:Tt.default.arrayOf(Tt.default.number),handle:Tt.default.string,nodeRef:Tt.default.object,onStart:Tt.default.func,onDrag:Tt.default.func,onStop:Tt.default.func,onMouseDown:Tt.default.func,scale:Tt.default.number}),height:function(){for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];var d=a[0];if(d.axis==="both"||d.axis==="y"){var v;return(v=Tt.default.number).isRequired.apply(v,a)}return Tt.default.number.apply(Tt.default,a)},handle:Tt.default.oneOfType([Tt.default.node,Tt.default.func]),handleSize:Tt.default.arrayOf(Tt.default.number),lockAspectRatio:Tt.default.bool,maxConstraints:Tt.default.arrayOf(Tt.default.number),minConstraints:Tt.default.arrayOf(Tt.default.number),onResizeStop:Tt.default.func,onResizeStart:Tt.default.func,onResize:Tt.default.func,resizeHandles:Tt.default.arrayOf(Tt.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:Tt.default.number,width:function(){for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];var d=a[0];if(d.axis==="both"||d.axis==="x"){var v;return(v=Tt.default.number).isRequired.apply(v,a)}return Tt.default.number.apply(Tt.default,a)}};fd.resizableProps=sk,sd.__esModule=!0,sd.default=void 0;var dd=hk(Te),ck=Qh.exports,fk=hg,dk=fd,pk=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function Fb(n){if(typeof WeakMap!="function")return null;var l=new WeakMap,a=new WeakMap;return(Fb=function(d){return d?a:l})(n)}function hk(n,l){if(!l&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var a=Fb(l);if(a&&a.has(n))return a.get(n);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in n)if(v!=="default"&&Object.prototype.hasOwnProperty.call(n,v)){var h=d?Object.getOwnPropertyDescriptor(n,v):null;h&&(h.get||h.set)?Object.defineProperty(s,v,h):s[v]=n[v]}return s.default=n,a&&a.set(n,s),s}function vg(){return vg=Object.assign?Object.assign.bind():function(n){for(var l=1;l<arguments.length;l++){var a=arguments[l];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])}return n},vg.apply(this,arguments)}function vk(n,l){if(n==null)return{};var a={},s=Object.keys(n),d,v;for(v=0;v<s.length;v++)d=s[v],!(l.indexOf(d)>=0)&&(a[d]=n[d]);return a}function zb(n,l){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);l&&(s=s.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),a.push.apply(a,s)}return a}function mg(n){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?zb(Object(a),!0).forEach(function(s){mk(n,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):zb(Object(a)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(a,s))})}return n}function mk(n,l,a){return l=yk(l),l in n?Object.defineProperty(n,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[l]=a,n}function yk(n){var l=gk(n,"string");return typeof l=="symbol"?l:String(l)}function gk(n,l){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var s=a.call(n,l||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(n)}function xk(n,l){n.prototype=Object.create(l.prototype),n.prototype.constructor=n,yg(n,l)}function yg(n,l){return yg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,d){return s.__proto__=d,s},yg(n,l)}var gg=function(n){xk(l,n);function l(){for(var s,d=arguments.length,v=new Array(d),h=0;h<d;h++)v[h]=arguments[h];return s=n.call.apply(n,[this].concat(v))||this,s.handleRefs={},s.lastHandleRect=null,s.slack=null,s}var a=l.prototype;return a.componentWillUnmount=function(){this.resetData()},a.resetData=function(){this.lastHandleRect=this.slack=null},a.runConstraints=function(d,v){var h=this.props,g=h.minConstraints,_=h.maxConstraints,p=h.lockAspectRatio;if(!g&&!_&&!p)return[d,v];if(p){var x=this.props.width/this.props.height,w=d-this.props.width,C=v-this.props.height;Math.abs(w)>Math.abs(C*x)?v=d/x:d=v*x}var E=d,T=v,k=this.slack||[0,0],O=k[0],M=k[1];return d+=O,v+=M,g&&(d=Math.max(g[0],d),v=Math.max(g[1],v)),_&&(d=Math.min(_[0],d),v=Math.min(_[1],v)),this.slack=[O+(E-d),M+(T-v)],[d,v]},a.resizeHandler=function(d,v){var h=this;return function(g,_){var p=_.node,x=_.deltaX,w=_.deltaY;d==="onResizeStart"&&h.resetData();var C=(h.props.axis==="both"||h.props.axis==="x")&&v!=="n"&&v!=="s",E=(h.props.axis==="both"||h.props.axis==="y")&&v!=="e"&&v!=="w";if(!(!C&&!E)){var T=v[0],k=v[v.length-1],O=p.getBoundingClientRect();if(h.lastHandleRect!=null){if(k==="w"){var M=O.left-h.lastHandleRect.left;x+=M}if(T==="n"){var B=O.top-h.lastHandleRect.top;w+=B}}h.lastHandleRect=O,k==="w"&&(x=-x),T==="n"&&(w=-w);var A=h.props.width+(C?x/h.props.transformScale:0),F=h.props.height+(E?w/h.props.transformScale:0),N=h.runConstraints(A,F);A=N[0],F=N[1];var H=A!==h.props.width||F!==h.props.height,L=typeof h.props[d]=="function"?h.props[d]:null,Y=d==="onResize"&&!H;L&&!Y&&(g.persist==null||g.persist(),L(g,{node:p,size:{width:A,height:F},handle:v})),d==="onResizeStop"&&h.resetData()}}},a.renderResizeHandle=function(d,v){var h=this.props.handle;if(!h)return dd.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+d,ref:v});if(typeof h=="function")return h(d,v);var g=typeof h.type=="string",_=mg({ref:v},g?{}:{handleAxis:d});return dd.cloneElement(h,_)},a.render=function(){var d=this,v=this.props,h=v.children,g=v.className,_=v.draggableOpts;v.width,v.height,v.handle,v.handleSize,v.lockAspectRatio,v.axis,v.minConstraints,v.maxConstraints,v.onResize,v.onResizeStop,v.onResizeStart;var p=v.resizeHandles;v.transformScale;var x=vk(v,pk);return(0,fk.cloneElement)(h,mg(mg({},x),{},{className:(g?g+" ":"")+"react-resizable",children:[].concat(h.props.children,p.map(function(w){var C,E=(C=d.handleRefs[w])!=null?C:d.handleRefs[w]=dd.createRef();return dd.createElement(ck.DraggableCore,vg({},_,{nodeRef:E,key:"resizableHandle-"+w,onStop:d.resizeHandler("onResizeStop",w),onStart:d.resizeHandler("onResizeStart",w),onDrag:d.resizeHandler("onResize",w)}),d.renderResizeHandle(w,E))}))}))},l}(dd.Component);sd.default=gg,gg.propTypes=dk.resizableProps,gg.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1};var nv={};nv.__esModule=!0,nv.default=void 0;var xg=bk(Te),_k=Mb(Yc.exports),Ck=Mb(sd),Sk=fd,Ek=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function Mb(n){return n&&n.__esModule?n:{default:n}}function Nb(n){if(typeof WeakMap!="function")return null;var l=new WeakMap,a=new WeakMap;return(Nb=function(d){return d?a:l})(n)}function bk(n,l){if(!l&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var a=Nb(l);if(a&&a.has(n))return a.get(n);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in n)if(v!=="default"&&Object.prototype.hasOwnProperty.call(n,v)){var h=d?Object.getOwnPropertyDescriptor(n,v):null;h&&(h.get||h.set)?Object.defineProperty(s,v,h):s[v]=n[v]}return s.default=n,a&&a.set(n,s),s}function _g(){return _g=Object.assign?Object.assign.bind():function(n){for(var l=1;l<arguments.length;l++){var a=arguments[l];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])}return n},_g.apply(this,arguments)}function Lb(n,l){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);l&&(s=s.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),a.push.apply(a,s)}return a}function rv(n){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?Lb(Object(a),!0).forEach(function(s){wk(n,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):Lb(Object(a)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(a,s))})}return n}function wk(n,l,a){return l=Dk(l),l in n?Object.defineProperty(n,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[l]=a,n}function Dk(n){var l=Tk(n,"string");return typeof l=="symbol"?l:String(l)}function Tk(n,l){if(typeof n!="object"||n===null)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var s=a.call(n,l||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(n)}function Ak(n,l){if(n==null)return{};var a={},s=Object.keys(n),d,v;for(v=0;v<s.length;v++)d=s[v],!(l.indexOf(d)>=0)&&(a[d]=n[d]);return a}function Rk(n,l){n.prototype=Object.create(l.prototype),n.prototype.constructor=n,Cg(n,l)}function Cg(n,l){return Cg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,d){return s.__proto__=d,s},Cg(n,l)}var Ub=function(n){Rk(l,n);function l(){for(var s,d=arguments.length,v=new Array(d),h=0;h<d;h++)v[h]=arguments[h];return s=n.call.apply(n,[this].concat(v))||this,s.state={width:s.props.width,height:s.props.height,propsWidth:s.props.width,propsHeight:s.props.height},s.onResize=function(g,_){var p=_.size;s.props.onResize?(g.persist==null||g.persist(),s.setState(p,function(){return s.props.onResize&&s.props.onResize(g,_)})):s.setState(p)},s}l.getDerivedStateFromProps=function(d,v){return v.propsWidth!==d.width||v.propsHeight!==d.height?{width:d.width,height:d.height,propsWidth:d.width,propsHeight:d.height}:null};var a=l.prototype;return a.render=function(){var d=this.props,v=d.handle,h=d.handleSize;d.onResize;var g=d.onResizeStart,_=d.onResizeStop,p=d.draggableOpts,x=d.minConstraints,w=d.maxConstraints,C=d.lockAspectRatio,E=d.axis;d.width,d.height;var T=d.resizeHandles,k=d.style,O=d.transformScale,M=Ak(d,Ek);return xg.createElement(Ck.default,{axis:E,draggableOpts:p,handle:v,handleSize:h,height:this.state.height,lockAspectRatio:C,maxConstraints:w,minConstraints:x,onResizeStart:g,onResize:this.onResize,onResizeStop:_,resizeHandles:T,transformScale:O,width:this.state.width},xg.createElement("div",_g({},M,{style:rv(rv({},k),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},l}(xg.Component);nv.default=Ub,Ub.propTypes=rv(rv({},Sk.resizableProps),{},{children:_k.default.element}),Jy.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")};var kk=Jy.exports.Resizable=sd.default;Jy.exports.ResizableBox=nv.default;const Ok={search:"search-table-module_search_17add",table:"search-table-module_table_5f652"},Bk=n=>{const{onResize:l,width:a,resizeable:s,...d}=n;return!a||!s?de("th",{...d}):de(kk,{width:a||200,height:0,onResize:l,draggableOpts:{enableUserSelectHack:!1},children:de("th",{...d})})};function Fk(n){const{tableProps:l={},searchProps:a}=n,{minColumnWidth:s=200,resizeable:d=!1,tableId:v,storageKey:h="szld_table_cell_width",emptyText:g,..._}=l,[p,x]=Te.useState(l.columns||[]),w=k=>{var M,B;let O=k.width||s;if(k.dataIndex&&v){const A=Array.isArray(k.dataIndex)?k.dataIndex.join("-"):String(k.dataIndex),F=(B=(M=_y(h))==null?void 0:M[v])==null?void 0:B[A];F&&(O=F)}return O};Te.useEffect(()=>{const k=l.columns||[];if(k.length===0||!d){x(k);return}const O=k==null?void 0:k.filter(M=>!M.hidden).map(M=>M.dataIndex?{...M,width:w(M),onHeaderCell:B=>({width:B.width,resizeable:d,onResize:(A,{size:F})=>C(B,F)})}:M);O.length>0&&(O[O.length-1].minWidth=O[O.length-1].width,O[O.length-1].width=void 0),x(O)},[l.columns,v,s,d]);const C=(k,O)=>{x(M=>{const B=M==null?void 0:M.map(A=>A.dataIndex===k.dataIndex?{...A,width:O.width}:A);if(v){const A=_y(h)||{};A[v]=A[v]||{},B==null||B.forEach(F=>{if(F.dataIndex){const N=Array.isArray(F.dataIndex)?F.dataIndex.join("-"):String(F.dataIndex);A[v][N]=F.width}}),localStorage.setItem(h,JSON.stringify(A))}return B})},E={header:{cell:Bk},..._==null?void 0:_.components},T=Te.useMemo(()=>{var O;const k=M=>{let B=M.width||M.minWidth;return(!B||typeof B=="string")&&(B=s),B};return(O=p==null?void 0:p.map(M=>k(M)))==null?void 0:O.reduce((M,B)=>M+B,0)},[p,s]);return bt(yo,{children:[a&&de(Xy,{hiddenTitle:!0,...a,items:a.items}),de(De.Table,{scroll:{x:T},..._,components:E,columns:p,className:cl(Ok.table,l==null?void 0:l.className),locale:{emptyText:de(De.Empty,{image:De.Empty.PRESENTED_IMAGE_SIMPLE,description:g})},pagination:typeof(l==null?void 0:l.pagination)=="boolean"?l.pagination:{showPrevNextJumpers:!0,showQuickJumper:!0,showSizeChanger:!0,showTotal:k=>`共 ${k} 条`,...l==null?void 0:l.pagination}})]})}const zk={editableCellValueWrap:"editable-module_editableCellValueWrap_3b3d9"},Hb=Te.createContext(null),Mk=({index:n,...l})=>{const[a]=De.Form.useForm();return de(De.Form,{form:a,component:!1,children:de(Hb.Provider,{value:a,children:de("tr",{...l})})})};function Nk(n){const{title:l,editable:a,children:s,dataIndex:d,record:v,rules:h,onChange:g,type:_="input",valueProps:p,initialValue:x,...w}=n,C=Te.useRef(null),E=Te.useContext(Hb),T=async()=>{try{const M=await E.validateFields();g({...v,...M})}catch{}},k=()=>de(lb,{valueType:_,valueProps:{...p,onBlur:T,onPressEnter:T},inputRef:C});let O=s;return a&&(O=de(De.Form.Item,{style:{margin:0},initialValue:x||au.get(v,d),name:d,rules:h,children:k()})),de("td",{...w,children:O})}function Lk(n){const{columns:l,onChange:a,...s}=n,d={body:{row:Mk,cell:Nk}},v=l==null?void 0:l.map(h=>h.editable?{...h,onCell:g=>({...h,record:g,onChange:a})}:h);return de(De.Table,{...s,components:d,rowClassName:()=>zk.editableRow,columns:v})}const Pb=n=>{const{auth:l=!0,...a}=n;return l?de(De.Button,{...a}):null},Uk=n=>{const{PId:l,auths:a,...s}=n,d=Te.useMemo(()=>a?!!(typeof l=="number"&&a.find(v=>v.PId===l)||Array.isArray(l)&&a.filter(v=>l.includes(v.PId)).length>0):!1,[l,a]);return de(Pb,{...s,auth:d})},pd={wrapper:"LoopSlide-module_wrapper_dde90",container:"LoopSlide-module_container_be123",scrollContent:"LoopSlide-module_scrollContent_36ed7",content:"LoopSlide-module_content_f392a"},Hk=({speed:n=10,delay:l=1,timingFunction:a="linear",className:s="",style:d,children:v,height:h="100vh",mouseControl:g=!1,classes:_})=>{const p=Te.useRef(null),x=Te.useRef(null),w=Te.useRef(null),C=Te.useRef(null),E=Te.useRef(0),T=Te.useRef(),k=Te.useRef(0),O=Te.useMemo(()=>{if(!x.current||!w.current)return;const L=x.current,Y=w.current,Q=parseFloat(Y.scrollHeight.toString());return Q*2-L.clientHeight<Q},[]),M=()=>{if(!x.current||!w.current)return;const L=x.current,Y=w.current,Q=parseFloat(Y.scrollHeight.toString());if(Q*2<=L.clientHeight){L.style.animation="none";return}const P=Q/L.clientHeight;L.style.setProperty("--content-height",`${Q}px`),L.style.animationDuration=`${n*P}s`,L.style.animationDelay=`${l}s`,L.style.animationTimingFunction=a};Te.useEffect(()=>(M(),x.current&&(C.current=new ResizeObserver(M),C.current.observe(x.current)),()=>{C.current&&x.current&&C.current.unobserve(x.current)}),[n,l]);const B=()=>{g&&x.current&&(x.current.style.animationPlayState="paused")},A=()=>{g&&x.current&&(H(),x.current.style.animationPlayState="running")},F=()=>{if(!x.current||!g)return;const Y=x.current.getAnimations()[0];if(Y)if(Math.abs(E.current)>.1){const Q=performance.now(),P=Q-k.current;k.current=Q;const I=.95;E.current*=Math.pow(I,P/16);const $=Y.currentTime||0;Y.currentTime=$+E.current,T.current=requestAnimationFrame(F)}else E.current=0,H()},N=L=>{if(!g||!x.current)return;L.preventDefault();const Y=L.deltaY,Q=.25;E.current+=Y*Q;const P=50;E.current=Math.max(-P,Math.min(P,E.current)),T.current||(k.current=performance.now(),T.current=requestAnimationFrame(F))},H=()=>{T.current&&(cancelAnimationFrame(T.current),T.current=void 0)};return Te.useEffect(()=>()=>{H()},[]),Te.useEffect(()=>{const L=p.current;if(L)return g&&L.addEventListener("wheel",N,{passive:!1}),()=>{L.removeEventListener("wheel",N)}},[g]),de("div",{ref:p,className:`${pd.wrapper} ${s}`,style:{height:h,...d},onMouseEnter:B,onMouseLeave:A,children:bt("div",{ref:x,className:cl(pd.container,_==null?void 0:_.container),children:[de("div",{ref:w,className:cl(pd.content,_==null?void 0:_.content),children:v}),de("div",{className:cl(pd.content,_==null?void 0:_.content),children:v}),O&&de("div",{className:cl(pd.content,_==null?void 0:_.content),children:v})]})})},hr={main:"workflownode-module_main_dce7f",item:"workflownode-module_item_73d7c",tail:"workflownode-module_tail_3cb51",node:"workflownode-module_node_005fd",content:"workflownode-module_content_8334f",btn:"workflownode-module_btn_b0c06",collpase:"workflownode-module_collpase_f2468",title:"workflownode-module_title_cb34c",dateWrapper:"workflownode-module_dateWrapper_94849",remark:"workflownode-module_remark_4f910",itemActive:"workflownode-module_itemActive_2a29d",itemDone:"workflownode-module_itemDone_489bc",itemUnDo:"workflownode-module_itemUnDo_2914c"},jb=n=>{const{data:l,current:a,rowKey:s,renderContent:d}=n,[v,h]=Te.useState(!1),g=Te.useMemo(()=>n.currentIndex!==void 0?n.currentIndex:!a||l.length===0?0:l.findIndex(w=>w.PNId===a),[a,l]),_=Te.useMemo(()=>g>1?v?0:g-1:0,[g,v]),p=()=>{h(!0)};return bt("ul",{className:hr.main,children:[g>1&&!v&&bt("li",{className:cl(hr.item,hr.itemDone),children:[de("div",{className:hr.tail}),de("div",{className:hr.node}),de("div",{className:hr.content,children:bt("div",{className:hr.collpase,children:[bt("div",{children:["已收起",de("span",{children:g-1}),"个节点"]}),bt("a",{className:hr.btn,onClick:p,children:["展开节点",de(SD,{})]})]})})]}),l.slice(_).map((x,w)=>bt("li",{className:cl(hr.item,g===w+_?hr.itemActive:g>w+_?hr.itemDone:hr.itemUnDo),children:[de("div",{className:hr.tail}),de("div",{className:hr.node}),bt("div",{className:hr.content,children:[d?d(x,w,v?g:g-_):bt(yo,{children:[de("div",{className:hr.title,children:x.PNName}),bt("div",{className:hr.dateWrapper,children:[x.PlanFinishDate&&bt("span",{children:["预计完成时间: ",x.PlanFinishDate]}),x.UpdateTime&&bt("span",{style:{color:"#333",fontWeight:"bold"},children:["实际完成时间: ",x.UpdateTime]})]}),x.Remark&&de("div",{className:hr.remark,children:x.Remark})]}),v&&g-1===w&&bt("a",{className:hr.btn,onClick:()=>h(!1),children:["收起节点 ",de(YD,{})]})]})]},typeof s=="string"?x[s]:s(x)))]})},Pk=n=>{const{current:l,data:a,rowKey:s,renderContent:d,currentIndex:v,...h}=n;return(()=>{De.Modal.info({icon:null,title:"流程节点",width:700,content:de(jb,{rowKey:s,renderContent:d,current:l,currentIndex:v,data:a}),closable:!0,footer:null,maskClosable:!0,...h})})(),null},Ib={customPagination:"custom-pagination-module_customPagination_bb6f7",jumpBtns:"custom-pagination-module_jumpBtns_a6c0b"};function jk(n){const{totalText:l="共",unitText:a="条",jumpText:s="跳至",pageText:d="页",paginationProps:v}=n,[h,g]=Te.useState(""),_=(v==null?void 0:v.pageSize)||10,p=C=>{g(C.target.value)},x=C=>{var E;g(""),!Number.isNaN(Number(C.target.value))&&((E=v==null?void 0:v.onChange)==null||E.call(v,Number(C.target.value),_))},w=C=>{var E;if(C.key==="Enter"){if(g(""),Number.isNaN(Number(h)))return;(E=v==null?void 0:v.onChange)==null||E.call(v,Number(h),_)}};return bt("div",{className:Ib.customPagination,children:[de(De.Pagination,{showTotal:C=>`${l} ${C} ${a}`,showSizeChanger:{options:[{label:`10 ${a}/${d}`,value:10},{label:`20 ${a}/${d}`,value:20},{label:`50 ${a}/${d}`,value:50},{label:`100 ${a}/${d}`,value:100}]},...v}),bt("div",{className:Ib.jumpBtns,children:[s,de(De.Input,{style:{width:"50px",margin:"0 8px"},value:h,onChange:p,onBlur:C=>x(C),onKeyDown:C=>w(C)}),d]})]})}var $b={exports:{}};(function(n,l){(function(a,s){n.exports=s()})(Dt,function(){var a=1e3,s=6e4,d=36e5,v="millisecond",h="second",g="minute",_="hour",p="day",x="week",w="month",C="quarter",E="year",T="date",k="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,M=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,B={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ne){var J=["th","st","nd","rd"],K=ne%100;return"["+ne+(J[(K-20)%10]||J[K]||J[0])+"]"}},A=function(ne,J,K){var ce=String(ne);return!ce||ce.length>=J?ne:""+Array(J+1-ce.length).join(K)+ne},F={s:A,z:function(ne){var J=-ne.utcOffset(),K=Math.abs(J),ce=Math.floor(K/60),V=K%60;return(J<=0?"+":"-")+A(ce,2,"0")+":"+A(V,2,"0")},m:function ne(J,K){if(J.date()<K.date())return-ne(K,J);var ce=12*(K.year()-J.year())+(K.month()-J.month()),V=J.clone().add(ce,w),ue=K-V<0,Z=J.clone().add(ce+(ue?-1:1),w);return+(-(ce+(K-V)/(ue?V-Z:Z-V))||0)},a:function(ne){return ne<0?Math.ceil(ne)||0:Math.floor(ne)},p:function(ne){return{M:w,y:E,w:x,d:p,D:T,h:_,m:g,s:h,ms:v,Q:C}[ne]||String(ne||"").toLowerCase().replace(/s$/,"")},u:function(ne){return ne===void 0}},N="en",H={};H[N]=B;var L="$isDayjsObject",Y=function(ne){return ne instanceof $||!(!ne||!ne[L])},Q=function ne(J,K,ce){var V;if(!J)return N;if(typeof J=="string"){var ue=J.toLowerCase();H[ue]&&(V=ue),K&&(H[ue]=K,V=ue);var Z=J.split("-");if(!V&&Z.length>1)return ne(Z[0])}else{var G=J.name;H[G]=J,V=G}return!ce&&V&&(N=V),V||!ce&&N},P=function(ne,J){if(Y(ne))return ne.clone();var K=typeof J=="object"?J:{};return K.date=ne,K.args=arguments,new $(K)},I=F;I.l=Q,I.i=Y,I.w=function(ne,J){return P(ne,{locale:J.$L,utc:J.$u,x:J.$x,$offset:J.$offset})};var $=function(){function ne(K){this.$L=Q(K.locale,null,!0),this.parse(K),this.$x=this.$x||K.x||{},this[L]=!0}var J=ne.prototype;return J.parse=function(K){this.$d=function(ce){var V=ce.date,ue=ce.utc;if(V===null)return new Date(NaN);if(I.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var Z=V.match(O);if(Z){var G=Z[2]-1||0,te=(Z[7]||"0").substring(0,3);return ue?new Date(Date.UTC(Z[1],G,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,te)):new Date(Z[1],G,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,te)}}return new Date(V)}(K),this.init()},J.init=function(){var K=this.$d;this.$y=K.getFullYear(),this.$M=K.getMonth(),this.$D=K.getDate(),this.$W=K.getDay(),this.$H=K.getHours(),this.$m=K.getMinutes(),this.$s=K.getSeconds(),this.$ms=K.getMilliseconds()},J.$utils=function(){return I},J.isValid=function(){return this.$d.toString()!==k},J.isSame=function(K,ce){var V=P(K);return this.startOf(ce)<=V&&V<=this.endOf(ce)},J.isAfter=function(K,ce){return P(K)<this.startOf(ce)},J.isBefore=function(K,ce){return this.endOf(ce)<P(K)},J.$g=function(K,ce,V){return I.u(K)?this[ce]:this.set(V,K)},J.unix=function(){return Math.floor(this.valueOf()/1e3)},J.valueOf=function(){return this.$d.getTime()},J.startOf=function(K,ce){var V=this,ue=!!I.u(ce)||ce,Z=I.p(K),G=function(Ie,Ne){var ct=I.w(V.$u?Date.UTC(V.$y,Ne,Ie):new Date(V.$y,Ne,Ie),V);return ue?ct:ct.endOf(p)},te=function(Ie,Ne){return I.w(V.toDate()[Ie].apply(V.toDate("s"),(ue?[0,0,0,0]:[23,59,59,999]).slice(Ne)),V)},se=this.$W,re=this.$M,xe=this.$D,be="set"+(this.$u?"UTC":"");switch(Z){case E:return ue?G(1,0):G(31,11);case w:return ue?G(1,re):G(0,re+1);case x:var Be=this.$locale().weekStart||0,Se=(se<Be?se+7:se)-Be;return G(ue?xe-Se:xe+(6-Se),re);case p:case T:return te(be+"Hours",0);case _:return te(be+"Minutes",1);case g:return te(be+"Seconds",2);case h:return te(be+"Milliseconds",3);default:return this.clone()}},J.endOf=function(K){return this.startOf(K,!1)},J.$set=function(K,ce){var V,ue=I.p(K),Z="set"+(this.$u?"UTC":""),G=(V={},V[p]=Z+"Date",V[T]=Z+"Date",V[w]=Z+"Month",V[E]=Z+"FullYear",V[_]=Z+"Hours",V[g]=Z+"Minutes",V[h]=Z+"Seconds",V[v]=Z+"Milliseconds",V)[ue],te=ue===p?this.$D+(ce-this.$W):ce;if(ue===w||ue===E){var se=this.clone().set(T,1);se.$d[G](te),se.init(),this.$d=se.set(T,Math.min(this.$D,se.daysInMonth())).$d}else G&&this.$d[G](te);return this.init(),this},J.set=function(K,ce){return this.clone().$set(K,ce)},J.get=function(K){return this[I.p(K)]()},J.add=function(K,ce){var V,ue=this;K=Number(K);var Z=I.p(ce),G=function(re){var xe=P(ue);return I.w(xe.date(xe.date()+Math.round(re*K)),ue)};if(Z===w)return this.set(w,this.$M+K);if(Z===E)return this.set(E,this.$y+K);if(Z===p)return G(1);if(Z===x)return G(7);var te=(V={},V[g]=s,V[_]=d,V[h]=a,V)[Z]||1,se=this.$d.getTime()+K*te;return I.w(se,this)},J.subtract=function(K,ce){return this.add(-1*K,ce)},J.format=function(K){var ce=this,V=this.$locale();if(!this.isValid())return V.invalidDate||k;var ue=K||"YYYY-MM-DDTHH:mm:ssZ",Z=I.z(this),G=this.$H,te=this.$m,se=this.$M,re=V.weekdays,xe=V.months,be=V.meridiem,Be=function(Ne,ct,Fe,ft){return Ne&&(Ne[ct]||Ne(ce,ue))||Fe[ct].slice(0,ft)},Se=function(Ne){return I.s(G%12||12,Ne,"0")},Ie=be||function(Ne,ct,Fe){var ft=Ne<12?"AM":"PM";return Fe?ft.toLowerCase():ft};return ue.replace(M,function(Ne,ct){return ct||function(Fe){switch(Fe){case"YY":return String(ce.$y).slice(-2);case"YYYY":return I.s(ce.$y,4,"0");case"M":return se+1;case"MM":return I.s(se+1,2,"0");case"MMM":return Be(V.monthsShort,se,xe,3);case"MMMM":return Be(xe,se);case"D":return ce.$D;case"DD":return I.s(ce.$D,2,"0");case"d":return String(ce.$W);case"dd":return Be(V.weekdaysMin,ce.$W,re,2);case"ddd":return Be(V.weekdaysShort,ce.$W,re,3);case"dddd":return re[ce.$W];case"H":return String(G);case"HH":return I.s(G,2,"0");case"h":return Se(1);case"hh":return Se(2);case"a":return Ie(G,te,!0);case"A":return Ie(G,te,!1);case"m":return String(te);case"mm":return I.s(te,2,"0");case"s":return String(ce.$s);case"ss":return I.s(ce.$s,2,"0");case"SSS":return I.s(ce.$ms,3,"0");case"Z":return Z}return null}(Ne)||Z.replace(":","")})},J.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},J.diff=function(K,ce,V){var ue,Z=this,G=I.p(ce),te=P(K),se=(te.utcOffset()-this.utcOffset())*s,re=this-te,xe=function(){return I.m(Z,te)};switch(G){case E:ue=xe()/12;break;case w:ue=xe();break;case C:ue=xe()/3;break;case x:ue=(re-se)/6048e5;break;case p:ue=(re-se)/864e5;break;case _:ue=re/d;break;case g:ue=re/s;break;case h:ue=re/a;break;default:ue=re}return V?ue:I.a(ue)},J.daysInMonth=function(){return this.endOf(w).$D},J.$locale=function(){return H[this.$L]},J.locale=function(K,ce){if(!K)return this.$L;var V=this.clone(),ue=Q(K,ce,!0);return ue&&(V.$L=ue),V},J.clone=function(){return I.w(this.$d,this)},J.toDate=function(){return new Date(this.valueOf())},J.toJSON=function(){return this.isValid()?this.toISOString():null},J.toISOString=function(){return this.$d.toISOString()},J.toString=function(){return this.$d.toUTCString()},ne}(),W=$.prototype;return P.prototype=W,[["$ms",v],["$s",h],["$m",g],["$H",_],["$W",p],["$M",w],["$y",E],["$D",T]].forEach(function(ne){W[ne[1]]=function(J){return this.$g(J,ne[0],ne[1])}}),P.extend=function(ne,J){return ne.$i||(ne(J,$,P),ne.$i=!0),P},P.locale=Q,P.isDayjs=Y,P.unix=function(ne){return P(1e3*ne)},P.en=H[N],P.Ls=H,P.p={},P})})($b);const xa=$b.exports,Ik=n=>{const{input:l=""}=n.json||{};let a="请输入";return["radio","checkbox","select","mult-select","modal-select","date-picker","range-picker","multiple-date-picker","time-picker","week-picker","month-picker","quarter-picker","year-picker","second-picker"].includes(l)&&(a="请选择"),["image","file","video","audio"].includes(l)&&(a="请上传"),a},Ss=n=>{var s,d,v,h;const l=(s=n.json)==null?void 0:s.input;let a=n.attrvalue||((d=n.json)==null?void 0:d.default);if(l==="label"&&a&&(a=((v=n.json)==null?void 0:v["label-value"])??a??"-"),l==="range-picker"&&a)try{a=a==null?void 0:a.split("~"),a=a.map(g=>g)}catch{a=void 0}if(l==="multiple-date-picker"&&a)try{a=a==null?void 0:a.split(","),a=a.map(g=>xa())}catch{a=void 0}if(l==="cascader"&&a&&typeof a=="string"){const g=(h=n.json)==null?void 0:h["cascader-delimiter"];g&&(a=a.split(g).filter(Boolean))}if(["mult-select","checkbox"].includes(l)&&a&&typeof a=="string"&&(a=a.split(",").filter(Boolean)),["image","video","audio","file"].includes(l)&&a)try{a=(Array.isArray(a)?a:JSON.parse(a)).map(_=>({..._,url:_.FilePath,name:_.FileName,uid:_.FileId}))}catch{a=[]}return n.attrtype===1&&(a=Vk(n.children||[])),a||null},Vb=n=>n&&n<xa().startOf("day"),Yb=(n,l,a)=>{let s=[];return a.forEach(d=>{s.push(n==null?void 0:n[d])}),s.join(l||"-")},$k=async({commonRequestWidthParams:n,commonRequest:l,interfaceTypeDict:a="YLZDDictList",interfaceTypeSysDict:s="YLZDSysConfigList",actionUrlKey:d="action-url",actionUrlExtraParams:v={},item:h})=>{var x;let g=[];const _=async w=>{var E;let C=[];if(h.classify)try{const T=await l(w,{asctypeid:h.classify});(E=T==null?void 0:T.data)!=null&&E.list&&Array.isArray(T.data.list)&&(C=T.data.list.map(k=>({label:`${k.dicid||""}-${k.info||""}`,value:`${k.dicid||""}-${k.info||""}`})))}catch{De.message.error("加载选项失败")}return C},p=async()=>{var w,C;try{const E=((w=h==null?void 0:h["key-field"])==null?void 0:w.list)||[],T=((C=h==null?void 0:h["key-field"])==null?void 0:C.delimiter)||"";if(!E.length){De.message.error("请配置key-field");return}const k=await n({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{[d]:h==null?void 0:h["action-url"],...v});if(k!=null&&k.data){const O=k==null?void 0:k.data,M=(O==null?void 0:O.list)||[];let B=[];Array.isArray(O)&&(B=O),Array.isArray(M)&&(B=M),g=B.map(A=>({label:Yb(A,T,E),value:Yb(A,T,E)}))}}catch{De.message.error("加载选项失败")}};return h.inputType==="local"?(g=((x=h.data)==null?void 0:x.map(w=>({label:w,value:w})))||[],h.options&&Array.isArray(h.options)&&(g=h.options)):h.inputType==="dictionary"?g=await _(a):h.inputType==="system-dictionary"&&(g=await _(s)),h.inputType==="url"&&(h!=null&&h["action-url"])&&await p(),g},Vk=n=>{if(!(n!=null&&n.length))return[];const l=a=>a==null?void 0:a.map(s=>{const d={};return s.forEach(v=>{var h;(h=v==null?void 0:v.children)!=null&&h.length?d[v.attrid]=l(v.children):d[v.attrid]=v.attrvalue}),d});return l(n)};function av(n){try{return JSON.parse(n)}catch{return{}}}function Sg(n){if(!qb(n))return n;const l=atob(n),a=new Uint8Array(l.length);for(let s=0;s<l.length;s++)a[s]=l.charCodeAt(s);return new TextDecoder().decode(a)}function qb(n){return n?n.length%4!==0?!1:/^[A-Za-z0-9+/]+(?:=?=?)$/.test(n):!0}const Yk=(n,l,a)=>{let s=au.cloneDeep(n),d=[];const v=g=>{try{const _=new Map(g.map((p,x)=>[p.attrid,x]));for(const[p,x]of Object.entries(l)){const w=_.get(p);if(w===void 0)continue;const C=g[w];if(!x&&x!==0){C.attrvalue="";continue}h(C,x)}g.forEach(p=>{p.children&&Array.isArray(p.children)&&p.children.length>0&&!Array.isArray(p.children[0])&&v(p.children),p.children&&Array.isArray(p.children)&&p.children.length>0&&Array.isArray(p.children[0])&&p.children.forEach(x=>{x.children&&Array.isArray(x.children)&&v(x.children)})})}catch{}},h=(g,_)=>{var w,C,E,T;const p=(w=g.json)==null?void 0:w.input,x=(C=g.json)==null?void 0:C.format;switch(p){case"image":case"file":case"video":case"audio":const k=typeof _=="string"?JSON.parse(_):_;if(!Array.isArray(k)){g.attrvalue=JSON.stringify([]);return}const O=k.filter(A=>A.FileId),M=k.filter(A=>{var F;return A.status==="done"&&((F=A.response)==null?void 0:F.data)}).map(A=>A.response.data),B=[...O,...M];d=[...d,...M],g.attrvalue=JSON.stringify(B);break;case"cascader":if(Array.isArray(_)&&_.length>0){const A=((E=g.json)==null?void 0:E["cascader-delimiter"])||"/";g.attrvalue=_.join(A)}else g.attrvalue="";break;case"range-picker":Array.isArray(_)&&_.length>0?g.attrvalue=_.join("~"):g.attrvalue="";break;case"multiple-date-picker":Array.isArray(_)&&_.length>0?g.attrvalue=_.join(","):g.attrvalue=_;break;case"checkbox":case"mult-select":Array.isArray(_)&&_.length>0?g.attrvalue=_.join(","):g.attrvalue=_;break;case"date-picker":_?g.attrvalue=xa(_).format(x||"YYYY-MM-DD"):g.attrvalue="";break;case"time-picker":_?g.attrvalue=xa(_).format(x||"YYYY-MM-DD HH:mm:ss"):g.attrvalue="";break;default:(T=g==null?void 0:g.json)!=null&&T["properties-multiple"]||(g.attrvalue=_);break}};return s.attr_list&&Array.isArray(s.attr_list)&&v(s.attr_list),{updatedData:a?Zb(s.attr_list||[]):s,uploadedFiles:d}},Eg=(n,l)=>n.map(a=>{var v,h,g;const s=Gb(a,l),{children:d}=s;if(d&&!Array.isArray(d==null?void 0:d[0])&&(d!=null&&d.length)&&(s.children=[Eg(d)]),s!=null&&s.children&&Array.isArray((v=s==null?void 0:s.children)==null?void 0:v[0])&&((h=s==null?void 0:s.children)!=null&&h.length)){const _=(g=s==null?void 0:s.children)==null?void 0:g.map(p=>p==null?void 0:p.map(x=>Gb(x)));s.children=_}return s}),Gb=(n,l)=>{if(!n.json&&n.info)try{const a=n.info_base64===1?Sg(n.info):n.info,s=av(a);return{...n,json:s,...l}}catch{return{...n,json:{},...l}}return{...n,...l}},qk=(n,l)=>Eg(n,l),Wb=(n,l)=>{const a=Eg(n,l),s=a.filter(h=>{var g;return(g=h.json)==null?void 0:g.combination}).reduce((h,g)=>{const _=g.json["combination-id"];return _&&(h[_]||(h[_]=[]),h[_].push(g)),h},{}),d=new Set;Object.values(s).forEach(h=>{(h==null?void 0:h.length)!==0&&h.slice(1).forEach(g=>d.add(g.attrid))});const v=h=>h.filter(g=>!d.has(g.attrid)).map(g=>{var x;const _=(x=g.json)==null?void 0:x["combination-id"];if(_&&s[_]){const w={...g,json:{...g.json,combinations:s[_]}},{children:C}=w;return C&&Array.isArray(C==null?void 0:C[0])&&(C!=null&&C.length)&&(w.children=C==null?void 0:C.map(E=>v(E))),w}const{children:p}=g;return p&&Array.isArray(p==null?void 0:p[0])&&(p!=null&&p.length)&&(g.children=p==null?void 0:p.map(w=>v(w))),g});return v(a)},Gk=async({number:n,key:l,sourceNumber:a,guidInterfaceName:s,SelPCParamInterfaceName:d,servicerAttrListInterfaceName:v,accepterAttrListInterfaceName:h,defaultAttrListInterfaceName:g,commonRequest:_,guidParams:p,pcParam:x,attrReqKey:w="asid",attrListExtraParams:C={}})=>new Promise(async(E,T)=>{var N,H,L,Y;let k="",O=[],M={},B={};const A=await _(s||"FWDXGLCreateGUID",p||{"source-number":a});(A==null?void 0:A.ReturnValue)===1&&((N=A==null?void 0:A.data)!=null&&N.GUID)?k=A.data.GUID:T("获取GUID失败");const F=await _(d||"FWDXGLSelPCParam",x||{"source-number":a});if((F==null?void 0:F.ReturnValue)===1){const Q=(H=F.data[n])==null?void 0:H[l],P=(L=F.data[n])==null?void 0:L["properties-type"],I={server:v||"",accepter:h||""};B=F.data;const $=await _(I[P]||g,{[w]:Q,"source-number":a,...C});if(($==null?void 0:$.ReturnValue)===1&&$.data){const W=((Y=$.data)==null?void 0:Y.attr_list)||[];O=Wb(W),M={...$.data,attr_list:O},E({baseData:M,newGUID:k,attrListConfigs:O,selPCParam:B})}else T("请配置属性集")}else T("获取配置失败")}),Wk=async(n,l,a)=>await a(n,l);function Zk(n){return n.replace(/-([a-z])/g,function(l,a){return a.toUpperCase()})}const Zb=n=>{var d;function l(v){const h={};return v.forEach(g=>{var p,x,w,C,E;const _=`${g.attrid}_${g.attrtype}`;if(g.attrtype===1&&g.children.length>0&&!Array.isArray(g.children))h[_]={asid:((x=(p=g.children)==null?void 0:p[0])==null?void 0:x.asid)||"",data_list:[l(g.children)]};else if(g.attrtype===1&&g.children.length>0&&Array.isArray(g.children)){const{attrvalue:T=[],children:k=[]}=g||{};Array.isArray(T)&&(T!=null&&T.length)&&(g.children=T.map(O=>Qk((k==null?void 0:k[0])||[],O)),h[_]={asid:((E=(C=(w=g.children)==null?void 0:w[0])==null?void 0:C[0])==null?void 0:E.asid)||"",data_list:g.children.map(O=>l(O))})}else h[_]=g.attrvalue}),h}const a=((d=n[0])==null?void 0:d.asid)||"",s=[l(n)];return{data:{asid:a,data_list:s}}},Kb=async({attrList:n,params:l,extra:a={},commonRequest:s})=>{var g;const d=await s("YLFWLRDataDetails",l),v=((g=d==null?void 0:d.data)==null?void 0:g.list)||[];return v.length?await Promise.all(v.map(async _=>await Promise.all((n==null?void 0:n.map(async x=>{const w={...x,...a};if(w.attrvalue=(_==null?void 0:_[x.attrid])||"",x.attrtype===1&&Array.isArray(x.children)&&x.children.length>0){const C=(_==null?void 0:_[x.attrid])||{};w.children=await Kb({attrList:x.children,params:C,extra:a,commonRequest:s})}return w}))||[])))||[]:n.map(_=>({..._,...a,attrvalue:"",children:[]}))},hd=(n,l,a)=>{let s=[];return a.forEach(d=>{s.push(n==null?void 0:n[d])}),s.join(l||"-")},Kk=async({commonRequestWidthParams:n,commonRequest:l,interfaceTypeDict:a="YLZDDictList",interfaceTypeSysDict:s="YLZDSysConfigList",actionUrlKey:d="action-url",actionUrlExtraParams:v={},item:h})=>{var x;let g=[];const _=async w=>{var E;let C=[];if(h.classify)try{const T=await l(w,{asctypeid:h.classify});(E=T==null?void 0:T.data)!=null&&E.list&&Array.isArray(T.data.list)&&(C=T.data.list.map(k=>({label:`${k.dicid||""}-${k.info||""}`,value:`${k.dicid||""}-${k.info||""}`})))}catch{De.message.error("加载选项失败")}return C},p=async()=>{var w,C;try{const E=((w=h==null?void 0:h["key-field"])==null?void 0:w.list)||[],T=((C=h==null?void 0:h["key-field"])==null?void 0:C.delimiter)||"";if(!E.length){De.message.error("请配置key-field");return}const k=await n({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{[d]:h==null?void 0:h["action-url"],...v});if(k!=null&&k.data){const O=k==null?void 0:k.data,M=(O==null?void 0:O.list)||[];let B=[];Array.isArray(O)&&(B=O),Array.isArray(M)&&(B=M),g=B.map(A=>({label:hd(A,T,E),value:hd(A,T,E)}))}}catch{De.message.error("加载选项失败")}};return h.inputType==="local"?(g=((x=h.data)==null?void 0:x.map(w=>({label:w,value:w})))||[],h.options&&Array.isArray(h.options)&&(g=h.options)):h.inputType==="dictionary"?g=await _(a):h.inputType==="system-dictionary"&&(g=await _(s)),h.inputType==="url"&&(h!=null&&h["action-url"])&&await p(),g},Qk=(n,l)=>n.map(a=>({...a,attrvalue:l[a.attrid]||""})),Xk=Object.freeze(Object.defineProperty({__proto__:null,getJson:av,base64ToString:Sg,isBase64:qb,handleSubmitForm:Yk,handleBaseAttrList:qk,handleAttrList:Wb,handleFormConfig:Gk,handleOperationFile:Wk,handleKebabToCamel:Zk,handleAttrListToObj:Zb,handleAttrListToObjDetail:Kb,handleUrlOptions:hd,handleSelectOptions:Kk},Symbol.toStringTag,{value:"Module"}));var Qb={exports:{}};(function(n,l){(function(a,s){n.exports=s()})(Dt,function(){var a="day";return function(s,d,v){var h=function(p){return p.add(4-p.isoWeekday(),a)},g=d.prototype;g.isoWeekYear=function(){return h(this).year()},g.isoWeek=function(p){if(!this.$utils().u(p))return this.add(7*(p-this.isoWeek()),a);var x,w,C,E,T=h(this),k=(x=this.isoWeekYear(),w=this.$u,C=(w?v.utc:v)().year(x).startOf("year"),E=4-C.isoWeekday(),C.isoWeekday()>4&&(E+=7),C.add(E,a));return T.diff(k,"week")+1},g.isoWeekday=function(p){return this.$utils().u(p)?this.day()||7:this.day(this.day()%7?p:p-7)};var _=g.startOf;g.startOf=function(p,x){var w=this.$utils(),C=!!w.u(x)||x;return w.p(p)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):_.bind(this)(p,x)}}})})(Qb);const Jk=Qb.exports;function e7(n){const{item:l,disabled:a,style:s,commonRequestWidthParams:d,CustomModalComponent:v}=n,{message:h}=De.App.useApp(),g=l.input,[_,p]=Te.useState(n.value),[x,w]=Te.useState(!1),[C,E]=Te.useState([]),[T,k]=Te.useState([]),[O,M]=Te.useState(!1),[B,A]=Te.useState({PageNum:1,PageSize:6}),[F,N]=Te.useState([]),[H,L]=Te.useState(0),Y=ne();Te.useEffect(()=>{x&&P()},[x,B]);const Q=(K,ce)=>{E(K),k(ce)},P=async()=>{var K;if(l.inputType==="url"&&(l!=null&&l["action-url"])){M(!0);try{const ce=await d({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{"action-url":l==null?void 0:l["action-url"],...B});if((ce==null?void 0:ce.ReturnValue)===0){h.error(ce.msg),M(!1);return}const V=ce==null?void 0:ce.data,ue=(K=V==null?void 0:V.list)==null?void 0:K.map((G,te)=>{const se=(B.PageNum-1)*B.PageSize+te;return{...G,_rowKey:se}}),Z=(ue==null?void 0:ue.filter(G=>C.includes(G._rowKey)))||[];k(Z),N([...ue||[]]),L((V==null?void 0:V.number)||0),M(!1)}catch(ce){M(!1),h.error(ce.msg||"参数错误")}return}h.error("请配置action-url")},I=()=>{var K,ce;if(!a){if(_){const V=((K=l==null?void 0:l["key-field"])==null?void 0:K.list)??[],ue=((ce=l==null?void 0:l["key-field"])==null?void 0:ce.delimiter)??"-";if(!V.length){h.error("请配置key-field");return}switch(g){case"modal-select":const Z=_==null?void 0:_.split("-"),G=F==null?void 0:F.findIndex(re=>Z.includes((re==null?void 0:re.typeid)||(re==null?void 0:re.instanceid)));E([G]);break;case"modal-mult-select":const te=_==null?void 0:_.split(","),se=te==null?void 0:te.map(re=>{var be;const xe=(be=re.split(ue))==null?void 0:be[0];return F==null?void 0:F.findIndex(Be=>xe.includes((Be==null?void 0:Be.typeid)||(Be==null?void 0:Be.instanceid)))});E(se);break}}w(!0)}},$=async()=>{try{const K=await t7(T,l);p(K),n.onSure(K),w(!1)}catch(K){h.error(K.msg||"参数错误")}},W=()=>{A({...B,PageNum:1}),w(!1)};function ne(){const K=l["modal-field-list"];let ce=[];for(let V in K){let ue=K[V];const Z={dataIndex:V,title:ue};ce=[...ce,Z]}return ce}const J=K=>{A({...B,PageNum:K})};return bt(yo,{children:[de(De.Select,{placeholder:(l==null?void 0:l.message)||"请选择",onClick:I,value:_,open:!1,disabled:a,style:s}),v&&de(v,{title:l["modal-caption"]||"",open:x,onOk:$,onCancel:W,modalStyle:{width:l["modal-width"]??600,minHeight:l["modal-height"]??400},children:de(De.Table,{columns:Y,loading:O,dataSource:F,rowKey:K=>K._rowKey,scroll:{y:"calc(80vh - 300px)"},rowSelection:{type:g==="modal-select"?"radio":"checkbox",selectedRowKeys:C,onChange:Q},pagination:{total:H,current:B.PageNum,pageSize:B.PageSize,onChange:J}})})||de(De.Modal,{title:l["modal-caption"],open:x,onOk:$,onCancel:W,width:l["modal-width"]??600,okButtonProps:{disabled:C.length===0},children:de(De.Table,{columns:Y,loading:O,dataSource:F,rowKey:K=>K._rowKey,rowSelection:{type:g==="modal-select"?"radio":"checkbox",selectedRowKeys:C,onChange:Q},pagination:{total:H,current:B.PageNum,pageSize:B.PageSize,onChange:J}})})]})}function t7(n,l){return new Promise((a,s)=>{try{var d=l["key-field"];if(!d){s({msg:"请配置key-field"});return}var v=(d==null?void 0:d.list)??[];let h=n.map(g=>v.map(p=>g[p]).join((d==null?void 0:d.delimiter)||"-")).join(",");a(h)}catch{s({msg:"key-field参数配置错误"})}})}const n7=n=>{const{item:l,onChange:a,readonly:s=!1,options:d,radioAlign:v="horizontal",commonRequestWidthParams:h,commonRequest:g,handleUrlOptions:_,value:p,interfaceTypeDict:x,interfaceTypeSysDict:w,actionUrlKey:C,actionUrlExtraParams:E}=n,{message:T}=De.App.useApp(),[k,O]=Te.useState([]),[M,B]=Te.useState(p||[]);Te.useEffect(()=>{if((l==null?void 0:l.inputType)==="local"){const N=(l==null?void 0:l.data)||[];O(N.map(H=>({value:H,label:H})))}else(l==null?void 0:l.inputType)==="dictionary"?A(l.classify,x):(l==null?void 0:l.inputType)==="system-dictionary"?A(l.classify,w):(l==null?void 0:l.inputType)==="url"&&F()},[l==null?void 0:l.inputType]);const A=async(N,H)=>{var Y;if(!N)return;const L=await g(H,{asctypeid:N});if((L==null?void 0:L.ReturnValue)===1){const Q=((Y=L==null?void 0:L.data)==null?void 0:Y.list)||[];O(Q.map(P=>{const I=P.dicid+"-"+P.info;return{value:I,label:I}}))}},F=async()=>{var N,H;try{const L=((N=l==null?void 0:l["key-field"])==null?void 0:N.list)||[],Y=((H=l==null?void 0:l["key-field"])==null?void 0:H.delimiter)||"";if(!L.length){T.error("请配置key-field");return}const Q=await h({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{[C]:l==null?void 0:l["action-url"],...E});if(Q!=null&&Q.data){const P=Q==null?void 0:Q.data,I=P==null?void 0:P.list;let $=[];Array.isArray(P)&&($=P),Array.isArray(I)&&($=I);const W=$.map(ne=>({label:_(ne,Y,L),value:_(ne,Y,L)}));O([...W])}}catch{T.error("加载选项失败")}finally{}};return de(De.Checkbox.Group,{...d,options:k,value:M,style:v==="vertical"?{display:"flex",flexDirection:"column",gap:"8px",width:"100%"}:{width:"100%"},onChange:N=>{B(N),a==null||a(N)},disabled:s})},r7=({item:n,readonly:l,value:a,onChange:s,style:d,commonRequestWidthParams:v,commonRequest:h,interfaceTypeDict:g,interfaceTypeSysDict:_,actionUrlKey:p,actionUrlExtraParams:x})=>{const[w,C]=Te.useState([]),[E,T]=Te.useState(!1),{message:k}=De.App.useApp();Te.useEffect(()=>{O()},[n.inputType,n.classify,n.data,n.options]);const O=async()=>{if(n.inputType==="local"){let H=[];n.data&&Array.isArray(n.data)?H=n.data.map(L=>({label:L,value:L})):n.options&&Array.isArray(n.options)&&(H=n.options),C(H)}else if(n.inputType==="dictionary")await M(_);else if(n.inputType==="system-dictionary")M(_);else if(n.inputType==="url"&&(n!=null&&n["action-url"])){const H=await A();H&&Array.isArray(H)&&C(H)}else{let H=[];n.data&&Array.isArray(n.data)?H=n.data.map(L=>({label:L,value:L})):n.options&&Array.isArray(n.options)&&(H=n.options),C(H)}},M=async H=>{var L;if(n.classify){T(!0);try{const Y=await h(H,{asctypeid:n.classify});if((L=Y==null?void 0:Y.data)!=null&&L.list&&Array.isArray(Y.data.list)){const Q=Y.data.list.map(P=>({label:`${P.dicid||""}-${P.info||""}`,value:`${P.dicid||""}-${P.info||""}`}));C(Q)}}catch{k.error("加载选项失败")}finally{T(!1)}}},B=(H,L)=>{s&&s(H)},A=async H=>new Promise(async(L,Y)=>{var W,ne,J;const Q=((W=n==null?void 0:n["key-field"])==null?void 0:W.list)||[],P=(n==null?void 0:n["search-field"])||[],I=((ne=n==null?void 0:n["key-field"])==null?void 0:ne.delimiter)||"-";if(!Q.length){k.error("请配置key-field");return}const $={[p]:n==null?void 0:n["action-url"],...x};H&&(P.forEach(K=>{$[K]=H[K]||""}),$.level=Number(H.level||0)+1||""),T(!0);try{const K=await v({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},$);if((J=K==null?void 0:K.data)!=null&&J.list&&Array.isArray(K.data.list)){const ce=K.data.list.map(V=>({...V,label:`${V[Q[0]]||""}${I}${V[Q[1]]||""}`,value:`${V[Q[0]]||""}${I}${V[Q[1]]||""}`,children:[],isLeaf:(V==null?void 0:V.subcount)===0}));L(ce)}Y([])}catch{k.error("加载选项失败"),Y([])}finally{Y([]),T(!1)}}),F=async H=>{const L=H[H.length-1],Y=await A(L)||[];return L.children=Y,C([...w]),Y},N=(H,L)=>L.some(Y=>Y.label.toLowerCase().includes(H.toLowerCase()));return de(De.Cascader,{showSearch:{filter:N},loading:E,placeholder:"请选择",loadData:F,disabled:l,onChange:B,style:{...d},options:w,value:a,onOpenChange:async H=>{var L;if(H&&(a!=null&&a.length)){const Y=((L=n==null?void 0:n["key-field"])==null?void 0:L.list)||[],Q=(n==null?void 0:n["search-field"])||[];if(!Y.length||!Q.length){k.error("请配置key-field和search-field");return}const P=Y.findIndex(W=>W===Q[0]);if(P===-1){k.error("key-field与search-field配置不匹配");return}const I=a.map(W=>W.split("-")[P]||"").filter(Boolean);let $=w;for(const[W,ne]of I.entries()){if(W===I.length-1)break;const J=$.filter(V=>V[Q[0]]===ne);if(J.length===0)break;const K=J[0];if(K.children&&K.children.length>0){$=K.children;continue}$=await F(J)}}}})},a7=({item:n,readonly:l,value:a,onChange:s,style:d,commonRequestWidthParams:v})=>{const[h,g]=Te.useState([]),[_,p]=Te.useState(!1);Te.useEffect(()=>{(async()=>{var B;if(n.inputType==="url"&&n["action-url"]){p(!0);try{const A=await v({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{"action-url":n==null?void 0:n["action-url"]});(B=A==null?void 0:A.data)!=null&&B.list&&Array.isArray(A.data.list)?g(A.data.list):A!=null&&A.data&&Array.isArray(A.data)?g(A.data):Array.isArray(A==null?void 0:A.list)?g(A.list):(A==null?void 0:A.ReturnValue)===1&&(A!=null&&A.data)&&(Array.isArray(A.data)?g(A.data):g([A.data]))}catch{}finally{p(!1)}}else n.data&&Array.isArray(n.data)&&g(n.data)})()},[n.inputType,n["action-url"],n.data]);const x=M=>JSON.stringify(M),w=M=>{const B=x(M);return a===B},C=M=>{if(l)return;const B=x(M);s&&s(B)},E=n["card-image-width"]||200,T=n["card-image-height"]||100,k=n["card-image-field"],O=n["card-info-field"];return de("div",{style:{...d},children:_?de("div",{style:{textAlign:"center",padding:"20px"},children:"加载中..."}):de("div",{style:{display:"flex",flexWrap:"wrap",gap:"50px"},children:h.map((M,B)=>{const A=w(M);return bt("div",{onClick:()=>C(M),style:{flex:"1 1 auto",width:`${E}px`,padding:"12px",cursor:l?"not-allowed":"pointer",opacity:l?.6:1,transition:"all 0.3s"},children:[M[k]&&de("img",{src:M.picurl,alt:M[O]||"",style:{width:`${E}px`,height:`${T}px`,objectFit:"cover",borderRadius:"4px",marginBottom:"8px"},onError:F=>{F.currentTarget.style.display="none"}}),de("div",{style:{fontSize:"14px",color:"#333333"},children:bt(De.Space,{size:6,children:[de("div",{style:{width:"16px",height:"16px",borderRadius:"50%",border:A?"none":"1px solid #d9d9d9",backgroundColor:A?"var(--color-primary)":"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,cursor:l?"not-allowed":"pointer"},children:A&&de(cD,{style:{fontSize:"12px",color:"#fff"}})}),M[O]||""]})})]},B)})})})},i7=({item:n,readonly:l,style:a,commonRequestWidthParams:s,commonRequest:d,value:v,onChange:h,interfaceTypeDict:g,interfaceTypeSysDict:_,actionUrlKey:p,actionUrlExtraParams:x})=>{const[w,C]=Te.useState([]),[E,T]=Te.useState(!1);Te.useEffect(()=>{k()},[n.inputType,n.classify,n.data,n.options]);const k=async()=>{T(!0);const O=await $k({commonRequestWidthParams:s,commonRequest:d,interfaceTypeDict:g,interfaceTypeSysDict:_,actionUrlKey:p,actionUrlExtraParams:x,item:n});C(O),T(!1)};return de(De.Select,{placeholder:(n==null?void 0:n["default-prompt"])||"请选择",mode:n.input==="mult-select"?"multiple":void 0,disabled:l,loading:E,showSearch:!0,value:v,filterOption:(O,M)=>{var B;return((B=M==null?void 0:M.label)==null?void 0:B.toLowerCase().indexOf(O.toLowerCase()))>=0},options:w,style:{...a},allowClear:!0,onChange:O=>{h(O)}})},o7={customUpload:"myUpload-module_customUpload_7c7d3"},l7=n=>new Promise((l,a)=>{const s=new FileReader;s.readAsDataURL(n),s.onload=()=>l(s.result),s.onerror=d=>a(d)}),u7=n=>{const{action:l,item:a,onChange:s,readonly:d=!1,relatedid:v,uploadText:h="上传文件",onRemove:g,list:_=[],uploadType:p,relatedidKey:x}=n,{message:w}=De.App.useApp(),C=(a==null?void 0:a["upload-accept"])||"*",E=a==null?void 0:a.input,T=a==null?void 0:a["upload-size"],k=(a==null?void 0:a["upload-max-count"])||1,[O,M]=Te.useState(E==="image"?"picture-card":"text"),[B,A]=Te.useState([]),[F,N]=Te.useState(!1),[H,L]=Te.useState("");Te.useEffect(()=>{_&&_.length&&A(_)},[_]);const Y=async $=>{p==="image"&&(!$.url&&!$.preview&&($.preview=await l7($.originFileObj)),L($.url||$.preview),N(!0))},Q=({fileList:$})=>{A($),s&&s($)},P=$=>{if(!T)return!0;const W=$.size/1024/1024<Number(T);return W||w.error(`请上传不超过${T}MB的文件`),W},I=E==="image"?bt("button",{style:{border:0,background:"none"},type:"button",children:[de(SS,{}),de("div",{style:{marginTop:8},children:"Upload"})]}):de(yo,{children:de(De.Button,{icon:de(TS,{}),children:h})});return bt(yo,{children:[de(De.Upload,{action:l,beforeUpload:P,listType:O,accept:C,fileList:B,onPreview:Y,data:{[x]:v},maxCount:k,onChange:Q,onRemove:g,disabled:d,className:o7.customUpload,children:B.length>=k?null:I}),H&&de(De.Image,{wrapperStyle:{display:"none"},preview:{visible:F,onVisibleChange:$=>N($),afterOpenChange:$=>!$&&L("")},src:H})]})},s7=n=>{const{item:l,onChange:a,readonly:s=!1,options:d,radioAlign:v="horizontal",commonRequestWidthParams:h,commonRequest:g,handleUrlOptions:_,value:p,interfaceTypeDict:x,interfaceTypeSysDict:w,actionUrlKey:C,actionUrlExtraParams:E}=n,{message:T}=De.App.useApp(),[k,O]=Te.useState([]);Te.useEffect(()=>{if((l==null?void 0:l.inputType)==="local"){const A=(l==null?void 0:l.data)||[];O(A.map(F=>({value:F,label:F})))}else(l==null?void 0:l.inputType)==="dictionary"?M(l.classify,x):(l==null?void 0:l.inputType)==="system-dictionary"?M(l.classify,w):(l==null?void 0:l.inputType)==="url"&&B()},[l==null?void 0:l.inputType]);const M=async(A,F)=>{var H;if(!A)return;const N=await g(F,{asctypeid:A});if((N==null?void 0:N.ReturnValue)===1){const L=((H=N==null?void 0:N.data)==null?void 0:H.list)||[];O(L.map(Y=>{const Q=Y.dicid+"-"+Y.info;return{value:Q,label:Q}}))}},B=async()=>{var A,F;try{const N=((A=l==null?void 0:l["key-field"])==null?void 0:A.list)||[],H=((F=l==null?void 0:l["key-field"])==null?void 0:F.delimiter)||"";if(!N.length){T.error("请配置key-field");return}if(!h)return;const L=await h({PageName:"dns_relay",Controlname:"CallActionUrl",InterfaceType:""},{[C]:l==null?void 0:l["action-url"],...E});if(L!=null&&L.data){const Y=L==null?void 0:L.data,Q=Y==null?void 0:Y.list;let P=[];Array.isArray(Y)&&(P=Y),Array.isArray(Q)&&(P=Q);const I=P.map($=>({label:_($,H,N),value:_($,H,N)}));O([...I])}}catch{T.error("加载选项失败")}finally{}};return de(De.Radio.Group,{...d,options:k,onChange:a,disabled:s,value:p,style:v==="vertical"?{display:"flex",flexDirection:"column",gap:"8px",width:"100%"}:{width:"100%"}})};xa.extend(Jk);function c7(n){const{commonRequestWidthParams:l,uploadAction:a,commonRequest:s,formConfig:d,setFormConfig:v,updateDelFileList:h,interfaceTypeChildren:g,interfaceTypeDict:_,interfaceTypeSysDict:p,relatedidKey:x,actionUrlKey:w,actionUrlExtraParams:C,CustomModalComponent:E,setAttrList:T,hideAttrList:k=[]}=n,O=Te.useRef([]),{message:M}=De.App.useApp();Te.useEffect(()=>{d&&(O.current=d)},[d]);const B=Te.useCallback($=>Array.isArray($)?$:($==null?void 0:$.fileList)??[],[]),A=$=>{h($)},F=Te.useCallback($=>{var K,ce;const W=(K=$.json)==null?void 0:K.input,ne=(ce=$.json)==null?void 0:ce.format,J={};switch(W){case"image":case"file":case"video":case"audio":J.getValueFromEvent=B;break;case"date-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY-MM-DD"),J.getValueProps=V=>({value:V?xa(V):null});break;case"time-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY-MM-DD HH:mm:ss"),J.getValueProps=V=>({value:V?xa(V):null});break;case"week-picker":J.getValueFromEvent=V=>`${V==null?void 0:V.year()}-${xa(V).isoWeek()}周`,J.getValueProps=V=>{if(!V)return{value:null};const[ue,Z]=V.split("-"),G=Number(ue),te=Number(Z.replace("周",""));return{value:xa().year(G).isoWeek(te)}};break;case"month-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY-MM"),J.getValueProps=V=>({value:V?xa(V):null});break;case"quarter-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY年第Q季度"),J.getValueProps=V=>({value:V?xa(V,ne||"YYYY年第Q季度"):null});break;case"year-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"YYYY"),J.getValueProps=V=>({value:V?xa(V):null});break;case"second-picker":J.getValueFromEvent=V=>V==null?void 0:V.format(ne||"HH:mm:ss"),J.getValueProps=V=>({value:V?xa(V,ne||"HH:mm:ss"):null});break;case"range-picker":J.getValueFromEvent=V=>V==null?void 0:V.map(ue=>ue==null?void 0:ue.format(ne||"YYYY-MM-DD")),J.getValueProps=V=>({value:(V==null?void 0:V.map(ue=>xa(ue)))||null});break;case"multiple-date-picker":J.getValueFromEvent=V=>V==null?void 0:V.map(ue=>ue==null?void 0:ue.format(ne||"YYYY-MM-DD")),J.getValueProps=V=>({value:(V==null?void 0:V.map(ue=>xa(ue)))||null});break}return J},[B]),N=Te.useCallback(({isActive:$})=>$?de(kD,{style:{fontSize:18,color:"#999"}}):de(LD,{style:{fontSize:18,color:"#999"}}),[]),H=($,W)=>{var ne,J,K,ce,V;return bt(De.Flex,{gap:10,vertical:W==="flex",align:"center",children:[de("span",{children:$.attrname}),((ne=$==null?void 0:$.json)==null?void 0:ne.instruction)&&W==="icon"&&de(De.Tooltip,{title:(J=$==null?void 0:$.json)==null?void 0:J.instruction,children:de(DD,{style:{color:((K=$==null?void 0:$.json)==null?void 0:K["instruction-color"])??"#888888",fontSize:16,cursor:"pointer"}})})||de("span",{style:{color:((ce=$==null?void 0:$.json)==null?void 0:ce["instruction-color"])??"red"},children:(V=$==null?void 0:$.json)==null?void 0:V.instruction})]})},L=Te.useCallback(({itemWithJson:$,colNum:W=1,readonly:ne=!1,instructionShowMode:J="icon",radioAlign:K="horizontal",formItemStyle:ce,relatedid:V,form:ue,defaultWidth:Z=358,parentFormListField:G,isShowLabel:te=!0})=>{const se=Ss($);let re=$.children||[];Array.isArray(re==null?void 0:re[0])&&re.length&&(re=re[0]);const xe=be=>{const Be=(G==null?void 0:G.parentName)||(G==null?void 0:G.name);return Be?Array.isArray(Be)?[...Be,$.attrid,be.name]:[Be,$.attrid,be.name]:[$.attrid,be.name]};return de(De.Col,{span:24/W,children:de(De.Collapse,{bordered:!1,defaultActiveKey:[$.attrid],style:{backgroundColor:"transparent"},expandIcon:({isActive:be})=>N({isActive:be}),items:[{key:$.attrid,label:$.attrname,styles:{header:{paddingLeft:0}},children:de(De.Form.List,{name:G?Array.isArray(G.name)?[...G.name,$.attrid]:[G.name,$.attrid]:$.attrid,initialValue:se,children:(be,{add:Be,remove:Se})=>bt("div",{style:{display:"flex",rowGap:16,flexDirection:"column"},children:[be.map(Ie=>{const Ne={...Ie,parentName:xe(Ie)};return de(De.Card,{style:{width:Z+100},size:"small",title:`${$.attrname} ${Ie.name+1}`,extra:de(gD,{onClick:()=>{be.length>1?Se(Ie.name):M.warning("至少需要保留一个!")}}),children:(re||[]).map((ct,Fe)=>de(Te.Fragment,{children:I({item:ct,readonly:ne,colNum:W,instructionShowMode:J,relatedid:V,form:ue,defaultWidth:Z,formItemStyle:ce,radioAlign:K,isFormListItem:!0,formListField:Ne,isShowLabel:!0})},ct.attrid||`child-${Fe}`))},Ie.key)}),de(De.Flex,{style:{width:200},children:de(De.Button,{type:"dashed",onClick:()=>Be(),block:!0,children:"+ 新增"})})]})})}]},$.attrid)})},[N,Ss]),Y=Te.useCallback(({itemWithJson:$,colNum:W=1,readonly:ne=!1,instructionShowMode:J="icon",radioAlign:K="horizontal",formItemStyle:ce,relatedid:V,form:ue,defaultWidth:Z=358,isFormListItem:G=!1,formListField:te,isShowLabel:se=!0})=>{var re,xe,be,Be,Se,Ie,Ne;if(((re=$.json)==null?void 0:re.hide)===!0||k!=null&&k.includes($.attrid))return de(yo,{});if($.attrtype===1)return L({itemWithJson:$,colNum:W,readonly:ne,instructionShowMode:J,radioAlign:K,formItemStyle:ce,relatedid:V,form:ue,defaultWidth:Z,parentFormListField:te,isShowLabel:se});if($.attrtype===2)return de(yo,{children:"实例信息"});if($.attrtype===0){const ct=Ss($),Fe=(xe=$.json)==null?void 0:xe["default-prompt"],ft=Ik($),{combinations:wt=[]}=$.json||{};if(wt!=null&&wt.length)return de(De.Col,{span:24/W,children:de(De.Form.Item,{label:(be=$==null?void 0:$.json)==null?void 0:be["combination-name"],required:(Be=$.json)==null?void 0:Be.must,children:de(De.Space.Compact,{children:wt.map((Bt,wn)=>{var ar,Wn,Mn,Zt;let Pn=Ss(Bt),nr=Z;const rr={},gn=Bt.json.input||"text",Wt=ce==null?void 0:ce.find(jn=>jn.type===gn);if(Wt){const{width:jn}=(Wt==null?void 0:Wt.style)||{};jn&&(rr.width=jn)}const dn=(ar=Bt==null?void 0:Bt.json)==null?void 0:ar["combination-width-ratio"];return dn&&(nr=Z*dn),de(De.Form.Item,{name:te?Array.isArray(te.name)?[...te.name,Bt.attrid]:[te.name,Bt.attrid]:Bt.attrid,noStyle:!0,initialValue:Pn,rules:[...(Wn=Bt.json)!=null&&Wn.must?[{required:!0,message:Fe||`${ft}${Bt.attrname}`}]:[],...(Mn=$.json)!=null&&Mn.regexp?[{pattern:new RegExp($.json.regexp.replace(/^\/|\/$/g,"")),message:((Zt=$.json)==null?void 0:Zt["regexp-message"])||`${$.attrname}格式不正确`}]:[]],...F(Bt),children:P({item:Bt,readonly:ne,formItemStyle:ce,radioAlign:K,relatedid:V,form:ue,defaultWidth:nr,customWidth:rr})},wn)})})},`${$.attrid}+1`)});const ln=G&&te?Array.isArray(te.name)?[...te.name,$.attrid]:[te.name,$.attrid]:$.attrid;return de(De.Col,{span:24/W,children:de(De.Form.Item,{name:ln,label:se&&H($,J)||null,initialValue:ct,rules:[...(Se=$.json)!=null&&Se.must?[{required:!0,message:`${ft}${$.attrname}`}]:[],...(Ie=$.json)!=null&&Ie.regexp?[{pattern:new RegExp($.json.regexp.replace(/^\/|\/$/g,"")),message:((Ne=$.json)==null?void 0:Ne["regexp-message"])||`${$.attrname}格式不正确`}]:[]],...F($),children:P({item:$,readonly:ne,formItemStyle:ce,radioAlign:K,relatedid:V,form:ue,defaultWidth:Z})},$.attrid)})}return null},[H,Ss,F,k,L]),Q=async $=>{var W;try{const ne=(W=$==null?void 0:$.response)==null?void 0:W.data;if(ne){if(!l)return;const J=await l({Controlname:"DelFile",PageName:"initializationfile"},ne);if((J==null?void 0:J.ReturnValue)!==1)return M.error((J==null?void 0:J.msg)||"删除文件失败"),!1}else A($);return!0}catch{return M.error("删除文件失败,请重试"),!1}},P=({item:$,readonly:W=!1,formItemStyle:ne=[],radioAlign:J="horizontal",relatedid:K,form:ce,defaultWidth:V=358,customWidth:ue={}})=>{var be,Be,Se,Ie;const Z=$.json.input||"text",G=Ss($),te=((be=$.json)==null?void 0:be["default-prompt"])||"",se=((Be=$.json)==null?void 0:Be["disable-date-goover"])||!1,re=$.json.length&&{maxLength:$.json.length}||{},xe=ne.find(Ne=>Ne.type===Z);switch(Z){case"label":return de(De.Input,{disabled:!0,value:((Se=$.json)==null?void 0:Se["label-value"])||$.attrvalue||((Ie=$.json)==null?void 0:Ie.default)||"-",style:{width:V,...xe==null?void 0:xe.style,...ue}});case"text":return de(De.Input,{placeholder:te||"请输入",...re,disabled:W,allowClear:!0,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"password":return de(De.Input.Password,{placeholder:te||"请输入",...re,disabled:W,allowClear:!0,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"textarea":return de(De.Input.TextArea,{allowClear:!0,placeholder:te||"请输入",rows:5,...re,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"number":return de(De.InputNumber,{controls:!1,placeholder:te||"请输入",...re,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"select":case"mult-select":return de(i7,{item:$.json,readonly:W,style:{width:V,...xe==null?void 0:xe.style,...ue},commonRequestWidthParams:l,commonRequest:s,value:G,interfaceTypeDict:_,interfaceTypeSysDict:p,actionUrlKey:w,actionUrlExtraParams:C,onChange:Ne=>{ce.setFieldValue($.attrid,Ne)}});case"modal-mult-select":case"modal-select":return de(e7,{style:{width:V,...xe==null?void 0:xe.style,...ue},item:$.json,value:$.attrvalue||$.json.default||"",commonRequestWidthParams:l,commonRequest:s,onSure:async Ne=>{ce.setFieldValue($.attrid,Ne)},disabled:W,CustomModalComponent:E});case"date-picker":case"time-picker":case"week-picker":case"month-picker":case"quarter-picker":case"year-picker":case"second-picker":{const Ne={"date-picker":"date","time-picker":"date","week-picker":"week","month-picker":"month","quarter-picker":"quarter","year-picker":"year","second-picker":"time"};let ct;return Z==="date-picker"&&(ct=se?Vb:void 0),de(De.DatePicker,{showTime:Z==="time-picker",picker:Ne[Z]||"date",disabled:W,disabledDate:ct,placement:"bottomLeft",style:{width:V,...xe==null?void 0:xe.style,...ue}})}case"range-picker":return de(De.DatePicker.RangePicker,{disabledDate:se?Vb:void 0,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"multiple-date-picker":return de(De.DatePicker,{multiple:!0,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}});case"radio":return de(s7,{radioAlign:J,commonRequest:s,commonRequestWidthParams:l,item:$.json,readonly:W,options:re,handleUrlOptions:hd,value:G,interfaceTypeDict:_,interfaceTypeSysDict:p,actionUrlKey:w,actionUrlExtraParams:C,onChange:Ne=>{ce.setFieldValue($.attrid,Ne.target.value)}});case"checkbox":return de(n7,{radioAlign:J,commonRequest:s,commonRequestWidthParams:l,item:$.json,readonly:W,options:re,value:G,handleUrlOptions:hd,interfaceTypeDict:_,interfaceTypeSysDict:p,actionUrlKey:w,actionUrlExtraParams:C,onChange:Ne=>{ce.setFieldValue($.attrid,Ne.join(","))}});case"audio":case"file":case"image":case"video":return de(u7,{action:a&&a("initializationfile"),item:$.json,uploadType:Z,list:G,readonly:W,relatedid:K,relatedidKey:x,onRemove:Ne=>Q(Ne)});case"cascader":return de(r7,{commonRequestWidthParams:l,commonRequest:s,item:$.json,value:$.attrvalue,style:{width:V,...xe==null?void 0:xe.style,...ue},interfaceTypeDict:_,interfaceTypeSysDict:p,actionUrlKey:w,actionUrlExtraParams:C});case"radio-card":return de(a7,{item:$.json,readonly:W,onChange:Ne=>{ce.setFieldValue($.attrid,Ne)},commonRequestWidthParams:l});default:return de(De.Input,{placeholder:"请输入",...re,showCount:!0,disabled:W,style:{width:V,...xe==null?void 0:xe.style,...ue}})}},I=({item:$,readonly:W=!1,colNum:ne=1,instructionShowMode:J="icon",relatedid:K,form:ce,defaultWidth:V=358,formItemStyle:ue,radioAlign:Z="horizontal",isFormListItem:G=!1,formListField:te,isShowLabel:se=!0})=>{var be;const re=$.info_base64===1?av(Sg($.info)):av($.info),xe={...$,json:{...$==null?void 0:$.json,...re}};return((be=xe.json)==null?void 0:be.hide)===!0?null:de(Te.Fragment,{children:Y({itemWithJson:xe,readonly:W,colNum:ne,instructionShowMode:J,relatedid:K,form:ce,defaultWidth:V,formItemStyle:ue,radioAlign:Z,isFormListItem:G,formListField:te,isShowLabel:se})},xe.attrid)};return{handleRenderItem:I,handleSetFormItemInitialValue:Ss}}const f7=Te.forwardRef((n,l)=>{const{formConfig:a,setFormConfig:s,setAttrList:d,form:v,readonly:h=!1,relatedid:g,colNum:_=1,colSpace:p=[0,0],instructionShowMode:x="flex",defaultWidth:w=358,commonRequestWidthParams:C,uploadAction:E,commonRequest:T,formItemStyle:k=[],radioAlign:O="horizontal",interfaceTypeChildren:M="YLLRDetailAttrlist",interfaceTypeDict:B="YLZDDictList",interfaceTypeSysDict:A="YLZDSysConfigList",relatedidKey:F="relatedid",actionUrlKey:N="action-url",actionUrlExtraParams:H={},CustomModalComponent:L,hideAttrList:Y=[],formShowType:Q="form",headerWidth:P,formListItemWidth:I}=n,$=Te.useRef([]),W=J=>{$.current.push(J)},{handleRenderItem:ne}=c7({commonRequestWidthParams:C,uploadAction:E,commonRequest:T,setFormConfig:s,setAttrList:d,updateDelFileList:W,formConfig:a,interfaceTypeChildren:M,interfaceTypeDict:B,interfaceTypeSysDict:A,relatedidKey:F,actionUrlKey:N,actionUrlExtraParams:H,CustomModalComponent:L,hideAttrList:Y});return Te.useImperativeHandle(l,()=>({getDelFileList:()=>$.current})),de(yo,{children:Q==="table"?de(De.Form.List,{name:"customFormList",initialValue:[{}],children:(J,{add:K,remove:ce})=>bt("div",{className:"custom-form-list",children:[bt(De.Flex,{align:"center",children:[de(De.Flex,{className:"custom-form-list-header",align:"center",children:a==null?void 0:a.map((V,ue)=>bt(De.Flex,{style:{width:(P==null?void 0:P[ue])||w},align:"center",children:[ue!==0&&de("div",{className:"line"}),de("div",{className:"custom-form-list-header-item",children:V.attrname})]},ue))}),de("a",{className:"custom-form-list-add-btn",onClick:()=>K(),children:"新增"})]}),J.map(V=>bt(De.Flex,{align:"center",className:"custom-form-list-item-container",children:[de(De.Flex,{className:"custom-form-list-item",align:"center",children:a==null?void 0:a.map((ue,Z)=>de(De.Flex,{align:"center",className:"custom-form-list-item-content",justify:"center",style:{width:(P==null?void 0:P[Z])||w},children:ne({item:ue,readonly:h,colNum:_,instructionShowMode:x,relatedid:g,form:v,defaultWidth:(I==null?void 0:I[Z])||w,formItemStyle:k,isFormListItem:!0,formListField:V,isShowLabel:!1})},ue.attrid||`child-${Z}`))}),de("a",{className:"custom-form-list-del-btn",onClick:()=>ce(V.key),children:"删除"})]},V.key))]})}):de(De.Row,{gutter:p,children:a.map((J,K)=>de(Te.Fragment,{children:ne({item:J,readonly:h,colNum:_,instructionShowMode:x,relatedid:g,form:v,defaultWidth:w,formItemStyle:k,radioAlign:O})},J.attrid||`form-item-${K}`))})})}),d7=(n,l)=>{const a=new URL(n),s=new URL(l);return a.protocol===s.protocol&&a.host===s.host&&a.port===s.port},p7=n=>{const l=String(n).split("/");return l[l.length-1]},h7=n=>{var a;return(a=n.headers.get("content-disposition"))==null?void 0:a.split(";")[1].split("=")[1]},v7=(n,l)=>{const a=l||p7(n);if(d7(n,window.location.href)){bg(n,a);return}let s=l;fetch(n,{method:"get"}).then(d=>(s||(s=h7(d)),d.blob())).then(d=>{Xb(d,s||a)}).catch(()=>{bg(n,"")})},m7=n=>{for(var l=n.split(","),a=l[0].match(/:(.*?);/)[1],s=window.atob(l[1]),d=s.length,v=new Uint8Array(d);d--;)v[d]=s.charCodeAt(d);return new Blob([v],{type:a})},Xb=(n,l)=>{let a="";n instanceof Blob?a=window.URL.createObjectURL(n):a=window.URL.createObjectURL(m7(n));const s=window.navigator;if(s.msSaveOrOpenBlob){s.msSaveOrOpenBlob(n,l);return}bg(a,l),window.URL.revokeObjectURL(a)},bg=(n,l)=>{let a=document.createElement("a");a.style.display="none",a.href=n,a.target="_blank",a.download=l,document.body.appendChild(a),a.click(),document.body.removeChild(a)},y7=Object.freeze(Object.defineProperty({__proto__:null,downloadUrl:v7,downloadBlob:Xb},Symbol.toStringTag,{value:"Module"})),Jb={phone:{pattern:/^1[3456789]\d{9}$/,message:"请输入正确的手机号码"},telephone:{pattern:/^[\d -]+$/,message:"请输入正确的电话号码"},email:{pattern:/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,message:"请输入正确的邮箱地址"},httpUrl:{pattern:/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/,message:"请输入合法的URL"},zipCode:{pattern:/^[0-9]{6}$/,message:"请输入正确的邮政编码"},specificKey:{pattern:/^[\w\u4E00-\u9FA5\uF900-\uFA2D()()]*$/,message:"可输入字母、汉字、数字或()"},inputTextarea:{pattern:/^[\w\u4E00-\u9FA5\uF900-\uFA2D-\u3002-\uff1f-\uff01-\uff0c-\u3001-\uff1b-\uff1a]*$/,message:"请输入字母、汉字或数字和中文常用字符:?!,、;。"},backendRestrict:{pattern:/^[^'"/\\]*$/,message:`不能输入特殊字符\\'/"`},onetoNinetyNine:{pattern:/^[1-9][0-9]{0,1}$/,message:"请输入1-99的整数"},passwordRule:{pattern:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z0-9]{8,12}$/,message:"密码应为字母大小写+数字8-12位组合"},passwordNewRule:{pattern:/^.*(?=.{8,})(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#¥%&*.()_+~/-]).*$/,message:"密码应为字母大小写+数字+常见字符!@#¥%&*.()_+~/- 8-12位组合"},pureNumber:{pattern:/^[1-9][0-9]*$/,message:"请输入整数类型"},onlyBlankRule:{pattern:/\S/,message:"输入内容不能只有空格"}},g7=Object.freeze(Object.defineProperty({__proto__:null,default:Jb},Symbol.toStringTag,{value:"Module"}));class x7{constructor(l){zc(this,"options",{id:"",canvasId:"verifyCanvas",width:100,height:30,type:"blend",code:""});this.options=l}GVerify(){this.options.numArr="0,1,2,3,4,5,6,7,8,9".split(","),this.options.letterArr=this.getAllLetter(),this._init(),this.refresh()}_init(){const l=document.getElementById(this.options.id),a=document.createElement("canvas");a.id=this.options.canvasId,a.width=Number(this.options.width),a.height=Number(this.options.height),a.style.cursor="pointer",a.innerHTML="您的浏览器版本不支持canvas",l&&l.appendChild(a),a.onclick=()=>{this.refresh()}}refresh(){this.options.code="";const l=document.getElementById(this.options.canvasId);let a,s=[];if(l.getContext)a=l.getContext("2d");else return;a.textBaseline="middle",a.fillStyle=this.randomColor(180,240),a.fillRect(0,0,this.options.width,this.options.height),this.options.type=="blend"?s=this.options.numArr.concat(this.options.letterArr):this.options.type=="number"?s=this.options.numArr:s=this.options.letterArr;for(let d=1;d<=4;d++){const v=s[this.randomNum(0,s.length)];this.options.code+=v,a.font="20px SimHei",a.fillStyle=this.randomColor(50,160),a.shadowBlur=this.randomNum(-3,3),a.shadowColor="rgba(0, 0, 0, 0.3)";const h=Number(this.options.width)/5*d,g=Number(this.options.height)/2,_=this.randomNum(-30,30);a.translate(h,g),a.rotate(_*Math.PI/180),a.fillText(v,0,0),a.rotate(-_*Math.PI/180),a.translate(-h,-g)}for(let d=0;d<2;d++)a.strokeStyle=this.randomColor(40,180),a.beginPath(),a.moveTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height)/2)),a.lineTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height))),a.stroke();for(let d=0;d<Number(this.options.width)/10;d++)a.fillStyle=this.randomColor(0,255),a.beginPath(),a.arc(this.randomNum(0,this.options.width),this.randomNum(0,this.options.height),1,0,2*Math.PI),a.fill()}validate(l){const a=l.toLowerCase(),s=this.options.code.toLowerCase();return a==s}getAllLetter(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}randomNum(l,a){return Math.floor(Math.random()*(a-l)+l)}randomColor(l,a){const s=this.randomNum(l,a),d=this.randomNum(l,a),v=this.randomNum(l,a);return"rgb("+s+","+d+","+v+")"}}const _7=Object.freeze(Object.defineProperty({__proto__:null,getGVerify:x7},Symbol.toStringTag,{value:"Module"}));var e4={exports:{}};function C7(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var wg={exports:{}};const S7=jC(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var t4;function Lt(){return t4||(t4=1,function(n,l){(function(a,s){n.exports=s()})(Dt,function(){var a=a||function(s,d){var v;if(typeof window<"u"&&window.crypto&&(v=window.crypto),typeof self<"u"&&self.crypto&&(v=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(v=globalThis.crypto),!v&&typeof window<"u"&&window.msCrypto&&(v=window.msCrypto),!v&&typeof Dt<"u"&&Dt.crypto&&(v=Dt.crypto),!v&&typeof C7=="function")try{v=S7}catch{}var h=function(){if(v){if(typeof v.getRandomValues=="function")try{return v.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof v.randomBytes=="function")try{return v.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},g=Object.create||function(){function B(){}return function(A){var F;return B.prototype=A,F=new B,B.prototype=null,F}}(),_={},p=_.lib={},x=p.Base=function(){return{extend:function(B){var A=g(this);return B&&A.mixIn(B),(!A.hasOwnProperty("init")||this.init===A.init)&&(A.init=function(){A.$super.init.apply(this,arguments)}),A.init.prototype=A,A.$super=this,A},create:function(){var B=this.extend();return B.init.apply(B,arguments),B},init:function(){},mixIn:function(B){for(var A in B)B.hasOwnProperty(A)&&(this[A]=B[A]);B.hasOwnProperty("toString")&&(this.toString=B.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),w=p.WordArray=x.extend({init:function(B,A){B=this.words=B||[],A!=d?this.sigBytes=A:this.sigBytes=B.length*4},toString:function(B){return(B||E).stringify(this)},concat:function(B){var A=this.words,F=B.words,N=this.sigBytes,H=B.sigBytes;if(this.clamp(),N%4)for(var L=0;L<H;L++){var Y=F[L>>>2]>>>24-L%4*8&255;A[N+L>>>2]|=Y<<24-(N+L)%4*8}else for(var Q=0;Q<H;Q+=4)A[N+Q>>>2]=F[Q>>>2];return this.sigBytes+=H,this},clamp:function(){var B=this.words,A=this.sigBytes;B[A>>>2]&=4294967295<<32-A%4*8,B.length=s.ceil(A/4)},clone:function(){var B=x.clone.call(this);return B.words=this.words.slice(0),B},random:function(B){for(var A=[],F=0;F<B;F+=4)A.push(h());return new w.init(A,B)}}),C=_.enc={},E=C.Hex={stringify:function(B){for(var A=B.words,F=B.sigBytes,N=[],H=0;H<F;H++){var L=A[H>>>2]>>>24-H%4*8&255;N.push((L>>>4).toString(16)),N.push((L&15).toString(16))}return N.join("")},parse:function(B){for(var A=B.length,F=[],N=0;N<A;N+=2)F[N>>>3]|=parseInt(B.substr(N,2),16)<<24-N%8*4;return new w.init(F,A/2)}},T=C.Latin1={stringify:function(B){for(var A=B.words,F=B.sigBytes,N=[],H=0;H<F;H++){var L=A[H>>>2]>>>24-H%4*8&255;N.push(String.fromCharCode(L))}return N.join("")},parse:function(B){for(var A=B.length,F=[],N=0;N<A;N++)F[N>>>2]|=(B.charCodeAt(N)&255)<<24-N%4*8;return new w.init(F,A)}},k=C.Utf8={stringify:function(B){try{return decodeURIComponent(escape(T.stringify(B)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(B){return T.parse(unescape(encodeURIComponent(B)))}},O=p.BufferedBlockAlgorithm=x.extend({reset:function(){this._data=new w.init,this._nDataBytes=0},_append:function(B){typeof B=="string"&&(B=k.parse(B)),this._data.concat(B),this._nDataBytes+=B.sigBytes},_process:function(B){var A,F=this._data,N=F.words,H=F.sigBytes,L=this.blockSize,Y=L*4,Q=H/Y;B?Q=s.ceil(Q):Q=s.max((Q|0)-this._minBufferSize,0);var P=Q*L,I=s.min(P*4,H);if(P){for(var $=0;$<P;$+=L)this._doProcessBlock(N,$);A=N.splice(0,P),F.sigBytes-=I}return new w.init(A,I)},clone:function(){var B=x.clone.call(this);return B._data=this._data.clone(),B},_minBufferSize:0});p.Hasher=O.extend({cfg:x.extend(),init:function(B){this.cfg=this.cfg.extend(B),this.reset()},reset:function(){O.reset.call(this),this._doReset()},update:function(B){return this._append(B),this._process(),this},finalize:function(B){B&&this._append(B);var A=this._doFinalize();return A},blockSize:16,_createHelper:function(B){return function(A,F){return new B.init(F).finalize(A)}},_createHmacHelper:function(B){return function(A,F){return new M.HMAC.init(B,F).finalize(A)}}});var M=_.algo={};return _}(Math);return a})}(wg)),wg.exports}var Dg={exports:{}},n4;function iv(){return n4||(n4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.Base,g=v.WordArray,_=d.x64={};_.Word=h.extend({init:function(p,x){this.high=p,this.low=x}}),_.WordArray=h.extend({init:function(p,x){p=this.words=p||[],x!=s?this.sigBytes=x:this.sigBytes=p.length*8},toX32:function(){for(var p=this.words,x=p.length,w=[],C=0;C<x;C++){var E=p[C];w.push(E.high),w.push(E.low)}return g.create(w,this.sigBytes)},clone:function(){for(var p=h.clone.call(this),x=p.words=this.words.slice(0),w=x.length,C=0;C<w;C++)x[C]=x[C].clone();return p}})}(),a})}(Dg)),Dg.exports}var Tg={exports:{}},r4;function E7(){return r4||(r4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){if(typeof ArrayBuffer=="function"){var s=a,d=s.lib,v=d.WordArray,h=v.init,g=v.init=function(_){if(_ instanceof ArrayBuffer&&(_=new Uint8Array(_)),(_ instanceof Int8Array||typeof Uint8ClampedArray<"u"&&_ instanceof Uint8ClampedArray||_ instanceof Int16Array||_ instanceof Uint16Array||_ instanceof Int32Array||_ instanceof Uint32Array||_ instanceof Float32Array||_ instanceof Float64Array)&&(_=new Uint8Array(_.buffer,_.byteOffset,_.byteLength)),_ instanceof Uint8Array){for(var p=_.byteLength,x=[],w=0;w<p;w++)x[w>>>2]|=_[w]<<24-w%4*8;h.call(this,x,p)}else h.apply(this,arguments)};g.prototype=v}}(),a.lib.WordArray})}(Tg)),Tg.exports}var Ag={exports:{}},a4;function b7(){return a4||(a4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=s.enc;h.Utf16=h.Utf16BE={stringify:function(_){for(var p=_.words,x=_.sigBytes,w=[],C=0;C<x;C+=2){var E=p[C>>>2]>>>16-C%4*8&65535;w.push(String.fromCharCode(E))}return w.join("")},parse:function(_){for(var p=_.length,x=[],w=0;w<p;w++)x[w>>>1]|=_.charCodeAt(w)<<16-w%2*16;return v.create(x,p*2)}},h.Utf16LE={stringify:function(_){for(var p=_.words,x=_.sigBytes,w=[],C=0;C<x;C+=2){var E=g(p[C>>>2]>>>16-C%4*8&65535);w.push(String.fromCharCode(E))}return w.join("")},parse:function(_){for(var p=_.length,x=[],w=0;w<p;w++)x[w>>>1]|=g(_.charCodeAt(w)<<16-w%2*16);return v.create(x,p*2)}};function g(_){return _<<8&4278255360|_>>>8&16711935}}(),a.enc.Utf16})}(Ag)),Ag.exports}var Rg={exports:{}},i4;function Es(){return i4||(i4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=s.enc;h.Base64={stringify:function(_){var p=_.words,x=_.sigBytes,w=this._map;_.clamp();for(var C=[],E=0;E<x;E+=3)for(var T=p[E>>>2]>>>24-E%4*8&255,k=p[E+1>>>2]>>>24-(E+1)%4*8&255,O=p[E+2>>>2]>>>24-(E+2)%4*8&255,M=T<<16|k<<8|O,B=0;B<4&&E+B*.75<x;B++)C.push(w.charAt(M>>>6*(3-B)&63));var A=w.charAt(64);if(A)for(;C.length%4;)C.push(A);return C.join("")},parse:function(_){var p=_.length,x=this._map,w=this._reverseMap;if(!w){w=this._reverseMap=[];for(var C=0;C<x.length;C++)w[x.charCodeAt(C)]=C}var E=x.charAt(64);if(E){var T=_.indexOf(E);T!==-1&&(p=T)}return g(_,p,w)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function g(_,p,x){for(var w=[],C=0,E=0;E<p;E++)if(E%4){var T=x[_.charCodeAt(E-1)]<<E%4*2,k=x[_.charCodeAt(E)]>>>6-E%4*2,O=T|k;w[C>>>2]|=O<<24-C%4*8,C++}return v.create(w,C)}}(),a.enc.Base64})}(Rg)),Rg.exports}var kg={exports:{}},o4;function w7(){return o4||(o4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=s.enc;h.Base64url={stringify:function(_,p){p===void 0&&(p=!0);var x=_.words,w=_.sigBytes,C=p?this._safe_map:this._map;_.clamp();for(var E=[],T=0;T<w;T+=3)for(var k=x[T>>>2]>>>24-T%4*8&255,O=x[T+1>>>2]>>>24-(T+1)%4*8&255,M=x[T+2>>>2]>>>24-(T+2)%4*8&255,B=k<<16|O<<8|M,A=0;A<4&&T+A*.75<w;A++)E.push(C.charAt(B>>>6*(3-A)&63));var F=C.charAt(64);if(F)for(;E.length%4;)E.push(F);return E.join("")},parse:function(_,p){p===void 0&&(p=!0);var x=_.length,w=p?this._safe_map:this._map,C=this._reverseMap;if(!C){C=this._reverseMap=[];for(var E=0;E<w.length;E++)C[w.charCodeAt(E)]=E}var T=w.charAt(64);if(T){var k=_.indexOf(T);k!==-1&&(x=k)}return g(_,x,C)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function g(_,p,x){for(var w=[],C=0,E=0;E<p;E++)if(E%4){var T=x[_.charCodeAt(E-1)]<<E%4*2,k=x[_.charCodeAt(E)]>>>6-E%4*2,O=T|k;w[C>>>2]|=O<<24-C%4*8,C++}return v.create(w,C)}}(),a.enc.Base64url})}(kg)),kg.exports}var Og={exports:{}},l4;function bs(){return l4||(l4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.WordArray,g=v.Hasher,_=d.algo,p=[];(function(){for(var k=0;k<64;k++)p[k]=s.abs(s.sin(k+1))*4294967296|0})();var x=_.MD5=g.extend({_doReset:function(){this._hash=new h.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(k,O){for(var M=0;M<16;M++){var B=O+M,A=k[B];k[B]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var F=this._hash.words,N=k[O+0],H=k[O+1],L=k[O+2],Y=k[O+3],Q=k[O+4],P=k[O+5],I=k[O+6],$=k[O+7],W=k[O+8],ne=k[O+9],J=k[O+10],K=k[O+11],ce=k[O+12],V=k[O+13],ue=k[O+14],Z=k[O+15],G=F[0],te=F[1],se=F[2],re=F[3];G=w(G,te,se,re,N,7,p[0]),re=w(re,G,te,se,H,12,p[1]),se=w(se,re,G,te,L,17,p[2]),te=w(te,se,re,G,Y,22,p[3]),G=w(G,te,se,re,Q,7,p[4]),re=w(re,G,te,se,P,12,p[5]),se=w(se,re,G,te,I,17,p[6]),te=w(te,se,re,G,$,22,p[7]),G=w(G,te,se,re,W,7,p[8]),re=w(re,G,te,se,ne,12,p[9]),se=w(se,re,G,te,J,17,p[10]),te=w(te,se,re,G,K,22,p[11]),G=w(G,te,se,re,ce,7,p[12]),re=w(re,G,te,se,V,12,p[13]),se=w(se,re,G,te,ue,17,p[14]),te=w(te,se,re,G,Z,22,p[15]),G=C(G,te,se,re,H,5,p[16]),re=C(re,G,te,se,I,9,p[17]),se=C(se,re,G,te,K,14,p[18]),te=C(te,se,re,G,N,20,p[19]),G=C(G,te,se,re,P,5,p[20]),re=C(re,G,te,se,J,9,p[21]),se=C(se,re,G,te,Z,14,p[22]),te=C(te,se,re,G,Q,20,p[23]),G=C(G,te,se,re,ne,5,p[24]),re=C(re,G,te,se,ue,9,p[25]),se=C(se,re,G,te,Y,14,p[26]),te=C(te,se,re,G,W,20,p[27]),G=C(G,te,se,re,V,5,p[28]),re=C(re,G,te,se,L,9,p[29]),se=C(se,re,G,te,$,14,p[30]),te=C(te,se,re,G,ce,20,p[31]),G=E(G,te,se,re,P,4,p[32]),re=E(re,G,te,se,W,11,p[33]),se=E(se,re,G,te,K,16,p[34]),te=E(te,se,re,G,ue,23,p[35]),G=E(G,te,se,re,H,4,p[36]),re=E(re,G,te,se,Q,11,p[37]),se=E(se,re,G,te,$,16,p[38]),te=E(te,se,re,G,J,23,p[39]),G=E(G,te,se,re,V,4,p[40]),re=E(re,G,te,se,N,11,p[41]),se=E(se,re,G,te,Y,16,p[42]),te=E(te,se,re,G,I,23,p[43]),G=E(G,te,se,re,ne,4,p[44]),re=E(re,G,te,se,ce,11,p[45]),se=E(se,re,G,te,Z,16,p[46]),te=E(te,se,re,G,L,23,p[47]),G=T(G,te,se,re,N,6,p[48]),re=T(re,G,te,se,$,10,p[49]),se=T(se,re,G,te,ue,15,p[50]),te=T(te,se,re,G,P,21,p[51]),G=T(G,te,se,re,ce,6,p[52]),re=T(re,G,te,se,Y,10,p[53]),se=T(se,re,G,te,J,15,p[54]),te=T(te,se,re,G,H,21,p[55]),G=T(G,te,se,re,W,6,p[56]),re=T(re,G,te,se,Z,10,p[57]),se=T(se,re,G,te,I,15,p[58]),te=T(te,se,re,G,V,21,p[59]),G=T(G,te,se,re,Q,6,p[60]),re=T(re,G,te,se,K,10,p[61]),se=T(se,re,G,te,L,15,p[62]),te=T(te,se,re,G,ne,21,p[63]),F[0]=F[0]+G|0,F[1]=F[1]+te|0,F[2]=F[2]+se|0,F[3]=F[3]+re|0},_doFinalize:function(){var k=this._data,O=k.words,M=this._nDataBytes*8,B=k.sigBytes*8;O[B>>>5]|=128<<24-B%32;var A=s.floor(M/4294967296),F=M;O[(B+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,O[(B+64>>>9<<4)+14]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,k.sigBytes=(O.length+1)*4,this._process();for(var N=this._hash,H=N.words,L=0;L<4;L++){var Y=H[L];H[L]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360}return N},clone:function(){var k=g.clone.call(this);return k._hash=this._hash.clone(),k}});function w(k,O,M,B,A,F,N){var H=k+(O&M|~O&B)+A+N;return(H<<F|H>>>32-F)+O}function C(k,O,M,B,A,F,N){var H=k+(O&B|M&~B)+A+N;return(H<<F|H>>>32-F)+O}function E(k,O,M,B,A,F,N){var H=k+(O^M^B)+A+N;return(H<<F|H>>>32-F)+O}function T(k,O,M,B,A,F,N){var H=k+(M^(O|~B))+A+N;return(H<<F|H>>>32-F)+O}d.MD5=g._createHelper(x),d.HmacMD5=g._createHmacHelper(x)}(Math),a.MD5})}(Og)),Og.exports}var Bg={exports:{}},u4;function s4(){return u4||(u4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=d.Hasher,g=s.algo,_=[],p=g.SHA1=h.extend({_doReset:function(){this._hash=new v.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(x,w){for(var C=this._hash.words,E=C[0],T=C[1],k=C[2],O=C[3],M=C[4],B=0;B<80;B++){if(B<16)_[B]=x[w+B]|0;else{var A=_[B-3]^_[B-8]^_[B-14]^_[B-16];_[B]=A<<1|A>>>31}var F=(E<<5|E>>>27)+M+_[B];B<20?F+=(T&k|~T&O)+1518500249:B<40?F+=(T^k^O)+1859775393:B<60?F+=(T&k|T&O|k&O)-1894007588:F+=(T^k^O)-899497514,M=O,O=k,k=T<<30|T>>>2,T=E,E=F}C[0]=C[0]+E|0,C[1]=C[1]+T|0,C[2]=C[2]+k|0,C[3]=C[3]+O|0,C[4]=C[4]+M|0},_doFinalize:function(){var x=this._data,w=x.words,C=this._nDataBytes*8,E=x.sigBytes*8;return w[E>>>5]|=128<<24-E%32,w[(E+64>>>9<<4)+14]=Math.floor(C/4294967296),w[(E+64>>>9<<4)+15]=C,x.sigBytes=w.length*4,this._process(),this._hash},clone:function(){var x=h.clone.call(this);return x._hash=this._hash.clone(),x}});s.SHA1=h._createHelper(p),s.HmacSHA1=h._createHmacHelper(p)}(),a.SHA1})}(Bg)),Bg.exports}var Fg={exports:{}},c4;function zg(){return c4||(c4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.WordArray,g=v.Hasher,_=d.algo,p=[],x=[];(function(){function E(M){for(var B=s.sqrt(M),A=2;A<=B;A++)if(!(M%A))return!1;return!0}function T(M){return(M-(M|0))*4294967296|0}for(var k=2,O=0;O<64;)E(k)&&(O<8&&(p[O]=T(s.pow(k,1/2))),x[O]=T(s.pow(k,1/3)),O++),k++})();var w=[],C=_.SHA256=g.extend({_doReset:function(){this._hash=new h.init(p.slice(0))},_doProcessBlock:function(E,T){for(var k=this._hash.words,O=k[0],M=k[1],B=k[2],A=k[3],F=k[4],N=k[5],H=k[6],L=k[7],Y=0;Y<64;Y++){if(Y<16)w[Y]=E[T+Y]|0;else{var Q=w[Y-15],P=(Q<<25|Q>>>7)^(Q<<14|Q>>>18)^Q>>>3,I=w[Y-2],$=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;w[Y]=P+w[Y-7]+$+w[Y-16]}var W=F&N^~F&H,ne=O&M^O&B^M&B,J=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),K=(F<<26|F>>>6)^(F<<21|F>>>11)^(F<<7|F>>>25),ce=L+K+W+x[Y]+w[Y],V=J+ne;L=H,H=N,N=F,F=A+ce|0,A=B,B=M,M=O,O=ce+V|0}k[0]=k[0]+O|0,k[1]=k[1]+M|0,k[2]=k[2]+B|0,k[3]=k[3]+A|0,k[4]=k[4]+F|0,k[5]=k[5]+N|0,k[6]=k[6]+H|0,k[7]=k[7]+L|0},_doFinalize:function(){var E=this._data,T=E.words,k=this._nDataBytes*8,O=E.sigBytes*8;return T[O>>>5]|=128<<24-O%32,T[(O+64>>>9<<4)+14]=s.floor(k/4294967296),T[(O+64>>>9<<4)+15]=k,E.sigBytes=T.length*4,this._process(),this._hash},clone:function(){var E=g.clone.call(this);return E._hash=this._hash.clone(),E}});d.SHA256=g._createHelper(C),d.HmacSHA256=g._createHmacHelper(C)}(Math),a.SHA256})}(Fg)),Fg.exports}var Mg={exports:{}},f4;function D7(){return f4||(f4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),zg())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=s.algo,g=h.SHA256,_=h.SHA224=g.extend({_doReset:function(){this._hash=new v.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var p=g._doFinalize.call(this);return p.sigBytes-=4,p}});s.SHA224=g._createHelper(_),s.HmacSHA224=g._createHmacHelper(_)}(),a.SHA224})}(Mg)),Mg.exports}var Ng={exports:{}},d4;function p4(){return d4||(d4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),iv())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.Hasher,h=s.x64,g=h.Word,_=h.WordArray,p=s.algo;function x(){return g.create.apply(g,arguments)}var w=[x(1116352408,3609767458),x(1899447441,602891725),x(3049323471,3964484399),x(3921009573,2173295548),x(961987163,4081628472),x(1508970993,3053834265),x(2453635748,2937671579),x(2870763221,3664609560),x(3624381080,2734883394),x(310598401,1164996542),x(607225278,1323610764),x(1426881987,3590304994),x(1925078388,4068182383),x(2162078206,991336113),x(2614888103,633803317),x(3248222580,3479774868),x(3835390401,2666613458),x(4022224774,944711139),x(264347078,2341262773),x(604807628,2007800933),x(770255983,1495990901),x(1249150122,1856431235),x(1555081692,3175218132),x(1996064986,2198950837),x(2554220882,3999719339),x(2821834349,766784016),x(2952996808,2566594879),x(3210313671,3203337956),x(3336571891,1034457026),x(3584528711,2466948901),x(113926993,3758326383),x(338241895,168717936),x(666307205,1188179964),x(773529912,1546045734),x(1294757372,1522805485),x(1396182291,2643833823),x(1695183700,2343527390),x(1986661051,1014477480),x(2177026350,1206759142),x(2456956037,344077627),x(2730485921,1290863460),x(2820302411,3158454273),x(3259730800,3505952657),x(3345764771,106217008),x(3516065817,3606008344),x(3600352804,1432725776),x(4094571909,1467031594),x(275423344,851169720),x(430227734,3100823752),x(506948616,1363258195),x(659060556,3750685593),x(883997877,3785050280),x(958139571,3318307427),x(1322822218,3812723403),x(1537002063,2003034995),x(1747873779,3602036899),x(1955562222,1575990012),x(2024104815,1125592928),x(2227730452,2716904306),x(2361852424,442776044),x(2428436474,593698344),x(2756734187,3733110249),x(3204031479,2999351573),x(3329325298,3815920427),x(3391569614,3928383900),x(3515267271,566280711),x(3940187606,3454069534),x(4118630271,4000239992),x(116418474,1914138554),x(174292421,2731055270),x(289380356,3203993006),x(460393269,320620315),x(685471733,587496836),x(852142971,1086792851),x(1017036298,365543100),x(1126000580,2618297676),x(1288033470,3409855158),x(1501505948,4234509866),x(1607167915,987167468),x(1816402316,1246189591)],C=[];(function(){for(var T=0;T<80;T++)C[T]=x()})();var E=p.SHA512=v.extend({_doReset:function(){this._hash=new _.init([new g.init(1779033703,4089235720),new g.init(3144134277,2227873595),new g.init(1013904242,4271175723),new g.init(2773480762,1595750129),new g.init(1359893119,2917565137),new g.init(2600822924,725511199),new g.init(528734635,4215389547),new g.init(1541459225,327033209)])},_doProcessBlock:function(T,k){for(var O=this._hash.words,M=O[0],B=O[1],A=O[2],F=O[3],N=O[4],H=O[5],L=O[6],Y=O[7],Q=M.high,P=M.low,I=B.high,$=B.low,W=A.high,ne=A.low,J=F.high,K=F.low,ce=N.high,V=N.low,ue=H.high,Z=H.low,G=L.high,te=L.low,se=Y.high,re=Y.low,xe=Q,be=P,Be=I,Se=$,Ie=W,Ne=ne,ct=J,Fe=K,ft=ce,wt=V,ln=ue,Bt=Z,wn=G,Pn=te,nr=se,rr=re,gn=0;gn<80;gn++){var Wt,dn,ar=C[gn];if(gn<16)dn=ar.high=T[k+gn*2]|0,Wt=ar.low=T[k+gn*2+1]|0;else{var Wn=C[gn-15],Mn=Wn.high,Zt=Wn.low,jn=(Mn>>>1|Zt<<31)^(Mn>>>8|Zt<<24)^Mn>>>7,li=(Zt>>>1|Mn<<31)^(Zt>>>8|Mn<<24)^(Zt>>>7|Mn<<25),ea=C[gn-2],Ue=ea.high,Je=ea.low,St=(Ue>>>19|Je<<13)^(Ue<<3|Je>>>29)^Ue>>>6,Pt=(Je>>>19|Ue<<13)^(Je<<3|Ue>>>29)^(Je>>>6|Ue<<26),fn=C[gn-7],In=fn.high,Dn=fn.low,vr=C[gn-16],tn=vr.high,Or=vr.low;Wt=li+Dn,dn=jn+In+(Wt>>>0<li>>>0?1:0),Wt=Wt+Pt,dn=dn+St+(Wt>>>0<Pt>>>0?1:0),Wt=Wt+Or,dn=dn+tn+(Wt>>>0<Or>>>0?1:0),ar.high=dn,ar.low=Wt}var Kt=ft&ln^~ft&wn,Qt=wt&Bt^~wt&Pn,wo=xe&Be^xe&Ie^Be&Ie,Li=be&Se^be&Ne^Se&Ne,Do=(xe>>>28|be<<4)^(xe<<30|be>>>2)^(xe<<25|be>>>7),To=(be>>>28|xe<<4)^(be<<30|xe>>>2)^(be<<25|xe>>>7),pu=(ft>>>14|wt<<18)^(ft>>>18|wt<<14)^(ft<<23|wt>>>9),Ui=(wt>>>14|ft<<18)^(wt>>>18|ft<<14)^(wt<<23|ft>>>9),Hi=w[gn],Pi=Hi.high,ji=Hi.low,xn=rr+Ui,mr=nr+pu+(xn>>>0<rr>>>0?1:0),xn=xn+Qt,mr=mr+Kt+(xn>>>0<Qt>>>0?1:0),xn=xn+ji,mr=mr+Pi+(xn>>>0<ji>>>0?1:0),xn=xn+Wt,mr=mr+dn+(xn>>>0<Wt>>>0?1:0),Br=To+Li,_a=Do+wo+(Br>>>0<To>>>0?1:0);nr=wn,rr=Pn,wn=ln,Pn=Bt,ln=ft,Bt=wt,wt=Fe+xn|0,ft=ct+mr+(wt>>>0<Fe>>>0?1:0)|0,ct=Ie,Fe=Ne,Ie=Be,Ne=Se,Be=xe,Se=be,be=xn+Br|0,xe=mr+_a+(be>>>0<xn>>>0?1:0)|0}P=M.low=P+be,M.high=Q+xe+(P>>>0<be>>>0?1:0),$=B.low=$+Se,B.high=I+Be+($>>>0<Se>>>0?1:0),ne=A.low=ne+Ne,A.high=W+Ie+(ne>>>0<Ne>>>0?1:0),K=F.low=K+Fe,F.high=J+ct+(K>>>0<Fe>>>0?1:0),V=N.low=V+wt,N.high=ce+ft+(V>>>0<wt>>>0?1:0),Z=H.low=Z+Bt,H.high=ue+ln+(Z>>>0<Bt>>>0?1:0),te=L.low=te+Pn,L.high=G+wn+(te>>>0<Pn>>>0?1:0),re=Y.low=re+rr,Y.high=se+nr+(re>>>0<rr>>>0?1:0)},_doFinalize:function(){var T=this._data,k=T.words,O=this._nDataBytes*8,M=T.sigBytes*8;k[M>>>5]|=128<<24-M%32,k[(M+128>>>10<<5)+30]=Math.floor(O/4294967296),k[(M+128>>>10<<5)+31]=O,T.sigBytes=k.length*4,this._process();var B=this._hash.toX32();return B},clone:function(){var T=v.clone.call(this);return T._hash=this._hash.clone(),T},blockSize:1024/32});s.SHA512=v._createHelper(E),s.HmacSHA512=v._createHmacHelper(E)}(),a.SHA512})}(Ng)),Ng.exports}var Lg={exports:{}},h4;function T7(){return h4||(h4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),iv(),p4())})(Dt,function(a){return function(){var s=a,d=s.x64,v=d.Word,h=d.WordArray,g=s.algo,_=g.SHA512,p=g.SHA384=_.extend({_doReset:function(){this._hash=new h.init([new v.init(3418070365,3238371032),new v.init(1654270250,914150663),new v.init(2438529370,812702999),new v.init(355462360,4144912697),new v.init(1731405415,4290775857),new v.init(2394180231,1750603025),new v.init(3675008525,1694076839),new v.init(1203062813,3204075428)])},_doFinalize:function(){var x=_._doFinalize.call(this);return x.sigBytes-=16,x}});s.SHA384=_._createHelper(p),s.HmacSHA384=_._createHmacHelper(p)}(),a.SHA384})}(Lg)),Lg.exports}var Ug={exports:{}},v4;function A7(){return v4||(v4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),iv())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.WordArray,g=v.Hasher,_=d.x64,p=_.Word,x=d.algo,w=[],C=[],E=[];(function(){for(var O=1,M=0,B=0;B<24;B++){w[O+5*M]=(B+1)*(B+2)/2%64;var A=M%5,F=(2*O+3*M)%5;O=A,M=F}for(var O=0;O<5;O++)for(var M=0;M<5;M++)C[O+5*M]=M+(2*O+3*M)%5*5;for(var N=1,H=0;H<24;H++){for(var L=0,Y=0,Q=0;Q<7;Q++){if(N&1){var P=(1<<Q)-1;P<32?Y^=1<<P:L^=1<<P-32}N&128?N=N<<1^113:N<<=1}E[H]=p.create(L,Y)}})();var T=[];(function(){for(var O=0;O<25;O++)T[O]=p.create()})();var k=x.SHA3=g.extend({cfg:g.cfg.extend({outputLength:512}),_doReset:function(){for(var O=this._state=[],M=0;M<25;M++)O[M]=new p.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(O,M){for(var B=this._state,A=this.blockSize/2,F=0;F<A;F++){var N=O[M+2*F],H=O[M+2*F+1];N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,H=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360;var L=B[F];L.high^=H,L.low^=N}for(var Y=0;Y<24;Y++){for(var Q=0;Q<5;Q++){for(var P=0,I=0,$=0;$<5;$++){var L=B[Q+5*$];P^=L.high,I^=L.low}var W=T[Q];W.high=P,W.low=I}for(var Q=0;Q<5;Q++)for(var ne=T[(Q+4)%5],J=T[(Q+1)%5],K=J.high,ce=J.low,P=ne.high^(K<<1|ce>>>31),I=ne.low^(ce<<1|K>>>31),$=0;$<5;$++){var L=B[Q+5*$];L.high^=P,L.low^=I}for(var V=1;V<25;V++){var P,I,L=B[V],ue=L.high,Z=L.low,G=w[V];G<32?(P=ue<<G|Z>>>32-G,I=Z<<G|ue>>>32-G):(P=Z<<G-32|ue>>>64-G,I=ue<<G-32|Z>>>64-G);var te=T[C[V]];te.high=P,te.low=I}var se=T[0],re=B[0];se.high=re.high,se.low=re.low;for(var Q=0;Q<5;Q++)for(var $=0;$<5;$++){var V=Q+5*$,L=B[V],xe=T[V],be=T[(Q+1)%5+5*$],Be=T[(Q+2)%5+5*$];L.high=xe.high^~be.high&Be.high,L.low=xe.low^~be.low&Be.low}var L=B[0],Se=E[Y];L.high^=Se.high,L.low^=Se.low}},_doFinalize:function(){var O=this._data,M=O.words;this._nDataBytes*8;var B=O.sigBytes*8,A=this.blockSize*32;M[B>>>5]|=1<<24-B%32,M[(s.ceil((B+1)/A)*A>>>5)-1]|=128,O.sigBytes=M.length*4,this._process();for(var F=this._state,N=this.cfg.outputLength/8,H=N/8,L=[],Y=0;Y<H;Y++){var Q=F[Y],P=Q.high,I=Q.low;P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,L.push(I),L.push(P)}return new h.init(L,N)},clone:function(){for(var O=g.clone.call(this),M=O._state=this._state.slice(0),B=0;B<25;B++)M[B]=M[B].clone();return O}});d.SHA3=g._createHelper(k),d.HmacSHA3=g._createHmacHelper(k)}(Math),a.SHA3})}(Ug)),Ug.exports}var Hg={exports:{}},m4;function R7(){return m4||(m4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.WordArray,g=v.Hasher,_=d.algo,p=h.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),x=h.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),w=h.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),C=h.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),E=h.create([0,1518500249,1859775393,2400959708,2840853838]),T=h.create([1352829926,1548603684,1836072691,2053994217,0]),k=_.RIPEMD160=g.extend({_doReset:function(){this._hash=h.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(H,L){for(var Y=0;Y<16;Y++){var Q=L+Y,P=H[Q];H[Q]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360}var I=this._hash.words,$=E.words,W=T.words,ne=p.words,J=x.words,K=w.words,ce=C.words,V,ue,Z,G,te,se,re,xe,be,Be;se=V=I[0],re=ue=I[1],xe=Z=I[2],be=G=I[3],Be=te=I[4];for(var Se,Y=0;Y<80;Y+=1)Se=V+H[L+ne[Y]]|0,Y<16?Se+=O(ue,Z,G)+$[0]:Y<32?Se+=M(ue,Z,G)+$[1]:Y<48?Se+=B(ue,Z,G)+$[2]:Y<64?Se+=A(ue,Z,G)+$[3]:Se+=F(ue,Z,G)+$[4],Se=Se|0,Se=N(Se,K[Y]),Se=Se+te|0,V=te,te=G,G=N(Z,10),Z=ue,ue=Se,Se=se+H[L+J[Y]]|0,Y<16?Se+=F(re,xe,be)+W[0]:Y<32?Se+=A(re,xe,be)+W[1]:Y<48?Se+=B(re,xe,be)+W[2]:Y<64?Se+=M(re,xe,be)+W[3]:Se+=O(re,xe,be)+W[4],Se=Se|0,Se=N(Se,ce[Y]),Se=Se+Be|0,se=Be,Be=be,be=N(xe,10),xe=re,re=Se;Se=I[1]+Z+be|0,I[1]=I[2]+G+Be|0,I[2]=I[3]+te+se|0,I[3]=I[4]+V+re|0,I[4]=I[0]+ue+xe|0,I[0]=Se},_doFinalize:function(){var H=this._data,L=H.words,Y=this._nDataBytes*8,Q=H.sigBytes*8;L[Q>>>5]|=128<<24-Q%32,L[(Q+64>>>9<<4)+14]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360,H.sigBytes=(L.length+1)*4,this._process();for(var P=this._hash,I=P.words,$=0;$<5;$++){var W=I[$];I[$]=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360}return P},clone:function(){var H=g.clone.call(this);return H._hash=this._hash.clone(),H}});function O(H,L,Y){return H^L^Y}function M(H,L,Y){return H&L|~H&Y}function B(H,L,Y){return(H|~L)^Y}function A(H,L,Y){return H&Y|L&~Y}function F(H,L,Y){return H^(L|~Y)}function N(H,L){return H<<L|H>>>32-L}d.RIPEMD160=g._createHelper(k),d.HmacRIPEMD160=g._createHmacHelper(k)}(),a.RIPEMD160})}(Hg)),Hg.exports}var Pg={exports:{}},y4;function jg(){return y4||(y4=1,function(n,l){(function(a,s){n.exports=s(Lt())})(Dt,function(a){(function(){var s=a,d=s.lib,v=d.Base,h=s.enc,g=h.Utf8,_=s.algo;_.HMAC=v.extend({init:function(p,x){p=this._hasher=new p.init,typeof x=="string"&&(x=g.parse(x));var w=p.blockSize,C=w*4;x.sigBytes>C&&(x=p.finalize(x)),x.clamp();for(var E=this._oKey=x.clone(),T=this._iKey=x.clone(),k=E.words,O=T.words,M=0;M<w;M++)k[M]^=1549556828,O[M]^=909522486;E.sigBytes=T.sigBytes=C,this.reset()},reset:function(){var p=this._hasher;p.reset(),p.update(this._iKey)},update:function(p){return this._hasher.update(p),this},finalize:function(p){var x=this._hasher,w=x.finalize(p);x.reset();var C=x.finalize(this._oKey.clone().concat(w));return C}})})()})}(Pg)),Pg.exports}var Ig={exports:{}},g4;function k7(){return g4||(g4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),zg(),jg())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.Base,h=d.WordArray,g=s.algo,_=g.SHA256,p=g.HMAC,x=g.PBKDF2=v.extend({cfg:v.extend({keySize:128/32,hasher:_,iterations:25e4}),init:function(w){this.cfg=this.cfg.extend(w)},compute:function(w,C){for(var E=this.cfg,T=p.create(E.hasher,w),k=h.create(),O=h.create([1]),M=k.words,B=O.words,A=E.keySize,F=E.iterations;M.length<A;){var N=T.update(C).finalize(O);T.reset();for(var H=N.words,L=H.length,Y=N,Q=1;Q<F;Q++){Y=T.finalize(Y),T.reset();for(var P=Y.words,I=0;I<L;I++)H[I]^=P[I]}k.concat(N),B[0]++}return k.sigBytes=A*4,k}});s.PBKDF2=function(w,C,E){return x.create(E).compute(w,C)}}(),a.PBKDF2})}(Ig)),Ig.exports}var $g={exports:{}},x4;function du(){return x4||(x4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),s4(),jg())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.Base,h=d.WordArray,g=s.algo,_=g.MD5,p=g.EvpKDF=v.extend({cfg:v.extend({keySize:128/32,hasher:_,iterations:1}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,w){for(var C,E=this.cfg,T=E.hasher.create(),k=h.create(),O=k.words,M=E.keySize,B=E.iterations;O.length<M;){C&&T.update(C),C=T.update(x).finalize(w),T.reset();for(var A=1;A<B;A++)C=T.finalize(C),T.reset();k.concat(C)}return k.sigBytes=M*4,k}});s.EvpKDF=function(x,w,C){return p.create(C).compute(x,w)}}(),a.EvpKDF})}($g)),$g.exports}var Vg={exports:{}},_4;function kr(){return _4||(_4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),du())})(Dt,function(a){a.lib.Cipher||function(s){var d=a,v=d.lib,h=v.Base,g=v.WordArray,_=v.BufferedBlockAlgorithm,p=d.enc;p.Utf8;var x=p.Base64,w=d.algo,C=w.EvpKDF,E=v.Cipher=_.extend({cfg:h.extend(),createEncryptor:function(P,I){return this.create(this._ENC_XFORM_MODE,P,I)},createDecryptor:function(P,I){return this.create(this._DEC_XFORM_MODE,P,I)},init:function(P,I,$){this.cfg=this.cfg.extend($),this._xformMode=P,this._key=I,this.reset()},reset:function(){_.reset.call(this),this._doReset()},process:function(P){return this._append(P),this._process()},finalize:function(P){P&&this._append(P);var I=this._doFinalize();return I},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function P(I){return typeof I=="string"?Q:H}return function(I){return{encrypt:function($,W,ne){return P(W).encrypt(I,$,W,ne)},decrypt:function($,W,ne){return P(W).decrypt(I,$,W,ne)}}}}()});v.StreamCipher=E.extend({_doFinalize:function(){var P=this._process(!0);return P},blockSize:1});var T=d.mode={},k=v.BlockCipherMode=h.extend({createEncryptor:function(P,I){return this.Encryptor.create(P,I)},createDecryptor:function(P,I){return this.Decryptor.create(P,I)},init:function(P,I){this._cipher=P,this._iv=I}}),O=T.CBC=function(){var P=k.extend();P.Encryptor=P.extend({processBlock:function($,W){var ne=this._cipher,J=ne.blockSize;I.call(this,$,W,J),ne.encryptBlock($,W),this._prevBlock=$.slice(W,W+J)}}),P.Decryptor=P.extend({processBlock:function($,W){var ne=this._cipher,J=ne.blockSize,K=$.slice(W,W+J);ne.decryptBlock($,W),I.call(this,$,W,J),this._prevBlock=K}});function I($,W,ne){var J,K=this._iv;K?(J=K,this._iv=s):J=this._prevBlock;for(var ce=0;ce<ne;ce++)$[W+ce]^=J[ce]}return P}(),M=d.pad={},B=M.Pkcs7={pad:function(P,I){for(var $=I*4,W=$-P.sigBytes%$,ne=W<<24|W<<16|W<<8|W,J=[],K=0;K<W;K+=4)J.push(ne);var ce=g.create(J,W);P.concat(ce)},unpad:function(P){var I=P.words[P.sigBytes-1>>>2]&255;P.sigBytes-=I}};v.BlockCipher=E.extend({cfg:E.cfg.extend({mode:O,padding:B}),reset:function(){var P;E.reset.call(this);var I=this.cfg,$=I.iv,W=I.mode;this._xformMode==this._ENC_XFORM_MODE?P=W.createEncryptor:(P=W.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==P?this._mode.init(this,$&&$.words):(this._mode=P.call(W,this,$&&$.words),this._mode.__creator=P)},_doProcessBlock:function(P,I){this._mode.processBlock(P,I)},_doFinalize:function(){var P,I=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(I.pad(this._data,this.blockSize),P=this._process(!0)):(P=this._process(!0),I.unpad(P)),P},blockSize:128/32});var A=v.CipherParams=h.extend({init:function(P){this.mixIn(P)},toString:function(P){return(P||this.formatter).stringify(this)}}),F=d.format={},N=F.OpenSSL={stringify:function(P){var I,$=P.ciphertext,W=P.salt;return W?I=g.create([1398893684,1701076831]).concat(W).concat($):I=$,I.toString(x)},parse:function(P){var I,$=x.parse(P),W=$.words;return W[0]==1398893684&&W[1]==1701076831&&(I=g.create(W.slice(2,4)),W.splice(0,4),$.sigBytes-=16),A.create({ciphertext:$,salt:I})}},H=v.SerializableCipher=h.extend({cfg:h.extend({format:N}),encrypt:function(P,I,$,W){W=this.cfg.extend(W);var ne=P.createEncryptor($,W),J=ne.finalize(I),K=ne.cfg;return A.create({ciphertext:J,key:$,iv:K.iv,algorithm:P,mode:K.mode,padding:K.padding,blockSize:P.blockSize,formatter:W.format})},decrypt:function(P,I,$,W){W=this.cfg.extend(W),I=this._parse(I,W.format);var ne=P.createDecryptor($,W).finalize(I.ciphertext);return ne},_parse:function(P,I){return typeof P=="string"?I.parse(P,this):P}}),L=d.kdf={},Y=L.OpenSSL={execute:function(P,I,$,W,ne){if(W||(W=g.random(64/8)),ne)var J=C.create({keySize:I+$,hasher:ne}).compute(P,W);else var J=C.create({keySize:I+$}).compute(P,W);var K=g.create(J.words.slice(I),$*4);return J.sigBytes=I*4,A.create({key:J,iv:K,salt:W})}},Q=v.PasswordBasedCipher=H.extend({cfg:H.cfg.extend({kdf:Y}),encrypt:function(P,I,$,W){W=this.cfg.extend(W);var ne=W.kdf.execute($,P.keySize,P.ivSize,W.salt,W.hasher);W.iv=ne.iv;var J=H.encrypt.call(this,P,I,ne.key,W);return J.mixIn(ne),J},decrypt:function(P,I,$,W){W=this.cfg.extend(W),I=this._parse(I,W.format);var ne=W.kdf.execute($,P.keySize,P.ivSize,I.salt,W.hasher);W.iv=ne.iv;var J=H.decrypt.call(this,P,I,ne.key,W);return J}})}()})}(Vg)),Vg.exports}var Yg={exports:{}},C4;function O7(){return C4||(C4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.CFB=function(){var s=a.lib.BlockCipherMode.extend();s.Encryptor=s.extend({processBlock:function(v,h){var g=this._cipher,_=g.blockSize;d.call(this,v,h,_,g),this._prevBlock=v.slice(h,h+_)}}),s.Decryptor=s.extend({processBlock:function(v,h){var g=this._cipher,_=g.blockSize,p=v.slice(h,h+_);d.call(this,v,h,_,g),this._prevBlock=p}});function d(v,h,g,_){var p,x=this._iv;x?(p=x.slice(0),this._iv=void 0):p=this._prevBlock,_.encryptBlock(p,0);for(var w=0;w<g;w++)v[h+w]^=p[w]}return s}(),a.mode.CFB})}(Yg)),Yg.exports}var qg={exports:{}},S4;function B7(){return S4||(S4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.CTR=function(){var s=a.lib.BlockCipherMode.extend(),d=s.Encryptor=s.extend({processBlock:function(v,h){var g=this._cipher,_=g.blockSize,p=this._iv,x=this._counter;p&&(x=this._counter=p.slice(0),this._iv=void 0);var w=x.slice(0);g.encryptBlock(w,0),x[_-1]=x[_-1]+1|0;for(var C=0;C<_;C++)v[h+C]^=w[C]}});return s.Decryptor=d,s}(),a.mode.CTR})}(qg)),qg.exports}var Gg={exports:{}},E4;function F7(){return E4||(E4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.CTRGladman=function(){var s=a.lib.BlockCipherMode.extend();function d(g){if((g>>24&255)===255){var _=g>>16&255,p=g>>8&255,x=g&255;_===255?(_=0,p===255?(p=0,x===255?x=0:++x):++p):++_,g=0,g+=_<<16,g+=p<<8,g+=x}else g+=1<<24;return g}function v(g){return(g[0]=d(g[0]))===0&&(g[1]=d(g[1])),g}var h=s.Encryptor=s.extend({processBlock:function(g,_){var p=this._cipher,x=p.blockSize,w=this._iv,C=this._counter;w&&(C=this._counter=w.slice(0),this._iv=void 0),v(C);var E=C.slice(0);p.encryptBlock(E,0);for(var T=0;T<x;T++)g[_+T]^=E[T]}});return s.Decryptor=h,s}(),a.mode.CTRGladman})}(Gg)),Gg.exports}var Wg={exports:{}},b4;function z7(){return b4||(b4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.OFB=function(){var s=a.lib.BlockCipherMode.extend(),d=s.Encryptor=s.extend({processBlock:function(v,h){var g=this._cipher,_=g.blockSize,p=this._iv,x=this._keystream;p&&(x=this._keystream=p.slice(0),this._iv=void 0),g.encryptBlock(x,0);for(var w=0;w<_;w++)v[h+w]^=x[w]}});return s.Decryptor=d,s}(),a.mode.OFB})}(Wg)),Wg.exports}var Zg={exports:{}},w4;function M7(){return w4||(w4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.mode.ECB=function(){var s=a.lib.BlockCipherMode.extend();return s.Encryptor=s.extend({processBlock:function(d,v){this._cipher.encryptBlock(d,v)}}),s.Decryptor=s.extend({processBlock:function(d,v){this._cipher.decryptBlock(d,v)}}),s}(),a.mode.ECB})}(Zg)),Zg.exports}var Kg={exports:{}},D4;function N7(){return D4||(D4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.AnsiX923={pad:function(s,d){var v=s.sigBytes,h=d*4,g=h-v%h,_=v+g-1;s.clamp(),s.words[_>>>2]|=g<<24-_%4*8,s.sigBytes+=g},unpad:function(s){var d=s.words[s.sigBytes-1>>>2]&255;s.sigBytes-=d}},a.pad.Ansix923})}(Kg)),Kg.exports}var Qg={exports:{}},T4;function L7(){return T4||(T4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.Iso10126={pad:function(s,d){var v=d*4,h=v-s.sigBytes%v;s.concat(a.lib.WordArray.random(h-1)).concat(a.lib.WordArray.create([h<<24],1))},unpad:function(s){var d=s.words[s.sigBytes-1>>>2]&255;s.sigBytes-=d}},a.pad.Iso10126})}(Qg)),Qg.exports}var Xg={exports:{}},A4;function U7(){return A4||(A4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.Iso97971={pad:function(s,d){s.concat(a.lib.WordArray.create([2147483648],1)),a.pad.ZeroPadding.pad(s,d)},unpad:function(s){a.pad.ZeroPadding.unpad(s),s.sigBytes--}},a.pad.Iso97971})}(Xg)),Xg.exports}var Jg={exports:{}},R4;function H7(){return R4||(R4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.ZeroPadding={pad:function(s,d){var v=d*4;s.clamp(),s.sigBytes+=v-(s.sigBytes%v||v)},unpad:function(s){for(var d=s.words,v=s.sigBytes-1,v=s.sigBytes-1;v>=0;v--)if(d[v>>>2]>>>24-v%4*8&255){s.sigBytes=v+1;break}}},a.pad.ZeroPadding})}(Jg)),Jg.exports}var ex={exports:{}},k4;function P7(){return k4||(k4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return a.pad.NoPadding={pad:function(){},unpad:function(){}},a.pad.NoPadding})}(ex)),ex.exports}var tx={exports:{}},O4;function j7(){return O4||(O4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),kr())})(Dt,function(a){return function(s){var d=a,v=d.lib,h=v.CipherParams,g=d.enc,_=g.Hex,p=d.format;p.Hex={stringify:function(x){return x.ciphertext.toString(_)},parse:function(x){var w=_.parse(x);return h.create({ciphertext:w})}}}(),a.format.Hex})}(tx)),tx.exports}var nx={exports:{}},B4;function I7(){return B4||(B4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.BlockCipher,h=s.algo,g=[],_=[],p=[],x=[],w=[],C=[],E=[],T=[],k=[],O=[];(function(){for(var A=[],F=0;F<256;F++)F<128?A[F]=F<<1:A[F]=F<<1^283;for(var N=0,H=0,F=0;F<256;F++){var L=H^H<<1^H<<2^H<<3^H<<4;L=L>>>8^L&255^99,g[N]=L,_[L]=N;var Y=A[N],Q=A[Y],P=A[Q],I=A[L]*257^L*16843008;p[N]=I<<24|I>>>8,x[N]=I<<16|I>>>16,w[N]=I<<8|I>>>24,C[N]=I;var I=P*16843009^Q*65537^Y*257^N*16843008;E[L]=I<<24|I>>>8,T[L]=I<<16|I>>>16,k[L]=I<<8|I>>>24,O[L]=I,N?(N=Y^A[A[A[P^Y]]],H^=A[A[H]]):N=H=1}})();var M=[0,1,2,4,8,16,32,64,128,27,54],B=h.AES=v.extend({_doReset:function(){var A;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var F=this._keyPriorReset=this._key,N=F.words,H=F.sigBytes/4,L=this._nRounds=H+6,Y=(L+1)*4,Q=this._keySchedule=[],P=0;P<Y;P++)P<H?Q[P]=N[P]:(A=Q[P-1],P%H?H>6&&P%H==4&&(A=g[A>>>24]<<24|g[A>>>16&255]<<16|g[A>>>8&255]<<8|g[A&255]):(A=A<<8|A>>>24,A=g[A>>>24]<<24|g[A>>>16&255]<<16|g[A>>>8&255]<<8|g[A&255],A^=M[P/H|0]<<24),Q[P]=Q[P-H]^A);for(var I=this._invKeySchedule=[],$=0;$<Y;$++){var P=Y-$;if($%4)var A=Q[P];else var A=Q[P-4];$<4||P<=4?I[$]=A:I[$]=E[g[A>>>24]]^T[g[A>>>16&255]]^k[g[A>>>8&255]]^O[g[A&255]]}}},encryptBlock:function(A,F){this._doCryptBlock(A,F,this._keySchedule,p,x,w,C,g)},decryptBlock:function(A,F){var N=A[F+1];A[F+1]=A[F+3],A[F+3]=N,this._doCryptBlock(A,F,this._invKeySchedule,E,T,k,O,_);var N=A[F+1];A[F+1]=A[F+3],A[F+3]=N},_doCryptBlock:function(A,F,N,H,L,Y,Q,P){for(var I=this._nRounds,$=A[F]^N[0],W=A[F+1]^N[1],ne=A[F+2]^N[2],J=A[F+3]^N[3],K=4,ce=1;ce<I;ce++){var V=H[$>>>24]^L[W>>>16&255]^Y[ne>>>8&255]^Q[J&255]^N[K++],ue=H[W>>>24]^L[ne>>>16&255]^Y[J>>>8&255]^Q[$&255]^N[K++],Z=H[ne>>>24]^L[J>>>16&255]^Y[$>>>8&255]^Q[W&255]^N[K++],G=H[J>>>24]^L[$>>>16&255]^Y[W>>>8&255]^Q[ne&255]^N[K++];$=V,W=ue,ne=Z,J=G}var V=(P[$>>>24]<<24|P[W>>>16&255]<<16|P[ne>>>8&255]<<8|P[J&255])^N[K++],ue=(P[W>>>24]<<24|P[ne>>>16&255]<<16|P[J>>>8&255]<<8|P[$&255])^N[K++],Z=(P[ne>>>24]<<24|P[J>>>16&255]<<16|P[$>>>8&255]<<8|P[W&255])^N[K++],G=(P[J>>>24]<<24|P[$>>>16&255]<<16|P[W>>>8&255]<<8|P[ne&255])^N[K++];A[F]=V,A[F+1]=ue,A[F+2]=Z,A[F+3]=G},keySize:256/32});s.AES=v._createHelper(B)}(),a.AES})}(nx)),nx.exports}var rx={exports:{}},F4;function $7(){return F4||(F4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.WordArray,h=d.BlockCipher,g=s.algo,_=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],p=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],x=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],w=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],C=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],E=g.DES=h.extend({_doReset:function(){for(var M=this._key,B=M.words,A=[],F=0;F<56;F++){var N=_[F]-1;A[F]=B[N>>>5]>>>31-N%32&1}for(var H=this._subKeys=[],L=0;L<16;L++){for(var Y=H[L]=[],Q=x[L],F=0;F<24;F++)Y[F/6|0]|=A[(p[F]-1+Q)%28]<<31-F%6,Y[4+(F/6|0)]|=A[28+(p[F+24]-1+Q)%28]<<31-F%6;Y[0]=Y[0]<<1|Y[0]>>>31;for(var F=1;F<7;F++)Y[F]=Y[F]>>>(F-1)*4+3;Y[7]=Y[7]<<5|Y[7]>>>27}for(var P=this._invSubKeys=[],F=0;F<16;F++)P[F]=H[15-F]},encryptBlock:function(M,B){this._doCryptBlock(M,B,this._subKeys)},decryptBlock:function(M,B){this._doCryptBlock(M,B,this._invSubKeys)},_doCryptBlock:function(M,B,A){this._lBlock=M[B],this._rBlock=M[B+1],T.call(this,4,252645135),T.call(this,16,65535),k.call(this,2,858993459),k.call(this,8,16711935),T.call(this,1,1431655765);for(var F=0;F<16;F++){for(var N=A[F],H=this._lBlock,L=this._rBlock,Y=0,Q=0;Q<8;Q++)Y|=w[Q][((L^N[Q])&C[Q])>>>0];this._lBlock=L,this._rBlock=H^Y}var P=this._lBlock;this._lBlock=this._rBlock,this._rBlock=P,T.call(this,1,1431655765),k.call(this,8,16711935),k.call(this,2,858993459),T.call(this,16,65535),T.call(this,4,252645135),M[B]=this._lBlock,M[B+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function T(M,B){var A=(this._lBlock>>>M^this._rBlock)&B;this._rBlock^=A,this._lBlock^=A<<M}function k(M,B){var A=(this._rBlock>>>M^this._lBlock)&B;this._lBlock^=A,this._rBlock^=A<<M}s.DES=h._createHelper(E);var O=g.TripleDES=h.extend({_doReset:function(){var M=this._key,B=M.words;if(B.length!==2&&B.length!==4&&B.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var A=B.slice(0,2),F=B.length<4?B.slice(0,2):B.slice(2,4),N=B.length<6?B.slice(0,2):B.slice(4,6);this._des1=E.createEncryptor(v.create(A)),this._des2=E.createEncryptor(v.create(F)),this._des3=E.createEncryptor(v.create(N))},encryptBlock:function(M,B){this._des1.encryptBlock(M,B),this._des2.decryptBlock(M,B),this._des3.encryptBlock(M,B)},decryptBlock:function(M,B){this._des3.decryptBlock(M,B),this._des2.encryptBlock(M,B),this._des1.decryptBlock(M,B)},keySize:192/32,ivSize:64/32,blockSize:64/32});s.TripleDES=h._createHelper(O)}(),a.TripleDES})}(rx)),rx.exports}var ax={exports:{}},z4;function V7(){return z4||(z4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.StreamCipher,h=s.algo,g=h.RC4=v.extend({_doReset:function(){for(var x=this._key,w=x.words,C=x.sigBytes,E=this._S=[],T=0;T<256;T++)E[T]=T;for(var T=0,k=0;T<256;T++){var O=T%C,M=w[O>>>2]>>>24-O%4*8&255;k=(k+E[T]+M)%256;var B=E[T];E[T]=E[k],E[k]=B}this._i=this._j=0},_doProcessBlock:function(x,w){x[w]^=_.call(this)},keySize:256/32,ivSize:0});function _(){for(var x=this._S,w=this._i,C=this._j,E=0,T=0;T<4;T++){w=(w+1)%256,C=(C+x[w])%256;var k=x[w];x[w]=x[C],x[C]=k,E|=x[(x[w]+x[C])%256]<<24-T*8}return this._i=w,this._j=C,E}s.RC4=v._createHelper(g);var p=h.RC4Drop=g.extend({cfg:g.cfg.extend({drop:192}),_doReset:function(){g._doReset.call(this);for(var x=this.cfg.drop;x>0;x--)_.call(this)}});s.RC4Drop=v._createHelper(p)}(),a.RC4})}(ax)),ax.exports}var ix={exports:{}},M4;function Y7(){return M4||(M4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.StreamCipher,h=s.algo,g=[],_=[],p=[],x=h.Rabbit=v.extend({_doReset:function(){for(var C=this._key.words,E=this.cfg.iv,T=0;T<4;T++)C[T]=(C[T]<<8|C[T]>>>24)&16711935|(C[T]<<24|C[T]>>>8)&4278255360;var k=this._X=[C[0],C[3]<<16|C[2]>>>16,C[1],C[0]<<16|C[3]>>>16,C[2],C[1]<<16|C[0]>>>16,C[3],C[2]<<16|C[1]>>>16],O=this._C=[C[2]<<16|C[2]>>>16,C[0]&4294901760|C[1]&65535,C[3]<<16|C[3]>>>16,C[1]&4294901760|C[2]&65535,C[0]<<16|C[0]>>>16,C[2]&4294901760|C[3]&65535,C[1]<<16|C[1]>>>16,C[3]&4294901760|C[0]&65535];this._b=0;for(var T=0;T<4;T++)w.call(this);for(var T=0;T<8;T++)O[T]^=k[T+4&7];if(E){var M=E.words,B=M[0],A=M[1],F=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,N=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,H=F>>>16|N&4294901760,L=N<<16|F&65535;O[0]^=F,O[1]^=H,O[2]^=N,O[3]^=L,O[4]^=F,O[5]^=H,O[6]^=N,O[7]^=L;for(var T=0;T<4;T++)w.call(this)}},_doProcessBlock:function(C,E){var T=this._X;w.call(this),g[0]=T[0]^T[5]>>>16^T[3]<<16,g[1]=T[2]^T[7]>>>16^T[5]<<16,g[2]=T[4]^T[1]>>>16^T[7]<<16,g[3]=T[6]^T[3]>>>16^T[1]<<16;for(var k=0;k<4;k++)g[k]=(g[k]<<8|g[k]>>>24)&16711935|(g[k]<<24|g[k]>>>8)&4278255360,C[E+k]^=g[k]},blockSize:128/32,ivSize:64/32});function w(){for(var C=this._X,E=this._C,T=0;T<8;T++)_[T]=E[T];E[0]=E[0]+1295307597+this._b|0,E[1]=E[1]+3545052371+(E[0]>>>0<_[0]>>>0?1:0)|0,E[2]=E[2]+886263092+(E[1]>>>0<_[1]>>>0?1:0)|0,E[3]=E[3]+1295307597+(E[2]>>>0<_[2]>>>0?1:0)|0,E[4]=E[4]+3545052371+(E[3]>>>0<_[3]>>>0?1:0)|0,E[5]=E[5]+886263092+(E[4]>>>0<_[4]>>>0?1:0)|0,E[6]=E[6]+1295307597+(E[5]>>>0<_[5]>>>0?1:0)|0,E[7]=E[7]+3545052371+(E[6]>>>0<_[6]>>>0?1:0)|0,this._b=E[7]>>>0<_[7]>>>0?1:0;for(var T=0;T<8;T++){var k=C[T]+E[T],O=k&65535,M=k>>>16,B=((O*O>>>17)+O*M>>>15)+M*M,A=((k&4294901760)*k|0)+((k&65535)*k|0);p[T]=B^A}C[0]=p[0]+(p[7]<<16|p[7]>>>16)+(p[6]<<16|p[6]>>>16)|0,C[1]=p[1]+(p[0]<<8|p[0]>>>24)+p[7]|0,C[2]=p[2]+(p[1]<<16|p[1]>>>16)+(p[0]<<16|p[0]>>>16)|0,C[3]=p[3]+(p[2]<<8|p[2]>>>24)+p[1]|0,C[4]=p[4]+(p[3]<<16|p[3]>>>16)+(p[2]<<16|p[2]>>>16)|0,C[5]=p[5]+(p[4]<<8|p[4]>>>24)+p[3]|0,C[6]=p[6]+(p[5]<<16|p[5]>>>16)+(p[4]<<16|p[4]>>>16)|0,C[7]=p[7]+(p[6]<<8|p[6]>>>24)+p[5]|0}s.Rabbit=v._createHelper(x)}(),a.Rabbit})}(ix)),ix.exports}var ox={exports:{}},N4;function q7(){return N4||(N4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.StreamCipher,h=s.algo,g=[],_=[],p=[],x=h.RabbitLegacy=v.extend({_doReset:function(){var C=this._key.words,E=this.cfg.iv,T=this._X=[C[0],C[3]<<16|C[2]>>>16,C[1],C[0]<<16|C[3]>>>16,C[2],C[1]<<16|C[0]>>>16,C[3],C[2]<<16|C[1]>>>16],k=this._C=[C[2]<<16|C[2]>>>16,C[0]&4294901760|C[1]&65535,C[3]<<16|C[3]>>>16,C[1]&4294901760|C[2]&65535,C[0]<<16|C[0]>>>16,C[2]&4294901760|C[3]&65535,C[1]<<16|C[1]>>>16,C[3]&4294901760|C[0]&65535];this._b=0;for(var O=0;O<4;O++)w.call(this);for(var O=0;O<8;O++)k[O]^=T[O+4&7];if(E){var M=E.words,B=M[0],A=M[1],F=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,N=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,H=F>>>16|N&4294901760,L=N<<16|F&65535;k[0]^=F,k[1]^=H,k[2]^=N,k[3]^=L,k[4]^=F,k[5]^=H,k[6]^=N,k[7]^=L;for(var O=0;O<4;O++)w.call(this)}},_doProcessBlock:function(C,E){var T=this._X;w.call(this),g[0]=T[0]^T[5]>>>16^T[3]<<16,g[1]=T[2]^T[7]>>>16^T[5]<<16,g[2]=T[4]^T[1]>>>16^T[7]<<16,g[3]=T[6]^T[3]>>>16^T[1]<<16;for(var k=0;k<4;k++)g[k]=(g[k]<<8|g[k]>>>24)&16711935|(g[k]<<24|g[k]>>>8)&4278255360,C[E+k]^=g[k]},blockSize:128/32,ivSize:64/32});function w(){for(var C=this._X,E=this._C,T=0;T<8;T++)_[T]=E[T];E[0]=E[0]+1295307597+this._b|0,E[1]=E[1]+3545052371+(E[0]>>>0<_[0]>>>0?1:0)|0,E[2]=E[2]+886263092+(E[1]>>>0<_[1]>>>0?1:0)|0,E[3]=E[3]+1295307597+(E[2]>>>0<_[2]>>>0?1:0)|0,E[4]=E[4]+3545052371+(E[3]>>>0<_[3]>>>0?1:0)|0,E[5]=E[5]+886263092+(E[4]>>>0<_[4]>>>0?1:0)|0,E[6]=E[6]+1295307597+(E[5]>>>0<_[5]>>>0?1:0)|0,E[7]=E[7]+3545052371+(E[6]>>>0<_[6]>>>0?1:0)|0,this._b=E[7]>>>0<_[7]>>>0?1:0;for(var T=0;T<8;T++){var k=C[T]+E[T],O=k&65535,M=k>>>16,B=((O*O>>>17)+O*M>>>15)+M*M,A=((k&4294901760)*k|0)+((k&65535)*k|0);p[T]=B^A}C[0]=p[0]+(p[7]<<16|p[7]>>>16)+(p[6]<<16|p[6]>>>16)|0,C[1]=p[1]+(p[0]<<8|p[0]>>>24)+p[7]|0,C[2]=p[2]+(p[1]<<16|p[1]>>>16)+(p[0]<<16|p[0]>>>16)|0,C[3]=p[3]+(p[2]<<8|p[2]>>>24)+p[1]|0,C[4]=p[4]+(p[3]<<16|p[3]>>>16)+(p[2]<<16|p[2]>>>16)|0,C[5]=p[5]+(p[4]<<8|p[4]>>>24)+p[3]|0,C[6]=p[6]+(p[5]<<16|p[5]>>>16)+(p[4]<<16|p[4]>>>16)|0,C[7]=p[7]+(p[6]<<8|p[6]>>>24)+p[5]|0}s.RabbitLegacy=v._createHelper(x)}(),a.RabbitLegacy})}(ox)),ox.exports}var lx={exports:{}},L4;function G7(){return L4||(L4=1,function(n,l){(function(a,s,d){n.exports=s(Lt(),Es(),bs(),du(),kr())})(Dt,function(a){return function(){var s=a,d=s.lib,v=d.BlockCipher,h=s.algo;const g=16,_=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],p=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var x={pbox:[],sbox:[]};function w(O,M){let B=M>>24&255,A=M>>16&255,F=M>>8&255,N=M&255,H=O.sbox[0][B]+O.sbox[1][A];return H=H^O.sbox[2][F],H=H+O.sbox[3][N],H}function C(O,M,B){let A=M,F=B,N;for(let H=0;H<g;++H)A=A^O.pbox[H],F=w(O,A)^F,N=A,A=F,F=N;return N=A,A=F,F=N,F=F^O.pbox[g],A=A^O.pbox[g+1],{left:A,right:F}}function E(O,M,B){let A=M,F=B,N;for(let H=g+1;H>1;--H)A=A^O.pbox[H],F=w(O,A)^F,N=A,A=F,F=N;return N=A,A=F,F=N,F=F^O.pbox[1],A=A^O.pbox[0],{left:A,right:F}}function T(O,M,B){for(let L=0;L<4;L++){O.sbox[L]=[];for(let Y=0;Y<256;Y++)O.sbox[L][Y]=p[L][Y]}let A=0;for(let L=0;L<g+2;L++)O.pbox[L]=_[L]^M[A],A++,A>=B&&(A=0);let F=0,N=0,H=0;for(let L=0;L<g+2;L+=2)H=C(O,F,N),F=H.left,N=H.right,O.pbox[L]=F,O.pbox[L+1]=N;for(let L=0;L<4;L++)for(let Y=0;Y<256;Y+=2)H=C(O,F,N),F=H.left,N=H.right,O.sbox[L][Y]=F,O.sbox[L][Y+1]=N;return!0}var k=h.Blowfish=v.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var O=this._keyPriorReset=this._key,M=O.words,B=O.sigBytes/4;T(x,M,B)}},encryptBlock:function(O,M){var B=C(x,O[M],O[M+1]);O[M]=B.left,O[M+1]=B.right},decryptBlock:function(O,M){var B=E(x,O[M],O[M+1]);O[M]=B.left,O[M+1]=B.right},blockSize:64/32,keySize:128/32,ivSize:64/32});s.Blowfish=v._createHelper(k)}(),a.Blowfish})}(lx)),lx.exports}(function(n,l){(function(a,s,d){n.exports=s(Lt(),iv(),E7(),b7(),Es(),w7(),bs(),s4(),zg(),D7(),p4(),T7(),A7(),R7(),jg(),k7(),du(),kr(),O7(),B7(),F7(),z7(),M7(),N7(),L7(),U7(),H7(),P7(),j7(),I7(),$7(),V7(),Y7(),q7(),G7())})(Dt,function(a){return a})})(e4);const hl=e4.exports;class W7{constructor(){zc(this,"salt","SzlDJd#4202")}encrypt(l){if(!l)return;const a=typeof l=="string"?l:JSON.stringify(l);return hl.AES.encrypt(a,this.salt).toString()}decrypt(l){if(l)return hl.AES.decrypt(l,this.salt).toString(hl.enc.Utf8)}}class Z7{constructor(l){zc(this,"salt");this.salt=l}encrypt(l){return hl.HmacSHA512(l,this.salt).toString()}}const bn=class{static rotateLeft(l,a){return l<<a|l>>>32-a}static FFj(l,a,s,d){return d>=0&&d<=15?l^a^s:l&a|l&s|a&s}static GGj(l,a,s,d){return d>=0&&d<=15?l^a^s:l&a|~l&s}static P0(l){return l^bn.rotateLeft(l,9)^bn.rotateLeft(l,17)}static P1(l){return l^bn.rotateLeft(l,15)^bn.rotateLeft(l,23)}static pad(l){const a=l.length*8,s=(448-(a+1)%512+512)%512,d=(a+1+s+64)/8,v=new Uint8Array(d);v.set(l),v[l.length]=128;const h=new Uint8Array(8);return new DataView(h.buffer).setBigUint64(0,BigInt(a),!1),v.set(h,d-8),v}static processBlock(l,a){const s=new Uint32Array(68),d=new Uint32Array(64);for(let E=0;E<16;E++){const T=new DataView(l.buffer,l.byteOffset+E*4,4);s[E]=T.getUint32(0,!1)}for(let E=16;E<68;E++)s[E]=bn.P1(s[E-16]^s[E-9]^bn.rotateLeft(s[E-3],15))^bn.rotateLeft(s[E-13],7)^s[E-6];for(let E=0;E<64;E++)d[E]=s[E]^s[E+4];let v=a[0],h=a[1],g=a[2],_=a[3],p=a[4],x=a[5],w=a[6],C=a[7];for(let E=0;E<64;E++){const T=bn.rotateLeft(bn.rotateLeft(v,12)+p+bn.rotateLeft(bn.T[E],E),7),k=T^bn.rotateLeft(v,12),O=bn.FFj(v,h,g,E)+_+k+d[E],M=bn.GGj(p,x,w,E)+C+T+s[E];_=g,g=bn.rotateLeft(h,9),h=v,v=O,C=w,w=bn.rotateLeft(x,19),x=p,p=bn.P0(M)}a[0]^=v,a[1]^=h,a[2]^=g,a[3]^=_,a[4]^=p,a[5]^=x,a[6]^=w,a[7]^=C}static hash(l){const a=bn.pad(l),s=new Uint32Array(bn.IV);for(let h=0;h<a.length;h+=64){const g=a.slice(h,h+64);bn.processBlock(g,s)}const d=new Uint8Array(32),v=new DataView(d.buffer);for(let h=0;h<8;h++)v.setUint32(h*4,s[h],!1);return d}static hashHex(l){const a=typeof l=="string"?new TextEncoder().encode(l):l,s=bn.hash(a);return Array.from(s).map(d=>d.toString(16).padStart(2,"0")).join("")}};let ws=bn;zc(ws,"IV",new Uint32Array([1937774191,1226093241,388252375,3666478592,2842636476,372324522,3817729613,2969243214])),zc(ws,"T",new Uint32Array(64)),(()=>{for(let l=0;l<16;l++)bn.T[l]=2043430169;for(let l=16;l<64;l++)bn.T[l]=2055708042})();class ux{constructor(l){zc(this,"key");this.key=typeof l=="string"?new TextEncoder().encode(l):l}digest(l){const a=typeof l=="string"?new TextEncoder().encode(l):l,s=64;let d;if(this.key.length>s)d=ws.hash(this.key);else{d=new Uint8Array(s),d.set(this.key);for(let w=this.key.length;w<s;w++)d[w]=0}const v=new Uint8Array(s),h=new Uint8Array(s);for(let w=0;w<s;w++)v[w]=d[w]^54,h[w]=d[w]^92;const g=new Uint8Array(v.length+a.length);g.set(v),g.set(a,v.length);const _=ws.hash(g),p=new Uint8Array(h.length+_.length);return p.set(h),p.set(_,h.length),ws.hash(p)}digestHex(l){const a=this.digest(l);return Array.from(a).map(s=>s.toString(16).padStart(2,"0")).join("")}static hmac(l,a){return new ux(l).digestHex(a)}}const K7=Object.freeze(Object.defineProperty({__proto__:null,handleGetAttrList:async(n,l,a)=>{var s;try{const d=await l(a||"SERATTALLList",n);return(d==null?void 0:d.ReturnValue)===1?((s=d==null?void 0:d.data)==null?void 0:s.attr_list)||[]:[]}catch{}},handleGetAttrDetail:async(n,l,a)=>{var s;try{const d=await l(a||"YLFWLRDataDetails",n);return(d==null?void 0:d.ReturnValue)===1?((s=d==null?void 0:d.data)==null?void 0:s.list)||[]:[]}catch{}},handleObjDetailToSignleAttrList:(n,l)=>n.map(a=>({...a,attrvalue:l[a.attrid]||""}))},Symbol.toStringTag,{value:"Module"}));function Q7(n){const{imgKey:l="Img"}=n,{data:a,loading:s,error:d,refresh:v}=PC.useRequest(n.request,{debounceWait:300,ready:!0,retryCount:3});return{data:a,renderCaptcha:()=>d?de(De.Button,{type:"link",title:"验证码加载失败,请重试",icon:de(jD,{}),onClick:v,children:"点击重试"}):de("img",{src:au.get(a,[l]),style:{height:"100%",objectFit:"contain",cursor:"pointer"},onClick:v}),loading:s,refresh:v}}function X7(n){const{modal:l,message:a}=De.App.useApp(),[s]=De.Form.useForm(),d=[{dataIndex:"Password",title:"新密码",valueType:"password",valueProps:{placeholder:"请输入新密码"},formItemProps:{rules:[{required:!0,message:"请输入新密码"},Jb.passwordNewRule]}},{dataIndex:"NewPassword",title:"确认密码",valueType:"password",valueProps:{placeholder:"请输入确认密码"},formItemProps:{rules:[{required:!0,message:"请输入确认密码"},({getFieldValue:h})=>({validator(g,_){return!_||h("Password")===_?Promise.resolve():Promise.reject(new Error("两次密码输入不一致"))}})]}}];return{handleChangePwd:PC.useLockFn(async(h,g)=>{const _=n==null?void 0:n.modalProps;let p;_!=null&&_.width&&(typeof _.width=="string"||typeof _.width=="number")&&(p=_.width),await l.confirm({title:g||"修改密码",icon:null,wrapClassName:"confirmWrapper",content:de(Xy,{items:d,formProps:{form:s,preserve:!1,layout:"vertical",labelCol:{span:24},wrapperCol:{span:24}}}),onOk(){return new Promise((x,w)=>{s.validateFields().then(C=>{h({values:C,resolve:x,reject:w})}).catch(C=>{w(C)})})},..._,width:p})})}}const J7="SzlDJd#4202";function eO(n){const[l,a]=Te.useState(null);Te.useEffect(()=>{s()},[]);const s=()=>{const d=hl.AES.decrypt(n,J7);try{const v=JSON.parse(d.toString(hl.enc.Utf8));a(v)}catch{}};return l}function tO(n){const{secertKey:l,storageKey:a}=n;return{onParse:v=>{const h=localStorage.getItem(a);if(!h){v(null);return}const g=hl.AES.decrypt(h,l);try{const _=JSON.parse(g.toString(hl.enc.Utf8));v(_)}catch{v(null)}},onSave:v=>{const h=hl.AES.encrypt(JSON.stringify({...v,timestamp:Date.now()}),l);MS(a,h.toString())}}}function nO(n){const{dataSource:l,rowKey:a,defaultRows:s=[]}=n,d=Te.useRef(s),[v,h]=Te.useState([]),[g,_]=Te.useState([]);return Te.useEffect(()=>{if(l&&l.length>0){const p=[...l,...d.current];d.current=p.filter((x,w,C)=>C.findIndex(E=>x[a]===E[a])===w)}},[l,a]),Te.useEffect(()=>{if(d.current.length>0){let p=[];g.forEach(x=>{const w=d.current.find(C=>C[a]===x);w&&!p.map(C=>C[a]).includes(x)&&p.push(w)}),h(p)}},[d.current,g,a]),{selectedRows:v,selectedKeys:g,setSelectedKeys:_}}function rO({detailInfo:n,labelSpan:l=3,valueSpan:a=9,imgWidth:s=93,imgHeight:d=93,useGrid:v=!0,mainApplicationDomain:h=""}){const g=C=>{var E;(E=window.parent)==null||E.postMessage({type:"previewDoc",docurl:C},h)},_=C=>{if(typeof(C==null?void 0:C.attrvalue)!="string")return;const E=JSON.parse((C==null?void 0:C.attrvalue)||"[]"),T=de(De.Space,{children:E.map((k,O)=>de("div",{style:{border:"1px solid rgba(0, 0, 0, 0.15)",borderRadius:4},children:de(De.Image,{style:{objectFit:"cover",padding:5},width:s,height:d,src:k==null?void 0:k.FilePath,alt:(C==null?void 0:C.attrname)||"-"},O)},O))});return v?bt(Te.Fragment,{children:[de(De.Col,{span:l,children:C==null?void 0:C.attrname}),de(De.Col,{span:a,style:{wordWrap:"break-word"},children:T})]},C.attrid):de(Te.Fragment,{children:bt(De.Col,{span:l,children:[C==null?void 0:C.attrname,":",T]})},C.attrid)},p=C=>{if(typeof(C==null?void 0:C.attrvalue)!="string")return;const E=JSON.parse((C==null?void 0:C.attrvalue)||"[]"),T=de(De.Space,{children:E.map((k,O)=>de("a",{onClick:()=>g(k==null?void 0:k.FilePath),children:(k==null?void 0:k.FileName)||"-"},O))});return v?bt(Te.Fragment,{children:[de(De.Col,{span:l,children:C==null?void 0:C.attrname}),de(De.Col,{span:a,style:{wordWrap:"break-word"},children:T})]},C.attrid):de(Te.Fragment,{children:bt(De.Col,{span:l,style:{wordWrap:"break-word"},children:[C==null?void 0:C.attrname,":",T]})},C.attrid)},x=C=>v?bt(Te.Fragment,{children:[de(De.Col,{span:l,children:C==null?void 0:C.attrname}),de(De.Col,{span:a,style:{wordWrap:"break-word"},children:(C==null?void 0:C.attrvalue)||"-"})]},C.attrid):de(Te.Fragment,{children:bt(De.Col,{span:l,style:{wordWrap:"break-word"},children:[C==null?void 0:C.attrname,":",(C==null?void 0:C.attrvalue)||"-"]})},C.attrid);return{renderDetail:()=>{if(!n)return null;const C=E=>{var T;return(T=E==null?void 0:E.filter(k=>(k==null?void 0:k.attrtype)===0))==null?void 0:T.map(k=>{const O=(k==null?void 0:k.json)||(k==null?void 0:k.info)&&JSON.parse(k.info);let M;return(O==null?void 0:O.input)==="image"?M=_(k):["file","audio","video"].includes(O==null?void 0:O.input)?M=p(k):M=x(k),k!=null&&k.children&&k.children.length>0?bt(Te.Fragment,{children:[M,de("div",{style:{marginLeft:"16px",marginTop:"8px",borderLeft:"2px dashed #e8e8e8",paddingLeft:"16px"},children:C(k.children)})]},k.attrid):M})};return de(De.Row,{gutter:[15,15],children:C(n==null?void 0:n.attr_list)})}}}gt.AES=W7,gt.AuthButton=Pb,gt.BackHeader=QD,gt.CoralButton=Uk,gt.CreateForm=Xy,gt.CustomPagination=jk,gt.DynamicForm=f7,gt.EditTable=Lk,gt.FormRules=g7,gt.HmacSHA512=Z7,gt.HmacSM3=ux,gt.LoopSlide=Hk,gt.SearchTable=Fk,gt.UploadFile=ib,gt.WorkFlowNode=jb,gt.compressionImage=rb,gt.download=y7,gt.fileType=n5,gt.method=Xk,gt.showWorkFlow=Pk,gt.szxkFunc=K7,gt.useCaptcha=Q7,gt.useChangePwd=X7,gt.useConfig=eO,gt.useDetailRender=rO,gt.useRemember=tO,gt.useRowSelection=nO,gt.utils=f5,gt.verfyCode=_7,Object.defineProperty(gt,Symbol.toStringTag,{value:"Module"})});