(function(Ba,rn){typeof exports=="object"&&typeof module<"u"?module.exports=rn():typeof define=="function"&&define.amd?define("LevelChatbotSDK",rn):(Ba=typeof globalThis<"u"?globalThis:Ba||self,Ba.LevelChatbotSDK=rn())})(this,function(){"use strict";var jve=Object.defineProperty;var zve=(Ba,rn,ma)=>rn in Ba?jve(Ba,rn,{enumerable:!0,configurable:!0,writable:!0,value:ma}):Ba[rn]=ma;var xl=(Ba,rn,ma)=>zve(Ba,typeof rn!="symbol"?rn+"":rn,ma);function Ba(e,t){for(var r=0;rn[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var rn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ma(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ds(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var dv={exports:{}},qd={exports:{}};qd.exports,function(e,t){/** * @license React * react.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),E=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),Q=Symbol.for("react.offscreen"),w=Symbol.iterator,S="@@iterator";function F(Y){if(Y===null||typeof Y!="object")return null;var ee=w&&Y[w]||Y[S];return typeof ee=="function"?ee:null}var y={current:null},D={transition:null},x={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},v={current:null},K={},H=null;function Z(Y){H=Y}K.setExtraStackFrame=function(Y){H=Y},K.getCurrentStack=null,K.getStackAddendum=function(){var Y="";H&&(Y+=H);var ee=K.getCurrentStack;return ee&&(Y+=ee()||""),Y};var b=!1,P=!1,$=!1,W=!1,ie=!1,re={ReactCurrentDispatcher:y,ReactCurrentBatchConfig:D,ReactCurrentOwner:v};re.ReactDebugCurrentFrame=K,re.ReactCurrentActQueue=x;function Ae(Y){{for(var ee=arguments.length,me=new Array(ee>1?ee-1:0),De=1;De1?ee-1:0),De=1;De1){for(var $r=Array(qr),en=0;en1){for(var or=Array(en),gn=0;gn is not supported and will be removed in a future major release. Did you mean to render instead?")),ee.Provider},set:function(mt){ee.Provider=mt}},_currentValue:{get:function(){return ee._currentValue},set:function(mt){ee._currentValue=mt}},_currentValue2:{get:function(){return ee._currentValue2},set:function(mt){ee._currentValue2=mt}},_threadCount:{get:function(){return ee._threadCount},set:function(mt){ee._threadCount=mt}},Consumer:{get:function(){return me||(me=!0,oe("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),ee.Consumer}},displayName:{get:function(){return ee.displayName},set:function(mt){$e||(Ae("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",mt),$e=!0)}}}),ee.Consumer=Tt}return ee._currentRenderer=null,ee._currentRenderer2=null,ee}var Yo=-1,Nn=0,Ei=1,Cn=2;function bo(Y){if(Y._status===Yo){var ee=Y._result,me=ee();if(me.then(function(Tt){if(Y._status===Nn||Y._status===Yo){var mt=Y;mt._status=Ei,mt._result=Tt}},function(Tt){if(Y._status===Nn||Y._status===Yo){var mt=Y;mt._status=Cn,mt._result=Tt}}),Y._status===Yo){var De=Y;De._status=Nn,De._result=me}}if(Y._status===Ei){var $e=Y._result;return $e===void 0&&oe(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent')) Did you accidentally put curly braces around the import?`,$e),"default"in $e||oe(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent'))`,$e),$e.default}else throw Y._result}function Hs(Y){var ee={_status:Yo,_result:Y},me={$$typeof:B,_payload:ee,_init:bo};{var De,$e;Object.defineProperties(me,{defaultProps:{configurable:!0,get:function(){return De},set:function(Tt){oe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),De=Tt,Object.defineProperty(me,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return $e},set:function(Tt){oe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),$e=Tt,Object.defineProperty(me,"propTypes",{enumerable:!0})}}})}return me}function Ko(Y){Y!=null&&Y.$$typeof===f?oe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof Y!="function"?oe("forwardRef requires a render function but was given %s.",Y===null?"null":typeof Y):Y.length!==0&&Y.length!==2&&oe("forwardRef render functions accept exactly two parameters: props and ref. %s",Y.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),Y!=null&&(Y.defaultProps!=null||Y.propTypes!=null)&&oe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var ee={$$typeof:h,render:Y};{var me;Object.defineProperty(ee,"displayName",{enumerable:!1,configurable:!0,get:function(){return me},set:function(De){me=De,!Y.name&&!Y.displayName&&(Y.displayName=De)}})}return ee}var te;te=Symbol.for("react.module.reference");function Ye(Y){return!!(typeof Y=="string"||typeof Y=="function"||Y===o||Y===l||ie||Y===s||Y===I||Y===p||W||Y===Q||b||P||$||typeof Y=="object"&&Y!==null&&(Y.$$typeof===B||Y.$$typeof===f||Y.$$typeof===c||Y.$$typeof===E||Y.$$typeof===h||Y.$$typeof===te||Y.getModuleId!==void 0))}function st(Y,ee){Ye(Y)||oe("memo: The first argument must be a component. Instead received: %s",Y===null?"null":typeof Y);var me={$$typeof:f,type:Y,compare:ee===void 0?null:ee};{var De;Object.defineProperty(me,"displayName",{enumerable:!1,configurable:!0,get:function(){return De},set:function($e){De=$e,!Y.name&&!Y.displayName&&(Y.displayName=$e)}})}return me}function dt(){var Y=y.current;return Y===null&&oe(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),Y}function nr(Y){var ee=dt();if(Y._context!==void 0){var me=Y._context;me.Consumer===Y?oe("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):me.Provider===Y&&oe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return ee.useContext(Y)}function Nt(Y){var ee=dt();return ee.useState(Y)}function ir(Y,ee,me){var De=dt();return De.useReducer(Y,ee,me)}function _t(Y){var ee=dt();return ee.useRef(Y)}function Qn(Y,ee){var me=dt();return me.useEffect(Y,ee)}function Bt(Y,ee){var me=dt();return me.useInsertionEffect(Y,ee)}function lr(Y,ee){var me=dt();return me.useLayoutEffect(Y,ee)}function qi(Y,ee){var me=dt();return me.useCallback(Y,ee)}function Oa(Y,ee){var me=dt();return me.useMemo(Y,ee)}function xa(Y,ee,me){var De=dt();return De.useImperativeHandle(Y,ee,me)}function En(Y,ee){{var me=dt();return me.useDebugValue(Y,ee)}}function $t(){var Y=dt();return Y.useTransition()}function Ps(Y){var ee=dt();return ee.useDeferredValue(Y)}function xE(){var Y=dt();return Y.useId()}function Km(Y,ee,me){var De=dt();return De.useSyncExternalStore(Y,ee,me)}var il=0,WI,jI,zI,ZI,HI,Jm,Nm;function vE(){}vE.__reactDisabledLog=!0;function PI(){{if(il===0){WI=console.log,jI=console.info,zI=console.warn,ZI=console.error,HI=console.group,Jm=console.groupCollapsed,Nm=console.groupEnd;var Y={configurable:!0,enumerable:!0,value:vE,writable:!0};Object.defineProperties(console,{info:Y,log:Y,warn:Y,error:Y,group:Y,groupCollapsed:Y,groupEnd:Y})}il++}}function Cs(){{if(il--,il===0){var Y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ne({},Y,{value:WI}),info:ne({},Y,{value:jI}),warn:ne({},Y,{value:zI}),error:ne({},Y,{value:ZI}),group:ne({},Y,{value:HI}),groupCollapsed:ne({},Y,{value:Jm}),groupEnd:ne({},Y,{value:Nm})})}il<0&&oe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fc=re.ReactCurrentDispatcher,ol;function TE(Y,ee,me){{if(ol===void 0)try{throw Error()}catch($e){var De=$e.stack.trim().match(/\n( *(at )?)/);ol=De&&De[1]||""}return` `+ol+Y}}var Bc=!1,GE;{var XI=typeof WeakMap=="function"?WeakMap:Map;GE=new XI}function Um(Y,ee){if(!Y||Bc)return"";{var me=GE.get(Y);if(me!==void 0)return me}var De;Bc=!0;var $e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Tt;Tt=fc.current,fc.current=null,PI();try{if(ee){var mt=function(){throw Error()};if(Object.defineProperty(mt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(mt,[])}catch(Yn){De=Yn}Reflect.construct(Y,[],mt)}else{try{mt.call()}catch(Yn){De=Yn}Y.call(mt.prototype)}}else{try{throw Error()}catch(Yn){De=Yn}Y()}}catch(Yn){if(Yn&&De&&typeof Yn.stack=="string"){for(var Ut=Yn.stack.split(` `),Ar=De.stack.split(` `),qr=Ut.length-1,$r=Ar.length-1;qr>=1&&$r>=0&&Ut[qr]!==Ar[$r];)$r--;for(;qr>=1&&$r>=0;qr--,$r--)if(Ut[qr]!==Ar[$r]){if(qr!==1||$r!==1)do if(qr--,$r--,$r<0||Ut[qr]!==Ar[$r]){var en=` `+Ut[qr].replace(" at new "," at ");return Y.displayName&&en.includes("")&&(en=en.replace("",Y.displayName)),typeof Y=="function"&&GE.set(Y,en),en}while(qr>=1&&$r>=0);break}}}finally{Bc=!1,fc.current=Tt,Cs(),Error.prepareStackTrace=$e}var or=Y?Y.displayName||Y.name:"",gn=or?TE(or):"";return typeof Y=="function"&&GE.set(Y,gn),gn}function _I(Y,ee,me){return Um(Y,!1)}function lF(Y){var ee=Y.prototype;return!!(ee&&ee.isReactComponent)}function mc(Y,ee,me){if(Y==null)return"";if(typeof Y=="function")return Um(Y,lF(Y));if(typeof Y=="string")return TE(Y);switch(Y){case I:return TE("Suspense");case p:return TE("SuspenseList")}if(typeof Y=="object")switch(Y.$$typeof){case h:return _I(Y.render);case f:return mc(Y.type,ee,me);case B:{var De=Y,$e=De._payload,Tt=De._init;try{return mc(Tt($e),ee,me)}catch{}}}return""}var Vm={},$I=re.ReactDebugCurrentFrame;function wr(Y){if(Y){var ee=Y._owner,me=mc(Y.type,Y._source,ee?ee.type:null);$I.setExtraStackFrame(me)}else $I.setExtraStackFrame(null)}function cF(Y,ee,me,De,$e){{var Tt=Function.call.bind(Ce);for(var mt in Y)if(Tt(Y,mt)){var Ut=void 0;try{if(typeof Y[mt]!="function"){var Ar=Error((De||"React class")+": "+me+" type `"+mt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Y[mt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ar.name="Invariant Violation",Ar}Ut=Y[mt](ee,mt,De,me,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(qr){Ut=qr}Ut&&!(Ut instanceof Error)&&(wr($e),oe("%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).",De||"React class",me,mt,typeof Ut),wr(null)),Ut instanceof Error&&!(Ut.message in Vm)&&(Vm[Ut.message]=!0,wr($e),oe("Failed %s type: %s",me,Ut.message),wr(null))}}}function Xs(Y){if(Y){var ee=Y._owner,me=mc(Y.type,Y._source,ee?ee.type:null);Z(me)}else Z(null)}var Wt;Wt=!1;function eC(){if(v.current){var Y=ae(v.current.type);if(Y)return` Check the render method of \``+Y+"`."}return""}function Hi(Y){if(Y!==void 0){var ee=Y.fileName.replace(/^.*[\\\/]/,""),me=Y.lineNumber;return` Check your code at `+ee+":"+me+"."}return""}function Qc(Y){return Y!=null?Hi(Y.__source):""}var al={};function AF(Y){var ee=eC();if(!ee){var me=typeof Y=="string"?Y:Y.displayName||Y.name;me&&(ee=` Check the top-level render call using <`+me+">.")}return ee}function ei(Y,ee){if(!(!Y._store||Y._store.validated||Y.key!=null)){Y._store.validated=!0;var me=AF(ee);if(!al[me]){al[me]=!0;var De="";Y&&Y._owner&&Y._owner!==v.current&&(De=" It was passed a child from "+ae(Y._owner.type)+"."),Xs(Y),oe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',me,De),Xs(null)}}}function hn(Y,ee){if(typeof Y=="object"){if(_e(Y))for(var me=0;me",$e=" Did you accidentally export a JSX literal instead of a component?"):mt=typeof Y,oe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",mt,$e)}var Ut=Ct.apply(this,arguments);if(Ut==null)return Ut;if(De)for(var Ar=2;Ar10&&Ae("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."),De._updatedFibers.clear()}}}var rC=!1,qE=null;function hF(Y){if(qE===null)try{var ee=("require"+Math.random()).slice(0,7),me=e&&e[ee];qE=me.call(e,"timers").setImmediate}catch{qE=function($e){rC===!1&&(rC=!0,typeof MessageChannel>"u"&&oe("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Tt=new MessageChannel;Tt.port1.onmessage=$e,Tt.port2.postMessage(void 0)}}return qE(Y)}var sl=0,wc=!1;function nC(Y){{var ee=sl;sl++,x.current===null&&(x.current=[]);var me=x.isBatchingLegacy,De;try{if(x.isBatchingLegacy=!0,De=Y(),!me&&x.didScheduleLegacyUpdate){var $e=x.current;$e!==null&&(x.didScheduleLegacyUpdate=!1,KE($e))}}catch(or){throw _s(ee),or}finally{x.isBatchingLegacy=me}if(De!==null&&typeof De=="object"&&typeof De.then=="function"){var Tt=De,mt=!1,Ut={then:function(or,gn){mt=!0,Tt.then(function(Yn){_s(ee),sl===0?YE(Yn,or,gn):or(Yn)},function(Yn){_s(ee),gn(Yn)})}};return!wc&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){mt||(wc=!0,oe("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Ut}else{var Ar=De;if(_s(ee),sl===0){var qr=x.current;qr!==null&&(KE(qr),x.current=null);var $r={then:function(or,gn){x.current===null?(x.current=[],YE(Ar,or,gn)):or(Ar)}};return $r}else{var en={then:function(or,gn){or(Ar)}};return en}}}}function _s(Y){Y!==sl-1&&oe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),sl=Y}function YE(Y,ee,me){{var De=x.current;if(De!==null)try{KE(De),hF(function(){De.length===0?(x.current=null,ee(Y)):YE(Y,ee,me)})}catch($e){me($e)}else ee(Y)}}var bE=!1;function KE(Y){if(!bE){bE=!0;var ee=0;try{for(;ee0;){var Ze=xt-1>>>1,Ve=Re[Ze];if(c(Ve,et)>0)Re[Ze]=et,Re[xt]=Ve,xt=Ze;else return}}function l(Re,et,Ct){for(var xt=Ct,Ze=Re.length,Ve=Ze>>>1;xtCt&&(!Re||kt()));){var xt=$.callback;if(typeof xt=="function"){$.callback=null,W=$.priorityLevel;var Ze=$.expirationTime<=Ct,Ve=xt(Ze);Ct=e.unstable_now(),typeof Ve=="function"?$.callback=Ve:$===i(Z)&&o(Z),N(Ct)}else o(Z);$=i(Z)}if($!==null)return!0;var lt=i(b);return lt!==null&&se(X,lt.startTime-Ct),!1}function Ee(Re,et){switch(Re){case E:case h:case I:case p:case f:break;default:Re=I}var Ct=W;W=Re;try{return et()}finally{W=Ct}}function ke(Re){var et;switch(W){case E:case h:case I:et=I;break;default:et=W;break}var Ct=W;W=et;try{return Re()}finally{W=Ct}}function we(Re){var et=W;return function(){var Ct=W;W=et;try{return Re.apply(this,arguments)}finally{W=Ct}}}function Ue(Re,et,Ct){var xt=e.unstable_now(),Ze;if(typeof Ct=="object"&&Ct!==null){var Ve=Ct.delay;typeof Ve=="number"&&Ve>0?Ze=xt+Ve:Ze=xt}else Ze=xt;var lt;switch(Re){case E:lt=D;break;case h:lt=x;break;case f:lt=H;break;case p:lt=K;break;case I:default:lt=v;break}var nt=Ze+lt,Mt={id:P++,callback:et,priorityLevel:Re,startTime:Ze,expirationTime:nt,sortIndex:-1};return Ze>xt?(Mt.sortIndex=Ze,n(b,Mt),i(Z)===null&&Mt===i(b)&&(Ae?Me():Ae=!0,se(X,Ze-xt))):(Mt.sortIndex=nt,n(Z,Mt),!re&&!ie&&(re=!0,it(ne))),Mt}function qe(){}function tt(){!re&&!ie&&(re=!0,it(ne))}function It(){return i(Z)}function Le(Re){Re.callback=null}function ve(){return W}var _e=!1,Ne=null,rt=-1,wt=r,ft=-1;function kt(){var Re=e.unstable_now()-ft;return!(Re125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Re>0?wt=Math.floor(1e3/Re):wt=r}var Ce=function(){if(Ne!==null){var Re=e.unstable_now();ft=Re;var et=!0,Ct=!0;try{Ct=Ne(et,Re)}finally{Ct?fe():(_e=!1,Ne=null)}}else _e=!1},fe;if(typeof de=="function")fe=function(){de(Ce)};else if(typeof MessageChannel<"u"){var Fe=new MessageChannel,Xe=Fe.port2;Fe.port1.onmessage=Ce,fe=function(){Xe.postMessage(null)}}else fe=function(){oe(Ce,0)};function it(Re){Ne=Re,_e||(_e=!0,fe())}function se(Re,et){rt=oe(function(){Re(e.unstable_now())},et)}function Me(){ce(rt),rt=-1}var We=Lt,be=null;e.unstable_IdlePriority=f,e.unstable_ImmediatePriority=E,e.unstable_LowPriority=p,e.unstable_NormalPriority=I,e.unstable_Profiling=be,e.unstable_UserBlockingPriority=h,e.unstable_cancelCallback=Le,e.unstable_continueExecution=tt,e.unstable_forceFrameRate=ae,e.unstable_getCurrentPriorityLevel=ve,e.unstable_getFirstCallbackNode=It,e.unstable_next=ke,e.unstable_pauseExecution=qe,e.unstable_requestPaint=We,e.unstable_runWithPriority=Ee,e.unstable_scheduleCallback=Ue,e.unstable_shouldYield=kt,e.unstable_wrapCallback=we,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(Bv),fv.exports=Bv;var Z2=fv.exports;/** * @license React * react-dom.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=O,t=Z2,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,n=!1;function i(a){n=a}function o(a){if(!n){for(var u=arguments.length,A=new Array(u>1?u-1:0),g=1;g1?u-1:0),g=1;g2&&(a[0]==="o"||a[0]==="O")&&(a[1]==="n"||a[1]==="N")}function lt(a,u,A,g){if(A!==null&&A.type===fe)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":{if(g)return!1;if(A!==null)return!A.acceptsBooleans;var C=a.toLowerCase().slice(0,5);return C!=="data-"&&C!=="aria-"}default:return!1}}function nt(a,u,A,g){if(u===null||typeof u>"u"||lt(a,u,A,g))return!0;if(g)return!1;if(A!==null)switch(A.type){case it:return!u;case se:return u===!1;case Me:return isNaN(u);case We:return isNaN(u)||u<1}return!1}function Mt(a){return Gr.hasOwnProperty(a)?Gr[a]:null}function Tr(a,u,A,g,C,m,R){this.acceptsBooleans=u===Xe||u===it||u===se,this.attributeName=g,this.attributeNamespace=C,this.mustUseProperty=A,this.propertyName=a,this.type=u,this.sanitizeURL=m,this.removeEmptyString=R}var Gr={},ca=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ca.forEach(function(a){Gr[a]=new Tr(a,fe,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var u=a[0],A=a[1];Gr[u]=new Tr(u,Fe,!1,A,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){Gr[a]=new Tr(a,Xe,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){Gr[a]=new Tr(a,Xe,!1,a,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(a){Gr[a]=new Tr(a,it,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){Gr[a]=new Tr(a,it,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){Gr[a]=new Tr(a,se,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){Gr[a]=new Tr(a,We,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){Gr[a]=new Tr(a,Me,!1,a.toLowerCase(),null,!1,!1)});var Gi=/[\-\:]([a-z])/g,Io=function(a){return a[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(a){var u=a.replace(Gi,Io);Gr[u]=new Tr(u,Fe,!1,a,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(a){var u=a.replace(Gi,Io);Gr[u]=new Tr(u,Fe,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var u=a.replace(Gi,Io);Gr[u]=new Tr(u,Fe,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){Gr[a]=new Tr(a,Fe,!1,a.toLowerCase(),null,!1,!1)});var Da="xlinkHref";Gr[Da]=new Tr("xlinkHref",Fe,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){Gr[a]=new Tr(a,Fe,!1,a.toLowerCase(),null,!0,!0)});var zs=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,rl=!1;function Zs(a){!rl&&zs.test(a)&&(rl=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(a)))}function nl(a,u,A,g){if(g.mustUseProperty){var C=g.propertyName;return a[C]}else{wt(A,u),g.sanitizeURL&&Zs(""+A);var m=g.attributeName,R=null;if(g.type===se){if(a.hasAttribute(m)){var k=a.getAttribute(m);return k===""?!0:nt(u,A,g,!1)?k:k===""+A?A:k}}else if(a.hasAttribute(m)){if(nt(u,A,g,!1))return a.getAttribute(m);if(g.type===it)return A;R=a.getAttribute(m)}return nt(u,A,g,!1)?R===null?A:R:R===""+A?A:R}}function Is(a,u,A,g){{if(!Ze(u))return;if(!a.hasAttribute(u))return A===void 0?void 0:null;var C=a.getAttribute(u);return wt(A,u),C===""+A?A:C}}function Yo(a,u,A,g){var C=Mt(u);if(!Ve(u,C,g)){if(nt(u,A,C,g)&&(A=null),g||C===null){if(Ze(u)){var m=u;A===null?a.removeAttribute(m):(wt(A,u),a.setAttribute(m,""+A))}return}var R=C.mustUseProperty;if(R){var k=C.propertyName;if(A===null){var T=C.type;a[k]=T===it?!1:""}else a[k]=A;return}var J=C.attributeName,V=C.attributeNamespace;if(A===null)a.removeAttribute(J);else{var le=C.type,ue;le===it||le===se&&A===!0?ue="":(wt(A,J),ue=""+A,C.sanitizeURL&&Zs(ue.toString())),V?a.setAttributeNS(V,J,ue):a.setAttribute(J,ue)}}}var Nn=Symbol.for("react.element"),Ei=Symbol.for("react.portal"),Cn=Symbol.for("react.fragment"),bo=Symbol.for("react.strict_mode"),Hs=Symbol.for("react.profiler"),Ko=Symbol.for("react.provider"),te=Symbol.for("react.context"),Ye=Symbol.for("react.forward_ref"),st=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),nr=Symbol.for("react.memo"),Nt=Symbol.for("react.lazy"),ir=Symbol.for("react.scope"),_t=Symbol.for("react.debug_trace_mode"),Qn=Symbol.for("react.offscreen"),Bt=Symbol.for("react.legacy_hidden"),lr=Symbol.for("react.cache"),qi=Symbol.for("react.tracing_marker"),Oa=Symbol.iterator,xa="@@iterator";function En(a){if(a===null||typeof a!="object")return null;var u=Oa&&a[Oa]||a[xa];return typeof u=="function"?u:null}var $t=Object.assign,Ps=0,xE,Km,il,WI,jI,zI,ZI;function HI(){}HI.__reactDisabledLog=!0;function Jm(){{if(Ps===0){xE=console.log,Km=console.info,il=console.warn,WI=console.error,jI=console.group,zI=console.groupCollapsed,ZI=console.groupEnd;var a={configurable:!0,enumerable:!0,value:HI,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}Ps++}}function Nm(){{if(Ps--,Ps===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$t({},a,{value:xE}),info:$t({},a,{value:Km}),warn:$t({},a,{value:il}),error:$t({},a,{value:WI}),group:$t({},a,{value:jI}),groupCollapsed:$t({},a,{value:zI}),groupEnd:$t({},a,{value:ZI})})}Ps<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var vE=r.ReactCurrentDispatcher,PI;function Cs(a,u,A){{if(PI===void 0)try{throw Error()}catch(C){var g=C.stack.trim().match(/\n( *(at )?)/);PI=g&&g[1]||""}return` `+PI+a}}var fc=!1,ol;{var TE=typeof WeakMap=="function"?WeakMap:Map;ol=new TE}function Bc(a,u){if(!a||fc)return"";{var A=ol.get(a);if(A!==void 0)return A}var g;fc=!0;var C=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=vE.current,vE.current=null,Jm();try{if(u){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(Qe){g=Qe}Reflect.construct(a,[],R)}else{try{R.call()}catch(Qe){g=Qe}a.call(R.prototype)}}else{try{throw Error()}catch(Qe){g=Qe}a()}}catch(Qe){if(Qe&&g&&typeof Qe.stack=="string"){for(var k=Qe.stack.split(` `),T=g.stack.split(` `),J=k.length-1,V=T.length-1;J>=1&&V>=0&&k[J]!==T[V];)V--;for(;J>=1&&V>=0;J--,V--)if(k[J]!==T[V]){if(J!==1||V!==1)do if(J--,V--,V<0||k[J]!==T[V]){var le=` `+k[J].replace(" at new "," at ");return a.displayName&&le.includes("")&&(le=le.replace("",a.displayName)),typeof a=="function"&&ol.set(a,le),le}while(J>=1&&V>=0);break}}}finally{fc=!1,vE.current=m,Nm(),Error.prepareStackTrace=C}var ue=a?a.displayName||a.name:"",pe=ue?Cs(ue):"";return typeof a=="function"&&ol.set(a,pe),pe}function GE(a,u,A){return Bc(a,!0)}function XI(a,u,A){return Bc(a,!1)}function Um(a){var u=a.prototype;return!!(u&&u.isReactComponent)}function _I(a,u,A){if(a==null)return"";if(typeof a=="function")return Bc(a,Um(a));if(typeof a=="string")return Cs(a);switch(a){case st:return Cs("Suspense");case dt:return Cs("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case Ye:return XI(a.render);case nr:return _I(a.type,u,A);case Nt:{var g=a,C=g._payload,m=g._init;try{return _I(m(C),u,A)}catch{}}}return""}function lF(a){switch(a._debugOwner&&a._debugOwner.type,a._debugSource,a.tag){case f:return Cs(a.type);case H:return Cs("Lazy");case x:return Cs("Suspense");case P:return Cs("SuspenseList");case c:case h:case K:return XI(a.type);case y:return XI(a.type.render);case E:return GE(a.type);default:return""}}function mc(a){try{var u="",A=a;do u+=lF(A),A=A.return;while(A);return u}catch(g){return` Error generating stack: `+g.message+` `+g.stack}}function Vm(a,u,A){var g=a.displayName;if(g)return g;var C=u.displayName||u.name||"";return C!==""?A+"("+C+")":A}function $I(a){return a.displayName||"Context"}function wr(a){if(a==null)return null;if(typeof a.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case Cn:return"Fragment";case Ei:return"Portal";case Hs:return"Profiler";case bo:return"StrictMode";case st:return"Suspense";case dt:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case te:var u=a;return $I(u)+".Consumer";case Ko:var A=a;return $I(A._context)+".Provider";case Ye:return Vm(a,a.render,"ForwardRef");case nr:var g=a.displayName||null;return g!==null?g:wr(a.type)||"Memo";case Nt:{var C=a,m=C._payload,R=C._init;try{return wr(R(m))}catch{return null}}}return null}function cF(a,u,A){var g=u.displayName||u.name||"";return a.displayName||(g!==""?A+"("+g+")":A)}function Xs(a){return a.displayName||"Context"}function Wt(a){var u=a.tag,A=a.type;switch(u){case re:return"Cache";case S:var g=A;return Xs(g)+".Consumer";case F:var C=A;return Xs(C._context)+".Provider";case b:return"DehydratedFragment";case y:return cF(A,A.render,"ForwardRef");case Q:return"Fragment";case f:return A;case p:return"Portal";case I:return"Root";case B:return"Text";case H:return wr(A);case w:return A===bo?"StrictMode":"Mode";case W:return"Offscreen";case D:return"Profiler";case $:return"Scope";case x:return"Suspense";case P:return"SuspenseList";case Ae:return"TracingMarker";case E:case c:case Z:case h:case v:case K:if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;break}return null}var eC=r.ReactDebugCurrentFrame,Hi=null,Qc=!1;function al(){{if(Hi===null)return null;var a=Hi._debugOwner;if(a!==null&&typeof a<"u")return Wt(a)}return null}function AF(){return Hi===null?"":mc(Hi)}function ei(){eC.getCurrentStack=null,Hi=null,Qc=!1}function hn(a){eC.getCurrentStack=a===null?null:AF,Hi=a,Qc=!1}function Lm(){return Hi}function Aa(a){Qc=a}function Pi(a){return""+a}function va(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return Ce(a),a;default:return""}}var EF={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function tC(a,u){EF[u.type]||u.onChange||u.onInput||u.readOnly||u.disabled||u.value==null||s("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`."),u.onChange||u.readOnly||u.disabled||u.checked==null||s("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 Wm(a){var u=a.type,A=a.nodeName;return A&&A.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function rC(a){return a._valueTracker}function qE(a){a._valueTracker=null}function hF(a){var u="";return a&&(Wm(a)?u=a.checked?"true":"false":u=a.value),u}function sl(a){var u=Wm(a)?"checked":"value",A=Object.getOwnPropertyDescriptor(a.constructor.prototype,u);Ce(a[u]);var g=""+a[u];if(!(a.hasOwnProperty(u)||typeof A>"u"||typeof A.get!="function"||typeof A.set!="function")){var C=A.get,m=A.set;Object.defineProperty(a,u,{configurable:!0,get:function(){return C.call(this)},set:function(k){Ce(k),g=""+k,m.call(this,k)}}),Object.defineProperty(a,u,{enumerable:A.enumerable});var R={getValue:function(){return g},setValue:function(k){Ce(k),g=""+k},stopTracking:function(){qE(a),delete a[u]}};return R}}function wc(a){rC(a)||(a._valueTracker=sl(a))}function nC(a){if(!a)return!1;var u=rC(a);if(!u)return!0;var A=u.getValue(),g=hF(a);return g!==A?(u.setValue(g),!0):!1}function _s(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var YE=!1,bE=!1,KE=!1,jm=!1;function zm(a){var u=a.type==="checkbox"||a.type==="radio";return u?a.checked!=null:a.value!=null}function iC(a,u){var A=a,g=u.checked,C=$t({},u,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:g??A._wrapperState.initialChecked});return C}function Zm(a,u){tC("input",u),u.checked!==void 0&&u.defaultChecked!==void 0&&!bE&&(s("%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",al()||"A component",u.type),bE=!0),u.value!==void 0&&u.defaultValue!==void 0&&!YE&&(s("%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",al()||"A component",u.type),YE=!0);var A=a,g=u.defaultValue==null?"":u.defaultValue;A._wrapperState={initialChecked:u.checked!=null?u.checked:u.defaultChecked,initialValue:va(u.value!=null?u.value:g),controlled:zm(u)}}function Y(a,u){var A=a,g=u.checked;g!=null&&Yo(A,"checked",g,!1)}function ee(a,u){var A=a;{var g=zm(u);!A._wrapperState.controlled&&g&&!jm&&(s("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"),jm=!0),A._wrapperState.controlled&&!g&&!KE&&(s("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"),KE=!0)}Y(a,u);var C=va(u.value),m=u.type;if(C!=null)m==="number"?(C===0&&A.value===""||A.value!=C)&&(A.value=Pi(C)):A.value!==Pi(C)&&(A.value=Pi(C));else if(m==="submit"||m==="reset"){A.removeAttribute("value");return}u.hasOwnProperty("value")?Tt(A,u.type,C):u.hasOwnProperty("defaultValue")&&Tt(A,u.type,va(u.defaultValue)),u.checked==null&&u.defaultChecked!=null&&(A.defaultChecked=!!u.defaultChecked)}function me(a,u,A){var g=a;if(u.hasOwnProperty("value")||u.hasOwnProperty("defaultValue")){var C=u.type,m=C==="submit"||C==="reset";if(m&&(u.value===void 0||u.value===null))return;var R=Pi(g._wrapperState.initialValue);A||R!==g.value&&(g.value=R),g.defaultValue=R}var k=g.name;k!==""&&(g.name=""),g.defaultChecked=!g.defaultChecked,g.defaultChecked=!!g._wrapperState.initialChecked,k!==""&&(g.name=k)}function De(a,u){var A=a;ee(A,u),$e(A,u)}function $e(a,u){var A=u.name;if(u.type==="radio"&&A!=null){for(var g=a;g.parentNode;)g=g.parentNode;wt(A,"name");for(var C=g.querySelectorAll("input[name="+JSON.stringify(""+A)+'][type="radio"]'),m=0;m.")))}):u.dangerouslySetInnerHTML!=null&&(Ar||(Ar=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),u.selected!=null&&!mt&&(s("Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",A,Yn())}}}}function $s(a,u,A,g){var C=a.options;if(u){for(var m=A,R={},k=0;k.");var g=$t({},u,{value:void 0,defaultValue:void 0,children:Pi(A._wrapperState.initialValue)});return g}function KW(a,u){var A=a;tC("textarea",u),u.value!==void 0&&u.defaultValue!==void 0&&!bW&&(s("%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",al()||"A component"),bW=!0);var g=u.value;if(g==null){var C=u.children,m=u.defaultValue;if(C!=null){s("Use the `defaultValue` or `value` props instead of setting children on