@animuz/embed 0.2.2-rc12.2 → 0.2.2-rc13
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(
|
|
1
|
+
!function(et,ve){"object"==typeof exports&&typeof module<"u"?ve(exports):"function"==typeof define&&define.amd?define(["exports"],ve):ve((et=typeof globalThis<"u"?globalThis:et||self).EmbeddedAnimuz={})}(this,(function(et){"use strict";var gd,wd,Fw=Object.defineProperty,Bd=(et,ve,kn)=>((et,ve,kn)=>ve in et?Fw(et,ve,{enumerable:!0,configurable:!0,writable:!0,value:kn}):et[ve]=kn)(et,"symbol"!=typeof ve?ve+"":ve,kn);function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kn={exports:{}},Ir={},Da={exports:{}},B={},Fu=Symbol.for("react.element"),Ud=Symbol.for("react.portal"),Vd=Symbol.for("react.fragment"),Zd=Symbol.for("react.strict_mode"),qd=Symbol.for("react.profiler"),Wd=Symbol.for("react.provider"),Gd=Symbol.for("react.context"),Qd=Symbol.for("react.forward_ref"),Yd=Symbol.for("react.suspense"),Xd=Symbol.for("react.memo"),Kd=Symbol.for("react.lazy"),Fa=Symbol.iterator;
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react.production.min.js
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var Na={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ma=Object.assign,La={};function
|
|
10
|
+
*/var Na={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ma=Object.assign,La={};function Bn(e,t,n){this.props=e,this.context=t,this.refs=La,this.updater=n||Na}function ja(){}function ko(e,t,n){this.props=e,this.context=t,this.refs=La,this.updater=n||Na}Bn.prototype.isReactComponent={},Bn.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Bn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},ja.prototype=Bn.prototype;var Co=ko.prototype=new ja;Co.constructor=ko,Ma(Co,Bn.prototype),Co.isPureReactComponent=!0;var Oa=Array.isArray,Pa=Object.prototype.hasOwnProperty,So={current:null},Ra={key:!0,ref:!0,__self:!0,__source:!0};function Ia(e,t,n){var u,r={},o=null,l=null;if(null!=t)for(u in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(o=""+t.key),t)Pa.call(t,u)&&!Ra.hasOwnProperty(u)&&(r[u]=t[u]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];r.children=a}if(e&&e.defaultProps)for(u in i=e.defaultProps)void 0===r[u]&&(r[u]=i[u]);return{$$typeof:Fu,type:e,key:o,ref:l,props:r,_owner:So.current}}function Ao(e){return"object"==typeof e&&null!==e&&e.$$typeof===Fu}var za=/\/+/g;function To(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(n){return t[n]}))}(""+e.key):t.toString(36)}function zr(e,t,n,u,r){var o=typeof e;("undefined"===o||"boolean"===o)&&(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Fu:case Ud:l=!0}}if(l)return r=r(l=e),e=""===u?"."+To(l,0):u,Oa(r)?(n="",null!=e&&(n=e.replace(za,"$&/")+"/"),zr(r,t,n,"",(function(s){return s}))):null!=r&&(Ao(r)&&(r=function(e,t){return{$$typeof:Fu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(r,n+(!r.key||l&&l.key===r.key?"":(""+r.key).replace(za,"$&/")+"/")+e)),t.push(r)),1;if(l=0,u=""===u?".":u+":",Oa(e))for(var i=0;i<e.length;i++){var a=u+To(o=e[i],i);l+=zr(o,t,n,a,r)}else if(a=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Fa&&e[Fa]||e["@@iterator"])?e:null}(e),"function"==typeof a)for(e=a.call(e),i=0;!(o=e.next()).done;)l+=zr(o=o.value,t,n,a=u+To(o,i++),r);else if("object"===o)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Hr(e,t,n){if(null==e)return e;var u=[],r=0;return zr(e,u,"","",(function(o){return t.call(n,o,r++)})),u}function np(e){if(-1===e._status){var t=e._result;(t=t()).then((function(n){(0===e._status||-1===e._status)&&(e._status=1,e._result=n)}),(function(n){(0===e._status||-1===e._status)&&(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var De={current:null},$r={transition:null},up={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:$r,ReactCurrentOwner:So};function Ha(){throw Error("act(...) is not supported in production builds of React.")}B.Children={map:Hr,forEach:function(e,t,n){Hr(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Hr(e,(function(){t++})),t},toArray:function(e){return Hr(e,(function(t){return t}))||[]},only:function(e){if(!Ao(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},B.Component=Bn,B.Fragment=Vd,B.Profiler=qd,B.PureComponent=ko,B.StrictMode=Zd,B.Suspense=Yd,B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=up,B.act=Ha,B.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var u=Ma({},e.props),r=e.key,o=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,l=So.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(a in t)Pa.call(t,a)&&!Ra.hasOwnProperty(a)&&(u[a]=void 0===t[a]&&void 0!==i?i[a]:t[a])}var a=arguments.length-2;if(1===a)u.children=n;else if(1<a){i=Array(a);for(var s=0;s<a;s++)i[s]=arguments[s+2];u.children=i}return{$$typeof:Fu,type:e.type,key:r,ref:o,props:u,_owner:l}},B.createContext=function(e){return(e={$$typeof:Gd,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:Wd,_context:e},e.Consumer=e},B.createElement=Ia,B.createFactory=function(e){var t=Ia.bind(null,e);return t.type=e,t},B.createRef=function(){return{current:null}},B.forwardRef=function(e){return{$$typeof:Qd,render:e}},B.isValidElement=Ao,B.lazy=function(e){return{$$typeof:Kd,_payload:{_status:-1,_result:e},_init:np}},B.memo=function(e,t){return{$$typeof:Xd,type:e,compare:void 0===t?null:t}},B.startTransition=function(e){var t=$r.transition;$r.transition={};try{e()}finally{$r.transition=t}},B.unstable_act=Ha,B.useCallback=function(e,t){return De.current.useCallback(e,t)},B.useContext=function(e){return De.current.useContext(e)},B.useDebugValue=function(){},B.useDeferredValue=function(e){return De.current.useDeferredValue(e)},B.useEffect=function(e,t){return De.current.useEffect(e,t)},B.useId=function(){return De.current.useId()},B.useImperativeHandle=function(e,t,n){return De.current.useImperativeHandle(e,t,n)},B.useInsertionEffect=function(e,t){return De.current.useInsertionEffect(e,t)},B.useLayoutEffect=function(e,t){return De.current.useLayoutEffect(e,t)},B.useMemo=function(e,t){return De.current.useMemo(e,t)},B.useReducer=function(e,t,n){return De.current.useReducer(e,t,n)},B.useRef=function(e){return De.current.useRef(e)},B.useState=function(e){return De.current.useState(e)},B.useSyncExternalStore=function(e,t,n){return De.current.useSyncExternalStore(e,t,n)},B.useTransition=function(){return De.current.useTransition()},B.version="18.3.1",Da.exports=B;var E=Da.exports;const g=ve(E);
|
|
11
11
|
/**
|
|
12
12
|
* @license React
|
|
13
13
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
* This source code is licensed under the MIT license found in the
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/var
|
|
19
|
+
*/var rp=E,op=Symbol.for("react.element"),lp=Symbol.for("react.fragment"),ip=Object.prototype.hasOwnProperty,ap=rp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,sp={key:!0,ref:!0,__self:!0,__source:!0};function $a(e,t,n){var u,r={},o=null,l=null;for(u in void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),void 0!==t.ref&&(l=t.ref),t)ip.call(t,u)&&!sp.hasOwnProperty(u)&&(r[u]=t[u]);if(e&&e.defaultProps)for(u in t=e.defaultProps)void 0===r[u]&&(r[u]=t[u]);return{$$typeof:op,type:e,key:o,ref:l,props:r,_owner:ap.current}}Ir.Fragment=lp,Ir.jsx=$a,Ir.jsxs=$a,kn.exports=Ir;var p=kn.exports,Do={},Ba={exports:{}},Ze={},Ua={exports:{}},Va={};
|
|
20
20
|
/**
|
|
21
21
|
* @license React
|
|
22
22
|
* scheduler.production.min.js
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*
|
|
26
26
|
* This source code is licensed under the MIT license found in the
|
|
27
27
|
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/(function(e){function t(N,
|
|
28
|
+
*/(function(e){function t(N,I){var z=N.length;N.push(I);e:for(;0<z;){var $=z-1>>>1,ue=N[$];if(!(0<r(ue,I)))break e;N[$]=I,N[z]=ue,z=$}}function n(N){return 0===N.length?null:N[0]}function u(N){if(0===N.length)return null;var I=N[0],z=N.pop();if(z!==I){N[0]=z;e:for(var $=0,ue=N.length,Y=ue>>>1;$<Y;){var dt=2*($+1)-1,W=N[dt],Z=dt+1,Ue=N[Z];if(0>r(W,z))Z<ue&&0>r(Ue,W)?(N[$]=Ue,N[Z]=z,$=Z):(N[$]=W,N[dt]=z,$=dt);else{if(!(Z<ue&&0>r(Ue,z)))break e;N[$]=Ue,N[Z]=z,$=Z}}}return I}function r(N,I){var z=N.sortIndex-I.sortIndex;return 0!==z?z:N.id-I.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,i=l.now();e.unstable_now=function(){return l.now()-i}}var a=[],s=[],c=1,d=null,h=3,w=!1,m=!1,x=!1,S="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;function v(N){for(var I=n(s);null!==I;){if(null===I.callback)u(s);else{if(!(I.startTime<=N))break;u(s),I.sortIndex=I.expirationTime,t(a,I)}I=n(s)}}function _(N){if(x=!1,v(N),!m)if(null!==n(a))m=!0,Et(k);else{var I=n(s);null!==I&&En(_,I.startTime-N)}}function k(N,I){m=!1,x&&(x=!1,y(F),F=-1),w=!0;var z=h;try{for(v(I),d=n(a);null!==d&&(!(d.expirationTime>I)||N&&!P());){var $=d.callback;if("function"==typeof $){d.callback=null,h=d.priorityLevel;var ue=$(d.expirationTime<=I);I=e.unstable_now(),"function"==typeof ue?d.callback=ue:d===n(a)&&u(a),v(I)}else u(a);d=n(a)}if(null!==d)var Y=!0;else{var dt=n(s);null!==dt&&En(_,dt.startTime-I),Y=!1}return Y}finally{d=null,h=z,w=!1}}typeof navigator<"u"&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var Je,C=!1,A=null,F=-1,R=5,j=-1;function P(){return!(e.unstable_now()-j<R)}function de(){if(null!==A){var N=e.unstable_now();j=N;var I=!0;try{I=A(!0,N)}finally{I?Je():(C=!1,A=null)}}else C=!1}if("function"==typeof f)Je=function(){f(de)};else if(typeof MessageChannel<"u"){var ct=new MessageChannel,ft=ct.port2;ct.port1.onmessage=de,Je=function(){ft.postMessage(null)}}else Je=function(){S(de,0)};function Et(N){A=N,C||(C=!0,Je())}function En(N,I){F=S((function(){N(e.unstable_now())}),I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){m||w||(m=!0,Et(k))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(N){switch(h){case 1:case 2:case 3:var I=3;break;default:I=h}var z=h;h=I;try{return N()}finally{h=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,I){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var z=h;h=N;try{return I()}finally{h=z}},e.unstable_scheduleCallback=function(N,I,z){var $=e.unstable_now();switch("object"==typeof z&&null!==z?z="number"==typeof(z=z.delay)&&0<z?$+z:$:z=$,N){case 1:var ue=-1;break;case 2:ue=250;break;case 5:ue=1073741823;break;case 4:ue=1e4;break;default:ue=5e3}return N={id:c++,callback:I,priorityLevel:N,startTime:z,expirationTime:ue=z+ue,sortIndex:-1},z>$?(N.sortIndex=z,t(s,N),null===n(a)&&N===n(s)&&(x?(y(F),F=-1):x=!0,En(_,z-$))):(N.sortIndex=ue,t(a,N),m||w||(m=!0,Et(k))),N},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(N){var I=h;return function(){var z=h;h=I;try{return N.apply(this,arguments)}finally{h=z}}}})(Va),Ua.exports=Va;var cp=Ua.exports,fp=E,qe=cp;
|
|
29
29
|
/**
|
|
30
30
|
* @license React
|
|
31
31
|
* react-dom.production.min.js
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/function A(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Za=new Set,Nu={};function Cn(e,t){Un(e,t),Un(e+"Capture",t)}function Un(e,t){for(Nu[e]=t,e=0;e<t.length;e++)Za.add(t[e])}var jt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fo=Object.prototype.hasOwnProperty,sp=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,qa={},Wa={};function Fe(e,t,n,u,r,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=u,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var we={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){we[e]=new Fe(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];we[t]=new Fe(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){we[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){we[e]=new Fe(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){we[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){we[e]=new Fe(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){we[e]=new Fe(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){we[e]=new Fe(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){we[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)}));var No=/[\-:]([a-z])/g;function Mo(e){return e[1].toUpperCase()}function Lo(e,t,n,u){var r=we.hasOwnProperty(t)?we[t]:null;(null!==r?0!==r.type:u||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,u){if(null===t||typeof t>"u"||function(e,t,n,u){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!u&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,u))return!0;if(u)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,u)&&(n=null),u||null===r?function(e){return!!Fo.call(Wa,e)||!Fo.call(qa,e)&&(sp.test(e)?Wa[e]=!0:(qa[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,u=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,u?e.setAttributeNS(u,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(No,Mo);we[t]=new Fe(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(No,Mo);we[t]=new Fe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(No,Mo);we[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){we[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)})),we.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){we[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Pt=ap.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$r=Symbol.for("react.element"),Vn=Symbol.for("react.portal"),Zn=Symbol.for("react.fragment"),Oo=Symbol.for("react.strict_mode"),jo=Symbol.for("react.profiler"),Ga=Symbol.for("react.provider"),Qa=Symbol.for("react.context"),Po=Symbol.for("react.forward_ref"),Ro=Symbol.for("react.suspense"),Io=Symbol.for("react.suspense_list"),zo=Symbol.for("react.memo"),Xt=Symbol.for("react.lazy"),Ya=Symbol.for("react.offscreen"),Xa=Symbol.iterator;function Mu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Xa&&e[Xa]||e["@@iterator"])?e:null}var Ho,ne=Object.assign;function Lu(e){if(void 0===Ho)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ho=t&&t[1]||""}return"\n"+Ho+e}var Bo=!1;function $o(e,t){if(!e||Bo)return"";Bo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var u=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){u=s}e.call(t.prototype)}else{try{throw Error()}catch(s){u=s}e()}}catch(s){if(s&&u&&"string"==typeof s.stack){for(var r=s.stack.split("\n"),o=u.stack.split("\n"),l=r.length-1,i=o.length-1;1<=l&&0<=i&&r[l]!==o[i];)i--;for(;1<=l&&0<=i;l--,i--)if(r[l]!==o[i]){if(1!==l||1!==i)do{if(l--,0>--i||r[l]!==o[i]){var a="\n"+r[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}}while(1<=l&&0<=i);break}}}finally{Bo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lu(e):""}function pp(e){switch(e.tag){case 5:return Lu(e.type);case 16:return Lu("Lazy");case 13:return Lu("Suspense");case 19:return Lu("SuspenseList");case 0:case 2:case 15:return e=$o(e.type,!1);case 11:return e=$o(e.type.render,!1);case 1:return e=$o(e.type,!0);default:return""}}function Uo(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Zn:return"Fragment";case Vn:return"Portal";case jo:return"Profiler";case Oo:return"StrictMode";case Ro:return"Suspense";case Io:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Qa:return(e.displayName||"Context")+".Consumer";case Ga:return(e._context.displayName||"Context")+".Provider";case Po:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case zo:return null!==(t=e.displayName||null)?t:Uo(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Uo(e(t))}catch{}}return null}function hp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Uo(t);case 8:return t===Oo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ka(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ur(e){e._valueTracker||(e._valueTracker=function(e){var t=Ka(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),u=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){u=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(l){u=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ja(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=Ka(e)?e.checked?"true":"false":e.value),(e=u)!==n&&(t.setValue(e),!0)}function Vr(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vo(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function es(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=Kt(null!=t.value?t.value:n),e._wrapperState={initialChecked:u,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ts(e,t){null!=(t=t.checked)&&Lo(e,"checked",t,!1)}function Zo(e,t){ts(e,t);var n=Kt(t.value),u=t.type;if(null!=n)"number"===u?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===u||"reset"===u)return void e.removeAttribute("value");t.hasOwnProperty("value")?qo(e,t.type,n):t.hasOwnProperty("defaultValue")&&qo(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ns(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!("submit"!==u&&"reset"!==u||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function qo(e,t,n){("number"!==t||Vr(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ou=Array.isArray;function qn(e,t,n,u){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&u&&(e[n].defaultSelected=!0)}else{for(n=""+Kt(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(u&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Wo(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(A(91));return ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function us(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(A(92));if(Ou(n)){if(1<n.length)throw Error(A(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Kt(n)}}function rs(e,t){var n=Kt(t.value),u=Kt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=u&&(e.defaultValue=""+u)}function os(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ls(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Go(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ls(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Zr,e,is=(e=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Zr=Zr||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Zr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,u,r){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e);function ju(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Pu={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},gp=["Webkit","ms","Moz","O"];function as(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Pu.hasOwnProperty(e)&&Pu[e]?(""+t).trim():t+"px"}function ss(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=as(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(Pu).forEach((function(e){gp.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pu[t]=Pu[e]}))}));var wp=ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Qo(e,t){if(t){if(wp[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(A(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(A(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(A(62))}}function Yo(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 Xo=null;function Ko(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Jo=null,Wn=null,Gn=null;function cs(e){if(e=rr(e)){if("function"!=typeof Jo)throw Error(A(280));var t=e.stateNode;t&&(t=h0(t),Jo(e.stateNode,e.type,t))}}function fs(e){Wn?Gn?Gn.push(e):Gn=[e]:Wn=e}function ds(){if(Wn){var e=Wn,t=Gn;if(Gn=Wn=null,cs(e),t)for(e=0;e<t.length;e++)cs(t[e])}}function ps(e,t){return e(t)}function hs(){}var el=!1;function ms(e,t,n){if(el)return e(t,n);el=!0;try{return ps(e,t,n)}finally{el=!1,(null!==Wn||null!==Gn)&&(hs(),ds())}}function Ru(e,t){var n=e.stateNode;if(null===n)return null;var u=h0(n);if(null===u)return null;n=u[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(u=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!u;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(A(231,t,typeof n));return n}var tl=!1;if(jt)try{var Iu={};Object.defineProperty(Iu,"passive",{get:function(){tl=!0}}),window.addEventListener("test",Iu,Iu),window.removeEventListener("test",Iu,Iu)}catch{tl=!1}function vp(e,t,n,u,r,o,l,i,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var zu=!1,qr=null,Wr=!1,nl=null,yp={onError:function(e){zu=!0,qr=e}};function xp(e,t,n,u,r,o,l,i,a){zu=!1,qr=null,vp.apply(yp,arguments)}function Sn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{4098&(t=e).flags&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function gs(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function ws(e){if(Sn(e)!==e)throw Error(A(188))}function vs(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Sn(e)))throw Error(A(188));return t!==e?null:e}for(var n=e,u=t;;){var r=n.return;if(null===r)break;var o=r.alternate;if(null===o){if(null!==(u=r.return)){n=u;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return ws(r),e;if(o===u)return ws(r),t;o=o.sibling}throw Error(A(188))}if(n.return!==u.return)n=r,u=o;else{for(var l=!1,i=r.child;i;){if(i===n){l=!0,n=r,u=o;break}if(i===u){l=!0,u=r,n=o;break}i=i.sibling}if(!l){for(i=o.child;i;){if(i===n){l=!0,n=o,u=r;break}if(i===u){l=!0,u=o,n=r;break}i=i.sibling}if(!l)throw Error(A(189))}}if(n.alternate!==u)throw Error(A(190))}if(3!==n.tag)throw Error(A(188));return n.stateNode.current===n?e:t}(e))?ys(e):null}function ys(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=ys(e);if(null!==t)return t;e=e.sibling}return null}var xs=Ge.unstable_scheduleCallback,bs=Ge.unstable_cancelCallback,Ep=Ge.unstable_shouldYield,kp=Ge.unstable_requestPaint,ie=Ge.unstable_now,Cp=Ge.unstable_getCurrentPriorityLevel,ul=Ge.unstable_ImmediatePriority,_s=Ge.unstable_UserBlockingPriority,Gr=Ge.unstable_NormalPriority,Sp=Ge.unstable_LowPriority,Es=Ge.unstable_IdlePriority,Qr=null,_t=null;var ft=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Tp(e)/Dp|0)|0},Tp=Math.log,Dp=Math.LN2;var Yr=64,Xr=4194304;function Hu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Kr(e,t){var n=e.pendingLanes;if(0===n)return 0;var u=0,r=e.suspendedLanes,o=e.pingedLanes,l=268435455&n;if(0!==l){var i=l&~r;0!==i?u=Hu(i):0!==(o&=l)&&(u=Hu(o))}else 0!==(l=n&~r)?u=Hu(l):0!==o&&(u=Hu(o));if(0===u)return 0;if(0!==t&&t!==u&&!(t&r)&&((r=u&-u)>=(o=t&-t)||16===r&&4194240&o))return t;if(4&u&&(u|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=u;0<t;)r=1<<(n=31-ft(t)),u|=e[n],t&=~r;return u}function Np(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function rl(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ks(){var e=Yr;return!(4194240&(Yr<<=1))&&(Yr=64),e}function ol(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Bu(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ft(t)]=n}function ll(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-ft(n),r=1<<u;r&t|e[u]&t&&(e[u]|=t),n&=~r}}var q=0;function Cs(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Ss,il,As,Ts,Ds,al=!1,Jr=[],Jt=null,en=null,tn=null,$u=new Map,Uu=new Map,nn=[],Op="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".split(" ");function Fs(e,t){switch(e){case"focusin":case"focusout":Jt=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":tn=null;break;case"pointerover":case"pointerout":$u.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Uu.delete(t.pointerId)}}function Vu(e,t,n,u,r,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:o,targetContainers:[r]},null!==t&&(null!==(t=rr(t))&&il(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function Ns(e){var t=An(e.target);if(null!==t){var n=Sn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=gs(n)))return e.blockedOn=t,void Ds(e.priority,(function(){As(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function e0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rr(n))&&il(t),e.blockedOn=n,!1;var u=new(n=e.nativeEvent).constructor(n.type,n);Xo=u,n.target.dispatchEvent(u),Xo=null,t.shift()}return!0}function Ms(e,t,n){e0(e)&&n.delete(t)}function Pp(){al=!1,null!==Jt&&e0(Jt)&&(Jt=null),null!==en&&e0(en)&&(en=null),null!==tn&&e0(tn)&&(tn=null),$u.forEach(Ms),Uu.forEach(Ms)}function Zu(e,t){e.blockedOn===t&&(e.blockedOn=null,al||(al=!0,Ge.unstable_scheduleCallback(Ge.unstable_NormalPriority,Pp)))}function qu(e){function t(r){return Zu(r,e)}if(0<Jr.length){Zu(Jr[0],e);for(var n=1;n<Jr.length;n++){var u=Jr[n];u.blockedOn===e&&(u.blockedOn=null)}}for(null!==Jt&&Zu(Jt,e),null!==en&&Zu(en,e),null!==tn&&Zu(tn,e),$u.forEach(t),Uu.forEach(t),n=0;n<nn.length;n++)(u=nn[n]).blockedOn===e&&(u.blockedOn=null);for(;0<nn.length&&null===(n=nn[0]).blockedOn;)Ns(n),null===n.blockedOn&&nn.shift()}var Qn=Pt.ReactCurrentBatchConfig,t0=!0;function Rp(e,t,n,u){var r=q,o=Qn.transition;Qn.transition=null;try{q=1,sl(e,t,n,u)}finally{q=r,Qn.transition=o}}function Ip(e,t,n,u){var r=q,o=Qn.transition;Qn.transition=null;try{q=4,sl(e,t,n,u)}finally{q=r,Qn.transition=o}}function sl(e,t,n,u){if(t0){var r=cl(e,t,n,u);if(null===r)Al(e,t,u,n0,n),Fs(e,u);else if(function(e,t,n,u,r){switch(t){case"focusin":return Jt=Vu(Jt,e,t,n,u,r),!0;case"dragenter":return en=Vu(en,e,t,n,u,r),!0;case"mouseover":return tn=Vu(tn,e,t,n,u,r),!0;case"pointerover":var o=r.pointerId;return $u.set(o,Vu($u.get(o)||null,e,t,n,u,r)),!0;case"gotpointercapture":return o=r.pointerId,Uu.set(o,Vu(Uu.get(o)||null,e,t,n,u,r)),!0}return!1}(r,e,t,n,u))u.stopPropagation();else if(Fs(e,u),4&t&&-1<Op.indexOf(e)){for(;null!==r;){var o=rr(r);if(null!==o&&Ss(o),null===(o=cl(e,t,n,u))&&Al(e,t,u,n0,n),o===r)break;r=o}null!==r&&u.stopPropagation()}else Al(e,t,u,null,n)}}var n0=null;function cl(e,t,n,u){if(n0=null,null!==(e=An(e=Ko(u))))if(null===(t=Sn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=gs(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return n0=e,null}function Ls(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 1;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 4;case"message":switch(Cp()){case ul:return 1;case _s:return 4;case Gr:case Sp:return 16;case Es:return 536870912;default:return 16}default:return 16}}var un=null,fl=null,u0=null;function Os(){if(u0)return u0;var e,u,t=fl,n=t.length,r="value"in un?un.value:un.textContent,o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var l=n-e;for(u=1;u<=l&&t[n-u]===r[o-u];u++);return u0=r.slice(e,1<u?1-u:void 0)}function r0(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function o0(){return!0}function js(){return!1}function Qe(e){function t(n,u,r,o,l){for(var i in this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=o,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?o0:js,this.isPropagationStopped=js,this}return ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():"unknown"!=typeof n.returnValue&&(n.returnValue=!1),this.isDefaultPrevented=o0)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():"unknown"!=typeof n.cancelBubble&&(n.cancelBubble=!0),this.isPropagationStopped=o0)},persist:function(){},isPersistent:o0}),t}var pl,hl,Gu,Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dl=Qe(Yn),Wu=ne({},Yn,{view:0,detail:0}),zp=Qe(Wu),l0=ne({},Wu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gl,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Gu&&(Gu&&"mousemove"===e.type?(pl=e.screenX-Gu.screenX,hl=e.screenY-Gu.screenY):hl=pl=0,Gu=e),pl)},movementY:function(e){return"movementY"in e?e.movementY:hl}}),Ps=Qe(l0),Bp=Qe(ne({},l0,{dataTransfer:0})),ml=Qe(ne({},Wu,{relatedTarget:0})),Vp=Qe(ne({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0})),Zp=ne({},Yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qp=Qe(Zp),Rs=Qe(ne({},Yn,{data:0})),Gp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qp={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"},Yp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Yp[e])&&!!t[e]}function gl(){return Xp}var Kp=ne({},Wu,{key:function(e){if(e.key){var t=Gp[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=r0(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Qp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gl,charCode:function(e){return"keypress"===e.type?r0(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?r0(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Jp=Qe(Kp),Is=Qe(ne({},l0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),n3=Qe(ne({},Wu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gl})),r3=Qe(ne({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0})),o3=ne({},l0,{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}),l3=Qe(o3),i3=[9,13,27,32],wl=jt&&"CompositionEvent"in window,Qu=null;jt&&"documentMode"in document&&(Qu=document.documentMode);var a3=jt&&"TextEvent"in window&&!Qu,zs=jt&&(!wl||Qu&&8<Qu&&11>=Qu),Hs=" ",Bs=!1;function $s(e,t){switch(e){case"keyup":return-1!==i3.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Us(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xn=!1;var f3={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 Vs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!f3[e.type]:"textarea"===t}function Zs(e,t,n,u){fs(u),0<(t=f0(t,"onChange")).length&&(n=new dl("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var Yu=null,Xu=null;function d3(e){sc(e,0)}function i0(e){if(Ja(nu(e)))return e}function p3(e,t){if("change"===e)return t}var qs=!1;if(jt){var vl;if(jt){var yl="oninput"in document;if(!yl){var Ws=document.createElement("div");Ws.setAttribute("oninput","return;"),yl="function"==typeof Ws.oninput}vl=yl}else vl=!1;qs=vl&&(!document.documentMode||9<document.documentMode)}function Gs(){Yu&&(Yu.detachEvent("onpropertychange",Qs),Xu=Yu=null)}function Qs(e){if("value"===e.propertyName&&i0(Xu)){var t=[];Zs(t,Xu,e,Ko(e)),ms(d3,t)}}function h3(e,t,n){"focusin"===e?(Gs(),Xu=n,(Yu=t).attachEvent("onpropertychange",Qs)):"focusout"===e&&Gs()}function m3(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return i0(Xu)}function g3(e,t){if("click"===e)return i0(t)}function w3(e,t){if("input"===e||"change"===e)return i0(t)}var dt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ku(e,t){if(dt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),u=Object.keys(t);if(n.length!==u.length)return!1;for(u=0;u<n.length;u++){var r=n[u];if(!Fo.call(t,r)||!dt(e[r],t[r]))return!1}return!0}function Ys(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xs(e,t){var u,n=Ys(e);for(e=0;n;){if(3===n.nodeType){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ys(n)}}function Ks(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ks(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Js(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Vr((e=t.contentWindow).document)}return t}function xl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function y3(e){var t=Js(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ks(n.ownerDocument.documentElement,n)){if(null!==u&&xl(n))if(t=u.start,void 0===(e=u.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=n.textContent.length,o=Math.min(u.start,r);u=void 0===u.end?o:Math.min(u.end,r),!e.extend&&o>u&&(r=u,u=o,o=r),r=Xs(n,o);var l=Xs(n,u);r&&l&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),o>u?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var x3=jt&&"documentMode"in document&&11>=document.documentMode,Kn=null,bl=null,Ju=null,_l=!1;function ec(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_l||null==Kn||Kn!==Vr(u)||("selectionStart"in(u=Kn)&&xl(u)?u={start:u.selectionStart,end:u.selectionEnd}:u={anchorNode:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset},Ju&&Ku(Ju,u)||(Ju=u,0<(u=f0(bl,"onSelect")).length&&(t=new dl("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=Kn)))}function a0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jn={animationend:a0("Animation","AnimationEnd"),animationiteration:a0("Animation","AnimationIteration"),animationstart:a0("Animation","AnimationStart"),transitionend:a0("Transition","TransitionEnd")},El={},tc={};function s0(e){if(El[e])return El[e];if(!Jn[e])return e;var n,t=Jn[e];for(n in t)if(t.hasOwnProperty(n)&&n in tc)return El[e]=t[n];return e}jt&&(tc=document.createElement("div").style,"AnimationEvent"in window||(delete Jn.animationend.animation,delete Jn.animationiteration.animation,delete Jn.animationstart.animation),"TransitionEvent"in window||delete Jn.transitionend.transition);var nc=s0("animationend"),uc=s0("animationiteration"),rc=s0("animationstart"),oc=s0("transitionend"),lc=new Map,ic="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".split(" ");function rn(e,t){lc.set(e,t),Cn(t,[e])}for(var kl=0;kl<ic.length;kl++){var Cl=ic[kl];rn(Cl.toLowerCase(),"on"+(Cl[0].toUpperCase()+Cl.slice(1)))}rn(nc,"onAnimationEnd"),rn(uc,"onAnimationIteration"),rn(rc,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(oc,"onTransitionEnd"),Un("onMouseEnter",["mouseout","mouseover"]),Un("onMouseLeave",["mouseout","mouseover"]),Un("onPointerEnter",["pointerout","pointerover"]),Un("onPointerLeave",["pointerout","pointerover"]),Cn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var er="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),E3=new Set("cancel close invalid load scroll toggle".split(" ").concat(er));function ac(e,t,n){var u=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,u,r,o,l,i,a){if(xp.apply(this,arguments),zu){if(!zu)throw Error(A(198));var s=qr;zu=!1,qr=null,Wr||(Wr=!0,nl=s)}}(u,t,void 0,e),e.currentTarget=null}function sc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var u=e[n],r=u.event;u=u.listeners;e:{var o=void 0;if(t)for(var l=u.length-1;0<=l;l--){var i=u[l],a=i.instance,s=i.currentTarget;if(i=i.listener,a!==o&&r.isPropagationStopped())break e;ac(r,i,s),o=a}else for(l=0;l<u.length;l++){if(a=(i=u[l]).instance,s=i.currentTarget,i=i.listener,a!==o&&r.isPropagationStopped())break e;ac(r,i,s),o=a}}}if(Wr)throw e=nl,Wr=!1,nl=null,e}function X(e,t){var n=t[Ll];void 0===n&&(n=t[Ll]=new Set);var u=e+"__bubble";n.has(u)||(cc(t,e,2,!1),n.add(u))}function Sl(e,t,n){var u=0;t&&(u|=4),cc(n,e,u,t)}var c0="_reactListening"+Math.random().toString(36).slice(2);function tr(e){if(!e[c0]){e[c0]=!0,Za.forEach((function(n){"selectionchange"!==n&&(E3.has(n)||Sl(n,!1,e),Sl(n,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[c0]||(t[c0]=!0,Sl("selectionchange",!1,t))}}function cc(e,t,n,u){switch(Ls(t)){case 1:var r=Rp;break;case 4:r=Ip;break;default:r=sl}n=r.bind(null,t,n,e),r=void 0,!tl||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),u?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Al(e,t,n,u,r){var o=u;if(!(1&t||2&t||null===u))e:for(;;){if(null===u)return;var l=u.tag;if(3===l||4===l){var i=u.stateNode.containerInfo;if(i===r||8===i.nodeType&&i.parentNode===r)break;if(4===l)for(l=u.return;null!==l;){var a=l.tag;if((3===a||4===a)&&((a=l.stateNode.containerInfo)===r||8===a.nodeType&&a.parentNode===r))return;l=l.return}for(;null!==i;){if(null===(l=An(i)))return;if(5===(a=l.tag)||6===a){u=o=l;continue e}i=i.parentNode}}u=u.return}ms((function(){var s=o,c=Ko(n),f=[];e:{var g=lc.get(e);if(void 0!==g){var v=dl,d=e;switch(e){case"keypress":if(0===r0(n))break e;case"keydown":case"keyup":v=Jp;break;case"focusin":d="focus",v=ml;break;case"focusout":d="blur",v=ml;break;case"beforeblur":case"afterblur":v=ml;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=Ps;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Bp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=n3;break;case nc:case uc:case rc:v=Vp;break;case oc:v=r3;break;case"scroll":v=zp;break;case"wheel":v=l3;break;case"copy":case"cut":case"paste":v=qp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=Is}var _=!!(4&t),S=!_&&"scroll"===e,h=_?null!==g?g+"Capture":null:g;_=[];for(var w,p=s;null!==p;){var b=(w=p).stateNode;if(5===w.tag&&null!==b&&(w=b,null!==h&&(null!=(b=Ru(p,h))&&_.push(nr(p,b,w)))),S)break;p=p.return}0<_.length&&(g=new v(g,d,null,n,c),f.push({event:g,listeners:_}))}}if(!(7&t)){if(v="mouseout"===e||"pointerout"===e,(!(g="mouseover"===e||"pointerover"===e)||n===Xo||!(d=n.relatedTarget||n.fromElement)||!An(d)&&!d[Rt])&&(v||g)&&(g=c.window===c?c:(g=c.ownerDocument)?g.defaultView||g.parentWindow:window,v?(v=s,null!==(d=(d=n.relatedTarget||n.toElement)?An(d):null)&&(d!==(S=Sn(d))||5!==d.tag&&6!==d.tag)&&(d=null)):(v=null,d=s),v!==d)){if(_=Ps,b="onMouseLeave",h="onMouseEnter",p="mouse",("pointerout"===e||"pointerover"===e)&&(_=Is,b="onPointerLeave",h="onPointerEnter",p="pointer"),S=null==v?g:nu(v),w=null==d?g:nu(d),(g=new _(b,p+"leave",v,n,c)).target=S,g.relatedTarget=w,b=null,An(c)===s&&((_=new _(h,p+"enter",d,n,c)).target=w,_.relatedTarget=S,b=_),S=b,v&&d)t:{for(h=d,p=0,w=_=v;w;w=eu(w))p++;for(w=0,b=h;b;b=eu(b))w++;for(;0<p-w;)_=eu(_),p--;for(;0<w-p;)h=eu(h),w--;for(;p--;){if(_===h||null!==h&&_===h.alternate)break t;_=eu(_),h=eu(h)}_=null}else _=null;null!==v&&fc(f,g,v,_,!1),null!==d&&null!==S&&fc(f,S,d,_,!0)}if("select"===(v=(g=s?nu(s):window).nodeName&&g.nodeName.toLowerCase())||"input"===v&&"file"===g.type)var C=p3;else if(Vs(g))if(qs)C=w3;else{C=m3;var k=h3}else(v=g.nodeName)&&"input"===v.toLowerCase()&&("checkbox"===g.type||"radio"===g.type)&&(C=g3);switch(C&&(C=C(e,s))?Zs(f,C,n,c):(k&&k(e,g,s),"focusout"===e&&(k=g._wrapperState)&&k.controlled&&"number"===g.type&&qo(g,"number",g.value)),k=s?nu(s):window,e){case"focusin":(Vs(k)||"true"===k.contentEditable)&&(Kn=k,bl=s,Ju=null);break;case"focusout":Ju=bl=Kn=null;break;case"mousedown":_l=!0;break;case"contextmenu":case"mouseup":case"dragend":_l=!1,ec(f,n,c);break;case"selectionchange":if(x3)break;case"keydown":case"keyup":ec(f,n,c)}var T;if(wl)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else Xn?$s(e,n)&&(F="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(F="onCompositionStart");F&&(zs&&"ko"!==n.locale&&(Xn||"onCompositionStart"!==F?"onCompositionEnd"===F&&Xn&&(T=Os()):(fl="value"in(un=c)?un.value:un.textContent,Xn=!0)),0<(k=f0(s,F)).length&&(F=new Rs(F,e,null,n,c),f.push({event:F,listeners:k}),T?F.data=T:null!==(T=Us(n))&&(F.data=T))),(T=a3?function(e,t){switch(e){case"compositionend":return Us(t);case"keypress":return 32!==t.which?null:(Bs=!0,Hs);case"textInput":return(e=t.data)===Hs&&Bs?null:e;default:return null}}(e,n):function(e,t){if(Xn)return"compositionend"===e||!wl&&$s(e,t)?(e=Os(),u0=fl=un=null,Xn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zs&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(s=f0(s,"onBeforeInput")).length&&(c=new Rs("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:s}),c.data=T))}sc(f,t)}))}function nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function f0(e,t){for(var n=t+"Capture",u=[];null!==e;){var r=e,o=r.stateNode;5===r.tag&&null!==o&&(r=o,null!=(o=Ru(e,n))&&u.unshift(nr(e,o,r)),null!=(o=Ru(e,t))&&u.push(nr(e,o,r))),e=e.return}return u}function eu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function fc(e,t,n,u,r){for(var o=t._reactName,l=[];null!==n&&n!==u;){var i=n,a=i.alternate,s=i.stateNode;if(null!==a&&a===u)break;5===i.tag&&null!==s&&(i=s,r?null!=(a=Ru(n,o))&&l.unshift(nr(n,a,i)):r||null!=(a=Ru(n,o))&&l.push(nr(n,a,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var k3=/\r\n?/g,C3=/\u0000|\uFFFD/g;function dc(e){return("string"==typeof e?e:""+e).replace(k3,"\n").replace(C3,"")}function d0(e,t,n){if(t=dc(t),dc(e)!==t&&n)throw Error(A(425))}function p0(){}var Tl=null,Dl=null;function Fl(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Nl="function"==typeof setTimeout?setTimeout:void 0,S3="function"==typeof clearTimeout?clearTimeout:void 0,pc="function"==typeof Promise?Promise:void 0,A3="function"==typeof queueMicrotask?queueMicrotask:typeof pc<"u"?function(e){return pc.resolve(null).then(e).catch(T3)}:Nl;function T3(e){setTimeout((function(){throw e}))}function Ml(e,t){var n=t,u=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===u)return e.removeChild(r),void qu(t);u--}else"$"!==n&&"$?"!==n&&"$!"!==n||u++;n=r}while(n);qu(t)}function on(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function hc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var tu=Math.random().toString(36).slice(2),Et="__reactFiber$"+tu,ur="__reactProps$"+tu,Rt="__reactContainer$"+tu,Ll="__reactEvents$"+tu,D3="__reactListeners$"+tu,F3="__reactHandles$"+tu;function An(e){var t=e[Et];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Rt]||n[Et]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=hc(e);null!==e;){if(n=e[Et])return n;e=hc(e)}return t}n=(e=n).parentNode}return null}function rr(e){return!(e=e[Et]||e[Rt])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function nu(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(A(33))}function h0(e){return e[ur]||null}var Ol=[],uu=-1;function ln(e){return{current:e}}function K(e){0>uu||(e.current=Ol[uu],Ol[uu]=null,uu--)}function W(e,t){uu++,Ol[uu]=e.current,e.current=t}var an={},Ee=ln(an),ze=ln(!1),Tn=an;function ru(e,t){var n=e.type.contextTypes;if(!n)return an;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var o,r={};for(o in n)r[o]=t[o];return u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function He(e){return null!=(e=e.childContextTypes)}function m0(){K(ze),K(Ee)}function mc(e,t,n){if(Ee.current!==an)throw Error(A(168));W(Ee,t),W(ze,n)}function gc(e,t,n){var u=e.stateNode;if(t=t.childContextTypes,"function"!=typeof u.getChildContext)return n;for(var r in u=u.getChildContext())if(!(r in t))throw Error(A(108,hp(e)||"Unknown",r));return ne({},n,u)}function g0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,Tn=Ee.current,W(Ee,e),W(ze,ze.current),!0}function wc(e,t,n){var u=e.stateNode;if(!u)throw Error(A(169));n?(e=gc(e,t,Tn),u.__reactInternalMemoizedMergedChildContext=e,K(ze),K(Ee),W(Ee,e)):K(ze),W(ze,n)}var It=null,w0=!1,jl=!1;function vc(e){null===It?It=[e]:It.push(e)}function sn(){if(!jl&&null!==It){jl=!0;var e=0,t=q;try{var n=It;for(q=1;e<n.length;e++){var u=n[e];do{u=u(!0)}while(null!==u)}It=null,w0=!1}catch(r){throw null!==It&&(It=It.slice(e+1)),xs(ul,sn),r}finally{q=t,jl=!1}}return null}var ou=[],lu=0,v0=null,y0=0,nt=[],ut=0,Dn=null,zt=1,Ht="";function Fn(e,t){ou[lu++]=y0,ou[lu++]=v0,v0=e,y0=t}function yc(e,t,n){nt[ut++]=zt,nt[ut++]=Ht,nt[ut++]=Dn,Dn=e;var u=zt;e=Ht;var r=32-ft(u)-1;u&=~(1<<r),n+=1;var o=32-ft(t)+r;if(30<o){var l=r-r%5;o=(u&(1<<l)-1).toString(32),u>>=l,r-=l,zt=1<<32-ft(t)+r|n<<r|u,Ht=o+e}else zt=1<<o|n<<r|u,Ht=e}function Pl(e){null!==e.return&&(Fn(e,1),yc(e,1,0))}function Rl(e){for(;e===v0;)v0=ou[--lu],ou[lu]=null,y0=ou[--lu],ou[lu]=null;for(;e===Dn;)Dn=nt[--ut],nt[ut]=null,Ht=nt[--ut],nt[ut]=null,zt=nt[--ut],nt[ut]=null}var Ye=null,Xe=null,J=!1,pt=null;function xc(e,t){var n=it(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function bc(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Ye=e,Xe=on(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Ye=e,Xe=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Dn?{id:zt,overflow:Ht}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=it(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Ye=e,Xe=null,!0);default:return!1}}function Il(e){return!(!(1&e.mode)||128&e.flags)}function zl(e){if(J){var t=Xe;if(t){var n=t;if(!bc(e,t)){if(Il(e))throw Error(A(418));t=on(n.nextSibling);var u=Ye;t&&bc(e,t)?xc(u,n):(e.flags=-4097&e.flags|2,J=!1,Ye=e)}}else{if(Il(e))throw Error(A(418));e.flags=-4097&e.flags|2,J=!1,Ye=e}}}function _c(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ye=e}function x0(e){if(e!==Ye)return!1;if(!J)return _c(e),J=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Fl(e.type,e.memoizedProps)),t&&(t=Xe)){if(Il(e))throw Ec(),Error(A(418));for(;t;)xc(e,t),t=on(t.nextSibling)}if(_c(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(A(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Xe=on(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Xe=null}}else Xe=Ye?on(e.stateNode.nextSibling):null;return!0}function Ec(){for(var e=Xe;e;)e=on(e.nextSibling)}function iu(){Xe=Ye=null,J=!1}function Hl(e){null===pt?pt=[e]:pt.push(e)}var M3=Pt.ReactCurrentBatchConfig;function or(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(A(309));var u=n.stateNode}if(!u)throw Error(A(147,e));var r=u,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(l){var i=r.refs;null===l?delete i[o]:i[o]=l})._stringRef=o,t)}if("string"!=typeof e)throw Error(A(284));if(!n._owner)throw Error(A(290,e))}return e}function b0(e,t){throw e=Object.prototype.toString.call(t),Error(A(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function kc(e){return(0,e._init)(e._payload)}function Cc(e){function t(h,p){if(e){var w=h.deletions;null===w?(h.deletions=[p],h.flags|=16):w.push(p)}}function n(h,p){if(!e)return null;for(;null!==p;)t(h,p),p=p.sibling;return null}function u(h,p){for(h=new Map;null!==p;)null!==p.key?h.set(p.key,p):h.set(p.index,p),p=p.sibling;return h}function r(h,p){return(h=wn(h,p)).index=0,h.sibling=null,h}function o(h,p,w){return h.index=w,e?null!==(w=h.alternate)?(w=w.index)<p?(h.flags|=2,p):w:(h.flags|=2,p):(h.flags|=1048576,p)}function l(h){return e&&null===h.alternate&&(h.flags|=2),h}function i(h,p,w,b){return null===p||6!==p.tag?((p=Ni(w,h.mode,b)).return=h,p):((p=r(p,w)).return=h,p)}function a(h,p,w,b){var C=w.type;return C===Zn?c(h,p,w.props.children,b,w.key):null!==p&&(p.elementType===C||"object"==typeof C&&null!==C&&C.$$typeof===Xt&&kc(C)===p.type)?((b=r(p,w.props)).ref=or(h,p,w),b.return=h,b):((b=Z0(w.type,w.key,w.props,null,h.mode,b)).ref=or(h,p,w),b.return=h,b)}function s(h,p,w,b){return null===p||4!==p.tag||p.stateNode.containerInfo!==w.containerInfo||p.stateNode.implementation!==w.implementation?((p=Mi(w,h.mode,b)).return=h,p):((p=r(p,w.children||[])).return=h,p)}function c(h,p,w,b,C){return null===p||7!==p.tag?((p=In(w,h.mode,b,C)).return=h,p):((p=r(p,w)).return=h,p)}function f(h,p,w){if("string"==typeof p&&""!==p||"number"==typeof p)return(p=Ni(""+p,h.mode,w)).return=h,p;if("object"==typeof p&&null!==p){switch(p.$$typeof){case $r:return(w=Z0(p.type,p.key,p.props,null,h.mode,w)).ref=or(h,null,p),w.return=h,w;case Vn:return(p=Mi(p,h.mode,w)).return=h,p;case Xt:return f(h,(0,p._init)(p._payload),w)}if(Ou(p)||Mu(p))return(p=In(p,h.mode,w,null)).return=h,p;b0(h,p)}return null}function g(h,p,w,b){var C=null!==p?p.key:null;if("string"==typeof w&&""!==w||"number"==typeof w)return null!==C?null:i(h,p,""+w,b);if("object"==typeof w&&null!==w){switch(w.$$typeof){case $r:return w.key===C?a(h,p,w,b):null;case Vn:return w.key===C?s(h,p,w,b):null;case Xt:return g(h,p,(C=w._init)(w._payload),b)}if(Ou(w)||Mu(w))return null!==C?null:c(h,p,w,b,null);b0(h,w)}return null}function v(h,p,w,b,C){if("string"==typeof b&&""!==b||"number"==typeof b)return i(p,h=h.get(w)||null,""+b,C);if("object"==typeof b&&null!==b){switch(b.$$typeof){case $r:return a(p,h=h.get(null===b.key?w:b.key)||null,b,C);case Vn:return s(p,h=h.get(null===b.key?w:b.key)||null,b,C);case Xt:return v(h,p,w,(0,b._init)(b._payload),C)}if(Ou(b)||Mu(b))return c(p,h=h.get(w)||null,b,C,null);b0(p,b)}return null}return function S(h,p,w,b){if("object"==typeof w&&null!==w&&w.type===Zn&&null===w.key&&(w=w.props.children),"object"==typeof w&&null!==w){switch(w.$$typeof){case $r:e:{for(var C=w.key,k=p;null!==k;){if(k.key===C){if((C=w.type)===Zn){if(7===k.tag){n(h,k.sibling),(p=r(k,w.props.children)).return=h,h=p;break e}}else if(k.elementType===C||"object"==typeof C&&null!==C&&C.$$typeof===Xt&&kc(C)===k.type){n(h,k.sibling),(p=r(k,w.props)).ref=or(h,k,w),p.return=h,h=p;break e}n(h,k);break}t(h,k),k=k.sibling}w.type===Zn?((p=In(w.props.children,h.mode,b,w.key)).return=h,h=p):((b=Z0(w.type,w.key,w.props,null,h.mode,b)).ref=or(h,p,w),b.return=h,h=b)}return l(h);case Vn:e:{for(k=w.key;null!==p;){if(p.key===k){if(4===p.tag&&p.stateNode.containerInfo===w.containerInfo&&p.stateNode.implementation===w.implementation){n(h,p.sibling),(p=r(p,w.children||[])).return=h,h=p;break e}n(h,p);break}t(h,p),p=p.sibling}(p=Mi(w,h.mode,b)).return=h,h=p}return l(h);case Xt:return S(h,p,(k=w._init)(w._payload),b)}if(Ou(w))return function(h,p,w,b){for(var C=null,k=null,T=p,F=p=0,z=null;null!==T&&F<w.length;F++){T.index>F?(z=T,T=null):z=T.sibling;var j=g(h,T,w[F],b);if(null===j){null===T&&(T=z);break}e&&T&&null===j.alternate&&t(h,T),p=o(j,p,F),null===k?C=j:k.sibling=j,k=j,T=z}if(F===w.length)return n(h,T),J&&Fn(h,F),C;if(null===T){for(;F<w.length;F++)null!==(T=f(h,w[F],b))&&(p=o(T,p,F),null===k?C=T:k.sibling=T,k=T);return J&&Fn(h,F),C}for(T=u(h,T);F<w.length;F++)null!==(z=v(T,h,F,w[F],b))&&(e&&null!==z.alternate&&T.delete(null===z.key?F:z.key),p=o(z,p,F),null===k?C=z:k.sibling=z,k=z);return e&&T.forEach((function(Z){return t(h,Z)})),J&&Fn(h,F),C}(h,p,w,b);if(Mu(w))return function(h,p,w,b){var C=Mu(w);if("function"!=typeof C)throw Error(A(150));if(null==(w=C.call(w)))throw Error(A(151));for(var k=C=null,T=p,F=p=0,z=null,j=w.next();null!==T&&!j.done;F++,j=w.next()){T.index>F?(z=T,T=null):z=T.sibling;var Z=g(h,T,j.value,b);if(null===Z){null===T&&(T=z);break}e&&T&&null===Z.alternate&&t(h,T),p=o(Z,p,F),null===k?C=Z:k.sibling=Z,k=Z,T=z}if(j.done)return n(h,T),J&&Fn(h,F),C;if(null===T){for(;!j.done;F++,j=w.next())null!==(j=f(h,j.value,b))&&(p=o(j,p,F),null===k?C=j:k.sibling=j,k=j);return J&&Fn(h,F),C}for(T=u(h,T);!j.done;F++,j=w.next())null!==(j=v(T,h,F,j.value,b))&&(e&&null!==j.alternate&&T.delete(null===j.key?F:j.key),p=o(j,p,F),null===k?C=j:k.sibling=j,k=j);return e&&T.forEach((function(be){return t(h,be)})),J&&Fn(h,F),C}(h,p,w,b);b0(h,w)}return"string"==typeof w&&""!==w||"number"==typeof w?(w=""+w,null!==p&&6===p.tag?(n(h,p.sibling),(p=r(p,w)).return=h,h=p):(n(h,p),(p=Ni(w,h.mode,b)).return=h,h=p),l(h)):n(h,p)}}var au=Cc(!0),Sc=Cc(!1),_0=ln(null),E0=null,su=null,Bl=null;function $l(){Bl=su=E0=null}function Ul(e){var t=_0.current;K(_0),e._currentValue=t}function Vl(e,t,n){for(;null!==e;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==u&&(u.childLanes|=t)):null!==u&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===n)break;e=e.return}}function cu(e,t){E0=e,Bl=su=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(Be=!0),e.firstContext=null)}function rt(e){var t=e._currentValue;if(Bl!==e)if(e={context:e,memoizedValue:t,next:null},null===su){if(null===E0)throw Error(A(308));su=e,E0.dependencies={lanes:0,firstContext:e}}else su=su.next=e;return t}var Nn=null;function Zl(e){null===Nn?Nn=[e]:Nn.push(e)}function Ac(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,Zl(t)):(n.next=r.next,r.next=n),t.interleaved=n,Bt(e,u)}function Bt(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var cn=!1;function ql(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fn(e,t,n){var u=e.updateQueue;if(null===u)return null;if(u=u.shared,2&V){var r=u.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),u.pending=t,Bt(e,n)}return null===(r=u.interleaved)?(t.next=t,Zl(u)):(t.next=r.next,r.next=t),u.interleaved=t,Bt(e,n)}function k0(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,ll(e,n)}}function Dc(e,t){var n=e.updateQueue,u=e.alternate;if(null!==u&&n===(u=u.updateQueue)){var r=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?r=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?r=o=t:o=o.next=t}else r=o=t;return n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:u.shared,effects:u.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function C0(e,t,n,u){var r=e.updateQueue;cn=!1;var o=r.firstBaseUpdate,l=r.lastBaseUpdate,i=r.shared.pending;if(null!==i){r.shared.pending=null;var a=i,s=a.next;a.next=null,null===l?o=s:l.next=s,l=a;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=a))}if(null!==o){var f=r.baseState;for(l=0,c=s=a=null,i=o;;){var g=i.lane,v=i.eventTime;if((u&g)===g){null!==c&&(c=c.next={eventTime:v,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var d=e,_=i;switch(g=t,v=n,_.tag){case 1:if("function"==typeof(d=_.payload)){f=d.call(v,f,g);break e}f=d;break e;case 3:d.flags=-65537&d.flags|128;case 0:if(null==(g="function"==typeof(d=_.payload)?d.call(v,f,g):d))break e;f=ne({},f,g);break e;case 2:cn=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(g=r.effects)?r.effects=[i]:g.push(i))}else v={eventTime:v,lane:g,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=v,a=f):c=c.next=v,l|=g;if(null===(i=i.next)){if(null===(i=r.shared.pending))break;i=(g=i).next,g.next=null,r.lastBaseUpdate=g,r.shared.pending=null}}if(null===c&&(a=f),r.baseState=a,r.firstBaseUpdate=s,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{l|=r.lane,r=r.next}while(r!==t)}else null===o&&(r.shared.lanes=0);On|=l,e.lanes=l,e.memoizedState=f}}function Fc(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var u=e[t],r=u.callback;if(null!==r){if(u.callback=null,u=n,"function"!=typeof r)throw Error(A(191,r));r.call(u)}}}var lr={},kt=ln(lr),ir=ln(lr),ar=ln(lr);function Mn(e){if(e===lr)throw Error(A(174));return e}function Wl(e,t){switch(W(ar,t),W(ir,e),W(kt,lr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Go(null,"");break;default:t=Go(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}K(kt),W(kt,t)}function fu(){K(kt),K(ir),K(ar)}function Nc(e){Mn(ar.current);var t=Mn(kt.current),n=Go(t,e.type);t!==n&&(W(ir,e),W(kt,n))}function Gl(e){ir.current===e&&(K(kt),K(ir))}var ue=ln(0);function S0(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ql=[];function Yl(){for(var e=0;e<Ql.length;e++)Ql[e]._workInProgressVersionPrimary=null;Ql.length=0}var A0=Pt.ReactCurrentDispatcher,Xl=Pt.ReactCurrentBatchConfig,Ln=0,re=null,se=null,fe=null,T0=!1,sr=!1,cr=0,L3=0;function ke(){throw Error(A(321))}function Kl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!dt(e[n],t[n]))return!1;return!0}function Jl(e,t,n,u,r,o){if(Ln=o,re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A0.current=null===e||null===e.memoizedState?R3:I3,e=n(u,r),sr){o=0;do{if(sr=!1,cr=0,25<=o)throw Error(A(301));o+=1,fe=se=null,t.updateQueue=null,A0.current=z3,e=n(u,r)}while(sr)}if(A0.current=N0,t=null!==se&&null!==se.next,Ln=0,fe=se=re=null,T0=!1,t)throw Error(A(300));return e}function ei(){var e=0!==cr;return cr=0,e}function Ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===fe?re.memoizedState=fe=e:fe=fe.next=e,fe}function ot(){if(null===se){var e=re.alternate;e=null!==e?e.memoizedState:null}else e=se.next;var t=null===fe?re.memoizedState:fe.next;if(null!==t)fe=t,se=e;else{if(null===e)throw Error(A(310));e={memoizedState:(se=e).memoizedState,baseState:se.baseState,baseQueue:se.baseQueue,queue:se.queue,next:null},null===fe?re.memoizedState=fe=e:fe=fe.next=e}return fe}function fr(e,t){return"function"==typeof t?t(e):t}function ti(e){var t=ot(),n=t.queue;if(null===n)throw Error(A(311));n.lastRenderedReducer=e;var u=se,r=u.baseQueue,o=n.pending;if(null!==o){if(null!==r){var l=r.next;r.next=o.next,o.next=l}u.baseQueue=r=o,n.pending=null}if(null!==r){o=r.next,u=u.baseState;var i=l=null,a=null,s=o;do{var c=s.lane;if((Ln&c)===c)null!==a&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),u=s.hasEagerState?s.eagerState:e(u,s.action);else{var f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===a?(i=a=f,l=u):a=a.next=f,re.lanes|=c,On|=c}s=s.next}while(null!==s&&s!==o);null===a?l=u:a.next=i,dt(u,t.memoizedState)||(Be=!0),t.memoizedState=u,t.baseState=l,t.baseQueue=a,n.lastRenderedState=u}if(null!==(e=n.interleaved)){r=e;do{o=r.lane,re.lanes|=o,On|=o,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ni(e){var t=ot(),n=t.queue;if(null===n)throw Error(A(311));n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,o=t.memoizedState;if(null!==r){n.pending=null;var l=r=r.next;do{o=e(o,l.action),l=l.next}while(l!==r);dt(o,t.memoizedState)||(Be=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,u]}function Mc(){}function Lc(e,t){var n=re,u=ot(),r=t(),o=!dt(u.memoizedState,r);if(o&&(u.memoizedState=r,Be=!0),u=u.queue,ui(Pc.bind(null,n,u,e),[e]),u.getSnapshot!==t||o||null!==fe&&1&fe.memoizedState.tag){if(n.flags|=2048,dr(9,jc.bind(null,n,u,r,t),void 0,null),null===de)throw Error(A(349));30&Ln||Oc(n,t,r)}return r}function Oc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=re.updateQueue)?(t={lastEffect:null,stores:null},re.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function jc(e,t,n,u){t.value=n,t.getSnapshot=u,Rc(t)&&Ic(e)}function Pc(e,t,n){return n((function(){Rc(t)&&Ic(e)}))}function Rc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dt(e,n)}catch{return!0}}function Ic(e){var t=Bt(e,1);null!==t&&wt(t,e,1,-1)}function zc(e){var t=Ct();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:fr,lastRenderedState:e},t.queue=e,e=e.dispatch=P3.bind(null,re,e),[t.memoizedState,e]}function dr(e,t,n,u){return e={tag:e,create:t,destroy:n,deps:u,next:null},null===(t=re.updateQueue)?(t={lastEffect:null,stores:null},re.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(u=n.next,n.next=e,e.next=u,t.lastEffect=e),e}function Hc(){return ot().memoizedState}function D0(e,t,n,u){var r=Ct();re.flags|=e,r.memoizedState=dr(1|t,n,void 0,void 0===u?null:u)}function F0(e,t,n,u){var r=ot();u=void 0===u?null:u;var o=void 0;if(null!==se){var l=se.memoizedState;if(o=l.destroy,null!==u&&Kl(u,l.deps))return void(r.memoizedState=dr(t,n,o,u))}re.flags|=e,r.memoizedState=dr(1|t,n,o,u)}function Bc(e,t){return D0(8390656,8,e,t)}function ui(e,t){return F0(2048,8,e,t)}function $c(e,t){return F0(4,2,e,t)}function Uc(e,t){return F0(4,4,e,t)}function Vc(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Zc(e,t,n){return n=null!=n?n.concat([e]):null,F0(4,4,Vc.bind(null,t,e),n)}function ri(){}function qc(e,t){var n=ot();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Kl(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function Wc(e,t){var n=ot();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Kl(t,u[1])?u[0]:(e=e(),n.memoizedState=[e,t],e)}function Gc(e,t,n){return 21&Ln?(dt(n,t)||(n=ks(),re.lanes|=n,On|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Be=!0),e.memoizedState=n)}function O3(e,t){var n=q;q=0!==n&&4>n?n:4,e(!0);var u=Xl.transition;Xl.transition={};try{e(!1),t()}finally{q=n,Xl.transition=u}}function Qc(){return ot().memoizedState}function j3(e,t,n){var u=mn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Yc(e))Xc(t,n);else if(null!==(n=Ac(e,t,n,u))){wt(n,e,u,Me()),Kc(n,t,u)}}function P3(e,t,n){var u=mn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yc(e))Xc(t,r);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=o(l,n);if(r.hasEagerState=!0,r.eagerState=i,dt(i,l)){var a=t.interleaved;return null===a?(r.next=r,Zl(t)):(r.next=a.next,a.next=r),void(t.interleaved=r)}}catch{}null!==(n=Ac(e,t,r,u))&&(wt(n,e,u,r=Me()),Kc(n,t,u))}}function Yc(e){var t=e.alternate;return e===re||null!==t&&t===re}function Xc(e,t){sr=T0=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kc(e,t,n){if(4194240&n){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,ll(e,n)}}var N0={readContext:rt,useCallback:ke,useContext:ke,useEffect:ke,useImperativeHandle:ke,useInsertionEffect:ke,useLayoutEffect:ke,useMemo:ke,useReducer:ke,useRef:ke,useState:ke,useDebugValue:ke,useDeferredValue:ke,useTransition:ke,useMutableSource:ke,useSyncExternalStore:ke,useId:ke,unstable_isNewReconciler:!1},R3={readContext:rt,useCallback:function(e,t){return Ct().memoizedState=[e,void 0===t?null:t],e},useContext:rt,useEffect:Bc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,D0(4194308,4,Vc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return D0(4194308,4,e,t)},useInsertionEffect:function(e,t){return D0(4,2,e,t)},useMemo:function(e,t){var n=Ct();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var u=Ct();return t=void 0!==n?n(t):t,u.memoizedState=u.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},u.queue=e,e=e.dispatch=j3.bind(null,re,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},Ct().memoizedState=e},useState:zc,useDebugValue:ri,useDeferredValue:function(e){return Ct().memoizedState=e},useTransition:function(){var e=zc(!1),t=e[0];return e=O3.bind(null,e[1]),Ct().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=re,r=Ct();if(J){if(void 0===n)throw Error(A(407));n=n()}else{if(n=t(),null===de)throw Error(A(349));30&Ln||Oc(u,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,Bc(Pc.bind(null,u,o,e),[e]),u.flags|=2048,dr(9,jc.bind(null,u,o,n,t),void 0,null),n},useId:function(){var e=Ct(),t=de.identifierPrefix;if(J){var n=Ht;t=":"+t+"R"+(n=(zt&~(1<<32-ft(zt)-1)).toString(32)+n),0<(n=cr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=L3++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},I3={readContext:rt,useCallback:qc,useContext:rt,useEffect:ui,useImperativeHandle:Zc,useInsertionEffect:$c,useLayoutEffect:Uc,useMemo:Wc,useReducer:ti,useRef:Hc,useState:function(){return ti(fr)},useDebugValue:ri,useDeferredValue:function(e){return Gc(ot(),se.memoizedState,e)},useTransition:function(){return[ti(fr)[0],ot().memoizedState]},useMutableSource:Mc,useSyncExternalStore:Lc,useId:Qc,unstable_isNewReconciler:!1},z3={readContext:rt,useCallback:qc,useContext:rt,useEffect:ui,useImperativeHandle:Zc,useInsertionEffect:$c,useLayoutEffect:Uc,useMemo:Wc,useReducer:ni,useRef:Hc,useState:function(){return ni(fr)},useDebugValue:ri,useDeferredValue:function(e){var t=ot();return null===se?t.memoizedState=e:Gc(t,se.memoizedState,e)},useTransition:function(){return[ni(fr)[0],ot().memoizedState]},useMutableSource:Mc,useSyncExternalStore:Lc,useId:Qc,unstable_isNewReconciler:!1};function ht(e,t){if(e&&e.defaultProps){for(var n in t=ne({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function oi(e,t,n,u){n=null==(n=n(u,t=e.memoizedState))?t:ne({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var M0={isMounted:function(e){return!!(e=e._reactInternals)&&Sn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var u=Me(),r=mn(e),o=$t(u,r);o.payload=t,null!=n&&(o.callback=n),null!==(t=fn(e,o,r))&&(wt(t,e,r,u),k0(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=Me(),r=mn(e),o=$t(u,r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=fn(e,o,r))&&(wt(t,e,r,u),k0(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Me(),u=mn(e),r=$t(n,u);r.tag=2,null!=t&&(r.callback=t),null!==(t=fn(e,r,u))&&(wt(t,e,u,n),k0(t,e,u))}};function Jc(e,t,n,u,r,o,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(u,o,l):!t.prototype||!t.prototype.isPureReactComponent||(!Ku(n,u)||!Ku(r,o))}function e1(e,t,n){var u=!1,r=an,o=t.contextType;return"object"==typeof o&&null!==o?o=rt(o):(r=He(t)?Tn:Ee.current,o=(u=null!=(u=t.contextTypes))?ru(e,r):an),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=M0,e.stateNode=t,t._reactInternals=e,u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),t}function t1(e,t,n,u){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,u),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==e&&M0.enqueueReplaceState(t,t.state,null)}function li(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},ql(e);var o=t.contextType;"object"==typeof o&&null!==o?r.context=rt(o):(o=He(t)?Tn:Ee.current,r.context=ru(e,o)),r.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(oi(e,t,o,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&M0.enqueueReplaceState(r,r.state,null),C0(e,n,r,u),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4194308)}function du(e,t){try{var n="",u=t;do{n+=pp(u),u=u.return}while(u);var r=n}catch(o){r="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:r,digest:null}}function ii(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ai(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var H3="function"==typeof WeakMap?WeakMap:Map;function n1(e,t,n){(n=$t(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){z0||(z0=!0,Ei=u),ai(0,t)},n}function u1(e,t,n){(n=$t(-1,n)).tag=3;var u=e.type.getDerivedStateFromError;if("function"==typeof u){var r=t.value;n.payload=function(){return u(r)},n.callback=function(){ai(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ai(0,t),"function"!=typeof u&&(null===pn?pn=new Set([this]):pn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:null!==l?l:""})}),n}function r1(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new H3;var r=new Set;u.set(t,r)}else void 0===(r=u.get(t))&&(r=new Set,u.set(t,r));r.has(n)||(r.add(n),e=eh.bind(null,e,t,n),t.then(e,e))}function o1(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function l1(e,t,n,u,r){return 1&e.mode?(e.flags|=65536,e.lanes=r,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=$t(-1,1)).tag=2,fn(n,t,1))),n.lanes|=1),e)}var B3=Pt.ReactCurrentOwner,Be=!1;function Ne(e,t,n,u){t.child=null===e?Sc(t,null,n,u):au(t,e.child,n,u)}function i1(e,t,n,u,r){n=n.render;var o=t.ref;return cu(t,r),u=Jl(e,t,n,u,o,r),n=ei(),null===e||Be?(J&&n&&Pl(t),t.flags|=1,Ne(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Ut(e,t,r))}function a1(e,t,n,u,r){if(null===e){var o=n.type;return"function"!=typeof o||Fi(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Z0(n.type,null,u,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,s1(e,t,o,u,r))}if(o=e.child,!(e.lanes&r)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:Ku)(l,u)&&e.ref===t.ref)return Ut(e,t,r)}return t.flags|=1,(e=wn(o,u)).ref=t.ref,e.return=t,t.child=e}function s1(e,t,n,u,r){if(null!==e){var o=e.memoizedProps;if(Ku(o,u)&&e.ref===t.ref){if(Be=!1,t.pendingProps=u=o,!(e.lanes&r))return t.lanes=e.lanes,Ut(e,t,r);131072&e.flags&&(Be=!0)}}return si(e,t,n,u,r)}function c1(e,t,n){var u=t.pendingProps,r=u.children,o=null!==e?e.memoizedState:null;if("hidden"===u.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,W(hu,Ke),Ke|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==o?o.baseLanes:n,W(hu,Ke),Ke|=u}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(hu,Ke),Ke|=n;else null!==o?(u=o.baseLanes|n,t.memoizedState=null):u=n,W(hu,Ke),Ke|=u;return Ne(e,t,r,n),t.child}function f1(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function si(e,t,n,u,r){var o=He(n)?Tn:Ee.current;return o=ru(t,o),cu(t,r),n=Jl(e,t,n,u,o,r),u=ei(),null===e||Be?(J&&u&&Pl(t),t.flags|=1,Ne(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Ut(e,t,r))}function d1(e,t,n,u,r){if(He(n)){var o=!0;g0(t)}else o=!1;if(cu(t,r),null===t.stateNode)O0(e,t),e1(t,n,u),li(t,n,u,r),u=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var a=l.context,s=n.contextType;"object"==typeof s&&null!==s?s=rt(s):s=ru(t,s=He(n)?Tn:Ee.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==u||a!==s)&&t1(t,l,u,s),cn=!1;var g=t.memoizedState;l.state=g,C0(t,u,l,r),a=t.memoizedState,i!==u||g!==a||ze.current||cn?("function"==typeof c&&(oi(t,n,c,u),a=t.memoizedState),(i=cn||Jc(t,n,i,u,g,a,s))?(f||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.flags|=4194308)):("function"==typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=a),l.props=u,l.state=a,l.context=s,u=i):("function"==typeof l.componentDidMount&&(t.flags|=4194308),u=!1)}else{l=t.stateNode,Tc(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:ht(t.type,i),l.props=s,f=t.pendingProps,g=l.context,"object"==typeof(a=n.contextType)&&null!==a?a=rt(a):a=ru(t,a=He(n)?Tn:Ee.current);var v=n.getDerivedStateFromProps;(c="function"==typeof v||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==f||g!==a)&&t1(t,l,u,a),cn=!1,g=t.memoizedState,l.state=g,C0(t,u,l,r);var d=t.memoizedState;i!==f||g!==d||ze.current||cn?("function"==typeof v&&(oi(t,n,v,u),d=t.memoizedState),(s=cn||Jc(t,n,s,u,g,d,a)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(u,d,a),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(u,d,a)),"function"==typeof l.componentDidUpdate&&(t.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=d),l.props=u,l.state=d,l.context=a,u=s):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),u=!1)}return ci(e,t,n,u,o,r)}function ci(e,t,n,u,r,o){f1(e,t);var l=!!(128&t.flags);if(!u&&!l)return r&&wc(t,n,!1),Ut(e,t,o);u=t.stateNode,B3.current=t;var i=l&&"function"!=typeof n.getDerivedStateFromError?null:u.render();return t.flags|=1,null!==e&&l?(t.child=au(t,e.child,null,o),t.child=au(t,null,i,o)):Ne(e,t,i,o),t.memoizedState=u.state,r&&wc(t,n,!0),t.child}function p1(e){var t=e.stateNode;t.pendingContext?mc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&mc(0,t.context,!1),Wl(e,t.containerInfo)}function h1(e,t,n,u,r){return iu(),Hl(r),t.flags|=256,Ne(e,t,n,u),t.child}var v1,mi,y1,x1,fi={dehydrated:null,treeContext:null,retryLane:0};function di(e){return{baseLanes:e,cachePool:null,transitions:null}}function m1(e,t,n){var i,u=t.pendingProps,r=ue.current,o=!1,l=!!(128&t.flags);if((i=l)||(i=(null===e||null!==e.memoizedState)&&!!(2&r)),i?(o=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(r|=1),W(ue,1&r),null===e)return zl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=u.children,e=u.fallback,o?(u=t.mode,o=t.child,l={mode:"hidden",children:l},1&u||null===o?o=q0(l,u,0,null):(o.childLanes=0,o.pendingProps=l),e=In(e,u,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=di(n),t.memoizedState=fi,e):pi(t,l));if(null!==(r=e.memoizedState)&&null!==(i=r.dehydrated))return function(e,t,n,u,r,o,l){if(n)return 256&t.flags?(t.flags&=-257,u=ii(Error(A(422))),L0(e,t,l,u)):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=u.fallback,r=t.mode,u=q0({mode:"visible",children:u.children},r,0,null),o=In(o,r,l,null),o.flags|=2,u.return=t,o.return=t,u.sibling=o,t.child=u,1&t.mode&&au(t,e.child,null,l),t.child.memoizedState=di(l),t.memoizedState=fi,o);if(!(1&t.mode))return L0(e,t,l,null);if("$!"===r.data){if(u=r.nextSibling&&r.nextSibling.dataset)var i=u.dgst;return u=i,L0(e,t,l,u=ii(o=Error(A(419)),u,void 0))}if(i=!!(l&e.childLanes),Be||i){if(null!==(u=de)){switch(l&-l){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}0!==(r=r&(u.suspendedLanes|l)?0:r)&&r!==o.retryLane&&(o.retryLane=r,Bt(e,r),wt(u,e,r,-1))}return Di(),L0(e,t,l,u=ii(Error(A(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=th.bind(null,e),r._reactRetry=t,null):(e=o.treeContext,Xe=on(r.nextSibling),Ye=t,J=!0,pt=null,null!==e&&(nt[ut++]=zt,nt[ut++]=Ht,nt[ut++]=Dn,zt=e.id,Ht=e.overflow,Dn=t),t=pi(t,u.children),t.flags|=4096,t)}(e,t,l,u,i,r,n);if(o){o=u.fallback,l=t.mode,i=(r=e.child).sibling;var a={mode:"hidden",children:u.children};return 1&l||t.child===r?(u=wn(r,a)).subtreeFlags=14680064&r.subtreeFlags:((u=t.child).childLanes=0,u.pendingProps=a,t.deletions=null),null!==i?o=wn(i,o):(o=In(o,l,n,null)).flags|=2,o.return=t,u.return=t,u.sibling=o,t.child=u,u=o,o=t.child,l=null===(l=e.child.memoizedState)?di(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=fi,u}return e=(o=e.child).sibling,u=wn(o,{mode:"visible",children:u.children}),!(1&t.mode)&&(u.lanes=n),u.return=t,u.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=u,t.memoizedState=null,u}function pi(e,t){return(t=q0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function L0(e,t,n,u){return null!==u&&Hl(u),au(t,e.child,null,n),(e=pi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function g1(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),Vl(e.return,t,n)}function hi(e,t,n,u,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=u,o.tail=n,o.tailMode=r)}function w1(e,t,n){var u=t.pendingProps,r=u.revealOrder,o=u.tail;if(Ne(e,t,u.children,n),2&(u=ue.current))u=1&u|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&g1(e,n,t);else if(19===e.tag)g1(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(W(ue,u),1&t.mode)switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===S0(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),hi(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===S0(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}hi(t,!0,n,null,o);break;case"together":hi(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function O0(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ut(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),On|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(A(153));if(null!==t.child){for(n=wn(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=wn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function pr(e,t){if(!J)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;null!==n;)null!==n.alternate&&(u=n),n=n.sibling;null===u?t||null===e.tail?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Ce(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,u=0;if(t)for(var r=e.child;null!==r;)n|=r.lanes|r.childLanes,u|=14680064&r.subtreeFlags,u|=14680064&r.flags,r.return=e,r=r.sibling;else for(r=e.child;null!==r;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags,u|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function V3(e,t,n){var u=t.pendingProps;switch(Rl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ce(t),null;case 1:case 17:return He(t.type)&&m0(),Ce(t),null;case 3:return u=t.stateNode,fu(),K(ze),K(Ee),Yl(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(null===e||null===e.child)&&(x0(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==pt&&(Si(pt),pt=null))),mi(e,t),Ce(t),null;case 5:Gl(t);var r=Mn(ar.current);if(n=t.type,null!==e&&null!=t.stateNode)y1(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(A(166));return Ce(t),null}if(e=Mn(kt.current),x0(t)){u=t.stateNode,n=t.type;var o=t.memoizedProps;switch(u[Et]=t,u[ur]=o,e=!!(1&t.mode),n){case"dialog":X("cancel",u),X("close",u);break;case"iframe":case"object":case"embed":X("load",u);break;case"video":case"audio":for(r=0;r<er.length;r++)X(er[r],u);break;case"source":X("error",u);break;case"img":case"image":case"link":X("error",u),X("load",u);break;case"details":X("toggle",u);break;case"input":es(u,o),X("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!o.multiple},X("invalid",u);break;case"textarea":us(u,o),X("invalid",u)}for(var l in Qo(n,o),r=null,o)if(o.hasOwnProperty(l)){var i=o[l];"children"===l?"string"==typeof i?u.textContent!==i&&(!0!==o.suppressHydrationWarning&&d0(u.textContent,i,e),r=["children",i]):"number"==typeof i&&u.textContent!==""+i&&(!0!==o.suppressHydrationWarning&&d0(u.textContent,i,e),r=["children",""+i]):Nu.hasOwnProperty(l)&&null!=i&&"onScroll"===l&&X("scroll",u)}switch(n){case"input":Ur(u),ns(u,o,!0);break;case"textarea":Ur(u),os(u);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(u.onclick=p0)}u=r,t.updateQueue=u,null!==u&&(t.flags|=4)}else{l=9===r.nodeType?r:r.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ls(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof u.is?e=l.createElement(n,{is:u.is}):(e=l.createElement(n),"select"===n&&(l=e,u.multiple?l.multiple=!0:u.size&&(l.size=u.size))):e=l.createElementNS(e,n),e[Et]=t,e[ur]=u,v1(e,t,!1,!1),t.stateNode=e;e:{switch(l=Yo(n,u),n){case"dialog":X("cancel",e),X("close",e),r=u;break;case"iframe":case"object":case"embed":X("load",e),r=u;break;case"video":case"audio":for(r=0;r<er.length;r++)X(er[r],e);r=u;break;case"source":X("error",e),r=u;break;case"img":case"image":case"link":X("error",e),X("load",e),r=u;break;case"details":X("toggle",e),r=u;break;case"input":es(e,u),r=Vo(e,u),X("invalid",e);break;case"option":default:r=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},r=ne({},u,{value:void 0}),X("invalid",e);break;case"textarea":us(e,u),r=Wo(e,u),X("invalid",e)}for(o in Qo(n,r),i=r)if(i.hasOwnProperty(o)){var a=i[o];"style"===o?ss(e,a):"dangerouslySetInnerHTML"===o?null!=(a=a?a.__html:void 0)&&is(e,a):"children"===o?"string"==typeof a?("textarea"!==n||""!==a)&&ju(e,a):"number"==typeof a&&ju(e,""+a):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(Nu.hasOwnProperty(o)?null!=a&&"onScroll"===o&&X("scroll",e):null!=a&&Lo(e,o,a,l))}switch(n){case"input":Ur(e),ns(e,u,!1);break;case"textarea":Ur(e),os(e);break;case"option":null!=u.value&&e.setAttribute("value",""+Kt(u.value));break;case"select":e.multiple=!!u.multiple,null!=(o=u.value)?qn(e,!!u.multiple,o,!1):null!=u.defaultValue&&qn(e,!!u.multiple,u.defaultValue,!0);break;default:"function"==typeof r.onClick&&(e.onclick=p0)}switch(n){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ce(t),null;case 6:if(e&&null!=t.stateNode)x1(e,t,e.memoizedProps,u);else{if("string"!=typeof u&&null===t.stateNode)throw Error(A(166));if(n=Mn(ar.current),Mn(kt.current),x0(t)){if(u=t.stateNode,n=t.memoizedProps,u[Et]=t,(o=u.nodeValue!==n)&&null!==(e=Ye))switch(e.tag){case 3:d0(u.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&d0(u.nodeValue,n,!!(1&e.mode))}o&&(t.flags|=4)}else(u=(9===n.nodeType?n:n.ownerDocument).createTextNode(u))[Et]=t,t.stateNode=u}return Ce(t),null;case 13:if(K(ue),u=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(J&&null!==Xe&&1&t.mode&&!(128&t.flags))Ec(),iu(),t.flags|=98560,o=!1;else if(o=x0(t),null!==u&&null!==u.dehydrated){if(null===e){if(!o)throw Error(A(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(A(317));o[Et]=t}else iu(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ce(t),o=!1}else null!==pt&&(Si(pt),pt=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((u=null!==u)!==(null!==e&&null!==e.memoizedState)&&u&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ue.current?0===ce&&(ce=3):Di())),null!==t.updateQueue&&(t.flags|=4),Ce(t),null);case 4:return fu(),mi(e,t),null===e&&tr(t.stateNode.containerInfo),Ce(t),null;case 10:return Ul(t.type._context),Ce(t),null;case 19:if(K(ue),null===(o=t.memoizedState))return Ce(t),null;if(u=!!(128&t.flags),null===(l=o.rendering))if(u)pr(o,!1);else{if(0!==ce||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=S0(e))){for(t.flags|=128,pr(o,!1),null!==(u=l.updateQueue)&&(t.updateQueue=u,t.flags|=4),t.subtreeFlags=0,u=n,n=t.child;null!==n;)e=u,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return W(ue,1&ue.current|2),t.child}e=e.sibling}null!==o.tail&&ie()>mu&&(t.flags|=128,u=!0,pr(o,!1),t.lanes=4194304)}else{if(!u)if(null!==(e=S0(l))){if(t.flags|=128,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),pr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!J)return Ce(t),null}else 2*ie()-o.renderingStartTime>mu&&1073741824!==n&&(t.flags|=128,u=!0,pr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ie(),t.sibling=null,n=ue.current,W(ue,u?1&n|2:1&n),t):(Ce(t),null);case 22:case 23:return Ti(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&1&t.mode?1073741824&Ke&&(Ce(t),6&t.subtreeFlags&&(t.flags|=8192)):Ce(t),null;case 24:case 25:return null}throw Error(A(156,t.tag))}function Z3(e,t){switch(Rl(t),t.tag){case 1:return He(t.type)&&m0(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return fu(),K(ze),K(Ee),Yl(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Gl(t),null;case 13:if(K(ue),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(A(340));iu()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return K(ue),null;case 4:return fu(),null;case 10:return Ul(t.type._context),null;case 22:case 23:return Ti(),null;default:return null}}v1=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},mi=function(){},y1=function(e,t,n,u){var r=e.memoizedProps;if(r!==u){e=t.stateNode,Mn(kt.current);var l,o=null;switch(n){case"input":r=Vo(e,r),u=Vo(e,u),o=[];break;case"select":r=ne({},r,{value:void 0}),u=ne({},u,{value:void 0}),o=[];break;case"textarea":r=Wo(e,r),u=Wo(e,u),o=[];break;default:"function"!=typeof r.onClick&&"function"==typeof u.onClick&&(e.onclick=p0)}for(s in Qo(n,u),n=null,r)if(!u.hasOwnProperty(s)&&r.hasOwnProperty(s)&&null!=r[s])if("style"===s){var i=r[s];for(l in i)i.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(Nu.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in u){var a=u[s];if(i=null!=r?r[s]:void 0,u.hasOwnProperty(s)&&a!==i&&(null!=a||null!=i))if("style"===s)if(i){for(l in i)!i.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&i[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(s,n)),n=a;else"dangerouslySetInnerHTML"===s?(a=a?a.__html:void 0,i=i?i.__html:void 0,null!=a&&i!==a&&(o=o||[]).push(s,a)):"children"===s?"string"!=typeof a&&"number"!=typeof a||(o=o||[]).push(s,""+a):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(Nu.hasOwnProperty(s)?(null!=a&&"onScroll"===s&&X("scroll",e),o||i===a||(o=[])):(o=o||[]).push(s,a))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}},x1=function(e,t,n,u){n!==u&&(t.flags|=4)};var j0=!1,Se=!1,q3="function"==typeof WeakSet?WeakSet:Set,M=null;function pu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(u){le(e,t,u)}else n.current=null}function gi(e,t,n){try{n()}catch(u){le(e,t,u)}}var b1=!1;function hr(e,t,n){var u=t.updateQueue;if(null!==(u=null!==u?u.lastEffect:null)){var r=u=u.next;do{if((r.tag&e)===e){var o=r.destroy;r.destroy=void 0,void 0!==o&&gi(t,n,o)}r=r.next}while(r!==u)}}function P0(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var u=n.create;n.destroy=u()}n=n.next}while(n!==t)}}function wi(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function _1(e){var t=e.alternate;null!==t&&(e.alternate=null,_1(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Et],delete t[ur],delete t[Ll],delete t[D3],delete t[F3])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function E1(e){return 5===e.tag||3===e.tag||4===e.tag}function k1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||E1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function vi(e,t,n){var u=e.tag;if(5===u||6===u)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=p0));else if(4!==u&&null!==(e=e.child))for(vi(e,t,n),e=e.sibling;null!==e;)vi(e,t,n),e=e.sibling}function yi(e,t,n){var u=e.tag;if(5===u||6===u)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==u&&null!==(e=e.child))for(yi(e,t,n),e=e.sibling;null!==e;)yi(e,t,n),e=e.sibling}var ve=null,mt=!1;function dn(e,t,n){for(n=n.child;null!==n;)C1(e,t,n),n=n.sibling}function C1(e,t,n){if(_t&&"function"==typeof _t.onCommitFiberUnmount)try{_t.onCommitFiberUnmount(Qr,n)}catch{}switch(n.tag){case 5:Se||pu(n,t);case 6:var u=ve,r=mt;ve=null,dn(e,t,n),mt=r,null!==(ve=u)&&(mt?(e=ve,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ve.removeChild(n.stateNode));break;case 18:null!==ve&&(mt?(e=ve,n=n.stateNode,8===e.nodeType?Ml(e.parentNode,n):1===e.nodeType&&Ml(e,n),qu(e)):Ml(ve,n.stateNode));break;case 4:u=ve,r=mt,ve=n.stateNode.containerInfo,mt=!0,dn(e,t,n),ve=u,mt=r;break;case 0:case 11:case 14:case 15:if(!Se&&(null!==(u=n.updateQueue)&&null!==(u=u.lastEffect))){r=u=u.next;do{var o=r,l=o.destroy;o=o.tag,void 0!==l&&(2&o||4&o)&&gi(n,t,l),r=r.next}while(r!==u)}dn(e,t,n);break;case 1:if(!Se&&(pu(n,t),"function"==typeof(u=n.stateNode).componentWillUnmount))try{u.props=n.memoizedProps,u.state=n.memoizedState,u.componentWillUnmount()}catch(i){le(n,t,i)}dn(e,t,n);break;case 21:dn(e,t,n);break;case 22:1&n.mode?(Se=(u=Se)||null!==n.memoizedState,dn(e,t,n),Se=u):dn(e,t,n);break;default:dn(e,t,n)}}function S1(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new q3),t.forEach((function(u){var r=nh.bind(null,e,u);n.has(u)||(n.add(u),u.then(r,r))}))}}function gt(e,t){var n=t.deletions;if(null!==n)for(var u=0;u<n.length;u++){var r=n[u];try{var o=e,l=t,i=l;e:for(;null!==i;){switch(i.tag){case 5:ve=i.stateNode,mt=!1;break e;case 3:case 4:ve=i.stateNode.containerInfo,mt=!0;break e}i=i.return}if(null===ve)throw Error(A(160));C1(o,l,r),ve=null,mt=!1;var a=r.alternate;null!==a&&(a.return=null),r.return=null}catch(s){le(r,t,s)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)A1(t,e),t=t.sibling}function A1(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gt(t,e),St(e),4&u){try{hr(3,e,e.return),P0(3,e)}catch(_){le(e,e.return,_)}try{hr(5,e,e.return)}catch(_){le(e,e.return,_)}}break;case 1:gt(t,e),St(e),512&u&&null!==n&&pu(n,n.return);break;case 5:if(gt(t,e),St(e),512&u&&null!==n&&pu(n,n.return),32&e.flags){var r=e.stateNode;try{ju(r,"")}catch(_){le(e,e.return,_)}}if(4&u&&null!=(r=e.stateNode)){var o=e.memoizedProps,l=null!==n?n.memoizedProps:o,i=e.type,a=e.updateQueue;if(e.updateQueue=null,null!==a)try{"input"===i&&"radio"===o.type&&null!=o.name&&ts(r,o),Yo(i,l);var s=Yo(i,o);for(l=0;l<a.length;l+=2){var c=a[l],f=a[l+1];"style"===c?ss(r,f):"dangerouslySetInnerHTML"===c?is(r,f):"children"===c?ju(r,f):Lo(r,c,f,s)}switch(i){case"input":Zo(r,o);break;case"textarea":rs(r,o);break;case"select":var g=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var v=o.value;null!=v?qn(r,!!o.multiple,v,!1):g!==!!o.multiple&&(null!=o.defaultValue?qn(r,!!o.multiple,o.defaultValue,!0):qn(r,!!o.multiple,o.multiple?[]:"",!1))}r[ur]=o}catch(_){le(e,e.return,_)}}break;case 6:if(gt(t,e),St(e),4&u){if(null===e.stateNode)throw Error(A(162));r=e.stateNode,o=e.memoizedProps;try{r.nodeValue=o}catch(_){le(e,e.return,_)}}break;case 3:if(gt(t,e),St(e),4&u&&null!==n&&n.memoizedState.isDehydrated)try{qu(t.containerInfo)}catch(_){le(e,e.return,_)}break;case 4:default:gt(t,e),St(e);break;case 13:gt(t,e),St(e),8192&(r=e.child).flags&&(o=null!==r.memoizedState,r.stateNode.isHidden=o,!o||null!==r.alternate&&null!==r.alternate.memoizedState||(_i=ie())),4&u&&S1(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(Se=(s=Se)||c,gt(t,e),Se=s):gt(t,e),St(e),8192&u){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&1&e.mode)for(M=e,c=e.child;null!==c;){for(f=M=c;null!==M;){switch(v=(g=M).child,g.tag){case 0:case 11:case 14:case 15:hr(4,g,g.return);break;case 1:pu(g,g.return);var d=g.stateNode;if("function"==typeof d.componentWillUnmount){u=g,n=g.return;try{t=u,d.props=t.memoizedProps,d.state=t.memoizedState,d.componentWillUnmount()}catch(_){le(u,n,_)}}break;case 5:pu(g,g.return);break;case 22:if(null!==g.memoizedState){F1(f);continue}}null!==v?(v.return=g,M=v):F1(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{r=f.stateNode,s?"function"==typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none":(i=f.stateNode,l=null!=(a=f.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,i.style.display=as("display",l))}catch(_){le(e,e.return,_)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(_){le(e,e.return,_)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gt(t,e),St(e),4&u&&S1(e);case 21:}}function St(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(E1(n)){var u=n;break e}n=n.return}throw Error(A(160))}switch(u.tag){case 5:var r=u.stateNode;32&u.flags&&(ju(r,""),u.flags&=-33),yi(e,k1(e),r);break;case 3:case 4:var l=u.stateNode.containerInfo;vi(e,k1(e),l);break;default:throw Error(A(161))}}catch(a){le(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function G3(e,t,n){M=e,T1(e)}function T1(e,t,n){for(var u=!!(1&e.mode);null!==M;){var r=M,o=r.child;if(22===r.tag&&u){var l=null!==r.memoizedState||j0;if(!l){var i=r.alternate,a=null!==i&&null!==i.memoizedState||Se;i=j0;var s=Se;if(j0=l,(Se=a)&&!s)for(M=r;null!==M;)a=(l=M).child,22===l.tag&&null!==l.memoizedState?N1(r):null!==a?(a.return=l,M=a):N1(r);for(;null!==o;)M=o,T1(o),o=o.sibling;M=r,j0=i,Se=s}D1(e)}else 8772&r.subtreeFlags&&null!==o?(o.return=r,M=o):D1(e)}}function D1(e){for(;null!==M;){var t=M;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Se||P0(5,t);break;case 1:var u=t.stateNode;if(4&t.flags&&!Se)if(null===n)u.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:ht(t.type,n.memoizedProps);u.componentDidUpdate(r,n.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Fc(t,o,u);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fc(t,l,n)}break;case 5:var i=t.stateNode;if(null===n&&4&t.flags){n=i;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var s=t.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&qu(f)}}}break;default:throw Error(A(163))}Se||512&t.flags&&wi(t)}catch(g){le(t,t.return,g)}}if(t===e){M=null;break}if(null!==(n=t.sibling)){n.return=t.return,M=n;break}M=t.return}}function F1(e){for(;null!==M;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(null!==n){n.return=t.return,M=n;break}M=t.return}}function N1(e){for(;null!==M;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{P0(4,t)}catch(a){le(t,n,a)}break;case 1:var u=t.stateNode;if("function"==typeof u.componentDidMount){var r=t.return;try{u.componentDidMount()}catch(a){le(t,r,a)}}var o=t.return;try{wi(t)}catch(a){le(t,o,a)}break;case 5:var l=t.return;try{wi(t)}catch(a){le(t,l,a)}}}catch(a){le(t,t.return,a)}if(t===e){M=null;break}var i=t.sibling;if(null!==i){i.return=t.return,M=i;break}M=t.return}}var H1,Q3=Math.ceil,R0=Pt.ReactCurrentDispatcher,xi=Pt.ReactCurrentOwner,lt=Pt.ReactCurrentBatchConfig,V=0,de=null,ae=null,ye=0,Ke=0,hu=ln(0),ce=0,mr=null,On=0,I0=0,bi=0,gr=null,$e=null,_i=0,mu=1/0,Vt=null,z0=!1,Ei=null,pn=null,H0=!1,hn=null,B0=0,wr=0,ki=null,$0=-1,U0=0;function Me(){return 6&V?ie():-1!==$0?$0:$0=ie()}function mn(e){return 1&e.mode?2&V&&0!==ye?ye&-ye:null!==M3.transition?(0===U0&&(U0=ks()),U0):(0!==(e=q)||(e=void 0===(e=window.event)?16:Ls(e.type)),e):1}function wt(e,t,n,u){if(50<wr)throw wr=0,ki=null,Error(A(185));Bu(e,n,u),(!(2&V)||e!==de)&&(e===de&&(!(2&V)&&(I0|=n),4===ce&&gn(e,ye)),Ue(e,u),1===n&&0===V&&!(1&t.mode)&&(mu=ie()+500,w0&&sn()))}function Ue(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-ft(o),i=1<<l,a=r[l];-1===a?(!(i&n)||i&u)&&(r[l]=Np(i,t)):a<=t&&(e.expiredLanes|=i),o&=~i}}(e,t);var u=Kr(e,e===de?ye:0);if(0===u)null!==n&&bs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&bs(n),1===t)0===e.tag?function(e){w0=!0,vc(e)}(L1.bind(null,e)):vc(L1.bind(null,e)),A3((function(){!(6&V)&&sn()})),n=null;else{switch(Cs(u)){case 1:n=ul;break;case 4:n=_s;break;case 16:default:n=Gr;break;case 536870912:n=Es}n=B1(n,M1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function M1(e,t){if($0=-1,U0=0,6&V)throw Error(A(327));var n=e.callbackNode;if(gu()&&e.callbackNode!==n)return null;var u=Kr(e,e===de?ye:0);if(0===u)return null;if(30&u||u&e.expiredLanes||t)t=V0(e,u);else{t=u;var r=V;V|=2;var o=j1();for((de!==e||ye!==t)&&(Vt=null,mu=ie()+500,Pn(e,t));;)try{K3();break}catch(i){O1(e,i)}$l(),R0.current=o,V=r,null!==ae?t=0:(de=null,ye=0,t=ce)}if(0!==t){if(2===t&&(0!==(r=rl(e))&&(u=r,t=Ci(e,r))),1===t)throw n=mr,Pn(e,0),gn(e,u),Ue(e,ie()),n;if(6===t)gn(e,u);else{if(r=e.current.alternate,!(30&u||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var u=0;u<n.length;u++){var r=n[u],o=r.getSnapshot;r=r.value;try{if(!dt(o(),r))return!1}catch{return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(r)||(t=V0(e,u),2===t&&(o=rl(e),0!==o&&(u=o,t=Ci(e,o))),1!==t)))throw n=mr,Pn(e,0),gn(e,u),Ue(e,ie()),n;switch(e.finishedWork=r,e.finishedLanes=u,t){case 0:case 1:throw Error(A(345));case 2:case 5:Rn(e,$e,Vt);break;case 3:if(gn(e,u),(130023424&u)===u&&10<(t=_i+500-ie())){if(0!==Kr(e,0))break;if(((r=e.suspendedLanes)&u)!==u){Me(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Nl(Rn.bind(null,e,$e,Vt),t);break}Rn(e,$e,Vt);break;case 4:if(gn(e,u),(4194240&u)===u)break;for(t=e.eventTimes,r=-1;0<u;){var l=31-ft(u);o=1<<l,(l=t[l])>r&&(r=l),u&=~o}if(u=r,10<(u=(120>(u=ie()-u)?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Q3(u/1960))-u)){e.timeoutHandle=Nl(Rn.bind(null,e,$e,Vt),u);break}Rn(e,$e,Vt);break;default:throw Error(A(329))}}}return Ue(e,ie()),e.callbackNode===n?M1.bind(null,e):null}function Ci(e,t){var n=gr;return e.current.memoizedState.isDehydrated&&(Pn(e,t).flags|=256),2!==(e=V0(e,t))&&(t=$e,$e=n,null!==t&&Si(t)),e}function Si(e){null===$e?$e=e:$e.push.apply($e,e)}function gn(e,t){for(t&=~bi,t&=~I0,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ft(t),u=1<<n;e[n]=-1,t&=~u}}function L1(e){if(6&V)throw Error(A(327));gu();var t=Kr(e,0);if(!(1&t))return Ue(e,ie()),null;var n=V0(e,t);if(0!==e.tag&&2===n){var u=rl(e);0!==u&&(t=u,n=Ci(e,u))}if(1===n)throw n=mr,Pn(e,0),gn(e,t),Ue(e,ie()),n;if(6===n)throw Error(A(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rn(e,$e,Vt),Ue(e,ie()),null}function Ai(e,t){var n=V;V|=1;try{return e(t)}finally{0===(V=n)&&(mu=ie()+500,w0&&sn())}}function jn(e){null!==hn&&0===hn.tag&&!(6&V)&&gu();var t=V;V|=1;var n=lt.transition,u=q;try{if(lt.transition=null,q=1,e)return e()}finally{q=u,lt.transition=n,!(6&(V=t))&&sn()}}function Ti(){Ke=hu.current,K(hu)}function Pn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,S3(n)),null!==ae)for(n=ae.return;null!==n;){var u=n;switch(Rl(u),u.tag){case 1:null!=(u=u.type.childContextTypes)&&m0();break;case 3:fu(),K(ze),K(Ee),Yl();break;case 5:Gl(u);break;case 4:fu();break;case 13:case 19:K(ue);break;case 10:Ul(u.type._context);break;case 22:case 23:Ti()}n=n.return}if(de=e,ae=e=wn(e.current,null),ye=Ke=t,ce=0,mr=null,bi=I0=On=0,$e=gr=null,null!==Nn){for(t=0;t<Nn.length;t++)if(null!==(u=(n=Nn[t]).interleaved)){n.interleaved=null;var r=u.next,o=n.pending;if(null!==o){var l=o.next;o.next=r,u.next=l}n.pending=u}Nn=null}return e}function O1(e,t){for(;;){var n=ae;try{if($l(),A0.current=N0,T0){for(var u=re.memoizedState;null!==u;){var r=u.queue;null!==r&&(r.pending=null),u=u.next}T0=!1}if(Ln=0,fe=se=re=null,sr=!1,cr=0,xi.current=null,null===n||null===n.return){ce=1,mr=t,ae=null;break}e:{var o=e,l=n.return,i=n,a=t;if(t=ye,i.flags|=32768,null!==a&&"object"==typeof a&&"function"==typeof a.then){var s=a,c=i,f=c.tag;if(!(1&c.mode||0!==f&&11!==f&&15!==f)){var g=c.alternate;g?(c.updateQueue=g.updateQueue,c.memoizedState=g.memoizedState,c.lanes=g.lanes):(c.updateQueue=null,c.memoizedState=null)}var v=o1(l);if(null!==v){v.flags&=-257,l1(v,l,i,0,t),1&v.mode&&r1(o,s,t),a=s;var d=(t=v).updateQueue;if(null===d){var _=new Set;_.add(a),t.updateQueue=_}else d.add(a);break e}if(!(1&t)){r1(o,s,t),Di();break e}a=Error(A(426))}else if(J&&1&i.mode){var S=o1(l);if(null!==S){!(65536&S.flags)&&(S.flags|=256),l1(S,l,i,0,t),Hl(du(a,i));break e}}o=a=du(a,i),4!==ce&&(ce=2),null===gr?gr=[o]:gr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Dc(o,n1(0,a,t));break e;case 1:i=a;var p=o.type,w=o.stateNode;if(!(128&o.flags||"function"!=typeof p.getDerivedStateFromError&&(null===w||"function"!=typeof w.componentDidCatch||null!==pn&&pn.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t,Dc(o,u1(o,i,t));break e}}o=o.return}while(null!==o)}R1(n)}catch(C){t=C,ae===n&&null!==n&&(ae=n=n.return);continue}break}}function j1(){var e=R0.current;return R0.current=N0,null===e?N0:e}function Di(){(0===ce||3===ce||2===ce)&&(ce=4),null===de||!(268435455&On)&&!(268435455&I0)||gn(de,ye)}function V0(e,t){var n=V;V|=2;var u=j1();for((de!==e||ye!==t)&&(Vt=null,Pn(e,t));;)try{X3();break}catch(r){O1(e,r)}if($l(),V=n,R0.current=u,null!==ae)throw Error(A(261));return de=null,ye=0,ce}function X3(){for(;null!==ae;)P1(ae)}function K3(){for(;null!==ae&&!Ep();)P1(ae)}function P1(e){var t=H1(e.alternate,e,Ke);e.memoizedProps=e.pendingProps,null===t?R1(e):ae=t,xi.current=null}function R1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Z3(n,t)))return n.flags&=32767,void(ae=n);if(null===e)return ce=6,void(ae=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=V3(n,t,Ke)))return void(ae=n);if(null!==(t=t.sibling))return void(ae=t);ae=t=e}while(null!==t);0===ce&&(ce=5)}function Rn(e,t,n){var u=q,r=lt.transition;try{lt.transition=null,q=1,function(e,t,n,u){do{gu()}while(null!==hn);if(6&V)throw Error(A(327));n=e.finishedWork;var r=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(A(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0<n;){var r=31-ft(n),o=1<<r;t[r]=0,u[r]=-1,e[r]=-1,n&=~o}}(e,o),e===de&&(ae=de=null,ye=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||H0||(H0=!0,B1(Gr,(function(){return gu(),null}))),o=!!(15990&n.flags),15990&n.subtreeFlags||o){o=lt.transition,lt.transition=null;var l=q;q=1;var i=V;V|=4,xi.current=null,function(e,t){if(Tl=t0,xl(e=Js())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var u=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(u&&0!==u.rangeCount){n=u.anchorNode;var r=u.anchorOffset,o=u.focusNode;u=u.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,i=-1,a=-1,s=0,c=0,f=e,g=null;t:for(;;){for(var v;f!==n||0!==r&&3!==f.nodeType||(i=l+r),f!==o||0!==u&&3!==f.nodeType||(a=l+u),3===f.nodeType&&(l+=f.nodeValue.length),null!==(v=f.firstChild);)g=f,f=v;for(;;){if(f===e)break t;if(g===n&&++s===r&&(i=l),g===o&&++c===u&&(a=l),null!==(v=f.nextSibling))break;g=(f=g).parentNode}f=v}n=-1===i||-1===a?null:{start:i,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Dl={focusedElem:e,selectionRange:n},t0=!1,M=t;null!==M;)if(e=(t=M).child,1028&t.subtreeFlags&&null!==e)e.return=t,M=e;else for(;null!==M;){t=M;try{var d=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==d){var _=d.memoizedProps,S=d.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?_:ht(t.type,_),S);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(A(163))}}catch(b){le(t,t.return,b)}if(null!==(e=t.sibling)){e.return=t.return,M=e;break}M=t.return}d=b1,b1=!1}(e,n),A1(n,e),y3(Dl),t0=!!Tl,Dl=Tl=null,e.current=n,G3(n),kp(),V=i,q=l,lt.transition=o}else e.current=n;if(H0&&(H0=!1,hn=e,B0=r),o=e.pendingLanes,0===o&&(pn=null),function(e){if(_t&&"function"==typeof _t.onCommitFiberRoot)try{_t.onCommitFiberRoot(Qr,e,void 0,!(128&~e.current.flags))}catch{}}(n.stateNode),Ue(e,ie()),null!==t)for(u=e.onRecoverableError,n=0;n<t.length;n++)r=t[n],u(r.value,{componentStack:r.stack,digest:r.digest});if(z0)throw z0=!1,e=Ei,Ei=null,e;1&B0&&0!==e.tag&&gu(),o=e.pendingLanes,1&o?e===ki?wr++:(wr=0,ki=e):wr=0,sn()}(e,t,n,u)}finally{lt.transition=r,q=u}return null}function gu(){if(null!==hn){var e=Cs(B0),t=lt.transition,n=q;try{if(lt.transition=null,q=16>e?16:e,null===hn)var u=!1;else{if(e=hn,hn=null,B0=0,6&V)throw Error(A(331));var r=V;for(V|=4,M=e.current;null!==M;){var o=M,l=o.child;if(16&M.flags){var i=o.deletions;if(null!==i){for(var a=0;a<i.length;a++){var s=i[a];for(M=s;null!==M;){var c=M;switch(c.tag){case 0:case 11:case 15:hr(8,c,o)}var f=c.child;if(null!==f)f.return=c,M=f;else for(;null!==M;){var g=(c=M).sibling,v=c.return;if(_1(c),c===s){M=null;break}if(null!==g){g.return=v,M=g;break}M=v}}}var d=o.alternate;if(null!==d){var _=d.child;if(null!==_){d.child=null;do{var S=_.sibling;_.sibling=null,_=S}while(null!==_)}}M=o}}if(2064&o.subtreeFlags&&null!==l)l.return=o,M=l;else e:for(;null!==M;){if(2048&(o=M).flags)switch(o.tag){case 0:case 11:case 15:hr(9,o,o.return)}var h=o.sibling;if(null!==h){h.return=o.return,M=h;break e}M=o.return}}var p=e.current;for(M=p;null!==M;){var w=(l=M).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,M=w;else e:for(l=p;null!==M;){if(2048&(i=M).flags)try{switch(i.tag){case 0:case 11:case 15:P0(9,i)}}catch(C){le(i,i.return,C)}if(i===l){M=null;break e}var b=i.sibling;if(null!==b){b.return=i.return,M=b;break e}M=i.return}}if(V=r,sn(),_t&&"function"==typeof _t.onPostCommitFiberRoot)try{_t.onPostCommitFiberRoot(Qr,e)}catch{}u=!0}return u}finally{q=n,lt.transition=t}}return!1}function I1(e,t,n){e=fn(e,t=n1(0,t=du(n,t),1),1),t=Me(),null!==e&&(Bu(e,1,t),Ue(e,t))}function le(e,t,n){if(3===e.tag)I1(e,e,n);else for(;null!==t;){if(3===t.tag){I1(t,e,n);break}if(1===t.tag){var u=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof u.componentDidCatch&&(null===pn||!pn.has(u))){t=fn(t,e=u1(t,e=du(n,e),1),1),e=Me(),null!==t&&(Bu(t,1,e),Ue(t,e));break}}t=t.return}}function eh(e,t,n){var u=e.pingCache;null!==u&&u.delete(t),t=Me(),e.pingedLanes|=e.suspendedLanes&n,de===e&&(ye&n)===n&&(4===ce||3===ce&&(130023424&ye)===ye&&500>ie()-_i?Pn(e,0):bi|=n),Ue(e,t)}function z1(e,t){0===t&&(1&e.mode?(t=Xr,!(130023424&(Xr<<=1))&&(Xr=4194304)):t=1);var n=Me();null!==(e=Bt(e,t))&&(Bu(e,t,n),Ue(e,n))}function th(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),z1(e,n)}function nh(e,t){var n=0;switch(e.tag){case 13:var u=e.stateNode,r=e.memoizedState;null!==r&&(n=r.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(A(314))}null!==u&&u.delete(t),z1(e,n)}function B1(e,t){return xs(e,t)}function uh(e,t,n,u){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function it(e,t,n,u){return new uh(e,t,n,u)}function Fi(e){return!(!(e=e.prototype)||!e.isReactComponent)}function wn(e,t){var n=e.alternate;return null===n?((n=it(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Z0(e,t,n,u,r,o){var l=2;if(u=e,"function"==typeof e)Fi(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case Zn:return In(n.children,r,o,t);case Oo:l=8,r|=8;break;case jo:return(e=it(12,n,t,2|r)).elementType=jo,e.lanes=o,e;case Ro:return(e=it(13,n,t,r)).elementType=Ro,e.lanes=o,e;case Io:return(e=it(19,n,t,r)).elementType=Io,e.lanes=o,e;case Ya:return q0(n,r,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ga:l=10;break e;case Qa:l=9;break e;case Po:l=11;break e;case zo:l=14;break e;case Xt:l=16,u=null;break e}throw Error(A(130,null==e?e:typeof e,""))}return(t=it(l,n,t,r)).elementType=e,t.type=u,t.lanes=o,t}function In(e,t,n,u){return(e=it(7,e,u,t)).lanes=n,e}function q0(e,t,n,u){return(e=it(22,e,u,t)).elementType=Ya,e.lanes=n,e.stateNode={isHidden:!1},e}function Ni(e,t,n){return(e=it(6,e,null,t)).lanes=n,e}function Mi(e,t,n){return(t=it(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function oh(e,t,n,u,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ol(0),this.expirationTimes=ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ol(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Li(e,t,n,u,r,o,l,i,a){return e=new oh(e,t,n,i,a),1===t?(t=1,!0===o&&(t|=8)):t=0,o=it(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ql(o),e}function $1(e){if(!e)return an;e:{if(Sn(e=e._reactInternals)!==e||1!==e.tag)throw Error(A(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(He(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(A(171))}if(1===e.tag){var n=e.type;if(He(n))return gc(e,n,t)}return t}function U1(e,t,n,u,r,o,l,i,a){return(e=Li(n,u,!0,e,0,o,0,i,a)).context=$1(null),n=e.current,(o=$t(u=Me(),r=mn(n))).callback=t??null,fn(n,o,r),e.current.lanes=r,Bu(e,r,u),Ue(e,u),e}function W0(e,t,n,u){var r=t.current,o=Me(),l=mn(r);return n=$1(n),null===t.context?t.context=n:t.pendingContext=n,(t=$t(o,l)).payload={element:e},null!==(u=void 0===u?null:u)&&(t.callback=u),null!==(e=fn(r,t,l))&&(wt(e,r,l,o),k0(e,r,l)),l}function G0(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function V1(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Oi(e,t){V1(e,t),(e=e.alternate)&&V1(e,t)}H1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ze.current)Be=!0;else{if(!(e.lanes&n||128&t.flags))return Be=!1,function(e,t,n){switch(t.tag){case 3:p1(t),iu();break;case 5:Nc(t);break;case 1:He(t.type)&&g0(t);break;case 4:Wl(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,r=t.memoizedProps.value;W(_0,u._currentValue),u._currentValue=r;break;case 13:if(null!==(u=t.memoizedState))return null!==u.dehydrated?(W(ue,1&ue.current),t.flags|=128,null):n&t.child.childLanes?m1(e,t,n):(W(ue,1&ue.current),null!==(e=Ut(e,t,n))?e.sibling:null);W(ue,1&ue.current);break;case 19:if(u=!!(n&t.childLanes),128&e.flags){if(u)return w1(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),W(ue,ue.current),u)break;return null;case 22:case 23:return t.lanes=0,c1(e,t,n)}return Ut(e,t,n)}(e,t,n);Be=!!(131072&e.flags)}else Be=!1,J&&1048576&t.flags&&yc(t,y0,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;O0(e,t),e=t.pendingProps;var r=ru(t,Ee.current);cu(t,n),r=Jl(null,t,u,e,r,n);var o=ei();return t.flags|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,He(u)?(o=!0,g0(t)):o=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,ql(t),r.updater=M0,t.stateNode=r,r._reactInternals=t,li(t,u,e,n),t=ci(null,t,u,!0,o,n)):(t.tag=0,J&&o&&Pl(t),Ne(null,t,r,n),t=t.child),t;case 16:u=t.elementType;e:{switch(O0(e,t),e=t.pendingProps,u=(r=u._init)(u._payload),t.type=u,r=t.tag=function(e){if("function"==typeof e)return Fi(e)?1:0;if(null!=e){if((e=e.$$typeof)===Po)return 11;if(e===zo)return 14}return 2}(u),e=ht(u,e),r){case 0:t=si(null,t,u,e,n);break e;case 1:t=d1(null,t,u,e,n);break e;case 11:t=i1(null,t,u,e,n);break e;case 14:t=a1(null,t,u,ht(u.type,e),n);break e}throw Error(A(306,u,""))}return t;case 0:return u=t.type,r=t.pendingProps,si(e,t,u,r=t.elementType===u?r:ht(u,r),n);case 1:return u=t.type,r=t.pendingProps,d1(e,t,u,r=t.elementType===u?r:ht(u,r),n);case 3:e:{if(p1(t),null===e)throw Error(A(387));u=t.pendingProps,r=(o=t.memoizedState).element,Tc(e,t),C0(t,u,null,n);var l=t.memoizedState;if(u=l.element,o.isDehydrated){if(o={element:u,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=h1(e,t,u,n,r=du(Error(A(423)),t));break e}if(u!==r){t=h1(e,t,u,n,r=du(Error(A(424)),t));break e}for(Xe=on(t.stateNode.containerInfo.firstChild),Ye=t,J=!0,pt=null,n=Sc(t,null,u,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(iu(),u===r){t=Ut(e,t,n);break e}Ne(e,t,u,n)}t=t.child}return t;case 5:return Nc(t),null===e&&zl(t),u=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,l=r.children,Fl(u,r)?l=null:null!==o&&Fl(u,o)&&(t.flags|=32),f1(e,t),Ne(e,t,l,n),t.child;case 6:return null===e&&zl(t),null;case 13:return m1(e,t,n);case 4:return Wl(t,t.stateNode.containerInfo),u=t.pendingProps,null===e?t.child=au(t,null,u,n):Ne(e,t,u,n),t.child;case 11:return u=t.type,r=t.pendingProps,i1(e,t,u,r=t.elementType===u?r:ht(u,r),n);case 7:return Ne(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ne(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(u=t.type._context,r=t.pendingProps,o=t.memoizedProps,l=r.value,W(_0,u._currentValue),u._currentValue=l,null!==o)if(dt(o.value,l)){if(o.children===r.children&&!ze.current){t=Ut(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var i=o.dependencies;if(null!==i){l=o.child;for(var a=i.firstContext;null!==a;){if(a.context===u){if(1===o.tag){(a=$t(-1,n&-n)).tag=2;var s=o.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?a.next=a:(a.next=c.next,c.next=a),s.pending=a}}o.lanes|=n,null!==(a=o.alternate)&&(a.lanes|=n),Vl(o.return,n,t),i.lanes|=n;break}a=a.next}}else if(10===o.tag)l=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(l=o.return))throw Error(A(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),Vl(l,n,t),l=o.sibling}else l=o.child;if(null!==l)l.return=o;else for(l=o;null!==l;){if(l===t){l=null;break}if(null!==(o=l.sibling)){o.return=l.return,l=o;break}l=l.return}o=l}Ne(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,u=t.pendingProps.children,cu(t,n),u=u(r=rt(r)),t.flags|=1,Ne(e,t,u,n),t.child;case 14:return r=ht(u=t.type,t.pendingProps),a1(e,t,u,r=ht(u.type,r),n);case 15:return s1(e,t,t.type,t.pendingProps,n);case 17:return u=t.type,r=t.pendingProps,r=t.elementType===u?r:ht(u,r),O0(e,t),t.tag=1,He(u)?(e=!0,g0(t)):e=!1,cu(t,n),e1(t,u,r),li(t,u,r,n),ci(null,t,u,!0,e,n);case 19:return w1(e,t,n);case 22:return c1(e,t,n)}throw Error(A(156,t.tag))};var Z1="function"==typeof reportError?reportError:function(e){console.error(e)};function ji(e){this._internalRoot=e}function Q0(e){this._internalRoot=e}function Pi(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Y0(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function q1(){}function X0(e,t,n,u,r){var o=n._reactRootContainer;if(o){var l=o;if("function"==typeof r){var i=r;r=function(){var a=G0(l);i.call(a)}}W0(t,l,e,r)}else l=function(e,t,n,u,r){if(r){if("function"==typeof u){var o=u;u=function(){var s=G0(l);o.call(s)}}var l=U1(t,u,e,0,null,!1,0,"",q1);return e._reactRootContainer=l,e[Rt]=l.current,tr(8===e.nodeType?e.parentNode:e),jn(),l}for(;r=e.lastChild;)e.removeChild(r);if("function"==typeof u){var i=u;u=function(){var s=G0(a);i.call(s)}}var a=Li(e,0,!1,null,0,!1,0,"",q1);return e._reactRootContainer=a,e[Rt]=a.current,tr(8===e.nodeType?e.parentNode:e),jn((function(){W0(t,a,n,u)})),a}(n,t,e,r,u);return G0(l)}Q0.prototype.render=ji.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(A(409));W0(e,t,null,null)},Q0.prototype.unmount=ji.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;jn((function(){W0(null,e,null,null)})),t[Rt]=null}},Q0.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ts();e={blockedOn:null,target:e,priority:t};for(var n=0;n<nn.length&&0!==t&&t<nn[n].priority;n++);nn.splice(n,0,e),0===n&&Ns(e)}},Ss=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Hu(t.pendingLanes);0!==n&&(ll(t,1|n),Ue(t,ie()),!(6&V)&&(mu=ie()+500,sn()))}break;case 13:jn((function(){var u=Bt(e,1);if(null!==u){var r=Me();wt(u,e,1,r)}})),Oi(e,1)}},il=function(e){if(13===e.tag){var t=Bt(e,134217728);if(null!==t)wt(t,e,134217728,Me());Oi(e,134217728)}},As=function(e){if(13===e.tag){var t=mn(e),n=Bt(e,t);if(null!==n)wt(n,e,t,Me());Oi(e,t)}},Ts=function(){return q},Ds=function(e,t){var n=q;try{return q=e,t()}finally{q=n}},Jo=function(e,t,n){switch(t){case"input":if(Zo(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var u=n[t];if(u!==e&&u.form===e.form){var r=h0(u);if(!r)throw Error(A(90));Ja(u),Zo(u,r)}}}break;case"textarea":rs(e,n);break;case"select":null!=(t=n.value)&&qn(e,!!n.multiple,t,!1)}},ps=Ai,hs=jn;var sh={usingClientEntryPoint:!1,Events:[rr,nu,h0,fs,ds,Ai]},vr={findFiberByHostInstance:An,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ch={bundleType:vr.bundleType,version:vr.version,rendererPackageName:vr.rendererPackageName,rendererConfig:vr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Pt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=vs(e))?null:e.stateNode},findFiberByHostInstance:vr.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var K0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!K0.isDisabled&&K0.supportsFiber)try{Qr=K0.inject(ch),_t=K0}catch{}}We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sh,We.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Pi(t))throw Error(A(200));return function(e,t,n){var u=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Vn,key:null==u?null:""+u,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},We.createRoot=function(e,t){if(!Pi(e))throw Error(A(299));var n=!1,u="",r=Z1;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=Li(e,1,!1,null,0,n,0,u,r),e[Rt]=t.current,tr(8===e.nodeType?e.parentNode:e),new ji(t)},We.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(A(188)):(e=Object.keys(e).join(","),Error(A(268,e)));return e=null===(e=vs(t))?null:e.stateNode},We.flushSync=function(e){return jn(e)},We.hydrate=function(e,t,n){if(!Y0(t))throw Error(A(200));return X0(null,e,t,!0,n)},We.hydrateRoot=function(e,t,n){if(!Pi(e))throw Error(A(405));var u=null!=n&&n.hydratedSources||null,r=!1,o="",l=Z1;if(null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=U1(t,null,e,1,n??null,r,0,o,l),e[Rt]=t.current,tr(e),u)for(e=0;e<u.length;e++)r=(r=(n=u[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,r]:t.mutableSourceEagerHydrationData.push(n,r);return new Q0(t)},We.render=function(e,t,n){if(!Y0(t))throw Error(A(200));return X0(null,e,t,!1,n)},We.unmountComponentAtNode=function(e){if(!Y0(e))throw Error(A(40));return!!e._reactRootContainer&&(jn((function(){X0(null,null,e,!1,(function(){e._reactRootContainer=null,e[Rt]=null}))})),!0)},We.unstable_batchedUpdates=Ai,We.unstable_renderSubtreeIntoContainer=function(e,t,n,u){if(!Y0(n))throw Error(A(200));if(null==e||void 0===e._reactInternals)throw Error(A(38));return X0(e,t,n,!1,u)},We.version="18.3.1-next-f1338f8080-20240426",function W1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(W1)}catch(e){console.error(e)}}(),$a.exports=We;var Ri=$a.exports,G1=Ri;Do.createRoot=G1.createRoot,Do.hydrateRoot=G1.hydrateRoot;const Ii=E.createContext(null),Q1={embedId:null,brandName:"Rudi",brandSlogan:"My default brand slogan",brandImageUrl:null,headerBgColor:"#50A0FF",headerTextColor:"#FFFFFF",headerBgPattern:"dog",assistantIcon:null,buttonColor:"#262626",chatIcon:"plus",chatIconUrl:null,arrowDownColor:"white",noSponsor:"true",position:"bottom-right",offsetBottom:"0px",userBgColor:null,userTextColor:null,assistantBgColor:null,assistantTextColor:null,socialFbUrl:null,socialLineUrl:null,socialPhoneUrl:null,greeting:null,greetings:null,defaultSuggestions:null,autoSuggestions:"off",fetchSuggestions:"off",windowHeight:null,windowWidth:null,textSize:null,hideBubble:"off",allowFullscreen:"off",openOnLoad:"off",supportEmail:null,showRag:null,showActions:null,showAssistants:null,language:"en",chatFnVersion:"v2",prompt:null,model:null,temperature:null,showCopyAction:null,showSuggestAction:null,showReportAction:null,placeholder:"Talk with me",bgColorChat:"#f3f4f6",sizeOpenButton:56};const J0="___anm-chat-widget-open___",Y1="___anm-chat-greetings-shown___";const mh=E.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var gh=Object.defineProperty,eo=Object.getOwnPropertySymbols,X1=Object.prototype.hasOwnProperty,K1=Object.prototype.propertyIsEnumerable,J1=(e,t,n)=>t in e?gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ef=(e,t)=>{for(var n in t||(t={}))X1.call(t,n)&&J1(e,n,t[n]);if(eo)for(var n of eo(t))K1.call(t,n)&&J1(e,n,t[n]);return e},tf=(e,t)=>{var n={};for(var u in e)X1.call(e,u)&&t.indexOf(u)<0&&(n[u]=e[u]);if(null!=e&&eo)for(var u of eo(e))t.indexOf(u)<0&&K1.call(e,u)&&(n[u]=e[u]);return n};const nf=E.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:o,weight:l,mirrored:i,children:a,weights:s}=n,c=tf(n,["alt","color","size","weight","mirrored","children","weights"]),f=E.useContext(mh),{color:g="currentColor",size:v,weight:d="regular",mirrored:_=!1}=f,S=tf(f,["color","size","weight","mirrored"]);return y.createElement("svg",ef(ef({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o??v,height:o??v,fill:r??g,viewBox:"0 0 256 256",transform:i||_?"scale(-1, 1)":void 0},S),c),!!u&&y.createElement("title",null,u),a,s.get(l??d))}));nf.displayName="IconBase";const vt=nf,wh=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"}),y.createElement("path",{d:"M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"}))]]);var vh=Object.defineProperty,yh=Object.defineProperties,xh=Object.getOwnPropertyDescriptors,uf=Object.getOwnPropertySymbols,bh=Object.prototype.hasOwnProperty,_h=Object.prototype.propertyIsEnumerable,rf=(e,t,n)=>t in e?vh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const of=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>yh(e,xh(t)))(((e,t)=>{for(var n in t||(t={}))bh.call(t,n)&&rf(e,n,t[n]);if(uf)for(var n of uf(t))_h.call(t,n)&&rf(e,n,t[n]);return e})({ref:t},e),{weights:wh}))));of.displayName="ArrowDown";const Ch=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M241,150.65s0,0,0-.05a51.33,51.33,0,0,0-2.53-5.9L196.93,50.18a12,12,0,0,0-2.5-3.65,36,36,0,0,0-50.92,0A12,12,0,0,0,140,55V76H116V55a12,12,0,0,0-3.51-8.48,36,36,0,0,0-50.92,0,12,12,0,0,0-2.5,3.65L17.53,144.7A51.33,51.33,0,0,0,15,150.6s0,0,0,.05A52,52,0,1,0,116,168V100h24v68a52,52,0,1,0,101-17.35ZM80,62.28a12,12,0,0,1,12-1.22v63.15a51.9,51.9,0,0,0-35.9-7.62ZM64,196a28,28,0,1,1,28-28A28,28,0,0,1,64,196ZM164,61.06a12.06,12.06,0,0,1,12,1.22l23.87,54.31a51.9,51.9,0,0,0-35.9,7.62ZM192,196a28,28,0,1,1,28-28A28,28,0,0,1,192,196Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M104,168a40,40,0,1,1-40-40A40,40,0,0,1,104,168Zm88-40a40,40,0,1,0,40,40A40,40,0,0,0,192,128Z",opacity:"0.2"}),y.createElement("path",{d:"M237.2,151.87v0a47.1,47.1,0,0,0-2.35-5.45L193.26,51.8a7.82,7.82,0,0,0-1.66-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,7.82,7.82,0,0,0-1.66,2.44L21.15,146.4a47.1,47.1,0,0,0-2.35,5.45v0A48,48,0,1,0,112,168V96h32v72a48,48,0,1,0,93.2-16.13ZM76.71,59.75a16,16,0,0,1,19.29-1v73.51a47.9,47.9,0,0,0-46.79-9.92ZM64,200a32,32,0,1,1,32-32A32,32,0,0,1,64,200ZM160,58.74a16,16,0,0,1,19.29,1l27.5,62.58A47.9,47.9,0,0,0,160,132.25ZM192,200a32,32,0,1,1,32-32A32,32,0,0,1,192,200Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M237.22,151.9l0-.1a1.42,1.42,0,0,0-.07-.22,48.46,48.46,0,0,0-2.31-5.3L193.27,51.8a8,8,0,0,0-1.67-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,8,8,0,0,0-1.67,2.44L21.2,146.28a48.46,48.46,0,0,0-2.31,5.3,1.72,1.72,0,0,0-.07.21s0,.08,0,.11a48,48,0,0,0,90.32,32.51,47.49,47.49,0,0,0,2.9-16.59V96h32v71.83a47.49,47.49,0,0,0,2.9,16.59,48,48,0,0,0,90.32-32.51Zm-143.15,27a32,32,0,0,1-60.2-21.71l1.81-4.13A32,32,0,0,1,96,167.88V168h0A32,32,0,0,1,94.07,178.94ZM203,198.07A32,32,0,0,1,160,168h0v-.11a32,32,0,0,1,60.32-14.78l1.81,4.13A32,32,0,0,1,203,198.07Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M233,147.24,191.43,52.6a6,6,0,0,0-1.25-1.83,30,30,0,0,0-42.42,0A6,6,0,0,0,146,55V82H110V55a6,6,0,0,0-1.76-4.25,30,30,0,0,0-42.42,0,6,6,0,0,0-1.25,1.83L23,147.24A46,46,0,1,0,110,168V94h36v74a46,46,0,1,0,87-20.76ZM64,202a34,34,0,1,1,34-34A34,34,0,0,1,64,202Zm0-80a45.77,45.77,0,0,0-18.55,3.92L75.06,58.54A18,18,0,0,1,98,57.71V137A45.89,45.89,0,0,0,64,122Zm94-64.28a18,18,0,0,1,22.94.83l29.61,67.37A45.9,45.9,0,0,0,158,137ZM192,202a34,34,0,1,1,34-34A34,34,0,0,1,192,202Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M237.2,151.87v0a47.1,47.1,0,0,0-2.35-5.45L193.26,51.8a7.82,7.82,0,0,0-1.66-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,7.82,7.82,0,0,0-1.66,2.44L21.15,146.4a47.1,47.1,0,0,0-2.35,5.45v0A48,48,0,1,0,112,168V96h32v72a48,48,0,1,0,93.2-16.13ZM76.71,59.75a16,16,0,0,1,19.29-1v73.51a47.9,47.9,0,0,0-46.79-9.92ZM64,200a32,32,0,1,1,32-32A32,32,0,0,1,64,200ZM160,58.74a16,16,0,0,1,19.29,1l27.5,62.58A47.9,47.9,0,0,0,160,132.25ZM192,200a32,32,0,1,1,32-32A32,32,0,0,1,192,200Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M231.22,148.09,189.6,53.41a3.94,3.94,0,0,0-.83-1.22,28,28,0,0,0-39.6,0A4,4,0,0,0,148,55V84H108V55a4,4,0,0,0-1.17-2.83,28,28,0,0,0-39.6,0,3.94,3.94,0,0,0-.83,1.22L24.78,148.09A44,44,0,1,0,108,168V92h40v76a44,44,0,1,0,83.22-19.91ZM64,204a36,36,0,1,1,36-36A36,36,0,0,1,64,204Zm0-80a43.78,43.78,0,0,0-22.66,6.3L73.4,57.35a20,20,0,0,1,26.6-.59v86A44,44,0,0,0,64,124Zm92-67.23a20,20,0,0,1,26.6.59l32.06,72.94A43.92,43.92,0,0,0,156,142.74ZM192,204a36,36,0,1,1,36-36A36,36,0,0,1,192,204Z"}))]]);var Sh=Object.defineProperty,Ah=Object.defineProperties,Th=Object.getOwnPropertyDescriptors,lf=Object.getOwnPropertySymbols,Dh=Object.prototype.hasOwnProperty,Fh=Object.prototype.propertyIsEnumerable,af=(e,t,n)=>t in e?Sh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const sf=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>Ah(e,Th(t)))(((e,t)=>{for(var n in t||(t={}))Dh.call(t,n)&&af(e,n,t[n]);if(lf)for(var n of lf(t))Fh.call(t,n)&&af(e,n,t[n]);return e})({ref:t},e),{weights:Ch}))));sf.displayName="Binoculars";const Lh=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M120,128a16,16,0,1,1-16-16A16,16,0,0,1,120,128Zm32-16a16,16,0,1,0,16,16A16,16,0,0,0,152,112Zm84,16A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),y.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM84,118a10,10,0,1,0,10,10A10,10,0,0,0,84,118Zm88,0a10,10,0,1,0,10,10A10,10,0,0,0,172,118Zm58,10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM84,116a12,12,0,1,0,12,12A12,12,0,0,0,84,116Zm88,0a12,12,0,1,0,12,12A12,12,0,0,0,172,116Zm60,12A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-52-8a8,8,0,1,0,8,8A8,8,0,0,0,84,120Zm88,0a8,8,0,1,0,8,8A8,8,0,0,0,172,120Zm56,8A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"}))]]);var Oh=Object.defineProperty,jh=Object.defineProperties,Ph=Object.getOwnPropertyDescriptors,cf=Object.getOwnPropertySymbols,Rh=Object.prototype.hasOwnProperty,Ih=Object.prototype.propertyIsEnumerable,ff=(e,t,n)=>t in e?Oh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const df=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>jh(e,Ph(t)))(((e,t)=>{for(var n in t||(t={}))Rh.call(t,n)&&ff(e,n,t[n]);if(cf)for(var n of cf(t))Ih.call(t,n)&&ff(e,n,t[n]);return e})({ref:t},e),{weights:Lh}))));df.displayName="ChatCircleDots";const Bh=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),y.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"}))]]);var $h=Object.defineProperty,Uh=Object.defineProperties,Vh=Object.getOwnPropertyDescriptors,pf=Object.getOwnPropertySymbols,Zh=Object.prototype.hasOwnProperty,qh=Object.prototype.propertyIsEnumerable,hf=(e,t,n)=>t in e?$h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const zi=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>Uh(e,Vh(t)))(((e,t)=>{for(var n in t||(t={}))Zh.call(t,n)&&hf(e,n,t[n]);if(pf)for(var n of pf(t))qh.call(t,n)&&hf(e,n,t[n]);return e})({ref:t},e),{weights:Bh}))));zi.displayName="CircleNotch";const Qh=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M204.73,51.85A108.07,108.07,0,0,0,20,128v56a28,28,0,0,0,28,28H64a28,28,0,0,0,28-28V144a28,28,0,0,0-28-28H44.84A84.05,84.05,0,0,1,128,44h.64a83.7,83.7,0,0,1,82.52,72H192a28,28,0,0,0-28,28v40a28,28,0,0,0,28,28h19.6A20,20,0,0,1,192,228H136a12,12,0,0,0,0,24h56a44.05,44.05,0,0,0,44-44V128A107.34,107.34,0,0,0,204.73,51.85ZM64,140a4,4,0,0,1,4,4v40a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V140Zm124,44V144a4,4,0,0,1,4-4h20v48H192A4,4,0,0,1,188,184Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M80,144v40a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V128H64A16,16,0,0,1,80,144Zm112-16a16,16,0,0,0-16,16v40a16,16,0,0,0,16,16h32V128Z",opacity:"0.2"}),y.createElement("path",{d:"M201.89,54.66A104.08,104.08,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M232,128v80a40,40,0,0,1-40,40H136a8,8,0,0,1,0-16h56a24,24,0,0,0,24-24H192a24,24,0,0,1-24-24V144a24,24,0,0,1,24-24h23.65A88,88,0,0,0,66,65.54,87.29,87.29,0,0,0,40.36,120H64a24,24,0,0,1,24,24v40a24,24,0,0,1-24,24H48a24,24,0,0,1-24-24V128A104.11,104.11,0,0,1,201.89,54.66,103.41,103.41,0,0,1,232,128Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M200.47,56.07A101.37,101.37,0,0,0,128.77,26H128A102,102,0,0,0,26,128v56a22,22,0,0,0,22,22H64a22,22,0,0,0,22-22V144a22,22,0,0,0-22-22H38.2A90,90,0,0,1,128,38h.68a89.71,89.71,0,0,1,89.13,84H192a22,22,0,0,0-22,22v40a22,22,0,0,0,22,22h26v2a26,26,0,0,1-26,26H136a6,6,0,0,0,0,12h56a38,38,0,0,0,38-38V128A101.44,101.44,0,0,0,200.47,56.07ZM64,134a10,10,0,0,1,10,10v40a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V134Zm118,50V144a10,10,0,0,1,10-10h26v60H192A10,10,0,0,1,182,184Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M201.89,54.66A103.43,103.43,0,0,0,128.79,24H128A104,104,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M199.05,57.48A100.07,100.07,0,0,0,28,128v56a20,20,0,0,0,20,20H64a20,20,0,0,0,20-20V144a20,20,0,0,0-20-20H36.08A92,92,0,0,1,128,36h.7a91.75,91.75,0,0,1,91.22,88H192a20,20,0,0,0-20,20v40a20,20,0,0,0,20,20h28v4a28,28,0,0,1-28,28H136a4,4,0,0,0,0,8h56a36,36,0,0,0,36-36V128A99.44,99.44,0,0,0,199.05,57.48ZM64,132a12,12,0,0,1,12,12v40a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V132Zm116,52V144a12,12,0,0,1,12-12h28v64H192A12,12,0,0,1,180,184Z"}))]]);var Yh=Object.defineProperty,Xh=Object.defineProperties,Kh=Object.getOwnPropertyDescriptors,mf=Object.getOwnPropertySymbols,Jh=Object.prototype.hasOwnProperty,e6=Object.prototype.propertyIsEnumerable,gf=(e,t,n)=>t in e?Yh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const wf=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>Xh(e,Kh(t)))(((e,t)=>{for(var n in t||(t={}))Jh.call(t,n)&&gf(e,n,t[n]);if(mf)for(var n of mf(t))e6.call(t,n)&&gf(e,n,t[n]);return e})({ref:t},e),{weights:Qh}))));wf.displayName="Headset";const u6=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M252,152a12,12,0,0,1-12,12H228v12a12,12,0,0,1-24,0V164H192a12,12,0,0,1,0-24h12V128a12,12,0,0,1,24,0v12h12A12,12,0,0,1,252,152ZM56,76H68V88a12,12,0,0,0,24,0V76h12a12,12,0,1,0,0-24H92V40a12,12,0,0,0-24,0V52H56a12,12,0,0,0,0,24ZM184,188h-4v-4a12,12,0,0,0-24,0v4h-4a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM222.14,82.83,82.82,222.14a20,20,0,0,1-28.28,0L33.85,201.46a20,20,0,0,1,0-28.29L173.17,33.86a20,20,0,0,1,28.28,0l20.69,20.68A20,20,0,0,1,222.14,82.83ZM159,112,144,97,53.65,187.31l15,15Zm43.31-43.31-15-15L161,80l15,15Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M176,112,74.34,213.66a8,8,0,0,1-11.31,0L42.34,193a8,8,0,0,1,0-11.31L144,80Z",opacity:"0.2"}),y.createElement("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M246,152a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V158H192a6,6,0,0,1,0-12h18V128a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,152ZM56,70H74V88a6,6,0,0,0,12,0V70h18a6,6,0,0,0,0-12H86V40a6,6,0,0,0-12,0V58H56a6,6,0,0,0,0,12ZM184,194H174V184a6,6,0,0,0-12,0v10H152a6,6,0,0,0,0,12h10v10a6,6,0,0,0,12,0V206h10a6,6,0,0,0,0-12ZM217.9,78.59,78.58,217.9a14,14,0,0,1-19.8,0L38.09,197.21a14,14,0,0,1,0-19.8L177.41,38.1a14,14,0,0,1,19.8,0L217.9,58.79A14,14,0,0,1,217.9,78.59ZM167.51,112,144,88.49,46.58,185.9a2,2,0,0,0,0,2.83l20.69,20.68a2,2,0,0,0,2.82,0h0Zm41.9-44.73L188.73,46.59a2,2,0,0,0-2.83,0L152.48,80,176,103.52,209.41,70.1A2,2,0,0,0,209.41,67.27Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M48,64a8,8,0,0,1,8-8H72V40a8,8,0,0,1,16,0V56h16a8,8,0,0,1,0,16H88V88a8,8,0,0,1-16,0V72H56A8,8,0,0,1,48,64ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16Zm56-48H224V128a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V160h16a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M244,152a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V156H192a4,4,0,0,1,0-8h20V128a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,152ZM56,68H76V88a4,4,0,0,0,8,0V68h20a4,4,0,0,0,0-8H84V40a4,4,0,0,0-8,0V60H56a4,4,0,0,0,0,8ZM184,196H172V184a4,4,0,0,0-8,0v12H152a4,4,0,0,0,0,8h12v12a4,4,0,0,0,8,0V204h12a4,4,0,0,0,0-8ZM216.48,77.17,77.17,216.49a12,12,0,0,1-17,0L39.51,195.8a12,12,0,0,1,0-17L178.83,39.51a12,12,0,0,1,17,0L216.48,60.2A12,12,0,0,1,216.48,77.17ZM170.34,112,144,85.66,45.17,184.49a4,4,0,0,0,0,5.65l20.68,20.69a4,4,0,0,0,5.66,0Zm40.49-46.14L190.14,45.17a4,4,0,0,0-5.66,0L149.65,80,176,106.34l34.83-34.83A4,4,0,0,0,210.83,65.86Z"}))]]);var r6=Object.defineProperty,o6=Object.defineProperties,l6=Object.getOwnPropertyDescriptors,vf=Object.getOwnPropertySymbols,i6=Object.prototype.hasOwnProperty,a6=Object.prototype.propertyIsEnumerable,yf=(e,t,n)=>t in e?r6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const xf=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>o6(e,l6(t)))(((e,t)=>{for(var n in t||(t={}))i6.call(t,n)&&yf(e,n,t[n]);if(vf)for(var n of vf(t))a6.call(t,n)&&yf(e,n,t[n]);return e})({ref:t},e),{weights:u6}))));xf.displayName="MagicWand";const f6=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),y.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]);var d6=Object.defineProperty,p6=Object.defineProperties,h6=Object.getOwnPropertyDescriptors,bf=Object.getOwnPropertySymbols,m6=Object.prototype.hasOwnProperty,g6=Object.prototype.propertyIsEnumerable,_f=(e,t,n)=>t in e?d6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ef=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>p6(e,h6(t)))(((e,t)=>{for(var n in t||(t={}))m6.call(t,n)&&_f(e,n,t[n]);if(bf)for(var n of bf(t))g6.call(t,n)&&_f(e,n,t[n]);return e})({ref:t},e),{weights:f6}))));Ef.displayName="MagnifyingGlass";const y6=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M233.86,110.48,65.8,14.58A20,20,0,0,0,37.15,38.64L67.33,128,37.15,217.36A20,20,0,0,0,56,244a20.1,20.1,0,0,0,9.81-2.58l.09-.06,168-96.07a20,20,0,0,0,0-34.81ZM63.19,215.26,88.61,140H144a12,12,0,0,0,0-24H88.61L63.18,40.72l152.76,87.17Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M227.91,134.86,59.93,231a8,8,0,0,1-11.44-9.67L80,128,48.49,34.72a8,8,0,0,1,11.44-9.67l168,95.85A8,8,0,0,1,227.91,134.86Z",opacity:"0.2"}),y.createElement("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M240,127.89a16,16,0,0,1-8.18,14L63.9,237.9A16.15,16.15,0,0,1,56,240a16,16,0,0,1-15-21.33l27-79.95A4,4,0,0,1,71.72,136H144a8,8,0,0,0,8-8.53,8.19,8.19,0,0,0-8.26-7.47h-72a4,4,0,0,1-3.79-2.72l-27-79.94A16,16,0,0,1,63.84,18.07l168,95.89A16,16,0,0,1,240,127.89Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M230.88,115.69l-168-95.88a14,14,0,0,0-20,16.87L73.66,128,42.81,219.33A14,14,0,0,0,56,238a14.15,14.15,0,0,0,6.93-1.83L230.84,140.1a14,14,0,0,0,0-24.41Zm-5.95,14L57,225.73a2,2,0,0,1-2.86-2.42.42.42,0,0,0,0-.1L84.3,134H144a6,6,0,0,0,0-12H84.3L54.17,32.8a.3.3,0,0,0,0-.1,1.87,1.87,0,0,1,.6-2.2A1.85,1.85,0,0,1,57,30.25l168,95.89a1.93,1.93,0,0,1,1,1.74A2,2,0,0,1,224.93,129.66Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M229.89,117.43l-168-95.88A12,12,0,0,0,44.7,36l31.08,92L44.71,220A12,12,0,0,0,56,236a12.13,12.13,0,0,0,5.93-1.57l167.94-96.08a12,12,0,0,0,0-20.92Zm-4,14L58,227.47a4,4,0,0,1-5.72-4.83l0-.07L82.87,132H144a4,4,0,0,0,0-8H82.87L52.26,33.37A3.89,3.89,0,0,1,53.44,29,4.13,4.13,0,0,1,56,28a3.88,3.88,0,0,1,1.93.54l168,95.87a4,4,0,0,1,0,7Z"}))]]);var x6=Object.defineProperty,b6=Object.defineProperties,_6=Object.getOwnPropertyDescriptors,kf=Object.getOwnPropertySymbols,E6=Object.prototype.hasOwnProperty,k6=Object.prototype.propertyIsEnumerable,Cf=(e,t,n)=>t in e?x6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Sf=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>b6(e,_6(t)))(((e,t)=>{for(var n in t||(t={}))E6.call(t,n)&&Cf(e,n,t[n]);if(kf)for(var n of kf(t))k6.call(t,n)&&Cf(e,n,t[n]);return e})({ref:t},e),{weights:y6}))));Sf.displayName="PaperPlaneRight";const A6=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),y.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]);var T6=Object.defineProperty,D6=Object.defineProperties,F6=Object.getOwnPropertyDescriptors,Af=Object.getOwnPropertySymbols,N6=Object.prototype.hasOwnProperty,M6=Object.prototype.propertyIsEnumerable,Tf=(e,t,n)=>t in e?T6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Df=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>D6(e,F6(t)))(((e,t)=>{for(var n in t||(t={}))N6.call(t,n)&&Tf(e,n,t[n]);if(Af)for(var n of Af(t))M6.call(t,n)&&Tf(e,n,t[n]);return e})({ref:t},e),{weights:A6}))));Df.displayName="Plus";const j6=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),y.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]);var P6=Object.defineProperty,R6=Object.defineProperties,I6=Object.getOwnPropertyDescriptors,Ff=Object.getOwnPropertySymbols,z6=Object.prototype.hasOwnProperty,H6=Object.prototype.propertyIsEnumerable,Nf=(e,t,n)=>t in e?P6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Mf=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>R6(e,I6(t)))(((e,t)=>{for(var n in t||(t={}))z6.call(t,n)&&Nf(e,n,t[n]);if(Ff)for(var n of Ff(t))H6.call(t,n)&&Nf(e,n,t[n]);return e})({ref:t},e),{weights:j6}))));Mf.displayName="Warning";const U6=new Map([["bold",y.createElement(y.Fragment,null,y.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",y.createElement(y.Fragment,null,y.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),y.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",y.createElement(y.Fragment,null,y.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",y.createElement(y.Fragment,null,y.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",y.createElement(y.Fragment,null,y.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",y.createElement(y.Fragment,null,y.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]);var V6=Object.defineProperty,Z6=Object.defineProperties,q6=Object.getOwnPropertyDescriptors,Lf=Object.getOwnPropertySymbols,W6=Object.prototype.hasOwnProperty,G6=Object.prototype.propertyIsEnumerable,Of=(e,t,n)=>t in e?V6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const jf=E.forwardRef(((e,t)=>y.createElement(vt,((e,t)=>Z6(e,q6(t)))(((e,t)=>{for(var n in t||(t={}))W6.call(t,n)&&Of(e,n,t[n]);if(Lf)for(var n of Lf(t))G6.call(t,n)&&Of(e,n,t[n]);return e})({ref:t},e),{weights:U6}))));jf.displayName="X";const Hi={plus:Df,chatBubble:df,support:wf,search2:sf,search:Ef,magic:xf};function X6({settings:e,isOpen:t,toggleBot:n,offsetBottom:u}){const r=Object.hasOwn(Hi,null==e?void 0:e.chatIcon)?Hi[e.chatIcon]:Hi.plus,o="white"===e.arrowDownColor?"tw-dg":"tw-cg",l=u?`calc(16px + ${u})`:"16px",i="bottom-left"===e.position;return m.jsx("button",{id:"animuz-embed-chat-button",onClick:n,className:"tw-a tw-hd tw-ng tw-on tw-yc tw-jc tw-ua tw-kf tw-bm tw-mn",style:{position:"fixed",bottom:l,...i?{left:"16px",right:"unset"}:{right:"16px",left:"unset"},height:null!=e&&e.sizeOpenButton?`${null==e?void 0:e.sizeOpenButton}px`:"56px",width:null!=e&&e.sizeOpenButton?`${null==e?void 0:e.sizeOpenButton}px`:"56px",borderRadius:"9999px",backgroundColor:e.buttonColor},"aria-label":"Toggle Menu",children:m.jsxs("div",{className:" tw-on tw-qf tw-jd tw-tm tw-gm tw-bm",children:[e.chatIconUrl?m.jsx("img",{style:{borderRadius:"9999px"},className:"tw-tm tw-gm tw-kf tw-ii"+(t?"tw-ql tw-ij tw-ai":"tw-nj tw-ug tw-qk"),src:e.chatIconUrl,alt:"Chat Icon"}):m.jsx(r,{className:"tw-yj tw-gi tw-dg tw-bg tw-tk tw-kf tw-ii "+(t?"tw-ql tw-ij tw-ai":"tw-nj tw-ug tw-qk")}),m.jsx("svg",{viewBox:"0 0 24 24",className:`tw-yj ${o} tw-sk tw-kf tw-ii tw-zp tw-np tw-qi `+(t?"tw-nj tw-qk tw-ug":"tw-ql tw-gg tw-ij"),children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]})})}const Bi="data:image/svg+xml,%3csvg%20width='30'%20height='31'%20viewBox='0%200%2030%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='0.143555'%20width='30'%20height='30'%20rx='15'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_1643_554)'%3e%3cmask%20id='mask0_1643_554'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='2'%20y='3'%20width='26'%20height='24'%3e%3cpath%20d='M27.1491%203.1709H2.94141V26.983H27.1491V3.1709Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1643_554)'%3e%3cpath%20d='M26.1442%209.97276C25.3739%208.6969%2024.2916%207.48327%2023.5608%206.84657C21.9655%205.45634%2020.6348%205.4902%2019.9834%205.63417C19.7098%205.69468%2019.4585%205.79445%2019.2373%205.9275C18.1007%205.09784%2016.718%204.69141%2015.0453%204.69141C13.3724%204.69141%2011.9897%205.09784%2010.8532%205.92754C10.6319%205.79449%2010.3807%205.69468%2010.107%205.63421C9.45581%205.49028%208.12493%205.45639%206.52976%206.84657C5.79894%207.48331%204.71668%208.69694%203.94622%209.9728C2.90311%2011.7002%202.67079%2013.0975%203.25561%2014.1261C3.96976%2015.382%205.05296%2015.7033%205.92742%2015.7826C5.71249%2016.6037%205.57977%2017.4821%205.57977%2018.5766C5.57977%2020.0273%205.91543%2021.2754%206.57759%2022.2862C7.15969%2023.1749%207.99769%2023.8865%209.06831%2024.4013C11.0464%2025.3524%2013.4269%2025.4624%2015.0453%2025.4624C16.6637%2025.4624%2019.0442%2025.3524%2021.0222%2024.4013C22.0928%2023.8865%2022.9309%2023.1749%2023.513%2022.2862C24.1751%2021.2753%2024.5108%2020.0272%2024.5108%2018.5766C24.5108%2017.4821%2024.3781%2016.6037%2024.1631%2015.7826C25.0376%2015.7033%2026.1208%2015.3819%2026.8349%2014.1261C27.4197%2013.0975%2027.1873%2011.7002%2026.1442%209.97276ZM6.3871%2014.347C5.61321%2014.327%204.98394%2014.1797%204.54892%2013.4146C4.25379%2012.8956%204.49845%2011.9124%205.22027%2010.7171C5.90535%209.5826%206.88864%208.48101%207.51233%207.9375C8.54239%207.0397%209.31458%206.99023%209.67787%207.03812C8.59673%208.33459%207.93403%2010.0195%207.37988%2011.6576C7.15038%2012.336%206.92921%2012.9152%206.71522%2013.4753C6.60078%2013.775%206.49071%2014.0633%206.3871%2014.347ZM14.0786%2019.1257C13.6953%2018.7489%2013.4947%2018.3533%2013.4947%2018.1573C13.4947%2017.9823%2013.5252%2017.9697%2013.6385%2017.9228C13.9616%2017.7891%2014.5961%2017.7736%2015.0453%2017.7736C15.4944%2017.7736%2016.1289%2017.7891%2016.452%2017.9228C16.5653%2017.9697%2016.5958%2017.9823%2016.5958%2018.1573C16.5958%2018.3533%2016.3952%2018.7488%2016.0119%2019.1257C15.6349%2019.4963%2015.2325%2019.6962%2015.0452%2019.6962C14.8579%2019.6962%2014.4555%2019.4963%2014.0786%2019.1257ZM20.3715%2023.0918C19.2344%2023.6385%2017.7291%2023.9351%2015.7861%2023.9938V21.0083C16.3678%2020.7875%2016.8416%2020.3707%2017.0594%2020.1567C17.3655%2019.8557%2018.0776%2019.0584%2018.0776%2018.1573C18.0776%2017.4202%2017.7044%2016.8598%2017.0266%2016.5794C16.5749%2016.3924%2016.0008%2016.3161%2015.0453%2016.3161C14.0897%2016.3161%2013.5157%2016.3924%2013.0639%2016.5794C12.3862%2016.8598%2012.013%2017.4202%2012.013%2018.1573C12.013%2019.0584%2012.725%2019.8557%2013.0311%2020.1567C13.2489%2020.3708%2013.7227%2020.7875%2014.3044%2021.0083V23.9938C12.3615%2023.9351%2010.8561%2023.6386%209.71898%2023.0918C7.93073%2022.232%207.06144%2020.7551%207.06144%2018.5766C7.06144%2016.7129%207.49802%2015.5699%208.10223%2013.9879C8.31087%2013.4417%208.54729%2012.8225%208.78571%2012.1178C10.0954%208.24666%2011.4808%206.14891%2015.0453%206.14891C18.6097%206.14891%2019.9951%208.2467%2021.3047%2012.1178C21.5431%2012.8226%2021.7796%2013.4417%2021.9882%2013.9879C22.5924%2015.5699%2023.029%2016.7128%2023.029%2018.5766C23.029%2020.7551%2022.1597%2022.232%2020.3715%2023.0918ZM25.5417%2013.4146C25.1066%2014.1797%2024.4773%2014.327%2023.7034%2014.347C23.5998%2014.0632%2023.4898%2013.775%2023.3754%2013.4753C23.1614%2012.9152%2022.9402%2012.336%2022.7107%2011.6576C22.1565%2010.0195%2021.4938%208.33459%2020.4127%207.03812C20.776%206.99036%2021.5482%207.0397%2022.5783%207.93754C23.202%208.48097%2024.1853%209.58251%2024.8703%2010.717C25.5921%2011.9124%2025.8368%2012.8956%2025.5417%2013.4146Z'%20fill='%2350A0FF'/%3e%3cpath%20d='M12.5777%2012.4375C12.0417%2012.4375%2011.6055%2012.871%2011.6055%2013.4063C11.6055%2013.9415%2012.0417%2014.3754%2012.5777%2014.3754C13.1145%2014.3754%2013.5506%2013.9414%2013.5506%2013.4063C13.5506%2012.871%2013.1145%2012.4375%2012.5777%2012.4375Z'%20fill='%2350A0FF'/%3e%3cpath%20d='M17.5037%2012.4297C16.9625%2012.4297%2016.5234%2012.8669%2016.5234%2013.406C16.5234%2013.9452%2016.9625%2014.3824%2017.5037%2014.3824C18.0443%2014.3824%2018.4833%2013.9452%2018.4833%2013.406C18.4834%2012.8669%2018.0443%2012.4297%2017.5037%2012.4297Z'%20fill='%2350A0FF'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1643_554'%3e%3crect%20width='27'%20height='21'%20fill='white'%20transform='translate(1.52344%204.64355)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",K6=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{fill:"#fff",clipPath:"url(#line_svg__a)"},E.createElement("path",{d:"M13.5 0a13 13 0 1 0 0 26 13 13 0 0 0 0-26m8.125 12.705a4 4 0 0 1-.064.492 5.4 5.4 0 0 1-.622 1.772c-.147.263-.858 1.262-1.075 1.525-1.201 1.446-3.213 3.115-6.575 4.739a.443.443 0 0 1-.634-.443l.17-1.526a.443.443 0 0 0-.392-.49 9.5 9.5 0 0 1-3.217-.917c-2.305-1.139-3.841-3.173-3.841-5.49 0-3.57 3.637-6.458 8.125-6.458 2.254 0 4.293.739 5.761 1.91 1.376 1.1 2.256 2.594 2.35 4.252q.023.316.014.633"}),E.createElement("path",{d:"M11.26 13.796a.4.4 0 0 1 .122.296.415.415 0 0 1-.415.416H9.305a.42.42 0 0 1-.417-.416v-3.14a.4.4 0 0 1 .123-.295.416.416 0 0 1 .71.296v2.722h1.246a.4.4 0 0 1 .292.121M12.613 10.864v3.32a.326.326 0 0 1-.325.325h-.186a.325.325 0 0 1-.325-.325v-3.32a.325.325 0 0 1 .325-.325h.182a.327.327 0 0 1 .33.325M16.471 10.954v3.122a.433.433 0 0 1-.418.432.42.42 0 0 1-.282-.115c-.015-.011-.573-.738-1.047-1.35-.355-.456-.662-.855-.662-.855v1.904a.415.415 0 1 1-.832 0v-3.12a.43.43 0 0 1 .4-.433.42.42 0 0 1 .327.148c.018.02.876 1.137 1.36 1.773l.324.422v-1.92a.42.42 0 0 1 .415-.415.415.415 0 0 1 .415.407M17.93 12.939v.739h1.245a.416.416 0 1 1 0 .831h-1.666a.417.417 0 0 1-.416-.416v-3.138a.417.417 0 0 1 .416-.415h1.662a.417.417 0 1 1 0 .832H17.93v.738h1.245a.415.415 0 0 1 0 .83z"})),E.createElement("defs",null,E.createElement("clipPath",{id:"line_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),J6=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{clipPath:"url(#messenger_svg__a)"},E.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M13.458.395q3.516.039 6.352 1.728a12.7 12.7 0 0 1 4.514 4.541q1.678 2.854 1.718 6.39-.1 4.84-3.053 8.267c-1.969 2.285-4.49 3.699-7.1 4.24v-9.045h2.467l.558-3.555h-3.736v-2.328c-.021-.482.131-.957.43-1.337q.448-.57 1.579-.6h2.256V5.582q-.049-.015-.922-.124a18 18 0 0 0-1.988-.123q-2.256.01-3.569 1.273-1.312 1.262-1.341 3.652v2.701H8.779v3.555h2.844v9.046c-3.205-.542-5.727-1.956-7.695-4.24Q.973 17.893.875 13.054q.04-3.538 1.717-6.39a12.7 12.7 0 0 1 4.514-4.542Q9.943.435 13.458.395",clipRule:"evenodd"})),E.createElement("defs",null,E.createElement("clipPath",{id:"messenger_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),e4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{clipPath:"url(#phone_svg__a)"},E.createElement("path",{fill:"#fff",d:"M22.69 3.806C17.614-1.27 9.383-1.269 4.307 3.81s-5.075 13.309.003 18.385c5.077 5.076 13.308 5.075 18.384-.003a13 13 0 0 0-.002-18.385M20.189 18.11l-.002.002v-.005l-.659.655a3.47 3.47 0 0 1-3.271.936 11.5 11.5 0 0 1-3.346-1.5 15.5 15.5 0 0 1-2.639-2.127A15.6 15.6 0 0 1 8.3 13.678a12.1 12.1 0 0 1-1.482-3 3.47 3.47 0 0 1 .866-3.54l.772-.77a.55.55 0 0 1 .778-.002l.002.001 2.435 2.436a.55.55 0 0 1 .002.778l-.002.002-1.43 1.43a1.166 1.166 0 0 0-.121 1.516q.777 1.067 1.711 1.998 1.043 1.047 2.254 1.894c.465.324 1.096.27 1.499-.13l1.382-1.404a.55.55 0 0 1 .778-.002l.002.002 2.44 2.444a.55.55 0 0 1 .002.778"})),E.createElement("defs",null,E.createElement("clipPath",{id:"phone_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),t4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"5 20 530 159",...e},E.createElement("path",{fill:"currentColor",d:"M-.206 65.934c-.477-8.944 8.3-22.5 15.996-22.615 4.428-.046 10.215 3.456 14.346 6.442L88.15 24.662c.652-5.055 2.061-11.67 5.127-14.866 5.353-5.532 21.242-2.647 27.423 3.828 6.165 6.469.682 19.917 2.988 23.905 2.33 3.978 11.279 1.04 12.394 9.836 1.126 8.79-3.914 18.888-18.005 22.534-7.811 2.006-13.624-2.773-17.24-7.413l-51.82 22.419c.905 5.812.41 13.321-6.412 17.646-12.293 7.769-23.104 4.529-28.752-2.305-5.635-6.84 2.633-11.351 1.329-15.772-1.328-4.412-14.895-9.618-15.39-18.54M400.92-7.63c9.407-5.765 29.241-4.217 33.883 4.052 2.65 4.768 2.254 13.091 1.445 19.319l61.239 48.103c5.858-2.261 13.851-4.618 19.111-3.174 9.134 2.55 15.336 21.454 11.951 31.95-3.387 10.474-21.172 12.429-24.137 17.269-2.941 4.858 5.494 12.827-3.378 19.196-8.859 6.38-22.755 6.849-34.976-6.272-6.758-7.283-4.993-16.385-2.09-23.025l-54.701-42.967c-5.763 4.393-14.187 8.264-22.876 3.414-15.631-8.754-18.468-22.365-14.381-32.494 4.1-10.118 13.84-3.812 17.863-7.82 3.999-4.027 1.673-21.778 11.047-27.55M274.573 131.991c1.661-7.132 11.598-15.76 17.636-14.082 3.469.981 7.193 5.06 9.741 8.353l51.021-6.379c1.658-3.82 4.263-8.691 7.384-10.496 5.438-3.113 17.194 2.802 20.55 9.306 3.345 6.496-3.995 15.796-3.1 19.457.916 3.658 8.574 3.408 7.445 10.57-1.118 7.16-7.35 13.932-19.185 13.558-6.558-.22-10.012-5.308-11.782-9.782l-45.573 5.699c-.614 4.771-2.708 10.554-9.019 12.383-11.368 3.276-19.077-1.752-21.934-8.415-2.847-6.665 4.636-8.308 4.622-12.08-.033-3.768-9.448-10.973-7.806-18.092"})),n4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44"})),u4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",...e},E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2 10.88V9.9c0-5 2-7 7-7h6c5 0 7 2 7 7v6c0 5-2 7-7 7h-1"}),E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m13 11.9 5.01-5.02H14M18.01 6.88v4.01M11 17.05v2.7c0 2.25-.9 3.15-3.15 3.15h-2.7C2.9 22.9 2 22 2 19.75v-2.7c0-2.25.9-3.15 3.15-3.15h2.7c2.25 0 3.15.9 3.15 3.15"})),r4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{fill:"#C3C3C3",fillRule:"evenodd",d:"M20.53 7.47a.75.75 0 0 1 0 1.06l-8 8a.75.75 0 0 1-1.06 0l-8-8a.75.75 0 0 1 1.06-1.06L12 14.94l7.47-7.47a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})),At={en:{today:"Today",yesterday:"Yesterday",copy:"Copy",copySuccess:"Copied",suggest:"Suggest",report:"Report",selectAssistantLabel:"Select Assistant",statistic:"Stats",question:"Question",answer:"Answer",answerCorrect:"Correct Answer",sources:"Sources",sourcesEmpty:"No sources",remark:"Remark",cancel:"Cancel"},th:{today:"วันนี้",yesterday:"เมื่อวาน",copy:"คัดลอก",copySuccess:"คัดลอกสำเร็จ",suggest:"แนะนำ",report:"รายงาน",selectAssistantLabel:"เลือกข้อมูล",statistic:"สถิติ",question:"คำถาม",answer:"คำตอบ",answerCorrect:"คำตอบที่ถูกต้อง",sources:"เอกสารอ้างอิง",sourcesEmpty:"ไม่มีเอกสาร",remark:"หมายเหตุ",cancel:"ยกเลิก"}},vn="https://p0otqov6h4.execute-api.ap-southeast-1.amazonaws.com",Pf_ping=async()=>{try{fetch(`${vn}/pingModal`)}catch(e){console.error(e)}},Pf_listAssistants=async e=>await(await fetch(`${vn}/v2/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),yr={getMessages:async e=>{try{return(await(await fetch(`${vn}/conversations/message`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json()).data}catch(t){throw console.error(t),t}},resetMessages:async e=>{try{return await(await fetch(`${vn}/conversations/message`,{method:"DELETE",headers:{"Content-Type":"application/json",...e}})).json()}catch(t){throw console.error(t),t}},sendEvent:async(e,t)=>{try{return await(await fetch(`${vn}/conversations/event`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}},suggestionsNoAuth:async(e,t)=>{try{return await(await fetch(`${vn}/suggest`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}},changeAssistant:async(e,t)=>{try{return await(await fetch(`${vn}/v2/public/conversations/assistant`,{method:"PUT",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}}};const Rf=({settings:e,closeChat:t,sessionId:n,resetChat:u,isNoMessage:r,isFullScreen:o,isIframe:l,toggleFullScreen:i})=>{const a=e.language,s=At[a]||At.en,{assistants:c,loading:f,error:g,selectedAssistant:v,changeAssistant:d}=function(e,t=null){const[n,u]=E.useState([]),[r,o]=E.useState(null),[l,i]=E.useState(!0),[a,s]=E.useState(null);return E.useEffect((()=>{e.embedId&&t&&null!==e.showAssistants&&async function(){try{const g=await Pf_listAssistants({"client-id":e.embedId,"session-id":t});if(u(g),g.length>0){const v=g.find((d=>!0===d.isCurrentLocked));o((null==v?void 0:v.assistantID)??g[0].assistantID)}else o(null)}catch(g){s(g.message)}finally{i(!1)}}()}),[e.embedId,t,e.showAssistants]),{assistants:n,loading:l,error:a,selectedAssistant:r,changeAssistant:async f=>{try{await yr.changeAssistant({assistantID:f},{"client-id":e.embedId,"session-id":t}),o(f)}catch(g){console.error("Error changing assistant:",g)}}}}(e,n),_=()=>{if(c.length>0&&null!==e.showAssistants)return m.jsxs("div",{className:"tw-ok tw-em",children:[m.jsx("select",{id:"selectRudi",className:"anm-peer tw-tm tw-kc tw-xf tw-ei tw-dm tw-mc tw-up",value:v||"",onChange:S=>d(S.target.value),children:c.map(((S,h)=>m.jsx("option",{value:S.assistantID,children:S.name},h)))}),m.jsx(r4,{className:"tw-yj tw-ml tw-zl tw-vj tw-wb tw-xe tw-ii tw-kf tw-qa tw-db"})]})};return m.jsxs("header",{style:{"--bg-color":e.bgColorChat??"#f3f4f6"},className:"tw-tp tw-rh tw-rm tw-ta",children:[m.jsxs("div",{className:"tw-on tw-ek tw-wg tw-xo tw-ok tw-tc tw-ud tw-mf "+(If(e)||o||null!==e.showAssistants?"tw-xi":r||null===e.showAssistants?"tw-gk":"tw-wi"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&m.jsx(t4,{alt:"Background",className:"tw-yj tw-jm tw-hn tw-am tw-wf tw-vh tw-fi"}),m.jsxs("div",{className:"tw-on tw-gm tw-qf",children:[m.jsx("div",{className:"tw-fo tw-jo tw-on tw-qf tw-hp",children:m.jsx("div",{className:`tw-on tw-jd tw-qf tw-zn ${e.showAssistants?"tw-tl":"tw-rl"} tw-zj tw-zf`,children:m.jsx("img",{className:"tw-tm tw-gm tw-kd tw-zf",src:e.brandImageUrl??Bi,alt:e.brandName?e.brandName+" Logo":"Rudi Logo"})})}),m.jsxs("div",{className:"tw-on tw-ek tw-sj tw-tm tw-hp",children:[m.jsxs("div",{className:"tw-on tw-rc tw-tm tw-qf",children:[m.jsxs("div",{className:"tw-on tw-ek",children:[m.jsx("span",{className:"tw-vl tw-ce tw-pp tw-eg tw-ui",children:e.brandName}),m.jsx("span",{className:"tw-wl tw-rg tw-td tw-pp tw-eg tw-ui",children:e.brandSlogan})]}),m.jsxs("div",{className:"tw-on tw-qf tw-yj tw-nl tw-in",children:[m.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-ng tw-hc tw-ln tw-ef tw-hd tw-xh tw-dc tw-xk tw-nn tw-yd tw-ec tw-ua tw-kf",onClick:u,children:m.jsx(n4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),"on"===e.allowFullscreen&&m.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},"data-fullscreen":o,className:"tw-hm tw-wk tw-ng tw-ed tw-pp tw-qg tw-hd tw-xh tw-dc tw-qm tw-tp tw-eg tw-zc tw-l tw-ua tw-kf",onClick:i,children:m.jsx(u4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),m.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},type:"button",onClick:t,"data-isIframe":l,className:"tw-ji tw-z tw-ng tw-hc tw-ln tw-hd tw-xh tw-dc tw-xk tw-nn tw-yd","aria-label":"Close",children:m.jsx(jf,{width:"100%",height:"100%"})})]})]}),!o&&null!==e.showAssistants&&m.jsx(_,{})]})]}),If(e)?m.jsxs("div",{className:"tw-sn tw-bi tw-bm tw-on tw-qf tw-fn tw-rh tw-ud tw-mf tw-zm",children:[e.socialFbUrl&&m.jsx("button",{className:"tw-ng tw-ed tw-pp tw-rp tw-hd tw-ua tw-kf tw-zc tw-jc",children:m.jsx(J6,{className:"tw-pm",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&m.jsx("button",{className:"tw-ng tw-ed tw-pp tw-rp tw-hd tw-ua tw-kf tw-zc tw-jc",children:m.jsx(K6,{className:"tw-pm",fill:"#FFFFFF"})}),e.socialPhoneUrl&&m.jsx("button",{className:"tw-ng tw-ed tw-pp tw-rp tw-hd tw-ua tw-kf tw-zc tw-jc",children:m.jsx(e4,{className:"tw-pm",fill:"#FFFFFF"})})]}):null]}),o&&null!==e.showAssistants&&m.jsxs("div",{className:"tw-eo tw-on tw-bn tw-qf tw-me tw-gl tw-tm",children:[m.jsx("label",{htmlFor:"selectRudi",className:"tw-sh tw-ce",children:s.selectAssistantLabel}),m.jsx(_,{})]})]})},If=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,zf=(e,t=void 0)=>{let u,n=!1;return e.map((({type:o,sender:l,senderID:i,message:a,images:s,debugPre:c,timestamp:f,read:g,msgID:v,videoUrls:d,fileUrls:_},S)=>{u=new Date(f).toLocaleDateString(),n=t!==u,t=new Date(f).toLocaleDateString();const h=function(e){const t=[];if(e&&e.length>0){var n={};e.forEach((u=>{if("assistant"===u.role&&Object.hasOwn(u,"tool_calls")){const r=u.tool_calls[0].function;n.name=r.name,n.args=r.arguments}if("tool"===u.role&&u.name===n.name&&u.content){if(n.response=u.content,"retriever"===n.name&&u.metadata){const r=n.response.split("<doc").filter((l=>!!l)).map((l=>l.substring(l.indexOf(">")+1))),o=JSON.parse(u.metadata).documents;n.documents=r.map(((l,i)=>({key:o[i].key,filetype:o[i].filetype,score:o[i].score,content:l})))}t.push(n),n={}}}))}return t}(c);return{msgID:v,type:o,role:l,timestamp:f,read:g,content:a||"",images:s,debugPre:c,...s4(h),isDateChanged:n,currDate:u,senderID:i,videoUrls:d,fileUrls:_}}))},s4=e=>{const t=e.find((o=>"retriever"===o.name)),n=t&&t.response;var u=[],r="";return n&&(r=JSON.parse(t.args).query,u=t.documents),{isRAG:n,query:r,sources:u}};const Hf={};function wu(e,t){"string"!=typeof t&&(t=wu.defaultChars);const n=function(e){let t=Hf[e];if(t)return t;t=Hf[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);t.push(u)}for(let n=0;n<e.length;n++){const u=e.charCodeAt(n);t[u]="%"+("0"+u.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(u){let r="";for(let o=0,l=u.length;o<l;o+=3){const i=parseInt(u.slice(o+1,o+3),16);if(i<128)r+=n[i];else{if(192==(224&i)&&o+3<l){const a=parseInt(u.slice(o+4,o+6),16);if(128==(192&a)){const s=i<<6&1984|63&a;r+=s<128?"��":String.fromCharCode(s),o+=3;continue}}if(224==(240&i)&&o+6<l){const a=parseInt(u.slice(o+4,o+6),16),s=parseInt(u.slice(o+7,o+9),16);if(128==(192&a)&&128==(192&s)){const c=i<<12&61440|a<<6&4032|63&s;r+=c<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),o+=6;continue}}if(240==(248&i)&&o+9<l){const a=parseInt(u.slice(o+4,o+6),16),s=parseInt(u.slice(o+7,o+9),16),c=parseInt(u.slice(o+10,o+12),16);if(128==(192&a)&&128==(192&s)&&128==(192&c)){let f=i<<18&1835008|a<<12&258048|s<<6&4032|63&c;f<65536||f>1114111?r+="����":(f-=65536,r+=String.fromCharCode(55296+(f>>10),56320+(1023&f))),o+=9;continue}}r+="�"}}return r}))}wu.defaultChars=";/?:@&=+$,#",wu.componentChars="";const Bf={};function xr(e,t,n){"string"!=typeof t&&(n=t,t=xr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=Bf[e];if(t)return t;t=Bf[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);/^[0-9a-z]$/i.test(u)?t.push(u):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let r="";for(let o=0,l=e.length;o<l;o++){const i=e.charCodeAt(o);if(n&&37===i&&o+2<l&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))r+=e.slice(o,o+3),o+=2;else if(i<128)r+=u[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1<l){const a=e.charCodeAt(o+1);if(a>=56320&&a<=57343){r+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[o])}return r}function $i(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function to(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}xr.defaultChars=";/?:@&=+$,-_.!~*'()#",xr.componentChars="-_.!~*'()";const h4=/^([a-z0-9.+-]+:)/i,m4=/:[0-9]*$/,g4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,v4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),y4=["'"].concat(v4),$f=["%","/","?",";","#"].concat(y4),Uf=["/","?","#"],Vf=/^[+a-z0-9A-Z_-]{0,63}$/,b4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Zf={javascript:!0,"javascript:":!0},qf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ui(e,t){if(e&&e instanceof to)return e;const n=new to;return n.parse(e,t),n}to.prototype.parse=function(e,t){let n,u,r,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const s=g4.exec(o);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let l=h4.exec(o);if(l&&(l=l[0],n=l.toLowerCase(),this.protocol=l,o=o.substr(l.length)),(t||l||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),r&&!(l&&Zf[l])&&(o=o.substr(2),this.slashes=!0)),!Zf[l]&&(r||l&&!qf[l])){let c,f,s=-1;for(let d=0;d<Uf.length;d++)u=o.indexOf(Uf[d]),-1!==u&&(-1===s||u<s)&&(s=u);f=-1===s?o.lastIndexOf("@"):o.lastIndexOf("@",s),-1!==f&&(c=o.slice(0,f),o=o.slice(f+1),this.auth=c),s=-1;for(let d=0;d<$f.length;d++)u=o.indexOf($f[d]),-1!==u&&(-1===s||u<s)&&(s=u);-1===s&&(s=o.length),":"===o[s-1]&&s--;const g=o.slice(0,s);o=o.slice(s),this.parseHost(g),this.hostname=this.hostname||"";const v="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!v){const d=this.hostname.split(/\./);for(let _=0,S=d.length;_<S;_++){const h=d[_];if(h&&!h.match(Vf)){let p="";for(let w=0,b=h.length;w<b;w++)h.charCodeAt(w)>127?p+="x":p+=h[w];if(!p.match(Vf)){const w=d.slice(0,_),b=d.slice(_+1),C=h.match(b4);C&&(w.push(C[1]),b.unshift(C[2])),b.length&&(o=b.join(".")+o),this.hostname=w.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=o.indexOf("#");-1!==i&&(this.hash=o.substr(i),o=o.slice(0,i));const a=o.indexOf("?");return-1!==a&&(this.search=o.substr(a),o=o.slice(0,a)),o&&(this.pathname=o),qf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},to.prototype.parseHost=function(e){let t=m4.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const _4=Object.freeze(Object.defineProperty({__proto__:null,decode:wu,encode:xr,format:$i,parse:Ui},Symbol.toStringTag,{value:"Module"})),Wf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Gf=/[\0-\x1F\x7F-\x9F]/,Vi=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Qf=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Yf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,k4=Object.freeze(Object.defineProperty({__proto__:null,Any:Wf,Cc:Gf,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:Vi,S:Qf,Z:Yf},Symbol.toStringTag,{value:"Module"})),C4=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),S4=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Zi;const A4=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),T4=null!==(Zi=String.fromCodePoint)&&void 0!==Zi?Zi:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var pe;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(pe||(pe={}));var yn,he,xn;function qi(e){return e>=pe.ZERO&&e<=pe.NINE}function N4(e){return e>=pe.UPPER_A&&e<=pe.UPPER_F||e>=pe.LOWER_A&&e<=pe.LOWER_F}function L4(e){return e===pe.EQUALS||function(e){return e>=pe.UPPER_A&&e<=pe.UPPER_Z||e>=pe.LOWER_A&&e<=pe.LOWER_Z||qi(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(yn||(yn={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(he||(he={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(xn||(xn={}));class O4{constructor(t,n,u){this.decodeTree=t,this.emitCodePoint=n,this.errors=u,this.state=he.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=xn.Strict}startEntity(t){this.decodeMode=t,this.state=he.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case he.EntityStart:return t.charCodeAt(n)===pe.NUM?(this.state=he.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=he.NamedEntity,this.stateNamedEntity(t,n));case he.NumericStart:return this.stateNumericStart(t,n);case he.NumericDecimal:return this.stateNumericDecimal(t,n);case he.NumericHex:return this.stateNumericHex(t,n);case he.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(32|t.charCodeAt(n))===pe.LOWER_X?(this.state=he.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=he.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,u,r){if(n!==u){const o=u-n;this.result=this.result*Math.pow(r,o)+parseInt(t.substr(n,o),r),this.consumed+=o}}stateNumericHex(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(!qi(r)&&!N4(r))return this.addToNumericResult(t,u,n,16),this.emitNumericEntity(r,3);n+=1}return this.addToNumericResult(t,u,n,16),-1}stateNumericDecimal(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(!qi(r))return this.addToNumericResult(t,u,n,10),this.emitNumericEntity(r,2);n+=1}return this.addToNumericResult(t,u,n,10),-1}emitNumericEntity(t,n){var u;if(this.consumed<=n)return null===(u=this.errors)||void 0===u||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===pe.SEMI)this.consumed+=1;else if(this.decodeMode===xn.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=A4.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(t!==pe.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:u}=this;let r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const l=t.charCodeAt(n);if(this.treeIndex=j4(u,r,this.treeIndex+Math.max(1,o),l),this.treeIndex<0)return 0===this.result||this.decodeMode===xn.Attribute&&(0===o||L4(l))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14,0!==o){if(l===pe.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==xn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:u}=this,r=(u[n]&yn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,u){const{decodeTree:r}=this;return this.emitCodePoint(1===n?r[t]&~yn.VALUE_LENGTH:r[t+1],u),3===n&&this.emitCodePoint(r[t+2],u),u}end(){var t;switch(this.state){case he.NamedEntity:return 0===this.result||this.decodeMode===xn.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case he.NumericDecimal:return this.emitNumericEntity(0,2);case he.NumericHex:return this.emitNumericEntity(0,3);case he.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case he.EntityStart:return 0}}}function Xf(e){let t="";const n=new O4(e,(u=>t+=T4(u)));return function(r,o){let l=0,i=0;for(;(i=r.indexOf("&",i))>=0;){t+=r.slice(l,i),n.startEntity(o);const s=n.write(r,i+1);if(s<0){l=i+n.end();break}l=i+s,i=0===s?l+1:l}const a=t+r.slice(l);return t="",a}}function j4(e,t,n,u){const r=(t&yn.BRANCH_LENGTH)>>7,o=t&yn.JUMP_TABLE;if(0===r)return 0!==o&&u===o?n:-1;if(o){const a=u-o;return a<0||a>=r?-1:e[n+a]-1}let l=n,i=l+r-1;for(;l<=i;){const a=l+i>>>1,s=e[a];if(s<u)l=a+1;else{if(!(s>u))return e[a+r];i=a-1}}return-1}const P4=Xf(C4);function Kf(e,t=xn.Legacy){return P4(e,t)}function Wi(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}Xf(S4);const I4=Object.prototype.hasOwnProperty;function no(e){return Array.prototype.slice.call(arguments,1).forEach((function(n){if(n){if("object"!=typeof n)throw new TypeError(n+"must be object");Object.keys(n).forEach((function(u){e[u]=n[u]}))}})),e}function Jf(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Gi(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function uo(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const e2=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,B4=new RegExp(e2.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),$4=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function vu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(B4,(function(t,n,u){return n||function(e,t){if(35===t.charCodeAt(0)&&$4.test(t)){const u="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Gi(u)?uo(u):e}const n=Kf(e);return n!==e?n:e}(t,u)}))}const Z4=/[&<>"]/,q4=/[&<>"]/g,W4={"&":"&","<":"<",">":">",'"':"""};function G4(e){return W4[e]}function bn(e){return Z4.test(e)?e.replace(q4,G4):e}const Q4=/[.?*+^$[\]\\(){}|-]/g;function G(e){switch(e){case 9:case 32:return!0}return!1}function br(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function _r(e){return Vi.test(e)||Qf.test(e)}function Er(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ro(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const X4=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Jf,assign:no,escapeHtml:bn,escapeRE:function(e){return e.replace(Q4,"\\$&")},fromCodePoint:uo,has:function(e,t){return I4.call(e,t)},isMdAsciiPunct:Er,isPunctChar:_r,isSpace:G,isString:Wi,isValidEntityCode:Gi,isWhiteSpace:br,lib:{mdurl:_4,ucmicro:k4},normalizeReference:ro,unescapeAll:vu,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(e2,"$1")}},Symbol.toStringTag,{value:"Module"}));const tm=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(e,t,n){let u,r=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(r)){for(r++;r<n;){if(u=e.charCodeAt(r),10===u||60===u)return o;if(62===u)return o.pos=r+1,o.str=vu(e.slice(t+1,r)),o.ok=!0,o;92===u&&r+1<n?r+=2:r++}return o}let l=0;for(;r<n&&(u=e.charCodeAt(r),!(32===u||u<32||127===u));)if(92===u&&r+1<n){if(32===e.charCodeAt(r+1))break;r+=2}else{if(40===u&&(l++,l>32))return o;if(41===u){if(0===l)break;l--}r++}return t===r||0!==l||(o.str=vu(e.slice(t,r)),o.pos=r,o.ok=!0),o},parseLinkLabel:function(e,t,n){let u,r,o,l;const i=e.posMax,a=e.pos;for(e.pos=t+1,u=1;e.pos<i;){if(o=e.src.charCodeAt(e.pos),93===o&&(u--,0===u)){r=!0;break}if(l=e.pos,e.md.inline.skipToken(e),91===o)if(l===e.pos-1)u++;else if(n)return e.pos=a,-1}let s=-1;return r&&(s=e.pos),e.pos=a,s},parseLinkTitle:function(e,t,n,u){let r,o=t;const l={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)l.str=u.str,l.marker=u.marker;else{if(o>=n)return l;let i=e.charCodeAt(o);if(34!==i&&39!==i&&40!==i)return l;t++,o++,40===i&&(i=41),l.marker=i}for(;o<n;){if(r=e.charCodeAt(o),r===l.marker)return l.pos=o+1,l.str+=vu(e.slice(t,o)),l.ok=!0,l;if(40===r&&41===l.marker)return l;92===r&&o+1<n&&o++,o++}return l.can_continue=!0,l.str+=vu(e.slice(t,o)),l}},Symbol.toStringTag,{value:"Module"})),Tt={};function yu(){this.rules=no({},Tt)}function Ve(){this.__rules__=[],this.__cache__=null}function yt(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function t2(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Tt.code_inline=function(e,t,n,u,r){const o=e[t];return"<code"+r.renderAttrs(o)+">"+bn(o.content)+"</code>"},Tt.code_block=function(e,t,n,u,r){const o=e[t];return"<pre"+r.renderAttrs(o)+"><code>"+bn(e[t].content)+"</code></pre>\n"},Tt.fence=function(e,t,n,u,r){const o=e[t],l=o.info?vu(o.info).trim():"";let s,i="",a="";if(l){const c=l.split(/(\s+)/g);i=c[0],a=c.slice(2).join("")}if(s=n.highlight&&n.highlight(o.content,i,a)||bn(o.content),0===s.indexOf("<pre"))return s+"\n";if(l){const c=o.attrIndex("class"),f=o.attrs?o.attrs.slice():[];c<0?f.push(["class",n.langPrefix+i]):(f[c]=f[c].slice(),f[c][1]+=" "+n.langPrefix+i);const g={attrs:f};return`<pre><code${r.renderAttrs(g)}>${s}</code></pre>\n`}return`<pre><code${r.renderAttrs(o)}>${s}</code></pre>\n`},Tt.image=function(e,t,n,u,r){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,u),r.renderToken(e,t,n)},Tt.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Tt.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Tt.text=function(e,t){return bn(e[t].content)},Tt.html_block=function(e,t){return e[t].content},Tt.html_inline=function(e,t){return e[t].content},yu.prototype.renderAttrs=function(t){let n,u,r;if(!t.attrs)return"";for(r="",n=0,u=t.attrs.length;n<u;n++)r+=" "+bn(t.attrs[n][0])+'="'+bn(t.attrs[n][1])+'"';return r},yu.prototype.renderToken=function(t,n,u){const r=t[n];let o="";if(r.hidden)return"";r.block&&-1!==r.nesting&&n&&t[n-1].hidden&&(o+="\n"),o+=(-1===r.nesting?"</":"<")+r.tag,o+=this.renderAttrs(r),0===r.nesting&&u.xhtmlOut&&(o+=" /");let l=!1;if(r.block&&(l=!0,1===r.nesting&&n+1<t.length)){const i=t[n+1];("inline"===i.type||i.hidden||-1===i.nesting&&i.tag===r.tag)&&(l=!1)}return o+=l?">\n":">",o},yu.prototype.renderInline=function(e,t,n){let u="";const r=this.rules;for(let o=0,l=e.length;o<l;o++){const i=e[o].type;typeof r[i]<"u"?u+=r[i](e,o,t,n,this):u+=this.renderToken(e,o,t)}return u},yu.prototype.renderInlineAsText=function(e,t,n){let u="";for(let r=0,o=e.length;r<o;r++)switch(e[r].type){case"text":case"html_inline":case"html_block":u+=e[r].content;break;case"image":u+=this.renderInlineAsText(e[r].children,t,n);break;case"softbreak":case"hardbreak":u+="\n"}return u},yu.prototype.render=function(e,t,n){let u="";const r=this.rules;for(let o=0,l=e.length;o<l;o++){const i=e[o].type;"inline"===i?u+=this.renderInline(e[o].children,t,n):typeof r[i]<"u"?u+=r[i](e,o,t,n,this):u+=this.renderToken(e,o,t,n)}return u},Ve.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Ve.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach((function(n){n.enabled&&n.alt.forEach((function(u){t.indexOf(u)<0&&t.push(u)}))})),e.__cache__={},t.forEach((function(n){e.__cache__[n]=[],e.__rules__.forEach((function(u){u.enabled&&(n&&u.alt.indexOf(n)<0||e.__cache__[n].push(u.fn))}))}))},Ve.prototype.at=function(e,t,n){const u=this.__find__(e),r=n||{};if(-1===u)throw new Error("Parser rule not found: "+e);this.__rules__[u].fn=t,this.__rules__[u].alt=r.alt||[],this.__cache__=null},Ve.prototype.before=function(e,t,n,u){const r=this.__find__(e),o=u||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},Ve.prototype.after=function(e,t,n,u){const r=this.__find__(e),o=u||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},Ve.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},Ve.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!0,n.push(u)}),this),this.__cache__=null,n},Ve.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(n){n.enabled=!1})),this.enable(e,t)},Ve.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!1,n.push(u)}),this),this.__cache__=null,n},Ve.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},yt.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let u=0,r=n.length;u<r;u++)if(n[u][0]===t)return u;return-1},yt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},yt.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},yt.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},yt.prototype.attrJoin=function(t,n){const u=this.attrIndex(t);u<0?this.attrPush([t,n]):this.attrs[u][1]=this.attrs[u][1]+" "+n},t2.prototype.Token=yt;const nm=/\r\n?|\n/g,um=/\0/g;function im(e){return/^<a[>\s]/i.test(e)}function am(e){return/^<\/a\s*>/i.test(e)}const n2=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,cm=/\((c|tm|r)\)/i,fm=/\((c|tm|r)\)/gi,dm={c:"©",r:"®",tm:"™"};function pm(e,t){return dm[t.toLowerCase()]}function hm(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&(u.content=u.content.replace(fm,pm)),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}function mm(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&n2.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}const wm=/['"]/,u2=/['"]/g,r2="’";function oo(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function vm(e,t){let n;const u=[];for(let r=0;r<e.length;r++){const o=e[r],l=e[r].level;for(n=u.length-1;n>=0&&!(u[n].level<=l);n--);if(u.length=n+1,"text"!==o.type)continue;let i=o.content,a=0,s=i.length;e:for(;a<s;){u2.lastIndex=a;const c=u2.exec(i);if(!c)break;let f=!0,g=!0;a=c.index+1;const v="'"===c[0];let d=32;if(c.index-1>=0)d=i.charCodeAt(c.index-1);else for(n=r-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){d=e[n].content.charCodeAt(e[n].content.length-1);break}let _=32;if(a<s)_=i.charCodeAt(a);else for(n=r+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){_=e[n].content.charCodeAt(0);break}const S=Er(d)||_r(String.fromCharCode(d)),h=Er(_)||_r(String.fromCharCode(_)),p=br(d),w=br(_);if(w?f=!1:h&&(p||S||(f=!1)),p?g=!1:S&&(w||h||(g=!1)),34===_&&'"'===c[0]&&d>=48&&d<=57&&(g=f=!1),f&&g&&(f=S,g=h),f||g){if(g)for(n=u.length-1;n>=0;n--){let b=u[n];if(u[n].level<l)break;if(b.single===v&&u[n].level===l){let C,k;b=u[n],v?(C=t.md.options.quotes[2],k=t.md.options.quotes[3]):(C=t.md.options.quotes[0],k=t.md.options.quotes[1]),o.content=oo(o.content,c.index,k),e[b.token].content=oo(e[b.token].content,b.pos,C),a+=k.length-1,b.token===r&&(a+=C.length-1),i=o.content,s=i.length,u.length=n;continue e}}f?u.push({token:r,pos:c.index,single:v,level:l}):g&&v&&(o.content=oo(o.content,c.index,r2))}else v&&(o.content=oo(o.content,c.index,r2))}}}const Qi=[["normalize",function(e){let t;t=e.src.replace(nm,"\n"),t=t.replace(um,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,u=t.length;n<u;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,u=t.length;n<u;n++){if("inline"!==t[n].type||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,o=0;for(let l=r.length-1;l>=0;l--){const i=r[l];if("link_close"!==i.type){if("html_inline"===i.type&&(im(i.content)&&o>0&&o--,am(i.content)&&o++),!(o>0)&&"text"===i.type&&e.md.linkify.test(i.content)){const a=i.content;let s=e.md.linkify.match(a);const c=[];let f=i.level,g=0;s.length>0&&0===s[0].index&&l>0&&"text_special"===r[l-1].type&&(s=s.slice(1));for(let v=0;v<s.length;v++){const d=s[v].url,_=e.md.normalizeLink(d);if(!e.md.validateLink(_))continue;let S=s[v].text;S=s[v].schema?"mailto:"!==s[v].schema||/^mailto:/i.test(S)?e.md.normalizeLinkText(S):e.md.normalizeLinkText("mailto:"+S).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+S).replace(/^http:\/\//,"");const h=s[v].index;if(h>g){const C=new e.Token("text","",0);C.content=a.slice(g,h),C.level=f,c.push(C)}const p=new e.Token("link_open","a",1);p.attrs=[["href",_]],p.level=f++,p.markup="linkify",p.info="auto",c.push(p);const w=new e.Token("text","",0);w.content=S,w.level=f,c.push(w);const b=new e.Token("link_close","a",-1);b.level=--f,b.markup="linkify",b.info="auto",c.push(b),g=s[v].lastIndex}if(g<a.length){const v=new e.Token("text","",0);v.content=a.slice(g),v.level=f,c.push(v)}t[n].children=r=Jf(r,l,c)}}else for(l--;r[l].level!==i.level&&"link_open"!==r[l].type;)l--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(cm.test(e.tokens[t].content)&&hm(e.tokens[t].children),n2.test(e.tokens[t].content)&&mm(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"!==e.tokens[t].type||!wm.test(e.tokens[t].content)||vm(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const u=e.tokens,r=u.length;for(let o=0;o<r;o++){if("inline"!==u[o].type)continue;const l=u[o].children,i=l.length;for(t=0;t<i;t++)"text_special"===l[t].type&&(l[t].type="text");for(t=n=0;t<i;t++)"text"===l[t].type&&t+1<i&&"text"===l[t+1].type?l[t+1].content=l[t].content+l[t+1].content:(t!==n&&(l[n]=l[t]),n++);t!==n&&(l.length=n)}}]];function Yi(){this.ruler=new Ve;for(let e=0;e<Qi.length;e++)this.ruler.push(Qi[e][0],Qi[e][1])}function Dt(e,t,n,u){this.src=e,this.md=t,this.env=n,this.tokens=u,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let o=0,l=0,i=0,a=0,s=r.length,c=!1;l<s;l++){const f=r.charCodeAt(l);if(!c){if(G(f)){i++,9===f?a+=4-a%4:a++;continue}c=!0}(10===f||l===s-1)&&(10!==f&&l++,this.bMarks.push(o),this.eMarks.push(l),this.tShift.push(i),this.sCount.push(a),this.bsCount.push(0),c=!1,i=0,a=0,o=l+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Yi.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,u=t.length;n<u;n++)t[n](e)},Yi.prototype.State=t2,Dt.prototype.push=function(e,t,n){const u=new yt(e,t,n);return u.block=!0,n<0&&this.level--,u.level=this.level,n>0&&this.level++,this.tokens.push(u),u},Dt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Dt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},Dt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){if(!G(this.src.charCodeAt(t)))break}return t},Dt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!G(this.src.charCodeAt(--t)))return t+1;return t},Dt.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t},Dt.prototype.skipCharsBack=function(t,n,u){if(t<=u)return t;for(;t>u;)if(n!==this.src.charCodeAt(--t))return t+1;return t},Dt.prototype.getLines=function(t,n,u,r){if(t>=n)return"";const o=new Array(n-t);for(let l=0,i=t;i<n;i++,l++){let a=0;const s=this.bMarks[i];let f,c=s;for(f=i+1<n||r?this.eMarks[i]+1:this.eMarks[i];c<f&&a<u;){const g=this.src.charCodeAt(c);if(G(g))9===g?a+=4-(a+this.bsCount[i])%4:a++;else{if(!(c-s<this.tShift[i]))break;a++}c++}o[l]=a>u?new Array(a-u+1).join(" ")+this.src.slice(c,f):this.src.slice(c,f)}return o.join("")},Dt.prototype.Token=yt;function Xi(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function o2(e){const t=[],n=e.length;let u=0,r=e.charCodeAt(u),o=!1,l=0,i="";for(;u<n;)124===r&&(o?(i+=e.substring(l,u-1),l=u):(t.push(i+e.substring(l,u)),i="",l=u+1)),o=92===r,u++,r=e.charCodeAt(u);return t.push(i+e.substring(l)),t}function l2(e,t){const n=e.eMarks[t];let u=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(u++);if(42!==r&&45!==r&&43!==r)return-1;if(u<n){if(!G(e.src.charCodeAt(u)))return-1}return u}function i2(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];let r=n;if(r+1>=u)return-1;let o=e.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=u)return-1;if(o=e.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-n>=10)return-1}return r<u&&(o=e.src.charCodeAt(r),!G(o))?-1:r}const a2="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",s2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Rm=new RegExp("^(?:"+a2+"|"+s2+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Im=new RegExp("^(?:"+a2+"|"+s2+")"),xu=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Im.source+"\\s*$"),/^$/,!1]];const lo=[["table",function(e,t,n,u){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let o=e.bMarks[r]+e.tShift[r];if(o>=e.eMarks[r])return!1;const l=e.src.charCodeAt(o++);if(124!==l&&45!==l&&58!==l||o>=e.eMarks[r])return!1;const i=e.src.charCodeAt(o++);if(124!==i&&45!==i&&58!==i&&!G(i)||45===l&&G(i))return!1;for(;o<e.eMarks[r];){const b=e.src.charCodeAt(o);if(124!==b&&45!==b&&58!==b&&!G(b))return!1;o++}let a=Xi(e,t+1),s=a.split("|");const c=[];for(let b=0;b<s.length;b++){const C=s[b].trim();if(!C){if(0===b||b===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(C))return!1;58===C.charCodeAt(C.length-1)?c.push(58===C.charCodeAt(0)?"center":"right"):58===C.charCodeAt(0)?c.push("left"):c.push("")}if(a=Xi(e,t).trim(),-1===a.indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;s=o2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop();const f=s.length;if(0===f||f!==c.length)return!1;if(u)return!0;const g=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),_=[t,0];e.push("table_open","table",1).map=_,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let b=0;b<s.length;b++){const C=e.push("th_open","th",1);c[b]&&(C.attrs=[["style","text-align:"+c[b]]]);const k=e.push("inline","",0);k.content=s[b].trim(),k.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let p,w=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let b=!1;for(let k=0,T=v.length;k<T;k++)if(v[k](e,r,n,!0)){b=!0;break}if(b||(a=Xi(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(s=o2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop(),w+=f-s.length,w>65536))break;if(r===t+2){e.push("tbody_open","tbody",1).map=p=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let k=0;k<f;k++){const T=e.push("td_open","td",1);c[k]&&(T.attrs=[["style","text-align:"+c[k]]]);const F=e.push("inline","",0);F.content=s[k]?s[k].trim():"",F.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return p&&(e.push("tbody_close","tbody",-1),p[1]=r),e.push("table_close","table",-1),_[1]=r,e.parentType=g,e.line=r,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let u=t+1,r=u;for(;u<n;)if(e.isEmpty(u))u++;else{if(!(e.sCount[u]-e.blkIndent>=4))break;u++,r=u}e.line=r;const o=e.push("code_block","code",0);return o.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>o)return!1;const l=e.src.charCodeAt(r);if(126!==l&&96!==l)return!1;let i=r;r=e.skipChars(r,l);let a=r-i;if(a<3)return!1;const s=e.src.slice(i,r),c=e.src.slice(r,o);if(96===l&&c.indexOf(String.fromCharCode(l))>=0)return!1;if(u)return!0;let f=t,g=!1;for(;f++,!(f>=n||(r=i=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],r<o&&e.sCount[f]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==l||e.sCount[f]-e.blkIndent>=4||(r=e.skipChars(r,l),r-i<a||(r=e.skipSpaces(r),r<o)))){g=!0;break}a=e.sCount[t],e.line=f+(g?1:0);const v=e.push("fence","code",0);return v.info=c,v.content=e.getLines(t+1,f,a,!0),v.markup=s,v.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const l=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(r))return!1;if(u)return!0;const i=[],a=[],s=[],c=[],f=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let d,v=!1;for(d=t;d<n;d++){const w=e.sCount[d]<e.blkIndent;if(r=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],r>=o)break;if(62===e.src.charCodeAt(r++)&&!w){let k,T,C=e.sCount[d]+1;32===e.src.charCodeAt(r)?(r++,C++,T=!1,k=!0):9===e.src.charCodeAt(r)?(k=!0,(e.bsCount[d]+C)%4==3?(r++,C++,T=!1):T=!0):k=!1;let F=C;for(i.push(e.bMarks[d]),e.bMarks[d]=r;r<o;){const z=e.src.charCodeAt(r);if(!G(z))break;9===z?F+=4-(F+e.bsCount[d]+(T?1:0))%4:F++,r++}v=r>=o,a.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(k?1:0),s.push(e.sCount[d]),e.sCount[d]=F-C,c.push(e.tShift[d]),e.tShift[d]=r-e.bMarks[d];continue}if(v)break;let b=!1;for(let C=0,k=f.length;C<k;C++)if(f[C](e,d,n,!0)){b=!0;break}if(b){e.lineMax=d,0!==e.blkIndent&&(i.push(e.bMarks[d]),a.push(e.bsCount[d]),c.push(e.tShift[d]),s.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}i.push(e.bMarks[d]),a.push(e.bsCount[d]),c.push(e.tShift[d]),s.push(e.sCount[d]),e.sCount[d]=-1}const _=e.blkIndent;e.blkIndent=0;const S=e.push("blockquote_open","blockquote",1);S.markup=">";const h=[t,0];S.map=h,e.md.block.tokenize(e,t,d),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=l,e.parentType=g,h[1]=e.line;for(let w=0;w<c.length;w++)e.bMarks[w+t]=i[w],e.tShift[w+t]=c[w],e.sCount[w+t]=s[w],e.bsCount[w+t]=a[w];return e.blkIndent=_,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,u){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const l=e.src.charCodeAt(o++);if(42!==l&&45!==l&&95!==l)return!1;let i=1;for(;o<r;){const s=e.src.charCodeAt(o++);if(s!==l&&!G(s))return!1;s===l&&i++}if(i<3)return!1;if(u)return!0;e.line=t+1;const a=e.push("hr","hr",0);return a.map=[t,e.line],a.markup=Array(i+1).join(String.fromCharCode(l)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,u){let r,o,l,i,a=t,s=!0;if(e.sCount[a]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]<e.blkIndent)return!1;let f,g,v,c=!1;if(u&&"paragraph"===e.parentType&&e.sCount[a]>=e.blkIndent&&(c=!0),(v=i2(e,a))>=0){if(f=!0,l=e.bMarks[a]+e.tShift[a],g=Number(e.src.slice(l,v-1)),c&&1!==g)return!1}else{if(!((v=l2(e,a))>=0))return!1;f=!1}if(c&&e.skipSpaces(v)>=e.eMarks[a])return!1;if(u)return!0;const d=e.src.charCodeAt(v-1),_=e.tokens.length;f?(i=e.push("ordered_list_open","ol",1),1!==g&&(i.attrs=[["start",g]])):i=e.push("bullet_list_open","ul",1);const S=[a,0];i.map=S,i.markup=String.fromCharCode(d);let h=!1;const p=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";a<n;){o=v,r=e.eMarks[a];const b=e.sCount[a]+v-(e.bMarks[a]+e.tShift[a]);let C=b;for(;o<r;){const Pe=e.src.charCodeAt(o);if(9===Pe)C+=4-(C+e.bsCount[a])%4;else{if(32!==Pe)break;C++}o++}const k=o;let T;T=k>=r?1:C-b,T>4&&(T=1);const F=b+T;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(d);const z=[a,0];i.map=z,f&&(i.info=e.src.slice(l,v-1));const j=e.tight,Z=e.tShift[a],be=e.sCount[a],je=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=F,e.tight=!0,e.tShift[a]=k-e.bMarks[a],e.sCount[a]=C,k>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||h)&&(s=!1),h=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=je,e.tShift[a]=Z,e.sCount[a]=be,e.tight=j,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(d),a=e.line,z[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let ct=!1;for(let Pe=0,Gt=p.length;Pe<Gt;Pe++)if(p[Pe](e,a,n,!0)){ct=!0;break}if(ct)break;if(f){if(v=i2(e,a),v<0)break;l=e.bMarks[a]+e.tShift[a]}else if(v=l2(e,a),v<0)break;if(d!==e.src.charCodeAt(v-1))break}return i=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(d),S[1]=a,e.line=a,e.parentType=w,s&&function(e,t){const n=e.level+2;for(let u=t+2,r=e.tokens.length-2;u<r;u++)e.tokens[u].level===n&&"paragraph_open"===e.tokens[u].type&&(e.tokens[u+2].hidden=!0,e.tokens[u].hidden=!0,u+=2)}(e,_),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],l=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(r))return!1;function i(p){const w=e.lineMax;if(p>=w||e.isEmpty(p))return null;let b=!1;if(e.sCount[p]-e.blkIndent>3&&(b=!0),e.sCount[p]<0&&(b=!0),!b){const T=e.md.block.ruler.getRules("reference"),F=e.parentType;e.parentType="reference";let z=!1;for(let j=0,Z=T.length;j<Z;j++)if(T[j](e,p,w,!0)){z=!0;break}if(e.parentType=F,z)return null}const C=e.bMarks[p]+e.tShift[p],k=e.eMarks[p];return e.src.slice(C,k+1)}let a=e.src.slice(r,o+1);o=a.length;let s=-1;for(r=1;r<o;r++){const p=a.charCodeAt(r);if(91===p)return!1;if(93===p){s=r;break}if(10===p){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(92===p&&(r++,r<o&&10===a.charCodeAt(r))){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}}if(s<0||58!==a.charCodeAt(s+1))return!1;for(r=s+2;r<o;r++){const p=a.charCodeAt(r);if(10===p){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(!G(p))break}const c=e.md.helpers.parseLinkDestination(a,r,o);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;r=c.pos;const g=r,v=l,d=r;for(;r<o;r++){const p=a.charCodeAt(r);if(10===p){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(!G(p))break}let S,_=e.md.helpers.parseLinkTitle(a,r,o);for(;_.can_continue;){const p=i(l);if(null===p)break;a+=p,r=o,o=a.length,l++,_=e.md.helpers.parseLinkTitle(a,r,o,_)}for(r<o&&d!==r&&_.ok?(S=_.str,r=_.pos):(S="",r=g,l=v);r<o;){if(!G(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r)&&S)for(S="",r=g,l=v;r<o;){if(!G(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r))return!1;const h=ro(a.slice(1,s));return!!h&&(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:S,href:f}),e.line=l),!0)}],["html_block",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(r))return!1;let l=e.src.slice(r,o),i=0;for(;i<xu.length&&!xu[i][0].test(l);i++);if(i===xu.length)return!1;if(u)return xu[i][2];let a=t+1;if(!xu[i][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],o=e.eMarks[a],l=e.src.slice(r,o),xu[i][1].test(l)){0!==l.length&&a++;break}e.line=a;const s=e.push("html_block","",0);return s.map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let l=e.src.charCodeAt(r);if(35!==l||r>=o)return!1;let i=1;for(l=e.src.charCodeAt(++r);35===l&&r<o&&i<=6;)i++,l=e.src.charCodeAt(++r);if(i>6||r<o&&!G(l))return!1;if(u)return!0;o=e.skipSpacesBack(o,r);const a=e.skipCharsBack(o,35,r);a>r&&G(e.src.charCodeAt(a-1))&&(o=a),e.line=t+1;const s=e.push("heading_open","h"+String(i),1);s.markup="########".slice(0,i),s.map=[t,e.line];const c=e.push("inline","",0);return c.content=e.src.slice(r,o).trim(),c.map=[t,e.line],c.children=[],e.push("heading_close","h"+String(i),-1).markup="########".slice(0,i),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let l,o=0,i=t+1;for(;i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3)continue;if(e.sCount[i]>=e.blkIndent){let v=e.bMarks[i]+e.tShift[i];const d=e.eMarks[i];if(v<d&&(l=e.src.charCodeAt(v),(45===l||61===l)&&(v=e.skipChars(v,l),v=e.skipSpaces(v),v>=d))){o=61===l?1:2;break}}if(e.sCount[i]<0)continue;let g=!1;for(let v=0,d=u.length;v<d;v++)if(u[v](e,i,n,!0)){g=!0;break}if(g)break}if(!o)return!1;const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i+1;const s=e.push("heading_open","h"+String(o),1);s.markup=String.fromCharCode(l),s.map=[t,e.line];const c=e.push("inline","",0);return c.content=a,c.map=[t,e.line-1],c.children=[],e.push("heading_close","h"+String(o),-1).markup=String.fromCharCode(l),e.parentType=r,!0}],["paragraph",function(e,t,n){const u=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let s=!1;for(let c=0,f=u.length;c<f;c++)if(u[c](e,o,n,!0)){s=!0;break}if(s)break}const l=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const a=e.push("inline","",0);return a.content=l,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}]];function io(){this.ruler=new Ve;for(let e=0;e<lo.length;e++)this.ruler.push(lo[e][0],lo[e][1],{alt:(lo[e][2]||[]).slice()})}function kr(e,t,n,u){this.src=e,this.env=n,this.md=t,this.tokens=u,this.tokens_meta=Array(u.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}function Um(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}io.prototype.tokenize=function(e,t,n){const u=this.ruler.getRules(""),r=u.length,o=e.md.options.maxNesting;let l=t,i=!1;for(;l<n&&(e.line=l=e.skipEmptyLines(l),!(l>=n||e.sCount[l]<e.blkIndent));){if(e.level>=o){e.line=n;break}const a=e.line;let s=!1;for(let c=0;c<r;c++)if(s=u[c](e,l,n,!1),s){if(a>=e.line)throw new Error("block rule didn't increment state.line");break}if(!s)throw new Error("none of the block rules matched");e.tight=!i,e.isEmpty(e.line-1)&&(i=!0),l=e.line,l<n&&e.isEmpty(l)&&(i=!0,l++,e.line=l)}},io.prototype.parse=function(e,t,n,u){if(!e)return;const r=new this.State(e,t,n,u);this.tokenize(r,r.line,r.lineMax)},io.prototype.State=Dt,kr.prototype.pushPending=function(){const e=new yt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},kr.prototype.push=function(e,t,n){this.pending&&this.pushPending();const u=new yt(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),u.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(r),u},kr.prototype.scanDelims=function(e,t){const n=this.posMax,u=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===u;)o++;const l=o-e,i=o<n?this.src.charCodeAt(o):32,a=Er(r)||_r(String.fromCharCode(r)),s=Er(i)||_r(String.fromCharCode(i)),c=br(r),f=br(i),g=!f&&(!s||c||a),v=!c&&(!a||f||s);return{can_open:g&&(t||!v||a),can_close:v&&(t||!g||s),length:l}},kr.prototype.Token=yt;const Zm=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const Ki=[];for(let e=0;e<256;e++)Ki.push(0);function c2(e,t){let n;const u=[],r=t.length;for(let o=0;o<r;o++){const l=t[o];if(126!==l.marker||-1===l.end)continue;const i=t[l.end];n=e.tokens[l.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[i.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&u.push(i.token-1)}for(;u.length;){const o=u.pop();let l=o+1;for(;l<e.tokens.length&&"s_close"===e.tokens[l].type;)l++;l--,o!==l&&(n=e.tokens[l],e.tokens[l]=e.tokens[o],e.tokens[o]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){Ki[e.charCodeAt(0)]=1}));const f2={tokenize:function(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||126!==u)return!1;const r=e.scanDelims(e.pos,!0);let o=r.length;const l=String.fromCharCode(u);if(o<2)return!1;let i;o%2&&(i=e.push("text","",0),i.content=l,o--);for(let a=0;a<o;a+=2)i=e.push("text","",0),i.content=l+l,e.delimiters.push({marker:u,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;c2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&c2(e,t[u].delimiters)}};function d2(e,t){for(let u=t.length-1;u>=0;u--){const r=t[u];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;const o=t[r.end],l=u>0&&t[u-1].end===r.end+1&&t[u-1].marker===r.marker&&t[u-1].token===r.token-1&&t[r.end+1].token===o.token+1,i=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=l?"strong_open":"em_open",a.tag=l?"strong":"em",a.nesting=1,a.markup=l?i+i:i,a.content="";const s=e.tokens[o.token];s.type=l?"strong_close":"em_close",s.tag=l?"strong":"em",s.nesting=-1,s.markup=l?i+i:i,s.content="",l&&(e.tokens[t[u-1].token].content="",e.tokens[t[r.end+1].token].content="",u--)}}const p2={tokenize:function(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||95!==u&&42!==u)return!1;const r=e.scanDelims(e.pos,42===u);for(let o=0;o<r.length;o++){e.push("text","",0).content=String.fromCharCode(u),e.delimiters.push({marker:u,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;d2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&d2(e,t[u].delimiters)}};const n8=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,u8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const s8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c8=/^&([a-z][a-z0-9]{1,31});/i;function h2(e){const t={},n=e.length;if(!n)return;let u=0,r=-2;const o=[];for(let l=0;l<n;l++){const i=e[l];if(o.push(0),(e[u].marker!==i.marker||r!==i.token-1)&&(u=l),r=i.token,i.length=i.length||0,!i.close)continue;t.hasOwnProperty(i.marker)||(t[i.marker]=[-1,-1,-1,-1,-1,-1]);const a=t[i.marker][(i.open?3:0)+i.length%3];let s=u-o[u]-1,c=s;for(;s>a;s-=o[s]+1){const f=e[s];if(f.marker===i.marker&&f.open&&f.end<0){let g=!1;if((f.close||i.open)&&(f.length+i.length)%3==0&&(f.length%3!=0||i.length%3!=0)&&(g=!0),!g){const v=s>0&&!e[s-1].open?o[s-1]+1:0;o[l]=l-s+v,o[s]=v,i.open=!1,f.end=l,f.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=c)}}const Ji=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!Um(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax||58!==e.src.charCodeAt(n)||47!==e.src.charCodeAt(n+1)||47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match(Zm);if(!r)return!1;const o=r[1],l=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!l)return!1;let i=l.url;if(i.length<=o.length)return!1;i=i.replace(/\*+$/,"");const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="linkify",s.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(i);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=i.length-o.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const u=e.pending.length-1,r=e.posMax;if(!t)if(u>=0&&32===e.pending.charCodeAt(u))if(u>=1&&32===e.pending.charCodeAt(u-1)){let o=u-1;for(;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&G(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const u=e.posMax;if(92!==e.src.charCodeAt(n)||(n++,n>=u))return!1;let r=e.src.charCodeAt(n);if(10===r){for(t||e.push("hardbreak","br",0),n++;n<u&&(r=e.src.charCodeAt(n),G(r));)n++;return e.pos=n,!0}let o=e.src[n];if(r>=55296&&r<=56319&&n+1<u){const i=e.src.charCodeAt(n+1);i>=56320&&i<=57343&&(o+=e.src[n+1],n++)}const l="\\"+o;if(!t){const i=e.push("text_special","",0);r<256&&0!==Ki[r]?i.content=o:i.content=l,i.markup=l,i.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const o=e.posMax;for(;n<o&&96===e.src.charCodeAt(n);)n++;const l=e.src.slice(r,n),i=l.length;if(e.backticksScanned&&(e.backticks[i]||0)<=r)return t||(e.pending+=l),e.pos+=i,!0;let s,a=n;for(;-1!==(s=e.src.indexOf("`",a));){for(a=s+1;a<o&&96===e.src.charCodeAt(a);)a++;const c=a-s;if(c===i){if(!t){const f=e.push("code_inline","code",0);f.markup=l,f.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[c]=s}return e.backticksScanned=!0,t||(e.pending+=l),e.pos+=i,!0}],["strikethrough",f2.tokenize],["emphasis",p2.tokenize],["link",function(e,t){let n,u,r,o,l="",i="",a=e.pos,s=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const c=e.pos,f=e.posMax,g=e.pos+1,v=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(v<0)return!1;let d=v+1;if(d<f&&40===e.src.charCodeAt(d)){for(s=!1,d++;d<f&&(n=e.src.charCodeAt(d),G(n)||10===n);d++);if(d>=f)return!1;if(a=d,r=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),r.ok){for(l=e.md.normalizeLink(r.str),e.md.validateLink(l)?d=r.pos:l="",a=d;d<f&&(n=e.src.charCodeAt(d),G(n)||10===n);d++);if(r=e.md.helpers.parseLinkTitle(e.src,d,e.posMax),d<f&&a!==d&&r.ok)for(i=r.str,d=r.pos;d<f&&(n=e.src.charCodeAt(d),G(n)||10===n);d++);}(d>=f||41!==e.src.charCodeAt(d))&&(s=!0),d++}if(s){if(typeof e.env.references>"u")return!1;if(d<f&&91===e.src.charCodeAt(d)?(a=d+1,d=e.md.helpers.parseLinkLabel(e,d),d>=0?u=e.src.slice(a,d++):d=v+1):d=v+1,u||(u=e.src.slice(g,v)),o=e.env.references[ro(u)],!o)return e.pos=c,!1;l=o.href,i=o.title}if(!t){e.pos=g,e.posMax=v;const S=[["href",l]];e.push("link_open","a",1).attrs=S,i&&S.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=f,!0}],["image",function(e,t){let n,u,r,o,l,i,a,s,c="";const f=e.pos,g=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;const v=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if(o=d+1,o<g&&40===e.src.charCodeAt(o)){for(o++;o<g&&(n=e.src.charCodeAt(o),G(n)||10===n);o++);if(o>=g)return!1;for(s=o,i=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),i.ok&&(c=e.md.normalizeLink(i.str),e.md.validateLink(c)?o=i.pos:c=""),s=o;o<g&&(n=e.src.charCodeAt(o),G(n)||10===n);o++);if(i=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<g&&s!==o&&i.ok)for(a=i.str,o=i.pos;o<g&&(n=e.src.charCodeAt(o),G(n)||10===n);o++);else a="";if(o>=g||41!==e.src.charCodeAt(o))return e.pos=f,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<g&&91===e.src.charCodeAt(o)?(s=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?r=e.src.slice(s,o++):o=d+1):o=d+1,r||(r=e.src.slice(v,d)),l=e.env.references[ro(r)],!l)return e.pos=f,!1;c=l.href,a=l.title}if(!t){u=e.src.slice(v,d);const _=[];e.md.inline.parse(u,e.md,e.env,_);const S=e.push("image","img",0),h=[["src",c],["alt",""]];S.attrs=h,S.children=_,S.content=u,a&&h.push(["title",a])}return e.pos=o,e.posMax=g,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const u=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const l=e.src.charCodeAt(n);if(60===l)return!1;if(62===l)break}const o=e.src.slice(u+1,n);if(u8.test(o)){const l=e.md.normalizeLink(o);if(!e.md.validateLink(l))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",l]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}if(n8.test(o)){const l=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(l))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",l]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,u=e.pos;if(60!==e.src.charCodeAt(u)||u+2>=n)return!1;const r=e.src.charCodeAt(u+1);if(33!==r&&63!==r&&47!==r&&!function(e){const t=32|e;return t>=97&&t<=122}(r))return!1;const o=e.src.slice(u).match(Rm);if(!o)return!1;if(!t){const l=e.push("html_inline","",0);l.content=o[0],function(e){return/^<a[>\s]/i.test(e)}(l.content)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(l.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}],["entity",function(e,t){const n=e.pos,u=e.posMax;if(38!==e.src.charCodeAt(n)||n+1>=u)return!1;if(35===e.src.charCodeAt(n+1)){const o=e.src.slice(n).match(s8);if(o){if(!t){const l="x"===o[1][0].toLowerCase()?parseInt(o[1].slice(1),16):parseInt(o[1],10),i=e.push("text_special","",0);i.content=Gi(l)?uo(l):uo(65533),i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(c8);if(o){const l=Kf(o[0]);if(l!==o[0]){if(!t){const i=e.push("text_special","",0);i.content=l,i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}}return!1}]],ea=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;h2(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&h2(t[u].delimiters)}],["strikethrough",f2.postProcess],["emphasis",p2.postProcess],["fragments_join",function(e){let t,n,u=0;const r=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r[t].nesting<0&&u--,r[t].level=u,r[t].nesting>0&&u++,"text"===r[t].type&&t+1<o&&"text"===r[t+1].type?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}]];function Cr(){this.ruler=new Ve;for(let e=0;e<Ji.length;e++)this.ruler.push(Ji[e][0],Ji[e][1]);this.ruler2=new Ve;for(let e=0;e<ea.length;e++)this.ruler2.push(ea[e][0],ea[e][1])}function ta(e){return Array.prototype.slice.call(arguments,1).forEach((function(n){n&&Object.keys(n).forEach((function(u){e[u]=n[u]}))})),e}function ao(e){return Object.prototype.toString.call(e)}function m2(e){return"[object Function]"===ao(e)}function v8(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Cr.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),u=n.length,r=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u")return void(e.pos=o[t]);let l=!1;if(e.level<r){for(let i=0;i<u;i++)if(e.level++,l=n[i](e,!0),e.level--,l){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;l||e.pos++,o[t]=e.pos},Cr.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,u=e.posMax,r=e.md.options.maxNesting;for(;e.pos<u;){const o=e.pos;let l=!1;if(e.level<r)for(let i=0;i<n;i++)if(l=t[i](e,!1),l){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(l){if(e.pos>=u)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Cr.prototype.parse=function(e,t,n,u){const r=new this.State(e,t,n,u);this.tokenize(r);const o=this.ruler2.getRules(""),l=o.length;for(let i=0;i<l;i++)o[i](r)},Cr.prototype.State=kr;const g2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const x8={"http:":{validate:function(e,t,n){const u=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(u)?u.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const u=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(u)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:u.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const u=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(u)?u.match(n.re.mailto)[0].length:0}}},b8="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",_8="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function so(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=Wf.source,t.src_Cc=Gf.source,t.src_Z=Yf.source,t.src_P=Vi.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function u(i){return i.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(b8),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(u(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(u(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(u(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(u(t.tpl_host_fuzzy_test),"i");const r=[];function o(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(i){const a=e.__schemas__[i];if(null===a)return;const s={validate:null,link:null};if(e.__compiled__[i]=s,function(e){return"[object Object]"===ao(e)}(a))return!function(e){return"[object RegExp]"===ao(e)}(a.validate)?m2(a.validate)?s.validate=a.validate:o(i,a):s.validate=function(e){return function(t,n){const u=t.slice(n);return e.test(u)?u.match(e)[0].length:0}}(a.validate),void(m2(a.normalize)?s.normalize=a.normalize:a.normalize?o(i,a):s.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===ao(e)}(a)?o(i,a):r.push(i)})),r.forEach((function(i){e.__compiled__[e.__schemas__[i]]&&(e.__compiled__[i].validate=e.__compiled__[e.__schemas__[i]].validate,e.__compiled__[i].normalize=e.__compiled__[e.__schemas__[i]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const l=Object.keys(e.__compiled__).filter((function(i){return i.length>0&&e.__compiled__[i]})).map(v8).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function C8(e,t){const n=e.__index__,u=e.__last_index__,r=e.__text_cache__.slice(n,u);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=u+t,this.raw=r,this.text=r,this.url=r}function na(e,t){const n=new C8(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Je(e,t){if(!(this instanceof Je))return new Je(e,t);t||function(e){return Object.keys(e||{}).reduce((function(t,n){return t||g2.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=ta({},g2,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ta({},x8,e),this.__compiled__={},this.__tlds__=_8,this.__tlds_replaced__=!1,this.re={},so(this)}Je.prototype.add=function(t,n){return this.__schemas__[t]=n,so(this),this},Je.prototype.set=function(t){return this.__opts__=ta(this.__opts__,t),this},Je.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,u,r,o,l,i,a,s,c;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(n=a.exec(t));)if(o=this.testSchemaAt(t,n[2],a.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=t.search(this.re.host_fuzzy_test),s>=0&&(this.__index__<0||s<this.__index__)&&null!==(u=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(l=u.index+u[1].length,(this.__index__<0||l<this.__index__)&&(this.__schema__="",this.__index__=l,this.__last_index__=u.index+u[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&null!==(r=t.match(this.re.email_fuzzy))&&(l=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||l<this.__index__||l===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=l,this.__last_index__=i))),this.__index__>=0},Je.prototype.pretest=function(t){return this.re.pretest.test(t)},Je.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0},Je.prototype.match=function(t){const n=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(na(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(na(this,u)),r=r.slice(this.__last_index__),u+=this.__last_index__;return n.length?n:null},Je.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const u=this.testSchemaAt(t,n[2],n[0].length);return u?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+u,na(this,0)):null},Je.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(u,r,o){return u!==o[r-1]})).reverse(),so(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,so(this),this)},Je.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},Je.prototype.onCompile=function(){};const bu=2147483647,T8=/^xn--/,D8=/[^\0-\x7F]/,F8=/[\x2E\u3002\uFF0E\uFF61]/g,N8={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Nt=Math.floor,oa=String.fromCharCode;function _n(e){throw new RangeError(N8[e])}function b2(e,t){const n=e.split("@");let u="";n.length>1&&(u=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let u=e.length;for(;u--;)n[u]=t(e[u]);return n}((e=e.replace(F8,".")).split("."),t).join(".");return u+o}function _2(e){const t=[];let n=0;const u=e.length;for(;n<u;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<u){const o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}const O8=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},E2=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},k2=function(e,t,n){let u=0;for(e=n?Nt(e/700):e>>1,e+=Nt(e/t);e>455;u+=36)e=Nt(e/35);return Nt(u+36*e/(e+38))},C2=function(e){const t=[],n=e.length;let u=0,r=128,o=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let i=0;i<l;++i)e.charCodeAt(i)>=128&&_n("not-basic"),t.push(e.charCodeAt(i));for(let i=l>0?l+1:0;i<n;){const a=u;for(let c=1,f=36;;f+=36){i>=n&&_n("invalid-input");const g=O8(e.charCodeAt(i++));g>=36&&_n("invalid-input"),g>Nt((bu-u)/c)&&_n("overflow"),u+=g*c;const v=f<=o?1:f>=o+26?26:f-o;if(g<v)break;const d=36-v;c>Nt(bu/d)&&_n("overflow"),c*=d}const s=t.length+1;o=k2(u-a,s,0==a),Nt(u/s)>bu-r&&_n("overflow"),r+=Nt(u/s),u%=s,t.splice(u++,0,r)}return String.fromCodePoint(...t)},S2=function(e){const t=[],n=(e=_2(e)).length;let u=128,r=0,o=72;for(const a of e)a<128&&t.push(oa(a));const l=t.length;let i=l;for(l&&t.push("-");i<n;){let a=bu;for(const c of e)c>=u&&c<a&&(a=c);const s=i+1;a-u>Nt((bu-r)/s)&&_n("overflow"),r+=(a-u)*s,u=a;for(const c of e)if(c<u&&++r>bu&&_n("overflow"),c===u){let f=r;for(let g=36;;g+=36){const v=g<=o?1:g>=o+26?26:g-o;if(f<v)break;const d=f-v,_=36-v;t.push(oa(E2(v+d%_,0))),f=Nt(d/_)}t.push(oa(E2(f,0))),o=k2(r,s,i===l),r=0,++i}++r,++u}return t.join("")},A2={version:"2.3.1",ucs2:{decode:_2,encode:e=>String.fromCodePoint(...e)},decode:C2,encode:S2,toASCII:function(e){return b2(e,(function(t){return D8.test(t)?"xn--"+S2(t):t}))},toUnicode:function(e){return b2(e,(function(t){return T8.test(t)?C2(t.slice(4).toLowerCase()):t}))}},j8={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},P8=/^(vbscript|javascript|file|data):/,R8=/^data:image\/(gif|png|jpeg|webp);/;function I8(e){const t=e.trim().toLowerCase();return!P8.test(t)||R8.test(t)}const T2=["http:","https:","mailto:"];function z8(e){const t=Ui(e,!0);if(t.hostname&&(!t.protocol||T2.indexOf(t.protocol)>=0))try{t.hostname=A2.toASCII(t.hostname)}catch{}return xr($i(t))}function H8(e){const t=Ui(e,!0);if(t.hostname&&(!t.protocol||T2.indexOf(t.protocol)>=0))try{t.hostname=A2.toUnicode(t.hostname)}catch{}return wu($i(t),wu.defaultChars+"%")}function at(e,t){if(!(this instanceof at))return new at(e,t);t||Wi(e)||(t=e||{},e="default"),this.inline=new Cr,this.block=new io,this.core=new Yi,this.renderer=new yu,this.linkify=new Je,this.validateLink=I8,this.normalizeLink=z8,this.normalizeLinkText=H8,this.utils=X4,this.helpers=no({},tm),this.options={},this.configure(e),t&&this.set(t)}at.prototype.set=function(e){return no(this.options,e),this},at.prototype.configure=function(e){const t=this;if(Wi(e)){const n=e;if(!(e=j8[n]))throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},at.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(r){n=n.concat(this[r].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const u=e.filter((function(r){return n.indexOf(r)<0}));if(u.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this},at.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(r){n=n.concat(this[r].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const u=e.filter((function(r){return n.indexOf(r)<0}));if(u.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this},at.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},at.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},at.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},at.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},at.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const B8=at({html:!1,typographer:!0}).disable("list");function $8(e=""){return B8.render(e)}/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:D2,setPrototypeOf:F2,isFrozen:U8,getPrototypeOf:V8,getOwnPropertyDescriptor:Z8}=Object;let{freeze:Le,seal:st,create:N2}=Object,{apply:la,construct:ia}=typeof Reflect<"u"&&Reflect;Le||(Le=function(t){return t}),st||(st=function(t){return t}),la||(la=function(t,n,u){return t.apply(n,u)}),ia||(ia=function(t,n){return new t(...n)});const co=et(Array.prototype.forEach),M2=et(Array.prototype.pop),Ar=et(Array.prototype.push),fo=et(String.prototype.toLowerCase),aa=et(String.prototype.toString),L2=et(String.prototype.match),Tr=et(String.prototype.replace),q8=et(String.prototype.indexOf),W8=et(String.prototype.trim),xt=et(Object.prototype.hasOwnProperty),Oe=et(RegExp.prototype.test),Dr=function(e){return function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return ia(e,n)}}(TypeError);function et(e){return function(t){for(var n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];return la(e,t,u)}}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fo;F2&&F2(e,null);let u=t.length;for(;u--;){let r=t[u];if("string"==typeof r){const o=n(r);o!==r&&(U8(t)||(t[u]=o),r=o)}e[r]=!0}return e}function Q8(e){for(let t=0;t<e.length;t++)xt(e,t)||(e[t]=null);return e}function zn(e){const t=N2(null);for(const[n,u]of D2(e))xt(e,n)&&(Array.isArray(u)?t[n]=Q8(u):u&&"object"==typeof u&&u.constructor===Object?t[n]=zn(u):t[n]=u);return t}function Fr(e,t){for(;null!==e;){const u=Z8(e,t);if(u){if(u.get)return et(u.get);if("function"==typeof u.value)return et(u.value)}e=V8(e)}return function(){return null}}const O2=Le(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),sa=Le(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ca=Le(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Y8=Le(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),fa=Le(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),X8=Le(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j2=Le(["#text"]),P2=Le(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),da=Le(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),R2=Le(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),po=Le(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K8=st(/\{\{[\w\W]*|[\w\W]*\}\}/gm),J8=st(/<%[\w\W]*|[\w\W]*%>/gm),e5=st(/\${[\w\W]*}/gm),t5=st(/^data-[\-\w.\u00B7-\uFFFF]/),n5=st(/^aria-[\-\w]+$/),I2=st(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),u5=st(/^(?:\w+script|data):/i),r5=st(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),z2=st(/^html$/i),o5=st(/^[a-z][.\w]*(-[.\w]+)+$/i);var H2=Object.freeze({__proto__:null,MUSTACHE_EXPR:K8,ERB_EXPR:J8,TMPLIT_EXPR:e5,DATA_ATTR:t5,ARIA_ATTR:n5,IS_ALLOWED_URI:I2,IS_SCRIPT_OR_DATA:u5,ATTR_WHITESPACE:r5,DOCTYPE_NAME:z2,CUSTOM_ELEMENT:o5});const Nr_element=1,Nr_text=3,Nr_progressingInstruction=7,Nr_comment=8,Nr_document=9;var a5=function B2(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=O=>B2(O);if(t.version="3.1.6",t.removed=[],!e||!e.document||e.document.nodeType!==Nr_document)return t.isSupported=!1,t;let{document:n}=e;const u=n,r=u.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:i,Element:a,NodeFilter:s,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:g,trustedTypes:v}=e,d=a.prototype,_=Fr(d,"cloneNode"),S=Fr(d,"remove"),h=Fr(d,"nextSibling"),p=Fr(d,"childNodes"),w=Fr(d,"parentNode");if("function"==typeof l){const O=n.createElement("template");O.content&&O.content.ownerDocument&&(n=O.content.ownerDocument)}let b,C="";const{implementation:k,createNodeIterator:T,createDocumentFragment:F,getElementsByTagName:z}=n,{importNode:j}=u;let Z={};t.isSupported="function"==typeof D2&&"function"==typeof w&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:be,ERB_EXPR:je,TMPLIT_EXPR:ct,DATA_ATTR:Pe,ARIA_ATTR:Gt,IS_SCRIPT_OR_DATA:En,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:P}=H2;let{IS_ALLOWED_URI:R}=H2,H=null;const oe=U({},[...O2,...sa,...ca,...fa,...j2]);let B=null;const Ae=U({},[...P2,...da,...R2,...po]);let Q=Object.seal(N2(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Re=null,Mt=null,md=!0,xa=!0,gd=!1,wd=!0,ku=!1,ba=!0,Bn=!1,_a=!1,Ea=!1,Cu=!1,yo=!1,xo=!1,vd=!0,yd=!1,ka=!0,jr=!1,Su={},Au=null;const xd=U({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let bd=null;const _d=U({},["audio","video","img","source","image","track"]);let Ca=null;const Ed=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),bo="http://www.w3.org/1998/Math/MathML",_o="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml";let Tu=Qt,Sa=!1,Aa=null;const pw=U({},[bo,_o,Qt],aa);let Pr=null;const hw=["application/xhtml+xml","text/html"];let me=null,Du=null;const gw=n.createElement("form"),kd=function(x){return x instanceof RegExp||x instanceof Function},Ta=function(){let x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Du||Du!==x){if((!x||"object"!=typeof x)&&(x={}),x=zn(x),Pr=-1===hw.indexOf(x.PARSER_MEDIA_TYPE)?"text/html":x.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===Pr?aa:fo,H=xt(x,"ALLOWED_TAGS")?U({},x.ALLOWED_TAGS,me):oe,B=xt(x,"ALLOWED_ATTR")?U({},x.ALLOWED_ATTR,me):Ae,Aa=xt(x,"ALLOWED_NAMESPACES")?U({},x.ALLOWED_NAMESPACES,aa):pw,Ca=xt(x,"ADD_URI_SAFE_ATTR")?U(zn(Ed),x.ADD_URI_SAFE_ATTR,me):Ed,bd=xt(x,"ADD_DATA_URI_TAGS")?U(zn(_d),x.ADD_DATA_URI_TAGS,me):_d,Au=xt(x,"FORBID_CONTENTS")?U({},x.FORBID_CONTENTS,me):xd,Re=xt(x,"FORBID_TAGS")?U({},x.FORBID_TAGS,me):{},Mt=xt(x,"FORBID_ATTR")?U({},x.FORBID_ATTR,me):{},Su=!!xt(x,"USE_PROFILES")&&x.USE_PROFILES,md=!1!==x.ALLOW_ARIA_ATTR,xa=!1!==x.ALLOW_DATA_ATTR,gd=x.ALLOW_UNKNOWN_PROTOCOLS||!1,wd=!1!==x.ALLOW_SELF_CLOSE_IN_ATTR,ku=x.SAFE_FOR_TEMPLATES||!1,ba=!1!==x.SAFE_FOR_XML,Bn=x.WHOLE_DOCUMENT||!1,Cu=x.RETURN_DOM||!1,yo=x.RETURN_DOM_FRAGMENT||!1,xo=x.RETURN_TRUSTED_TYPE||!1,Ea=x.FORCE_BODY||!1,vd=!1!==x.SANITIZE_DOM,yd=x.SANITIZE_NAMED_PROPS||!1,ka=!1!==x.KEEP_CONTENT,jr=x.IN_PLACE||!1,R=x.ALLOWED_URI_REGEXP||I2,Tu=x.NAMESPACE||Qt,Q=x.CUSTOM_ELEMENT_HANDLING||{},x.CUSTOM_ELEMENT_HANDLING&&kd(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Q.tagNameCheck=x.CUSTOM_ELEMENT_HANDLING.tagNameCheck),x.CUSTOM_ELEMENT_HANDLING&&kd(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Q.attributeNameCheck=x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),x.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Q.allowCustomizedBuiltInElements=x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ku&&(xa=!1),yo&&(Cu=!0),Su&&(H=U({},j2),B=[],!0===Su.html&&(U(H,O2),U(B,P2)),!0===Su.svg&&(U(H,sa),U(B,da),U(B,po)),!0===Su.svgFilters&&(U(H,ca),U(B,da),U(B,po)),!0===Su.mathMl&&(U(H,fa),U(B,R2),U(B,po))),x.ADD_TAGS&&(H===oe&&(H=zn(H)),U(H,x.ADD_TAGS,me)),x.ADD_ATTR&&(B===Ae&&(B=zn(B)),U(B,x.ADD_ATTR,me)),x.ADD_URI_SAFE_ATTR&&U(Ca,x.ADD_URI_SAFE_ATTR,me),x.FORBID_CONTENTS&&(Au===xd&&(Au=zn(Au)),U(Au,x.FORBID_CONTENTS,me)),ka&&(H["#text"]=!0),Bn&&U(H,["html","head","body"]),H.table&&(U(H,["tbody"]),delete Re.tbody),x.TRUSTED_TYPES_POLICY){if("function"!=typeof x.TRUSTED_TYPES_POLICY.createHTML)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof x.TRUSTED_TYPES_POLICY.createScriptURL)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=x.TRUSTED_TYPES_POLICY,C=b.createHTML("")}else void 0===b&&(b=function(t,n){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let u=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(u=n.getAttribute(r));const o="dompurify"+(u?"#"+u:"");try{return t.createPolicy(o,{createHTML:l=>l,createScriptURL:l=>l})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(v,r)),null!==b&&"string"==typeof C&&(C=b.createHTML(""));Le&&Le(x),Du=x}},Cd=U({},["mi","mo","mn","ms","mtext"]),Sd=U({},["foreignobject","annotation-xml"]),ww=U({},["title","style","font","a","script"]),Ad=U({},[...sa,...ca,...Y8]),Td=U({},[...fa,...X8]),Lt=function(x){Ar(t.removed,{element:x});try{w(x).removeChild(x)}catch{S(x)}},Eo=function(x,D){try{Ar(t.removed,{attribute:D.getAttributeNode(x),from:D})}catch{Ar(t.removed,{attribute:null,from:D})}if(D.removeAttribute(x),"is"===x&&!B[x])if(Cu||yo)try{Lt(D)}catch{}else try{D.setAttribute(x,"")}catch{}},Dd=function(x){let D=null,L=null;if(Ea)x="<remove></remove>"+x;else{const _e=L2(x,/^[\r\n\t ]+/);L=_e&&_e[0]}"application/xhtml+xml"===Pr&&Tu===Qt&&(x='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+x+"</body></html>");const Y=b?b.createHTML(x):x;if(Tu===Qt)try{D=(new g).parseFromString(Y,Pr)}catch{}if(!D||!D.documentElement){D=k.createDocument(Tu,"template",null);try{D.documentElement.innerHTML=Sa?C:Y}catch{}}const Te=D.body||D.documentElement;return x&&L&&Te.insertBefore(n.createTextNode(L),Te.childNodes[0]||null),Tu===Qt?z.call(D,Bn?"html":"body")[0]:Bn?D.documentElement:Te},Fd=function(x){return T.call(x.ownerDocument||x,x,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},Nd=function(x){return x instanceof f&&("string"!=typeof x.nodeName||"string"!=typeof x.textContent||"function"!=typeof x.removeChild||!(x.attributes instanceof c)||"function"!=typeof x.removeAttribute||"function"!=typeof x.setAttribute||"string"!=typeof x.namespaceURI||"function"!=typeof x.insertBefore||"function"!=typeof x.hasChildNodes)},Md=function(x){return"function"==typeof i&&x instanceof i},Yt=function(x,D,L){Z[x]&&co(Z[x],(Y=>{Y.call(t,D,L,Du)}))},Ld=function(x){let D=null;if(Yt("beforeSanitizeElements",x,null),Nd(x))return Lt(x),!0;const L=me(x.nodeName);if(Yt("uponSanitizeElement",x,{tagName:L,allowedTags:H}),x.hasChildNodes()&&!Md(x.firstElementChild)&&Oe(/<[/\w]/g,x.innerHTML)&&Oe(/<[/\w]/g,x.textContent)||x.nodeType===Nr_progressingInstruction||ba&&x.nodeType===Nr_comment&&Oe(/<[/\w]/g,x.data))return Lt(x),!0;if(!H[L]||Re[L]){if(!Re[L]&&jd(L)&&(Q.tagNameCheck instanceof RegExp&&Oe(Q.tagNameCheck,L)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(L)))return!1;if(ka&&!Au[L]){const Y=w(x)||x.parentNode,Te=p(x)||x.childNodes;if(Te&&Y){for(let qe=Te.length-1;qe>=0;--qe){const Ot=_(Te[qe],!0);Ot.__removalCount=(x.__removalCount||0)+1,Y.insertBefore(Ot,h(x))}}}return Lt(x),!0}return x instanceof a&&!function(x){let D=w(x);(!D||!D.tagName)&&(D={namespaceURI:Tu,tagName:"template"});const L=fo(x.tagName),Y=fo(D.tagName);return!!Aa[x.namespaceURI]&&(x.namespaceURI===_o?D.namespaceURI===Qt?"svg"===L:D.namespaceURI===bo?"svg"===L&&("annotation-xml"===Y||Cd[Y]):!!Ad[L]:x.namespaceURI===bo?D.namespaceURI===Qt?"math"===L:D.namespaceURI===_o?"math"===L&&Sd[Y]:!!Td[L]:x.namespaceURI===Qt?!(D.namespaceURI===_o&&!Sd[Y]||D.namespaceURI===bo&&!Cd[Y])&&!Td[L]&&(ww[L]||!Ad[L]):!("application/xhtml+xml"!==Pr||!Aa[x.namespaceURI]))}(x)||("noscript"===L||"noembed"===L||"noframes"===L)&&Oe(/<\/no(script|embed|frames)/i,x.innerHTML)?(Lt(x),!0):(ku&&x.nodeType===Nr_text&&(D=x.textContent,co([be,je,ct],(Y=>{D=Tr(D,Y," ")})),x.textContent!==D&&(Ar(t.removed,{element:x.cloneNode()}),x.textContent=D)),Yt("afterSanitizeElements",x,null),!1)},Od=function(x,D,L){if(vd&&("id"===D||"name"===D)&&(L in n||L in gw))return!1;if((!xa||Mt[D]||!Oe(Pe,D))&&(!md||!Oe(Gt,D)))if(!B[D]||Mt[D]){if(!(jd(x)&&(Q.tagNameCheck instanceof RegExp&&Oe(Q.tagNameCheck,x)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(x))&&(Q.attributeNameCheck instanceof RegExp&&Oe(Q.attributeNameCheck,D)||Q.attributeNameCheck instanceof Function&&Q.attributeNameCheck(D))||"is"===D&&Q.allowCustomizedBuiltInElements&&(Q.tagNameCheck instanceof RegExp&&Oe(Q.tagNameCheck,L)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(L))))return!1}else if(!Ca[D]&&!Oe(R,Tr(L,N,""))&&("src"!==D&&"xlink:href"!==D&&"href"!==D||"script"===x||0!==q8(L,"data:")||!bd[x])&&(!gd||Oe(En,Tr(L,N,"")))&&L)return!1;return!0},jd=function(x){return"annotation-xml"!==x&&L2(x,P)},Pd=function(x){Yt("beforeSanitizeAttributes",x,null);const{attributes:D}=x;if(!D)return;const L={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B};let Y=D.length;for(;Y--;){const Te=D[Y],{name:_e,namespaceURI:qe,value:Ot}=Te,Rr=me(_e);let Ie="value"===_e?Ot:W8(Ot);if(L.attrName=Rr,L.attrValue=Ie,L.keepAttr=!0,L.forceKeepAttr=void 0,Yt("uponSanitizeAttribute",x,L),Ie=L.attrValue,ba&&Oe(/((--!?|])>)|<\/(style|title)/i,Ie)){Eo(_e,x);continue}if(L.forceKeepAttr||(Eo(_e,x),!L.keepAttr))continue;if(!wd&&Oe(/\/>/i,Ie)){Eo(_e,x);continue}ku&&co([be,je,ct],(Id=>{Ie=Tr(Ie,Id," ")}));const Rd=me(x.nodeName);if(Od(Rd,Rr,Ie)){if(yd&&("id"===Rr||"name"===Rr)&&(Eo(_e,x),Ie="user-content-"+Ie),b&&"object"==typeof v&&"function"==typeof v.getAttributeType&&!qe)switch(v.getAttributeType(Rd,Rr)){case"TrustedHTML":Ie=b.createHTML(Ie);break;case"TrustedScriptURL":Ie=b.createScriptURL(Ie)}try{qe?x.setAttributeNS(qe,_e,Ie):x.setAttribute(_e,Ie),Nd(x)?Lt(x):M2(t.removed)}catch{}}}Yt("afterSanitizeAttributes",x,null)},yw=function O(x){let D=null;const L=Fd(x);for(Yt("beforeSanitizeShadowDOM",x,null);D=L.nextNode();)Yt("uponSanitizeShadowNode",D,null),!Ld(D)&&(D.content instanceof o&&O(D.content),Pd(D));Yt("afterSanitizeShadowDOM",x,null)};return t.sanitize=function(O){let x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},D=null,L=null,Y=null,Te=null;if(Sa=!O,Sa&&(O="\x3c!--\x3e"),"string"!=typeof O&&!Md(O)){if("function"!=typeof O.toString)throw Dr("toString is not a function");if("string"!=typeof(O=O.toString()))throw Dr("dirty is not a string, aborting")}if(!t.isSupported)return O;if(_a||Ta(x),t.removed=[],"string"==typeof O&&(jr=!1),jr){if(O.nodeName){const Ot=me(O.nodeName);if(!H[Ot]||Re[Ot])throw Dr("root node is forbidden and cannot be sanitized in-place")}}else if(O instanceof i)D=Dd("\x3c!----\x3e"),L=D.ownerDocument.importNode(O,!0),L.nodeType===Nr_element&&"BODY"===L.nodeName||"HTML"===L.nodeName?D=L:D.appendChild(L);else{if(!Cu&&!ku&&!Bn&&-1===O.indexOf("<"))return b&&xo?b.createHTML(O):O;if(D=Dd(O),!D)return Cu?null:xo?C:""}D&&Ea&&Lt(D.firstChild);const _e=Fd(jr?O:D);for(;Y=_e.nextNode();)Ld(Y)||(Y.content instanceof o&&yw(Y.content),Pd(Y));if(jr)return O;if(Cu){if(yo)for(Te=F.call(D.ownerDocument);D.firstChild;)Te.appendChild(D.firstChild);else Te=D;return(B.shadowroot||B.shadowrootmode)&&(Te=j.call(u,Te,!0)),Te}let qe=Bn?D.outerHTML:D.innerHTML;return Bn&&H["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&Oe(z2,D.ownerDocument.doctype.name)&&(qe="<!DOCTYPE "+D.ownerDocument.doctype.name+">\n"+qe),ku&&co([be,je,ct],(Ot=>{qe=Tr(qe,Ot," ")})),b&&xo?b.createHTML(qe):qe},t.setConfig=function(){Ta(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),_a=!0},t.clearConfig=function(){Du=null,_a=!1},t.isValidAttribute=function(O,x,D){Du||Ta({});const L=me(O),Y=me(x);return Od(L,Y,D)},t.addHook=function(O,x){"function"==typeof x&&(Z[O]=Z[O]||[],Ar(Z[O],x))},t.removeHook=function(O){if(Z[O])return M2(Z[O])},t.removeHooks=function(O){Z[O]&&(Z[O]=[])},t.removeAllHooks=function(){Z={}},t}();function s5(e,t="en"){let n;n="number"==typeof e?new Date(1e3*e):new Date(e);const u="th"===t?"th-TH":"en-US";return n.toLocaleTimeString(u,{hour:"numeric",minute:"2-digit",hour12:!0})}function c5(e,t="en"){const n=new Date(e),u=new Date,r=new Date;r.setDate(u.getDate()-1);const o=At[t]||At.en;return n.toDateString()===u.toDateString()?o.today:n.toDateString()===r.toDateString()?o.yesterday:n.toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"})}const p5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8.3 18.04v-1.16C6 15.49 4.11 12.78 4.11 9.9c0-4.95 4.55-8.83 9.69-7.71 2.26.5 4.24 2 5.27 4.07 2.09 4.2-.11 8.66-3.34 10.61v1.16c0 .29.11.96-.96.96H9.26c-1.1.01-.96-.42-.96-.95M8.5 22c2.29-.65 4.71-.65 7 0"})),h5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12zM11.995 17h.009"})),m5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{stroke:"#9ca3af",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M15.24 2H8.76C5 2 4.71 5.38 6.74 7.22l10.52 9.56C19.29 18.62 19 22 15.24 22H8.76C5 22 4.71 18.62 6.74 16.78l10.52-9.56C19.29 5.38 19 2 15.24 2"})),g5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",...e},E.createElement("path",{fill:"#F23D27",d:"M7 13.27A6.276 6.276 0 0 1 .73 7C.73 3.54 3.54.73 7 .73S13.27 3.54 13.27 7 10.46 13.27 7 13.27M7 1.605A5.4 5.4 0 0 0 1.604 7 5.4 5.4 0 0 0 7 12.396 5.4 5.4 0 0 0 12.396 7 5.4 5.4 0 0 0 7 1.604"}),E.createElement("path",{fill:"#F23D27",d:"M7 8.02a.44.44 0 0 1-.437-.437V4.667A.44.44 0 0 1 7 4.229a.44.44 0 0 1 .438.438v2.916A.44.44 0 0 1 7 8.021M7 9.917a.6.6 0 0 1-.222-.047.7.7 0 0 1-.192-.122.6.6 0 0 1-.123-.193.6.6 0 0 1-.046-.222.6.6 0 0 1 .046-.221q.044-.105.123-.193a.7.7 0 0 1 .192-.122.58.58 0 0 1 .444 0q.105.044.192.122a.7.7 0 0 1 .123.193.6.6 0 0 1 .046.221.6.6 0 0 1-.046.222.6.6 0 0 1-.123.193.7.7 0 0 1-.192.122.6.6 0 0 1-.222.047"})),w5=({document:e,query:t})=>m.jsxs("div",{className:"tw-bi tw-tm",children:[m.jsxs("div",{className:"tw-on tw-ek tw-vn tw-vp tw-lo tw-if tw-ak tw-ck tw-nc",children:[m.jsx("span",{className:"tw-tj tw-ce tw-ui tw-ve",children:e.key}),m.jsxs("span",{className:"tw-wl tw-rg tw-ui tw-ze",children:["Query: ",t]}),m.jsxs("span",{className:"tw-wl tw-rg tw-ui tw-ze",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),m.jsxs("div",{className:"tw-wl tw-ui tw-qo tw-no tw-af tw-eb tw-nb tw-he",children:[m.jsx($2,{}),e.content,m.jsx($2,{})]})]}),$2=()=>m.jsxs("div",{className:"tw-ah tw-jk tw-jo",children:[m.jsxs("div",{className:"tw-on tw-qf tw-tm",children:[m.jsx("div",{className:"tw-cn tw-mg tw-zf tw-ep"}),m.jsx("div",{className:"tw-cn tw-co tw-mg tw-zf tw-dp"}),m.jsx("div",{className:"tw-cn tw-co tw-mg tw-zf tw-tm"})]}),m.jsxs("div",{className:"tw-on tw-qf tw-tm tw-le",children:[m.jsx("div",{className:"tw-cn tw-mg tw-zf tw-tm"}),m.jsx("div",{className:"tw-cn tw-co tw-mg tw-zf tw-tm"}),m.jsx("div",{className:"tw-cn tw-co tw-mg tw-zf tw-dp"})]}),m.jsxs("div",{className:"tw-on tw-qf tw-tm tw-ke",children:[m.jsx("div",{className:"tw-cn tw-mg tw-zf tw-tm"}),m.jsx("div",{className:"tw-cn tw-co tw-mg tw-zf tw-gp"}),m.jsx("div",{className:"tw-cn tw-co tw-mg tw-zf tw-tm"})]})]}),v5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{fill:"#0044A0",fillRule:"evenodd",d:"M4.155 4.155C3.24 5.071 2.75 6.574 2.75 9v6c0 2.426.49 3.93 1.405 4.845.916.915 2.419 1.405 4.845 1.405h6c2.426 0 3.93-.49 4.845-1.405.915-.916 1.405-2.419 1.405-4.845v-5a.75.75 0 0 1 1.5 0v5c0 2.574-.51 4.57-1.845 5.905S17.574 22.75 15 22.75H9c-2.574 0-4.57-.51-5.905-1.845S1.25 17.574 1.25 15V9c0-2.574.51-4.57 1.845-5.905S6.426 1.25 9 1.25h5a.75.75 0 0 1 0 1.5H9c-2.426 0-3.93.49-4.845 1.405",clipRule:"evenodd"}),E.createElement("path",{fill:"#0044A0",fillRule:"evenodd",d:"M13.713 1.307a.75.75 0 0 1 .817.163l8 8a.75.75 0 0 1-.53 1.28h-4c-1.541 0-2.808-.247-3.655-1.095C13.497 8.808 13.25 7.542 13.25 6V2a.75.75 0 0 1 .463-.693m1.037 2.504V6c0 1.458.253 2.192.655 2.595.403.402 1.136.655 2.595.655h2.19zM6.25 13a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75M6.25 17a.75.75 0 0 1 .75-.75h4a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})),y5_createReport=async(e,t)=>{try{const n=await fetch("https://api-sso.dbt.pw/v1/report",{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)}),u=await n.json();return{status:n.status,data:u}}catch(n){throw console.error(n),n}},x5=({message:e,query:t,sources:n,onClose:u,messageID:r})=>{const[o,l]=E.useState(t),[i,a]=E.useState(e),[s,c]=E.useState(""),[f,g]=E.useState(""),v=Wt.settings.language,d=At[v]||At.en,[_,S]=E.useState(!1),h={messageID:r,question:t,answer:i,reviewAnswer:f,remark:s,reference:null==n?void 0:n.map((w=>({s3Key:null==w?void 0:w.key,content:null==w?void 0:w.content})))};return m.jsxs("div",{className:"tw-bi tw-tm tw-ui",children:[m.jsx("div",{className:"tw-on tw-ek tw-vn tw-vp tw-if tw-ak tw-ck tw-nc",children:m.jsx("span",{className:"tw-xl tw-do tw-tn tw-si",children:d.report})}),m.jsx("div",{className:"tw-on tw-ek tw-an tw-ge tw-qe",children:m.jsxs("div",{className:"tw-on tw-ek tw-bn tw-vp",children:[m.jsxs("div",{className:"tw-on tw-ek tw-ym",children:[m.jsx("span",{className:"tw-tj tw-si",children:d.question}),m.jsx("input",{type:"text",value:o,onChange:w=>l(w.target.value),className:"tw-up tw-tj tw-if tw-pa tw-dm tw-nc tw-ei",placeholder:d.question,disabled:!0})]}),m.jsxs("div",{className:"tw-on tw-ek tw-ym",children:[m.jsx("span",{className:"tw-tj tw-si",children:d.answer}),m.jsx("textarea",{onChange:w=>{a(w.target.value)},value:i,className:"tw-up tw-tj tw-if tw-pa tw-dm tw-nc tw-ei tw-pk",cols:"30",rows:"10",placeholder:d.answer,disabled:!0})]}),m.jsxs("div",{className:"tw-on tw-ek tw-ym",children:[m.jsx("span",{className:"tw-tj tw-si",children:d.answerCorrect}),m.jsx("textarea",{onChange:w=>{g(w.target.value)},value:f,className:"tw-up tw-dm tw-nc tw-xf tw-ei tw-tj tw-pk",cols:"10",rows:"5",placeholder:d.answerCorrect})]}),m.jsxs("div",{className:"tw-on tw-ek tw-ym",children:[m.jsx("span",{className:"tw-tj tw-si",children:d.sources}),(null==n?void 0:n.length)<=0?m.jsx("div",{children:m.jsx("p",{className:"tw-zb",children:d.sourcesEmpty})}):m.jsx("div",{className:"tw-on tw-ek tw-up tw-zm tw-dm tw-if tw-nc tw-ei",children:null==n?void 0:n.map(((w,b)=>m.jsxs("div",{className:"tw-rn tw-kn tw-wo tw-on tw-qf tw-ym tw-dm tw-if tw-nc tw-nd",children:[m.jsx(v5,{}),m.jsx("span",{className:"tw-rf tw-od",children:w.key.split("/").pop()})]},b)))})]}),m.jsxs("div",{className:"tw-on tw-ek tw-ym",children:[m.jsx("span",{className:"tw-tj tw-si",children:d.remark}),m.jsx("input",{type:"text",value:s,onChange:w=>c(w.target.value),className:"tw-up tw-tj tw-if tw-pa tw-dm tw-nc tw-ei",placeholder:d.remark})]}),m.jsxs("div",{className:"tw-go tw-tm tw-on tw-an tw-tg tw-ri tw-bd",children:[m.jsx("button",{onClick:u,className:"tw-hd tw-on tw-qf tw-jd tw-ng tw-dm tw-xb tw-bi tw-qn tw-nk tw-ua tw-lf tw-zc",children:m.jsx("p",{className:"tw-rd",children:d.cancel})}),m.jsx("button",{disabled:_||""===f,onClick:async()=>{S(!0);try{const w=await y5_createReport(h);console.log(w,"<<<<< result"),200===w.status&&u()}catch{console.log("Failed to fetch report.")}finally{S(!1)}},className:"tw-hd tw-on tw-qf tw-ng tw-hf tw-bi tw-qn tw-nk tw-ua tw-lf tw-zc tw-va tw-aa tw-kb",children:m.jsx("p",{className:"tw-gi",children:d.report})})]})]})})]})},b5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...e},E.createElement("path",{fill:"#000",d:"M20 36.667c9.205 0 16.667-7.462 16.667-16.667S29.205 3.334 20 3.334 3.334 10.795 3.334 20 10.795 36.667 20 36.667",opacity:.4}),E.createElement("path",{fill:"#fff",d:"m21.767 20 3.833-3.833a1.26 1.26 0 0 0 0-1.767 1.26 1.26 0 0 0-1.767 0L20 18.233 16.167 14.4a1.26 1.26 0 0 0-1.767 0 1.26 1.26 0 0 0 0 1.767L18.233 20 14.4 23.833a1.26 1.26 0 0 0 0 1.767c.25.25.567.367.883.367s.634-.117.884-.367L20 21.767l3.833 3.833c.25.25.567.367.884.367.316 0 .633-.117.883-.367a1.26 1.26 0 0 0 0-1.767z"})),_5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e},E.createElement("path",{fill:"#fff",d:"M12.5 18.958h-5c-4.525 0-6.458-1.933-6.458-6.458v-5c0-4.525 1.933-6.458 6.458-6.458h4.166a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625H7.5c-3.842 0-5.208 1.366-5.208 5.208v5c0 3.842 1.366 5.208 5.208 5.208h5c3.842 0 5.208-1.366 5.208-5.208V8.333a.63.63 0 0 1 .625-.625.63.63 0 0 1 .625.625V12.5c0 4.525-1.933 6.458-6.458 6.458"}),E.createElement("path",{fill:"#fff",d:"M18.333 8.958H15C12.15 8.958 11.04 7.85 11.04 5V1.667c0-.25.15-.484.384-.575a.63.63 0 0 1 .683.133l6.667 6.667a.626.626 0 0 1-.442 1.067m-6.041-5.783V5c0 2.15.558 2.708 2.708 2.708h1.825zM10.834 11.459h-5a.63.63 0 0 1-.625-.625.63.63 0 0 1 .625-.625h5a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625M9.167 14.792H5.834a.63.63 0 0 1-.625-.626.63.63 0 0 1 .625-.625h3.333a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625"})),ho=({children:e,text:t,render:n})=>m.jsxs("div",{className:"anm-group/tooltip tw-ok tw-on",children:[e,t&&m.jsx("span",{className:"tw-yj tw-ui tw-ik tw-vb tw-ac tw-eo tw-r tw-ij tw-uo tw-wl tw-la tw-ab tw-ci tw-hl tw-qb tw-hb tw-th tw-pi",children:t}),n&&n]}),E5=({document:e})=>m.jsxs("div",{className:"tw-hm tw-ek tw-yj tw-im tw-uk tw-cf tw-ha tw-sp tw-ci tw-hl tw-fp tw-zj tw-bm tw-oj tw-jj tw-yb tw-jl",children:[m.jsx("span",{className:"tw-ui tw-wl tw-fi",children:e.key}),m.jsxs("span",{className:"tw-ui tw-wl ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),m.jsx("span",{className:"tw-ui tw-wl tw-fp tw-ve tw-qb tw-tc tw-pf tw-eo",children:e.content.substring(0,50)})]}),k5={copy:e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.668 9.668c-.578.578-.918 1.556-.918 3.232v4.2c0 1.676.34 2.654.918 3.232s1.556.918 3.232.918h4.2c1.676 0 2.654-.34 3.232-.918s.918-1.556.918-3.232v-4.2c0-1.676-.34-2.654-.918-3.232S12.776 8.75 11.1 8.75H6.9c-1.676 0-2.654.34-3.232.918m-1.06-1.06C3.603 7.61 5.075 7.25 6.9 7.25h4.2c1.824 0 3.296.36 4.293 1.357s1.357 2.469 1.357 4.293v4.2c0 1.824-.36 3.296-1.357 4.293S12.924 22.75 11.1 22.75H6.9c-1.824 0-3.296-.36-4.293-1.357S1.25 18.924 1.25 17.1v-4.2c0-1.824.36-3.296 1.357-4.293",clipRule:"evenodd"}),E.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.668 3.668C9.09 4.246 8.75 5.224 8.75 6.9v.35h2.35c1.824 0 3.296.36 4.293 1.357s1.357 2.469 1.357 4.293v2.35h.35c1.676 0 2.654-.34 3.232-.918s.918-1.556.918-3.232V6.9c0-1.676-.34-2.654-.918-3.232S18.776 2.75 17.1 2.75h-4.2c-1.676 0-2.654.34-3.232.918m-1.06-1.06C9.603 1.61 11.075 1.25 12.9 1.25h4.2c1.824 0 3.296.36 4.293 1.357S22.75 5.076 22.75 6.9v4.2c0 1.824-.36 3.296-1.357 4.293S18.924 16.75 17.1 16.75H16a.75.75 0 0 1-.75-.75v-3.1c0-1.676-.34-2.654-.918-3.232S12.776 8.75 11.1 8.75H8A.75.75 0 0 1 7.25 8V6.9c0-1.824.36-3.296 1.357-4.293",clipRule:"evenodd"})),check:e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.614 5.649a1 1 0 0 1 .084 1.422L10.184 18.74a1 1 0 0 1-1.428.058l-6.084-5.727a1.01 1.01 0 0 1-.09-1.36 1.01 1.01 0 0 1 1.455-.126l4.72 4.246a1 1 0 0 0 1.412-.074l9.043-10.027a1 1 0 0 1 1.402-.082",clipRule:"evenodd"}))},C5=a5(window),S5=({settings:e,messageIndex:t,history:n=[],sessionId:u,type:r,message:o,role:l,isRAG:i,query:a="",question:s,sources:c=[],error:f=!1,read:g,sending:v,pending:d,sentAt:_,isDateChanged:S,currDate:h,isLastMessage:p,isShowSuggestion:w,onSuggestion:b,defaultSuggesstion:C=[],setSuggestList:k,messageID:T,images:F,videoUrls:z=[],fileUrls:j=[]})=>{const{openModal:Z,setModalOpen:be}=E.useContext(Ii),je=E.useRef(null),ct=e.language,Pe=At[ct]||At.en,Gt=e.textSize?`anm-text-[${e.textSize}px]`:"tw-fh";function En(B){return"user"===B?e.userBgColor??"#3DBEF5":e.assistantBgColor??"#FFFFFF"}function N(B){return"user"===B?e.userTextColor??"#FFFFFF":e.assistantTextColor??"#27272a"}const[P,R]=E.useState("copy"),H=k5[P];E.useEffect((()=>{je.current&&je.current.querySelectorAll("a").forEach((B=>{B.onclick=async Ae=>{Ae.preventDefault(),console.log("I am clicked! "+B.href),yr.sendEvent({event:"click",url:B.href},{"client-id":e.embedId,"session-id":u}),B.onclick=null,window.location.href=B.href}}))}),[o,u]);return"event"===r?m.jsx("div",{className:"tw-on tw-jd tw-eo tw-vn",children:m.jsx("div",{className:"tw-zo tw-hh tw-wl tw-ui",children:o})}):m.jsxs(m.Fragment,{children:[S&&m.jsx("div",{className:"tw-on tw-jd tw-eo tw-vn",children:m.jsx("div",{className:"tw-on tw-qf tw-jd tw-li tw-hh tw-zf tw-zo tw-vo tw-yl tw-ui",children:c5(h,ct)})}),m.jsxs("div",{style:{"--user-bg":En("user"),"--asst-bg":En("assistant"),"--user-text":N("user"),"--asst-text":N("assistant")},className:"tw-ok tw-mo tw-j",children:[m.jsxs("div",{className:"tw-on tw-sg tw-tm tw-dn "+("user"===l?"tw-tg":"tw-de"),children:["user"!==l&&m.jsx("span",{className:"tw-on tw-rk tw-bq tw-op tw-zf tw-zn",children:m.jsx("img",{src:e.assistantIcon||Bi,alt:"Chatbot Avatar",className:"tw-zf"})}),m.jsxs("div",{"data-role":l,className:"tw-ok tw-of tw-og tw-bp tw-xo tw-pf tw-ui tw-hg tw-wg "+(f?"tw-kh tw-bi":"user"===l?`${Wt.USER_STYLES.base} anm-animuz-user-message tw-la tw-ab`:`${Wt.ASSISTANT_STYLES.base} tw-ja tw-za tw-bk ${w&&"tw-ia tw-if"}`),children:["user"!==l&&f?m.jsxs("div",{className:"tw-tp tw-bi tw-mi tw-fg",children:[m.jsxs("span",{className:"tw-pf ",children:[m.jsx(Mf,{className:"tw-lp tw-xp tw-un tw-pf"})," ","Could not respond to message."]}),m.jsx("p",{className:"tw-yl tw-ti tw-eo tw-nh tw-gd tw-po tw-lh tw-tp tw-di",children:f})]}):d?m.jsx("div",{className:"tw-ho tw-io anm-dot-falling"}):m.jsxs(m.Fragment,{children:["image"===r?m.jsx(A5,{images:F,sentAt:_}):"video"===r?m.jsx(T5,{videos:z}):"file"===r?m.jsx(D5,{file:j}):m.jsx("span",{ref:je,className:`tw-eb tw-on tw-ek tw-bl ${Gt} tw-aj tw-eg tw-id`,dangerouslySetInnerHTML:{__html:C5.sanitize($8(o))}}),e.showRag&&i&&c.length>0&&m.jsx("div",{className:"tw-on tw-ri tw-cl tw-qf tw-eo tw-wl tw-ye",children:c.map(((B,Ae)=>m.jsx(ho,{render:m.jsx(E5,{document:B}),children:m.jsx("span",{className:"tw-zn tw-zo tw-vo tw-bi tw-lg tw-hd tw-tb tw-fc tw-ve tw-qb tw-tc anm-max-w-32",onClick:()=>Z(m.jsx(w5,{document:B,query:a})),children:B.key.split("/").pop()})},Ae)))})]}),m.jsxs("div",{className:"tw-on tw-ek tw-yj tw-ui tw-ch tw-xe tw-qb tw-dk "+("user"===l?"tw-zi tw-zh tw-yn":"tw-sg tw-bj tw-wn"),children:["user"===l&&g&&m.jsx("span",{children:"Read"}),m.jsxs("div",{className:"tw-on tw-qf",children:["user"===l&&v?m.jsx("span",{children:m.jsx(m5,{width:16,height:16,viewBox:"0 0 24 24"})}):"user"===l&&f?m.jsxs("span",{className:"tw-on tw-ym tw-qf tw-yn tw-fg",children:[m.jsx(g5,{})," ",f]}):m.jsx(m.Fragment,{}),_&&m.jsx("span",{children:s5(_)})]})]})]})]}),"user"!==l&&m.jsxs("div",{"aria-expanded":p&&!d,className:"anm-action-wrapper tw-ib tw-jb tw-ip tw-tm tw-lm tw-mo tw-yj tw-hm tw-uk tw-dd tw-yk tw-en tw-ed tw-qj",children:[e.showCopyAction&&m.jsx(ho,{text:"copy"===P?Pe.copy:Pe.copySuccess,children:m.jsx("button",{className:"tw-on tw-qf tw-jd tw-hd tw-ng tw-ed tw-pp tw-uo tw-xe tw-ba",onClick:()=>{navigator.clipboard.writeText(o),R("check"),setTimeout((()=>{R("copy")}),1e3)},children:m.jsx(H,{className:"tw-xp tw-lp"})})}),e.showSuggestAction&&m.jsx(ho,{text:Pe.suggest,children:m.jsx("button",{onClick:()=>{b(),(async()=>{try{if(null!==(null==e?void 0:e.defaultSuggestions)&&""!==(null==e?void 0:e.defaultSuggestions)){const Ae=(await yr.suggestionsNoAuth({conversationID:u,defaultSuggestions:e.defaultSuggestions,messages:n},{"client-id":e.embedId,"session-id":u})).suggest,Re=JSON.parse(Ae).map((Mt=>({role:"assistant",content:Mt})));k(Re)}}catch(B){console.error("Error fetching suggestions:",B)}})()},className:"tw-on tw-qf tw-jd tw-hd tw-ng tw-ed tw-pp tw-uo tw-xe tw-ba tw-aa tw-ma",children:m.jsx(p5,{className:"tw-xp tw-lp"})})}),e.showReportAction&&0!==t&&m.jsx(ho,{text:Pe.report,children:m.jsx("button",{className:"tw-on tw-qf tw-jd tw-hd tw-ng tw-ed tw-pp tw-uo tw-xe tw-ba tw-aa tw-ma",onClick:()=>{Z(m.jsx(x5,{datasetID:e.embedId,message:o,query:s,messageID:T,sources:c,onClose:()=>be(!1)}))},children:m.jsx(h5,{className:"tw-xp tw-lp"})})})]})]})]})},A5=({images:e,sentAt:t})=>{const[n,u]=E.useState(""),[r,o]=E.useState(!1),i=new Date(t).toLocaleString("th-TH",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"});return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"tw-on tw-zm tw-ri",children:null==e?void 0:e.map(((a,s)=>m.jsx("img",{onClick:()=>u(a),src:a,alt:"img",className:"tw-tl tw-ei tw-dm tw-lc tw-lg tw-kd"},s)))}),n&&m.jsxs("div",{className:"tw-on tw-fm tw-ek tw-up tw-xm tw-el tw-bm tw-jd tw-kg tw-ya",children:[m.jsxs("div",{className:"tw-on tw-qf tw-rc",children:[m.jsxs("div",{className:"tw-on tw-an tw-qf tw-qp",children:[m.jsx("div",{className:"tw-on tw-jd tw-qf border tw-wg tw-zj tw-sl",children:m.jsx("img",{src:Bi,alt:"avatar",className:"tw-rl tw-wf tw-md"})}),m.jsxs("div",{className:"tw-on tw-ek tw-dm tw-if",children:[m.jsx("span",{className:"tw-gi tw-vl",children:"Rudi"}),m.jsx("span",{className:"tw-hh",children:i})]})]}),m.jsx("div",{className:"tw-on tw-jd tw-qf tw-ym",children:m.jsx(b5,{onClick:()=>u(null),className:"tw-hd anm-hover:anm-scale-110 tw-ud tw-lf"})})]}),m.jsx("div",{className:"tw-ne tw-fe tw-xg tw-ok tw-zg",children:m.jsx("img",{src:n,alt:"Preview",onLoad:()=>o(!0),className:"tw-kd tw-tm tw-gm tw-xg tw-hb tw-mf "+(r?"tw-ug":"tw-ij")},n)}),m.jsx("div",{className:"tw-on tw-zm tw-qe tw-vk",children:null==e?void 0:e.map(((a,s)=>m.jsx("div",{className:"tw-hd",onClick:()=>{o(!1),u(a)},children:m.jsx("img",{src:a,alt:a,className:"tw-vi tw-oe tw-wg tw-wf"})},s)))})]})]})},T5=({videos:e})=>m.jsx(m.Fragment,{children:m.jsx("div",{className:"tw-on tw-zm tw-ri",children:null==e?void 0:e.map(((t,n)=>m.jsx("div",{className:"tw-yi tw-ok",children:m.jsx("video",{controls:!0,src:t,className:"tw-tm tw-gm tw-wf tw-wg"})},n)))})}),D5=({file:e})=>m.jsx("div",{className:"tw-on tw-zm tw-ri",children:null==e?void 0:e.map(((t,n)=>{const u=t.split("/").pop(),r=null==u?void 0:u.split("_")[1].split(".");return m.jsx("a",{className:"tw-vf",href:t,target:"_blank",children:m.jsxs("div",{className:"tw-ud tw-lf tw-on tw-qf tw-if tw-dm tw-zm tw-ae tw-ld tw-wo tw-ap tw-wj tw-fk",children:[m.jsx("div",{className:"tw-on tw-qf tw-jd tw-uf tw-tf tw-zk tw-re",children:m.jsx(_5,{className:"tw-gi"})}),m.jsxs("div",{children:[m.jsx("span",{className:"tw-wl tw-rf tw-tc tw-fi",children:r[0]}),m.jsx("span",{className:"tw-dh tw-hh",children:r[1]})]})]})},n)}))});function U2(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function N5(){var r,o;const{width:e}=function(){const[e,t]=E.useState(U2());return E.useEffect((()=>{function n(){t(U2())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=E.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(Y1)||null!=(o=null==window?void 0:window.localStorage)&&o.getItem(J0)));return{isGreetingsShow:t,toggleGreetingsShow:function(l){!0===l&&e>=768&&window.sessionStorage.setItem(Y1,"1"),n(l)}}}function V2(e){return e&&e.greetings?JSON.parse(e.greetings).map((t=>({role:"assistant",content:t}))):[]}function M5({sessionId:e,isChatOpen:t,settings:n={},history:u=[],showSuggestions:r,setShowSuggesstion:o,setSuggestList:l}){const[i,a]=E.useState(!0),s=E.useRef(null),c=E.useMemo((()=>V2(n)),[n]),f=E.useMemo((()=>[...c,...u]),[c,u]);E.useEffect((()=>{t&&v()}),[u,t]);const v=()=>{var d;null==(d=s.current)||d.scrollIntoView({behavior:"auto"})};return 0===f.length?m.jsx("div",{className:"tw-ok tw-on tw-ek tw-em tw-jh tw-lg",children:m.jsx("div",{className:"tw-on tw-ek tw-yh tw-mk tw-bi tw-vo tw-gm tw-eo tw-cl tw-de",children:m.jsx("div",{className:"tw-on tw-gm tw-ek tw-qf tw-jd",children:m.jsx("p",{className:"tw-sd tw-wl tw-ui tw-cp tw-gh",children:(null==n?void 0:n.greeting)??"Send a chat to get started."})})})}):m.jsxs("div",{style:{"--bg-color":n.bgColorChat??"#f3f4f6"},className:"anm-wrapper-container tw-ok tw-on tw-ek tw-em tw-jh tw-tc tw-ta",children:[m.jsx("div",{className:"anm-scroll-container tw-ra tw-nb tw-mb tw-te tw-gm tw-oo",onScroll:d=>{const S=d.target.scrollHeight-d.target.scrollTop-d.target.clientHeight<=40;a(S)},children:m.jsxs("div",{className:"tw-on tw-ek tw-em tw-to tw-lj tw-y tw-xo tw-hl tw-sc",children:[f.map(((d,_)=>{var w;const S=_===f.length-1&&_>c.length-1,p=null==(w=f[_-1])?void 0:w.content;return m.jsx(S5,{settings:n,messageIndex:_,sessionId:e,type:d.type,message:d.content,sentAt:d.sentAt||d.timestamp,role:d.role,isRAG:d.isRAG,query:d.query,question:p,sources:d.sources,chatId:d.chatId,feedbackScore:d.feedbackScore,error:d.error,sending:d.sending,read:d.read,pending:d.pending,isDateChanged:d.isDateChanged,currDate:d.currDate,isLastMessage:S,onSuggestion:()=>{o(_===r?null:_)},isShowSuggestion:r===_,history:u,setSuggestList:l,messageID:d.msgID,images:null==d?void 0:d.images,fileUrls:null==d?void 0:d.fileUrls,videoUrls:null==d?void 0:d.videoUrls},_)})),m.jsx("div",{className:"tw-vm",ref:s})]})}),m.jsx(L5,{scrollToBottom:v,isAtBottom:i,isShowSuggestion:null===r})]})}const L5=({scrollToBottom:e,isAtBottom:t,isShowSuggestion:n})=>m.jsxs("button",{className:`tw-yj tw-ol tw-sp tw-bm tw-hd tw-on tw-qf tw-jd tw-zf tw-om tw-oc tw-ig tw-rb tw-gi tw-hb tw-jf ${t?"tw-ij tw-db":"tw-ug"} ${n?"tw-ni":"tw-oi"}`,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[m.jsx(of,{weight:"bold"}),m.jsx("span",{className:"tw-ul",children:"Scroll to bottom"})]});function O5(){return m.jsx("div",{className:"tw-gm tw-lg anm-no-scroll tw-on tw-ek tw-qf tw-jd",children:m.jsx(zi,{size:28,className:"tw-sd tw-gf"})})}function j5({settings:e}){return"true"===e.noSponsor?null:m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"tw-dl tw-mg tw-ho"}),m.jsxs("span",{className:"tw-hl tw-yl tw-ui tw-io tw-we",children:["Powered by"," ",m.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-yl anm-font-inherit tw-cc tw-vf tw-ue tw-ad",children:"rudi.animuz.ai"})]})]})}function P5({suggestionList:e,onSendMessages:t,settings:n}){const u=null==n?void 0:n.headerBgColor,r=null==n?void 0:n.headerTextColor;return m.jsx("div",{style:{scrollbarWidth:"thin"},className:"tw-on tw-pg tw-uc tw-km tw-jp",children:null==e?void 0:e.map(((o,l)=>m.jsx("div",{style:{"--bg-color":u??"#FFFFFF","--bg-color-saturated":R5(u,70)??"#FFFFFF","--text-color":r??"#000000"},onClick:i=>{console.log("Suggestion clicked:",o),t(i,o)},className:"tw-ga tw-wl tw-if tw-dm tw-ea tw-ap tw-wo tw-ei tw-hd tw-s tw-ca tw-pb tw-ih tw-zn tw-sf tw-on tw-qf",children:m.jsx("span",{className:"tw-tc tw-ve",children:o})},l)))})}const R5=(e,t=85)=>{let i,a,n=parseInt(e.slice(1,3),16)/255,u=parseInt(e.slice(3,5),16)/255,r=parseInt(e.slice(5,7),16)/255,o=Math.max(n,u,r),l=Math.min(n,u,r);if(o===l)i=a=0;else{let c=o-l;a=(o+l)/2>.5?c/(2-o-l):c/(o+l),o===n?i=(u-r)/c+(u<r?6:0):o===u?i=(r-n)/c+2:o===r&&(i=(n-u)/c+4),i*=60}return`hsl(${Math.round(i)}, ${Math.round(100*a)}%, ${t}%)`};function I5({settings:e,message:t,submit:n,onChange:u,inputDisabled:r,buttonDisabled:o,callPing:l,suggestList:i=[],isShowSuggestion:a}){const s=E.useRef(null),c=E.useRef(null),[f,g]=E.useState(!1);E.useEffect((()=>{!r&&c.current&&c.current.focus(),S()}),[r]);const S=()=>{if(!c.current)return;c.current.style.height="auto";const h=c.current.scrollHeight-24+"px";c.current.style.height=h};return E.useLayoutEffect((()=>{S()}),[c,t]),m.jsxs("div",{className:"tw-sm tw-dk tw-on tw-ek tw-po tw-ro tw-lo tw-tg",children:[m.jsx("div",{className:"tw-ud tw-tc tw-tm tw-hl tw-sc "+(a?"tw-fe tw-ug":"tw-fl tw-ij"),children:m.jsx(P5,{settings:e,suggestionList:i,onSendMessages:n})}),m.jsxs("form",{onSubmit:h=>{g(!1),n(h)},className:"tw-zj tw-wg tw-on tw-ek tw-if tw-dm tw-mc tw-tm tw-hl tw-sc",children:[m.jsxs("div",{className:"tw-on tw-zi tw-lk",children:[m.jsx("textarea",{ref:c,className:"tw-on tw-em tw-tm tw-ui tw-da tw-ed tw-wl tw-ak tw-cb tw-ee tw-cj tw-il tw-up tw-vc tw-w tw-vg tw-xa tw-lb tw-df",onKeyDown:h=>{!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=768||"ontouchstart"in window)&&13==h.keyCode&&!h.shiftKey&&(h.preventDefault(),n(h))},onChange:u,required:!0,disabled:r,onFocus:()=>{g(!0),l()},onBlur:h=>{g(!1)},rows:1,tabIndex:0,enterKeyHint:"enter",value:t,placeholder:e.placeholder,id:"message-input"}),m.jsxs("button",{ref:s,type:"submit",disabled:o,className:"tw-ff tw-ic tw-mn tw-xd tw-hc tw-ng tw-ci tw-hd tw-fi tw-wm tw-um anm-group/button tw-x",id:"send-message-button","aria-label":"Send message",children:[r?m.jsx(zi,{className:"tw-xp tw-lp tw-gf"}):m.jsx(Sf,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-ka tw-wh tw-v tw-i",weight:"fill"}),m.jsx("span",{className:"tw-ul",children:"Send message"})]})]}),m.jsx(j5,{settings:e})]})]})}const pa={message:"ping",timeout:6e4,interval:25e3};const B5=(e,t,n,u,r)=>{e.onmessage=o=>{var l;t.current.onMessage&&t.current.onMessage(o),"number"==typeof(null==u?void 0:u.current)&&(u.current=Date.now()),("function"!=typeof t.current.filter||!0===t.current.filter(o))&&(t.current.heartbeat&&"boolean"!=typeof t.current.heartbeat&&(null==(l=t.current.heartbeat)?void 0:l.returnMessage)===o.data||("number"==typeof(null==r?void 0:r.current)&&(r.current=Date.now()),n(o)))}},$5=(e,t,n,u,r,o)=>{e.onopen=l=>{if(t.current.onOpen&&t.current.onOpen(l),u.current=0,n(Zt.OPEN),t.current.heartbeat&&e instanceof WebSocket){const i="boolean"==typeof t.current.heartbeat?void 0:t.current.heartbeat;r.current=Date.now(),o.current=Date.now(),function(e,t,n){const{interval:u=pa.interval,timeout:r=pa.timeout,message:o=pa.message}=n||{},l=Math.max(100,u/10);let i=Date.now();const a=setInterval((()=>{const s=Date.now(),c=t.current;if(c+r<=s)console.warn(`Heartbeat timed out, closing connection, last message received ${s-c}ms ago, last ping sent ${s-i}ms ago`),e.close();else if(c+u<=s&&i+u<=s)try{"function"==typeof o?e.send(o()):e.send(o),i=s}catch(f){console.error("Heartbeat failed, closing connection",f instanceof Error?f.message:f),e.close()}}),l);e.addEventListener("close",(()=>{clearInterval(a)}))}(e,r,i)}}},U5=(e,t,n,u,r)=>{let o;return e.onclose=l=>{if(t.current.onClose&&t.current.onClose(l),n(Zt.CLOSED),t.current.shouldReconnect&&t.current.shouldReconnect(l)){const i=t.current.reconnectAttempts??20;if(r.current<i){const a="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(r.current):t.current.reconnectInterval;o=window.setTimeout((()=>{r.current++,u()}),a??5e3)}else t.current.onReconnectStop&&t.current.onReconnectStop(i),console.warn(`Max reconnect attempts of ${i} exceeded`)}},()=>o&&window.clearTimeout(o)},V5=(e,t,n,u,r)=>{let o;return e.onerror=l=>{if(t.current.onError&&t.current.onError(l),t.current.retryOnError)if(r.current<(t.current.reconnectAttempts??20)){const i="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(r.current):t.current.reconnectInterval;o=window.setTimeout((()=>{r.current++,u()}),i??5e3)}else t.current.onReconnectStop&&t.current.onReconnectStop(t.current.reconnectAttempts),console.warn(`Max reconnect attempts of ${t.current.reconnectAttempts} exceeded`)},()=>o&&window.clearTimeout(o)},W2=E.createContext({}),q5=(e,t,n,u,r,o,l,i,a,s)=>{const c=[...r.current.protocols,n];if(console.log("createOrJoinSocket",t,c),!c[1])throw new Error("WebSocket failed: Missing required ClientID");if(e.current=new WebSocket(t,c),u(Zt.CONNECTING),!e.current)throw new Error("WebSocket failed to be created");return((e,t,n,u,r,o,l)=>{const{setLastMessage:i,setReadyState:a}=t;let s,c;return B5(e,n,i,o,l),$5(e,n,a,r,o,l),s=U5(e,n,a,u,r),c=V5(e,n,a,u,r),()=>{a(Zt.CLOSING),s(),c(),e.close()}})(e.current,{setLastMessage:o,setReadyState:u},r,l.current,i,a,s)},Zt={UNINSTANTIATED:-1,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Q2=()=>E.useContext(W2),W5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"currentColor",...e},E.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m13.01 2.92 5.9 2.62c1.7.75 1.7 1.99 0 2.74l-5.9 2.62c-.67.3-1.77.3-2.44 0l-5.9-2.62c-1.7-.75-1.7-1.99 0-2.74l5.9-2.62c.67-.3 1.77-.3 2.44 0"}),E.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 11c0 .84.63 1.81 1.4 2.15l6.79 3.02c.52.23 1.11.23 1.62 0l6.79-3.02c.77-.34 1.4-1.31 1.4-2.15"}),E.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 16c0 .93.55 1.77 1.4 2.15l6.79 3.02c.52.23 1.11.23 1.62 0l6.79-3.02c.85-.38 1.4-1.22 1.4-2.15"})),G5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{stroke:"#C3C3C3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 12h12"})),Q5=({data:e,settings:t,className:n,isFullScreen:u})=>{const[r,o]=E.useState(!0),l=t.language,i=At[l]||At.en,a=[{title:"กิจกรรม",value:e.msgID},{title:"เวลาประทับ",value:e.timestamp},{title:"โมเดล",value:e.model},{title:"การใช้เครื่องมือ",value:e.tool},{title:"คำสั่งเครื่องมือ",value:e.query},{title:"เอกสาร",value:e.documents},{title:"ระดับความมั่นใจ",value:e.scores}];return m.jsxs("div",{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:`tw-je tw-tm tw-wg tw-bk tw-ea tw-if tw-tc tw-zj tw-yj tw-jn tw-pl ${n} ${u?"tw-ug tw-na tw-p":"tw-ij tw-db tw-hm"}`,children:[m.jsxs("div",{className:"tw-vp tw-on tw-qf tw-rc tw-ck tw-qh tw-ph tw-if tw-xb tw-hd tw-yg",onClick:()=>{o((c=>!c))},children:[m.jsxs("div",{className:"tw-on tw-qf tw-rj",children:[m.jsx(W5,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-om tw-fa"}),m.jsx("span",{className:"tw-vl tw-ce",children:i.statistic})]}),m.jsx(G5,{className:"tw-om tw-ua tw-mf "+(r?"tw-ai":"")})]}),m.jsx("div",{className:"tw-pn tw-ud tw-mf tw-xo "+(r?"tw-qc tw-cp ":"tw-pc tw-yo"),children:m.jsx("div",{className:"tw-on tw-ek tw-sj tw-tc",children:a.map(((c,f)=>m.jsxs("div",{className:"tw-on tw-rj",children:[m.jsx("span",{className:"tw-qd tw-pe tw-ie",children:c.title}),m.jsx("span",{children:c.value})]},f)))})})]})};const X5={_Rixits:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_",fromNumber:function(e){if(isNaN(Number(e))||null===e||e===Number.POSITIVE_INFINITY)throw new Error("The input is not valid");if(e<0)throw new Error("Can't represent negative numbers now");let t,n=Math.floor(e),u="";for(;t=n%64,u=this._Rixits.charAt(t)+u,n=Math.floor(n/64),0!==n;);return u},toNumber:function(e){let t=0;e=e.split("");for(let n=0;n<e.length;n++)t=64*t+this._Rixits.indexOf(e[n]);return t}};function J5(e,t=5){return e||(e=new Date),`${e.valueOf().toString(36)}${function(e){e="number"==typeof e?e<4?4:e>2048?2048:e:16;let t="";for(;t.length<e;)t+=X5.fromNumber(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER));return t.substr(Math.floor(t.length/2-e/2),e)}(t)}`}const Y2=E.createContext();const X2=()=>E.useContext(Y2);const rg=e=>{const t=e.filter((u=>u.pending));return[...e.filter((u=>!u.pending)),...t]};class og{constructor(t,n,u,r,o=!0){zd(this,"type","text"),this.msgID=t,this.content=n,this.role=u,this.timestamp=function(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}(t).toISOString(),this.greetings=r,this.sending=o}toJson(){return{msgID:this.msgID,type:this.type,content:this.content,role:this.role,timestamp:this.timestamp,sending:this.sending}}toWSJson(){const t={msgID:this.msgID,type:this.type,message:this.content};return this.greetings&&this.greetings.length>0&&(t.greetings=this.greetings),t}}function lg({isFullScreen:e,isChatOpen:t,sessionId:n,settings:u,chatHistory:r=[],setChatHistory:o,callPing:l}){const{showSuggest:i,setShowSugguest:a,suggestList:s,setSuggestList:c}=function(e,t){const n=E.useMemo((()=>e.defaultSuggestions?JSON.parse(e.defaultSuggestions):[]),[e.defaultSuggestions]),[u,r]=E.useState(0===t.length&&n.length>0),[o,l]=E.useState(n);return E.useEffect((()=>{0===t.length&&n.length>0&&(r(!0),l(n))}),[t.length,n]),E.useEffect((()=>{const i=t.length>0&&"assistant"===t[t.length-1].role&&!t[t.length-1].pending;"on"===e.autoSuggestions&&i&&("on"===e.fetchSuggestions?console.warn("Fetching new suggestions from server is not implemented yet."):l(n),r(!0))}),[t,e.autoSuggestions,n,e.fetchSuggestions]),E.useEffect((()=>{console.log("suggestList> ",o)}),[o]),E.useEffect((()=>{console.log("showSuggest> ",u)}),[u]),{showSuggest:u,setShowSugguest:r,suggestList:o,setSuggestList:l}}(u,r),{connect:f,disconnect:g}=Q2();E.useEffect((()=>(r.length>0&&f(n),()=>g())),[]);const{handleSubmit:v,message:d,setMessage:_}=function({chatHistory:e,setChatHistory:t,settings:n,sessionId:u,setShowSugguest:r}){const[o,l]=E.useState(""),i=E.useRef({}),{connect:a,sendJsonMessage:s,lastJsonMessage:c}=Q2(),{intentResponse:f}=X2(),g=E.useCallback((async(v,d=null)=>{v.preventDefault();const _=d??o;if(!_||""===_.trim())return!1;r(!1);const S=0===e.length,h=S?V2(n):[];S&&a(u);const w=J5(new Date,3),b=new og(w,_,"user",h),C=rg([...e,b.toJson()]);if(t(C),l(""),console.debug("This is prevChat",C),console.debug("intentResponse",f),console.debug("intentResponse[messageToSend]",f[_]),f[_]){const F=f[_];return void t((z=>[...z.map((j=>j.msgID===w?{...j,sending:!1}:j)),...F]))}const k=n.chatFnVersion||"v2",T=JSON.stringify({...b.toWSJson(),version:k});s({action:"sendMessage",body:T}),i.current[w]=setTimeout((()=>{t((F=>{const z=F.findIndex((j=>j.msgID===w));return!0===F[z].sending&&(F[z].sending=!1,F[z].error="Couldn't send"),[...F.splice(0)]}))}),2e4)}),[e,t,n,u,a,s,o,f,r]);return E.useEffect((()=>{if(c){if("ack"===c.event)return console.log("ACK message received",c),clearTimeout(i.current[c.msgID]),void t((v=>v.map((_=>{if(_.msgID===c.msgID){const S={..._,sending:!1};return"error"===c.status&&(S.error=c.error),S}return _}))));if("action"===c.event&&c.action){if(console.log("action message received",c),"MARK_READ"===c.action){const v=c.timestamp;t((d=>d.map((_=>new Date(_.timestamp).getTime()<=v?{..._,read:!0}:_))))}else"TYPING_ON"===c.action?t((v=>[...v,{content:"",role:"assistant",pending:!0}])):"TYPING_OFF"===c.action&&t((v=>{const d=v[v.length-1];return d&&"assistant"===d.role&&d.pending?v.slice(0,v.length-1):v}));return}("message"===c.event||"event"===c.event)&&t((v=>{const d=v[v.length-1];let _=v;if(d){"assistant"===d.role&&d.pending&&(_=v.slice(0,v.length-1));const S=new Date(d.timestamp).toLocaleDateString(),h=zf([c],S);return[..._,h[0]]}return v}))}}),[c,u,t]),{handleSubmit:g,message:o,setMessage:l}}({chatHistory:r,setChatHistory:o,settings:u,sessionId:n,setShowSugguest:a}),h=r[r.length-1],p={msgID:null==h?void 0:h.msgID,timestamp:null==h?void 0:h.timestamp,model:"gpt-4o",tool:null!=h&&h.isRAG?"RAG":"",query:null==h?void 0:h.query,documents:null!=h&&h.sources?`[${null==h?void 0:h.sources.map((w=>w.key)).join(", ")}]`:"[]",scores:null!=h&&h.sources?`[${null==h?void 0:h.sources.map((w=>w.score)).join(", ")}]`:"[]"};return m.jsxs("div",{className:"tw-gm tw-ok tw-on tw-ek tw-tc",children:[m.jsx(M5,{sessionId:n,settings:u,history:r,isChatOpen:t,showSuggestions:i,setShowSuggesstion:a,setSuggestList:c}),m.jsx("div",{className:"tw-yj tw-dk tw-im tw-tm tw-jp",children:m.jsx(I5,{settings:u,message:d,submit:v,onChange:w=>_(w.target.value),inputDisabled:!1,buttonDisabled:!d||""===d,callPing:l,suggestList:s,isShowSuggestion:!1!==i})}),p.tool&&m.jsx(Q5,{data:p,isFullScreen:e,settings:u,className:""})]})}function ig({isChatOpen:e,closeChat:t,settings:n,sessionId:u,callPing:r,isFullScreen:o,isIframe:l,toggleFullScreen:i}){const{chatHistory:a,setChatHistory:s,resetChat:c,loading:f}=function(e=null,t=null){const[n,u]=E.useState(!0),[r,o]=E.useState([]),l=E.useCallback((async()=>{if(console.log("Fetching chat history for session:",t,"settings:",e),t&&e){console.log("Fetching chat history..."),u(!0);try{const a=await yr.getMessages({"client-id":e.embedId,"session-id":t}),s=zf(a);o(s),console.log("setChatHistory!",s)}catch(a){console.error("Error fetching historical chats:",a)}finally{u(!1)}}}),[t,e]);return E.useEffect((()=>{l()}),[l]),{chatHistory:r,setChatHistory:o,resetChat:async()=>{await yr.resetMessages({"client-id":e.embedId,"session-id":t}),o([])},loading:n,refetch:l}}(n,u),g=0===a.length;return f?m.jsxs("main",{className:"tw-on tw-ek tw-gm",children:[m.jsx(Rf,{resetChat:c,closeChat:t,settings:n}),m.jsx(O5,{})]}):m.jsxs("main",{className:"anm-group tw-on tw-ek tw-gm tw-ui",children:[m.jsx(Rf,{resetChat:c,closeChat:t,settings:n,sessionId:u,isNoMessage:g,isFullScreen:o,isIframe:l,toggleFullScreen:i}),m.jsx(lg,{isFullScreen:o,isChatOpen:e,sessionId:u,settings:n,chatHistory:a,setChatHistory:s,callPing:r})]})}var K2={exports:{}};function J2(){}function ed(){}ed.resetWarningCache=J2;K2.exports=function(){function e(u,r,o,l,i,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ed,resetWarningCache:J2};return n.PropTypes=n,n}();const ee=ge(K2.exports);var td=E,hg=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(td);function nd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gg=!!(typeof window<"u"&&window.document&&window.document.createElement);var vg=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(o){if("function"!=typeof o)throw new Error("Expected WrappedComponent to be a React component.");var i,l=[];function a(){i=e(l.map((function(c){return c.props}))),s.canUseDOM?t(i):n&&(i=n(i))}var r,s=function(c){function f(){return c.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(f,c),f.peek=function(){return i},f.rewind=function(){if(f.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var d=i;return i=void 0,l=[],d};var g=f.prototype;return g.UNSAFE_componentWillMount=function(){l.push(this),a()},g.componentDidUpdate=function(){a()},g.componentWillUnmount=function(){var d=l.indexOf(this);l.splice(d,1),a()},g.render=function(){return hg.createElement(o,this.props)},f}(td.PureComponent);return nd(s,"displayName","SideEffect("+(((r=o).displayName||r.name||"Component")+")")),nd(s,"canUseDOM",gg),s}};const yg=ge(vg);var xg=typeof Element<"u",bg="function"==typeof Map,_g="function"==typeof Set,Eg="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function mo(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,u,r,o;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(u=n;0!=u--;)if(!mo(e[u],t[u]))return!1;return!0}if(bg&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(u=o.next()).done;)if(!t.has(u.value[0]))return!1;for(o=e.entries();!(u=o.next()).done;)if(!mo(u.value[1],t.get(u.value[0])))return!1;return!0}if(_g&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(u=o.next()).done;)if(!t.has(u.value[0]))return!1;return!0}if(Eg&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(u=n;0!=u--;)if(e[u]!==t[u])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(u=n;0!=u--;)if(!Object.prototype.hasOwnProperty.call(t,r[u]))return!1;if(xg&&e instanceof Element)return!1;for(u=n;0!=u--;)if(("_owner"!==r[u]&&"__v"!==r[u]&&"__o"!==r[u]||!e.$$typeof)&&!mo(e[r[u]],t[r[u]]))return!1;return!0}return e!=e&&t!=t}const Cg=ge((function(t,n){try{return mo(t,n)}catch(u){if((u.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw u}}));
|
|
37
|
+
*/function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Za=new Set,Nu={};function Cn(e,t){Un(e,t),Un(e+"Capture",t)}function Un(e,t){for(Nu[e]=t,e=0;e<t.length;e++)Za.add(t[e])}var Pt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fo=Object.prototype.hasOwnProperty,dp=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,qa={},Wa={};function Fe(e,t,n,u,r,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=u,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ye[e]=new Fe(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ye[t]=new Fe(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ye[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ye[e]=new Fe(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){ye[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ye[e]=new Fe(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ye[e]=new Fe(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ye[e]=new Fe(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ye[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)}));var No=/[\-:]([a-z])/g;function Mo(e){return e[1].toUpperCase()}function Lo(e,t,n,u){var r=ye.hasOwnProperty(t)?ye[t]:null;(null!==r?0!==r.type:u||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,u){if(null===t||typeof t>"u"||function(e,t,n,u){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!u&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,u))return!0;if(u)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,u)&&(n=null),u||null===r?function(e){return!!Fo.call(Wa,e)||!Fo.call(qa,e)&&(dp.test(e)?Wa[e]=!0:(qa[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,u=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,u?e.setAttributeNS(u,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(No,Mo);ye[t]=new Fe(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(No,Mo);ye[t]=new Fe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(No,Mo);ye[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ye[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)})),ye.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ye[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Rt=fp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Br=Symbol.for("react.element"),Vn=Symbol.for("react.portal"),Zn=Symbol.for("react.fragment"),jo=Symbol.for("react.strict_mode"),Oo=Symbol.for("react.profiler"),Ga=Symbol.for("react.provider"),Qa=Symbol.for("react.context"),Po=Symbol.for("react.forward_ref"),Ro=Symbol.for("react.suspense"),Io=Symbol.for("react.suspense_list"),zo=Symbol.for("react.memo"),Xt=Symbol.for("react.lazy"),Ya=Symbol.for("react.offscreen"),Xa=Symbol.iterator;function Mu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Xa&&e[Xa]||e["@@iterator"])?e:null}var Ho,re=Object.assign;function Lu(e){if(void 0===Ho)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ho=t&&t[1]||""}return"\n"+Ho+e}var $o=!1;function Bo(e,t){if(!e||$o)return"";$o=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var u=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){u=s}e.call(t.prototype)}else{try{throw Error()}catch(s){u=s}e()}}catch(s){if(s&&u&&"string"==typeof s.stack){for(var r=s.stack.split("\n"),o=u.stack.split("\n"),l=r.length-1,i=o.length-1;1<=l&&0<=i&&r[l]!==o[i];)i--;for(;1<=l&&0<=i;l--,i--)if(r[l]!==o[i]){if(1!==l||1!==i)do{if(l--,0>--i||r[l]!==o[i]){var a="\n"+r[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}}while(1<=l&&0<=i);break}}}finally{$o=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lu(e):""}function gp(e){switch(e.tag){case 5:return Lu(e.type);case 16:return Lu("Lazy");case 13:return Lu("Suspense");case 19:return Lu("SuspenseList");case 0:case 2:case 15:return e=Bo(e.type,!1);case 11:return e=Bo(e.type.render,!1);case 1:return e=Bo(e.type,!0);default:return""}}function Uo(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Zn:return"Fragment";case Vn:return"Portal";case Oo:return"Profiler";case jo:return"StrictMode";case Ro:return"Suspense";case Io:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Qa:return(e.displayName||"Context")+".Consumer";case Ga:return(e._context.displayName||"Context")+".Provider";case Po:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case zo:return null!==(t=e.displayName||null)?t:Uo(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Uo(e(t))}catch{}}return null}function wp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Uo(t);case 8:return t===jo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ka(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ur(e){e._valueTracker||(e._valueTracker=function(e){var t=Ka(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),u=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){u=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(l){u=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ja(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=Ka(e)?e.checked?"true":"false":e.value),(e=u)!==n&&(t.setValue(e),!0)}function Vr(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vo(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function es(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=Kt(null!=t.value?t.value:n),e._wrapperState={initialChecked:u,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ts(e,t){null!=(t=t.checked)&&Lo(e,"checked",t,!1)}function Zo(e,t){ts(e,t);var n=Kt(t.value),u=t.type;if(null!=n)"number"===u?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===u||"reset"===u)return void e.removeAttribute("value");t.hasOwnProperty("value")?qo(e,t.type,n):t.hasOwnProperty("defaultValue")&&qo(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ns(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!("submit"!==u&&"reset"!==u||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function qo(e,t,n){("number"!==t||Vr(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ju=Array.isArray;function qn(e,t,n,u){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&u&&(e[n].defaultSelected=!0)}else{for(n=""+Kt(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(u&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Wo(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(T(91));return re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function us(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(T(92));if(ju(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Kt(n)}}function rs(e,t){var n=Kt(t.value),u=Kt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=u&&(e.defaultValue=""+u)}function os(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ls(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Go(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ls(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Zr,e,is=(e=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Zr=Zr||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Zr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,u,r){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e);function Ou(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Pu={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},yp=["Webkit","ms","Moz","O"];function as(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Pu.hasOwnProperty(e)&&Pu[e]?(""+t).trim():t+"px"}function ss(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=as(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(Pu).forEach((function(e){yp.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pu[t]=Pu[e]}))}));var xp=re({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Qo(e,t){if(t){if(xp[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(T(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(T(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(T(62))}}function Yo(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 Xo=null;function Ko(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Jo=null,Wn=null,Gn=null;function cs(e){if(e=rr(e)){if("function"!=typeof Jo)throw Error(T(280));var t=e.stateNode;t&&(t=h0(t),Jo(e.stateNode,e.type,t))}}function fs(e){Wn?Gn?Gn.push(e):Gn=[e]:Wn=e}function ds(){if(Wn){var e=Wn,t=Gn;if(Gn=Wn=null,cs(e),t)for(e=0;e<t.length;e++)cs(t[e])}}function ps(e,t){return e(t)}function hs(){}var el=!1;function ms(e,t,n){if(el)return e(t,n);el=!0;try{return ps(e,t,n)}finally{el=!1,(null!==Wn||null!==Gn)&&(hs(),ds())}}function Ru(e,t){var n=e.stateNode;if(null===n)return null;var u=h0(n);if(null===u)return null;n=u[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(u=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!u;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(T(231,t,typeof n));return n}var tl=!1;if(Pt)try{var Iu={};Object.defineProperty(Iu,"passive",{get:function(){tl=!0}}),window.addEventListener("test",Iu,Iu),window.removeEventListener("test",Iu,Iu)}catch{tl=!1}function bp(e,t,n,u,r,o,l,i,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var zu=!1,qr=null,Wr=!1,nl=null,_p={onError:function(e){zu=!0,qr=e}};function Ep(e,t,n,u,r,o,l,i,a){zu=!1,qr=null,bp.apply(_p,arguments)}function Sn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{4098&(t=e).flags&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function gs(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function ws(e){if(Sn(e)!==e)throw Error(T(188))}function vs(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Sn(e)))throw Error(T(188));return t!==e?null:e}for(var n=e,u=t;;){var r=n.return;if(null===r)break;var o=r.alternate;if(null===o){if(null!==(u=r.return)){n=u;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return ws(r),e;if(o===u)return ws(r),t;o=o.sibling}throw Error(T(188))}if(n.return!==u.return)n=r,u=o;else{for(var l=!1,i=r.child;i;){if(i===n){l=!0,n=r,u=o;break}if(i===u){l=!0,u=r,n=o;break}i=i.sibling}if(!l){for(i=o.child;i;){if(i===n){l=!0,n=o,u=r;break}if(i===u){l=!0,u=o,n=r;break}i=i.sibling}if(!l)throw Error(T(189))}}if(n.alternate!==u)throw Error(T(190))}if(3!==n.tag)throw Error(T(188));return n.stateNode.current===n?e:t}(e))?ys(e):null}function ys(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=ys(e);if(null!==t)return t;e=e.sibling}return null}var xs=qe.unstable_scheduleCallback,bs=qe.unstable_cancelCallback,Sp=qe.unstable_shouldYield,Ap=qe.unstable_requestPaint,ae=qe.unstable_now,Tp=qe.unstable_getCurrentPriorityLevel,ul=qe.unstable_ImmediatePriority,_s=qe.unstable_UserBlockingPriority,Gr=qe.unstable_NormalPriority,Dp=qe.unstable_LowPriority,Es=qe.unstable_IdlePriority,Qr=null,kt=null;var pt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Np(e)/Mp|0)|0},Np=Math.log,Mp=Math.LN2;var Yr=64,Xr=4194304;function Hu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Kr(e,t){var n=e.pendingLanes;if(0===n)return 0;var u=0,r=e.suspendedLanes,o=e.pingedLanes,l=268435455&n;if(0!==l){var i=l&~r;0!==i?u=Hu(i):0!==(o&=l)&&(u=Hu(o))}else 0!==(l=n&~r)?u=Hu(l):0!==o&&(u=Hu(o));if(0===u)return 0;if(0!==t&&t!==u&&!(t&r)&&((r=u&-u)>=(o=t&-t)||16===r&&4194240&o))return t;if(4&u&&(u|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=u;0<t;)r=1<<(n=31-pt(t)),u|=e[n],t&=~r;return u}function jp(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function rl(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ks(){var e=Yr;return!(4194240&(Yr<<=1))&&(Yr=64),e}function ol(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $u(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-pt(t)]=n}function ll(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-pt(n),r=1<<u;r&t|e[u]&t&&(e[u]|=t),n&=~r}}var q=0;function Cs(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Ss,il,As,Ts,Ds,al=!1,Jr=[],Jt=null,en=null,tn=null,Bu=new Map,Uu=new Map,nn=[],Rp="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".split(" ");function Fs(e,t){switch(e){case"focusin":case"focusout":Jt=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":tn=null;break;case"pointerover":case"pointerout":Bu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Uu.delete(t.pointerId)}}function Vu(e,t,n,u,r,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:o,targetContainers:[r]},null!==t&&(null!==(t=rr(t))&&il(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function Ns(e){var t=An(e.target);if(null!==t){var n=Sn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=gs(n)))return e.blockedOn=t,void Ds(e.priority,(function(){As(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function e0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rr(n))&&il(t),e.blockedOn=n,!1;var u=new(n=e.nativeEvent).constructor(n.type,n);Xo=u,n.target.dispatchEvent(u),Xo=null,t.shift()}return!0}function Ms(e,t,n){e0(e)&&n.delete(t)}function zp(){al=!1,null!==Jt&&e0(Jt)&&(Jt=null),null!==en&&e0(en)&&(en=null),null!==tn&&e0(tn)&&(tn=null),Bu.forEach(Ms),Uu.forEach(Ms)}function Zu(e,t){e.blockedOn===t&&(e.blockedOn=null,al||(al=!0,qe.unstable_scheduleCallback(qe.unstable_NormalPriority,zp)))}function qu(e){function t(r){return Zu(r,e)}if(0<Jr.length){Zu(Jr[0],e);for(var n=1;n<Jr.length;n++){var u=Jr[n];u.blockedOn===e&&(u.blockedOn=null)}}for(null!==Jt&&Zu(Jt,e),null!==en&&Zu(en,e),null!==tn&&Zu(tn,e),Bu.forEach(t),Uu.forEach(t),n=0;n<nn.length;n++)(u=nn[n]).blockedOn===e&&(u.blockedOn=null);for(;0<nn.length&&null===(n=nn[0]).blockedOn;)Ns(n),null===n.blockedOn&&nn.shift()}var Qn=Rt.ReactCurrentBatchConfig,t0=!0;function Hp(e,t,n,u){var r=q,o=Qn.transition;Qn.transition=null;try{q=1,sl(e,t,n,u)}finally{q=r,Qn.transition=o}}function $p(e,t,n,u){var r=q,o=Qn.transition;Qn.transition=null;try{q=4,sl(e,t,n,u)}finally{q=r,Qn.transition=o}}function sl(e,t,n,u){if(t0){var r=cl(e,t,n,u);if(null===r)Al(e,t,u,n0,n),Fs(e,u);else if(function(e,t,n,u,r){switch(t){case"focusin":return Jt=Vu(Jt,e,t,n,u,r),!0;case"dragenter":return en=Vu(en,e,t,n,u,r),!0;case"mouseover":return tn=Vu(tn,e,t,n,u,r),!0;case"pointerover":var o=r.pointerId;return Bu.set(o,Vu(Bu.get(o)||null,e,t,n,u,r)),!0;case"gotpointercapture":return o=r.pointerId,Uu.set(o,Vu(Uu.get(o)||null,e,t,n,u,r)),!0}return!1}(r,e,t,n,u))u.stopPropagation();else if(Fs(e,u),4&t&&-1<Rp.indexOf(e)){for(;null!==r;){var o=rr(r);if(null!==o&&Ss(o),null===(o=cl(e,t,n,u))&&Al(e,t,u,n0,n),o===r)break;r=o}null!==r&&u.stopPropagation()}else Al(e,t,u,null,n)}}var n0=null;function cl(e,t,n,u){if(n0=null,null!==(e=An(e=Ko(u))))if(null===(t=Sn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=gs(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return n0=e,null}function Ls(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 1;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 4;case"message":switch(Tp()){case ul:return 1;case _s:return 4;case Gr:case Dp:return 16;case Es:return 536870912;default:return 16}default:return 16}}var un=null,fl=null,u0=null;function js(){if(u0)return u0;var e,u,t=fl,n=t.length,r="value"in un?un.value:un.textContent,o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var l=n-e;for(u=1;u<=l&&t[n-u]===r[o-u];u++);return u0=r.slice(e,1<u?1-u:void 0)}function r0(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function o0(){return!0}function Os(){return!1}function We(e){function t(n,u,r,o,l){for(var i in this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=o,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?o0:Os,this.isPropagationStopped=Os,this}return re(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():"unknown"!=typeof n.returnValue&&(n.returnValue=!1),this.isDefaultPrevented=o0)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():"unknown"!=typeof n.cancelBubble&&(n.cancelBubble=!0),this.isPropagationStopped=o0)},persist:function(){},isPersistent:o0}),t}var pl,hl,Gu,Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dl=We(Yn),Wu=re({},Yn,{view:0,detail:0}),Bp=We(Wu),l0=re({},Wu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gl,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Gu&&(Gu&&"mousemove"===e.type?(pl=e.screenX-Gu.screenX,hl=e.screenY-Gu.screenY):hl=pl=0,Gu=e),pl)},movementY:function(e){return"movementY"in e?e.movementY:hl}}),Ps=We(l0),Vp=We(re({},l0,{dataTransfer:0})),ml=We(re({},Wu,{relatedTarget:0})),Wp=We(re({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0})),Gp=re({},Yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Qp=We(Gp),Rs=We(re({},Yn,{data:0})),Xp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kp={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"},Jp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function e3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Jp[e])&&!!t[e]}function gl(){return e3}var t3=re({},Wu,{key:function(e){if(e.key){var t=Xp[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=r0(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Kp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gl,charCode:function(e){return"keypress"===e.type?r0(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?r0(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),n3=We(t3),Is=We(re({},l0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),o3=We(re({},Wu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gl})),i3=We(re({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0})),a3=re({},l0,{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}),s3=We(a3),c3=[9,13,27,32],wl=Pt&&"CompositionEvent"in window,Qu=null;Pt&&"documentMode"in document&&(Qu=document.documentMode);var f3=Pt&&"TextEvent"in window&&!Qu,zs=Pt&&(!wl||Qu&&8<Qu&&11>=Qu),Hs=" ",$s=!1;function Bs(e,t){switch(e){case"keyup":return-1!==c3.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Us(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xn=!1;var h3={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 Vs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!h3[e.type]:"textarea"===t}function Zs(e,t,n,u){fs(u),0<(t=f0(t,"onChange")).length&&(n=new dl("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var Yu=null,Xu=null;function m3(e){sc(e,0)}function i0(e){if(Ja(nu(e)))return e}function g3(e,t){if("change"===e)return t}var qs=!1;if(Pt){var vl;if(Pt){var yl="oninput"in document;if(!yl){var Ws=document.createElement("div");Ws.setAttribute("oninput","return;"),yl="function"==typeof Ws.oninput}vl=yl}else vl=!1;qs=vl&&(!document.documentMode||9<document.documentMode)}function Gs(){Yu&&(Yu.detachEvent("onpropertychange",Qs),Xu=Yu=null)}function Qs(e){if("value"===e.propertyName&&i0(Xu)){var t=[];Zs(t,Xu,e,Ko(e)),ms(m3,t)}}function w3(e,t,n){"focusin"===e?(Gs(),Xu=n,(Yu=t).attachEvent("onpropertychange",Qs)):"focusout"===e&&Gs()}function v3(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return i0(Xu)}function y3(e,t){if("click"===e)return i0(t)}function x3(e,t){if("input"===e||"change"===e)return i0(t)}var ht="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ku(e,t){if(ht(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),u=Object.keys(t);if(n.length!==u.length)return!1;for(u=0;u<n.length;u++){var r=n[u];if(!Fo.call(t,r)||!ht(e[r],t[r]))return!1}return!0}function Ys(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xs(e,t){var u,n=Ys(e);for(e=0;n;){if(3===n.nodeType){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ys(n)}}function Ks(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ks(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Js(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Vr((e=t.contentWindow).document)}return t}function xl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function _3(e){var t=Js(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ks(n.ownerDocument.documentElement,n)){if(null!==u&&xl(n))if(t=u.start,void 0===(e=u.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=n.textContent.length,o=Math.min(u.start,r);u=void 0===u.end?o:Math.min(u.end,r),!e.extend&&o>u&&(r=u,u=o,o=r),r=Xs(n,o);var l=Xs(n,u);r&&l&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),o>u?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var E3=Pt&&"documentMode"in document&&11>=document.documentMode,Kn=null,bl=null,Ju=null,_l=!1;function ec(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_l||null==Kn||Kn!==Vr(u)||("selectionStart"in(u=Kn)&&xl(u)?u={start:u.selectionStart,end:u.selectionEnd}:u={anchorNode:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset},Ju&&Ku(Ju,u)||(Ju=u,0<(u=f0(bl,"onSelect")).length&&(t=new dl("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=Kn)))}function a0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jn={animationend:a0("Animation","AnimationEnd"),animationiteration:a0("Animation","AnimationIteration"),animationstart:a0("Animation","AnimationStart"),transitionend:a0("Transition","TransitionEnd")},El={},tc={};function s0(e){if(El[e])return El[e];if(!Jn[e])return e;var n,t=Jn[e];for(n in t)if(t.hasOwnProperty(n)&&n in tc)return El[e]=t[n];return e}Pt&&(tc=document.createElement("div").style,"AnimationEvent"in window||(delete Jn.animationend.animation,delete Jn.animationiteration.animation,delete Jn.animationstart.animation),"TransitionEvent"in window||delete Jn.transitionend.transition);var nc=s0("animationend"),uc=s0("animationiteration"),rc=s0("animationstart"),oc=s0("transitionend"),lc=new Map,ic="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".split(" ");function rn(e,t){lc.set(e,t),Cn(t,[e])}for(var kl=0;kl<ic.length;kl++){var Cl=ic[kl];rn(Cl.toLowerCase(),"on"+(Cl[0].toUpperCase()+Cl.slice(1)))}rn(nc,"onAnimationEnd"),rn(uc,"onAnimationIteration"),rn(rc,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(oc,"onTransitionEnd"),Un("onMouseEnter",["mouseout","mouseover"]),Un("onMouseLeave",["mouseout","mouseover"]),Un("onPointerEnter",["pointerout","pointerover"]),Un("onPointerLeave",["pointerout","pointerover"]),Cn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var er="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),S3=new Set("cancel close invalid load scroll toggle".split(" ").concat(er));function ac(e,t,n){var u=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,u,r,o,l,i,a){if(Ep.apply(this,arguments),zu){if(!zu)throw Error(T(198));var s=qr;zu=!1,qr=null,Wr||(Wr=!0,nl=s)}}(u,t,void 0,e),e.currentTarget=null}function sc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var u=e[n],r=u.event;u=u.listeners;e:{var o=void 0;if(t)for(var l=u.length-1;0<=l;l--){var i=u[l],a=i.instance,s=i.currentTarget;if(i=i.listener,a!==o&&r.isPropagationStopped())break e;ac(r,i,s),o=a}else for(l=0;l<u.length;l++){if(a=(i=u[l]).instance,s=i.currentTarget,i=i.listener,a!==o&&r.isPropagationStopped())break e;ac(r,i,s),o=a}}}if(Wr)throw e=nl,Wr=!1,nl=null,e}function K(e,t){var n=t[Ll];void 0===n&&(n=t[Ll]=new Set);var u=e+"__bubble";n.has(u)||(cc(t,e,2,!1),n.add(u))}function Sl(e,t,n){var u=0;t&&(u|=4),cc(n,e,u,t)}var c0="_reactListening"+Math.random().toString(36).slice(2);function tr(e){if(!e[c0]){e[c0]=!0,Za.forEach((function(n){"selectionchange"!==n&&(S3.has(n)||Sl(n,!1,e),Sl(n,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[c0]||(t[c0]=!0,Sl("selectionchange",!1,t))}}function cc(e,t,n,u){switch(Ls(t)){case 1:var r=Hp;break;case 4:r=$p;break;default:r=sl}n=r.bind(null,t,n,e),r=void 0,!tl||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),u?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Al(e,t,n,u,r){var o=u;if(!(1&t||2&t||null===u))e:for(;;){if(null===u)return;var l=u.tag;if(3===l||4===l){var i=u.stateNode.containerInfo;if(i===r||8===i.nodeType&&i.parentNode===r)break;if(4===l)for(l=u.return;null!==l;){var a=l.tag;if((3===a||4===a)&&((a=l.stateNode.containerInfo)===r||8===a.nodeType&&a.parentNode===r))return;l=l.return}for(;null!==i;){if(null===(l=An(i)))return;if(5===(a=l.tag)||6===a){u=o=l;continue e}i=i.parentNode}}u=u.return}ms((function(){var s=o,c=Ko(n),d=[];e:{var h=lc.get(e);if(void 0!==h){var w=dl,m=e;switch(e){case"keypress":if(0===r0(n))break e;case"keydown":case"keyup":w=n3;break;case"focusin":m="focus",w=ml;break;case"focusout":m="blur",w=ml;break;case"beforeblur":case"afterblur":w=ml;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=Ps;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Vp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=o3;break;case nc:case uc:case rc:w=Wp;break;case oc:w=i3;break;case"scroll":w=Bp;break;case"wheel":w=s3;break;case"copy":case"cut":case"paste":w=Qp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Is}var x=!!(4&t),S=!x&&"scroll"===e,y=x?null!==h?h+"Capture":null:h;x=[];for(var v,f=s;null!==f;){var _=(v=f).stateNode;if(5===v.tag&&null!==_&&(v=_,null!==y&&(null!=(_=Ru(f,y))&&x.push(nr(f,_,v)))),S)break;f=f.return}0<x.length&&(h=new w(h,m,null,n,c),d.push({event:h,listeners:x}))}}if(!(7&t)){if(w="mouseout"===e||"pointerout"===e,(!(h="mouseover"===e||"pointerover"===e)||n===Xo||!(m=n.relatedTarget||n.fromElement)||!An(m)&&!m[It])&&(w||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,w?(w=s,null!==(m=(m=n.relatedTarget||n.toElement)?An(m):null)&&(m!==(S=Sn(m))||5!==m.tag&&6!==m.tag)&&(m=null)):(w=null,m=s),w!==m)){if(x=Ps,_="onMouseLeave",y="onMouseEnter",f="mouse",("pointerout"===e||"pointerover"===e)&&(x=Is,_="onPointerLeave",y="onPointerEnter",f="pointer"),S=null==w?h:nu(w),v=null==m?h:nu(m),(h=new x(_,f+"leave",w,n,c)).target=S,h.relatedTarget=v,_=null,An(c)===s&&((x=new x(y,f+"enter",m,n,c)).target=v,x.relatedTarget=S,_=x),S=_,w&&m)t:{for(y=m,f=0,v=x=w;v;v=eu(v))f++;for(v=0,_=y;_;_=eu(_))v++;for(;0<f-v;)x=eu(x),f--;for(;0<v-f;)y=eu(y),v--;for(;f--;){if(x===y||null!==y&&x===y.alternate)break t;x=eu(x),y=eu(y)}x=null}else x=null;null!==w&&fc(d,h,w,x,!1),null!==m&&null!==S&&fc(d,S,m,x,!0)}if("select"===(w=(h=s?nu(s):window).nodeName&&h.nodeName.toLowerCase())||"input"===w&&"file"===h.type)var k=g3;else if(Vs(h))if(qs)k=x3;else{k=v3;var C=w3}else(w=h.nodeName)&&"input"===w.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(k=y3);switch(k&&(k=k(e,s))?Zs(d,k,n,c):(C&&C(e,h,s),"focusout"===e&&(C=h._wrapperState)&&C.controlled&&"number"===h.type&&qo(h,"number",h.value)),C=s?nu(s):window,e){case"focusin":(Vs(C)||"true"===C.contentEditable)&&(Kn=C,bl=s,Ju=null);break;case"focusout":Ju=bl=Kn=null;break;case"mousedown":_l=!0;break;case"contextmenu":case"mouseup":case"dragend":_l=!1,ec(d,n,c);break;case"selectionchange":if(E3)break;case"keydown":case"keyup":ec(d,n,c)}var A;if(wl)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else Xn?Bs(e,n)&&(F="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(F="onCompositionStart");F&&(zs&&"ko"!==n.locale&&(Xn||"onCompositionStart"!==F?"onCompositionEnd"===F&&Xn&&(A=js()):(fl="value"in(un=c)?un.value:un.textContent,Xn=!0)),0<(C=f0(s,F)).length&&(F=new Rs(F,e,null,n,c),d.push({event:F,listeners:C}),A?F.data=A:null!==(A=Us(n))&&(F.data=A))),(A=f3?function(e,t){switch(e){case"compositionend":return Us(t);case"keypress":return 32!==t.which?null:($s=!0,Hs);case"textInput":return(e=t.data)===Hs&&$s?null:e;default:return null}}(e,n):function(e,t){if(Xn)return"compositionend"===e||!wl&&Bs(e,t)?(e=js(),u0=fl=un=null,Xn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zs&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(s=f0(s,"onBeforeInput")).length&&(c=new Rs("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:s}),c.data=A))}sc(d,t)}))}function nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function f0(e,t){for(var n=t+"Capture",u=[];null!==e;){var r=e,o=r.stateNode;5===r.tag&&null!==o&&(r=o,null!=(o=Ru(e,n))&&u.unshift(nr(e,o,r)),null!=(o=Ru(e,t))&&u.push(nr(e,o,r))),e=e.return}return u}function eu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function fc(e,t,n,u,r){for(var o=t._reactName,l=[];null!==n&&n!==u;){var i=n,a=i.alternate,s=i.stateNode;if(null!==a&&a===u)break;5===i.tag&&null!==s&&(i=s,r?null!=(a=Ru(n,o))&&l.unshift(nr(n,a,i)):r||null!=(a=Ru(n,o))&&l.push(nr(n,a,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var A3=/\r\n?/g,T3=/\u0000|\uFFFD/g;function dc(e){return("string"==typeof e?e:""+e).replace(A3,"\n").replace(T3,"")}function d0(e,t,n){if(t=dc(t),dc(e)!==t&&n)throw Error(T(425))}function p0(){}var Tl=null,Dl=null;function Fl(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Nl="function"==typeof setTimeout?setTimeout:void 0,D3="function"==typeof clearTimeout?clearTimeout:void 0,pc="function"==typeof Promise?Promise:void 0,F3="function"==typeof queueMicrotask?queueMicrotask:typeof pc<"u"?function(e){return pc.resolve(null).then(e).catch(N3)}:Nl;function N3(e){setTimeout((function(){throw e}))}function Ml(e,t){var n=t,u=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===u)return e.removeChild(r),void qu(t);u--}else"$"!==n&&"$?"!==n&&"$!"!==n||u++;n=r}while(n);qu(t)}function on(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function hc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var tu=Math.random().toString(36).slice(2),Ct="__reactFiber$"+tu,ur="__reactProps$"+tu,It="__reactContainer$"+tu,Ll="__reactEvents$"+tu,M3="__reactListeners$"+tu,L3="__reactHandles$"+tu;function An(e){var t=e[Ct];if(t)return t;for(var n=e.parentNode;n;){if(t=n[It]||n[Ct]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=hc(e);null!==e;){if(n=e[Ct])return n;e=hc(e)}return t}n=(e=n).parentNode}return null}function rr(e){return!(e=e[Ct]||e[It])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function nu(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(T(33))}function h0(e){return e[ur]||null}var jl=[],uu=-1;function ln(e){return{current:e}}function J(e){0>uu||(e.current=jl[uu],jl[uu]=null,uu--)}function G(e,t){uu++,jl[uu]=e.current,e.current=t}var an={},ke=ln(an),Pe=ln(!1),Tn=an;function ru(e,t){var n=e.type.contextTypes;if(!n)return an;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var o,r={};for(o in n)r[o]=t[o];return u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function Re(e){return null!=(e=e.childContextTypes)}function m0(){J(Pe),J(ke)}function mc(e,t,n){if(ke.current!==an)throw Error(T(168));G(ke,t),G(Pe,n)}function gc(e,t,n){var u=e.stateNode;if(t=t.childContextTypes,"function"!=typeof u.getChildContext)return n;for(var r in u=u.getChildContext())if(!(r in t))throw Error(T(108,wp(e)||"Unknown",r));return re({},n,u)}function g0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,Tn=ke.current,G(ke,e),G(Pe,Pe.current),!0}function wc(e,t,n){var u=e.stateNode;if(!u)throw Error(T(169));n?(e=gc(e,t,Tn),u.__reactInternalMemoizedMergedChildContext=e,J(Pe),J(ke),G(ke,e)):J(Pe),G(Pe,n)}var zt=null,w0=!1,Ol=!1;function vc(e){null===zt?zt=[e]:zt.push(e)}function sn(){if(!Ol&&null!==zt){Ol=!0;var e=0,t=q;try{var n=zt;for(q=1;e<n.length;e++){var u=n[e];do{u=u(!0)}while(null!==u)}zt=null,w0=!1}catch(r){throw null!==zt&&(zt=zt.slice(e+1)),xs(ul,sn),r}finally{q=t,Ol=!1}}return null}var ou=[],lu=0,v0=null,y0=0,tt=[],nt=0,Dn=null,Ht=1,$t="";function Fn(e,t){ou[lu++]=y0,ou[lu++]=v0,v0=e,y0=t}function yc(e,t,n){tt[nt++]=Ht,tt[nt++]=$t,tt[nt++]=Dn,Dn=e;var u=Ht;e=$t;var r=32-pt(u)-1;u&=~(1<<r),n+=1;var o=32-pt(t)+r;if(30<o){var l=r-r%5;o=(u&(1<<l)-1).toString(32),u>>=l,r-=l,Ht=1<<32-pt(t)+r|n<<r|u,$t=o+e}else Ht=1<<o|n<<r|u,$t=e}function Pl(e){null!==e.return&&(Fn(e,1),yc(e,1,0))}function Rl(e){for(;e===v0;)v0=ou[--lu],ou[lu]=null,y0=ou[--lu],ou[lu]=null;for(;e===Dn;)Dn=tt[--nt],tt[nt]=null,$t=tt[--nt],tt[nt]=null,Ht=tt[--nt],tt[nt]=null}var Ge=null,Qe=null,ee=!1,mt=null;function xc(e,t){var n=lt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function bc(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Ge=e,Qe=on(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Ge=e,Qe=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Dn?{id:Ht,overflow:$t}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=lt(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Ge=e,Qe=null,!0);default:return!1}}function Il(e){return!(!(1&e.mode)||128&e.flags)}function zl(e){if(ee){var t=Qe;if(t){var n=t;if(!bc(e,t)){if(Il(e))throw Error(T(418));t=on(n.nextSibling);var u=Ge;t&&bc(e,t)?xc(u,n):(e.flags=-4097&e.flags|2,ee=!1,Ge=e)}}else{if(Il(e))throw Error(T(418));e.flags=-4097&e.flags|2,ee=!1,Ge=e}}}function _c(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ge=e}function x0(e){if(e!==Ge)return!1;if(!ee)return _c(e),ee=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Fl(e.type,e.memoizedProps)),t&&(t=Qe)){if(Il(e))throw Ec(),Error(T(418));for(;t;)xc(e,t),t=on(t.nextSibling)}if(_c(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Qe=on(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Qe=null}}else Qe=Ge?on(e.stateNode.nextSibling):null;return!0}function Ec(){for(var e=Qe;e;)e=on(e.nextSibling)}function iu(){Qe=Ge=null,ee=!1}function Hl(e){null===mt?mt=[e]:mt.push(e)}var O3=Rt.ReactCurrentBatchConfig;function or(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(T(309));var u=n.stateNode}if(!u)throw Error(T(147,e));var r=u,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(l){var i=r.refs;null===l?delete i[o]:i[o]=l})._stringRef=o,t)}if("string"!=typeof e)throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function b0(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function kc(e){return(0,e._init)(e._payload)}function Cc(e){function t(y,f){if(e){var v=y.deletions;null===v?(y.deletions=[f],y.flags|=16):v.push(f)}}function n(y,f){if(!e)return null;for(;null!==f;)t(y,f),f=f.sibling;return null}function u(y,f){for(y=new Map;null!==f;)null!==f.key?y.set(f.key,f):y.set(f.index,f),f=f.sibling;return y}function r(y,f){return(y=wn(y,f)).index=0,y.sibling=null,y}function o(y,f,v){return y.index=v,e?null!==(v=y.alternate)?(v=v.index)<f?(y.flags|=2,f):v:(y.flags|=2,f):(y.flags|=1048576,f)}function l(y){return e&&null===y.alternate&&(y.flags|=2),y}function i(y,f,v,_){return null===f||6!==f.tag?((f=Ni(v,y.mode,_)).return=y,f):((f=r(f,v)).return=y,f)}function a(y,f,v,_){var k=v.type;return k===Zn?c(y,f,v.props.children,_,v.key):null!==f&&(f.elementType===k||"object"==typeof k&&null!==k&&k.$$typeof===Xt&&kc(k)===f.type)?((_=r(f,v.props)).ref=or(y,f,v),_.return=y,_):((_=Z0(v.type,v.key,v.props,null,y.mode,_)).ref=or(y,f,v),_.return=y,_)}function s(y,f,v,_){return null===f||4!==f.tag||f.stateNode.containerInfo!==v.containerInfo||f.stateNode.implementation!==v.implementation?((f=Mi(v,y.mode,_)).return=y,f):((f=r(f,v.children||[])).return=y,f)}function c(y,f,v,_,k){return null===f||7!==f.tag?((f=In(v,y.mode,_,k)).return=y,f):((f=r(f,v)).return=y,f)}function d(y,f,v){if("string"==typeof f&&""!==f||"number"==typeof f)return(f=Ni(""+f,y.mode,v)).return=y,f;if("object"==typeof f&&null!==f){switch(f.$$typeof){case Br:return(v=Z0(f.type,f.key,f.props,null,y.mode,v)).ref=or(y,null,f),v.return=y,v;case Vn:return(f=Mi(f,y.mode,v)).return=y,f;case Xt:return d(y,(0,f._init)(f._payload),v)}if(ju(f)||Mu(f))return(f=In(f,y.mode,v,null)).return=y,f;b0(y,f)}return null}function h(y,f,v,_){var k=null!==f?f.key:null;if("string"==typeof v&&""!==v||"number"==typeof v)return null!==k?null:i(y,f,""+v,_);if("object"==typeof v&&null!==v){switch(v.$$typeof){case Br:return v.key===k?a(y,f,v,_):null;case Vn:return v.key===k?s(y,f,v,_):null;case Xt:return h(y,f,(k=v._init)(v._payload),_)}if(ju(v)||Mu(v))return null!==k?null:c(y,f,v,_,null);b0(y,v)}return null}function w(y,f,v,_,k){if("string"==typeof _&&""!==_||"number"==typeof _)return i(f,y=y.get(v)||null,""+_,k);if("object"==typeof _&&null!==_){switch(_.$$typeof){case Br:return a(f,y=y.get(null===_.key?v:_.key)||null,_,k);case Vn:return s(f,y=y.get(null===_.key?v:_.key)||null,_,k);case Xt:return w(y,f,v,(0,_._init)(_._payload),k)}if(ju(_)||Mu(_))return c(f,y=y.get(v)||null,_,k,null);b0(f,_)}return null}return function S(y,f,v,_){if("object"==typeof v&&null!==v&&v.type===Zn&&null===v.key&&(v=v.props.children),"object"==typeof v&&null!==v){switch(v.$$typeof){case Br:e:{for(var k=v.key,C=f;null!==C;){if(C.key===k){if((k=v.type)===Zn){if(7===C.tag){n(y,C.sibling),(f=r(C,v.props.children)).return=y,y=f;break e}}else if(C.elementType===k||"object"==typeof k&&null!==k&&k.$$typeof===Xt&&kc(k)===C.type){n(y,C.sibling),(f=r(C,v.props)).ref=or(y,C,v),f.return=y,y=f;break e}n(y,C);break}t(y,C),C=C.sibling}v.type===Zn?((f=In(v.props.children,y.mode,_,v.key)).return=y,y=f):((_=Z0(v.type,v.key,v.props,null,y.mode,_)).ref=or(y,f,v),_.return=y,y=_)}return l(y);case Vn:e:{for(C=v.key;null!==f;){if(f.key===C){if(4===f.tag&&f.stateNode.containerInfo===v.containerInfo&&f.stateNode.implementation===v.implementation){n(y,f.sibling),(f=r(f,v.children||[])).return=y,y=f;break e}n(y,f);break}t(y,f),f=f.sibling}(f=Mi(v,y.mode,_)).return=y,y=f}return l(y);case Xt:return S(y,f,(C=v._init)(v._payload),_)}if(ju(v))return function(y,f,v,_){for(var k=null,C=null,A=f,F=f=0,R=null;null!==A&&F<v.length;F++){A.index>F?(R=A,A=null):R=A.sibling;var j=h(y,A,v[F],_);if(null===j){null===A&&(A=R);break}e&&A&&null===j.alternate&&t(y,A),f=o(j,f,F),null===C?k=j:C.sibling=j,C=j,A=R}if(F===v.length)return n(y,A),ee&&Fn(y,F),k;if(null===A){for(;F<v.length;F++)null!==(A=d(y,v[F],_))&&(f=o(A,f,F),null===C?k=A:C.sibling=A,C=A);return ee&&Fn(y,F),k}for(A=u(y,A);F<v.length;F++)null!==(R=w(A,y,F,v[F],_))&&(e&&null!==R.alternate&&A.delete(null===R.key?F:R.key),f=o(R,f,F),null===C?k=R:C.sibling=R,C=R);return e&&A.forEach((function(P){return t(y,P)})),ee&&Fn(y,F),k}(y,f,v,_);if(Mu(v))return function(y,f,v,_){var k=Mu(v);if("function"!=typeof k)throw Error(T(150));if(null==(v=k.call(v)))throw Error(T(151));for(var C=k=null,A=f,F=f=0,R=null,j=v.next();null!==A&&!j.done;F++,j=v.next()){A.index>F?(R=A,A=null):R=A.sibling;var P=h(y,A,j.value,_);if(null===P){null===A&&(A=R);break}e&&A&&null===P.alternate&&t(y,A),f=o(P,f,F),null===C?k=P:C.sibling=P,C=P,A=R}if(j.done)return n(y,A),ee&&Fn(y,F),k;if(null===A){for(;!j.done;F++,j=v.next())null!==(j=d(y,j.value,_))&&(f=o(j,f,F),null===C?k=j:C.sibling=j,C=j);return ee&&Fn(y,F),k}for(A=u(y,A);!j.done;F++,j=v.next())null!==(j=w(A,y,F,j.value,_))&&(e&&null!==j.alternate&&A.delete(null===j.key?F:j.key),f=o(j,f,F),null===C?k=j:C.sibling=j,C=j);return e&&A.forEach((function(de){return t(y,de)})),ee&&Fn(y,F),k}(y,f,v,_);b0(y,v)}return"string"==typeof v&&""!==v||"number"==typeof v?(v=""+v,null!==f&&6===f.tag?(n(y,f.sibling),(f=r(f,v)).return=y,y=f):(n(y,f),(f=Ni(v,y.mode,_)).return=y,y=f),l(y)):n(y,f)}}var au=Cc(!0),Sc=Cc(!1),_0=ln(null),E0=null,su=null,$l=null;function Bl(){$l=su=E0=null}function Ul(e){var t=_0.current;J(_0),e._currentValue=t}function Vl(e,t,n){for(;null!==e;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==u&&(u.childLanes|=t)):null!==u&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===n)break;e=e.return}}function cu(e,t){E0=e,$l=su=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(Ie=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if($l!==e)if(e={context:e,memoizedValue:t,next:null},null===su){if(null===E0)throw Error(T(308));su=e,E0.dependencies={lanes:0,firstContext:e}}else su=su.next=e;return t}var Nn=null;function Zl(e){null===Nn?Nn=[e]:Nn.push(e)}function Ac(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,Zl(t)):(n.next=r.next,r.next=n),t.interleaved=n,Bt(e,u)}function Bt(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var cn=!1;function ql(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ut(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fn(e,t,n){var u=e.updateQueue;if(null===u)return null;if(u=u.shared,2&V){var r=u.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),u.pending=t,Bt(e,n)}return null===(r=u.interleaved)?(t.next=t,Zl(u)):(t.next=r.next,r.next=t),u.interleaved=t,Bt(e,n)}function k0(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,ll(e,n)}}function Dc(e,t){var n=e.updateQueue,u=e.alternate;if(null!==u&&n===(u=u.updateQueue)){var r=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?r=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?r=o=t:o=o.next=t}else r=o=t;return n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:u.shared,effects:u.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function C0(e,t,n,u){var r=e.updateQueue;cn=!1;var o=r.firstBaseUpdate,l=r.lastBaseUpdate,i=r.shared.pending;if(null!==i){r.shared.pending=null;var a=i,s=a.next;a.next=null,null===l?o=s:l.next=s,l=a;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=a))}if(null!==o){var d=r.baseState;for(l=0,c=s=a=null,i=o;;){var h=i.lane,w=i.eventTime;if((u&h)===h){null!==c&&(c=c.next={eventTime:w,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var m=e,x=i;switch(h=t,w=n,x.tag){case 1:if("function"==typeof(m=x.payload)){d=m.call(w,d,h);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(h="function"==typeof(m=x.payload)?m.call(w,d,h):m))break e;d=re({},d,h);break e;case 2:cn=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(h=r.effects)?r.effects=[i]:h.push(i))}else w={eventTime:w,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=w,a=d):c=c.next=w,l|=h;if(null===(i=i.next)){if(null===(i=r.shared.pending))break;i=(h=i).next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}if(null===c&&(a=d),r.baseState=a,r.firstBaseUpdate=s,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{l|=r.lane,r=r.next}while(r!==t)}else null===o&&(r.shared.lanes=0);jn|=l,e.lanes=l,e.memoizedState=d}}function Fc(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var u=e[t],r=u.callback;if(null!==r){if(u.callback=null,u=n,"function"!=typeof r)throw Error(T(191,r));r.call(u)}}}var lr={},St=ln(lr),ir=ln(lr),ar=ln(lr);function Mn(e){if(e===lr)throw Error(T(174));return e}function Wl(e,t){switch(G(ar,t),G(ir,e),G(St,lr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Go(null,"");break;default:t=Go(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}J(St),G(St,t)}function fu(){J(St),J(ir),J(ar)}function Nc(e){Mn(ar.current);var t=Mn(St.current),n=Go(t,e.type);t!==n&&(G(ir,e),G(St,n))}function Gl(e){ir.current===e&&(J(St),J(ir))}var oe=ln(0);function S0(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ql=[];function Yl(){for(var e=0;e<Ql.length;e++)Ql[e]._workInProgressVersionPrimary=null;Ql.length=0}var A0=Rt.ReactCurrentDispatcher,Xl=Rt.ReactCurrentBatchConfig,Ln=0,le=null,ce=null,pe=null,T0=!1,sr=!1,cr=0,P3=0;function Ce(){throw Error(T(321))}function Kl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ht(e[n],t[n]))return!1;return!0}function Jl(e,t,n,u,r,o){if(Ln=o,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A0.current=null===e||null===e.memoizedState?H3:$3,e=n(u,r),sr){o=0;do{if(sr=!1,cr=0,25<=o)throw Error(T(301));o+=1,pe=ce=null,t.updateQueue=null,A0.current=B3,e=n(u,r)}while(sr)}if(A0.current=N0,t=null!==ce&&null!==ce.next,Ln=0,pe=ce=le=null,T0=!1,t)throw Error(T(300));return e}function ei(){var e=0!==cr;return cr=0,e}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===pe?le.memoizedState=pe=e:pe=pe.next=e,pe}function rt(){if(null===ce){var e=le.alternate;e=null!==e?e.memoizedState:null}else e=ce.next;var t=null===pe?le.memoizedState:pe.next;if(null!==t)pe=t,ce=e;else{if(null===e)throw Error(T(310));e={memoizedState:(ce=e).memoizedState,baseState:ce.baseState,baseQueue:ce.baseQueue,queue:ce.queue,next:null},null===pe?le.memoizedState=pe=e:pe=pe.next=e}return pe}function fr(e,t){return"function"==typeof t?t(e):t}function ti(e){var t=rt(),n=t.queue;if(null===n)throw Error(T(311));n.lastRenderedReducer=e;var u=ce,r=u.baseQueue,o=n.pending;if(null!==o){if(null!==r){var l=r.next;r.next=o.next,o.next=l}u.baseQueue=r=o,n.pending=null}if(null!==r){o=r.next,u=u.baseState;var i=l=null,a=null,s=o;do{var c=s.lane;if((Ln&c)===c)null!==a&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),u=s.hasEagerState?s.eagerState:e(u,s.action);else{var d={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===a?(i=a=d,l=u):a=a.next=d,le.lanes|=c,jn|=c}s=s.next}while(null!==s&&s!==o);null===a?l=u:a.next=i,ht(u,t.memoizedState)||(Ie=!0),t.memoizedState=u,t.baseState=l,t.baseQueue=a,n.lastRenderedState=u}if(null!==(e=n.interleaved)){r=e;do{o=r.lane,le.lanes|=o,jn|=o,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ni(e){var t=rt(),n=t.queue;if(null===n)throw Error(T(311));n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,o=t.memoizedState;if(null!==r){n.pending=null;var l=r=r.next;do{o=e(o,l.action),l=l.next}while(l!==r);ht(o,t.memoizedState)||(Ie=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,u]}function Mc(){}function Lc(e,t){var n=le,u=rt(),r=t(),o=!ht(u.memoizedState,r);if(o&&(u.memoizedState=r,Ie=!0),u=u.queue,ui(Pc.bind(null,n,u,e),[e]),u.getSnapshot!==t||o||null!==pe&&1&pe.memoizedState.tag){if(n.flags|=2048,dr(9,Oc.bind(null,n,u,r,t),void 0,null),null===he)throw Error(T(349));30&Ln||jc(n,t,r)}return r}function jc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=le.updateQueue)?(t={lastEffect:null,stores:null},le.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oc(e,t,n,u){t.value=n,t.getSnapshot=u,Rc(t)&&Ic(e)}function Pc(e,t,n){return n((function(){Rc(t)&&Ic(e)}))}function Rc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ht(e,n)}catch{return!0}}function Ic(e){var t=Bt(e,1);null!==t&&yt(t,e,1,-1)}function zc(e){var t=At();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:fr,lastRenderedState:e},t.queue=e,e=e.dispatch=z3.bind(null,le,e),[t.memoizedState,e]}function dr(e,t,n,u){return e={tag:e,create:t,destroy:n,deps:u,next:null},null===(t=le.updateQueue)?(t={lastEffect:null,stores:null},le.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(u=n.next,n.next=e,e.next=u,t.lastEffect=e),e}function Hc(){return rt().memoizedState}function D0(e,t,n,u){var r=At();le.flags|=e,r.memoizedState=dr(1|t,n,void 0,void 0===u?null:u)}function F0(e,t,n,u){var r=rt();u=void 0===u?null:u;var o=void 0;if(null!==ce){var l=ce.memoizedState;if(o=l.destroy,null!==u&&Kl(u,l.deps))return void(r.memoizedState=dr(t,n,o,u))}le.flags|=e,r.memoizedState=dr(1|t,n,o,u)}function $c(e,t){return D0(8390656,8,e,t)}function ui(e,t){return F0(2048,8,e,t)}function Bc(e,t){return F0(4,2,e,t)}function Uc(e,t){return F0(4,4,e,t)}function Vc(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Zc(e,t,n){return n=null!=n?n.concat([e]):null,F0(4,4,Vc.bind(null,t,e),n)}function ri(){}function qc(e,t){var n=rt();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Kl(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function Wc(e,t){var n=rt();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Kl(t,u[1])?u[0]:(e=e(),n.memoizedState=[e,t],e)}function Gc(e,t,n){return 21&Ln?(ht(n,t)||(n=ks(),le.lanes|=n,jn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ie=!0),e.memoizedState=n)}function R3(e,t){var n=q;q=0!==n&&4>n?n:4,e(!0);var u=Xl.transition;Xl.transition={};try{e(!1),t()}finally{q=n,Xl.transition=u}}function Qc(){return rt().memoizedState}function I3(e,t,n){var u=mn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Yc(e))Xc(t,n);else if(null!==(n=Ac(e,t,n,u))){yt(n,e,u,Me()),Kc(n,t,u)}}function z3(e,t,n){var u=mn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yc(e))Xc(t,r);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=o(l,n);if(r.hasEagerState=!0,r.eagerState=i,ht(i,l)){var a=t.interleaved;return null===a?(r.next=r,Zl(t)):(r.next=a.next,a.next=r),void(t.interleaved=r)}}catch{}null!==(n=Ac(e,t,r,u))&&(yt(n,e,u,r=Me()),Kc(n,t,u))}}function Yc(e){var t=e.alternate;return e===le||null!==t&&t===le}function Xc(e,t){sr=T0=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kc(e,t,n){if(4194240&n){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,ll(e,n)}}var N0={readContext:ut,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},H3={readContext:ut,useCallback:function(e,t){return At().memoizedState=[e,void 0===t?null:t],e},useContext:ut,useEffect:$c,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,D0(4194308,4,Vc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return D0(4194308,4,e,t)},useInsertionEffect:function(e,t){return D0(4,2,e,t)},useMemo:function(e,t){var n=At();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var u=At();return t=void 0!==n?n(t):t,u.memoizedState=u.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},u.queue=e,e=e.dispatch=I3.bind(null,le,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},At().memoizedState=e},useState:zc,useDebugValue:ri,useDeferredValue:function(e){return At().memoizedState=e},useTransition:function(){var e=zc(!1),t=e[0];return e=R3.bind(null,e[1]),At().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=le,r=At();if(ee){if(void 0===n)throw Error(T(407));n=n()}else{if(n=t(),null===he)throw Error(T(349));30&Ln||jc(u,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,$c(Pc.bind(null,u,o,e),[e]),u.flags|=2048,dr(9,Oc.bind(null,u,o,n,t),void 0,null),n},useId:function(){var e=At(),t=he.identifierPrefix;if(ee){var n=$t;t=":"+t+"R"+(n=(Ht&~(1<<32-pt(Ht)-1)).toString(32)+n),0<(n=cr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=P3++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},$3={readContext:ut,useCallback:qc,useContext:ut,useEffect:ui,useImperativeHandle:Zc,useInsertionEffect:Bc,useLayoutEffect:Uc,useMemo:Wc,useReducer:ti,useRef:Hc,useState:function(){return ti(fr)},useDebugValue:ri,useDeferredValue:function(e){return Gc(rt(),ce.memoizedState,e)},useTransition:function(){return[ti(fr)[0],rt().memoizedState]},useMutableSource:Mc,useSyncExternalStore:Lc,useId:Qc,unstable_isNewReconciler:!1},B3={readContext:ut,useCallback:qc,useContext:ut,useEffect:ui,useImperativeHandle:Zc,useInsertionEffect:Bc,useLayoutEffect:Uc,useMemo:Wc,useReducer:ni,useRef:Hc,useState:function(){return ni(fr)},useDebugValue:ri,useDeferredValue:function(e){var t=rt();return null===ce?t.memoizedState=e:Gc(t,ce.memoizedState,e)},useTransition:function(){return[ni(fr)[0],rt().memoizedState]},useMutableSource:Mc,useSyncExternalStore:Lc,useId:Qc,unstable_isNewReconciler:!1};function gt(e,t){if(e&&e.defaultProps){for(var n in t=re({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function oi(e,t,n,u){n=null==(n=n(u,t=e.memoizedState))?t:re({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var M0={isMounted:function(e){return!!(e=e._reactInternals)&&Sn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var u=Me(),r=mn(e),o=Ut(u,r);o.payload=t,null!=n&&(o.callback=n),null!==(t=fn(e,o,r))&&(yt(t,e,r,u),k0(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=Me(),r=mn(e),o=Ut(u,r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=fn(e,o,r))&&(yt(t,e,r,u),k0(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Me(),u=mn(e),r=Ut(n,u);r.tag=2,null!=t&&(r.callback=t),null!==(t=fn(e,r,u))&&(yt(t,e,u,n),k0(t,e,u))}};function Jc(e,t,n,u,r,o,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(u,o,l):!t.prototype||!t.prototype.isPureReactComponent||(!Ku(n,u)||!Ku(r,o))}function e1(e,t,n){var u=!1,r=an,o=t.contextType;return"object"==typeof o&&null!==o?o=ut(o):(r=Re(t)?Tn:ke.current,o=(u=null!=(u=t.contextTypes))?ru(e,r):an),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=M0,e.stateNode=t,t._reactInternals=e,u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),t}function t1(e,t,n,u){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,u),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==e&&M0.enqueueReplaceState(t,t.state,null)}function li(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},ql(e);var o=t.contextType;"object"==typeof o&&null!==o?r.context=ut(o):(o=Re(t)?Tn:ke.current,r.context=ru(e,o)),r.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(oi(e,t,o,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&M0.enqueueReplaceState(r,r.state,null),C0(e,n,r,u),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4194308)}function du(e,t){try{var n="",u=t;do{n+=gp(u),u=u.return}while(u);var r=n}catch(o){r="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:r,digest:null}}function ii(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ai(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var U3="function"==typeof WeakMap?WeakMap:Map;function n1(e,t,n){(n=Ut(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){z0||(z0=!0,Ei=u),ai(0,t)},n}function u1(e,t,n){(n=Ut(-1,n)).tag=3;var u=e.type.getDerivedStateFromError;if("function"==typeof u){var r=t.value;n.payload=function(){return u(r)},n.callback=function(){ai(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ai(0,t),"function"!=typeof u&&(null===pn?pn=new Set([this]):pn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:null!==l?l:""})}),n}function r1(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new U3;var r=new Set;u.set(t,r)}else void 0===(r=u.get(t))&&(r=new Set,u.set(t,r));r.has(n)||(r.add(n),e=uh.bind(null,e,t,n),t.then(e,e))}function o1(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function l1(e,t,n,u,r){return 1&e.mode?(e.flags|=65536,e.lanes=r,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ut(-1,1)).tag=2,fn(n,t,1))),n.lanes|=1),e)}var V3=Rt.ReactCurrentOwner,Ie=!1;function Ne(e,t,n,u){t.child=null===e?Sc(t,null,n,u):au(t,e.child,n,u)}function i1(e,t,n,u,r){n=n.render;var o=t.ref;return cu(t,r),u=Jl(e,t,n,u,o,r),n=ei(),null===e||Ie?(ee&&n&&Pl(t),t.flags|=1,Ne(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Vt(e,t,r))}function a1(e,t,n,u,r){if(null===e){var o=n.type;return"function"!=typeof o||Fi(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Z0(n.type,null,u,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,s1(e,t,o,u,r))}if(o=e.child,!(e.lanes&r)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:Ku)(l,u)&&e.ref===t.ref)return Vt(e,t,r)}return t.flags|=1,(e=wn(o,u)).ref=t.ref,e.return=t,t.child=e}function s1(e,t,n,u,r){if(null!==e){var o=e.memoizedProps;if(Ku(o,u)&&e.ref===t.ref){if(Ie=!1,t.pendingProps=u=o,!(e.lanes&r))return t.lanes=e.lanes,Vt(e,t,r);131072&e.flags&&(Ie=!0)}}return si(e,t,n,u,r)}function c1(e,t,n){var u=t.pendingProps,r=u.children,o=null!==e?e.memoizedState:null;if("hidden"===u.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,G(hu,Ye),Ye|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==o?o.baseLanes:n,G(hu,Ye),Ye|=u}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(hu,Ye),Ye|=n;else null!==o?(u=o.baseLanes|n,t.memoizedState=null):u=n,G(hu,Ye),Ye|=u;return Ne(e,t,r,n),t.child}function f1(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function si(e,t,n,u,r){var o=Re(n)?Tn:ke.current;return o=ru(t,o),cu(t,r),n=Jl(e,t,n,u,o,r),u=ei(),null===e||Ie?(ee&&u&&Pl(t),t.flags|=1,Ne(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Vt(e,t,r))}function d1(e,t,n,u,r){if(Re(n)){var o=!0;g0(t)}else o=!1;if(cu(t,r),null===t.stateNode)j0(e,t),e1(t,n,u),li(t,n,u,r),u=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var a=l.context,s=n.contextType;"object"==typeof s&&null!==s?s=ut(s):s=ru(t,s=Re(n)?Tn:ke.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;d||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==u||a!==s)&&t1(t,l,u,s),cn=!1;var h=t.memoizedState;l.state=h,C0(t,u,l,r),a=t.memoizedState,i!==u||h!==a||Pe.current||cn?("function"==typeof c&&(oi(t,n,c,u),a=t.memoizedState),(i=cn||Jc(t,n,i,u,h,a,s))?(d||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.flags|=4194308)):("function"==typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=a),l.props=u,l.state=a,l.context=s,u=i):("function"==typeof l.componentDidMount&&(t.flags|=4194308),u=!1)}else{l=t.stateNode,Tc(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:gt(t.type,i),l.props=s,d=t.pendingProps,h=l.context,"object"==typeof(a=n.contextType)&&null!==a?a=ut(a):a=ru(t,a=Re(n)?Tn:ke.current);var w=n.getDerivedStateFromProps;(c="function"==typeof w||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==d||h!==a)&&t1(t,l,u,a),cn=!1,h=t.memoizedState,l.state=h,C0(t,u,l,r);var m=t.memoizedState;i!==d||h!==m||Pe.current||cn?("function"==typeof w&&(oi(t,n,w,u),m=t.memoizedState),(s=cn||Jc(t,n,s,u,h,m,a)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(u,m,a),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(u,m,a)),"function"==typeof l.componentDidUpdate&&(t.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=m),l.props=u,l.state=m,l.context=a,u=s):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),u=!1)}return ci(e,t,n,u,o,r)}function ci(e,t,n,u,r,o){f1(e,t);var l=!!(128&t.flags);if(!u&&!l)return r&&wc(t,n,!1),Vt(e,t,o);u=t.stateNode,V3.current=t;var i=l&&"function"!=typeof n.getDerivedStateFromError?null:u.render();return t.flags|=1,null!==e&&l?(t.child=au(t,e.child,null,o),t.child=au(t,null,i,o)):Ne(e,t,i,o),t.memoizedState=u.state,r&&wc(t,n,!0),t.child}function p1(e){var t=e.stateNode;t.pendingContext?mc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&mc(0,t.context,!1),Wl(e,t.containerInfo)}function h1(e,t,n,u,r){return iu(),Hl(r),t.flags|=256,Ne(e,t,n,u),t.child}var v1,mi,y1,x1,fi={dehydrated:null,treeContext:null,retryLane:0};function di(e){return{baseLanes:e,cachePool:null,transitions:null}}function m1(e,t,n){var i,u=t.pendingProps,r=oe.current,o=!1,l=!!(128&t.flags);if((i=l)||(i=(null===e||null!==e.memoizedState)&&!!(2&r)),i?(o=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(r|=1),G(oe,1&r),null===e)return zl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=u.children,e=u.fallback,o?(u=t.mode,o=t.child,l={mode:"hidden",children:l},1&u||null===o?o=q0(l,u,0,null):(o.childLanes=0,o.pendingProps=l),e=In(e,u,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=di(n),t.memoizedState=fi,e):pi(t,l));if(null!==(r=e.memoizedState)&&null!==(i=r.dehydrated))return function(e,t,n,u,r,o,l){if(n)return 256&t.flags?(t.flags&=-257,u=ii(Error(T(422))),L0(e,t,l,u)):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=u.fallback,r=t.mode,u=q0({mode:"visible",children:u.children},r,0,null),o=In(o,r,l,null),o.flags|=2,u.return=t,o.return=t,u.sibling=o,t.child=u,1&t.mode&&au(t,e.child,null,l),t.child.memoizedState=di(l),t.memoizedState=fi,o);if(!(1&t.mode))return L0(e,t,l,null);if("$!"===r.data){if(u=r.nextSibling&&r.nextSibling.dataset)var i=u.dgst;return u=i,L0(e,t,l,u=ii(o=Error(T(419)),u,void 0))}if(i=!!(l&e.childLanes),Ie||i){if(null!==(u=he)){switch(l&-l){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}0!==(r=r&(u.suspendedLanes|l)?0:r)&&r!==o.retryLane&&(o.retryLane=r,Bt(e,r),yt(u,e,r,-1))}return Di(),L0(e,t,l,u=ii(Error(T(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=rh.bind(null,e),r._reactRetry=t,null):(e=o.treeContext,Qe=on(r.nextSibling),Ge=t,ee=!0,mt=null,null!==e&&(tt[nt++]=Ht,tt[nt++]=$t,tt[nt++]=Dn,Ht=e.id,$t=e.overflow,Dn=t),t=pi(t,u.children),t.flags|=4096,t)}(e,t,l,u,i,r,n);if(o){o=u.fallback,l=t.mode,i=(r=e.child).sibling;var a={mode:"hidden",children:u.children};return 1&l||t.child===r?(u=wn(r,a)).subtreeFlags=14680064&r.subtreeFlags:((u=t.child).childLanes=0,u.pendingProps=a,t.deletions=null),null!==i?o=wn(i,o):(o=In(o,l,n,null)).flags|=2,o.return=t,u.return=t,u.sibling=o,t.child=u,u=o,o=t.child,l=null===(l=e.child.memoizedState)?di(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=fi,u}return e=(o=e.child).sibling,u=wn(o,{mode:"visible",children:u.children}),!(1&t.mode)&&(u.lanes=n),u.return=t,u.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=u,t.memoizedState=null,u}function pi(e,t){return(t=q0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function L0(e,t,n,u){return null!==u&&Hl(u),au(t,e.child,null,n),(e=pi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function g1(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),Vl(e.return,t,n)}function hi(e,t,n,u,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=u,o.tail=n,o.tailMode=r)}function w1(e,t,n){var u=t.pendingProps,r=u.revealOrder,o=u.tail;if(Ne(e,t,u.children,n),2&(u=oe.current))u=1&u|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&g1(e,n,t);else if(19===e.tag)g1(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(G(oe,u),1&t.mode)switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===S0(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),hi(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===S0(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}hi(t,!0,n,null,o);break;case"together":hi(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function j0(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vt(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),jn|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(T(153));if(null!==t.child){for(n=wn(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=wn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function pr(e,t){if(!ee)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;null!==n;)null!==n.alternate&&(u=n),n=n.sibling;null===u?t||null===e.tail?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Se(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,u=0;if(t)for(var r=e.child;null!==r;)n|=r.lanes|r.childLanes,u|=14680064&r.subtreeFlags,u|=14680064&r.flags,r.return=e,r=r.sibling;else for(r=e.child;null!==r;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags,u|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function W3(e,t,n){var u=t.pendingProps;switch(Rl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:case 17:return Re(t.type)&&m0(),Se(t),null;case 3:return u=t.stateNode,fu(),J(Pe),J(ke),Yl(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(null===e||null===e.child)&&(x0(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==mt&&(Si(mt),mt=null))),mi(e,t),Se(t),null;case 5:Gl(t);var r=Mn(ar.current);if(n=t.type,null!==e&&null!=t.stateNode)y1(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(T(166));return Se(t),null}if(e=Mn(St.current),x0(t)){u=t.stateNode,n=t.type;var o=t.memoizedProps;switch(u[Ct]=t,u[ur]=o,e=!!(1&t.mode),n){case"dialog":K("cancel",u),K("close",u);break;case"iframe":case"object":case"embed":K("load",u);break;case"video":case"audio":for(r=0;r<er.length;r++)K(er[r],u);break;case"source":K("error",u);break;case"img":case"image":case"link":K("error",u),K("load",u);break;case"details":K("toggle",u);break;case"input":es(u,o),K("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!o.multiple},K("invalid",u);break;case"textarea":us(u,o),K("invalid",u)}for(var l in Qo(n,o),r=null,o)if(o.hasOwnProperty(l)){var i=o[l];"children"===l?"string"==typeof i?u.textContent!==i&&(!0!==o.suppressHydrationWarning&&d0(u.textContent,i,e),r=["children",i]):"number"==typeof i&&u.textContent!==""+i&&(!0!==o.suppressHydrationWarning&&d0(u.textContent,i,e),r=["children",""+i]):Nu.hasOwnProperty(l)&&null!=i&&"onScroll"===l&&K("scroll",u)}switch(n){case"input":Ur(u),ns(u,o,!0);break;case"textarea":Ur(u),os(u);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(u.onclick=p0)}u=r,t.updateQueue=u,null!==u&&(t.flags|=4)}else{l=9===r.nodeType?r:r.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ls(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof u.is?e=l.createElement(n,{is:u.is}):(e=l.createElement(n),"select"===n&&(l=e,u.multiple?l.multiple=!0:u.size&&(l.size=u.size))):e=l.createElementNS(e,n),e[Ct]=t,e[ur]=u,v1(e,t,!1,!1),t.stateNode=e;e:{switch(l=Yo(n,u),n){case"dialog":K("cancel",e),K("close",e),r=u;break;case"iframe":case"object":case"embed":K("load",e),r=u;break;case"video":case"audio":for(r=0;r<er.length;r++)K(er[r],e);r=u;break;case"source":K("error",e),r=u;break;case"img":case"image":case"link":K("error",e),K("load",e),r=u;break;case"details":K("toggle",e),r=u;break;case"input":es(e,u),r=Vo(e,u),K("invalid",e);break;case"option":default:r=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},r=re({},u,{value:void 0}),K("invalid",e);break;case"textarea":us(e,u),r=Wo(e,u),K("invalid",e)}for(o in Qo(n,r),i=r)if(i.hasOwnProperty(o)){var a=i[o];"style"===o?ss(e,a):"dangerouslySetInnerHTML"===o?null!=(a=a?a.__html:void 0)&&is(e,a):"children"===o?"string"==typeof a?("textarea"!==n||""!==a)&&Ou(e,a):"number"==typeof a&&Ou(e,""+a):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(Nu.hasOwnProperty(o)?null!=a&&"onScroll"===o&&K("scroll",e):null!=a&&Lo(e,o,a,l))}switch(n){case"input":Ur(e),ns(e,u,!1);break;case"textarea":Ur(e),os(e);break;case"option":null!=u.value&&e.setAttribute("value",""+Kt(u.value));break;case"select":e.multiple=!!u.multiple,null!=(o=u.value)?qn(e,!!u.multiple,o,!1):null!=u.defaultValue&&qn(e,!!u.multiple,u.defaultValue,!0);break;default:"function"==typeof r.onClick&&(e.onclick=p0)}switch(n){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Se(t),null;case 6:if(e&&null!=t.stateNode)x1(e,t,e.memoizedProps,u);else{if("string"!=typeof u&&null===t.stateNode)throw Error(T(166));if(n=Mn(ar.current),Mn(St.current),x0(t)){if(u=t.stateNode,n=t.memoizedProps,u[Ct]=t,(o=u.nodeValue!==n)&&null!==(e=Ge))switch(e.tag){case 3:d0(u.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&d0(u.nodeValue,n,!!(1&e.mode))}o&&(t.flags|=4)}else(u=(9===n.nodeType?n:n.ownerDocument).createTextNode(u))[Ct]=t,t.stateNode=u}return Se(t),null;case 13:if(J(oe),u=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ee&&null!==Qe&&1&t.mode&&!(128&t.flags))Ec(),iu(),t.flags|=98560,o=!1;else if(o=x0(t),null!==u&&null!==u.dehydrated){if(null===e){if(!o)throw Error(T(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(T(317));o[Ct]=t}else iu(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Se(t),o=!1}else null!==mt&&(Si(mt),mt=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((u=null!==u)!==(null!==e&&null!==e.memoizedState)&&u&&(t.child.flags|=8192,1&t.mode&&(null===e||1&oe.current?0===fe&&(fe=3):Di())),null!==t.updateQueue&&(t.flags|=4),Se(t),null);case 4:return fu(),mi(e,t),null===e&&tr(t.stateNode.containerInfo),Se(t),null;case 10:return Ul(t.type._context),Se(t),null;case 19:if(J(oe),null===(o=t.memoizedState))return Se(t),null;if(u=!!(128&t.flags),null===(l=o.rendering))if(u)pr(o,!1);else{if(0!==fe||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=S0(e))){for(t.flags|=128,pr(o,!1),null!==(u=l.updateQueue)&&(t.updateQueue=u,t.flags|=4),t.subtreeFlags=0,u=n,n=t.child;null!==n;)e=u,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return G(oe,1&oe.current|2),t.child}e=e.sibling}null!==o.tail&&ae()>mu&&(t.flags|=128,u=!0,pr(o,!1),t.lanes=4194304)}else{if(!u)if(null!==(e=S0(l))){if(t.flags|=128,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),pr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!ee)return Se(t),null}else 2*ae()-o.renderingStartTime>mu&&1073741824!==n&&(t.flags|=128,u=!0,pr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ae(),t.sibling=null,n=oe.current,G(oe,u?1&n|2:1&n),t):(Se(t),null);case 22:case 23:return Ti(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&1&t.mode?1073741824&Ye&&(Se(t),6&t.subtreeFlags&&(t.flags|=8192)):Se(t),null;case 24:case 25:return null}throw Error(T(156,t.tag))}function G3(e,t){switch(Rl(t),t.tag){case 1:return Re(t.type)&&m0(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return fu(),J(Pe),J(ke),Yl(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Gl(t),null;case 13:if(J(oe),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(T(340));iu()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return J(oe),null;case 4:return fu(),null;case 10:return Ul(t.type._context),null;case 22:case 23:return Ti(),null;default:return null}}v1=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},mi=function(){},y1=function(e,t,n,u){var r=e.memoizedProps;if(r!==u){e=t.stateNode,Mn(St.current);var l,o=null;switch(n){case"input":r=Vo(e,r),u=Vo(e,u),o=[];break;case"select":r=re({},r,{value:void 0}),u=re({},u,{value:void 0}),o=[];break;case"textarea":r=Wo(e,r),u=Wo(e,u),o=[];break;default:"function"!=typeof r.onClick&&"function"==typeof u.onClick&&(e.onclick=p0)}for(s in Qo(n,u),n=null,r)if(!u.hasOwnProperty(s)&&r.hasOwnProperty(s)&&null!=r[s])if("style"===s){var i=r[s];for(l in i)i.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(Nu.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in u){var a=u[s];if(i=null!=r?r[s]:void 0,u.hasOwnProperty(s)&&a!==i&&(null!=a||null!=i))if("style"===s)if(i){for(l in i)!i.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&i[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(s,n)),n=a;else"dangerouslySetInnerHTML"===s?(a=a?a.__html:void 0,i=i?i.__html:void 0,null!=a&&i!==a&&(o=o||[]).push(s,a)):"children"===s?"string"!=typeof a&&"number"!=typeof a||(o=o||[]).push(s,""+a):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(Nu.hasOwnProperty(s)?(null!=a&&"onScroll"===s&&K("scroll",e),o||i===a||(o=[])):(o=o||[]).push(s,a))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}},x1=function(e,t,n,u){n!==u&&(t.flags|=4)};var O0=!1,Ae=!1,Q3="function"==typeof WeakSet?WeakSet:Set,M=null;function pu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(u){ie(e,t,u)}else n.current=null}function gi(e,t,n){try{n()}catch(u){ie(e,t,u)}}var b1=!1;function hr(e,t,n){var u=t.updateQueue;if(null!==(u=null!==u?u.lastEffect:null)){var r=u=u.next;do{if((r.tag&e)===e){var o=r.destroy;r.destroy=void 0,void 0!==o&&gi(t,n,o)}r=r.next}while(r!==u)}}function P0(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var u=n.create;n.destroy=u()}n=n.next}while(n!==t)}}function wi(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function _1(e){var t=e.alternate;null!==t&&(e.alternate=null,_1(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Ct],delete t[ur],delete t[Ll],delete t[M3],delete t[L3])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function E1(e){return 5===e.tag||3===e.tag||4===e.tag}function k1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||E1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function vi(e,t,n){var u=e.tag;if(5===u||6===u)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=p0));else if(4!==u&&null!==(e=e.child))for(vi(e,t,n),e=e.sibling;null!==e;)vi(e,t,n),e=e.sibling}function yi(e,t,n){var u=e.tag;if(5===u||6===u)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==u&&null!==(e=e.child))for(yi(e,t,n),e=e.sibling;null!==e;)yi(e,t,n),e=e.sibling}var xe=null,wt=!1;function dn(e,t,n){for(n=n.child;null!==n;)C1(e,t,n),n=n.sibling}function C1(e,t,n){if(kt&&"function"==typeof kt.onCommitFiberUnmount)try{kt.onCommitFiberUnmount(Qr,n)}catch{}switch(n.tag){case 5:Ae||pu(n,t);case 6:var u=xe,r=wt;xe=null,dn(e,t,n),wt=r,null!==(xe=u)&&(wt?(e=xe,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):xe.removeChild(n.stateNode));break;case 18:null!==xe&&(wt?(e=xe,n=n.stateNode,8===e.nodeType?Ml(e.parentNode,n):1===e.nodeType&&Ml(e,n),qu(e)):Ml(xe,n.stateNode));break;case 4:u=xe,r=wt,xe=n.stateNode.containerInfo,wt=!0,dn(e,t,n),xe=u,wt=r;break;case 0:case 11:case 14:case 15:if(!Ae&&(null!==(u=n.updateQueue)&&null!==(u=u.lastEffect))){r=u=u.next;do{var o=r,l=o.destroy;o=o.tag,void 0!==l&&(2&o||4&o)&&gi(n,t,l),r=r.next}while(r!==u)}dn(e,t,n);break;case 1:if(!Ae&&(pu(n,t),"function"==typeof(u=n.stateNode).componentWillUnmount))try{u.props=n.memoizedProps,u.state=n.memoizedState,u.componentWillUnmount()}catch(i){ie(n,t,i)}dn(e,t,n);break;case 21:dn(e,t,n);break;case 22:1&n.mode?(Ae=(u=Ae)||null!==n.memoizedState,dn(e,t,n),Ae=u):dn(e,t,n);break;default:dn(e,t,n)}}function S1(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Q3),t.forEach((function(u){var r=oh.bind(null,e,u);n.has(u)||(n.add(u),u.then(r,r))}))}}function vt(e,t){var n=t.deletions;if(null!==n)for(var u=0;u<n.length;u++){var r=n[u];try{var o=e,l=t,i=l;e:for(;null!==i;){switch(i.tag){case 5:xe=i.stateNode,wt=!1;break e;case 3:case 4:xe=i.stateNode.containerInfo,wt=!0;break e}i=i.return}if(null===xe)throw Error(T(160));C1(o,l,r),xe=null,wt=!1;var a=r.alternate;null!==a&&(a.return=null),r.return=null}catch(s){ie(r,t,s)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)A1(t,e),t=t.sibling}function A1(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vt(t,e),Tt(e),4&u){try{hr(3,e,e.return),P0(3,e)}catch(x){ie(e,e.return,x)}try{hr(5,e,e.return)}catch(x){ie(e,e.return,x)}}break;case 1:vt(t,e),Tt(e),512&u&&null!==n&&pu(n,n.return);break;case 5:if(vt(t,e),Tt(e),512&u&&null!==n&&pu(n,n.return),32&e.flags){var r=e.stateNode;try{Ou(r,"")}catch(x){ie(e,e.return,x)}}if(4&u&&null!=(r=e.stateNode)){var o=e.memoizedProps,l=null!==n?n.memoizedProps:o,i=e.type,a=e.updateQueue;if(e.updateQueue=null,null!==a)try{"input"===i&&"radio"===o.type&&null!=o.name&&ts(r,o),Yo(i,l);var s=Yo(i,o);for(l=0;l<a.length;l+=2){var c=a[l],d=a[l+1];"style"===c?ss(r,d):"dangerouslySetInnerHTML"===c?is(r,d):"children"===c?Ou(r,d):Lo(r,c,d,s)}switch(i){case"input":Zo(r,o);break;case"textarea":rs(r,o);break;case"select":var h=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var w=o.value;null!=w?qn(r,!!o.multiple,w,!1):h!==!!o.multiple&&(null!=o.defaultValue?qn(r,!!o.multiple,o.defaultValue,!0):qn(r,!!o.multiple,o.multiple?[]:"",!1))}r[ur]=o}catch(x){ie(e,e.return,x)}}break;case 6:if(vt(t,e),Tt(e),4&u){if(null===e.stateNode)throw Error(T(162));r=e.stateNode,o=e.memoizedProps;try{r.nodeValue=o}catch(x){ie(e,e.return,x)}}break;case 3:if(vt(t,e),Tt(e),4&u&&null!==n&&n.memoizedState.isDehydrated)try{qu(t.containerInfo)}catch(x){ie(e,e.return,x)}break;case 4:default:vt(t,e),Tt(e);break;case 13:vt(t,e),Tt(e),8192&(r=e.child).flags&&(o=null!==r.memoizedState,r.stateNode.isHidden=o,!o||null!==r.alternate&&null!==r.alternate.memoizedState||(_i=ae())),4&u&&S1(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(Ae=(s=Ae)||c,vt(t,e),Ae=s):vt(t,e),Tt(e),8192&u){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&1&e.mode)for(M=e,c=e.child;null!==c;){for(d=M=c;null!==M;){switch(w=(h=M).child,h.tag){case 0:case 11:case 14:case 15:hr(4,h,h.return);break;case 1:pu(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){u=h,n=h.return;try{t=u,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(x){ie(u,n,x)}}break;case 5:pu(h,h.return);break;case 22:if(null!==h.memoizedState){F1(d);continue}}null!==w?(w.return=h,M=w):F1(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{r=d.stateNode,s?"function"==typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none":(i=d.stateNode,l=null!=(a=d.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,i.style.display=as("display",l))}catch(x){ie(e,e.return,x)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(x){ie(e,e.return,x)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:vt(t,e),Tt(e),4&u&&S1(e);case 21:}}function Tt(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(E1(n)){var u=n;break e}n=n.return}throw Error(T(160))}switch(u.tag){case 5:var r=u.stateNode;32&u.flags&&(Ou(r,""),u.flags&=-33),yi(e,k1(e),r);break;case 3:case 4:var l=u.stateNode.containerInfo;vi(e,k1(e),l);break;default:throw Error(T(161))}}catch(a){ie(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function X3(e,t,n){M=e,T1(e)}function T1(e,t,n){for(var u=!!(1&e.mode);null!==M;){var r=M,o=r.child;if(22===r.tag&&u){var l=null!==r.memoizedState||O0;if(!l){var i=r.alternate,a=null!==i&&null!==i.memoizedState||Ae;i=O0;var s=Ae;if(O0=l,(Ae=a)&&!s)for(M=r;null!==M;)a=(l=M).child,22===l.tag&&null!==l.memoizedState?N1(r):null!==a?(a.return=l,M=a):N1(r);for(;null!==o;)M=o,T1(o),o=o.sibling;M=r,O0=i,Ae=s}D1(e)}else 8772&r.subtreeFlags&&null!==o?(o.return=r,M=o):D1(e)}}function D1(e){for(;null!==M;){var t=M;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ae||P0(5,t);break;case 1:var u=t.stateNode;if(4&t.flags&&!Ae)if(null===n)u.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:gt(t.type,n.memoizedProps);u.componentDidUpdate(r,n.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Fc(t,o,u);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fc(t,l,n)}break;case 5:var i=t.stateNode;if(null===n&&4&t.flags){n=i;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var s=t.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var d=c.dehydrated;null!==d&&qu(d)}}}break;default:throw Error(T(163))}Ae||512&t.flags&&wi(t)}catch(h){ie(t,t.return,h)}}if(t===e){M=null;break}if(null!==(n=t.sibling)){n.return=t.return,M=n;break}M=t.return}}function F1(e){for(;null!==M;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(null!==n){n.return=t.return,M=n;break}M=t.return}}function N1(e){for(;null!==M;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{P0(4,t)}catch(a){ie(t,n,a)}break;case 1:var u=t.stateNode;if("function"==typeof u.componentDidMount){var r=t.return;try{u.componentDidMount()}catch(a){ie(t,r,a)}}var o=t.return;try{wi(t)}catch(a){ie(t,o,a)}break;case 5:var l=t.return;try{wi(t)}catch(a){ie(t,l,a)}}}catch(a){ie(t,t.return,a)}if(t===e){M=null;break}var i=t.sibling;if(null!==i){i.return=t.return,M=i;break}M=t.return}}var H1,K3=Math.ceil,R0=Rt.ReactCurrentDispatcher,xi=Rt.ReactCurrentOwner,ot=Rt.ReactCurrentBatchConfig,V=0,he=null,se=null,be=0,Ye=0,hu=ln(0),fe=0,mr=null,jn=0,I0=0,bi=0,gr=null,ze=null,_i=0,mu=1/0,Zt=null,z0=!1,Ei=null,pn=null,H0=!1,hn=null,$0=0,wr=0,ki=null,B0=-1,U0=0;function Me(){return 6&V?ae():-1!==B0?B0:B0=ae()}function mn(e){return 1&e.mode?2&V&&0!==be?be&-be:null!==O3.transition?(0===U0&&(U0=ks()),U0):(0!==(e=q)||(e=void 0===(e=window.event)?16:Ls(e.type)),e):1}function yt(e,t,n,u){if(50<wr)throw wr=0,ki=null,Error(T(185));$u(e,n,u),(!(2&V)||e!==he)&&(e===he&&(!(2&V)&&(I0|=n),4===fe&&gn(e,be)),He(e,u),1===n&&0===V&&!(1&t.mode)&&(mu=ae()+500,w0&&sn()))}function He(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-pt(o),i=1<<l,a=r[l];-1===a?(!(i&n)||i&u)&&(r[l]=jp(i,t)):a<=t&&(e.expiredLanes|=i),o&=~i}}(e,t);var u=Kr(e,e===he?be:0);if(0===u)null!==n&&bs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&bs(n),1===t)0===e.tag?function(e){w0=!0,vc(e)}(L1.bind(null,e)):vc(L1.bind(null,e)),F3((function(){!(6&V)&&sn()})),n=null;else{switch(Cs(u)){case 1:n=ul;break;case 4:n=_s;break;case 16:default:n=Gr;break;case 536870912:n=Es}n=$1(n,M1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function M1(e,t){if(B0=-1,U0=0,6&V)throw Error(T(327));var n=e.callbackNode;if(gu()&&e.callbackNode!==n)return null;var u=Kr(e,e===he?be:0);if(0===u)return null;if(30&u||u&e.expiredLanes||t)t=V0(e,u);else{t=u;var r=V;V|=2;var o=O1();for((he!==e||be!==t)&&(Zt=null,mu=ae()+500,Pn(e,t));;)try{th();break}catch(i){j1(e,i)}Bl(),R0.current=o,V=r,null!==se?t=0:(he=null,be=0,t=fe)}if(0!==t){if(2===t&&(0!==(r=rl(e))&&(u=r,t=Ci(e,r))),1===t)throw n=mr,Pn(e,0),gn(e,u),He(e,ae()),n;if(6===t)gn(e,u);else{if(r=e.current.alternate,!(30&u||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var u=0;u<n.length;u++){var r=n[u],o=r.getSnapshot;r=r.value;try{if(!ht(o(),r))return!1}catch{return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(r)||(t=V0(e,u),2===t&&(o=rl(e),0!==o&&(u=o,t=Ci(e,o))),1!==t)))throw n=mr,Pn(e,0),gn(e,u),He(e,ae()),n;switch(e.finishedWork=r,e.finishedLanes=u,t){case 0:case 1:throw Error(T(345));case 2:case 5:Rn(e,ze,Zt);break;case 3:if(gn(e,u),(130023424&u)===u&&10<(t=_i+500-ae())){if(0!==Kr(e,0))break;if(((r=e.suspendedLanes)&u)!==u){Me(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Nl(Rn.bind(null,e,ze,Zt),t);break}Rn(e,ze,Zt);break;case 4:if(gn(e,u),(4194240&u)===u)break;for(t=e.eventTimes,r=-1;0<u;){var l=31-pt(u);o=1<<l,(l=t[l])>r&&(r=l),u&=~o}if(u=r,10<(u=(120>(u=ae()-u)?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*K3(u/1960))-u)){e.timeoutHandle=Nl(Rn.bind(null,e,ze,Zt),u);break}Rn(e,ze,Zt);break;default:throw Error(T(329))}}}return He(e,ae()),e.callbackNode===n?M1.bind(null,e):null}function Ci(e,t){var n=gr;return e.current.memoizedState.isDehydrated&&(Pn(e,t).flags|=256),2!==(e=V0(e,t))&&(t=ze,ze=n,null!==t&&Si(t)),e}function Si(e){null===ze?ze=e:ze.push.apply(ze,e)}function gn(e,t){for(t&=~bi,t&=~I0,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-pt(t),u=1<<n;e[n]=-1,t&=~u}}function L1(e){if(6&V)throw Error(T(327));gu();var t=Kr(e,0);if(!(1&t))return He(e,ae()),null;var n=V0(e,t);if(0!==e.tag&&2===n){var u=rl(e);0!==u&&(t=u,n=Ci(e,u))}if(1===n)throw n=mr,Pn(e,0),gn(e,t),He(e,ae()),n;if(6===n)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rn(e,ze,Zt),He(e,ae()),null}function Ai(e,t){var n=V;V|=1;try{return e(t)}finally{0===(V=n)&&(mu=ae()+500,w0&&sn())}}function On(e){null!==hn&&0===hn.tag&&!(6&V)&&gu();var t=V;V|=1;var n=ot.transition,u=q;try{if(ot.transition=null,q=1,e)return e()}finally{q=u,ot.transition=n,!(6&(V=t))&&sn()}}function Ti(){Ye=hu.current,J(hu)}function Pn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,D3(n)),null!==se)for(n=se.return;null!==n;){var u=n;switch(Rl(u),u.tag){case 1:null!=(u=u.type.childContextTypes)&&m0();break;case 3:fu(),J(Pe),J(ke),Yl();break;case 5:Gl(u);break;case 4:fu();break;case 13:case 19:J(oe);break;case 10:Ul(u.type._context);break;case 22:case 23:Ti()}n=n.return}if(he=e,se=e=wn(e.current,null),be=Ye=t,fe=0,mr=null,bi=I0=jn=0,ze=gr=null,null!==Nn){for(t=0;t<Nn.length;t++)if(null!==(u=(n=Nn[t]).interleaved)){n.interleaved=null;var r=u.next,o=n.pending;if(null!==o){var l=o.next;o.next=r,u.next=l}n.pending=u}Nn=null}return e}function j1(e,t){for(;;){var n=se;try{if(Bl(),A0.current=N0,T0){for(var u=le.memoizedState;null!==u;){var r=u.queue;null!==r&&(r.pending=null),u=u.next}T0=!1}if(Ln=0,pe=ce=le=null,sr=!1,cr=0,xi.current=null,null===n||null===n.return){fe=1,mr=t,se=null;break}e:{var o=e,l=n.return,i=n,a=t;if(t=be,i.flags|=32768,null!==a&&"object"==typeof a&&"function"==typeof a.then){var s=a,c=i,d=c.tag;if(!(1&c.mode||0!==d&&11!==d&&15!==d)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var w=o1(l);if(null!==w){w.flags&=-257,l1(w,l,i,0,t),1&w.mode&&r1(o,s,t),a=s;var m=(t=w).updateQueue;if(null===m){var x=new Set;x.add(a),t.updateQueue=x}else m.add(a);break e}if(!(1&t)){r1(o,s,t),Di();break e}a=Error(T(426))}else if(ee&&1&i.mode){var S=o1(l);if(null!==S){!(65536&S.flags)&&(S.flags|=256),l1(S,l,i,0,t),Hl(du(a,i));break e}}o=a=du(a,i),4!==fe&&(fe=2),null===gr?gr=[o]:gr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Dc(o,n1(0,a,t));break e;case 1:i=a;var f=o.type,v=o.stateNode;if(!(128&o.flags||"function"!=typeof f.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==pn&&pn.has(v)))){o.flags|=65536,t&=-t,o.lanes|=t,Dc(o,u1(o,i,t));break e}}o=o.return}while(null!==o)}R1(n)}catch(k){t=k,se===n&&null!==n&&(se=n=n.return);continue}break}}function O1(){var e=R0.current;return R0.current=N0,null===e?N0:e}function Di(){(0===fe||3===fe||2===fe)&&(fe=4),null===he||!(268435455&jn)&&!(268435455&I0)||gn(he,be)}function V0(e,t){var n=V;V|=2;var u=O1();for((he!==e||be!==t)&&(Zt=null,Pn(e,t));;)try{eh();break}catch(r){j1(e,r)}if(Bl(),V=n,R0.current=u,null!==se)throw Error(T(261));return he=null,be=0,fe}function eh(){for(;null!==se;)P1(se)}function th(){for(;null!==se&&!Sp();)P1(se)}function P1(e){var t=H1(e.alternate,e,Ye);e.memoizedProps=e.pendingProps,null===t?R1(e):se=t,xi.current=null}function R1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=G3(n,t)))return n.flags&=32767,void(se=n);if(null===e)return fe=6,void(se=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=W3(n,t,Ye)))return void(se=n);if(null!==(t=t.sibling))return void(se=t);se=t=e}while(null!==t);0===fe&&(fe=5)}function Rn(e,t,n){var u=q,r=ot.transition;try{ot.transition=null,q=1,function(e,t,n,u){do{gu()}while(null!==hn);if(6&V)throw Error(T(327));n=e.finishedWork;var r=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(T(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0<n;){var r=31-pt(n),o=1<<r;t[r]=0,u[r]=-1,e[r]=-1,n&=~o}}(e,o),e===he&&(se=he=null,be=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||H0||(H0=!0,$1(Gr,(function(){return gu(),null}))),o=!!(15990&n.flags),15990&n.subtreeFlags||o){o=ot.transition,ot.transition=null;var l=q;q=1;var i=V;V|=4,xi.current=null,function(e,t){if(Tl=t0,xl(e=Js())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var u=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(u&&0!==u.rangeCount){n=u.anchorNode;var r=u.anchorOffset,o=u.focusNode;u=u.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,i=-1,a=-1,s=0,c=0,d=e,h=null;t:for(;;){for(var w;d!==n||0!==r&&3!==d.nodeType||(i=l+r),d!==o||0!==u&&3!==d.nodeType||(a=l+u),3===d.nodeType&&(l+=d.nodeValue.length),null!==(w=d.firstChild);)h=d,d=w;for(;;){if(d===e)break t;if(h===n&&++s===r&&(i=l),h===o&&++c===u&&(a=l),null!==(w=d.nextSibling))break;h=(d=h).parentNode}d=w}n=-1===i||-1===a?null:{start:i,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Dl={focusedElem:e,selectionRange:n},t0=!1,M=t;null!==M;)if(e=(t=M).child,1028&t.subtreeFlags&&null!==e)e.return=t,M=e;else for(;null!==M;){t=M;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var x=m.memoizedProps,S=m.memoizedState,y=t.stateNode,f=y.getSnapshotBeforeUpdate(t.elementType===t.type?x:gt(t.type,x),S);y.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var v=t.stateNode.containerInfo;1===v.nodeType?v.textContent="":9===v.nodeType&&v.documentElement&&v.removeChild(v.documentElement);break;default:throw Error(T(163))}}catch(_){ie(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,M=e;break}M=t.return}m=b1,b1=!1}(e,n),A1(n,e),_3(Dl),t0=!!Tl,Dl=Tl=null,e.current=n,X3(n),Ap(),V=i,q=l,ot.transition=o}else e.current=n;if(H0&&(H0=!1,hn=e,$0=r),o=e.pendingLanes,0===o&&(pn=null),function(e){if(kt&&"function"==typeof kt.onCommitFiberRoot)try{kt.onCommitFiberRoot(Qr,e,void 0,!(128&~e.current.flags))}catch{}}(n.stateNode),He(e,ae()),null!==t)for(u=e.onRecoverableError,n=0;n<t.length;n++)r=t[n],u(r.value,{componentStack:r.stack,digest:r.digest});if(z0)throw z0=!1,e=Ei,Ei=null,e;1&$0&&0!==e.tag&&gu(),o=e.pendingLanes,1&o?e===ki?wr++:(wr=0,ki=e):wr=0,sn()}(e,t,n,u)}finally{ot.transition=r,q=u}return null}function gu(){if(null!==hn){var e=Cs($0),t=ot.transition,n=q;try{if(ot.transition=null,q=16>e?16:e,null===hn)var u=!1;else{if(e=hn,hn=null,$0=0,6&V)throw Error(T(331));var r=V;for(V|=4,M=e.current;null!==M;){var o=M,l=o.child;if(16&M.flags){var i=o.deletions;if(null!==i){for(var a=0;a<i.length;a++){var s=i[a];for(M=s;null!==M;){var c=M;switch(c.tag){case 0:case 11:case 15:hr(8,c,o)}var d=c.child;if(null!==d)d.return=c,M=d;else for(;null!==M;){var h=(c=M).sibling,w=c.return;if(_1(c),c===s){M=null;break}if(null!==h){h.return=w,M=h;break}M=w}}}var m=o.alternate;if(null!==m){var x=m.child;if(null!==x){m.child=null;do{var S=x.sibling;x.sibling=null,x=S}while(null!==x)}}M=o}}if(2064&o.subtreeFlags&&null!==l)l.return=o,M=l;else e:for(;null!==M;){if(2048&(o=M).flags)switch(o.tag){case 0:case 11:case 15:hr(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,M=y;break e}M=o.return}}var f=e.current;for(M=f;null!==M;){var v=(l=M).child;if(2064&l.subtreeFlags&&null!==v)v.return=l,M=v;else e:for(l=f;null!==M;){if(2048&(i=M).flags)try{switch(i.tag){case 0:case 11:case 15:P0(9,i)}}catch(k){ie(i,i.return,k)}if(i===l){M=null;break e}var _=i.sibling;if(null!==_){_.return=i.return,M=_;break e}M=i.return}}if(V=r,sn(),kt&&"function"==typeof kt.onPostCommitFiberRoot)try{kt.onPostCommitFiberRoot(Qr,e)}catch{}u=!0}return u}finally{q=n,ot.transition=t}}return!1}function I1(e,t,n){e=fn(e,t=n1(0,t=du(n,t),1),1),t=Me(),null!==e&&($u(e,1,t),He(e,t))}function ie(e,t,n){if(3===e.tag)I1(e,e,n);else for(;null!==t;){if(3===t.tag){I1(t,e,n);break}if(1===t.tag){var u=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof u.componentDidCatch&&(null===pn||!pn.has(u))){t=fn(t,e=u1(t,e=du(n,e),1),1),e=Me(),null!==t&&($u(t,1,e),He(t,e));break}}t=t.return}}function uh(e,t,n){var u=e.pingCache;null!==u&&u.delete(t),t=Me(),e.pingedLanes|=e.suspendedLanes&n,he===e&&(be&n)===n&&(4===fe||3===fe&&(130023424&be)===be&&500>ae()-_i?Pn(e,0):bi|=n),He(e,t)}function z1(e,t){0===t&&(1&e.mode?(t=Xr,!(130023424&(Xr<<=1))&&(Xr=4194304)):t=1);var n=Me();null!==(e=Bt(e,t))&&($u(e,t,n),He(e,n))}function rh(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),z1(e,n)}function oh(e,t){var n=0;switch(e.tag){case 13:var u=e.stateNode,r=e.memoizedState;null!==r&&(n=r.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(T(314))}null!==u&&u.delete(t),z1(e,n)}function $1(e,t){return xs(e,t)}function lh(e,t,n,u){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,u){return new lh(e,t,n,u)}function Fi(e){return!(!(e=e.prototype)||!e.isReactComponent)}function wn(e,t){var n=e.alternate;return null===n?((n=lt(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Z0(e,t,n,u,r,o){var l=2;if(u=e,"function"==typeof e)Fi(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case Zn:return In(n.children,r,o,t);case jo:l=8,r|=8;break;case Oo:return(e=lt(12,n,t,2|r)).elementType=Oo,e.lanes=o,e;case Ro:return(e=lt(13,n,t,r)).elementType=Ro,e.lanes=o,e;case Io:return(e=lt(19,n,t,r)).elementType=Io,e.lanes=o,e;case Ya:return q0(n,r,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ga:l=10;break e;case Qa:l=9;break e;case Po:l=11;break e;case zo:l=14;break e;case Xt:l=16,u=null;break e}throw Error(T(130,null==e?e:typeof e,""))}return(t=lt(l,n,t,r)).elementType=e,t.type=u,t.lanes=o,t}function In(e,t,n,u){return(e=lt(7,e,u,t)).lanes=n,e}function q0(e,t,n,u){return(e=lt(22,e,u,t)).elementType=Ya,e.lanes=n,e.stateNode={isHidden:!1},e}function Ni(e,t,n){return(e=lt(6,e,null,t)).lanes=n,e}function Mi(e,t,n){return(t=lt(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ah(e,t,n,u,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ol(0),this.expirationTimes=ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ol(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Li(e,t,n,u,r,o,l,i,a){return e=new ah(e,t,n,i,a),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ql(o),e}function B1(e){if(!e)return an;e:{if(Sn(e=e._reactInternals)!==e||1!==e.tag)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Re(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(T(171))}if(1===e.tag){var n=e.type;if(Re(n))return gc(e,n,t)}return t}function U1(e,t,n,u,r,o,l,i,a){return(e=Li(n,u,!0,e,0,o,0,i,a)).context=B1(null),n=e.current,(o=Ut(u=Me(),r=mn(n))).callback=t??null,fn(n,o,r),e.current.lanes=r,$u(e,r,u),He(e,u),e}function W0(e,t,n,u){var r=t.current,o=Me(),l=mn(r);return n=B1(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ut(o,l)).payload={element:e},null!==(u=void 0===u?null:u)&&(t.callback=u),null!==(e=fn(r,t,l))&&(yt(e,r,l,o),k0(e,r,l)),l}function G0(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function V1(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ji(e,t){V1(e,t),(e=e.alternate)&&V1(e,t)}H1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pe.current)Ie=!0;else{if(!(e.lanes&n||128&t.flags))return Ie=!1,function(e,t,n){switch(t.tag){case 3:p1(t),iu();break;case 5:Nc(t);break;case 1:Re(t.type)&&g0(t);break;case 4:Wl(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,r=t.memoizedProps.value;G(_0,u._currentValue),u._currentValue=r;break;case 13:if(null!==(u=t.memoizedState))return null!==u.dehydrated?(G(oe,1&oe.current),t.flags|=128,null):n&t.child.childLanes?m1(e,t,n):(G(oe,1&oe.current),null!==(e=Vt(e,t,n))?e.sibling:null);G(oe,1&oe.current);break;case 19:if(u=!!(n&t.childLanes),128&e.flags){if(u)return w1(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),G(oe,oe.current),u)break;return null;case 22:case 23:return t.lanes=0,c1(e,t,n)}return Vt(e,t,n)}(e,t,n);Ie=!!(131072&e.flags)}else Ie=!1,ee&&1048576&t.flags&&yc(t,y0,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;j0(e,t),e=t.pendingProps;var r=ru(t,ke.current);cu(t,n),r=Jl(null,t,u,e,r,n);var o=ei();return t.flags|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(u)?(o=!0,g0(t)):o=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,ql(t),r.updater=M0,t.stateNode=r,r._reactInternals=t,li(t,u,e,n),t=ci(null,t,u,!0,o,n)):(t.tag=0,ee&&o&&Pl(t),Ne(null,t,r,n),t=t.child),t;case 16:u=t.elementType;e:{switch(j0(e,t),e=t.pendingProps,u=(r=u._init)(u._payload),t.type=u,r=t.tag=function(e){if("function"==typeof e)return Fi(e)?1:0;if(null!=e){if((e=e.$$typeof)===Po)return 11;if(e===zo)return 14}return 2}(u),e=gt(u,e),r){case 0:t=si(null,t,u,e,n);break e;case 1:t=d1(null,t,u,e,n);break e;case 11:t=i1(null,t,u,e,n);break e;case 14:t=a1(null,t,u,gt(u.type,e),n);break e}throw Error(T(306,u,""))}return t;case 0:return u=t.type,r=t.pendingProps,si(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 1:return u=t.type,r=t.pendingProps,d1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 3:e:{if(p1(t),null===e)throw Error(T(387));u=t.pendingProps,r=(o=t.memoizedState).element,Tc(e,t),C0(t,u,null,n);var l=t.memoizedState;if(u=l.element,o.isDehydrated){if(o={element:u,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=h1(e,t,u,n,r=du(Error(T(423)),t));break e}if(u!==r){t=h1(e,t,u,n,r=du(Error(T(424)),t));break e}for(Qe=on(t.stateNode.containerInfo.firstChild),Ge=t,ee=!0,mt=null,n=Sc(t,null,u,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(iu(),u===r){t=Vt(e,t,n);break e}Ne(e,t,u,n)}t=t.child}return t;case 5:return Nc(t),null===e&&zl(t),u=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,l=r.children,Fl(u,r)?l=null:null!==o&&Fl(u,o)&&(t.flags|=32),f1(e,t),Ne(e,t,l,n),t.child;case 6:return null===e&&zl(t),null;case 13:return m1(e,t,n);case 4:return Wl(t,t.stateNode.containerInfo),u=t.pendingProps,null===e?t.child=au(t,null,u,n):Ne(e,t,u,n),t.child;case 11:return u=t.type,r=t.pendingProps,i1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 7:return Ne(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ne(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(u=t.type._context,r=t.pendingProps,o=t.memoizedProps,l=r.value,G(_0,u._currentValue),u._currentValue=l,null!==o)if(ht(o.value,l)){if(o.children===r.children&&!Pe.current){t=Vt(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var i=o.dependencies;if(null!==i){l=o.child;for(var a=i.firstContext;null!==a;){if(a.context===u){if(1===o.tag){(a=Ut(-1,n&-n)).tag=2;var s=o.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?a.next=a:(a.next=c.next,c.next=a),s.pending=a}}o.lanes|=n,null!==(a=o.alternate)&&(a.lanes|=n),Vl(o.return,n,t),i.lanes|=n;break}a=a.next}}else if(10===o.tag)l=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(l=o.return))throw Error(T(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),Vl(l,n,t),l=o.sibling}else l=o.child;if(null!==l)l.return=o;else for(l=o;null!==l;){if(l===t){l=null;break}if(null!==(o=l.sibling)){o.return=l.return,l=o;break}l=l.return}o=l}Ne(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,u=t.pendingProps.children,cu(t,n),u=u(r=ut(r)),t.flags|=1,Ne(e,t,u,n),t.child;case 14:return r=gt(u=t.type,t.pendingProps),a1(e,t,u,r=gt(u.type,r),n);case 15:return s1(e,t,t.type,t.pendingProps,n);case 17:return u=t.type,r=t.pendingProps,r=t.elementType===u?r:gt(u,r),j0(e,t),t.tag=1,Re(u)?(e=!0,g0(t)):e=!1,cu(t,n),e1(t,u,r),li(t,u,r,n),ci(null,t,u,!0,e,n);case 19:return w1(e,t,n);case 22:return c1(e,t,n)}throw Error(T(156,t.tag))};var Z1="function"==typeof reportError?reportError:function(e){console.error(e)};function Oi(e){this._internalRoot=e}function Q0(e){this._internalRoot=e}function Pi(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Y0(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function q1(){}function X0(e,t,n,u,r){var o=n._reactRootContainer;if(o){var l=o;if("function"==typeof r){var i=r;r=function(){var a=G0(l);i.call(a)}}W0(t,l,e,r)}else l=function(e,t,n,u,r){if(r){if("function"==typeof u){var o=u;u=function(){var s=G0(l);o.call(s)}}var l=U1(t,u,e,0,null,!1,0,"",q1);return e._reactRootContainer=l,e[It]=l.current,tr(8===e.nodeType?e.parentNode:e),On(),l}for(;r=e.lastChild;)e.removeChild(r);if("function"==typeof u){var i=u;u=function(){var s=G0(a);i.call(s)}}var a=Li(e,0,!1,null,0,!1,0,"",q1);return e._reactRootContainer=a,e[It]=a.current,tr(8===e.nodeType?e.parentNode:e),On((function(){W0(t,a,n,u)})),a}(n,t,e,r,u);return G0(l)}Q0.prototype.render=Oi.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(T(409));W0(e,t,null,null)},Q0.prototype.unmount=Oi.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;On((function(){W0(null,e,null,null)})),t[It]=null}},Q0.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ts();e={blockedOn:null,target:e,priority:t};for(var n=0;n<nn.length&&0!==t&&t<nn[n].priority;n++);nn.splice(n,0,e),0===n&&Ns(e)}},Ss=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Hu(t.pendingLanes);0!==n&&(ll(t,1|n),He(t,ae()),!(6&V)&&(mu=ae()+500,sn()))}break;case 13:On((function(){var u=Bt(e,1);if(null!==u){var r=Me();yt(u,e,1,r)}})),ji(e,1)}},il=function(e){if(13===e.tag){var t=Bt(e,134217728);if(null!==t)yt(t,e,134217728,Me());ji(e,134217728)}},As=function(e){if(13===e.tag){var t=mn(e),n=Bt(e,t);if(null!==n)yt(n,e,t,Me());ji(e,t)}},Ts=function(){return q},Ds=function(e,t){var n=q;try{return q=e,t()}finally{q=n}},Jo=function(e,t,n){switch(t){case"input":if(Zo(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var u=n[t];if(u!==e&&u.form===e.form){var r=h0(u);if(!r)throw Error(T(90));Ja(u),Zo(u,r)}}}break;case"textarea":rs(e,n);break;case"select":null!=(t=n.value)&&qn(e,!!n.multiple,t,!1)}},ps=Ai,hs=On;var dh={usingClientEntryPoint:!1,Events:[rr,nu,h0,fs,ds,Ai]},vr={findFiberByHostInstance:An,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ph={bundleType:vr.bundleType,version:vr.version,rendererPackageName:vr.rendererPackageName,rendererConfig:vr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Rt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=vs(e))?null:e.stateNode},findFiberByHostInstance:vr.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var K0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!K0.isDisabled&&K0.supportsFiber)try{Qr=K0.inject(ph),kt=K0}catch{}}Ze.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dh,Ze.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Pi(t))throw Error(T(200));return function(e,t,n){var u=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Vn,key:null==u?null:""+u,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},Ze.createRoot=function(e,t){if(!Pi(e))throw Error(T(299));var n=!1,u="",r=Z1;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=Li(e,1,!1,null,0,n,0,u,r),e[It]=t.current,tr(8===e.nodeType?e.parentNode:e),new Oi(t)},Ze.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=null===(e=vs(t))?null:e.stateNode},Ze.flushSync=function(e){return On(e)},Ze.hydrate=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!0,n)},Ze.hydrateRoot=function(e,t,n){if(!Pi(e))throw Error(T(405));var u=null!=n&&n.hydratedSources||null,r=!1,o="",l=Z1;if(null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=U1(t,null,e,1,n??null,r,0,o,l),e[It]=t.current,tr(e),u)for(e=0;e<u.length;e++)r=(r=(n=u[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,r]:t.mutableSourceEagerHydrationData.push(n,r);return new Q0(t)},Ze.render=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!1,n)},Ze.unmountComponentAtNode=function(e){if(!Y0(e))throw Error(T(40));return!!e._reactRootContainer&&(On((function(){X0(null,null,e,!1,(function(){e._reactRootContainer=null,e[It]=null}))})),!0)},Ze.unstable_batchedUpdates=Ai,Ze.unstable_renderSubtreeIntoContainer=function(e,t,n,u){if(!Y0(n))throw Error(T(200));if(null==e||void 0===e._reactInternals)throw Error(T(38));return X0(e,t,n,!1,u)},Ze.version="18.3.1-next-f1338f8080-20240426",function W1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(W1)}catch(e){console.error(e)}}(),Ba.exports=Ze;var Ri=Ba.exports,G1=Ri;Do.createRoot=G1.createRoot,Do.hydrateRoot=G1.hydrateRoot;const Ii=E.createContext(null),Q1={embedId:null,brandName:"Rudi",brandSlogan:"My default brand slogan",brandImageUrl:null,headerBgColor:"#50A0FF",headerTextColor:"#FFFFFF",headerBgPattern:"dog",assistantIcon:null,buttonColor:"#262626",chatIcon:"plus",chatIconUrl:null,arrowDownColor:"white",noSponsor:"true",position:"bottom-right",offsetBottom:"0px",userBgColor:null,userTextColor:null,assistantBgColor:null,assistantTextColor:null,socialFbUrl:null,socialLineUrl:null,socialPhoneUrl:null,greeting:null,greetings:null,defaultSuggestions:null,autoSuggestions:"off",fetchSuggestions:"off",windowHeight:null,windowWidth:null,textSize:null,hideBubble:"off",allowFullscreen:"off",openOnLoad:"off",supportEmail:null,showRag:null,showCopyAction:null,showSuggestAction:null,showReportAction:null,showAssistants:null,language:"en",chatFnVersion:"v2",prompt:null,model:null,temperature:null,placeholder:"Talk with me",bgColorChat:"#f3f4f6",sizeOpenButton:56};const J0="___anm-chat-widget-open___",Y1="___anm-chat-greetings-shown___";const vh=E.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var yh=Object.defineProperty,eo=Object.getOwnPropertySymbols,X1=Object.prototype.hasOwnProperty,K1=Object.prototype.propertyIsEnumerable,J1=(e,t,n)=>t in e?yh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ef=(e,t)=>{for(var n in t||(t={}))X1.call(t,n)&&J1(e,n,t[n]);if(eo)for(var n of eo(t))K1.call(t,n)&&J1(e,n,t[n]);return e},tf=(e,t)=>{var n={};for(var u in e)X1.call(e,u)&&t.indexOf(u)<0&&(n[u]=e[u]);if(null!=e&&eo)for(var u of eo(e))t.indexOf(u)<0&&K1.call(e,u)&&(n[u]=e[u]);return n};const nf=E.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:o,weight:l,mirrored:i,children:a,weights:s}=n,c=tf(n,["alt","color","size","weight","mirrored","children","weights"]),d=E.useContext(vh),{color:h="currentColor",size:w,weight:m="regular",mirrored:x=!1}=d,S=tf(d,["color","size","weight","mirrored"]);return g.createElement("svg",ef(ef({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o??w,height:o??w,fill:r??h,viewBox:"0 0 256 256",transform:i||x?"scale(-1, 1)":void 0},S),c),!!u&&g.createElement("title",null,u),a,s.get(l??m))}));nf.displayName="IconBase";const it=nf,xh=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"}),g.createElement("path",{d:"M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"}))]]);var bh=Object.defineProperty,_h=Object.defineProperties,Eh=Object.getOwnPropertyDescriptors,uf=Object.getOwnPropertySymbols,kh=Object.prototype.hasOwnProperty,Ch=Object.prototype.propertyIsEnumerable,rf=(e,t,n)=>t in e?bh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const of=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>_h(e,Eh(t)))(((e,t)=>{for(var n in t||(t={}))kh.call(t,n)&&rf(e,n,t[n]);if(uf)for(var n of uf(t))Ch.call(t,n)&&rf(e,n,t[n]);return e})({ref:t},e),{weights:xh}))));of.displayName="ArrowDown";const Th=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M241,150.65s0,0,0-.05a51.33,51.33,0,0,0-2.53-5.9L196.93,50.18a12,12,0,0,0-2.5-3.65,36,36,0,0,0-50.92,0A12,12,0,0,0,140,55V76H116V55a12,12,0,0,0-3.51-8.48,36,36,0,0,0-50.92,0,12,12,0,0,0-2.5,3.65L17.53,144.7A51.33,51.33,0,0,0,15,150.6s0,0,0,.05A52,52,0,1,0,116,168V100h24v68a52,52,0,1,0,101-17.35ZM80,62.28a12,12,0,0,1,12-1.22v63.15a51.9,51.9,0,0,0-35.9-7.62ZM64,196a28,28,0,1,1,28-28A28,28,0,0,1,64,196ZM164,61.06a12.06,12.06,0,0,1,12,1.22l23.87,54.31a51.9,51.9,0,0,0-35.9,7.62ZM192,196a28,28,0,1,1,28-28A28,28,0,0,1,192,196Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M104,168a40,40,0,1,1-40-40A40,40,0,0,1,104,168Zm88-40a40,40,0,1,0,40,40A40,40,0,0,0,192,128Z",opacity:"0.2"}),g.createElement("path",{d:"M237.2,151.87v0a47.1,47.1,0,0,0-2.35-5.45L193.26,51.8a7.82,7.82,0,0,0-1.66-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,7.82,7.82,0,0,0-1.66,2.44L21.15,146.4a47.1,47.1,0,0,0-2.35,5.45v0A48,48,0,1,0,112,168V96h32v72a48,48,0,1,0,93.2-16.13ZM76.71,59.75a16,16,0,0,1,19.29-1v73.51a47.9,47.9,0,0,0-46.79-9.92ZM64,200a32,32,0,1,1,32-32A32,32,0,0,1,64,200ZM160,58.74a16,16,0,0,1,19.29,1l27.5,62.58A47.9,47.9,0,0,0,160,132.25ZM192,200a32,32,0,1,1,32-32A32,32,0,0,1,192,200Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M237.22,151.9l0-.1a1.42,1.42,0,0,0-.07-.22,48.46,48.46,0,0,0-2.31-5.3L193.27,51.8a8,8,0,0,0-1.67-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,8,8,0,0,0-1.67,2.44L21.2,146.28a48.46,48.46,0,0,0-2.31,5.3,1.72,1.72,0,0,0-.07.21s0,.08,0,.11a48,48,0,0,0,90.32,32.51,47.49,47.49,0,0,0,2.9-16.59V96h32v71.83a47.49,47.49,0,0,0,2.9,16.59,48,48,0,0,0,90.32-32.51Zm-143.15,27a32,32,0,0,1-60.2-21.71l1.81-4.13A32,32,0,0,1,96,167.88V168h0A32,32,0,0,1,94.07,178.94ZM203,198.07A32,32,0,0,1,160,168h0v-.11a32,32,0,0,1,60.32-14.78l1.81,4.13A32,32,0,0,1,203,198.07Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M233,147.24,191.43,52.6a6,6,0,0,0-1.25-1.83,30,30,0,0,0-42.42,0A6,6,0,0,0,146,55V82H110V55a6,6,0,0,0-1.76-4.25,30,30,0,0,0-42.42,0,6,6,0,0,0-1.25,1.83L23,147.24A46,46,0,1,0,110,168V94h36v74a46,46,0,1,0,87-20.76ZM64,202a34,34,0,1,1,34-34A34,34,0,0,1,64,202Zm0-80a45.77,45.77,0,0,0-18.55,3.92L75.06,58.54A18,18,0,0,1,98,57.71V137A45.89,45.89,0,0,0,64,122Zm94-64.28a18,18,0,0,1,22.94.83l29.61,67.37A45.9,45.9,0,0,0,158,137ZM192,202a34,34,0,1,1,34-34A34,34,0,0,1,192,202Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M237.2,151.87v0a47.1,47.1,0,0,0-2.35-5.45L193.26,51.8a7.82,7.82,0,0,0-1.66-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,7.82,7.82,0,0,0-1.66,2.44L21.15,146.4a47.1,47.1,0,0,0-2.35,5.45v0A48,48,0,1,0,112,168V96h32v72a48,48,0,1,0,93.2-16.13ZM76.71,59.75a16,16,0,0,1,19.29-1v73.51a47.9,47.9,0,0,0-46.79-9.92ZM64,200a32,32,0,1,1,32-32A32,32,0,0,1,64,200ZM160,58.74a16,16,0,0,1,19.29,1l27.5,62.58A47.9,47.9,0,0,0,160,132.25ZM192,200a32,32,0,1,1,32-32A32,32,0,0,1,192,200Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M231.22,148.09,189.6,53.41a3.94,3.94,0,0,0-.83-1.22,28,28,0,0,0-39.6,0A4,4,0,0,0,148,55V84H108V55a4,4,0,0,0-1.17-2.83,28,28,0,0,0-39.6,0,3.94,3.94,0,0,0-.83,1.22L24.78,148.09A44,44,0,1,0,108,168V92h40v76a44,44,0,1,0,83.22-19.91ZM64,204a36,36,0,1,1,36-36A36,36,0,0,1,64,204Zm0-80a43.78,43.78,0,0,0-22.66,6.3L73.4,57.35a20,20,0,0,1,26.6-.59v86A44,44,0,0,0,64,124Zm92-67.23a20,20,0,0,1,26.6.59l32.06,72.94A43.92,43.92,0,0,0,156,142.74ZM192,204a36,36,0,1,1,36-36A36,36,0,0,1,192,204Z"}))]]);var Dh=Object.defineProperty,Fh=Object.defineProperties,Nh=Object.getOwnPropertyDescriptors,lf=Object.getOwnPropertySymbols,Mh=Object.prototype.hasOwnProperty,Lh=Object.prototype.propertyIsEnumerable,af=(e,t,n)=>t in e?Dh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const sf=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>Fh(e,Nh(t)))(((e,t)=>{for(var n in t||(t={}))Mh.call(t,n)&&af(e,n,t[n]);if(lf)for(var n of lf(t))Lh.call(t,n)&&af(e,n,t[n]);return e})({ref:t},e),{weights:Th}))));sf.displayName="Binoculars";const Ph=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M120,128a16,16,0,1,1-16-16A16,16,0,0,1,120,128Zm32-16a16,16,0,1,0,16,16A16,16,0,0,0,152,112Zm84,16A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),g.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM84,118a10,10,0,1,0,10,10A10,10,0,0,0,84,118Zm88,0a10,10,0,1,0,10,10A10,10,0,0,0,172,118Zm58,10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM84,116a12,12,0,1,0,12,12A12,12,0,0,0,84,116Zm88,0a12,12,0,1,0,12,12A12,12,0,0,0,172,116Zm60,12A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-52-8a8,8,0,1,0,8,8A8,8,0,0,0,84,120Zm88,0a8,8,0,1,0,8,8A8,8,0,0,0,172,120Zm56,8A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"}))]]);var Rh=Object.defineProperty,Ih=Object.defineProperties,zh=Object.getOwnPropertyDescriptors,cf=Object.getOwnPropertySymbols,Hh=Object.prototype.hasOwnProperty,$h=Object.prototype.propertyIsEnumerable,ff=(e,t,n)=>t in e?Rh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const df=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>Ih(e,zh(t)))(((e,t)=>{for(var n in t||(t={}))Hh.call(t,n)&&ff(e,n,t[n]);if(cf)for(var n of cf(t))$h.call(t,n)&&ff(e,n,t[n]);return e})({ref:t},e),{weights:Ph}))));df.displayName="ChatCircleDots";const Vh=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),g.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]);var Zh=Object.defineProperty,qh=Object.defineProperties,Wh=Object.getOwnPropertyDescriptors,pf=Object.getOwnPropertySymbols,Gh=Object.prototype.hasOwnProperty,Qh=Object.prototype.propertyIsEnumerable,hf=(e,t,n)=>t in e?Zh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const mf=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>qh(e,Wh(t)))(((e,t)=>{for(var n in t||(t={}))Gh.call(t,n)&&hf(e,n,t[n]);if(pf)for(var n of pf(t))Qh.call(t,n)&&hf(e,n,t[n]);return e})({ref:t},e),{weights:Vh}))));mf.displayName="Check";const Kh=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),g.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"}))]]);var Jh=Object.defineProperty,e6=Object.defineProperties,t6=Object.getOwnPropertyDescriptors,gf=Object.getOwnPropertySymbols,n6=Object.prototype.hasOwnProperty,u6=Object.prototype.propertyIsEnumerable,wf=(e,t,n)=>t in e?Jh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const zi=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>e6(e,t6(t)))(((e,t)=>{for(var n in t||(t={}))n6.call(t,n)&&wf(e,n,t[n]);if(gf)for(var n of gf(t))u6.call(t,n)&&wf(e,n,t[n]);return e})({ref:t},e),{weights:Kh}))));zi.displayName="CircleNotch";const l6=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M204.73,51.85A108.07,108.07,0,0,0,20,128v56a28,28,0,0,0,28,28H64a28,28,0,0,0,28-28V144a28,28,0,0,0-28-28H44.84A84.05,84.05,0,0,1,128,44h.64a83.7,83.7,0,0,1,82.52,72H192a28,28,0,0,0-28,28v40a28,28,0,0,0,28,28h19.6A20,20,0,0,1,192,228H136a12,12,0,0,0,0,24h56a44.05,44.05,0,0,0,44-44V128A107.34,107.34,0,0,0,204.73,51.85ZM64,140a4,4,0,0,1,4,4v40a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V140Zm124,44V144a4,4,0,0,1,4-4h20v48H192A4,4,0,0,1,188,184Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M80,144v40a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V128H64A16,16,0,0,1,80,144Zm112-16a16,16,0,0,0-16,16v40a16,16,0,0,0,16,16h32V128Z",opacity:"0.2"}),g.createElement("path",{d:"M201.89,54.66A104.08,104.08,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M232,128v80a40,40,0,0,1-40,40H136a8,8,0,0,1,0-16h56a24,24,0,0,0,24-24H192a24,24,0,0,1-24-24V144a24,24,0,0,1,24-24h23.65A88,88,0,0,0,66,65.54,87.29,87.29,0,0,0,40.36,120H64a24,24,0,0,1,24,24v40a24,24,0,0,1-24,24H48a24,24,0,0,1-24-24V128A104.11,104.11,0,0,1,201.89,54.66,103.41,103.41,0,0,1,232,128Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M200.47,56.07A101.37,101.37,0,0,0,128.77,26H128A102,102,0,0,0,26,128v56a22,22,0,0,0,22,22H64a22,22,0,0,0,22-22V144a22,22,0,0,0-22-22H38.2A90,90,0,0,1,128,38h.68a89.71,89.71,0,0,1,89.13,84H192a22,22,0,0,0-22,22v40a22,22,0,0,0,22,22h26v2a26,26,0,0,1-26,26H136a6,6,0,0,0,0,12h56a38,38,0,0,0,38-38V128A101.44,101.44,0,0,0,200.47,56.07ZM64,134a10,10,0,0,1,10,10v40a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V134Zm118,50V144a10,10,0,0,1,10-10h26v60H192A10,10,0,0,1,182,184Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M201.89,54.66A103.43,103.43,0,0,0,128.79,24H128A104,104,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M199.05,57.48A100.07,100.07,0,0,0,28,128v56a20,20,0,0,0,20,20H64a20,20,0,0,0,20-20V144a20,20,0,0,0-20-20H36.08A92,92,0,0,1,128,36h.7a91.75,91.75,0,0,1,91.22,88H192a20,20,0,0,0-20,20v40a20,20,0,0,0,20,20h28v4a28,28,0,0,1-28,28H136a4,4,0,0,0,0,8h56a36,36,0,0,0,36-36V128A99.44,99.44,0,0,0,199.05,57.48ZM64,132a12,12,0,0,1,12,12v40a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V132Zm116,52V144a12,12,0,0,1,12-12h28v64H192A12,12,0,0,1,180,184Z"}))]]);var i6=Object.defineProperty,a6=Object.defineProperties,s6=Object.getOwnPropertyDescriptors,vf=Object.getOwnPropertySymbols,c6=Object.prototype.hasOwnProperty,f6=Object.prototype.propertyIsEnumerable,yf=(e,t,n)=>t in e?i6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const xf=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>a6(e,s6(t)))(((e,t)=>{for(var n in t||(t={}))c6.call(t,n)&&yf(e,n,t[n]);if(vf)for(var n of vf(t))f6.call(t,n)&&yf(e,n,t[n]);return e})({ref:t},e),{weights:l6}))));xf.displayName="Headset";const h6=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M252,152a12,12,0,0,1-12,12H228v12a12,12,0,0,1-24,0V164H192a12,12,0,0,1,0-24h12V128a12,12,0,0,1,24,0v12h12A12,12,0,0,1,252,152ZM56,76H68V88a12,12,0,0,0,24,0V76h12a12,12,0,1,0,0-24H92V40a12,12,0,0,0-24,0V52H56a12,12,0,0,0,0,24ZM184,188h-4v-4a12,12,0,0,0-24,0v4h-4a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM222.14,82.83,82.82,222.14a20,20,0,0,1-28.28,0L33.85,201.46a20,20,0,0,1,0-28.29L173.17,33.86a20,20,0,0,1,28.28,0l20.69,20.68A20,20,0,0,1,222.14,82.83ZM159,112,144,97,53.65,187.31l15,15Zm43.31-43.31-15-15L161,80l15,15Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M176,112,74.34,213.66a8,8,0,0,1-11.31,0L42.34,193a8,8,0,0,1,0-11.31L144,80Z",opacity:"0.2"}),g.createElement("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M246,152a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V158H192a6,6,0,0,1,0-12h18V128a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,152ZM56,70H74V88a6,6,0,0,0,12,0V70h18a6,6,0,0,0,0-12H86V40a6,6,0,0,0-12,0V58H56a6,6,0,0,0,0,12ZM184,194H174V184a6,6,0,0,0-12,0v10H152a6,6,0,0,0,0,12h10v10a6,6,0,0,0,12,0V206h10a6,6,0,0,0,0-12ZM217.9,78.59,78.58,217.9a14,14,0,0,1-19.8,0L38.09,197.21a14,14,0,0,1,0-19.8L177.41,38.1a14,14,0,0,1,19.8,0L217.9,58.79A14,14,0,0,1,217.9,78.59ZM167.51,112,144,88.49,46.58,185.9a2,2,0,0,0,0,2.83l20.69,20.68a2,2,0,0,0,2.82,0h0Zm41.9-44.73L188.73,46.59a2,2,0,0,0-2.83,0L152.48,80,176,103.52,209.41,70.1A2,2,0,0,0,209.41,67.27Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M48,64a8,8,0,0,1,8-8H72V40a8,8,0,0,1,16,0V56h16a8,8,0,0,1,0,16H88V88a8,8,0,0,1-16,0V72H56A8,8,0,0,1,48,64ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16Zm56-48H224V128a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V160h16a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M244,152a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V156H192a4,4,0,0,1,0-8h20V128a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,152ZM56,68H76V88a4,4,0,0,0,8,0V68h20a4,4,0,0,0,0-8H84V40a4,4,0,0,0-8,0V60H56a4,4,0,0,0,0,8ZM184,196H172V184a4,4,0,0,0-8,0v12H152a4,4,0,0,0,0,8h12v12a4,4,0,0,0,8,0V204h12a4,4,0,0,0,0-8ZM216.48,77.17,77.17,216.49a12,12,0,0,1-17,0L39.51,195.8a12,12,0,0,1,0-17L178.83,39.51a12,12,0,0,1,17,0L216.48,60.2A12,12,0,0,1,216.48,77.17ZM170.34,112,144,85.66,45.17,184.49a4,4,0,0,0,0,5.65l20.68,20.69a4,4,0,0,0,5.66,0Zm40.49-46.14L190.14,45.17a4,4,0,0,0-5.66,0L149.65,80,176,106.34l34.83-34.83A4,4,0,0,0,210.83,65.86Z"}))]]);var m6=Object.defineProperty,g6=Object.defineProperties,w6=Object.getOwnPropertyDescriptors,bf=Object.getOwnPropertySymbols,v6=Object.prototype.hasOwnProperty,y6=Object.prototype.propertyIsEnumerable,_f=(e,t,n)=>t in e?m6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ef=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>g6(e,w6(t)))(((e,t)=>{for(var n in t||(t={}))v6.call(t,n)&&_f(e,n,t[n]);if(bf)for(var n of bf(t))y6.call(t,n)&&_f(e,n,t[n]);return e})({ref:t},e),{weights:h6}))));Ef.displayName="MagicWand";const _6=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),g.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]);var E6=Object.defineProperty,k6=Object.defineProperties,C6=Object.getOwnPropertyDescriptors,kf=Object.getOwnPropertySymbols,S6=Object.prototype.hasOwnProperty,A6=Object.prototype.propertyIsEnumerable,Cf=(e,t,n)=>t in e?E6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Sf=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>k6(e,C6(t)))(((e,t)=>{for(var n in t||(t={}))S6.call(t,n)&&Cf(e,n,t[n]);if(kf)for(var n of kf(t))A6.call(t,n)&&Cf(e,n,t[n]);return e})({ref:t},e),{weights:_6}))));Sf.displayName="MagnifyingGlass";const F6=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M233.86,110.48,65.8,14.58A20,20,0,0,0,37.15,38.64L67.33,128,37.15,217.36A20,20,0,0,0,56,244a20.1,20.1,0,0,0,9.81-2.58l.09-.06,168-96.07a20,20,0,0,0,0-34.81ZM63.19,215.26,88.61,140H144a12,12,0,0,0,0-24H88.61L63.18,40.72l152.76,87.17Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M227.91,134.86,59.93,231a8,8,0,0,1-11.44-9.67L80,128,48.49,34.72a8,8,0,0,1,11.44-9.67l168,95.85A8,8,0,0,1,227.91,134.86Z",opacity:"0.2"}),g.createElement("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M240,127.89a16,16,0,0,1-8.18,14L63.9,237.9A16.15,16.15,0,0,1,56,240a16,16,0,0,1-15-21.33l27-79.95A4,4,0,0,1,71.72,136H144a8,8,0,0,0,8-8.53,8.19,8.19,0,0,0-8.26-7.47h-72a4,4,0,0,1-3.79-2.72l-27-79.94A16,16,0,0,1,63.84,18.07l168,95.89A16,16,0,0,1,240,127.89Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M230.88,115.69l-168-95.88a14,14,0,0,0-20,16.87L73.66,128,42.81,219.33A14,14,0,0,0,56,238a14.15,14.15,0,0,0,6.93-1.83L230.84,140.1a14,14,0,0,0,0-24.41Zm-5.95,14L57,225.73a2,2,0,0,1-2.86-2.42.42.42,0,0,0,0-.1L84.3,134H144a6,6,0,0,0,0-12H84.3L54.17,32.8a.3.3,0,0,0,0-.1,1.87,1.87,0,0,1,.6-2.2A1.85,1.85,0,0,1,57,30.25l168,95.89a1.93,1.93,0,0,1,1,1.74A2,2,0,0,1,224.93,129.66Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M229.89,117.43l-168-95.88A12,12,0,0,0,44.7,36l31.08,92L44.71,220A12,12,0,0,0,56,236a12.13,12.13,0,0,0,5.93-1.57l167.94-96.08a12,12,0,0,0,0-20.92Zm-4,14L58,227.47a4,4,0,0,1-5.72-4.83l0-.07L82.87,132H144a4,4,0,0,0,0-8H82.87L52.26,33.37A3.89,3.89,0,0,1,53.44,29,4.13,4.13,0,0,1,56,28a3.88,3.88,0,0,1,1.93.54l168,95.87a4,4,0,0,1,0,7Z"}))]]);var N6=Object.defineProperty,M6=Object.defineProperties,L6=Object.getOwnPropertyDescriptors,Af=Object.getOwnPropertySymbols,j6=Object.prototype.hasOwnProperty,O6=Object.prototype.propertyIsEnumerable,Tf=(e,t,n)=>t in e?N6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Df=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>M6(e,L6(t)))(((e,t)=>{for(var n in t||(t={}))j6.call(t,n)&&Tf(e,n,t[n]);if(Af)for(var n of Af(t))O6.call(t,n)&&Tf(e,n,t[n]);return e})({ref:t},e),{weights:F6}))));Df.displayName="PaperPlaneRight";const I6=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),g.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]);var z6=Object.defineProperty,H6=Object.defineProperties,$6=Object.getOwnPropertyDescriptors,Ff=Object.getOwnPropertySymbols,B6=Object.prototype.hasOwnProperty,U6=Object.prototype.propertyIsEnumerable,Nf=(e,t,n)=>t in e?z6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Mf=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>H6(e,$6(t)))(((e,t)=>{for(var n in t||(t={}))B6.call(t,n)&&Nf(e,n,t[n]);if(Ff)for(var n of Ff(t))U6.call(t,n)&&Nf(e,n,t[n]);return e})({ref:t},e),{weights:I6}))));Mf.displayName="Plus";const q6=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),g.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]);var W6=Object.defineProperty,G6=Object.defineProperties,Q6=Object.getOwnPropertyDescriptors,Lf=Object.getOwnPropertySymbols,Y6=Object.prototype.hasOwnProperty,X6=Object.prototype.propertyIsEnumerable,jf=(e,t,n)=>t in e?W6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Of=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>G6(e,Q6(t)))(((e,t)=>{for(var n in t||(t={}))Y6.call(t,n)&&jf(e,n,t[n]);if(Lf)for(var n of Lf(t))X6.call(t,n)&&jf(e,n,t[n]);return e})({ref:t},e),{weights:q6}))));Of.displayName="Warning";const e4=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),g.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]);var t4=Object.defineProperty,n4=Object.defineProperties,u4=Object.getOwnPropertyDescriptors,Pf=Object.getOwnPropertySymbols,r4=Object.prototype.hasOwnProperty,o4=Object.prototype.propertyIsEnumerable,Rf=(e,t,n)=>t in e?t4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const If=E.forwardRef(((e,t)=>g.createElement(it,((e,t)=>n4(e,u4(t)))(((e,t)=>{for(var n in t||(t={}))r4.call(t,n)&&Rf(e,n,t[n]);if(Pf)for(var n of Pf(t))o4.call(t,n)&&Rf(e,n,t[n]);return e})({ref:t},e),{weights:e4}))));If.displayName="X";const Hi={plus:Mf,chatBubble:df,support:xf,search2:sf,search:Sf,magic:Ef};function a4({settings:e,isOpen:t,toggleBot:n,offsetBottom:u}){const r=Object.hasOwn(Hi,null==e?void 0:e.chatIcon)?Hi[e.chatIcon]:Hi.plus,o="white"===e.arrowDownColor?"tw-jg":"tw-ig",l=u?`calc(16px + ${u})`:"16px",i="bottom-left"===e.position;return p.jsx("button",{id:"animuz-embed-chat-button",onClick:n,className:"tw-a tw-md tw-ug tw-ao tw-ed tw-oc tw-xa tw-pf tw-im tw-yn",style:{position:"fixed",bottom:l,...i?{left:"16px",right:"unset"}:{right:"16px",left:"unset"},height:null!=e&&e.sizeOpenButton?`${null==e?void 0:e.sizeOpenButton}px`:"56px",width:null!=e&&e.sizeOpenButton?`${null==e?void 0:e.sizeOpenButton}px`:"56px",borderRadius:"9999px",backgroundColor:e.buttonColor},"aria-label":"Toggle Menu",children:p.jsxs("div",{className:" tw-ao tw-vf tw-od tw-bn tw-nm tw-im",children:[e.chatIconUrl?p.jsx("img",{style:{borderRadius:"9999px"},className:"tw-bn tw-nm tw-pf tw-ni"+(t?"tw-xl tw-mj tw-fi":"tw-rj tw-bh tw-vk"),src:e.chatIconUrl,alt:"Chat Icon"}):p.jsx(r,{className:"tw-dk tw-li tw-jg tw-hg tw-zk tw-pf tw-ni "+(t?"tw-xl tw-mj tw-fi":"tw-rj tw-bh tw-vk")}),p.jsx("svg",{viewBox:"0 0 24 24",className:`tw-dk ${o} tw-yk tw-pf tw-ni tw-nq tw-cq tw-ui `+(t?"tw-rj tw-vk tw-bh":"tw-xl tw-mg tw-mj"),children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]})})}const $i="data:image/svg+xml,%3csvg%20width='30'%20height='31'%20viewBox='0%200%2030%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='0.143555'%20width='30'%20height='30'%20rx='15'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_1643_554)'%3e%3cmask%20id='mask0_1643_554'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='2'%20y='3'%20width='26'%20height='24'%3e%3cpath%20d='M27.1491%203.1709H2.94141V26.983H27.1491V3.1709Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1643_554)'%3e%3cpath%20d='M26.1442%209.97276C25.3739%208.6969%2024.2916%207.48327%2023.5608%206.84657C21.9655%205.45634%2020.6348%205.4902%2019.9834%205.63417C19.7098%205.69468%2019.4585%205.79445%2019.2373%205.9275C18.1007%205.09784%2016.718%204.69141%2015.0453%204.69141C13.3724%204.69141%2011.9897%205.09784%2010.8532%205.92754C10.6319%205.79449%2010.3807%205.69468%2010.107%205.63421C9.45581%205.49028%208.12493%205.45639%206.52976%206.84657C5.79894%207.48331%204.71668%208.69694%203.94622%209.9728C2.90311%2011.7002%202.67079%2013.0975%203.25561%2014.1261C3.96976%2015.382%205.05296%2015.7033%205.92742%2015.7826C5.71249%2016.6037%205.57977%2017.4821%205.57977%2018.5766C5.57977%2020.0273%205.91543%2021.2754%206.57759%2022.2862C7.15969%2023.1749%207.99769%2023.8865%209.06831%2024.4013C11.0464%2025.3524%2013.4269%2025.4624%2015.0453%2025.4624C16.6637%2025.4624%2019.0442%2025.3524%2021.0222%2024.4013C22.0928%2023.8865%2022.9309%2023.1749%2023.513%2022.2862C24.1751%2021.2753%2024.5108%2020.0272%2024.5108%2018.5766C24.5108%2017.4821%2024.3781%2016.6037%2024.1631%2015.7826C25.0376%2015.7033%2026.1208%2015.3819%2026.8349%2014.1261C27.4197%2013.0975%2027.1873%2011.7002%2026.1442%209.97276ZM6.3871%2014.347C5.61321%2014.327%204.98394%2014.1797%204.54892%2013.4146C4.25379%2012.8956%204.49845%2011.9124%205.22027%2010.7171C5.90535%209.5826%206.88864%208.48101%207.51233%207.9375C8.54239%207.0397%209.31458%206.99023%209.67787%207.03812C8.59673%208.33459%207.93403%2010.0195%207.37988%2011.6576C7.15038%2012.336%206.92921%2012.9152%206.71522%2013.4753C6.60078%2013.775%206.49071%2014.0633%206.3871%2014.347ZM14.0786%2019.1257C13.6953%2018.7489%2013.4947%2018.3533%2013.4947%2018.1573C13.4947%2017.9823%2013.5252%2017.9697%2013.6385%2017.9228C13.9616%2017.7891%2014.5961%2017.7736%2015.0453%2017.7736C15.4944%2017.7736%2016.1289%2017.7891%2016.452%2017.9228C16.5653%2017.9697%2016.5958%2017.9823%2016.5958%2018.1573C16.5958%2018.3533%2016.3952%2018.7488%2016.0119%2019.1257C15.6349%2019.4963%2015.2325%2019.6962%2015.0452%2019.6962C14.8579%2019.6962%2014.4555%2019.4963%2014.0786%2019.1257ZM20.3715%2023.0918C19.2344%2023.6385%2017.7291%2023.9351%2015.7861%2023.9938V21.0083C16.3678%2020.7875%2016.8416%2020.3707%2017.0594%2020.1567C17.3655%2019.8557%2018.0776%2019.0584%2018.0776%2018.1573C18.0776%2017.4202%2017.7044%2016.8598%2017.0266%2016.5794C16.5749%2016.3924%2016.0008%2016.3161%2015.0453%2016.3161C14.0897%2016.3161%2013.5157%2016.3924%2013.0639%2016.5794C12.3862%2016.8598%2012.013%2017.4202%2012.013%2018.1573C12.013%2019.0584%2012.725%2019.8557%2013.0311%2020.1567C13.2489%2020.3708%2013.7227%2020.7875%2014.3044%2021.0083V23.9938C12.3615%2023.9351%2010.8561%2023.6386%209.71898%2023.0918C7.93073%2022.232%207.06144%2020.7551%207.06144%2018.5766C7.06144%2016.7129%207.49802%2015.5699%208.10223%2013.9879C8.31087%2013.4417%208.54729%2012.8225%208.78571%2012.1178C10.0954%208.24666%2011.4808%206.14891%2015.0453%206.14891C18.6097%206.14891%2019.9951%208.2467%2021.3047%2012.1178C21.5431%2012.8226%2021.7796%2013.4417%2021.9882%2013.9879C22.5924%2015.5699%2023.029%2016.7128%2023.029%2018.5766C23.029%2020.7551%2022.1597%2022.232%2020.3715%2023.0918ZM25.5417%2013.4146C25.1066%2014.1797%2024.4773%2014.327%2023.7034%2014.347C23.5998%2014.0632%2023.4898%2013.775%2023.3754%2013.4753C23.1614%2012.9152%2022.9402%2012.336%2022.7107%2011.6576C22.1565%2010.0195%2021.4938%208.33459%2020.4127%207.03812C20.776%206.99036%2021.5482%207.0397%2022.5783%207.93754C23.202%208.48097%2024.1853%209.58251%2024.8703%2010.717C25.5921%2011.9124%2025.8368%2012.8956%2025.5417%2013.4146Z'%20fill='%2350A0FF'/%3e%3cpath%20d='M12.5777%2012.4375C12.0417%2012.4375%2011.6055%2012.871%2011.6055%2013.4063C11.6055%2013.9415%2012.0417%2014.3754%2012.5777%2014.3754C13.1145%2014.3754%2013.5506%2013.9414%2013.5506%2013.4063C13.5506%2012.871%2013.1145%2012.4375%2012.5777%2012.4375Z'%20fill='%2350A0FF'/%3e%3cpath%20d='M17.5037%2012.4297C16.9625%2012.4297%2016.5234%2012.8669%2016.5234%2013.406C16.5234%2013.9452%2016.9625%2014.3824%2017.5037%2014.3824C18.0443%2014.3824%2018.4833%2013.9452%2018.4833%2013.406C18.4834%2012.8669%2018.0443%2012.4297%2017.5037%2012.4297Z'%20fill='%2350A0FF'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1643_554'%3e%3crect%20width='27'%20height='21'%20fill='white'%20transform='translate(1.52344%204.64355)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",s4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{fill:"#fff",clipPath:"url(#line_svg__a)"},E.createElement("path",{d:"M13.5 0a13 13 0 1 0 0 26 13 13 0 0 0 0-26m8.125 12.705a4 4 0 0 1-.064.492 5.4 5.4 0 0 1-.622 1.772c-.147.263-.858 1.262-1.075 1.525-1.201 1.446-3.213 3.115-6.575 4.739a.443.443 0 0 1-.634-.443l.17-1.526a.443.443 0 0 0-.392-.49 9.5 9.5 0 0 1-3.217-.917c-2.305-1.139-3.841-3.173-3.841-5.49 0-3.57 3.637-6.458 8.125-6.458 2.254 0 4.293.739 5.761 1.91 1.376 1.1 2.256 2.594 2.35 4.252q.023.316.014.633"}),E.createElement("path",{d:"M11.26 13.796a.4.4 0 0 1 .122.296.415.415 0 0 1-.415.416H9.305a.42.42 0 0 1-.417-.416v-3.14a.4.4 0 0 1 .123-.295.416.416 0 0 1 .71.296v2.722h1.246a.4.4 0 0 1 .292.121M12.613 10.864v3.32a.326.326 0 0 1-.325.325h-.186a.325.325 0 0 1-.325-.325v-3.32a.325.325 0 0 1 .325-.325h.182a.327.327 0 0 1 .33.325M16.471 10.954v3.122a.433.433 0 0 1-.418.432.42.42 0 0 1-.282-.115c-.015-.011-.573-.738-1.047-1.35-.355-.456-.662-.855-.662-.855v1.904a.415.415 0 1 1-.832 0v-3.12a.43.43 0 0 1 .4-.433.42.42 0 0 1 .327.148c.018.02.876 1.137 1.36 1.773l.324.422v-1.92a.42.42 0 0 1 .415-.415.415.415 0 0 1 .415.407M17.93 12.939v.739h1.245a.416.416 0 1 1 0 .831h-1.666a.417.417 0 0 1-.416-.416v-3.138a.417.417 0 0 1 .416-.415h1.662a.417.417 0 1 1 0 .832H17.93v.738h1.245a.415.415 0 0 1 0 .83z"})),E.createElement("defs",null,E.createElement("clipPath",{id:"line_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),c4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{clipPath:"url(#messenger_svg__a)"},E.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M13.458.395q3.516.039 6.352 1.728a12.7 12.7 0 0 1 4.514 4.541q1.678 2.854 1.718 6.39-.1 4.84-3.053 8.267c-1.969 2.285-4.49 3.699-7.1 4.24v-9.045h2.467l.558-3.555h-3.736v-2.328c-.021-.482.131-.957.43-1.337q.448-.57 1.579-.6h2.256V5.582q-.049-.015-.922-.124a18 18 0 0 0-1.988-.123q-2.256.01-3.569 1.273-1.312 1.262-1.341 3.652v2.701H8.779v3.555h2.844v9.046c-3.205-.542-5.727-1.956-7.695-4.24Q.973 17.893.875 13.054q.04-3.538 1.717-6.39a12.7 12.7 0 0 1 4.514-4.542Q9.943.435 13.458.395",clipRule:"evenodd"})),E.createElement("defs",null,E.createElement("clipPath",{id:"messenger_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),f4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{clipPath:"url(#phone_svg__a)"},E.createElement("path",{fill:"#fff",d:"M22.69 3.806C17.614-1.27 9.383-1.269 4.307 3.81s-5.075 13.309.003 18.385c5.077 5.076 13.308 5.075 18.384-.003a13 13 0 0 0-.002-18.385M20.189 18.11l-.002.002v-.005l-.659.655a3.47 3.47 0 0 1-3.271.936 11.5 11.5 0 0 1-3.346-1.5 15.5 15.5 0 0 1-2.639-2.127A15.6 15.6 0 0 1 8.3 13.678a12.1 12.1 0 0 1-1.482-3 3.47 3.47 0 0 1 .866-3.54l.772-.77a.55.55 0 0 1 .778-.002l.002.001 2.435 2.436a.55.55 0 0 1 .002.778l-.002.002-1.43 1.43a1.166 1.166 0 0 0-.121 1.516q.777 1.067 1.711 1.998 1.043 1.047 2.254 1.894c.465.324 1.096.27 1.499-.13l1.382-1.404a.55.55 0 0 1 .778-.002l.002.002 2.44 2.444a.55.55 0 0 1 .002.778"})),E.createElement("defs",null,E.createElement("clipPath",{id:"phone_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),d4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"5 20 530 159",...e},E.createElement("path",{fill:"currentColor",d:"M-.206 65.934c-.477-8.944 8.3-22.5 15.996-22.615 4.428-.046 10.215 3.456 14.346 6.442L88.15 24.662c.652-5.055 2.061-11.67 5.127-14.866 5.353-5.532 21.242-2.647 27.423 3.828 6.165 6.469.682 19.917 2.988 23.905 2.33 3.978 11.279 1.04 12.394 9.836 1.126 8.79-3.914 18.888-18.005 22.534-7.811 2.006-13.624-2.773-17.24-7.413l-51.82 22.419c.905 5.812.41 13.321-6.412 17.646-12.293 7.769-23.104 4.529-28.752-2.305-5.635-6.84 2.633-11.351 1.329-15.772-1.328-4.412-14.895-9.618-15.39-18.54M400.92-7.63c9.407-5.765 29.241-4.217 33.883 4.052 2.65 4.768 2.254 13.091 1.445 19.319l61.239 48.103c5.858-2.261 13.851-4.618 19.111-3.174 9.134 2.55 15.336 21.454 11.951 31.95-3.387 10.474-21.172 12.429-24.137 17.269-2.941 4.858 5.494 12.827-3.378 19.196-8.859 6.38-22.755 6.849-34.976-6.272-6.758-7.283-4.993-16.385-2.09-23.025l-54.701-42.967c-5.763 4.393-14.187 8.264-22.876 3.414-15.631-8.754-18.468-22.365-14.381-32.494 4.1-10.118 13.84-3.812 17.863-7.82 3.999-4.027 1.673-21.778 11.047-27.55M274.573 131.991c1.661-7.132 11.598-15.76 17.636-14.082 3.469.981 7.193 5.06 9.741 8.353l51.021-6.379c1.658-3.82 4.263-8.691 7.384-10.496 5.438-3.113 17.194 2.802 20.55 9.306 3.345 6.496-3.995 15.796-3.1 19.457.916 3.658 8.574 3.408 7.445 10.57-1.118 7.16-7.35 13.932-19.185 13.558-6.558-.22-10.012-5.308-11.782-9.782l-45.573 5.699c-.614 4.771-2.708 10.554-9.019 12.383-11.368 3.276-19.077-1.752-21.934-8.415-2.847-6.665 4.636-8.308 4.622-12.08-.033-3.768-9.448-10.973-7.806-18.092"})),p4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44"})),h4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",...e},E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2 10.88V9.9c0-5 2-7 7-7h6c5 0 7 2 7 7v6c0 5-2 7-7 7h-1"}),E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m13 11.9 5.01-5.02H14M18.01 6.88v4.01M11 17.05v2.7c0 2.25-.9 3.15-3.15 3.15h-2.7C2.9 22.9 2 22 2 19.75v-2.7c0-2.25.9-3.15 3.15-3.15h2.7c2.25 0 3.15.9 3.15 3.15"})),m4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{fill:"#C3C3C3",fillRule:"evenodd",d:"M20.53 7.47a.75.75 0 0 1 0 1.06l-8 8a.75.75 0 0 1-1.06 0l-8-8a.75.75 0 0 1 1.06-1.06L12 14.94l7.47-7.47a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})),Dt={en:{today:"Today",yesterday:"Yesterday",copy:"Copy",copySuccess:"Copied",suggest:"Suggest",report:"Report",selectAssistantLabel:"Select Assistant",statistic:"Stats",question:"Question",answer:"Answer",answerCorrect:"Correct Answer",sources:"Sources",sourcesEmpty:"No sources",remark:"Remark",cancel:"Cancel"},th:{today:"วันนี้",yesterday:"เมื่อวาน",copy:"คัดลอก",copySuccess:"คัดลอกสำเร็จ",suggest:"แนะนำ",report:"รายงาน",selectAssistantLabel:"เลือกข้อมูล",statistic:"สถิติ",question:"คำถาม",answer:"คำตอบ",answerCorrect:"คำตอบที่ถูกต้อง",sources:"เอกสารอ้างอิง",sourcesEmpty:"ไม่มีเอกสาร",remark:"หมายเหตุ",cancel:"ยกเลิก"}},vn="https://api.rudi.animuz.ai",zf_ping=async()=>{try{fetch(`${vn}/pingModal`)}catch(e){console.error(e)}},zf_listAssistants=async e=>await(await fetch(`${vn}/v2/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),yr={getMessages:async e=>{try{return(await(await fetch(`${vn}/conversations/message`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json()).data}catch(t){throw console.error(t),t}},resetMessages:async e=>{try{return await(await fetch(`${vn}/conversations/message`,{method:"DELETE",headers:{"Content-Type":"application/json",...e}})).json()}catch(t){throw console.error(t),t}},sendEvent:async(e,t)=>{try{return await(await fetch(`${vn}/conversations/event`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}},suggestionsNoAuth:async(e,t)=>{try{return await(await fetch(`${vn}/suggest`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}},changeAssistant:async(e,t)=>{try{return await(await fetch(`${vn}/v2/public/conversations/assistant`,{method:"PUT",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}}};const Hf=({settings:e,closeChat:t,sessionId:n,resetChat:u,isNoMessage:r,isFullScreen:o,isIframe:l,toggleFullScreen:i})=>{const a=e.language,s=Dt[a]||Dt.en,{assistants:c,loading:d,error:h,selectedAssistant:w,changeAssistant:m}=function(e,t=null){const[n,u]=E.useState([]),[r,o]=E.useState(null),[l,i]=E.useState(!0),[a,s]=E.useState(null);return E.useEffect((()=>{e.embedId&&t&&null!==e.showAssistants&&async function(){try{const h=await zf_listAssistants({"client-id":e.embedId,"session-id":t});if(u(h),h.length>0){const w=h.find((m=>!0===m.isCurrentLocked));o((null==w?void 0:w.assistantID)??h[0].assistantID)}else o(null)}catch(h){s(h.message)}finally{i(!1)}}()}),[e.embedId,t,e.showAssistants]),{assistants:n,loading:l,error:a,selectedAssistant:r,changeAssistant:async d=>{try{await yr.changeAssistant({assistantID:d},{"client-id":e.embedId,"session-id":t}),o(d)}catch(h){console.error("Error changing assistant:",h)}}}}(e,n),x=()=>{if(c.length>0&&null!==e.showAssistants)return p.jsxs("div",{className:"tw-tk tw-lm",children:[p.jsx("select",{id:"selectRudi",className:"anm-peer tw-bn tw-rc tw-dg tw-ji tw-km tw-tc tw-jq",value:w||"",onChange:S=>m(S.target.value),children:c.map(((S,y)=>p.jsx("option",{value:S.assistantID,children:S.name},y)))}),p.jsx(m4,{className:"tw-dk tw-tl tw-gm tw-zj tw-cc tw-af tw-ni tw-pf tw-ua tw-hb"})]})};return p.jsxs("header",{style:{"--bg-color":e.bgColorChat??"#f3f4f6"},className:"tw-iq tw-xh tw-zm tw-wa",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-dh tw-mp tw-tk tw-ad tw-yd tw-rf "+($f(e)||o||null!==e.showAssistants?"tw-bj":r||null===e.showAssistants?"tw-mk":"tw-aj"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&p.jsx(d4,{alt:"Background",className:"tw-dk tw-qm tw-sn tw-hm tw-cg tw-bi tw-ki"}),p.jsxs("div",{className:"tw-ao tw-nm tw-vf",children:[p.jsx("div",{className:"tw-qo tw-to tw-ao tw-vf tw-xp",children:p.jsx("div",{className:`tw-ao tw-od tw-vf tw-ko ${e.showAssistants?"tw-am":"tw-yl"} tw-ek tw-fg`,children:p.jsx("img",{className:"tw-bn tw-nm tw-pd tw-fg",src:e.brandImageUrl??$i,alt:e.brandName?e.brandName+" Logo":"Rudi Logo"})})}),p.jsxs("div",{className:"tw-ao tw-jk tw-wj tw-bn tw-xp",children:[p.jsxs("div",{className:"tw-ao tw-yc tw-bn tw-vf",children:[p.jsxs("div",{className:"tw-ao tw-jk",children:[p.jsx("span",{className:"tw-cm tw-ge tw-eq tw-kg tw-yi",children:e.brandName}),p.jsx("span",{className:"tw-dm tw-xg tw-xd tw-eq tw-kg tw-yi",children:e.brandSlogan})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-dk tw-ul tw-tn",children:[p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-ug tw-mc tw-xn tw-hf tw-md tw-ci tw-ic tw-fl tw-zn tw-ce tw-jc tw-xa tw-pf",onClick:u,children:p.jsx(p4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),"on"===e.allowFullscreen&&p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},"data-fullscreen":o,className:"tw-om tw-el tw-ug tw-jd tw-eq tw-wg tw-md tw-ci tw-ic tw-ym tw-iq tw-kg tw-fd tw-l tw-xa tw-pf",onClick:i,children:p.jsx(h4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},type:"button",onClick:t,"data-isIframe":l,className:"tw-oi tw-aa tw-ug tw-mc tw-xn tw-md tw-ci tw-ic tw-fl tw-zn tw-ce","aria-label":"Close",children:p.jsx(If,{width:"100%",height:"100%"})})]})]}),!o&&null!==e.showAssistants&&p.jsx(x,{})]})]}),$f(e)?p.jsxs("div",{className:"tw-do tw-gi tw-im tw-ao tw-vf tw-qn tw-xh tw-yd tw-rf tw-hn",children:[e.socialFbUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(c4,{className:"tw-xm",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(s4,{className:"tw-xm",fill:"#FFFFFF"})}),e.socialPhoneUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(f4,{className:"tw-xm",fill:"#FFFFFF"})})]}):null]}),o&&null!==e.showAssistants&&p.jsxs("div",{className:"tw-po tw-ao tw-jn tw-vf tw-oe tw-nl tw-bn",children:[p.jsx("label",{htmlFor:"selectRudi",className:"tw-yh tw-ge",children:s.selectAssistantLabel}),p.jsx(x,{})]})]})},$f=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,Bf=(e,t=void 0)=>{let u,n=!1;return e.map((({type:o,sender:l,senderID:i,message:a,images:s,debugPre:c,timestamp:d,read:h,msgID:w,videoUrls:m,fileUrls:x},S)=>{u=new Date(d).toLocaleDateString(),n=t!==u,t=new Date(d).toLocaleDateString();const y=function(e){const t=[];if(e&&e.length>0){var n={};e.forEach((u=>{if("assistant"===u.role&&Object.hasOwn(u,"tool_calls")){const r=u.tool_calls[0].function;n.name=r.name,n.args=r.arguments}if("tool"===u.role&&u.name===n.name&&u.content){if(n.response=u.content,"retriever"===n.name&&u.metadata){const r=n.response.split("<doc").filter((l=>!!l)).map((l=>l.substring(l.indexOf(">")+1))),o=JSON.parse(u.metadata).documents;n.documents=r.map(((l,i)=>({key:o[i].key,filetype:o[i].filetype,score:o[i].score,content:l})))}t.push(n),n={}}}))}return t}(c);return{msgID:w,type:o,role:l,timestamp:d,read:h,content:a||"",images:s,debugPre:c,...y4(y),isDateChanged:n,currDate:u,senderID:i,videoUrls:m,fileUrls:x}}))},y4=e=>{const t=e.find((o=>"retriever"===o.name)),n=t&&t.response;var u=[],r="";return n&&(r=JSON.parse(t.args).query,u=t.documents),{isRAG:n,query:r,sources:u}};const Uf={};function wu(e,t){"string"!=typeof t&&(t=wu.defaultChars);const n=function(e){let t=Uf[e];if(t)return t;t=Uf[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);t.push(u)}for(let n=0;n<e.length;n++){const u=e.charCodeAt(n);t[u]="%"+("0"+u.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(u){let r="";for(let o=0,l=u.length;o<l;o+=3){const i=parseInt(u.slice(o+1,o+3),16);if(i<128)r+=n[i];else{if(192==(224&i)&&o+3<l){const a=parseInt(u.slice(o+4,o+6),16);if(128==(192&a)){const s=i<<6&1984|63&a;r+=s<128?"��":String.fromCharCode(s),o+=3;continue}}if(224==(240&i)&&o+6<l){const a=parseInt(u.slice(o+4,o+6),16),s=parseInt(u.slice(o+7,o+9),16);if(128==(192&a)&&128==(192&s)){const c=i<<12&61440|a<<6&4032|63&s;r+=c<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),o+=6;continue}}if(240==(248&i)&&o+9<l){const a=parseInt(u.slice(o+4,o+6),16),s=parseInt(u.slice(o+7,o+9),16),c=parseInt(u.slice(o+10,o+12),16);if(128==(192&a)&&128==(192&s)&&128==(192&c)){let d=i<<18&1835008|a<<12&258048|s<<6&4032|63&c;d<65536||d>1114111?r+="����":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(1023&d))),o+=9;continue}}r+="�"}}return r}))}wu.defaultChars=";/?:@&=+$,#",wu.componentChars="";const Vf={};function xr(e,t,n){"string"!=typeof t&&(n=t,t=xr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=Vf[e];if(t)return t;t=Vf[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);/^[0-9a-z]$/i.test(u)?t.push(u):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let r="";for(let o=0,l=e.length;o<l;o++){const i=e.charCodeAt(o);if(n&&37===i&&o+2<l&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))r+=e.slice(o,o+3),o+=2;else if(i<128)r+=u[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1<l){const a=e.charCodeAt(o+1);if(a>=56320&&a<=57343){r+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[o])}return r}function Bi(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function to(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}xr.defaultChars=";/?:@&=+$,-_.!~*'()#",xr.componentChars="-_.!~*'()";const k4=/^([a-z0-9.+-]+:)/i,C4=/:[0-9]*$/,S4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,T4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),D4=["'"].concat(T4),Zf=["%","/","?",";","#"].concat(D4),qf=["/","?","#"],Wf=/^[+a-z0-9A-Z_-]{0,63}$/,N4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Gf={javascript:!0,"javascript:":!0},Qf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ui(e,t){if(e&&e instanceof to)return e;const n=new to;return n.parse(e,t),n}to.prototype.parse=function(e,t){let n,u,r,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const s=S4.exec(o);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let l=k4.exec(o);if(l&&(l=l[0],n=l.toLowerCase(),this.protocol=l,o=o.substr(l.length)),(t||l||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),r&&!(l&&Gf[l])&&(o=o.substr(2),this.slashes=!0)),!Gf[l]&&(r||l&&!Qf[l])){let c,d,s=-1;for(let m=0;m<qf.length;m++)u=o.indexOf(qf[m]),-1!==u&&(-1===s||u<s)&&(s=u);d=-1===s?o.lastIndexOf("@"):o.lastIndexOf("@",s),-1!==d&&(c=o.slice(0,d),o=o.slice(d+1),this.auth=c),s=-1;for(let m=0;m<Zf.length;m++)u=o.indexOf(Zf[m]),-1!==u&&(-1===s||u<s)&&(s=u);-1===s&&(s=o.length),":"===o[s-1]&&s--;const h=o.slice(0,s);o=o.slice(s),this.parseHost(h),this.hostname=this.hostname||"";const w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){const m=this.hostname.split(/\./);for(let x=0,S=m.length;x<S;x++){const y=m[x];if(y&&!y.match(Wf)){let f="";for(let v=0,_=y.length;v<_;v++)y.charCodeAt(v)>127?f+="x":f+=y[v];if(!f.match(Wf)){const v=m.slice(0,x),_=m.slice(x+1),k=y.match(N4);k&&(v.push(k[1]),_.unshift(k[2])),_.length&&(o=_.join(".")+o),this.hostname=v.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=o.indexOf("#");-1!==i&&(this.hash=o.substr(i),o=o.slice(0,i));const a=o.indexOf("?");return-1!==a&&(this.search=o.substr(a),o=o.slice(0,a)),o&&(this.pathname=o),Qf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},to.prototype.parseHost=function(e){let t=C4.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const M4=Object.freeze(Object.defineProperty({__proto__:null,decode:wu,encode:xr,format:Bi,parse:Ui},Symbol.toStringTag,{value:"Module"})),Yf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Xf=/[\0-\x1F\x7F-\x9F]/,Vi=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Kf=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Jf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,j4=Object.freeze(Object.defineProperty({__proto__:null,Any:Yf,Cc:Xf,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:Vi,S:Kf,Z:Jf},Symbol.toStringTag,{value:"Module"})),O4=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),P4=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Zi;const R4=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),I4=null!==(Zi=String.fromCodePoint)&&void 0!==Zi?Zi:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var me;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(me||(me={}));var yn,ge,xn;function qi(e){return e>=me.ZERO&&e<=me.NINE}function $4(e){return e>=me.UPPER_A&&e<=me.UPPER_F||e>=me.LOWER_A&&e<=me.LOWER_F}function U4(e){return e===me.EQUALS||function(e){return e>=me.UPPER_A&&e<=me.UPPER_Z||e>=me.LOWER_A&&e<=me.LOWER_Z||qi(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(yn||(yn={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(ge||(ge={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(xn||(xn={}));class V4{constructor(t,n,u){this.decodeTree=t,this.emitCodePoint=n,this.errors=u,this.state=ge.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=xn.Strict}startEntity(t){this.decodeMode=t,this.state=ge.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ge.EntityStart:return t.charCodeAt(n)===me.NUM?(this.state=ge.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ge.NamedEntity,this.stateNamedEntity(t,n));case ge.NumericStart:return this.stateNumericStart(t,n);case ge.NumericDecimal:return this.stateNumericDecimal(t,n);case ge.NumericHex:return this.stateNumericHex(t,n);case ge.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(32|t.charCodeAt(n))===me.LOWER_X?(this.state=ge.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ge.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,u,r){if(n!==u){const o=u-n;this.result=this.result*Math.pow(r,o)+parseInt(t.substr(n,o),r),this.consumed+=o}}stateNumericHex(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(!qi(r)&&!$4(r))return this.addToNumericResult(t,u,n,16),this.emitNumericEntity(r,3);n+=1}return this.addToNumericResult(t,u,n,16),-1}stateNumericDecimal(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(!qi(r))return this.addToNumericResult(t,u,n,10),this.emitNumericEntity(r,2);n+=1}return this.addToNumericResult(t,u,n,10),-1}emitNumericEntity(t,n){var u;if(this.consumed<=n)return null===(u=this.errors)||void 0===u||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===me.SEMI)this.consumed+=1;else if(this.decodeMode===xn.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=R4.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(t!==me.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:u}=this;let r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const l=t.charCodeAt(n);if(this.treeIndex=Z4(u,r,this.treeIndex+Math.max(1,o),l),this.treeIndex<0)return 0===this.result||this.decodeMode===xn.Attribute&&(0===o||U4(l))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14,0!==o){if(l===me.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==xn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:u}=this,r=(u[n]&yn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,u){const{decodeTree:r}=this;return this.emitCodePoint(1===n?r[t]&~yn.VALUE_LENGTH:r[t+1],u),3===n&&this.emitCodePoint(r[t+2],u),u}end(){var t;switch(this.state){case ge.NamedEntity:return 0===this.result||this.decodeMode===xn.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case ge.NumericDecimal:return this.emitNumericEntity(0,2);case ge.NumericHex:return this.emitNumericEntity(0,3);case ge.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ge.EntityStart:return 0}}}function e2(e){let t="";const n=new V4(e,(u=>t+=I4(u)));return function(r,o){let l=0,i=0;for(;(i=r.indexOf("&",i))>=0;){t+=r.slice(l,i),n.startEntity(o);const s=n.write(r,i+1);if(s<0){l=i+n.end();break}l=i+s,i=0===s?l+1:l}const a=t+r.slice(l);return t="",a}}function Z4(e,t,n,u){const r=(t&yn.BRANCH_LENGTH)>>7,o=t&yn.JUMP_TABLE;if(0===r)return 0!==o&&u===o?n:-1;if(o){const a=u-o;return a<0||a>=r?-1:e[n+a]-1}let l=n,i=l+r-1;for(;l<=i;){const a=l+i>>>1,s=e[a];if(s<u)l=a+1;else{if(!(s>u))return e[a+r];i=a-1}}return-1}const q4=e2(O4);function t2(e,t=xn.Legacy){return q4(e,t)}function Wi(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}e2(P4);const G4=Object.prototype.hasOwnProperty;function no(e){return Array.prototype.slice.call(arguments,1).forEach((function(n){if(n){if("object"!=typeof n)throw new TypeError(n+"must be object");Object.keys(n).forEach((function(u){e[u]=n[u]}))}})),e}function n2(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Gi(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function uo(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const u2=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,X4=new RegExp(u2.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),K4=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function vu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(X4,(function(t,n,u){return n||function(e,t){if(35===t.charCodeAt(0)&&K4.test(t)){const u="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Gi(u)?uo(u):e}const n=t2(e);return n!==e?n:e}(t,u)}))}const tm=/[&<>"]/,nm=/[&<>"]/g,um={"&":"&","<":"<",">":">",'"':"""};function rm(e){return um[e]}function bn(e){return tm.test(e)?e.replace(nm,rm):e}const om=/[.?*+^$[\]\\(){}|-]/g;function Q(e){switch(e){case 9:case 32:return!0}return!1}function br(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function _r(e){return Vi.test(e)||Kf.test(e)}function Er(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ro(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const im=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:n2,assign:no,escapeHtml:bn,escapeRE:function(e){return e.replace(om,"\\$&")},fromCodePoint:uo,has:function(e,t){return G4.call(e,t)},isMdAsciiPunct:Er,isPunctChar:_r,isSpace:Q,isString:Wi,isValidEntityCode:Gi,isWhiteSpace:br,lib:{mdurl:M4,ucmicro:j4},normalizeReference:ro,unescapeAll:vu,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(u2,"$1")}},Symbol.toStringTag,{value:"Module"}));const fm=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(e,t,n){let u,r=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(r)){for(r++;r<n;){if(u=e.charCodeAt(r),10===u||60===u)return o;if(62===u)return o.pos=r+1,o.str=vu(e.slice(t+1,r)),o.ok=!0,o;92===u&&r+1<n?r+=2:r++}return o}let l=0;for(;r<n&&(u=e.charCodeAt(r),!(32===u||u<32||127===u));)if(92===u&&r+1<n){if(32===e.charCodeAt(r+1))break;r+=2}else{if(40===u&&(l++,l>32))return o;if(41===u){if(0===l)break;l--}r++}return t===r||0!==l||(o.str=vu(e.slice(t,r)),o.pos=r,o.ok=!0),o},parseLinkLabel:function(e,t,n){let u,r,o,l;const i=e.posMax,a=e.pos;for(e.pos=t+1,u=1;e.pos<i;){if(o=e.src.charCodeAt(e.pos),93===o&&(u--,0===u)){r=!0;break}if(l=e.pos,e.md.inline.skipToken(e),91===o)if(l===e.pos-1)u++;else if(n)return e.pos=a,-1}let s=-1;return r&&(s=e.pos),e.pos=a,s},parseLinkTitle:function(e,t,n,u){let r,o=t;const l={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)l.str=u.str,l.marker=u.marker;else{if(o>=n)return l;let i=e.charCodeAt(o);if(34!==i&&39!==i&&40!==i)return l;t++,o++,40===i&&(i=41),l.marker=i}for(;o<n;){if(r=e.charCodeAt(o),r===l.marker)return l.pos=o+1,l.str+=vu(e.slice(t,o)),l.ok=!0,l;if(40===r&&41===l.marker)return l;92===r&&o+1<n&&o++,o++}return l.can_continue=!0,l.str+=vu(e.slice(t,o)),l}},Symbol.toStringTag,{value:"Module"})),Ft={};function yu(){this.rules=no({},Ft)}function $e(){this.__rules__=[],this.__cache__=null}function xt(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function r2(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Ft.code_inline=function(e,t,n,u,r){const o=e[t];return"<code"+r.renderAttrs(o)+">"+bn(o.content)+"</code>"},Ft.code_block=function(e,t,n,u,r){const o=e[t];return"<pre"+r.renderAttrs(o)+"><code>"+bn(e[t].content)+"</code></pre>\n"},Ft.fence=function(e,t,n,u,r){const o=e[t],l=o.info?vu(o.info).trim():"";let s,i="",a="";if(l){const c=l.split(/(\s+)/g);i=c[0],a=c.slice(2).join("")}if(s=n.highlight&&n.highlight(o.content,i,a)||bn(o.content),0===s.indexOf("<pre"))return s+"\n";if(l){const c=o.attrIndex("class"),d=o.attrs?o.attrs.slice():[];c<0?d.push(["class",n.langPrefix+i]):(d[c]=d[c].slice(),d[c][1]+=" "+n.langPrefix+i);const h={attrs:d};return`<pre><code${r.renderAttrs(h)}>${s}</code></pre>\n`}return`<pre><code${r.renderAttrs(o)}>${s}</code></pre>\n`},Ft.image=function(e,t,n,u,r){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,u),r.renderToken(e,t,n)},Ft.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Ft.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Ft.text=function(e,t){return bn(e[t].content)},Ft.html_block=function(e,t){return e[t].content},Ft.html_inline=function(e,t){return e[t].content},yu.prototype.renderAttrs=function(t){let n,u,r;if(!t.attrs)return"";for(r="",n=0,u=t.attrs.length;n<u;n++)r+=" "+bn(t.attrs[n][0])+'="'+bn(t.attrs[n][1])+'"';return r},yu.prototype.renderToken=function(t,n,u){const r=t[n];let o="";if(r.hidden)return"";r.block&&-1!==r.nesting&&n&&t[n-1].hidden&&(o+="\n"),o+=(-1===r.nesting?"</":"<")+r.tag,o+=this.renderAttrs(r),0===r.nesting&&u.xhtmlOut&&(o+=" /");let l=!1;if(r.block&&(l=!0,1===r.nesting&&n+1<t.length)){const i=t[n+1];("inline"===i.type||i.hidden||-1===i.nesting&&i.tag===r.tag)&&(l=!1)}return o+=l?">\n":">",o},yu.prototype.renderInline=function(e,t,n){let u="";const r=this.rules;for(let o=0,l=e.length;o<l;o++){const i=e[o].type;typeof r[i]<"u"?u+=r[i](e,o,t,n,this):u+=this.renderToken(e,o,t)}return u},yu.prototype.renderInlineAsText=function(e,t,n){let u="";for(let r=0,o=e.length;r<o;r++)switch(e[r].type){case"text":case"html_inline":case"html_block":u+=e[r].content;break;case"image":u+=this.renderInlineAsText(e[r].children,t,n);break;case"softbreak":case"hardbreak":u+="\n"}return u},yu.prototype.render=function(e,t,n){let u="";const r=this.rules;for(let o=0,l=e.length;o<l;o++){const i=e[o].type;"inline"===i?u+=this.renderInline(e[o].children,t,n):typeof r[i]<"u"?u+=r[i](e,o,t,n,this):u+=this.renderToken(e,o,t,n)}return u},$e.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},$e.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach((function(n){n.enabled&&n.alt.forEach((function(u){t.indexOf(u)<0&&t.push(u)}))})),e.__cache__={},t.forEach((function(n){e.__cache__[n]=[],e.__rules__.forEach((function(u){u.enabled&&(n&&u.alt.indexOf(n)<0||e.__cache__[n].push(u.fn))}))}))},$e.prototype.at=function(e,t,n){const u=this.__find__(e),r=n||{};if(-1===u)throw new Error("Parser rule not found: "+e);this.__rules__[u].fn=t,this.__rules__[u].alt=r.alt||[],this.__cache__=null},$e.prototype.before=function(e,t,n,u){const r=this.__find__(e),o=u||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},$e.prototype.after=function(e,t,n,u){const r=this.__find__(e),o=u||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},$e.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},$e.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!0,n.push(u)}),this),this.__cache__=null,n},$e.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(n){n.enabled=!1})),this.enable(e,t)},$e.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!1,n.push(u)}),this),this.__cache__=null,n},$e.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},xt.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let u=0,r=n.length;u<r;u++)if(n[u][0]===t)return u;return-1},xt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},xt.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},xt.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},xt.prototype.attrJoin=function(t,n){const u=this.attrIndex(t);u<0?this.attrPush([t,n]):this.attrs[u][1]=this.attrs[u][1]+" "+n},r2.prototype.Token=xt;const dm=/\r\n?|\n/g,pm=/\0/g;function wm(e){return/^<a[>\s]/i.test(e)}function vm(e){return/^<\/a\s*>/i.test(e)}const o2=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,xm=/\((c|tm|r)\)/i,bm=/\((c|tm|r)\)/gi,_m={c:"©",r:"®",tm:"™"};function Em(e,t){return _m[t.toLowerCase()]}function km(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&(u.content=u.content.replace(bm,Em)),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}function Cm(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&o2.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}const Am=/['"]/,l2=/['"]/g,i2="’";function oo(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Tm(e,t){let n;const u=[];for(let r=0;r<e.length;r++){const o=e[r],l=e[r].level;for(n=u.length-1;n>=0&&!(u[n].level<=l);n--);if(u.length=n+1,"text"!==o.type)continue;let i=o.content,a=0,s=i.length;e:for(;a<s;){l2.lastIndex=a;const c=l2.exec(i);if(!c)break;let d=!0,h=!0;a=c.index+1;const w="'"===c[0];let m=32;if(c.index-1>=0)m=i.charCodeAt(c.index-1);else for(n=r-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let x=32;if(a<s)x=i.charCodeAt(a);else for(n=r+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){x=e[n].content.charCodeAt(0);break}const S=Er(m)||_r(String.fromCharCode(m)),y=Er(x)||_r(String.fromCharCode(x)),f=br(m),v=br(x);if(v?d=!1:y&&(f||S||(d=!1)),f?h=!1:S&&(v||y||(h=!1)),34===x&&'"'===c[0]&&m>=48&&m<=57&&(h=d=!1),d&&h&&(d=S,h=y),d||h){if(h)for(n=u.length-1;n>=0;n--){let _=u[n];if(u[n].level<l)break;if(_.single===w&&u[n].level===l){let k,C;_=u[n],w?(k=t.md.options.quotes[2],C=t.md.options.quotes[3]):(k=t.md.options.quotes[0],C=t.md.options.quotes[1]),o.content=oo(o.content,c.index,C),e[_.token].content=oo(e[_.token].content,_.pos,k),a+=C.length-1,_.token===r&&(a+=k.length-1),i=o.content,s=i.length,u.length=n;continue e}}d?u.push({token:r,pos:c.index,single:w,level:l}):h&&w&&(o.content=oo(o.content,c.index,i2))}else w&&(o.content=oo(o.content,c.index,i2))}}}const Qi=[["normalize",function(e){let t;t=e.src.replace(dm,"\n"),t=t.replace(pm,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,u=t.length;n<u;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,u=t.length;n<u;n++){if("inline"!==t[n].type||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,o=0;for(let l=r.length-1;l>=0;l--){const i=r[l];if("link_close"!==i.type){if("html_inline"===i.type&&(wm(i.content)&&o>0&&o--,vm(i.content)&&o++),!(o>0)&&"text"===i.type&&e.md.linkify.test(i.content)){const a=i.content;let s=e.md.linkify.match(a);const c=[];let d=i.level,h=0;s.length>0&&0===s[0].index&&l>0&&"text_special"===r[l-1].type&&(s=s.slice(1));for(let w=0;w<s.length;w++){const m=s[w].url,x=e.md.normalizeLink(m);if(!e.md.validateLink(x))continue;let S=s[w].text;S=s[w].schema?"mailto:"!==s[w].schema||/^mailto:/i.test(S)?e.md.normalizeLinkText(S):e.md.normalizeLinkText("mailto:"+S).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+S).replace(/^http:\/\//,"");const y=s[w].index;if(y>h){const k=new e.Token("text","",0);k.content=a.slice(h,y),k.level=d,c.push(k)}const f=new e.Token("link_open","a",1);f.attrs=[["href",x]],f.level=d++,f.markup="linkify",f.info="auto",c.push(f);const v=new e.Token("text","",0);v.content=S,v.level=d,c.push(v);const _=new e.Token("link_close","a",-1);_.level=--d,_.markup="linkify",_.info="auto",c.push(_),h=s[w].lastIndex}if(h<a.length){const w=new e.Token("text","",0);w.content=a.slice(h),w.level=d,c.push(w)}t[n].children=r=n2(r,l,c)}}else for(l--;r[l].level!==i.level&&"link_open"!==r[l].type;)l--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(xm.test(e.tokens[t].content)&&km(e.tokens[t].children),o2.test(e.tokens[t].content)&&Cm(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"!==e.tokens[t].type||!Am.test(e.tokens[t].content)||Tm(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const u=e.tokens,r=u.length;for(let o=0;o<r;o++){if("inline"!==u[o].type)continue;const l=u[o].children,i=l.length;for(t=0;t<i;t++)"text_special"===l[t].type&&(l[t].type="text");for(t=n=0;t<i;t++)"text"===l[t].type&&t+1<i&&"text"===l[t+1].type?l[t+1].content=l[t].content+l[t+1].content:(t!==n&&(l[n]=l[t]),n++);t!==n&&(l.length=n)}}]];function Yi(){this.ruler=new $e;for(let e=0;e<Qi.length;e++)this.ruler.push(Qi[e][0],Qi[e][1])}function Nt(e,t,n,u){this.src=e,this.md=t,this.env=n,this.tokens=u,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let o=0,l=0,i=0,a=0,s=r.length,c=!1;l<s;l++){const d=r.charCodeAt(l);if(!c){if(Q(d)){i++,9===d?a+=4-a%4:a++;continue}c=!0}(10===d||l===s-1)&&(10!==d&&l++,this.bMarks.push(o),this.eMarks.push(l),this.tShift.push(i),this.sCount.push(a),this.bsCount.push(0),c=!1,i=0,a=0,o=l+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Yi.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,u=t.length;n<u;n++)t[n](e)},Yi.prototype.State=r2,Nt.prototype.push=function(e,t,n){const u=new xt(e,t,n);return u.block=!0,n<0&&this.level--,u.level=this.level,n>0&&this.level++,this.tokens.push(u),u},Nt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Nt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},Nt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){if(!Q(this.src.charCodeAt(t)))break}return t},Nt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Q(this.src.charCodeAt(--t)))return t+1;return t},Nt.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t},Nt.prototype.skipCharsBack=function(t,n,u){if(t<=u)return t;for(;t>u;)if(n!==this.src.charCodeAt(--t))return t+1;return t},Nt.prototype.getLines=function(t,n,u,r){if(t>=n)return"";const o=new Array(n-t);for(let l=0,i=t;i<n;i++,l++){let a=0;const s=this.bMarks[i];let d,c=s;for(d=i+1<n||r?this.eMarks[i]+1:this.eMarks[i];c<d&&a<u;){const h=this.src.charCodeAt(c);if(Q(h))9===h?a+=4-(a+this.bsCount[i])%4:a++;else{if(!(c-s<this.tShift[i]))break;a++}c++}o[l]=a>u?new Array(a-u+1).join(" ")+this.src.slice(c,d):this.src.slice(c,d)}return o.join("")},Nt.prototype.Token=xt;function Xi(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function a2(e){const t=[],n=e.length;let u=0,r=e.charCodeAt(u),o=!1,l=0,i="";for(;u<n;)124===r&&(o?(i+=e.substring(l,u-1),l=u):(t.push(i+e.substring(l,u)),i="",l=u+1)),o=92===r,u++,r=e.charCodeAt(u);return t.push(i+e.substring(l)),t}function s2(e,t){const n=e.eMarks[t];let u=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(u++);if(42!==r&&45!==r&&43!==r)return-1;if(u<n){if(!Q(e.src.charCodeAt(u)))return-1}return u}function c2(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];let r=n;if(r+1>=u)return-1;let o=e.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=u)return-1;if(o=e.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-n>=10)return-1}return r<u&&(o=e.src.charCodeAt(r),!Q(o))?-1:r}const f2="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",d2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Wm=new RegExp("^(?:"+f2+"|"+d2+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Gm=new RegExp("^(?:"+f2+"|"+d2+")"),xu=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Gm.source+"\\s*$"),/^$/,!1]];const lo=[["table",function(e,t,n,u){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let o=e.bMarks[r]+e.tShift[r];if(o>=e.eMarks[r])return!1;const l=e.src.charCodeAt(o++);if(124!==l&&45!==l&&58!==l||o>=e.eMarks[r])return!1;const i=e.src.charCodeAt(o++);if(124!==i&&45!==i&&58!==i&&!Q(i)||45===l&&Q(i))return!1;for(;o<e.eMarks[r];){const _=e.src.charCodeAt(o);if(124!==_&&45!==_&&58!==_&&!Q(_))return!1;o++}let a=Xi(e,t+1),s=a.split("|");const c=[];for(let _=0;_<s.length;_++){const k=s[_].trim();if(!k){if(0===_||_===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;58===k.charCodeAt(k.length-1)?c.push(58===k.charCodeAt(0)?"center":"right"):58===k.charCodeAt(0)?c.push("left"):c.push("")}if(a=Xi(e,t).trim(),-1===a.indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;s=a2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop();const d=s.length;if(0===d||d!==c.length)return!1;if(u)return!0;const h=e.parentType;e.parentType="table";const w=e.md.block.ruler.getRules("blockquote"),x=[t,0];e.push("table_open","table",1).map=x,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let _=0;_<s.length;_++){const k=e.push("th_open","th",1);c[_]&&(k.attrs=[["style","text-align:"+c[_]]]);const C=e.push("inline","",0);C.content=s[_].trim(),C.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let f,v=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let _=!1;for(let C=0,A=w.length;C<A;C++)if(w[C](e,r,n,!0)){_=!0;break}if(_||(a=Xi(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(s=a2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop(),v+=d-s.length,v>65536))break;if(r===t+2){e.push("tbody_open","tbody",1).map=f=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let C=0;C<d;C++){const A=e.push("td_open","td",1);c[C]&&(A.attrs=[["style","text-align:"+c[C]]]);const F=e.push("inline","",0);F.content=s[C]?s[C].trim():"",F.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return f&&(e.push("tbody_close","tbody",-1),f[1]=r),e.push("table_close","table",-1),x[1]=r,e.parentType=h,e.line=r,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let u=t+1,r=u;for(;u<n;)if(e.isEmpty(u))u++;else{if(!(e.sCount[u]-e.blkIndent>=4))break;u++,r=u}e.line=r;const o=e.push("code_block","code",0);return o.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>o)return!1;const l=e.src.charCodeAt(r);if(126!==l&&96!==l)return!1;let i=r;r=e.skipChars(r,l);let a=r-i;if(a<3)return!1;const s=e.src.slice(i,r),c=e.src.slice(r,o);if(96===l&&c.indexOf(String.fromCharCode(l))>=0)return!1;if(u)return!0;let d=t,h=!1;for(;d++,!(d>=n||(r=i=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],r<o&&e.sCount[d]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==l||e.sCount[d]-e.blkIndent>=4||(r=e.skipChars(r,l),r-i<a||(r=e.skipSpaces(r),r<o)))){h=!0;break}a=e.sCount[t],e.line=d+(h?1:0);const w=e.push("fence","code",0);return w.info=c,w.content=e.getLines(t+1,d,a,!0),w.markup=s,w.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const l=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(r))return!1;if(u)return!0;const i=[],a=[],s=[],c=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let m,w=!1;for(m=t;m<n;m++){const v=e.sCount[m]<e.blkIndent;if(r=e.bMarks[m]+e.tShift[m],o=e.eMarks[m],r>=o)break;if(62===e.src.charCodeAt(r++)&&!v){let C,A,k=e.sCount[m]+1;32===e.src.charCodeAt(r)?(r++,k++,A=!1,C=!0):9===e.src.charCodeAt(r)?(C=!0,(e.bsCount[m]+k)%4==3?(r++,k++,A=!1):A=!0):C=!1;let F=k;for(i.push(e.bMarks[m]),e.bMarks[m]=r;r<o;){const R=e.src.charCodeAt(r);if(!Q(R))break;9===R?F+=4-(F+e.bsCount[m]+(A?1:0))%4:F++,r++}w=r>=o,a.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(C?1:0),s.push(e.sCount[m]),e.sCount[m]=F-k,c.push(e.tShift[m]),e.tShift[m]=r-e.bMarks[m];continue}if(w)break;let _=!1;for(let k=0,C=d.length;k<C;k++)if(d[k](e,m,n,!0)){_=!0;break}if(_){e.lineMax=m,0!==e.blkIndent&&(i.push(e.bMarks[m]),a.push(e.bsCount[m]),c.push(e.tShift[m]),s.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}i.push(e.bMarks[m]),a.push(e.bsCount[m]),c.push(e.tShift[m]),s.push(e.sCount[m]),e.sCount[m]=-1}const x=e.blkIndent;e.blkIndent=0;const S=e.push("blockquote_open","blockquote",1);S.markup=">";const y=[t,0];S.map=y,e.md.block.tokenize(e,t,m),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=l,e.parentType=h,y[1]=e.line;for(let v=0;v<c.length;v++)e.bMarks[v+t]=i[v],e.tShift[v+t]=c[v],e.sCount[v+t]=s[v],e.bsCount[v+t]=a[v];return e.blkIndent=x,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,u){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const l=e.src.charCodeAt(o++);if(42!==l&&45!==l&&95!==l)return!1;let i=1;for(;o<r;){const s=e.src.charCodeAt(o++);if(s!==l&&!Q(s))return!1;s===l&&i++}if(i<3)return!1;if(u)return!0;e.line=t+1;const a=e.push("hr","hr",0);return a.map=[t,e.line],a.markup=Array(i+1).join(String.fromCharCode(l)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,u){let r,o,l,i,a=t,s=!0;if(e.sCount[a]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]<e.blkIndent)return!1;let d,h,w,c=!1;if(u&&"paragraph"===e.parentType&&e.sCount[a]>=e.blkIndent&&(c=!0),(w=c2(e,a))>=0){if(d=!0,l=e.bMarks[a]+e.tShift[a],h=Number(e.src.slice(l,w-1)),c&&1!==h)return!1}else{if(!((w=s2(e,a))>=0))return!1;d=!1}if(c&&e.skipSpaces(w)>=e.eMarks[a])return!1;if(u)return!0;const m=e.src.charCodeAt(w-1),x=e.tokens.length;d?(i=e.push("ordered_list_open","ol",1),1!==h&&(i.attrs=[["start",h]])):i=e.push("bullet_list_open","ul",1);const S=[a,0];i.map=S,i.markup=String.fromCharCode(m);let y=!1;const f=e.md.block.ruler.getRules("list"),v=e.parentType;for(e.parentType="list";a<n;){o=w,r=e.eMarks[a];const _=e.sCount[a]+w-(e.bMarks[a]+e.tShift[a]);let k=_;for(;o<r;){const ft=e.src.charCodeAt(o);if(9===ft)k+=4-(k+e.bsCount[a])%4;else{if(32!==ft)break;k++}o++}const C=o;let A;A=C>=r?1:k-_,A>4&&(A=1);const F=_+A;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(m);const R=[a,0];i.map=R,d&&(i.info=e.src.slice(l,w-1));const j=e.tight,P=e.tShift[a],de=e.sCount[a],Je=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=F,e.tight=!0,e.tShift[a]=C-e.bMarks[a],e.sCount[a]=k,C>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||y)&&(s=!1),y=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Je,e.tShift[a]=P,e.sCount[a]=de,e.tight=j,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(m),a=e.line,R[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let ct=!1;for(let ft=0,Et=f.length;ft<Et;ft++)if(f[ft](e,a,n,!0)){ct=!0;break}if(ct)break;if(d){if(w=c2(e,a),w<0)break;l=e.bMarks[a]+e.tShift[a]}else if(w=s2(e,a),w<0)break;if(m!==e.src.charCodeAt(w-1))break}return i=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(m),S[1]=a,e.line=a,e.parentType=v,s&&function(e,t){const n=e.level+2;for(let u=t+2,r=e.tokens.length-2;u<r;u++)e.tokens[u].level===n&&"paragraph_open"===e.tokens[u].type&&(e.tokens[u+2].hidden=!0,e.tokens[u].hidden=!0,u+=2)}(e,x),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],l=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(r))return!1;function i(f){const v=e.lineMax;if(f>=v||e.isEmpty(f))return null;let _=!1;if(e.sCount[f]-e.blkIndent>3&&(_=!0),e.sCount[f]<0&&(_=!0),!_){const A=e.md.block.ruler.getRules("reference"),F=e.parentType;e.parentType="reference";let R=!1;for(let j=0,P=A.length;j<P;j++)if(A[j](e,f,v,!0)){R=!0;break}if(e.parentType=F,R)return null}const k=e.bMarks[f]+e.tShift[f],C=e.eMarks[f];return e.src.slice(k,C+1)}let a=e.src.slice(r,o+1);o=a.length;let s=-1;for(r=1;r<o;r++){const f=a.charCodeAt(r);if(91===f)return!1;if(93===f){s=r;break}if(10===f){const v=i(l);null!==v&&(a+=v,o=a.length,l++)}else if(92===f&&(r++,r<o&&10===a.charCodeAt(r))){const v=i(l);null!==v&&(a+=v,o=a.length,l++)}}if(s<0||58!==a.charCodeAt(s+1))return!1;for(r=s+2;r<o;r++){const f=a.charCodeAt(r);if(10===f){const v=i(l);null!==v&&(a+=v,o=a.length,l++)}else if(!Q(f))break}const c=e.md.helpers.parseLinkDestination(a,r,o);if(!c.ok)return!1;const d=e.md.normalizeLink(c.str);if(!e.md.validateLink(d))return!1;r=c.pos;const h=r,w=l,m=r;for(;r<o;r++){const f=a.charCodeAt(r);if(10===f){const v=i(l);null!==v&&(a+=v,o=a.length,l++)}else if(!Q(f))break}let S,x=e.md.helpers.parseLinkTitle(a,r,o);for(;x.can_continue;){const f=i(l);if(null===f)break;a+=f,r=o,o=a.length,l++,x=e.md.helpers.parseLinkTitle(a,r,o,x)}for(r<o&&m!==r&&x.ok?(S=x.str,r=x.pos):(S="",r=h,l=w);r<o;){if(!Q(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r)&&S)for(S="",r=h,l=w;r<o;){if(!Q(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r))return!1;const y=ro(a.slice(1,s));return!!y&&(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:S,href:d}),e.line=l),!0)}],["html_block",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(r))return!1;let l=e.src.slice(r,o),i=0;for(;i<xu.length&&!xu[i][0].test(l);i++);if(i===xu.length)return!1;if(u)return xu[i][2];let a=t+1;if(!xu[i][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],o=e.eMarks[a],l=e.src.slice(r,o),xu[i][1].test(l)){0!==l.length&&a++;break}e.line=a;const s=e.push("html_block","",0);return s.map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let l=e.src.charCodeAt(r);if(35!==l||r>=o)return!1;let i=1;for(l=e.src.charCodeAt(++r);35===l&&r<o&&i<=6;)i++,l=e.src.charCodeAt(++r);if(i>6||r<o&&!Q(l))return!1;if(u)return!0;o=e.skipSpacesBack(o,r);const a=e.skipCharsBack(o,35,r);a>r&&Q(e.src.charCodeAt(a-1))&&(o=a),e.line=t+1;const s=e.push("heading_open","h"+String(i),1);s.markup="########".slice(0,i),s.map=[t,e.line];const c=e.push("inline","",0);return c.content=e.src.slice(r,o).trim(),c.map=[t,e.line],c.children=[],e.push("heading_close","h"+String(i),-1).markup="########".slice(0,i),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let l,o=0,i=t+1;for(;i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3)continue;if(e.sCount[i]>=e.blkIndent){let w=e.bMarks[i]+e.tShift[i];const m=e.eMarks[i];if(w<m&&(l=e.src.charCodeAt(w),(45===l||61===l)&&(w=e.skipChars(w,l),w=e.skipSpaces(w),w>=m))){o=61===l?1:2;break}}if(e.sCount[i]<0)continue;let h=!1;for(let w=0,m=u.length;w<m;w++)if(u[w](e,i,n,!0)){h=!0;break}if(h)break}if(!o)return!1;const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i+1;const s=e.push("heading_open","h"+String(o),1);s.markup=String.fromCharCode(l),s.map=[t,e.line];const c=e.push("inline","",0);return c.content=a,c.map=[t,e.line-1],c.children=[],e.push("heading_close","h"+String(o),-1).markup=String.fromCharCode(l),e.parentType=r,!0}],["paragraph",function(e,t,n){const u=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let s=!1;for(let c=0,d=u.length;c<d;c++)if(u[c](e,o,n,!0)){s=!0;break}if(s)break}const l=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const a=e.push("inline","",0);return a.content=l,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}]];function io(){this.ruler=new $e;for(let e=0;e<lo.length;e++)this.ruler.push(lo[e][0],lo[e][1],{alt:(lo[e][2]||[]).slice()})}function kr(e,t,n,u){this.src=e,this.env=n,this.md=t,this.tokens=u,this.tokens_meta=Array(u.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}function Jm(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}io.prototype.tokenize=function(e,t,n){const u=this.ruler.getRules(""),r=u.length,o=e.md.options.maxNesting;let l=t,i=!1;for(;l<n&&(e.line=l=e.skipEmptyLines(l),!(l>=n||e.sCount[l]<e.blkIndent));){if(e.level>=o){e.line=n;break}const a=e.line;let s=!1;for(let c=0;c<r;c++)if(s=u[c](e,l,n,!1),s){if(a>=e.line)throw new Error("block rule didn't increment state.line");break}if(!s)throw new Error("none of the block rules matched");e.tight=!i,e.isEmpty(e.line-1)&&(i=!0),l=e.line,l<n&&e.isEmpty(l)&&(i=!0,l++,e.line=l)}},io.prototype.parse=function(e,t,n,u){if(!e)return;const r=new this.State(e,t,n,u);this.tokenize(r,r.line,r.lineMax)},io.prototype.State=Nt,kr.prototype.pushPending=function(){const e=new xt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},kr.prototype.push=function(e,t,n){this.pending&&this.pushPending();const u=new xt(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),u.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(r),u},kr.prototype.scanDelims=function(e,t){const n=this.posMax,u=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===u;)o++;const l=o-e,i=o<n?this.src.charCodeAt(o):32,a=Er(r)||_r(String.fromCharCode(r)),s=Er(i)||_r(String.fromCharCode(i)),c=br(r),d=br(i),h=!d&&(!s||c||a),w=!c&&(!a||d||s);return{can_open:h&&(t||!w||a),can_close:w&&(t||!h||s),length:l}},kr.prototype.Token=xt;const t8=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const Ki=[];for(let e=0;e<256;e++)Ki.push(0);function p2(e,t){let n;const u=[],r=t.length;for(let o=0;o<r;o++){const l=t[o];if(126!==l.marker||-1===l.end)continue;const i=t[l.end];n=e.tokens[l.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[i.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&u.push(i.token-1)}for(;u.length;){const o=u.pop();let l=o+1;for(;l<e.tokens.length&&"s_close"===e.tokens[l].type;)l++;l--,o!==l&&(n=e.tokens[l],e.tokens[l]=e.tokens[o],e.tokens[o]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){Ki[e.charCodeAt(0)]=1}));const h2={tokenize:function(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||126!==u)return!1;const r=e.scanDelims(e.pos,!0);let o=r.length;const l=String.fromCharCode(u);if(o<2)return!1;let i;o%2&&(i=e.push("text","",0),i.content=l,o--);for(let a=0;a<o;a+=2)i=e.push("text","",0),i.content=l+l,e.delimiters.push({marker:u,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;p2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&p2(e,t[u].delimiters)}};function m2(e,t){for(let u=t.length-1;u>=0;u--){const r=t[u];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;const o=t[r.end],l=u>0&&t[u-1].end===r.end+1&&t[u-1].marker===r.marker&&t[u-1].token===r.token-1&&t[r.end+1].token===o.token+1,i=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=l?"strong_open":"em_open",a.tag=l?"strong":"em",a.nesting=1,a.markup=l?i+i:i,a.content="";const s=e.tokens[o.token];s.type=l?"strong_close":"em_close",s.tag=l?"strong":"em",s.nesting=-1,s.markup=l?i+i:i,s.content="",l&&(e.tokens[t[u-1].token].content="",e.tokens[t[r.end+1].token].content="",u--)}}const g2={tokenize:function(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||95!==u&&42!==u)return!1;const r=e.scanDelims(e.pos,42===u);for(let o=0;o<r.length;o++){e.push("text","",0).content=String.fromCharCode(u),e.delimiters.push({marker:u,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;m2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&m2(e,t[u].delimiters)}};const d8=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,p8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const y8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,x8=/^&([a-z][a-z0-9]{1,31});/i;function w2(e){const t={},n=e.length;if(!n)return;let u=0,r=-2;const o=[];for(let l=0;l<n;l++){const i=e[l];if(o.push(0),(e[u].marker!==i.marker||r!==i.token-1)&&(u=l),r=i.token,i.length=i.length||0,!i.close)continue;t.hasOwnProperty(i.marker)||(t[i.marker]=[-1,-1,-1,-1,-1,-1]);const a=t[i.marker][(i.open?3:0)+i.length%3];let s=u-o[u]-1,c=s;for(;s>a;s-=o[s]+1){const d=e[s];if(d.marker===i.marker&&d.open&&d.end<0){let h=!1;if((d.close||i.open)&&(d.length+i.length)%3==0&&(d.length%3!=0||i.length%3!=0)&&(h=!0),!h){const w=s>0&&!e[s-1].open?o[s-1]+1:0;o[l]=l-s+w,o[s]=w,i.open=!1,d.end=l,d.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=c)}}const Ji=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!Jm(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax||58!==e.src.charCodeAt(n)||47!==e.src.charCodeAt(n+1)||47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match(t8);if(!r)return!1;const o=r[1],l=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!l)return!1;let i=l.url;if(i.length<=o.length)return!1;i=i.replace(/\*+$/,"");const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="linkify",s.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(i);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=i.length-o.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const u=e.pending.length-1,r=e.posMax;if(!t)if(u>=0&&32===e.pending.charCodeAt(u))if(u>=1&&32===e.pending.charCodeAt(u-1)){let o=u-1;for(;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&Q(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const u=e.posMax;if(92!==e.src.charCodeAt(n)||(n++,n>=u))return!1;let r=e.src.charCodeAt(n);if(10===r){for(t||e.push("hardbreak","br",0),n++;n<u&&(r=e.src.charCodeAt(n),Q(r));)n++;return e.pos=n,!0}let o=e.src[n];if(r>=55296&&r<=56319&&n+1<u){const i=e.src.charCodeAt(n+1);i>=56320&&i<=57343&&(o+=e.src[n+1],n++)}const l="\\"+o;if(!t){const i=e.push("text_special","",0);r<256&&0!==Ki[r]?i.content=o:i.content=l,i.markup=l,i.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const o=e.posMax;for(;n<o&&96===e.src.charCodeAt(n);)n++;const l=e.src.slice(r,n),i=l.length;if(e.backticksScanned&&(e.backticks[i]||0)<=r)return t||(e.pending+=l),e.pos+=i,!0;let s,a=n;for(;-1!==(s=e.src.indexOf("`",a));){for(a=s+1;a<o&&96===e.src.charCodeAt(a);)a++;const c=a-s;if(c===i){if(!t){const d=e.push("code_inline","code",0);d.markup=l,d.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[c]=s}return e.backticksScanned=!0,t||(e.pending+=l),e.pos+=i,!0}],["strikethrough",h2.tokenize],["emphasis",g2.tokenize],["link",function(e,t){let n,u,r,o,l="",i="",a=e.pos,s=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const c=e.pos,d=e.posMax,h=e.pos+1,w=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(w<0)return!1;let m=w+1;if(m<d&&40===e.src.charCodeAt(m)){for(s=!1,m++;m<d&&(n=e.src.charCodeAt(m),Q(n)||10===n);m++);if(m>=d)return!1;if(a=m,r=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),r.ok){for(l=e.md.normalizeLink(r.str),e.md.validateLink(l)?m=r.pos:l="",a=m;m<d&&(n=e.src.charCodeAt(m),Q(n)||10===n);m++);if(r=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&a!==m&&r.ok)for(i=r.str,m=r.pos;m<d&&(n=e.src.charCodeAt(m),Q(n)||10===n);m++);}(m>=d||41!==e.src.charCodeAt(m))&&(s=!0),m++}if(s){if(typeof e.env.references>"u")return!1;if(m<d&&91===e.src.charCodeAt(m)?(a=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?u=e.src.slice(a,m++):m=w+1):m=w+1,u||(u=e.src.slice(h,w)),o=e.env.references[ro(u)],!o)return e.pos=c,!1;l=o.href,i=o.title}if(!t){e.pos=h,e.posMax=w;const S=[["href",l]];e.push("link_open","a",1).attrs=S,i&&S.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=m,e.posMax=d,!0}],["image",function(e,t){let n,u,r,o,l,i,a,s,c="";const d=e.pos,h=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;const w=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(o=m+1,o<h&&40===e.src.charCodeAt(o)){for(o++;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);if(o>=h)return!1;for(s=o,i=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),i.ok&&(c=e.md.normalizeLink(i.str),e.md.validateLink(c)?o=i.pos:c=""),s=o;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);if(i=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<h&&s!==o&&i.ok)for(a=i.str,o=i.pos;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);else a="";if(o>=h||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<h&&91===e.src.charCodeAt(o)?(s=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?r=e.src.slice(s,o++):o=m+1):o=m+1,r||(r=e.src.slice(w,m)),l=e.env.references[ro(r)],!l)return e.pos=d,!1;c=l.href,a=l.title}if(!t){u=e.src.slice(w,m);const x=[];e.md.inline.parse(u,e.md,e.env,x);const S=e.push("image","img",0),y=[["src",c],["alt",""]];S.attrs=y,S.children=x,S.content=u,a&&y.push(["title",a])}return e.pos=o,e.posMax=h,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const u=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const l=e.src.charCodeAt(n);if(60===l)return!1;if(62===l)break}const o=e.src.slice(u+1,n);if(p8.test(o)){const l=e.md.normalizeLink(o);if(!e.md.validateLink(l))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",l]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}if(d8.test(o)){const l=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(l))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",l]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,u=e.pos;if(60!==e.src.charCodeAt(u)||u+2>=n)return!1;const r=e.src.charCodeAt(u+1);if(33!==r&&63!==r&&47!==r&&!function(e){const t=32|e;return t>=97&&t<=122}(r))return!1;const o=e.src.slice(u).match(Wm);if(!o)return!1;if(!t){const l=e.push("html_inline","",0);l.content=o[0],function(e){return/^<a[>\s]/i.test(e)}(l.content)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(l.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}],["entity",function(e,t){const n=e.pos,u=e.posMax;if(38!==e.src.charCodeAt(n)||n+1>=u)return!1;if(35===e.src.charCodeAt(n+1)){const o=e.src.slice(n).match(y8);if(o){if(!t){const l="x"===o[1][0].toLowerCase()?parseInt(o[1].slice(1),16):parseInt(o[1],10),i=e.push("text_special","",0);i.content=Gi(l)?uo(l):uo(65533),i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(x8);if(o){const l=t2(o[0]);if(l!==o[0]){if(!t){const i=e.push("text_special","",0);i.content=l,i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}}return!1}]],ea=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;w2(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&w2(t[u].delimiters)}],["strikethrough",h2.postProcess],["emphasis",g2.postProcess],["fragments_join",function(e){let t,n,u=0;const r=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r[t].nesting<0&&u--,r[t].level=u,r[t].nesting>0&&u++,"text"===r[t].type&&t+1<o&&"text"===r[t+1].type?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}]];function Cr(){this.ruler=new $e;for(let e=0;e<Ji.length;e++)this.ruler.push(Ji[e][0],Ji[e][1]);this.ruler2=new $e;for(let e=0;e<ea.length;e++)this.ruler2.push(ea[e][0],ea[e][1])}function ta(e){return Array.prototype.slice.call(arguments,1).forEach((function(n){n&&Object.keys(n).forEach((function(u){e[u]=n[u]}))})),e}function ao(e){return Object.prototype.toString.call(e)}function v2(e){return"[object Function]"===ao(e)}function T8(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Cr.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),u=n.length,r=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u")return void(e.pos=o[t]);let l=!1;if(e.level<r){for(let i=0;i<u;i++)if(e.level++,l=n[i](e,!0),e.level--,l){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;l||e.pos++,o[t]=e.pos},Cr.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,u=e.posMax,r=e.md.options.maxNesting;for(;e.pos<u;){const o=e.pos;let l=!1;if(e.level<r)for(let i=0;i<n;i++)if(l=t[i](e,!1),l){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(l){if(e.pos>=u)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Cr.prototype.parse=function(e,t,n,u){const r=new this.State(e,t,n,u);this.tokenize(r);const o=this.ruler2.getRules(""),l=o.length;for(let i=0;i<l;i++)o[i](r)},Cr.prototype.State=kr;const y2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const F8={"http:":{validate:function(e,t,n){const u=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(u)?u.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const u=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(u)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:u.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const u=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(u)?u.match(n.re.mailto)[0].length:0}}},N8="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",M8="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function so(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=Yf.source,t.src_Cc=Xf.source,t.src_Z=Jf.source,t.src_P=Vi.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function u(i){return i.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(N8),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(u(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(u(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(u(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(u(t.tpl_host_fuzzy_test),"i");const r=[];function o(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(i){const a=e.__schemas__[i];if(null===a)return;const s={validate:null,link:null};if(e.__compiled__[i]=s,function(e){return"[object Object]"===ao(e)}(a))return!function(e){return"[object RegExp]"===ao(e)}(a.validate)?v2(a.validate)?s.validate=a.validate:o(i,a):s.validate=function(e){return function(t,n){const u=t.slice(n);return e.test(u)?u.match(e)[0].length:0}}(a.validate),void(v2(a.normalize)?s.normalize=a.normalize:a.normalize?o(i,a):s.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===ao(e)}(a)?o(i,a):r.push(i)})),r.forEach((function(i){e.__compiled__[e.__schemas__[i]]&&(e.__compiled__[i].validate=e.__compiled__[e.__schemas__[i]].validate,e.__compiled__[i].normalize=e.__compiled__[e.__schemas__[i]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const l=Object.keys(e.__compiled__).filter((function(i){return i.length>0&&e.__compiled__[i]})).map(T8).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function O8(e,t){const n=e.__index__,u=e.__last_index__,r=e.__text_cache__.slice(n,u);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=u+t,this.raw=r,this.text=r,this.url=r}function na(e,t){const n=new O8(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Xe(e,t){if(!(this instanceof Xe))return new Xe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(t,n){return t||y2.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=ta({},y2,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ta({},F8,e),this.__compiled__={},this.__tlds__=M8,this.__tlds_replaced__=!1,this.re={},so(this)}Xe.prototype.add=function(t,n){return this.__schemas__[t]=n,so(this),this},Xe.prototype.set=function(t){return this.__opts__=ta(this.__opts__,t),this},Xe.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,u,r,o,l,i,a,s,c;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(n=a.exec(t));)if(o=this.testSchemaAt(t,n[2],a.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=t.search(this.re.host_fuzzy_test),s>=0&&(this.__index__<0||s<this.__index__)&&null!==(u=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(l=u.index+u[1].length,(this.__index__<0||l<this.__index__)&&(this.__schema__="",this.__index__=l,this.__last_index__=u.index+u[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&null!==(r=t.match(this.re.email_fuzzy))&&(l=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||l<this.__index__||l===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=l,this.__last_index__=i))),this.__index__>=0},Xe.prototype.pretest=function(t){return this.re.pretest.test(t)},Xe.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0},Xe.prototype.match=function(t){const n=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(na(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(na(this,u)),r=r.slice(this.__last_index__),u+=this.__last_index__;return n.length?n:null},Xe.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const u=this.testSchemaAt(t,n[2],n[0].length);return u?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+u,na(this,0)):null},Xe.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(u,r,o){return u!==o[r-1]})).reverse(),so(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,so(this),this)},Xe.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},Xe.prototype.onCompile=function(){};const bu=2147483647,I8=/^xn--/,z8=/[^\0-\x7F]/,H8=/[\x2E\u3002\uFF0E\uFF61]/g,$8={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Lt=Math.floor,oa=String.fromCharCode;function _n(e){throw new RangeError($8[e])}function k2(e,t){const n=e.split("@");let u="";n.length>1&&(u=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let u=e.length;for(;u--;)n[u]=t(e[u]);return n}((e=e.replace(H8,".")).split("."),t).join(".");return u+o}function C2(e){const t=[];let n=0;const u=e.length;for(;n<u;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<u){const o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}const V8=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},S2=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},A2=function(e,t,n){let u=0;for(e=n?Lt(e/700):e>>1,e+=Lt(e/t);e>455;u+=36)e=Lt(e/35);return Lt(u+36*e/(e+38))},T2=function(e){const t=[],n=e.length;let u=0,r=128,o=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let i=0;i<l;++i)e.charCodeAt(i)>=128&&_n("not-basic"),t.push(e.charCodeAt(i));for(let i=l>0?l+1:0;i<n;){const a=u;for(let c=1,d=36;;d+=36){i>=n&&_n("invalid-input");const h=V8(e.charCodeAt(i++));h>=36&&_n("invalid-input"),h>Lt((bu-u)/c)&&_n("overflow"),u+=h*c;const w=d<=o?1:d>=o+26?26:d-o;if(h<w)break;const m=36-w;c>Lt(bu/m)&&_n("overflow"),c*=m}const s=t.length+1;o=A2(u-a,s,0==a),Lt(u/s)>bu-r&&_n("overflow"),r+=Lt(u/s),u%=s,t.splice(u++,0,r)}return String.fromCodePoint(...t)},D2=function(e){const t=[],n=(e=C2(e)).length;let u=128,r=0,o=72;for(const a of e)a<128&&t.push(oa(a));const l=t.length;let i=l;for(l&&t.push("-");i<n;){let a=bu;for(const c of e)c>=u&&c<a&&(a=c);const s=i+1;a-u>Lt((bu-r)/s)&&_n("overflow"),r+=(a-u)*s,u=a;for(const c of e)if(c<u&&++r>bu&&_n("overflow"),c===u){let d=r;for(let h=36;;h+=36){const w=h<=o?1:h>=o+26?26:h-o;if(d<w)break;const m=d-w,x=36-w;t.push(oa(S2(w+m%x,0))),d=Lt(m/x)}t.push(oa(S2(d,0))),o=A2(r,s,i===l),r=0,++i}++r,++u}return t.join("")},F2={version:"2.3.1",ucs2:{decode:C2,encode:e=>String.fromCodePoint(...e)},decode:T2,encode:D2,toASCII:function(e){return k2(e,(function(t){return z8.test(t)?"xn--"+D2(t):t}))},toUnicode:function(e){return k2(e,(function(t){return I8.test(t)?T2(t.slice(4).toLowerCase()):t}))}},Z8={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},q8=/^(vbscript|javascript|file|data):/,W8=/^data:image\/(gif|png|jpeg|webp);/;function G8(e){const t=e.trim().toLowerCase();return!q8.test(t)||W8.test(t)}const N2=["http:","https:","mailto:"];function Q8(e){const t=Ui(e,!0);if(t.hostname&&(!t.protocol||N2.indexOf(t.protocol)>=0))try{t.hostname=F2.toASCII(t.hostname)}catch{}return xr(Bi(t))}function Y8(e){const t=Ui(e,!0);if(t.hostname&&(!t.protocol||N2.indexOf(t.protocol)>=0))try{t.hostname=F2.toUnicode(t.hostname)}catch{}return wu(Bi(t),wu.defaultChars+"%")}function at(e,t){if(!(this instanceof at))return new at(e,t);t||Wi(e)||(t=e||{},e="default"),this.inline=new Cr,this.block=new io,this.core=new Yi,this.renderer=new yu,this.linkify=new Xe,this.validateLink=G8,this.normalizeLink=Q8,this.normalizeLinkText=Y8,this.utils=im,this.helpers=no({},fm),this.options={},this.configure(e),t&&this.set(t)}at.prototype.set=function(e){return no(this.options,e),this},at.prototype.configure=function(e){const t=this;if(Wi(e)){const n=e;if(!(e=Z8[n]))throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},at.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(r){n=n.concat(this[r].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const u=e.filter((function(r){return n.indexOf(r)<0}));if(u.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this},at.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(r){n=n.concat(this[r].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const u=e.filter((function(r){return n.indexOf(r)<0}));if(u.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this},at.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},at.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},at.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},at.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},at.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const X8=at({html:!1,typographer:!0}).disable("list");function K8(e=""){return X8.render(e)}/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:M2,setPrototypeOf:L2,isFrozen:J8,getPrototypeOf:e5,getOwnPropertyDescriptor:t5}=Object;let{freeze:Le,seal:st,create:j2}=Object,{apply:la,construct:ia}=typeof Reflect<"u"&&Reflect;Le||(Le=function(t){return t}),st||(st=function(t){return t}),la||(la=function(t,n,u){return t.apply(n,u)}),ia||(ia=function(t,n){return new t(...n)});const co=Ke(Array.prototype.forEach),O2=Ke(Array.prototype.pop),Ar=Ke(Array.prototype.push),fo=Ke(String.prototype.toLowerCase),aa=Ke(String.prototype.toString),P2=Ke(String.prototype.match),Tr=Ke(String.prototype.replace),n5=Ke(String.prototype.indexOf),u5=Ke(String.prototype.trim),bt=Ke(Object.prototype.hasOwnProperty),je=Ke(RegExp.prototype.test),Dr=function(e){return function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return ia(e,n)}}(TypeError);function Ke(e){return function(t){for(var n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];return la(e,t,u)}}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fo;L2&&L2(e,null);let u=t.length;for(;u--;){let r=t[u];if("string"==typeof r){const o=n(r);o!==r&&(J8(t)||(t[u]=o),r=o)}e[r]=!0}return e}function o5(e){for(let t=0;t<e.length;t++)bt(e,t)||(e[t]=null);return e}function zn(e){const t=j2(null);for(const[n,u]of M2(e))bt(e,n)&&(Array.isArray(u)?t[n]=o5(u):u&&"object"==typeof u&&u.constructor===Object?t[n]=zn(u):t[n]=u);return t}function Fr(e,t){for(;null!==e;){const u=t5(e,t);if(u){if(u.get)return Ke(u.get);if("function"==typeof u.value)return Ke(u.value)}e=e5(e)}return function(){return null}}const R2=Le(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),sa=Le(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ca=Le(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),l5=Le(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),fa=Le(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),i5=Le(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I2=Le(["#text"]),z2=Le(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),da=Le(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),H2=Le(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),po=Le(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),a5=st(/\{\{[\w\W]*|[\w\W]*\}\}/gm),s5=st(/<%[\w\W]*|[\w\W]*%>/gm),c5=st(/\${[\w\W]*}/gm),f5=st(/^data-[\-\w.\u00B7-\uFFFF]/),d5=st(/^aria-[\-\w]+$/),$2=st(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),p5=st(/^(?:\w+script|data):/i),h5=st(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),B2=st(/^html$/i),m5=st(/^[a-z][.\w]*(-[.\w]+)+$/i);var U2=Object.freeze({__proto__:null,MUSTACHE_EXPR:a5,ERB_EXPR:s5,TMPLIT_EXPR:c5,DATA_ATTR:f5,ARIA_ATTR:d5,IS_ALLOWED_URI:$2,IS_SCRIPT_OR_DATA:p5,ATTR_WHITESPACE:h5,DOCTYPE_NAME:B2,CUSTOM_ELEMENT:m5});const Nr_element=1,Nr_text=3,Nr_progressingInstruction=7,Nr_comment=8,Nr_document=9;var v5=function V2(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=O=>V2(O);if(t.version="3.1.6",t.removed=[],!e||!e.document||e.document.nodeType!==Nr_document)return t.isSupported=!1,t;let{document:n}=e;const u=n,r=u.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:i,Element:a,NodeFilter:s,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:w}=e,m=a.prototype,x=Fr(m,"cloneNode"),S=Fr(m,"remove"),y=Fr(m,"nextSibling"),f=Fr(m,"childNodes"),v=Fr(m,"parentNode");if("function"==typeof l){const O=n.createElement("template");O.content&&O.content.ownerDocument&&(n=O.content.ownerDocument)}let _,k="";const{implementation:C,createNodeIterator:A,createDocumentFragment:F,getElementsByTagName:R}=n,{importNode:j}=u;let P={};t.isSupported="function"==typeof M2&&"function"==typeof v&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:de,ERB_EXPR:Je,TMPLIT_EXPR:ct,DATA_ATTR:ft,ARIA_ATTR:Et,IS_SCRIPT_OR_DATA:En,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:I}=U2;let{IS_ALLOWED_URI:z}=U2,$=null;const ue=U({},[...R2,...sa,...ca,...fa,...I2]);let Y=null;const dt=U({},[...z2,...da,...H2,...po]);let W=Object.seal(j2(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,Ue=null,vd=!0,xa=!0,yd=!1,xd=!0,ku=!1,ba=!0,$n=!1,_a=!1,Ea=!1,Cu=!1,yo=!1,xo=!1,bd=!0,_d=!1,ka=!0,Or=!1,Su={},Au=null;const Ed=U({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let kd=null;const Cd=U({},["audio","video","img","source","image","track"]);let Ca=null;const Sd=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),bo="http://www.w3.org/1998/Math/MathML",_o="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml";let Tu=Qt,Sa=!1,Aa=null;const Ew=U({},[bo,_o,Qt],aa);let Pr=null;const kw=["application/xhtml+xml","text/html"];let we=null,Du=null;const Sw=n.createElement("form"),Ad=function(b){return b instanceof RegExp||b instanceof Function},Ta=function(){let b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Du||Du!==b){if((!b||"object"!=typeof b)&&(b={}),b=zn(b),Pr=-1===kw.indexOf(b.PARSER_MEDIA_TYPE)?"text/html":b.PARSER_MEDIA_TYPE,we="application/xhtml+xml"===Pr?aa:fo,$=bt(b,"ALLOWED_TAGS")?U({},b.ALLOWED_TAGS,we):ue,Y=bt(b,"ALLOWED_ATTR")?U({},b.ALLOWED_ATTR,we):dt,Aa=bt(b,"ALLOWED_NAMESPACES")?U({},b.ALLOWED_NAMESPACES,aa):Ew,Ca=bt(b,"ADD_URI_SAFE_ATTR")?U(zn(Sd),b.ADD_URI_SAFE_ATTR,we):Sd,kd=bt(b,"ADD_DATA_URI_TAGS")?U(zn(Cd),b.ADD_DATA_URI_TAGS,we):Cd,Au=bt(b,"FORBID_CONTENTS")?U({},b.FORBID_CONTENTS,we):Ed,Z=bt(b,"FORBID_TAGS")?U({},b.FORBID_TAGS,we):{},Ue=bt(b,"FORBID_ATTR")?U({},b.FORBID_ATTR,we):{},Su=!!bt(b,"USE_PROFILES")&&b.USE_PROFILES,vd=!1!==b.ALLOW_ARIA_ATTR,xa=!1!==b.ALLOW_DATA_ATTR,yd=b.ALLOW_UNKNOWN_PROTOCOLS||!1,xd=!1!==b.ALLOW_SELF_CLOSE_IN_ATTR,ku=b.SAFE_FOR_TEMPLATES||!1,ba=!1!==b.SAFE_FOR_XML,$n=b.WHOLE_DOCUMENT||!1,Cu=b.RETURN_DOM||!1,yo=b.RETURN_DOM_FRAGMENT||!1,xo=b.RETURN_TRUSTED_TYPE||!1,Ea=b.FORCE_BODY||!1,bd=!1!==b.SANITIZE_DOM,_d=b.SANITIZE_NAMED_PROPS||!1,ka=!1!==b.KEEP_CONTENT,Or=b.IN_PLACE||!1,z=b.ALLOWED_URI_REGEXP||$2,Tu=b.NAMESPACE||Qt,W=b.CUSTOM_ELEMENT_HANDLING||{},b.CUSTOM_ELEMENT_HANDLING&&Ad(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=b.CUSTOM_ELEMENT_HANDLING.tagNameCheck),b.CUSTOM_ELEMENT_HANDLING&&Ad(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),b.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(W.allowCustomizedBuiltInElements=b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ku&&(xa=!1),yo&&(Cu=!0),Su&&($=U({},I2),Y=[],!0===Su.html&&(U($,R2),U(Y,z2)),!0===Su.svg&&(U($,sa),U(Y,da),U(Y,po)),!0===Su.svgFilters&&(U($,ca),U(Y,da),U(Y,po)),!0===Su.mathMl&&(U($,fa),U(Y,H2),U(Y,po))),b.ADD_TAGS&&($===ue&&($=zn($)),U($,b.ADD_TAGS,we)),b.ADD_ATTR&&(Y===dt&&(Y=zn(Y)),U(Y,b.ADD_ATTR,we)),b.ADD_URI_SAFE_ATTR&&U(Ca,b.ADD_URI_SAFE_ATTR,we),b.FORBID_CONTENTS&&(Au===Ed&&(Au=zn(Au)),U(Au,b.FORBID_CONTENTS,we)),ka&&($["#text"]=!0),$n&&U($,["html","head","body"]),$.table&&(U($,["tbody"]),delete Z.tbody),b.TRUSTED_TYPES_POLICY){if("function"!=typeof b.TRUSTED_TYPES_POLICY.createHTML)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof b.TRUSTED_TYPES_POLICY.createScriptURL)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=b.TRUSTED_TYPES_POLICY,k=_.createHTML("")}else void 0===_&&(_=function(t,n){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let u=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(u=n.getAttribute(r));const o="dompurify"+(u?"#"+u:"");try{return t.createPolicy(o,{createHTML:l=>l,createScriptURL:l=>l})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(w,r)),null!==_&&"string"==typeof k&&(k=_.createHTML(""));Le&&Le(b),Du=b}},Td=U({},["mi","mo","mn","ms","mtext"]),Dd=U({},["foreignobject","annotation-xml"]),Aw=U({},["title","style","font","a","script"]),Fd=U({},[...sa,...ca,...l5]),Nd=U({},[...fa,...i5]),jt=function(b){Ar(t.removed,{element:b});try{v(b).removeChild(b)}catch{S(b)}},Eo=function(b,D){try{Ar(t.removed,{attribute:D.getAttributeNode(b),from:D})}catch{Ar(t.removed,{attribute:null,from:D})}if(D.removeAttribute(b),"is"===b&&!Y[b])if(Cu||yo)try{jt(D)}catch{}else try{D.setAttribute(b,"")}catch{}},Md=function(b){let D=null,L=null;if(Ea)b="<remove></remove>"+b;else{const Ee=P2(b,/^[\r\n\t ]+/);L=Ee&&Ee[0]}"application/xhtml+xml"===Pr&&Tu===Qt&&(b='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+b+"</body></html>");const X=_?_.createHTML(b):b;if(Tu===Qt)try{D=(new h).parseFromString(X,Pr)}catch{}if(!D||!D.documentElement){D=C.createDocument(Tu,"template",null);try{D.documentElement.innerHTML=Sa?k:X}catch{}}const Te=D.body||D.documentElement;return b&&L&&Te.insertBefore(n.createTextNode(L),Te.childNodes[0]||null),Tu===Qt?R.call(D,$n?"html":"body")[0]:$n?D.documentElement:Te},Ld=function(b){return A.call(b.ownerDocument||b,b,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},jd=function(b){return b instanceof d&&("string"!=typeof b.nodeName||"string"!=typeof b.textContent||"function"!=typeof b.removeChild||!(b.attributes instanceof c)||"function"!=typeof b.removeAttribute||"function"!=typeof b.setAttribute||"string"!=typeof b.namespaceURI||"function"!=typeof b.insertBefore||"function"!=typeof b.hasChildNodes)},Od=function(b){return"function"==typeof i&&b instanceof i},Yt=function(b,D,L){P[b]&&co(P[b],(X=>{X.call(t,D,L,Du)}))},Pd=function(b){let D=null;if(Yt("beforeSanitizeElements",b,null),jd(b))return jt(b),!0;const L=we(b.nodeName);if(Yt("uponSanitizeElement",b,{tagName:L,allowedTags:$}),b.hasChildNodes()&&!Od(b.firstElementChild)&&je(/<[/\w]/g,b.innerHTML)&&je(/<[/\w]/g,b.textContent)||b.nodeType===Nr_progressingInstruction||ba&&b.nodeType===Nr_comment&&je(/<[/\w]/g,b.data))return jt(b),!0;if(!$[L]||Z[L]){if(!Z[L]&&Id(L)&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,L)||W.tagNameCheck instanceof Function&&W.tagNameCheck(L)))return!1;if(ka&&!Au[L]){const X=v(b)||b.parentNode,Te=f(b)||b.childNodes;if(Te&&X){for(let Ve=Te.length-1;Ve>=0;--Ve){const Ot=x(Te[Ve],!0);Ot.__removalCount=(b.__removalCount||0)+1,X.insertBefore(Ot,y(b))}}}return jt(b),!0}return b instanceof a&&!function(b){let D=v(b);(!D||!D.tagName)&&(D={namespaceURI:Tu,tagName:"template"});const L=fo(b.tagName),X=fo(D.tagName);return!!Aa[b.namespaceURI]&&(b.namespaceURI===_o?D.namespaceURI===Qt?"svg"===L:D.namespaceURI===bo?"svg"===L&&("annotation-xml"===X||Td[X]):!!Fd[L]:b.namespaceURI===bo?D.namespaceURI===Qt?"math"===L:D.namespaceURI===_o?"math"===L&&Dd[X]:!!Nd[L]:b.namespaceURI===Qt?!(D.namespaceURI===_o&&!Dd[X]||D.namespaceURI===bo&&!Td[X])&&!Nd[L]&&(Aw[L]||!Fd[L]):!("application/xhtml+xml"!==Pr||!Aa[b.namespaceURI]))}(b)||("noscript"===L||"noembed"===L||"noframes"===L)&&je(/<\/no(script|embed|frames)/i,b.innerHTML)?(jt(b),!0):(ku&&b.nodeType===Nr_text&&(D=b.textContent,co([de,Je,ct],(X=>{D=Tr(D,X," ")})),b.textContent!==D&&(Ar(t.removed,{element:b.cloneNode()}),b.textContent=D)),Yt("afterSanitizeElements",b,null),!1)},Rd=function(b,D,L){if(bd&&("id"===D||"name"===D)&&(L in n||L in Sw))return!1;if((!xa||Ue[D]||!je(ft,D))&&(!vd||!je(Et,D)))if(!Y[D]||Ue[D]){if(!(Id(b)&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,b)||W.tagNameCheck instanceof Function&&W.tagNameCheck(b))&&(W.attributeNameCheck instanceof RegExp&&je(W.attributeNameCheck,D)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(D))||"is"===D&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,L)||W.tagNameCheck instanceof Function&&W.tagNameCheck(L))))return!1}else if(!Ca[D]&&!je(z,Tr(L,N,""))&&("src"!==D&&"xlink:href"!==D&&"href"!==D||"script"===b||0!==n5(L,"data:")||!kd[b])&&(!yd||je(En,Tr(L,N,"")))&&L)return!1;return!0},Id=function(b){return"annotation-xml"!==b&&P2(b,I)},zd=function(b){Yt("beforeSanitizeAttributes",b,null);const{attributes:D}=b;if(!D)return;const L={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Y};let X=D.length;for(;X--;){const Te=D[X],{name:Ee,namespaceURI:Ve,value:Ot}=Te,Rr=we(Ee);let Oe="value"===Ee?Ot:u5(Ot);if(L.attrName=Rr,L.attrValue=Oe,L.keepAttr=!0,L.forceKeepAttr=void 0,Yt("uponSanitizeAttribute",b,L),Oe=L.attrValue,ba&&je(/((--!?|])>)|<\/(style|title)/i,Oe)){Eo(Ee,b);continue}if(L.forceKeepAttr||(Eo(Ee,b),!L.keepAttr))continue;if(!xd&&je(/\/>/i,Oe)){Eo(Ee,b);continue}ku&&co([de,Je,ct],($d=>{Oe=Tr(Oe,$d," ")}));const Hd=we(b.nodeName);if(Rd(Hd,Rr,Oe)){if(_d&&("id"===Rr||"name"===Rr)&&(Eo(Ee,b),Oe="user-content-"+Oe),_&&"object"==typeof w&&"function"==typeof w.getAttributeType&&!Ve)switch(w.getAttributeType(Hd,Rr)){case"TrustedHTML":Oe=_.createHTML(Oe);break;case"TrustedScriptURL":Oe=_.createScriptURL(Oe)}try{Ve?b.setAttributeNS(Ve,Ee,Oe):b.setAttribute(Ee,Oe),jd(b)?jt(b):O2(t.removed)}catch{}}}Yt("afterSanitizeAttributes",b,null)},Dw=function O(b){let D=null;const L=Ld(b);for(Yt("beforeSanitizeShadowDOM",b,null);D=L.nextNode();)Yt("uponSanitizeShadowNode",D,null),!Pd(D)&&(D.content instanceof o&&O(D.content),zd(D));Yt("afterSanitizeShadowDOM",b,null)};return t.sanitize=function(O){let b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},D=null,L=null,X=null,Te=null;if(Sa=!O,Sa&&(O="\x3c!--\x3e"),"string"!=typeof O&&!Od(O)){if("function"!=typeof O.toString)throw Dr("toString is not a function");if("string"!=typeof(O=O.toString()))throw Dr("dirty is not a string, aborting")}if(!t.isSupported)return O;if(_a||Ta(b),t.removed=[],"string"==typeof O&&(Or=!1),Or){if(O.nodeName){const Ot=we(O.nodeName);if(!$[Ot]||Z[Ot])throw Dr("root node is forbidden and cannot be sanitized in-place")}}else if(O instanceof i)D=Md("\x3c!----\x3e"),L=D.ownerDocument.importNode(O,!0),L.nodeType===Nr_element&&"BODY"===L.nodeName||"HTML"===L.nodeName?D=L:D.appendChild(L);else{if(!Cu&&!ku&&!$n&&-1===O.indexOf("<"))return _&&xo?_.createHTML(O):O;if(D=Md(O),!D)return Cu?null:xo?k:""}D&&Ea&&jt(D.firstChild);const Ee=Ld(Or?O:D);for(;X=Ee.nextNode();)Pd(X)||(X.content instanceof o&&Dw(X.content),zd(X));if(Or)return O;if(Cu){if(yo)for(Te=F.call(D.ownerDocument);D.firstChild;)Te.appendChild(D.firstChild);else Te=D;return(Y.shadowroot||Y.shadowrootmode)&&(Te=j.call(u,Te,!0)),Te}let Ve=$n?D.outerHTML:D.innerHTML;return $n&&$["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&je(B2,D.ownerDocument.doctype.name)&&(Ve="<!DOCTYPE "+D.ownerDocument.doctype.name+">\n"+Ve),ku&&co([de,Je,ct],(Ot=>{Ve=Tr(Ve,Ot," ")})),_&&xo?_.createHTML(Ve):Ve},t.setConfig=function(){Ta(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),_a=!0},t.clearConfig=function(){Du=null,_a=!1},t.isValidAttribute=function(O,b,D){Du||Ta({});const L=we(O),X=we(b);return Rd(L,X,D)},t.addHook=function(O,b){"function"==typeof b&&(P[O]=P[O]||[],Ar(P[O],b))},t.removeHook=function(O){if(P[O])return O2(P[O])},t.removeHooks=function(O){P[O]&&(P[O]=[])},t.removeAllHooks=function(){P={}},t}();function y5(e,t="en"){let n;n="number"==typeof e?new Date(1e3*e):new Date(e);const u="th"===t?"th-TH":"en-US";return n.toLocaleTimeString(u,{hour:"numeric",minute:"2-digit",hour12:!0})}function x5(e,t="en"){const n=new Date(e),u=new Date,r=new Date;r.setDate(u.getDate()-1);const o=Dt[t]||Dt.en;return n.toDateString()===u.toDateString()?o.today:n.toDateString()===r.toDateString()?o.yesterday:n.toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"})}const E5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8.3 18.04v-1.16C6 15.49 4.11 12.78 4.11 9.9c0-4.95 4.55-8.83 9.69-7.71 2.26.5 4.24 2 5.27 4.07 2.09 4.2-.11 8.66-3.34 10.61v1.16c0 .29.11.96-.96.96H9.26c-1.1.01-.96-.42-.96-.95M8.5 22c2.29-.65 4.71-.65 7 0"})),k5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12zM11.995 17h.009"})),C5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{stroke:"#9ca3af",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M15.24 2H8.76C5 2 4.71 5.38 6.74 7.22l10.52 9.56C19.29 18.62 19 22 15.24 22H8.76C5 22 4.71 18.62 6.74 16.78l10.52-9.56C19.29 5.38 19 2 15.24 2"})),S5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",...e},E.createElement("path",{fill:"#F23D27",d:"M7 13.27A6.276 6.276 0 0 1 .73 7C.73 3.54 3.54.73 7 .73S13.27 3.54 13.27 7 10.46 13.27 7 13.27M7 1.605A5.4 5.4 0 0 0 1.604 7 5.4 5.4 0 0 0 7 12.396 5.4 5.4 0 0 0 12.396 7 5.4 5.4 0 0 0 7 1.604"}),E.createElement("path",{fill:"#F23D27",d:"M7 8.02a.44.44 0 0 1-.437-.437V4.667A.44.44 0 0 1 7 4.229a.44.44 0 0 1 .438.438v2.916A.44.44 0 0 1 7 8.021M7 9.917a.6.6 0 0 1-.222-.047.7.7 0 0 1-.192-.122.6.6 0 0 1-.123-.193.6.6 0 0 1-.046-.222.6.6 0 0 1 .046-.221q.044-.105.123-.193a.7.7 0 0 1 .192-.122.58.58 0 0 1 .444 0q.105.044.192.122a.7.7 0 0 1 .123.193.6.6 0 0 1 .046.221.6.6 0 0 1-.046.222.6.6 0 0 1-.123.193.7.7 0 0 1-.192.122.6.6 0 0 1-.222.047"})),A5=({document:e,query:t})=>p.jsxs("div",{className:"tw-gi tw-bn",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-go tw-kq tw-uo tw-nf tw-fk tw-hk tw-uc",children:[p.jsx("span",{className:"tw-xj tw-ge tw-yi tw-ye",children:e.key}),p.jsxs("span",{className:"tw-dm tw-xg tw-yi tw-cf",children:["Query: ",t]}),p.jsxs("span",{className:"tw-dm tw-xg tw-yi tw-cf",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),p.jsxs("div",{className:"tw-dm tw-yi tw-bp tw-wo tw-df tw-ib tw-fa tw-bd anm-scroll-container",children:[p.jsx(Z2,{}),e.content,p.jsx(Z2,{})]})]}),Z2=()=>p.jsxs("div",{className:"tw-hh tw-pk tw-to",children:[p.jsxs("div",{className:"tw-ao tw-vf tw-bn",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-up"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-tp"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-bn tw-ne",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-tp"})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-bn tw-me",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-wp"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"})]})]}),T5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{fill:"#0044A0",fillRule:"evenodd",d:"M4.155 4.155C3.24 5.071 2.75 6.574 2.75 9v6c0 2.426.49 3.93 1.405 4.845.916.915 2.419 1.405 4.845 1.405h6c2.426 0 3.93-.49 4.845-1.405.915-.916 1.405-2.419 1.405-4.845v-5a.75.75 0 0 1 1.5 0v5c0 2.574-.51 4.57-1.845 5.905S17.574 22.75 15 22.75H9c-2.574 0-4.57-.51-5.905-1.845S1.25 17.574 1.25 15V9c0-2.574.51-4.57 1.845-5.905S6.426 1.25 9 1.25h5a.75.75 0 0 1 0 1.5H9c-2.426 0-3.93.49-4.845 1.405",clipRule:"evenodd"}),E.createElement("path",{fill:"#0044A0",fillRule:"evenodd",d:"M13.713 1.307a.75.75 0 0 1 .817.163l8 8a.75.75 0 0 1-.53 1.28h-4c-1.541 0-2.808-.247-3.655-1.095C13.497 8.808 13.25 7.542 13.25 6V2a.75.75 0 0 1 .463-.693m1.037 2.504V6c0 1.458.253 2.192.655 2.595.403.402 1.136.655 2.595.655h2.19zM6.25 13a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75M6.25 17a.75.75 0 0 1 .75-.75h4a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})),D5_createReport=async(e,t)=>{try{const n=await fetch("https://api-sso.dbt.pw/v2/public/report",{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)}),u=await n.json();return{status:n.status,data:u}}catch(n){throw console.error(n),n}},F5=({message:e,query:t,sources:n,onClose:u,messageID:r,settings:o})=>{const[l,i]=E.useState(t),[a,s]=E.useState(e),[c,d]=E.useState(""),[h,w]=E.useState(""),m=Gt.settings.language,x=Dt[m]||Dt.en,[S,y]=E.useState(!1),[f,v]=E.useState(!1),[_,k]=E.useState(""),[C,A]=E.useState(!1),F={messageID:r,question:t,aiAnswer:a,answer:h,remark:c,reference:null==n?void 0:n.map((P=>({s3Key:null==P?void 0:P.key,content:null==P?void 0:P.content})))},j=()=>{A(!0),setTimeout((()=>A(!1)),300)};return p.jsxs("div",{className:"tw-gi tw-bn tw-yi",children:[p.jsx("div",{className:"tw-ao tw-jk tw-go tw-kq tw-nf tw-fk tw-hk tw-uc",children:p.jsx("span",{className:"tw-em tw-oo tw-eo tw-wi",children:x.report})}),p.jsx("div",{className:"tw-ao tw-jk tw-in tw-ea tw-bd anm-scroll-container",children:p.jsxs("div",{className:"tw-ao tw-jk tw-jn tw-mp tw-wo tw-hp",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:x.question}),p.jsx("input",{type:"text",value:l,onChange:P=>i(P.target.value),className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi",placeholder:x.question,disabled:!0})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:x.answer}),p.jsx("textarea",{onChange:P=>{s(P.target.value)},value:a,className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi tw-uk",cols:"30",rows:"6",placeholder:x.answer,disabled:!0,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-wi tw-dm",children:x.answerCorrect}),p.jsx("textarea",{onChange:P=>{w(P.target.value)},value:h,className:"tw-nn tw-km tw-uc tw-dg tw-gi tw-dm tw-uk",cols:"10",rows:"3",placeholder:x.answerCorrect,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:" tw-wi tw-dm",children:x.sources}),(null==n?void 0:n.length)<=0?p.jsx("div",{children:p.jsx("p",{className:"tw-fc tw-dm",children:x.sourcesEmpty})}):p.jsx("div",{className:"tw-ao tw-vi tw-iq tw-hn tw-km tw-nf tw-uc tw-gi tw-yf tw-bd",style:{scrollbarWidth:"thin"},children:null==n?void 0:n.map(((P,de)=>p.jsxs("div",{className:"tw-vn tw-cp tw-pp tw-ao tw-vf tw-gn tw-km tw-nf tw-uc tw-hi",children:[p.jsx(T5,{className:"tw-wk tw-ef"}),p.jsx("span",{className:"tw-dm tw-wf tw-sd",children:P.key.split("/").pop()})]},de)))})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:x.remark}),p.jsx("input",{type:"text",value:c,onChange:P=>d(P.target.value),className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi tw-qb",placeholder:x.remark})]}),p.jsxs("div",{className:"tw-bn tw-ao tw-in tw-yc tw-vf tw-hd",children:[_?p.jsx("p",{className:"tw-fm tw-vd tw-xf",children:_}):p.jsx("p",{}),p.jsxs("div",{className:"tw-ao tw-vf tw-in",children:[p.jsx("button",{onClick:u,className:"tw-md tw-ao tw-vf tw-od tw-ug tw-km tw-dc tw-gi tw-co tw-np tw-xa tw-qf tw-fd",children:p.jsx("p",{className:"tw-vd",children:x.cancel})}),p.jsxs("button",{disabled:S,onClick:async()=>{y(!0);try{const P=await D5_createReport(F,{"client-id":o.embedId});console.log(P,"<<<<< result"),200===P.status||201===P.status?(k(""),v(!0),setTimeout((()=>u()),1e3)):(k(P.data.error),j())}catch(P){console.log("Failed to fetch report."),k(`${P}`),j()}finally{y(!1)}},className:`tw-md tw-ao tw-vf tw-ug ${f?"tw-mf tw-qc tw-ep tw-ap tw-uj tw-lb tw-rj":_?"tw-lf tw-np":"tw-kf tw-np"} ${C?"tw-pc":""} tw-gi tw-co tw-xa tw-qf tw-fd tw-ya tw-ba tw-pb`,children:[f&&p.jsx(mf,{size:16,className:"tw-li anm-animate-draw-fadeIn"}),p.jsx("p",{className:"tw-li",children:x.report})]})]})]})]})})]})},N5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...e},E.createElement("path",{fill:"#000",d:"M20 36.667c9.205 0 16.667-7.462 16.667-16.667S29.205 3.334 20 3.334 3.334 10.795 3.334 20 10.795 36.667 20 36.667",opacity:.4}),E.createElement("path",{fill:"#fff",d:"m21.767 20 3.833-3.833a1.26 1.26 0 0 0 0-1.767 1.26 1.26 0 0 0-1.767 0L20 18.233 16.167 14.4a1.26 1.26 0 0 0-1.767 0 1.26 1.26 0 0 0 0 1.767L18.233 20 14.4 23.833a1.26 1.26 0 0 0 0 1.767c.25.25.567.367.883.367s.634-.117.884-.367L20 21.767l3.833 3.833c.25.25.567.367.884.367.316 0 .633-.117.883-.367a1.26 1.26 0 0 0 0-1.767z"})),M5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e},E.createElement("path",{fill:"#fff",d:"M12.5 18.958h-5c-4.525 0-6.458-1.933-6.458-6.458v-5c0-4.525 1.933-6.458 6.458-6.458h4.166a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625H7.5c-3.842 0-5.208 1.366-5.208 5.208v5c0 3.842 1.366 5.208 5.208 5.208h5c3.842 0 5.208-1.366 5.208-5.208V8.333a.63.63 0 0 1 .625-.625.63.63 0 0 1 .625.625V12.5c0 4.525-1.933 6.458-6.458 6.458"}),E.createElement("path",{fill:"#fff",d:"M18.333 8.958H15C12.15 8.958 11.04 7.85 11.04 5V1.667c0-.25.15-.484.384-.575a.63.63 0 0 1 .683.133l6.667 6.667a.626.626 0 0 1-.442 1.067m-6.041-5.783V5c0 2.15.558 2.708 2.708 2.708h1.825zM10.834 11.459h-5a.63.63 0 0 1-.625-.625.63.63 0 0 1 .625-.625h5a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625M9.167 14.792H5.834a.63.63 0 0 1-.625-.626.63.63 0 0 1 .625-.625h3.333a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625"})),ho=({children:e,text:t,render:n})=>p.jsxs("div",{className:"anm-group/tooltip tw-tk tw-ao",children:[e,t&&p.jsx("span",{className:"tw-dk tw-yi tw-ok tw-bc tw-v tw-rm tw-s tw-mj tw-jp tw-fm tw-pa tw-eb tw-wl tw-ol tw-vb tw-mb tw-zh tw-ti tw-mn",children:t}),n&&n]}),L5=({document:e})=>p.jsxs("div",{className:"tw-om tw-jk tw-dk tw-pm tw-al tw-ff tw-la tw-hq tw-hi tw-ol tw-vp tw-ek tw-im tw-sj tw-nj tw-ec tw-ql",children:[p.jsx("span",{className:"tw-yi tw-dm tw-ki",children:e.key}),p.jsxs("span",{className:"tw-yi tw-dm ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),p.jsx("span",{className:"tw-yi tw-dm tw-vp tw-ye tw-vb tw-ad tw-uf tw-po",children:e.content.substring(0,50)})]});function j5({suggestionList:e,onSendMessages:t,settings:n,isLoading:u}){const r=null==n?void 0:n.headerBgColor,o=null==n?void 0:n.headerTextColor;return p.jsx("div",{style:{scrollbarWidth:"thin"},className:"tw-ao tw-vi tw-gn tw-gp tw-on",children:u?p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-de tw-tg tw-ak tw-kk tw-gi"}),p.jsx("div",{className:"tw-de tw-tg tw-bl tw-kk tw-gi"}),p.jsx("div",{className:"tw-de tw-tg tw-cl tw-kk tw-gi"})]}):null==e?void 0:e.map(((l,i)=>p.jsx("div",{style:{"--bg-color":r??"#FFFFFF","--bg-color-saturated":O5(r)??"#FFFFFF","--text-color":o??"#000000"},onClick:a=>{console.log("Suggestion clicked:",l),t(a,l)},className:"tw-ka tw-dm tw-nf tw-km tw-ha tw-qp tw-tm tw-fg tw-md tw-t tw-da tw-ub tw-ao tw-vf",children:p.jsx("span",{children:l})},i)))})}const O5=(e,t=85)=>{let i,a,n=parseInt(e.slice(1,3),16)/255,u=parseInt(e.slice(3,5),16)/255,r=parseInt(e.slice(5,7),16)/255,o=Math.max(n,u,r),l=Math.min(n,u,r);if(o===l)i=a=0;else{let c=o-l;a=(o+l)/2>.5?c/(2-o-l):c/(o+l),o===n?i=(u-r)/c+(u<r?6:0):o===u?i=(r-n)/c+2:o===r&&(i=(n-u)/c+4),i*=60}return`hsl(${Math.round(i)}, ${Math.round(100*a)}%, ${t}%)`},P5={copy:e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.668 9.668c-.578.578-.918 1.556-.918 3.232v4.2c0 1.676.34 2.654.918 3.232s1.556.918 3.232.918h4.2c1.676 0 2.654-.34 3.232-.918s.918-1.556.918-3.232v-4.2c0-1.676-.34-2.654-.918-3.232S12.776 8.75 11.1 8.75H6.9c-1.676 0-2.654.34-3.232.918m-1.06-1.06C3.603 7.61 5.075 7.25 6.9 7.25h4.2c1.824 0 3.296.36 4.293 1.357s1.357 2.469 1.357 4.293v4.2c0 1.824-.36 3.296-1.357 4.293S12.924 22.75 11.1 22.75H6.9c-1.824 0-3.296-.36-4.293-1.357S1.25 18.924 1.25 17.1v-4.2c0-1.824.36-3.296 1.357-4.293",clipRule:"evenodd"}),E.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.668 3.668C9.09 4.246 8.75 5.224 8.75 6.9v.35h2.35c1.824 0 3.296.36 4.293 1.357s1.357 2.469 1.357 4.293v2.35h.35c1.676 0 2.654-.34 3.232-.918s.918-1.556.918-3.232V6.9c0-1.676-.34-2.654-.918-3.232S18.776 2.75 17.1 2.75h-4.2c-1.676 0-2.654.34-3.232.918m-1.06-1.06C9.603 1.61 11.075 1.25 12.9 1.25h4.2c1.824 0 3.296.36 4.293 1.357S22.75 5.076 22.75 6.9v4.2c0 1.824-.36 3.296-1.357 4.293S18.924 16.75 17.1 16.75H16a.75.75 0 0 1-.75-.75v-3.1c0-1.676-.34-2.654-.918-3.232S12.776 8.75 11.1 8.75H8A.75.75 0 0 1 7.25 8V6.9c0-1.824.36-3.296 1.357-4.293",clipRule:"evenodd"})),check:e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},E.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.614 5.649a1 1 0 0 1 .084 1.422L10.184 18.74a1 1 0 0 1-1.428.058l-6.084-5.727a1.01 1.01 0 0 1-.09-1.36 1.01 1.01 0 0 1 1.455-.126l4.72 4.246a1 1 0 0 0 1.412-.074l9.043-10.027a1 1 0 0 1 1.402-.082",clipRule:"evenodd"}))},R5=v5(window),I5=({settings:e,messageIndex:t,history:n=[],sessionId:u,type:r,message:o,role:l,isRAG:i,query:a="",question:s,sources:c=[],error:d=!1,read:h,sending:w,pending:m,sentAt:x,isDateChanged:S,currDate:y,isLastMessage:f,isShowSuggestion:v,onSuggestion:_,setSuggestList:k,messageID:C,images:A,videoUrls:F=[],fileUrls:R=[],isFullScreen:j,submit:P,suggestList:de,isSuggestLoading:Je})=>{const{openModal:ct,setModalOpen:ft}=E.useContext(Ii),Et=E.useRef(null),En=e.language,N=Dt[En]||Dt.en,I=e.textSize?`anm-text-[${e.textSize}px]`:"tw-mh";function z(Z){return"user"===Z?e.userBgColor??"#3DBEF5":e.assistantBgColor??"#FFFFFF"}function $(Z){return"user"===Z?e.userTextColor??"#FFFFFF":e.assistantTextColor??"#27272a"}const[ue,Y]=E.useState("copy"),dt=P5[ue];E.useEffect((()=>{Et.current&&Et.current.querySelectorAll("a").forEach((Z=>{Z.onclick=async Ue=>{Ue.preventDefault(),console.log("I am clicked! "+Z.href),yr.sendEvent({event:"click",url:Z.href},{"client-id":e.embedId,"session-id":u}),Z.onclick=null,window.location.href=Z.href}}))}),[o,u]);return"event"===r?p.jsx("div",{className:"tw-ao tw-od tw-po tw-go",children:p.jsx("div",{className:"tw-pp tw-oh tw-dm tw-yi",children:o})}):p.jsxs(p.Fragment,{children:[S&&p.jsx("div",{className:"tw-ao tw-od tw-po tw-go",children:p.jsx("div",{className:"tw-ao tw-vf tw-od tw-qi tw-oh tw-fg tw-pp tw-kp tw-fm tw-yi",children:x5(y,En)})}),p.jsxs("div",{style:{"--user-bg":z("user"),"--asst-bg":z("assistant"),"--user-text":$("user"),"--asst-text":$("assistant")},className:`tw-tk ${"user"===l?"tw-vo":"tw-xo"} tw-j`,children:[p.jsxs("div",{className:"tw-ao tw-yg tw-bn tw-ln "+("user"===l?"tw-zg":"tw-he"),children:["user"!==l&&p.jsx("span",{className:"tw-ao tw-xk tw-pq tw-dq tw-fg tw-ko",children:p.jsx("img",{src:e.assistantIcon||$i,alt:"Chatbot Avatar",className:"tw-fg"})}),p.jsxs("div",{"data-role":l,className:`tw-tk tw-tf tw-vg tw-rp tw-mp tw-uf tw-yi tw-ng tw-dh ${j&&"tw-ah tw-zb"} ${d?"tw-qh tw-gi":"user"===l?`${Gt.USER_STYLES.base} anm-animuz-user-message tw-pa tw-eb`:`${Gt.ASSISTANT_STYLES.base} tw-na tw-db tw-gk ${v&&"tw-ma tw-nf"}`}`,children:["user"!==l&&d?p.jsxs("div",{className:"tw-iq tw-gi tw-ri tw-lg",children:[p.jsxs("span",{className:"tw-uf ",children:[p.jsx(Of,{className:"tw-bq tw-mq tw-fo tw-uf"})," ","Could not respond to message."]}),p.jsx("p",{className:"tw-fm tw-xi tw-po tw-th tw-ld tw-zo tw-rh tw-iq tw-ii",children:d})]}):m?p.jsx("div",{className:"tw-ro tw-so anm-dot-falling"}):p.jsxs(p.Fragment,{children:["image"===r?p.jsx(z5,{images:A,sentAt:x}):"video"===r?p.jsx(H5,{videos:F}):"file"===r?p.jsx($5,{file:R}):p.jsx("span",{ref:Et,className:`tw-ib tw-ao tw-jk tw-jl ${I} tw-ej tw-kg tw-nd`,dangerouslySetInnerHTML:{__html:R5.sanitize(K8(o))}}),e.showRag&&i&&c.length>0&&p.jsx("div",{className:"tw-ao tw-vi tw-kl tw-vf tw-po tw-dm tw-bf",children:c.map(((Z,Ue)=>p.jsx(ho,{render:p.jsx(L5,{document:Z}),children:p.jsx("span",{className:"tw-ko tw-pp tw-kp tw-gi tw-rg tw-md tw-yb tw-kc tw-ye tw-vb tw-ad anm-max-w-32",onClick:()=>ct(p.jsx(A5,{document:Z,query:a})),children:Z.key.split("/").pop()})},Ue)))})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-dk tw-yi tw-jh tw-af tw-vb tw-ik "+("user"===l?"tw-dj tw-ei tw-jo":"tw-yg tw-fj tw-ho"),children:["user"===l&&h&&p.jsx("span",{children:"Read"}),p.jsxs("div",{className:"tw-ao tw-vf",children:["user"===l&&w?p.jsx("span",{children:p.jsx(C5,{width:16,height:16,viewBox:"0 0 24 24"})}):"user"===l&&d?p.jsxs("span",{className:"tw-ao tw-gn tw-vf tw-jo tw-lg",children:[p.jsx(S5,{})," ",d]}):p.jsx(p.Fragment,{}),x&&p.jsx("span",{children:y5(x)})]})]})]})]}),"user"!==l&&p.jsxs("div",{"aria-expanded":f&&!m,className:"anm-action-wrapper tw-nb tw-ob tw-yp tw-bn tw-sm tw-vo tw-dk tw-om tw-al tw-ab tw-gl tw-pn tw-jd tw-uj",children:[e.showCopyAction&&p.jsx(ho,{text:"copy"===ue?N.copy:N.copySuccess,children:p.jsx("button",{className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca",onClick:()=>{navigator.clipboard.writeText(o),Y("check"),setTimeout((()=>{Y("copy")}),1e3)},children:p.jsx(dt,{className:"tw-mq tw-bq"})})}),e.showSuggestAction&&p.jsx(ho,{text:N.suggest,children:p.jsx("button",{onClick:()=>{_(),(async()=>{try{if(k([]),null!==(null==e?void 0:e.defaultSuggestions)&&""!==(null==e?void 0:e.defaultSuggestions)){const Ue=(await yr.suggestionsNoAuth({conversationID:u,defaultSuggestions:"string"==typeof e.defaultSuggestions?JSON.parse(e.defaultSuggestions.replace(/'/g,'"')):e.defaultSuggestions,messages:n},{"client-id":e.embedId,"session-id":u})).suggest;k(Ue)}}catch(Z){console.error("Error fetching suggestions:",Z)}})()},className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca tw-ba tw-qa",children:p.jsx(E5,{className:"tw-mq tw-bq"})})}),e.showReportAction&&0!==t&&p.jsx(ho,{text:N.report,children:p.jsx("button",{className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca tw-ba tw-qa",onClick:()=>{ct(p.jsx(F5,{datasetID:e.embedId,message:o,query:s,messageID:C,sources:c,onClose:()=>ft(!1),settings:e}))},children:p.jsx(k5,{className:"tw-mq tw-bq"})})})]})]}),v&&p.jsx(j5,{settings:e,suggestionList:de,onSendMessages:P,isLoading:Je})]})},z5=({images:e,sentAt:t})=>{const[n,u]=E.useState(""),[r,o]=E.useState(!1),i=new Date(t).toLocaleString("th-TH",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"});return p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((a,s)=>p.jsx("img",{onClick:()=>u(a),src:a,alt:"img",className:"tw-am tw-ji tw-km tw-sc tw-rg tw-pd"},s)))}),n&&p.jsxs("div",{className:"tw-ao tw-mm tw-jk tw-jq tw-fn tw-ml tw-im tw-od tw-qg tw-cb",children:[p.jsxs("div",{className:"tw-ao tw-vf tw-yc",children:[p.jsxs("div",{className:"tw-ao tw-in tw-vf tw-fq",children:[p.jsx("div",{className:"tw-ao tw-od tw-vf border tw-dh tw-ek tw-zl",children:p.jsx("img",{src:$i,alt:"avatar",className:"tw-yl tw-cg tw-rd"})}),p.jsxs("div",{className:"tw-ao tw-jk tw-km tw-nf",children:[p.jsx("span",{className:"tw-li tw-cm",children:"Rudi"}),p.jsx("span",{className:"tw-oh",children:i})]})]}),p.jsx("div",{className:"tw-ao tw-od tw-vf tw-gn",children:p.jsx(N5,{onClick:()=>u(null),className:"tw-md anm-hover:anm-scale-110 tw-yd tw-qf"})})]}),p.jsx("div",{className:"tw-qe tw-je tw-eh tw-tk tw-gh",children:p.jsx("img",{src:n,alt:"Preview",onLoad:()=>o(!0),className:"tw-pd tw-bn tw-nm tw-eh tw-mb tw-rf "+(r?"tw-bh":"tw-mj")},n)}),p.jsx("div",{className:"tw-ao tw-hn tw-te tw-dl",children:null==e?void 0:e.map(((a,s)=>p.jsx("div",{className:"tw-md",onClick:()=>{o(!1),u(a)},children:p.jsx("img",{src:a,alt:a,className:"tw-zi tw-re tw-dh tw-cg"})},s)))})]})]})},H5=({videos:e})=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((t,n)=>p.jsx("div",{className:"tw-cj tw-tk",children:p.jsx("video",{controls:!0,src:t,className:"tw-bn tw-nm tw-cg tw-dh"})},n)))})}),$5=({file:e})=>p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((t,n)=>{const u=t.split("/").pop(),r=null==u?void 0:u.split("_")[1].split(".");return p.jsx("a",{className:"tw-bg",href:t,target:"_blank",children:p.jsxs("div",{className:"tw-yd tw-qf tw-ao tw-vf tw-nf tw-km tw-hn tw-ee tw-qd tw-lp tw-qp tw-bk tw-lk",children:[p.jsx("div",{className:"tw-ao tw-vf tw-od tw-ag tw-zf tw-hl tw-ue",children:p.jsx(M5,{className:"tw-li"})}),p.jsxs("div",{children:[p.jsx("span",{className:"tw-dm tw-wf tw-ad tw-ki",children:r[0]}),p.jsx("span",{className:"tw-kh tw-oh",children:r[1]})]})]})},n)}))});function q2(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function U5(){var r,o;const{width:e}=function(){const[e,t]=E.useState(q2());return E.useEffect((()=>{function n(){t(q2())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=E.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(Y1)||null!=(o=null==window?void 0:window.localStorage)&&o.getItem(J0)));return{isGreetingsShow:t,toggleGreetingsShow:function(l){!0===l&&e>=768&&window.sessionStorage.setItem(Y1,"1"),n(l)}}}function W2(e){return e&&e.greetings?JSON.parse(e.greetings).map((t=>({role:"assistant",content:t}))):[]}function V5({sessionId:e,isChatOpen:t,settings:n={},history:u=[],showSuggestions:r,setShowSuggesstion:o,setSuggestList:l,isFullScreen:i,submit:a,suggestList:s,isSuggestLoading:c}){const[d,h]=E.useState(!0),w=E.useRef(null),m=E.useMemo((()=>W2(n)),[n]),x=E.useMemo((()=>[...m,...u]),[m,u]);E.useEffect((()=>{t&&y()}),[u,t]);const y=()=>{var f;null==(f=w.current)||f.scrollIntoView({behavior:"auto"})};return 0===x.length?p.jsx("div",{className:"tw-tk tw-ao tw-jk tw-lm tw-ph tw-rg",children:p.jsx("div",{className:"tw-ao tw-jk tw-di tw-sk tw-gi tw-kp tw-nm tw-po tw-kl tw-he",children:p.jsx("div",{className:"tw-ao tw-nm tw-jk tw-vf tw-od",children:p.jsx("p",{className:"tw-wd tw-dm tw-yi tw-sp tw-nh",children:(null==n?void 0:n.greeting)??"Send a chat to get started."})})})}):p.jsxs("div",{style:{"--bg-color":n.bgColorChat??"#f3f4f6"},className:"anm-wrapper-container tw-tk tw-ao tw-jk tw-lm tw-ph tw-ad tw-wa",children:[p.jsx("div",{className:"anm-scroll-container tw-sb tw-rb tw-we tw-nm tw-yo",onScroll:f=>{const _=f.target.scrollHeight-f.target.scrollTop-f.target.clientHeight<=40;h(_)},children:p.jsxs("div",{className:"tw-ao tw-jk tw-lm tw-ip tw-pj tw-z tw-mp tw-ol tw-zc",children:[x.map(((f,v)=>{var A;const _=v===x.length-1&&v>m.length-1,C=null==(A=x[v-1])?void 0:A.content;return p.jsx(I5,{settings:n,messageIndex:v,sessionId:e,type:f.type,message:f.content,sentAt:f.sentAt||f.timestamp,role:f.role,isRAG:f.isRAG,query:f.query,question:C,sources:f.sources,chatId:f.chatId,feedbackScore:f.feedbackScore,error:f.error,sending:f.sending,read:f.read,pending:f.pending,isDateChanged:f.isDateChanged,currDate:f.currDate,isLastMessage:_,onSuggestion:()=>{o(v===r?null:v)},isShowSuggestion:r===v,history:u,setSuggestList:l,messageID:f.msgID,images:null==f?void 0:f.images,fileUrls:null==f?void 0:f.fileUrls,videoUrls:null==f?void 0:f.videoUrls,isFullScreen:i,submit:a,suggestList:s,isSuggestLoading:c},v)})),p.jsx("div",{className:"tw-dn",ref:w})]})}),p.jsx(Z5,{scrollToBottom:y,isAtBottom:d})]})}const Z5=({scrollToBottom:e,isAtBottom:t})=>p.jsx("div",{className:"tw-ok tw-bc tw-dk tw-bn tw-pe tw-ao tw-zg tw-si tw-hb",children:p.jsxs("button",{className:`tw-gb tw-hq tw-lo tw-im tw-md tw-ao tw-vf tw-od tw-fg tw-wm tw-vc tw-og tw-wb tw-li tw-mb tw-of ${t?"tw-mj tw-hb":"tw-bh"} `,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[p.jsx(of,{weight:"bold"}),p.jsx("span",{className:"tw-bm",children:"Scroll to bottom"})]})});function q5(){return p.jsx("div",{className:"tw-nm tw-rg anm-no-scroll tw-ao tw-jk tw-vf tw-od",children:p.jsx(zi,{size:28,className:"tw-wd tw-jf"})})}function W5({settings:e}){return"true"===e.noSponsor?null:p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-ll tw-sg tw-ro"}),p.jsxs("span",{className:"tw-ol tw-fm tw-yi tw-so tw-ze",children:["Powered by"," ",p.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-fm anm-font-inherit tw-hc tw-bg tw-xe tw-gd",children:"rudi.animuz.ai"})]})]})}function G5({settings:e,message:t,submit:n,onChange:u,inputDisabled:r,buttonDisabled:o,callPing:l}){const i=E.useRef(null),a=E.useRef(null),[s,c]=E.useState(!1);E.useEffect((()=>{!r&&a.current&&a.current.focus(),m()}),[r]);const m=()=>{if(!a.current)return;a.current.style.height="auto";const x=a.current.scrollHeight-24+"px";a.current.style.height=x};return E.useLayoutEffect((()=>{m()}),[a,t]),p.jsx("div",{className:"tw-an tw-ik tw-ao tw-jk tw-zo tw-dp tw-uo tw-zg",children:p.jsxs("form",{onSubmit:x=>{c(!1),n(x)},className:"tw-ek tw-dh tw-ao tw-jk tw-nf tw-km tw-tc tw-bn tw-ol tw-zc",children:[p.jsxs("div",{className:"tw-ao tw-dj tw-rk",children:[p.jsx("textarea",{ref:a,className:"tw-ao tw-lm tw-bn tw-yi tw-ga tw-jd tw-dm tw-fk tw-gb tw-ie tw-gj tw-pl tw-jq tw-bd tw-x tw-ch tw-bb tw-qb tw-gf",onKeyDown:x=>{!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=768||"ontouchstart"in window)&&13==x.keyCode&&!x.shiftKey&&(x.preventDefault(),n(x))},onChange:u,required:!0,disabled:r,onFocus:()=>{c(!0),l()},onBlur:x=>{c(!1)},rows:1,tabIndex:0,enterKeyHint:"enter",value:t,placeholder:e.placeholder,id:"message-input"}),p.jsxs("button",{ref:i,type:"submit",disabled:o,className:"tw-if tw-nc tw-yn tw-be tw-mc tw-ug tw-hi tw-md tw-ki tw-en tw-cn anm-group/button tw-y",id:"send-message-button","aria-label":"Send message",children:[r?p.jsx(zi,{className:"tw-mq tw-bq tw-jf"}):p.jsx(Df,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-oa tw-p tw-i",weight:"fill"}),p.jsx("span",{className:"tw-bm",children:"Send message"})]})]}),p.jsx(W5,{settings:e})]})})}const pa={message:"ping",timeout:6e4,interval:25e3};const X5=(e,t,n,u,r)=>{e.onmessage=o=>{var l;t.current.onMessage&&t.current.onMessage(o),"number"==typeof(null==u?void 0:u.current)&&(u.current=Date.now()),("function"!=typeof t.current.filter||!0===t.current.filter(o))&&(t.current.heartbeat&&"boolean"!=typeof t.current.heartbeat&&(null==(l=t.current.heartbeat)?void 0:l.returnMessage)===o.data||("number"==typeof(null==r?void 0:r.current)&&(r.current=Date.now()),n(o)))}},K5=(e,t,n,u,r,o)=>{e.onopen=l=>{if(t.current.onOpen&&t.current.onOpen(l),u.current=0,n(qt.OPEN),t.current.heartbeat&&e instanceof WebSocket){const i="boolean"==typeof t.current.heartbeat?void 0:t.current.heartbeat;r.current=Date.now(),o.current=Date.now(),function(e,t,n){const{interval:u=pa.interval,timeout:r=pa.timeout,message:o=pa.message}=n||{},l=Math.max(100,u/10);let i=Date.now();const a=setInterval((()=>{const s=Date.now(),c=t.current;if(c+r<=s)console.warn(`Heartbeat timed out, closing connection, last message received ${s-c}ms ago, last ping sent ${s-i}ms ago`),e.close();else if(c+u<=s&&i+u<=s)try{"function"==typeof o?e.send(o()):e.send(o),i=s}catch(d){console.error("Heartbeat failed, closing connection",d instanceof Error?d.message:d),e.close()}}),l);e.addEventListener("close",(()=>{clearInterval(a)}))}(e,r,i)}}},J5=(e,t,n,u,r)=>{let o;return e.onclose=l=>{if(t.current.onClose&&t.current.onClose(l),n(qt.CLOSED),t.current.shouldReconnect&&t.current.shouldReconnect(l)){const i=t.current.reconnectAttempts??20;if(r.current<i){const a="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(r.current):t.current.reconnectInterval;o=window.setTimeout((()=>{r.current++,u()}),a??5e3)}else t.current.onReconnectStop&&t.current.onReconnectStop(i),console.warn(`Max reconnect attempts of ${i} exceeded`)}},()=>o&&window.clearTimeout(o)},eg=(e,t,n,u,r)=>{let o;return e.onerror=l=>{if(t.current.onError&&t.current.onError(l),t.current.retryOnError)if(r.current<(t.current.reconnectAttempts??20)){const i="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(r.current):t.current.reconnectInterval;o=window.setTimeout((()=>{r.current++,u()}),i??5e3)}else t.current.onReconnectStop&&t.current.onReconnectStop(t.current.reconnectAttempts),console.warn(`Max reconnect attempts of ${t.current.reconnectAttempts} exceeded`)},()=>o&&window.clearTimeout(o)},Y2=E.createContext({}),ng=(e,t,n,u,r,o,l,i,a,s)=>{const c=[...r.current.protocols,n];if(console.log("createOrJoinSocket",t,c),!c[1])throw new Error("WebSocket failed: Missing required ClientID");if(e.current=new WebSocket(t,c),u(qt.CONNECTING),!e.current)throw new Error("WebSocket failed to be created");return((e,t,n,u,r,o,l)=>{const{setLastMessage:i,setReadyState:a}=t;let s,c;return X5(e,n,i,o,l),K5(e,n,a,r,o,l),s=J5(e,n,a,u,r),c=eg(e,n,a,u,r),()=>{a(qt.CLOSING),s(),c(),e.close()}})(e.current,{setLastMessage:o,setReadyState:u},r,l.current,i,a,s)},qt={UNINSTANTIATED:-1,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},K2=()=>E.useContext(Y2),ug=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"currentColor",...e},E.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m13.01 2.92 5.9 2.62c1.7.75 1.7 1.99 0 2.74l-5.9 2.62c-.67.3-1.77.3-2.44 0l-5.9-2.62c-1.7-.75-1.7-1.99 0-2.74l5.9-2.62c.67-.3 1.77-.3 2.44 0"}),E.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 11c0 .84.63 1.81 1.4 2.15l6.79 3.02c.52.23 1.11.23 1.62 0l6.79-3.02c.77-.34 1.4-1.31 1.4-2.15"}),E.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 16c0 .93.55 1.77 1.4 2.15l6.79 3.02c.52.23 1.11.23 1.62 0l6.79-3.02c.85-.38 1.4-1.22 1.4-2.15"})),rg=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{stroke:"#C3C3C3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 12h12"})),og=({data:e,settings:t,className:n,isFullScreen:u})=>{const[r,o]=E.useState(!0),l=t.language,i=Dt[l]||Dt.en,a=[{title:"กิจกรรม",value:e.msgID},{title:"เวลาประทับ",value:e.timestamp},{title:"โมเดล",value:e.model},{title:"การใช้เครื่องมือ",value:e.tool},{title:"คำสั่งเครื่องมือ",value:e.query},{title:"เอกสาร",value:e.documents},{title:"ระดับความมั่นใจ",value:e.scores}];return p.jsxs("div",{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:`tw-le tw-bn tw-dh tw-gk tw-ha tw-nf tw-ad tw-ek tw-dk tw-un tw-vl ${n} ${u?"tw-bh tw-ra tw-q":"tw-mj tw-bm tw-hb"}`,children:[p.jsxs("div",{className:"tw-kq tw-ao tw-vf tw-yc tw-hk tw-wh tw-vh tw-nf tw-dc tw-md tw-fh",onClick:()=>{o((c=>!c))},children:[p.jsxs("div",{className:"tw-ao tw-vf tw-vj",children:[p.jsx(ug,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-wm tw-ja"}),p.jsx("span",{className:"tw-cm tw-ge",children:i.statistic})]}),p.jsx(rg,{className:"tw-wm tw-xa tw-rf "+(r?"tw-fi":"")})]}),p.jsx("div",{className:"tw-bo tw-yd tw-rf tw-mp "+(r?"tw-xc tw-sp ":"tw-wc tw-op"),children:p.jsx("div",{className:"tw-ao tw-jk tw-wj tw-ad",children:a.map(((c,d)=>p.jsxs("div",{className:"tw-ao tw-vj",children:[p.jsx("span",{className:"tw-ud tw-se tw-ke",children:c.title}),p.jsx("span",{children:c.value})]},d)))})})]})};const ig={_Rixits:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_",fromNumber:function(e){if(isNaN(Number(e))||null===e||e===Number.POSITIVE_INFINITY)throw new Error("The input is not valid");if(e<0)throw new Error("Can't represent negative numbers now");let t,n=Math.floor(e),u="";for(;t=n%64,u=this._Rixits.charAt(t)+u,n=Math.floor(n/64),0!==n;);return u},toNumber:function(e){let t=0;e=e.split("");for(let n=0;n<e.length;n++)t=64*t+this._Rixits.indexOf(e[n]);return t}};function sg(e,t=5){return e||(e=new Date),`${e.valueOf().toString(36)}${function(e){e="number"==typeof e?e<4?4:e>2048?2048:e:16;let t="";for(;t.length<e;)t+=ig.fromNumber(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER));return t.substr(Math.floor(t.length/2-e/2),e)}(t)}`}const J2=E.createContext();const ed=()=>E.useContext(J2);const hg=e=>{const t=e.filter((u=>u.pending));return[...e.filter((u=>!u.pending)),...t]};class mg{constructor(t,n,u,r,o=!0){Bd(this,"type","text"),this.msgID=t,this.content=n,this.role=u,this.timestamp=function(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}(t).toISOString(),this.greetings=r,this.sending=o}toJson(){return{msgID:this.msgID,type:this.type,content:this.content,role:this.role,timestamp:this.timestamp,sending:this.sending}}toWSJson(){const t={msgID:this.msgID,type:this.type,message:this.content};return this.greetings&&this.greetings.length>0&&(t.greetings=this.greetings),t}}function gg({isFullScreen:e,isChatOpen:t,sessionId:n,settings:u,chatHistory:r=[],setChatHistory:o,callPing:l}){const{showSuggest:i,setShowSugguest:a,suggestList:s,setSuggestList:c,isLoading:d}=function(e,t){const n=E.useMemo((()=>e.defaultSuggestions?JSON.parse(e.defaultSuggestions):[]),[e.defaultSuggestions]),[u,r]=E.useState(0===t.length&&n.length>0),[o,l]=E.useState([]),[i,a]=E.useState(!1);return E.useEffect((()=>{0===t.length&&n.length>0&&(r(!0),l([]))}),[t.length,n]),E.useEffect((()=>{a(o.length<=0)}),[o]),E.useEffect((()=>{const s=t.length>0&&"assistant"===t[t.length-1].role&&!t[t.length-1].pending;"on"===e.autoSuggestions&&s&&("on"===e.fetchSuggestions?console.warn("Fetching new suggestions from server is not implemented yet."):l([]),r(!0))}),[t,e.autoSuggestions,n,e.fetchSuggestions]),E.useEffect((()=>{console.log("suggestList> ",o)}),[o]),E.useEffect((()=>{console.log("showSuggest> ",u)}),[u]),E.useEffect((()=>{console.log("isLoading> ",i)}),[i]),{showSuggest:u,setShowSugguest:r,suggestList:o,setSuggestList:l,isLoading:i}}(u,r),{connect:h,disconnect:w}=K2();E.useEffect((()=>(r.length>0&&h(n),()=>w())),[]);const{handleSubmit:m,message:x,setMessage:S}=function({chatHistory:e,setChatHistory:t,settings:n,sessionId:u,setShowSugguest:r}){const[o,l]=E.useState(""),i=E.useRef({}),{connect:a,sendJsonMessage:s,lastJsonMessage:c}=K2(),{intentResponse:d}=ed(),h=E.useCallback((async(w,m=null)=>{w.preventDefault();const x=m??o;if(!x||""===x.trim())return!1;r(!1);const S=0===e.length,y=S?W2(n):[];S&&a(u);const v=sg(new Date,3),_=new mg(v,x,"user",y),k=hg([...e,_.toJson()]);if(t(k),l(""),console.debug("This is prevChat",k),console.debug("intentResponse",d),console.debug("intentResponse[messageToSend]",d[x]),d[x]){const F=d[x];return void t((R=>[...R.map((j=>j.msgID===v?{...j,sending:!1}:j)),...F]))}const C=n.chatFnVersion||"v2",A=JSON.stringify({..._.toWSJson(),version:C});s({action:"sendMessage",body:A}),i.current[v]=setTimeout((()=>{t((F=>{const R=F.findIndex((j=>j.msgID===v));return!0===F[R].sending&&(F[R].sending=!1,F[R].error="Couldn't send"),[...F.splice(0)]}))}),2e4)}),[e,t,n,u,a,s,o,d,r]);return E.useEffect((()=>{if(c){if("ack"===c.event)return console.log("ACK message received",c),clearTimeout(i.current[c.msgID]),void t((w=>w.map((x=>{if(x.msgID===c.msgID){const S={...x,sending:!1};return"error"===c.status&&(S.error=c.error),S}return x}))));if("action"===c.event&&c.action){if(console.log("action message received",c),"MARK_READ"===c.action){const w=c.timestamp;t((m=>m.map((x=>new Date(x.timestamp).getTime()<=w?{...x,read:!0}:x))))}else"TYPING_ON"===c.action?t((w=>[...w,{content:"",role:"assistant",pending:!0}])):"TYPING_OFF"===c.action&&t((w=>{const m=w[w.length-1];return m&&"assistant"===m.role&&m.pending?w.slice(0,w.length-1):w}));return}("message"===c.event||"event"===c.event)&&t((w=>{const m=w[w.length-1];let x=w;if(m){"assistant"===m.role&&m.pending&&(x=w.slice(0,w.length-1));const S=new Date(m.timestamp).toLocaleDateString(),y=Bf([c],S);return[...x,y[0]]}return w}))}}),[c,u,t]),{handleSubmit:h,message:o,setMessage:l}}({chatHistory:r,setChatHistory:o,settings:u,sessionId:n,setShowSugguest:a}),f=r[r.length-1],v={msgID:null==f?void 0:f.msgID,timestamp:null==f?void 0:f.timestamp,model:"gpt-4o",tool:null!=f&&f.isRAG?"RAG":"",query:null==f?void 0:f.query,documents:null!=f&&f.sources?`[${null==f?void 0:f.sources.map((_=>_.key)).join(", ")}]`:"[]",scores:null!=f&&f.sources?`[${null==f?void 0:f.sources.map((_=>_.score)).join(", ")}]`:"[]"};return p.jsxs("div",{className:"tw-nm tw-tk tw-ao tw-jk tw-ad",children:[p.jsx(V5,{sessionId:n,settings:u,history:r,isChatOpen:t,showSuggestions:i,setShowSuggesstion:a,setSuggestList:c,isFullScreen:e,submit:m,suggestList:s,isSuggestLoading:d}),p.jsx("div",{className:"tw-dk tw-ik tw-pm tw-bn tw-zp",children:p.jsx(G5,{settings:u,message:x,submit:m,onChange:_=>S(_.target.value),inputDisabled:!1,buttonDisabled:!x||""===x,callPing:l})}),v.tool&&p.jsx(og,{data:v,isFullScreen:e,settings:u,className:""})]})}function wg({isChatOpen:e,closeChat:t,settings:n,sessionId:u,callPing:r,isFullScreen:o,isIframe:l,toggleFullScreen:i}){const{chatHistory:a,setChatHistory:s,resetChat:c,loading:d}=function(e=null,t=null){const[n,u]=E.useState(!0),[r,o]=E.useState([]),l=E.useCallback((async()=>{if(console.log("Fetching chat history for session:",t,"settings:",e),t&&e){console.log("Fetching chat history..."),u(!0);try{const a=await yr.getMessages({"client-id":e.embedId,"session-id":t}),s=Bf(a);o(s),console.log("setChatHistory!",s)}catch(a){console.error("Error fetching historical chats:",a)}finally{u(!1)}}}),[t,e]);return E.useEffect((()=>{l()}),[l]),{chatHistory:r,setChatHistory:o,resetChat:async()=>{await yr.resetMessages({"client-id":e.embedId,"session-id":t}),o([])},loading:n,refetch:l}}(n,u),h=0===a.length;return d?p.jsxs("main",{className:"tw-ao tw-jk tw-nm",children:[p.jsx(Hf,{resetChat:c,closeChat:t,settings:n}),p.jsx(q5,{})]}):p.jsxs("main",{className:"anm-group tw-ao tw-jk tw-nm tw-yi",children:[p.jsx(Hf,{resetChat:c,closeChat:t,settings:n,sessionId:u,isNoMessage:h,isFullScreen:o,isIframe:l,toggleFullScreen:i}),p.jsx(gg,{isFullScreen:o,isChatOpen:e,sessionId:u,settings:n,chatHistory:a,setChatHistory:s,callPing:r})]})}var td={exports:{}};function nd(){}function ud(){}ud.resetWarningCache=nd;td.exports=function(){function e(u,r,o,l,i,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ud,resetWarningCache:nd};return n.PropTypes=n,n}();const te=ve(td.exports);var rd=E,kg=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(rd);function od(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sg=!!(typeof window<"u"&&window.document&&window.document.createElement);var Tg=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(o){if("function"!=typeof o)throw new Error("Expected WrappedComponent to be a React component.");var i,l=[];function a(){i=e(l.map((function(c){return c.props}))),s.canUseDOM?t(i):n&&(i=n(i))}var r,s=function(c){function d(){return c.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(d,c),d.peek=function(){return i},d.rewind=function(){if(d.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var m=i;return i=void 0,l=[],m};var h=d.prototype;return h.UNSAFE_componentWillMount=function(){l.push(this),a()},h.componentDidUpdate=function(){a()},h.componentWillUnmount=function(){var m=l.indexOf(this);l.splice(m,1),a()},h.render=function(){return kg.createElement(o,this.props)},d}(rd.PureComponent);return od(s,"displayName","SideEffect("+(((r=o).displayName||r.name||"Component")+")")),od(s,"canUseDOM",Sg),s}};const Dg=ve(Tg);var Fg=typeof Element<"u",Ng="function"==typeof Map,Mg="function"==typeof Set,Lg="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function mo(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,u,r,o;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(u=n;0!=u--;)if(!mo(e[u],t[u]))return!1;return!0}if(Ng&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(u=o.next()).done;)if(!t.has(u.value[0]))return!1;for(o=e.entries();!(u=o.next()).done;)if(!mo(u.value[1],t.get(u.value[0])))return!1;return!0}if(Mg&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(u=o.next()).done;)if(!t.has(u.value[0]))return!1;return!0}if(Lg&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(u=n;0!=u--;)if(e[u]!==t[u])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(u=n;0!=u--;)if(!Object.prototype.hasOwnProperty.call(t,r[u]))return!1;if(Fg&&e instanceof Element)return!1;for(u=n;0!=u--;)if(("_owner"!==r[u]&&"__v"!==r[u]&&"__o"!==r[u]||!e.$$typeof)&&!mo(e[r[u]],t[r[u]]))return!1;return!0}return e!=e&&t!=t}const Og=ve((function(t,n){try{return mo(t,n)}catch(u){if((u.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw u}}));
|
|
38
38
|
/*
|
|
39
39
|
object-assign
|
|
40
40
|
(c) Sindre Sorhus
|
|
41
41
|
@license MIT
|
|
42
|
-
*/var ud=Object.getOwnPropertySymbols,Sg=Object.prototype.hasOwnProperty,Ag=Object.prototype.propertyIsEnumerable;var Fg=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(o){return t[o]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(o){r[o]=o})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch{return!1}}()?Object.assign:function(e,t){for(var n,r,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var l in n=Object(arguments[o]))Sg.call(n,l)&&(u[l]=n[l]);if(ud){r=ud(n);for(var i=0;i<r.length;i++)Ag.call(n,r[i])&&(u[r[i]]=n[r[i]])}}return u};const Ng=ge(Fg);var Hn_BODY="bodyAttributes",Hn_HTML="htmlAttributes",Hn_TITLE="titleAttributes",I={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(I).map((function(e){return I[e]}));var t,n,u,te_CHARSET="charset",te_CSS_TEXT="cssText",te_HREF="href",te_HTTPEQUIV="http-equiv",te_INNER_HTML="innerHTML",te_ITEM_PROP="itemprop",te_NAME="name",te_PROPERTY="property",te_REL="rel",te_SRC="src",te_TARGET="target",go={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Mr_DEFAULT_TITLE="defaultTitle",Mr_DEFER="defer",Mr_ENCODE_SPECIAL_CHARACTERS="encodeSpecialCharacters",Mr_ON_CHANGE_CLIENT_STATE="onChangeClientState",Mr_TITLE_TEMPLATE="titleTemplate",Mg=Object.keys(go).reduce((function(e,t){return e[go[t]]=t,e}),{}),Lg=[I.NOSCRIPT,I.SCRIPT,I.STYLE],bt="data-react-helmet",Og="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pg=function(){function e(t,n){for(var u=0;u<n.length;u++){var r=n[u];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,u){return n&&e(t.prototype,n),u&&e(t,u),t}}(),Ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},rd=function(e,t){var n={};for(var u in e)t.indexOf(u)>=0||Object.prototype.hasOwnProperty.call(e,u)&&(n[u]=e[u]);return n},ha=function(t){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},zg=function(t){var n=_u(t,I.TITLE),u=_u(t,Mr_TITLE_TEMPLATE);if(u&&n)return u.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n}));var r=_u(t,Mr_DEFAULT_TITLE);return n||r||void 0},Hg=function(t){return _u(t,Mr_ON_CHANGE_CLIENT_STATE)||function(){}},ma=function(t,n){return n.filter((function(u){return typeof u[t]<"u"})).map((function(u){return u[t]})).reduce((function(u,r){return Ze({},u,r)}),{})},Bg=function(t,n){return n.filter((function(u){return typeof u[I.BASE]<"u"})).map((function(u){return u[I.BASE]})).reverse().reduce((function(u,r){if(!u.length)for(var o=Object.keys(r),l=0;l<o.length;l++){var a=o[l].toLowerCase();if(-1!==t.indexOf(a)&&r[a])return u.concat(r)}return u}),[])},Lr=function(t,n,u){var r={};return u.filter((function(o){return!!Array.isArray(o[t])||(typeof o[t]<"u"&&Zg("Helmet: "+t+' should be of type "Array". Instead found type "'+Og(o[t])+'"'),!1)})).map((function(o){return o[t]})).reverse().reduce((function(o,l){var i={};l.filter((function(g){for(var v=void 0,d=Object.keys(g),_=0;_<d.length;_++){var S=d[_],h=S.toLowerCase();-1!==n.indexOf(h)&&!(v===te_REL&&"canonical"===g[v].toLowerCase())&&!(h===te_REL&&"stylesheet"===g[h].toLowerCase())&&(v=h),-1!==n.indexOf(S)&&(S===te_INNER_HTML||S===te_CSS_TEXT||S===te_ITEM_PROP)&&(v=S)}if(!v||!g[v])return!1;var p=g[v].toLowerCase();return r[v]||(r[v]={}),i[v]||(i[v]={}),!r[v][p]&&(i[v][p]=!0,!0)})).reverse().forEach((function(g){return o.push(g)}));for(var a=Object.keys(i),s=0;s<a.length;s++){var c=a[s],f=Ng({},r[c],i[c]);r[c]=f}return o}),[]).reverse()},_u=function(t,n){for(var u=t.length-1;u>=0;u--){var r=t[u];if(r.hasOwnProperty(n))return r[n]}return null},ga=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){ga(t)}),0)}}(),od=function(t){return clearTimeout(t)},Ug=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ga:global.requestAnimationFrame||ga,Vg=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||od:global.cancelAnimationFrame||od,Zg=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},Or=null,ld=function(t,n){var u=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,l=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.onChangeClientState,c=t.scriptTags,f=t.styleTags,g=t.title,v=t.titleAttributes;wa(I.BODY,r),wa(I.HTML,o),Wg(g,v);var d={baseTag:Eu(I.BASE,u),linkTags:Eu(I.LINK,l),metaTags:Eu(I.META,i),noscriptTags:Eu(I.NOSCRIPT,a),scriptTags:Eu(I.SCRIPT,c),styleTags:Eu(I.STYLE,f)},_={},S={};Object.keys(d).forEach((function(h){var p=d[h],w=p.newTags,b=p.oldTags;w.length&&(_[h]=w),b.length&&(S[h]=d[h].oldTags)})),n&&n(),s(t,_,S)},id=function(t){return Array.isArray(t)?t.join(""):t},Wg=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=id(t)),wa(I.TITLE,n)},wa=function(t,n){var u=document.getElementsByTagName(t)[0];if(u){for(var r=u.getAttribute(bt),o=r?r.split(","):[],l=[].concat(o),i=Object.keys(n),a=0;a<i.length;a++){var s=i[a],c=n[s]||"";u.getAttribute(s)!==c&&u.setAttribute(s,c),-1===o.indexOf(s)&&o.push(s);var f=l.indexOf(s);-1!==f&&l.splice(f,1)}for(var g=l.length-1;g>=0;g--)u.removeAttribute(l[g]);o.length===l.length?u.removeAttribute(bt):u.getAttribute(bt)!==i.join(",")&&u.setAttribute(bt,i.join(","))}},Eu=function(t,n){var u=document.head||document.querySelector(I.HEAD),r=u.querySelectorAll(t+"["+bt+"]"),o=Array.prototype.slice.call(r),l=[],i=void 0;return n&&n.length&&n.forEach((function(a){var s=document.createElement(t);for(var c in a)if(a.hasOwnProperty(c))if(c===te_INNER_HTML)s.innerHTML=a.innerHTML;else if(c===te_CSS_TEXT)s.styleSheet?s.styleSheet.cssText=a.cssText:s.appendChild(document.createTextNode(a.cssText));else{var f=typeof a[c]>"u"?"":a[c];s.setAttribute(c,f)}s.setAttribute(bt,"true"),o.some((function(g,v){return i=v,s.isEqualNode(g)}))?o.splice(i,1):l.push(s)})),o.forEach((function(a){return a.parentNode.removeChild(a)})),l.forEach((function(a){return u.appendChild(a)})),{oldTags:o,newTags:l}},ad=function(t){return Object.keys(t).reduce((function(n,u){var r=typeof t[u]<"u"?u+'="'+t[u]+'"':""+u;return n?n+" "+r:r}),"")},sd=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[go[r]||r]=t[r],u}),n)},qt=function(t,n,u){switch(t){case I.TITLE:return{toComponent:function(){return function(t,n,u){var r,o=((r={key:n})[bt]=!0,r),l=sd(u,o);return[y.createElement(I.TITLE,l,n)]}(0,n.title,n.titleAttributes)},toString:function(){return function(t,n,u,r){var o=ad(u),l=id(n);return o?"<"+t+" "+bt+'="true" '+o+">"+ha(l,r)+"</"+t+">":"<"+t+" "+bt+'="true">'+ha(l,r)+"</"+t+">"}(t,n.title,n.titleAttributes,u)}};case Hn_BODY:case Hn_HTML:return{toComponent:function(){return sd(n)},toString:function(){return ad(n)}};default:return{toComponent:function(){return function(t,n){return n.map((function(u,r){var o,l=((o={key:r})[bt]=!0,o);return Object.keys(u).forEach((function(i){var a=go[i]||i;if(a===te_INNER_HTML||a===te_CSS_TEXT){var s=u.innerHTML||u.cssText;l.dangerouslySetInnerHTML={__html:s}}else l[a]=u[i]})),y.createElement(t,l)}))}(t,n)},toString:function(){return function(t,n,u){return n.reduce((function(r,o){var l=Object.keys(o).filter((function(s){return!(s===te_INNER_HTML||s===te_CSS_TEXT)})).reduce((function(s,c){var f=typeof o[c]>"u"?c:c+'="'+ha(o[c],u)+'"';return s?s+" "+f:f}),""),i=o.innerHTML||o.cssText||"",a=-1===Lg.indexOf(t);return r+"<"+t+" "+bt+'="true" '+l+(a?"/>":">"+i+"</"+t+">")}),"")}(t,n,u)}}}},cd=function(t){var n=t.baseTag,u=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,l=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.scriptTags,c=t.styleTags,f=t.title,g=void 0===f?"":f,v=t.titleAttributes;return{base:qt(I.BASE,n,r),bodyAttributes:qt(Hn_BODY,u,r),htmlAttributes:qt(Hn_HTML,o,r),link:qt(I.LINK,l,r),meta:qt(I.META,i,r),noscript:qt(I.NOSCRIPT,a,r),script:qt(I.SCRIPT,s,r),style:qt(I.STYLE,c,r),title:qt(I.TITLE,{title:g,titleAttributes:v},r)}},tw=yg((function(t){return{baseTag:Bg([te_HREF,te_TARGET],t),bodyAttributes:ma(Hn_BODY,t),defer:_u(t,Mr_DEFER),encode:_u(t,Mr_ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ma(Hn_HTML,t),linkTags:Lr(I.LINK,[te_REL,te_HREF],t),metaTags:Lr(I.META,[te_NAME,te_CHARSET,te_HTTPEQUIV,te_PROPERTY,te_ITEM_PROP],t),noscriptTags:Lr(I.NOSCRIPT,[te_INNER_HTML],t),onChangeClientState:Hg(t),scriptTags:Lr(I.SCRIPT,[te_SRC,te_INNER_HTML],t),styleTags:Lr(I.STYLE,[te_CSS_TEXT],t),title:zg(t),titleAttributes:ma(Hn_TITLE,t)}}),(function(t){Or&&Vg(Or),t.defer?Or=Ug((function(){ld(t,(function(){Or=null}))})):(ld(t),Or=null)}),cd)((function(){return null})),va=(t=tw,u=n=function(r){function o(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,r),o.prototype.shouldComponentUpdate=function(i){return!Cg(this.props,i)},o.prototype.mapNestedChildrenToProps=function(i,a){if(!a)return null;switch(i.type){case I.SCRIPT:case I.NOSCRIPT:return{innerHTML:a};case I.STYLE:return{cssText:a}}throw new Error("<"+i.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},o.prototype.flattenArrayTypeChildren=function(i){var a,s=i.child,c=i.arrayTypeChildren,f=i.newChildProps,g=i.nestedChildren;return Ze({},c,((a={})[s.type]=[].concat(c[s.type]||[],[Ze({},f,this.mapNestedChildrenToProps(s,g))]),a))},o.prototype.mapObjectTypeChildren=function(i){var a,s,c=i.child,f=i.newProps,g=i.newChildProps,v=i.nestedChildren;switch(c.type){case I.TITLE:return Ze({},f,((a={})[c.type]=v,a.titleAttributes=Ze({},g),a));case I.BODY:return Ze({},f,{bodyAttributes:Ze({},g)});case I.HTML:return Ze({},f,{htmlAttributes:Ze({},g)})}return Ze({},f,((s={})[c.type]=Ze({},g),s))},o.prototype.mapArrayTypeChildrenToProps=function(i,a){var s=Ze({},a);return Object.keys(i).forEach((function(c){var f;s=Ze({},s,((f={})[c]=i[c],f))})),s},o.prototype.warnOnInvalidChildren=function(i,a){return!0},o.prototype.mapChildrenToProps=function(i,a){var s=this,c={};return y.Children.forEach(i,(function(f){if(f&&f.props){var g=f.props,v=g.children,_=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[Mg[r]||r]=t[r],u}),n)}(rd(g,["children"]));switch(s.warnOnInvalidChildren(f,v),f.type){case I.LINK:case I.META:case I.NOSCRIPT:case I.SCRIPT:case I.STYLE:c=s.flattenArrayTypeChildren({child:f,arrayTypeChildren:c,newChildProps:_,nestedChildren:v});break;default:a=s.mapObjectTypeChildren({child:f,newProps:a,newChildProps:_,nestedChildren:v})}}})),a=this.mapArrayTypeChildrenToProps(c,a)},o.prototype.render=function(){var i=this.props,a=i.children,s=rd(i,["children"]),c=Ze({},s);return a&&(c=this.mapChildrenToProps(a,c)),y.createElement(t,c)},Pg(o,null,[{key:"canUseDOM",set:function(i){t.canUseDOM=i}}]),o}(y.Component),n.propTypes={base:ee.object,bodyAttributes:ee.object,children:ee.oneOfType([ee.arrayOf(ee.node),ee.node]),defaultTitle:ee.string,defer:ee.bool,encodeSpecialCharacters:ee.bool,htmlAttributes:ee.object,link:ee.arrayOf(ee.object),meta:ee.arrayOf(ee.object),noscript:ee.arrayOf(ee.object),onChangeClientState:ee.func,script:ee.arrayOf(ee.object),style:ee.arrayOf(ee.object),title:ee.string,titleAttributes:ee.object,titleTemplate:ee.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var r=t.rewind();return r||(r=cd({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),r},u);function nw(){return m.jsxs(va,{children:[m.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"}),m.jsx("link",{rel:"stylesheet",href:Wt.stylesSrc})]})}va.renderStatic=va.rewind;for(var xe=[],ya=0;ya<256;++ya)xe.push((ya+256).toString(16).slice(1));var wo,rw=new Uint8Array(16);function ow(){if(!wo&&!(wo=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return wo(rw)}const fd={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function iw(e,t,n){if(fd.randomUUID&&!t&&!e)return fd.randomUUID();var u=(e=e||{}).random||(e.rng||ow)();return u[6]=15&u[6]|64,u[8]=63&u[8]|128,function(e,t=0){return(xe[e[t+0]]+xe[e[t+1]]+xe[e[t+2]]+xe[e[t+3]]+"-"+xe[e[t+4]]+xe[e[t+5]]+"-"+xe[e[t+6]]+xe[e[t+7]]+"-"+xe[e[t+8]]+xe[e[t+9]]+"-"+xe[e[t+10]]+xe[e[t+11]]+xe[e[t+12]]+xe[e[t+13]]+xe[e[t+14]]+xe[e[t+15]]).toLowerCase()}(u)}function sw({settings:e,toggleGreetingsShow:t}){const[n,u]=E.useState([]);return E.useEffect((()=>{const r=e.greetings?JSON.parse(e.greetings):[];u(r),t(!0)}),[e]),m.jsxs(m.Fragment,{children:[m.jsx("button",{className:"tw-yj tw-ng tw-hd tw-gn tw-kl tw-si tw-on tw-ij tw-m tw-jd tw-qf tw-bm tw-nm tw-zf tw-wl tw-fd tw-fi tw-mm",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,o)=>m.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*o+"s"},className:"tw-on tw-tg tw-zj tw-pj tw-dm tw-gb tw-if tw-bi tw-wp tw-qp tw-wl tw-ij tw-ql tw-d tw-ui",children:r},o)))]})}const cw=({isOpen:e,onClose:t,children:n})=>e?m.jsx("div",{className:"tw-xm tw-on tw-el tw-jd tw-qf tw-tm tw-gm tw-jg tw-bm ",onClick:t,children:m.jsxs("div",{className:"tw-ok tw-zj tw-xg tw-tm tw-kk tw-oj",onClick:u=>u.stopPropagation(),children:[m.jsx("button",{className:"tw-yj tw-hn tw-ll tw-tk tw-ed tw-ng tw-hd tw-xe tw-fb",onClick:t,children:"×"}),n]})}):null;const vo=document.createElement("div");vo.id="animuz-chat-widget",vo.setAttribute("style","visibility:hidden;opacity:0;"),document.body.appendChild(vo),Do.createRoot(vo).render(m.jsx(y.StrictMode,{children:m.jsx((function({children:e}){const[t,n]=E.useState(!1),u=function(e,t){const n=E.useRef(Date.now());return function(){Date.now()-n.current>=t&&(e(),n.current=Date.now())}}((()=>{Pf_ping()}),1e4),[r,o]=E.useState({"test-intent":[{role:"assistant",content:"This is a test response"},{role:"assistant",content:"Second message goes here"}],"Question Submit":[{role:"assistant",content:"This is a test response for Question Submit"}]}),[l,i]=E.useState("");return E.useEffect((()=>{function a(s){if(console.log("Received message from iframe:",s.data),s.data&&"intentResponse"===s.data.type){if(!s.data.intent||!s.data.response)return void console.warn("Received intentResponse without intent or response");o((c=>(console.log("Updating intentResponse",{...c,[s.data.intent]:s.data.response}),{...c,[s.data.intent]:s.data.response})))}else if(s.data&&"promptInject"===s.data.type){if(!s.data.context)return void console.warn("Received promptInject without context");i(s.data.context)}}return window.addEventListener("message",a),()=>window.removeEventListener("message",a)}),[]),m.jsx(Y2.Provider,{value:{isFullScreen:t,setIsFullScreen:n,intentResponse:r,setIntentResponse:o,promptInject:l,setPromptInject:i,callPing:u},children:e})}),{children:m.jsx((({children:e})=>{const t={onOpen:()=>console.log("i am open !"),onClose:()=>console.log("i am closed !"),protocols:["Client",Wt.settings.embedId],shouldReconnect:()=>{const k=Date.now()-c.current;return console.log(`shouldReconnect? ${k/1e3}s ago ${k<18e5}`),k<18e5},reconnectAttempts:5,reconnectInterval:5e3,heartbeat:{message:"ping",interval:4e4,timeout:3e5}},[n,u]=E.useState(null),[r,o]=E.useState(void 0),l=E.useMemo((()=>{if(n)try{return JSON.parse(n.data)}catch{return{}}return null}),[n]),i=E.useRef(null),a=E.useRef((()=>{})),s=E.useRef(0),c=E.useRef(Date.now()),f=E.useRef(Date.now()),g=E.useRef([]),v=E.useRef(t);v.current=t;const d=E.useRef(null),[_,S]=E.useState(!1),h=r||(!0===_?Zt.CONNECTING:Zt.UNINSTANTIATED),w=E.useCallback((()=>S(!1)),[]),b=E.useCallback(((k,T=!0)=>{var F;(null==(F=i.current)?void 0:F.readyState)===Zt.OPEN?(console.log("Opened WebSocket>> sending!"),i.current.send(k)):T&&g.current.push(k)}),[]),C=E.useCallback(((k,T=!0)=>{console.log("Called sendJsonMessage",k),b(JSON.stringify(k),T)}),[b]);return E.useEffect((()=>{if(_){let k,T=!1,F=!0;const z=async()=>{F&&(k=q5(i,"wss://pn1o5spfd5.execute-api.ap-southeast-1.amazonaws.com/dev/",d.current,(be=>{T||Ri.flushSync((()=>o(be)))}),v,(be=>{T||Ri.flushSync((()=>u(be)))}),a,s,f,c))};return a.current=()=>{T||(null==k||k(),z())},z(),()=>{T=!0,F=!1,null==k||k(),u(null)}}s.current=0,o(Zt.CLOSED),i.current&&i.current.close()}),[_,b]),E.useEffect((()=>{console.log("readyStateFromUrl",h," 0: CONNECTING, 1: OPEN, 2: CLOSING, 3: CLOSED"),h===Zt.OPEN&&g.current.splice(0).forEach((k=>{b(k)}))}),[h]),m.jsx(W2.Provider,{value:{connect:k=>{d.current=k,console.log("This is now sessionID",d.current),S(!0)},disconnect:w,sendMessage:b,sendJsonMessage:C,lastMessage:n,lastJsonMessage:l,readyState:h},children:e})}),{children:m.jsx((({children:e})=>{const[t,n]=E.useState(!1),[u,r]=E.useState(m.jsx("div",{children:"Hello world"}));return m.jsx(Ii.Provider,{value:{modalOpen:t,setModalOpen:n,modalContent:u,setModalContent:r,openModal:l=>{r(l),n(!0)}},children:e})}),{children:m.jsx((function(){const{isChatOpen:e,toggleOpenChat:t}=function(){var u;const[e,t]=E.useState(!(null==(u=null==window?void 0:window.localStorage)||!u.getItem(J0))||!1);return{isChatOpen:e,toggleOpenChat:function(r){!0===r&&window.localStorage.setItem(J0,"1"),!1===r&&window.localStorage.removeItem(J0),t(r)}}}(),{isGreetingsShow:n,toggleGreetingsShow:u}=N5(),r=function(){const[e,t]=E.useState({loaded:!1,...Q1});return E.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...Q1,...Wt.settings,...u};if(!r.embedId)throw new Error("[Animuz Embed Module::Abort] - Invalid script tag setup detected. Missing required parameters for boot!");t({...r,loaded:!0})}()}),[document]),e}(),o=function(){const[e,t]=E.useState("");return E.useEffect((()=>{!function(){if(!window||!Wt.settings.embedId)return;const u=`anm_${Wt.settings.embedId}_session_id`,r=window.localStorage.getItem(u);if(r)return console.log("Resuming session id",r),void t(r);const o=Math.floor(Date.now()/1e3/3600),l="WB"+iw().replaceAll("-","")+"-"+o;console.log("Registering new session id",l),window.localStorage.setItem(u,l),t(l)}()}),[]),e}(),{modalOpen:l,setModalOpen:i,modalContent:a}=E.useContext(Ii),s=window.self!==window.top,c="on"===r.hideBubble||s,{callPing:f,isFullScreen:g,setIsFullScreen:v}=X2();if(E.useEffect((()=>{("on"===r.openOnLoad||c)&&t(!0)}),[r.loaded]),!r.loaded)return null;r.position;const d=r.windowWidth??"448px",_=r.windowHeight?r.windowHeight:r.offsetBottom?`calc(85dvh - ${r.offsetBottom})`:"85dvh",S=r.sizeOpenButton,p=parseInt(S)+24,w="bottom-left"===r.position;return m.jsxs(m.Fragment,{children:[m.jsx(nw,{}),!c&&m.jsx(X6,{settings:r,isOpen:e,toggleBot:()=>{n&&u(!1),t(!e),e||f()},offsetBottom:r.offsetBottom}),m.jsx("div",{id:"animuz-embed-chat-container","data-fullscreen":g,"data-isIframe":s,"data-is-chat-open":e,style:{"--w-width":d,"--w-height":_,"--offset-bottom":r.offsetBottom||"0px","--bottom-offset":r.offsetBottom?`calc(${p}px + ${r.offsetBottom})`:`${p}px`,display:e?"block":"none"},className:"tw-xm tw-vd tw-n tw-o tw-q tw-wd tw-bm tw-f tw-ag tw-tm tw-uh tw-sa tw-oa tw-h tw-t tw-u tw-k tw-b tw-e tw-g tw-c tw-tc tw-hg "+(w?"tw-xj tw-gc":"tw-ki tw-cd"),children:m.jsx(ig,{isChatOpen:e,closeChat:()=>t(!1),settings:r,sessionId:o,callPing:f,isFullScreen:g,isIframe:s,toggleFullScreen:()=>v(!g)})}),!c&&n&&m.jsx("div",{id:"animuz-greeting-bubbles",className:"tw-hm tw-cm tw-ek tw-xm tw-nl tw-be tw-bm tw-zi tw-hd anm-group/greetings",onClick:()=>{u(!1),t(!0)},children:m.jsx(sw,{settings:r,toggleGreetingsShow:u})}),m.jsx(cw,{isOpen:l,onClose:()=>i(!1),children:a&&a})]})}),{})})})})}));const dd=Object.assign({},(null==(pd=null==document?void 0:document.currentScript)?void 0:pd.dataset)||{}),Wt={settings:dd,stylesSrc:function(e=null){try{const t=new URL(e);return t.pathname=t.pathname.replace("animuz-chat-widget.js","animuz-chat-widget.min.css").replace("animuz-chat-widget.min.js","animuz-chat-widget.min.css"),t.toString()}catch{return""}}(null==(hd=null==document?void 0:document.currentScript)?void 0:hd.src),USER_STYLES:{base:"tw-xc tw-fj"},ASSISTANT_STYLES:{base:"tw-wc tw-hj"}};console.log("This is script Settings ",dd),tt.embedderSettings=Wt,Object.defineProperty(tt,Symbol.toStringTag,{value:"Module"})}));
|
|
42
|
+
*/var ld=Object.getOwnPropertySymbols,Pg=Object.prototype.hasOwnProperty,Rg=Object.prototype.propertyIsEnumerable;var Hg=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(o){return t[o]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(o){r[o]=o})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch{return!1}}()?Object.assign:function(e,t){for(var n,r,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var l in n=Object(arguments[o]))Pg.call(n,l)&&(u[l]=n[l]);if(ld){r=ld(n);for(var i=0;i<r.length;i++)Rg.call(n,r[i])&&(u[r[i]]=n[r[i]])}}return u};const $g=ve(Hg);var Hn_BODY="bodyAttributes",Hn_HTML="htmlAttributes",Hn_TITLE="titleAttributes",H={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(H).map((function(e){return H[e]}));var t,n,u,ne_CHARSET="charset",ne_CSS_TEXT="cssText",ne_HREF="href",ne_HTTPEQUIV="http-equiv",ne_INNER_HTML="innerHTML",ne_ITEM_PROP="itemprop",ne_NAME="name",ne_PROPERTY="property",ne_REL="rel",ne_SRC="src",ne_TARGET="target",go={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Mr_DEFAULT_TITLE="defaultTitle",Mr_DEFER="defer",Mr_ENCODE_SPECIAL_CHARACTERS="encodeSpecialCharacters",Mr_ON_CHANGE_CLIENT_STATE="onChangeClientState",Mr_TITLE_TEMPLATE="titleTemplate",Bg=Object.keys(go).reduce((function(e,t){return e[go[t]]=t,e}),{}),Ug=[H.NOSCRIPT,H.SCRIPT,H.STYLE],_t="data-react-helmet",Vg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qg=function(){function e(t,n){for(var u=0;u<n.length;u++){var r=n[u];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,u){return n&&e(t.prototype,n),u&&e(t,u),t}}(),Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},id=function(e,t){var n={};for(var u in e)t.indexOf(u)>=0||Object.prototype.hasOwnProperty.call(e,u)&&(n[u]=e[u]);return n},ha=function(t){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},Qg=function(t){var n=_u(t,H.TITLE),u=_u(t,Mr_TITLE_TEMPLATE);if(u&&n)return u.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n}));var r=_u(t,Mr_DEFAULT_TITLE);return n||r||void 0},Yg=function(t){return _u(t,Mr_ON_CHANGE_CLIENT_STATE)||function(){}},ma=function(t,n){return n.filter((function(u){return typeof u[t]<"u"})).map((function(u){return u[t]})).reduce((function(u,r){return Be({},u,r)}),{})},Xg=function(t,n){return n.filter((function(u){return typeof u[H.BASE]<"u"})).map((function(u){return u[H.BASE]})).reverse().reduce((function(u,r){if(!u.length)for(var o=Object.keys(r),l=0;l<o.length;l++){var a=o[l].toLowerCase();if(-1!==t.indexOf(a)&&r[a])return u.concat(r)}return u}),[])},Lr=function(t,n,u){var r={};return u.filter((function(o){return!!Array.isArray(o[t])||(typeof o[t]<"u"&&tw("Helmet: "+t+' should be of type "Array". Instead found type "'+Vg(o[t])+'"'),!1)})).map((function(o){return o[t]})).reverse().reduce((function(o,l){var i={};l.filter((function(h){for(var w=void 0,m=Object.keys(h),x=0;x<m.length;x++){var S=m[x],y=S.toLowerCase();-1!==n.indexOf(y)&&!(w===ne_REL&&"canonical"===h[w].toLowerCase())&&!(y===ne_REL&&"stylesheet"===h[y].toLowerCase())&&(w=y),-1!==n.indexOf(S)&&(S===ne_INNER_HTML||S===ne_CSS_TEXT||S===ne_ITEM_PROP)&&(w=S)}if(!w||!h[w])return!1;var f=h[w].toLowerCase();return r[w]||(r[w]={}),i[w]||(i[w]={}),!r[w][f]&&(i[w][f]=!0,!0)})).reverse().forEach((function(h){return o.push(h)}));for(var a=Object.keys(i),s=0;s<a.length;s++){var c=a[s],d=$g({},r[c],i[c]);r[c]=d}return o}),[]).reverse()},_u=function(t,n){for(var u=t.length-1;u>=0;u--){var r=t[u];if(r.hasOwnProperty(n))return r[n]}return null},ga=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){ga(t)}),0)}}(),ad=function(t){return clearTimeout(t)},Jg=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ga:global.requestAnimationFrame||ga,ew=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ad:global.cancelAnimationFrame||ad,tw=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},jr=null,sd=function(t,n){var u=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,l=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.onChangeClientState,c=t.scriptTags,d=t.styleTags,h=t.title,w=t.titleAttributes;wa(H.BODY,r),wa(H.HTML,o),uw(h,w);var m={baseTag:Eu(H.BASE,u),linkTags:Eu(H.LINK,l),metaTags:Eu(H.META,i),noscriptTags:Eu(H.NOSCRIPT,a),scriptTags:Eu(H.SCRIPT,c),styleTags:Eu(H.STYLE,d)},x={},S={};Object.keys(m).forEach((function(y){var f=m[y],v=f.newTags,_=f.oldTags;v.length&&(x[y]=v),_.length&&(S[y]=m[y].oldTags)})),n&&n(),s(t,x,S)},cd=function(t){return Array.isArray(t)?t.join(""):t},uw=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=cd(t)),wa(H.TITLE,n)},wa=function(t,n){var u=document.getElementsByTagName(t)[0];if(u){for(var r=u.getAttribute(_t),o=r?r.split(","):[],l=[].concat(o),i=Object.keys(n),a=0;a<i.length;a++){var s=i[a],c=n[s]||"";u.getAttribute(s)!==c&&u.setAttribute(s,c),-1===o.indexOf(s)&&o.push(s);var d=l.indexOf(s);-1!==d&&l.splice(d,1)}for(var h=l.length-1;h>=0;h--)u.removeAttribute(l[h]);o.length===l.length?u.removeAttribute(_t):u.getAttribute(_t)!==i.join(",")&&u.setAttribute(_t,i.join(","))}},Eu=function(t,n){var u=document.head||document.querySelector(H.HEAD),r=u.querySelectorAll(t+"["+_t+"]"),o=Array.prototype.slice.call(r),l=[],i=void 0;return n&&n.length&&n.forEach((function(a){var s=document.createElement(t);for(var c in a)if(a.hasOwnProperty(c))if(c===ne_INNER_HTML)s.innerHTML=a.innerHTML;else if(c===ne_CSS_TEXT)s.styleSheet?s.styleSheet.cssText=a.cssText:s.appendChild(document.createTextNode(a.cssText));else{var d=typeof a[c]>"u"?"":a[c];s.setAttribute(c,d)}s.setAttribute(_t,"true"),o.some((function(h,w){return i=w,s.isEqualNode(h)}))?o.splice(i,1):l.push(s)})),o.forEach((function(a){return a.parentNode.removeChild(a)})),l.forEach((function(a){return u.appendChild(a)})),{oldTags:o,newTags:l}},fd=function(t){return Object.keys(t).reduce((function(n,u){var r=typeof t[u]<"u"?u+'="'+t[u]+'"':""+u;return n?n+" "+r:r}),"")},dd=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[go[r]||r]=t[r],u}),n)},Wt=function(t,n,u){switch(t){case H.TITLE:return{toComponent:function(){return function(t,n,u){var r,o=((r={key:n})[_t]=!0,r),l=dd(u,o);return[g.createElement(H.TITLE,l,n)]}(0,n.title,n.titleAttributes)},toString:function(){return function(t,n,u,r){var o=fd(u),l=cd(n);return o?"<"+t+" "+_t+'="true" '+o+">"+ha(l,r)+"</"+t+">":"<"+t+" "+_t+'="true">'+ha(l,r)+"</"+t+">"}(t,n.title,n.titleAttributes,u)}};case Hn_BODY:case Hn_HTML:return{toComponent:function(){return dd(n)},toString:function(){return fd(n)}};default:return{toComponent:function(){return function(t,n){return n.map((function(u,r){var o,l=((o={key:r})[_t]=!0,o);return Object.keys(u).forEach((function(i){var a=go[i]||i;if(a===ne_INNER_HTML||a===ne_CSS_TEXT){var s=u.innerHTML||u.cssText;l.dangerouslySetInnerHTML={__html:s}}else l[a]=u[i]})),g.createElement(t,l)}))}(t,n)},toString:function(){return function(t,n,u){return n.reduce((function(r,o){var l=Object.keys(o).filter((function(s){return!(s===ne_INNER_HTML||s===ne_CSS_TEXT)})).reduce((function(s,c){var d=typeof o[c]>"u"?c:c+'="'+ha(o[c],u)+'"';return s?s+" "+d:d}),""),i=o.innerHTML||o.cssText||"",a=-1===Ug.indexOf(t);return r+"<"+t+" "+_t+'="true" '+l+(a?"/>":">"+i+"</"+t+">")}),"")}(t,n,u)}}}},pd=function(t){var n=t.baseTag,u=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,l=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.scriptTags,c=t.styleTags,d=t.title,h=void 0===d?"":d,w=t.titleAttributes;return{base:Wt(H.BASE,n,r),bodyAttributes:Wt(Hn_BODY,u,r),htmlAttributes:Wt(Hn_HTML,o,r),link:Wt(H.LINK,l,r),meta:Wt(H.META,i,r),noscript:Wt(H.NOSCRIPT,a,r),script:Wt(H.SCRIPT,s,r),style:Wt(H.STYLE,c,r),title:Wt(H.TITLE,{title:h,titleAttributes:w},r)}},fw=Dg((function(t){return{baseTag:Xg([ne_HREF,ne_TARGET],t),bodyAttributes:ma(Hn_BODY,t),defer:_u(t,Mr_DEFER),encode:_u(t,Mr_ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ma(Hn_HTML,t),linkTags:Lr(H.LINK,[ne_REL,ne_HREF],t),metaTags:Lr(H.META,[ne_NAME,ne_CHARSET,ne_HTTPEQUIV,ne_PROPERTY,ne_ITEM_PROP],t),noscriptTags:Lr(H.NOSCRIPT,[ne_INNER_HTML],t),onChangeClientState:Yg(t),scriptTags:Lr(H.SCRIPT,[ne_SRC,ne_INNER_HTML],t),styleTags:Lr(H.STYLE,[ne_CSS_TEXT],t),title:Qg(t),titleAttributes:ma(Hn_TITLE,t)}}),(function(t){jr&&ew(jr),t.defer?jr=Jg((function(){sd(t,(function(){jr=null}))})):(sd(t),jr=null)}),pd)((function(){return null})),va=(t=fw,u=n=function(r){function o(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,r),o.prototype.shouldComponentUpdate=function(i){return!Og(this.props,i)},o.prototype.mapNestedChildrenToProps=function(i,a){if(!a)return null;switch(i.type){case H.SCRIPT:case H.NOSCRIPT:return{innerHTML:a};case H.STYLE:return{cssText:a}}throw new Error("<"+i.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},o.prototype.flattenArrayTypeChildren=function(i){var a,s=i.child,c=i.arrayTypeChildren,d=i.newChildProps,h=i.nestedChildren;return Be({},c,((a={})[s.type]=[].concat(c[s.type]||[],[Be({},d,this.mapNestedChildrenToProps(s,h))]),a))},o.prototype.mapObjectTypeChildren=function(i){var a,s,c=i.child,d=i.newProps,h=i.newChildProps,w=i.nestedChildren;switch(c.type){case H.TITLE:return Be({},d,((a={})[c.type]=w,a.titleAttributes=Be({},h),a));case H.BODY:return Be({},d,{bodyAttributes:Be({},h)});case H.HTML:return Be({},d,{htmlAttributes:Be({},h)})}return Be({},d,((s={})[c.type]=Be({},h),s))},o.prototype.mapArrayTypeChildrenToProps=function(i,a){var s=Be({},a);return Object.keys(i).forEach((function(c){var d;s=Be({},s,((d={})[c]=i[c],d))})),s},o.prototype.warnOnInvalidChildren=function(i,a){return!0},o.prototype.mapChildrenToProps=function(i,a){var s=this,c={};return g.Children.forEach(i,(function(d){if(d&&d.props){var h=d.props,w=h.children,x=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[Bg[r]||r]=t[r],u}),n)}(id(h,["children"]));switch(s.warnOnInvalidChildren(d,w),d.type){case H.LINK:case H.META:case H.NOSCRIPT:case H.SCRIPT:case H.STYLE:c=s.flattenArrayTypeChildren({child:d,arrayTypeChildren:c,newChildProps:x,nestedChildren:w});break;default:a=s.mapObjectTypeChildren({child:d,newProps:a,newChildProps:x,nestedChildren:w})}}})),a=this.mapArrayTypeChildrenToProps(c,a)},o.prototype.render=function(){var i=this.props,a=i.children,s=id(i,["children"]),c=Be({},s);return a&&(c=this.mapChildrenToProps(a,c)),g.createElement(t,c)},qg(o,null,[{key:"canUseDOM",set:function(i){t.canUseDOM=i}}]),o}(g.Component),n.propTypes={base:te.object,bodyAttributes:te.object,children:te.oneOfType([te.arrayOf(te.node),te.node]),defaultTitle:te.string,defer:te.bool,encodeSpecialCharacters:te.bool,htmlAttributes:te.object,link:te.arrayOf(te.object),meta:te.arrayOf(te.object),noscript:te.arrayOf(te.object),onChangeClientState:te.func,script:te.arrayOf(te.object),style:te.arrayOf(te.object),title:te.string,titleAttributes:te.object,titleTemplate:te.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var r=t.rewind();return r||(r=pd({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),r},u);function dw(){return p.jsxs(va,{children:[p.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"}),p.jsx("link",{rel:"stylesheet",href:Gt.stylesSrc})]})}va.renderStatic=va.rewind;for(var _e=[],ya=0;ya<256;++ya)_e.push((ya+256).toString(16).slice(1));var wo,hw=new Uint8Array(16);function mw(){if(!wo&&!(wo=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return wo(hw)}const hd={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ww(e,t,n){if(hd.randomUUID&&!t&&!e)return hd.randomUUID();var u=(e=e||{}).random||(e.rng||mw)();return u[6]=15&u[6]|64,u[8]=63&u[8]|128,function(e,t=0){return(_e[e[t+0]]+_e[e[t+1]]+_e[e[t+2]]+_e[e[t+3]]+"-"+_e[e[t+4]]+_e[e[t+5]]+"-"+_e[e[t+6]]+_e[e[t+7]]+"-"+_e[e[t+8]]+_e[e[t+9]]+"-"+_e[e[t+10]]+_e[e[t+11]]+_e[e[t+12]]+_e[e[t+13]]+_e[e[t+14]]+_e[e[t+15]]).toLowerCase()}(u)}function yw({settings:e,toggleGreetingsShow:t}){const[n,u]=E.useState([]);return E.useEffect((()=>{const r=e.greetings?JSON.parse(e.greetings):[];u(r),t(!0)}),[e]),p.jsxs(p.Fragment,{children:[p.jsx("button",{className:"tw-dk tw-ug tw-md tw-rn tw-rl tw-wi tw-ao tw-mj tw-m tw-od tw-vf tw-im tw-vm tw-fg tw-dm tw-kd tw-ki tw-um",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,o)=>p.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*o+"s"},className:"tw-ao tw-zg tw-ek tw-tj tw-km tw-kb tw-nf tw-gi tw-lq tw-fq tw-dm tw-mj tw-xl tw-d tw-yi",children:r},o)))]})}const xw=({isOpen:e,onClose:t,children:n})=>e?p.jsx("div",{className:"tw-fn tw-ao tw-ml tw-od tw-vf tw-bn tw-nm tw-pg tw-im",onClick:t,children:p.jsxs("div",{className:"tw-tk tw-ek tw-eh tw-bn tw-qk tw-sj tw-ia",onClick:u=>u.stopPropagation(),children:[p.jsx("button",{className:"tw-dk tw-sn tw-sl tw-zk tw-jd tw-ug tw-md tw-af tw-jb tw-wn",onClick:t,children:"×"}),n]})}):null;const vo=document.createElement("div");vo.id="animuz-chat-widget",vo.setAttribute("style","visibility:hidden;opacity:0;"),document.body.appendChild(vo),Do.createRoot(vo).render(p.jsx(g.StrictMode,{children:p.jsx((function({children:e}){const[t,n]=E.useState(!1),u=function(e,t){const n=E.useRef(Date.now());return function(){Date.now()-n.current>=t&&(e(),n.current=Date.now())}}((()=>{zf_ping()}),1e4),[r,o]=E.useState({"test-intent":[{role:"assistant",content:"This is a test response"},{role:"assistant",content:"Second message goes here"}],"Question Submit":[{role:"assistant",content:"This is a test response for Question Submit"}]}),[l,i]=E.useState("");return E.useEffect((()=>{function a(s){if(s.data&&"intentResponse"===s.data.type){if(!s.data.intent||!s.data.response)return void console.warn("Received intentResponse without intent or response");o((c=>(console.log("Updating intentResponse",{...c,[s.data.intent]:s.data.response}),{...c,[s.data.intent]:s.data.response})))}else if(s.data&&"promptInject"===s.data.type){if(!s.data.context)return void console.warn("Received promptInject without context");i(s.data.context)}}return window.addEventListener("message",a),()=>window.removeEventListener("message",a)}),[]),p.jsx(J2.Provider,{value:{isFullScreen:t,setIsFullScreen:n,intentResponse:r,setIntentResponse:o,promptInject:l,setPromptInject:i,callPing:u},children:e})}),{children:p.jsx((({children:e})=>{const t={onOpen:()=>console.log("i am open !"),onClose:()=>console.log("i am closed !"),protocols:["Client",Gt.settings.embedId],shouldReconnect:()=>{const C=Date.now()-c.current;return console.log(`shouldReconnect? ${C/1e3}s ago ${C<18e5}`),C<18e5},reconnectAttempts:5,reconnectInterval:5e3,heartbeat:{message:"ping",interval:4e4,timeout:3e5}},[n,u]=E.useState(null),[r,o]=E.useState(void 0),l=E.useMemo((()=>{if(n)try{return JSON.parse(n.data)}catch{return{}}return null}),[n]),i=E.useRef(null),a=E.useRef((()=>{})),s=E.useRef(0),c=E.useRef(Date.now()),d=E.useRef(Date.now()),h=E.useRef([]),w=E.useRef(t);w.current=t;const m=E.useRef(null),[x,S]=E.useState(!1),y=r||(!0===x?qt.CONNECTING:qt.UNINSTANTIATED),v=E.useCallback((()=>S(!1)),[]),_=E.useCallback(((C,A=!0)=>{var F;(null==(F=i.current)?void 0:F.readyState)===qt.OPEN?(console.log("Opened WebSocket>> sending!"),i.current.send(C)):A&&h.current.push(C)}),[]),k=E.useCallback(((C,A=!0)=>{console.log("Called sendJsonMessage",C),_(JSON.stringify(C),A)}),[_]);return E.useEffect((()=>{if(x){let C,A=!1,F=!0;const R=async()=>{F&&(C=ng(i,"wss://pn1o5spfd5.execute-api.ap-southeast-1.amazonaws.com/dev/",m.current,(de=>{A||Ri.flushSync((()=>o(de)))}),w,(de=>{A||Ri.flushSync((()=>u(de)))}),a,s,d,c))};return a.current=()=>{A||(null==C||C(),R())},R(),()=>{A=!0,F=!1,null==C||C(),u(null)}}s.current=0,o(qt.CLOSED),i.current&&i.current.close()}),[x,_]),E.useEffect((()=>{console.log("readyStateFromUrl",y," 0: CONNECTING, 1: OPEN, 2: CLOSING, 3: CLOSED"),y===qt.OPEN&&h.current.splice(0).forEach((C=>{_(C)}))}),[y]),p.jsx(Y2.Provider,{value:{connect:C=>{m.current=C,console.log("This is now sessionID",m.current),S(!0)},disconnect:v,sendMessage:_,sendJsonMessage:k,lastMessage:n,lastJsonMessage:l,readyState:y},children:e})}),{children:p.jsx((({children:e})=>{const[t,n]=E.useState(!1),[u,r]=E.useState(p.jsx("div",{children:"Hello world"}));return p.jsx(Ii.Provider,{value:{modalOpen:t,setModalOpen:n,modalContent:u,setModalContent:r,openModal:l=>{r(l),n(!0)}},children:e})}),{children:p.jsx((function(){const{isChatOpen:e,toggleOpenChat:t}=function(){var u;const[e,t]=E.useState(!(null==(u=null==window?void 0:window.localStorage)||!u.getItem(J0))||!1);return{isChatOpen:e,toggleOpenChat:function(r){!0===r&&window.localStorage.setItem(J0,"1"),!1===r&&window.localStorage.removeItem(J0),t(r)}}}(),{isGreetingsShow:n,toggleGreetingsShow:u}=U5(),r=function(){const[e,t]=E.useState({loaded:!1,...Q1});return E.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...Q1,...Gt.settings,...u};if(!r.embedId)throw new Error("[Animuz Embed Module::Abort] - Invalid script tag setup detected. Missing required parameters for boot!");t({...r,loaded:!0})}()}),[document]),e}(),o=function(){const[e,t]=E.useState("");return E.useEffect((()=>{!function(){if(!window||!Gt.settings.embedId)return;const u=`anm_${Gt.settings.embedId}_session_id`,r=window.localStorage.getItem(u);if(r)return console.log("Resuming session id",r),void t(r);const o=Math.floor(Date.now()/1e3/3600),l="WB"+ww().replaceAll("-","")+"-"+o;console.log("Registering new session id",l),window.localStorage.setItem(u,l),t(l)}()}),[]),e}(),{modalOpen:l,setModalOpen:i,modalContent:a}=E.useContext(Ii),s=window.self!==window.top,c="on"===r.hideBubble||s,{callPing:d,isFullScreen:h,setIsFullScreen:w}=ed();if(E.useEffect((()=>{("on"===r.openOnLoad||c)&&t(!0)}),[r.loaded]),!r.loaded)return null;r.position;const m=r.windowWidth??"448px",x=r.windowHeight?r.windowHeight:r.offsetBottom?`calc(85dvh - ${r.offsetBottom})`:"85dvh",S=r.sizeOpenButton,f=parseInt(S)+24,v="bottom-left"===r.position;return p.jsxs(p.Fragment,{children:[p.jsx(dw,{}),!c&&p.jsx(a4,{settings:r,isOpen:e,toggleBot:()=>{n&&u(!1),t(!e),e||d()},offsetBottom:r.offsetBottom}),p.jsx("div",{id:"animuz-embed-chat-container","data-fullscreen":h,"data-isIframe":s,"data-is-chat-open":e,style:{"--w-width":m,"--w-height":x,"--offset-bottom":r.offsetBottom||"0px","--bottom-offset":r.offsetBottom?`calc(${f}px + ${r.offsetBottom})`:`${f}px`,display:e?"block":"none"},className:"tw-fn tw-zd tw-n tw-o tw-r tw-ae tw-im tw-f tw-gg tw-bn tw-ai tw-va tw-sa tw-h tw-u tw-w tw-k tw-b tw-e tw-g tw-c tw-ad tw-ng "+(v?"tw-ck tw-lc":"tw-pi tw-id"),children:p.jsx(wg,{isChatOpen:e,closeChat:()=>t(!1),settings:r,sessionId:o,callPing:d,isFullScreen:h,isIframe:s,toggleFullScreen:()=>w(!h)})}),!c&&n&&p.jsx("div",{id:"animuz-greeting-bubbles",className:"tw-om tw-jm tw-jk tw-fn tw-ul tw-fe tw-im tw-dj tw-md anm-group/greetings",onClick:()=>{u(!1),t(!0)},children:p.jsx(yw,{settings:r,toggleGreetingsShow:u})}),p.jsx(xw,{isOpen:l,onClose:()=>i(!1),children:a&&a})]})}),{})})})})}));const md=Object.assign({},(null==(gd=null==document?void 0:document.currentScript)?void 0:gd.dataset)||{}),Gt={settings:md,stylesSrc:function(e=null){try{const t=new URL(e);return t.pathname=t.pathname.replace("animuz-chat-widget.js","animuz-chat-widget.min.css").replace("animuz-chat-widget.min.js","animuz-chat-widget.min.css"),t.toString()}catch{return""}}(null==(wd=null==document?void 0:document.currentScript)?void 0:wd.src),USER_STYLES:{base:"tw-dd tw-jj"},ASSISTANT_STYLES:{base:"tw-cd tw-lj"}};console.log("This is script Settings ",md),et.embedderSettings=Gt,Object.defineProperty(et,Symbol.toStringTag,{value:"Module"})}));
|