@platecms/delta-smart-text 0.1.0

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.
Files changed (38) hide show
  1. package/README.md +38 -0
  2. package/components/DeltaSlateEditor.vue.d.ts +23 -0
  3. package/index.cjs +960 -0
  4. package/index.css +1 -0
  5. package/index.d.ts +12 -0
  6. package/index.js +48186 -0
  7. package/package.json +59 -0
  8. package/react/components/DeltaSlateEditor.d.ts +6 -0
  9. package/react/components/DeltaSlateEditorConnector.d.ts +9 -0
  10. package/react/components/Element.d.ts +7 -0
  11. package/react/components/Leaf.d.ts +7 -0
  12. package/react/components/elements/CodeElement.d.ts +8 -0
  13. package/react/components/elements/ContentValueElement.d.ts +8 -0
  14. package/react/components/inputs/SearchInput.d.ts +5 -0
  15. package/react/components/menus/ContentAndFormatMenu.d.ts +4 -0
  16. package/react/components/menus/ContentLibraryMenu.d.ts +4 -0
  17. package/react/components/menus/ReusableContentMenu.d.ts +3 -0
  18. package/react/components/menus/content/ContentItemsMenu.d.ts +5 -0
  19. package/react/components/menus/content/ContentTypesMenu.d.ts +6 -0
  20. package/react/components/menus/content/partials/ContentFieldMenuItem.d.ts +6 -0
  21. package/react/components/menus/content/partials/ContentValueMenuItem.d.ts +7 -0
  22. package/react/components/menus/partials/MenuButton.d.ts +8 -0
  23. package/react/components/menus/partials/MenuContainer.d.ts +4 -0
  24. package/react/components/menus/partials/MenuHeader.d.ts +6 -0
  25. package/react/components/toolbar/Toolbar.d.ts +6 -0
  26. package/react/components/toolbar/ToolbarBlockButton.d.ts +13 -0
  27. package/react/components/toolbar/ToolbarHeadingDropdownButton.d.ts +2 -0
  28. package/react/components/toolbar/ToolbarMarkButton.d.ts +7 -0
  29. package/react/components/toolbar/content/ContentExtractToolbarButton.d.ts +2 -0
  30. package/react/components/toolbar/content/ContentLibraryToolbarButton.d.ts +5 -0
  31. package/react/components/toolbar/content/ContentToolbar.d.ts +4 -0
  32. package/react/config/hotkeys.d.ts +2 -0
  33. package/react/plugins/index.d.ts +3 -0
  34. package/react/store/editorSlice.d.ts +161 -0
  35. package/react/store/store.d.ts +5 -0
  36. package/react/types.d.ts +55 -0
  37. package/react/utils/decorator.d.ts +15 -0
  38. package/react/utils/index.d.ts +15 -0
package/index.cjs ADDED
@@ -0,0 +1,960 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X0=require("vue"),te=require("react"),Q2=require("react-dom");function $R(n){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const i in n)if(i!=="default"){const o=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(a,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}return a.default=n,Object.freeze(a)}function XR(n,a){for(var i=0;i<a.length;i++){const o=a[i];if(typeof o!="string"&&!Array.isArray(o)){for(const d in o)if(d!=="default"&&!(d in n)){const p=Object.getOwnPropertyDescriptor(o,d);p&&Object.defineProperty(n,d,p.get?p:{enumerable:!0,get:()=>o[d]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}const Vo=$R(te);var nc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function em(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Fb={exports:{}},f1={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var vw;function PR(){if(vw)return f1;vw=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(o,d,p){var b=null;if(p!==void 0&&(b=""+p),d.key!==void 0&&(b=""+d.key),"key"in d){p={};for(var E in d)E!=="key"&&(p[E]=d[E])}else p=d;return d=p.ref,{$$typeof:n,type:o,key:b,ref:d!==void 0?d:null,props:p}}return f1.Fragment=a,f1.jsx=i,f1.jsxs=i,f1}var d1={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var pw;function QR(){return pw||(pw=1,process.env.NODE_ENV!=="production"&&function(){function n(I){if(I==null)return null;if(typeof I=="function")return I.$$typeof===be?null:I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case K:return"Fragment";case q:return"Portal";case Ee:return"Profiler";case ie:return"StrictMode";case ke:return"Suspense";case je:return"SuspenseList"}if(typeof I=="object")switch(typeof I.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),I.$$typeof){case xe:return(I.displayName||"Context")+".Provider";case ue:return(I._context.displayName||"Context")+".Consumer";case ze:var rt=I.render;return I=I.displayName,I||(I=rt.displayName||rt.name||"",I=I!==""?"ForwardRef("+I+")":"ForwardRef"),I;case le:return rt=I.displayName||null,rt!==null?rt:n(I.type)||"Memo";case Ve:rt=I._payload,I=I._init;try{return n(I(rt))}catch{}}return null}function a(I){return""+I}function i(I){try{a(I);var rt=!1}catch{rt=!0}if(rt){rt=console;var ct=rt.error,kt=typeof Symbol=="function"&&Symbol.toStringTag&&I[Symbol.toStringTag]||I.constructor.name||"Object";return ct.call(rt,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",kt),a(I)}}function o(){}function d(){if(Ye===0){We=console.log,Q=console.info,Ue=console.warn,Ce=console.error,we=console.group,Ze=console.groupCollapsed,Ie=console.groupEnd;var I={configurable:!0,enumerable:!0,value:o,writable:!0};Object.defineProperties(console,{info:I,log:I,warn:I,error:I,group:I,groupCollapsed:I,groupEnd:I})}Ye++}function p(){if(Ye--,Ye===0){var I={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Se({},I,{value:We}),info:Se({},I,{value:Q}),warn:Se({},I,{value:Ue}),error:Se({},I,{value:Ce}),group:Se({},I,{value:we}),groupCollapsed:Se({},I,{value:Ze}),groupEnd:Se({},I,{value:Ie})})}0>Ye&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function b(I){if(Me===void 0)try{throw Error()}catch(ct){var rt=ct.stack.trim().match(/\n( *(at )?)/);Me=rt&&rt[1]||"",At=-1<ct.stack.indexOf(`
18
+ at`)?" (<anonymous>)":-1<ct.stack.indexOf("@")?"@unknown:0:0":""}return`
19
+ `+Me+I+At}function E(I,rt){if(!I||pt)return"";var ct=Lt.get(I);if(ct!==void 0)return ct;pt=!0,ct=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var kt=null;kt=qe.H,qe.H=null,d();try{var Ft={DetermineComponentFrameRoot:function(){try{if(rt){var pe=function(){throw Error()};if(Object.defineProperty(pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(pe,[])}catch(ut){var De=ut}Reflect.construct(I,[],pe)}else{try{pe.call()}catch(ut){De=ut}I.call(pe.prototype)}}else{try{throw Error()}catch(ut){De=ut}(pe=I())&&typeof pe.catch=="function"&&pe.catch(function(){})}}catch(ut){if(ut&&De&&typeof ut.stack=="string")return[ut.stack,De.stack]}return[null,null]}};Ft.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var Mt=Object.getOwnPropertyDescriptor(Ft.DetermineComponentFrameRoot,"name");Mt&&Mt.configurable&&Object.defineProperty(Ft.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var St=Ft.DetermineComponentFrameRoot(),rn=St[0],Un=St[1];if(rn&&Un){var jn=rn.split(`
20
+ `),Ln=Un.split(`
21
+ `);for(St=Mt=0;Mt<jn.length&&!jn[Mt].includes("DetermineComponentFrameRoot");)Mt++;for(;St<Ln.length&&!Ln[St].includes("DetermineComponentFrameRoot");)St++;if(Mt===jn.length||St===Ln.length)for(Mt=jn.length-1,St=Ln.length-1;1<=Mt&&0<=St&&jn[Mt]!==Ln[St];)St--;for(;1<=Mt&&0<=St;Mt--,St--)if(jn[Mt]!==Ln[St]){if(Mt!==1||St!==1)do if(Mt--,St--,0>St||jn[Mt]!==Ln[St]){var de=`
22
+ `+jn[Mt].replace(" at new "," at ");return I.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",I.displayName)),typeof I=="function"&&Lt.set(I,de),de}while(1<=Mt&&0<=St);break}}}finally{pt=!1,qe.H=kt,p(),Error.prepareStackTrace=ct}return jn=(jn=I?I.displayName||I.name:"")?b(jn):"",typeof I=="function"&&Lt.set(I,jn),jn}function C(I){if(I==null)return"";if(typeof I=="function"){var rt=I.prototype;return E(I,!(!rt||!rt.isReactComponent))}if(typeof I=="string")return b(I);switch(I){case ke:return b("Suspense");case je:return b("SuspenseList")}if(typeof I=="object")switch(I.$$typeof){case ze:return I=E(I.render,!1),I;case le:return C(I.type);case Ve:rt=I._payload,I=I._init;try{return C(I(rt))}catch{}}return""}function A(){var I=qe.A;return I===null?null:I.getOwner()}function O(I){if(oe.call(I,"key")){var rt=Object.getOwnPropertyDescriptor(I,"key").get;if(rt&&rt.isReactWarning)return!1}return I.key!==void 0}function R(I,rt){function ct(){xt||(xt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",rt))}ct.isReactWarning=!0,Object.defineProperty(I,"key",{get:ct,configurable:!0})}function N(){var I=n(this.type);return ln[I]||(ln[I]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),I=this.props.ref,I!==void 0?I:null}function z(I,rt,ct,kt,Ft,Mt){return ct=Mt.ref,I={$$typeof:V,type:I,key:rt,props:Mt,_owner:Ft},(ct!==void 0?ct:null)!==null?Object.defineProperty(I,"ref",{enumerable:!1,get:N}):Object.defineProperty(I,"ref",{enumerable:!1,value:null}),I._store={},Object.defineProperty(I._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(I,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(I.props),Object.freeze(I)),I}function U(I,rt,ct,kt,Ft,Mt){if(typeof I=="string"||typeof I=="function"||I===K||I===Ee||I===ie||I===ke||I===je||I===ne||typeof I=="object"&&I!==null&&(I.$$typeof===Ve||I.$$typeof===le||I.$$typeof===xe||I.$$typeof===ue||I.$$typeof===ze||I.$$typeof===Xe||I.getModuleId!==void 0)){var St=rt.children;if(St!==void 0)if(kt)if(Te(St)){for(kt=0;kt<St.length;kt++)F(St[kt],I);Object.freeze&&Object.freeze(St)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else F(St,I)}else St="",(I===void 0||typeof I=="object"&&I!==null&&Object.keys(I).length===0)&&(St+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),I===null?kt="null":Te(I)?kt="array":I!==void 0&&I.$$typeof===V?(kt="<"+(n(I.type)||"Unknown")+" />",St=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof I,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,St);if(oe.call(rt,"key")){St=n(I);var rn=Object.keys(rt).filter(function(jn){return jn!=="key"});kt=0<rn.length?"{key: someKey, "+rn.join(": ..., ")+": ...}":"{key: someKey}",Zt[St+kt]||(rn=0<rn.length?"{"+rn.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
23
+ let props = %s;
24
+ <%s {...props} />
25
+ React keys must be passed directly to JSX without using spread:
26
+ let props = %s;
27
+ <%s key={someKey} {...props} />`,kt,St,rn,St),Zt[St+kt]=!0)}if(St=null,ct!==void 0&&(i(ct),St=""+ct),O(rt)&&(i(rt.key),St=""+rt.key),"key"in rt){ct={};for(var Un in rt)Un!=="key"&&(ct[Un]=rt[Un])}else ct=rt;return St&&R(ct,typeof I=="function"?I.displayName||I.name||"Unknown":I),z(I,St,Mt,Ft,A(),ct)}function F(I,rt){if(typeof I=="object"&&I&&I.$$typeof!==sn){if(Te(I))for(var ct=0;ct<I.length;ct++){var kt=I[ct];x(kt)&&H(kt,rt)}else if(x(I))I._store&&(I._store.validated=1);else if(I===null||typeof I!="object"?ct=null:(ct=ve&&I[ve]||I["@@iterator"],ct=typeof ct=="function"?ct:null),typeof ct=="function"&&ct!==I.entries&&(ct=ct.call(I),ct!==I))for(;!(I=ct.next()).done;)x(I.value)&&H(I.value,rt)}}function x(I){return typeof I=="object"&&I!==null&&I.$$typeof===V}function H(I,rt){if(I._store&&!I._store.validated&&I.key==null&&(I._store.validated=1,rt=B(rt),!yn[rt])){yn[rt]=!0;var ct="";I&&I._owner!=null&&I._owner!==A()&&(ct=null,typeof I._owner.tag=="number"?ct=n(I._owner.type):typeof I._owner.name=="string"&&(ct=I._owner.name),ct=" It was passed a child from "+ct+".");var kt=qe.getCurrentStack;qe.getCurrentStack=function(){var Ft=C(I.type);return kt&&(Ft+=kt()||""),Ft},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',rt,ct),qe.getCurrentStack=kt}}function B(I){var rt="",ct=A();return ct&&(ct=n(ct.type))&&(rt=`
28
+
29
+ Check the render method of \``+ct+"`."),rt||(I=n(I))&&(rt=`
30
+
31
+ Check the top-level render call using <`+I+">."),rt}var _=te,V=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),Ee=Symbol.for("react.profiler"),ue=Symbol.for("react.consumer"),xe=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),je=Symbol.for("react.suspense_list"),le=Symbol.for("react.memo"),Ve=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),ve=Symbol.iterator,be=Symbol.for("react.client.reference"),qe=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=Object.prototype.hasOwnProperty,Se=Object.assign,Xe=Symbol.for("react.client.reference"),Te=Array.isArray,Ye=0,We,Q,Ue,Ce,we,Ze,Ie;o.__reactDisabledLog=!0;var Me,At,pt=!1,Lt=new(typeof WeakMap=="function"?WeakMap:Map),sn=Symbol.for("react.client.reference"),xt,ln={},Zt={},yn={};d1.Fragment=K,d1.jsx=function(I,rt,ct,kt,Ft){return U(I,rt,ct,!1,kt,Ft)},d1.jsxs=function(I,rt,ct,kt,Ft){return U(I,rt,ct,!0,kt,Ft)}}()),d1}var gw;function ZR(){return gw||(gw=1,process.env.NODE_ENV==="production"?Fb.exports=PR():Fb.exports=QR()),Fb.exports}var me=ZR();/*!
32
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
33
+ *
34
+ * Copyright (c) 2014-2017, Jon Schlinkert.
35
+ * Released under the MIT License.
36
+ */function yw(n){return Object.prototype.toString.call(n)==="[object Object]"}function Vu(n){var a,i;return yw(n)===!1?!1:(a=n.constructor,a===void 0?!0:(i=a.prototype,!(yw(i)===!1||i.hasOwnProperty("isPrototypeOf")===!1)))}var VO=Symbol.for("immer-nothing"),bw=Symbol.for("immer-draftable"),Yo=Symbol.for("immer-state"),WR=process.env.NODE_ENV!=="production"?[function(n){return`The plugin for '${n}' has not been loaded into Immer. To enable the plugin, import and call \`enable${n}()\` when initializing your application.`},function(n){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${n}'`},"This object has been frozen and should not be mutated",function(n){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(n){return`'current' expects a draft, got: ${n}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(n){return`'original' expects a draft, got: ${n}`}]:[];function Zl(n,...a){if(process.env.NODE_ENV!=="production"){const i=WR[n],o=typeof i=="function"?i.apply(null,a):i;throw new Error(`[Immer] ${o}`)}throw new Error(`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`)}var iy=Object.getPrototypeOf;function Lv(n){return!!n&&!!n[Yo]}function Wh(n){var a;return n?qO(n)||Array.isArray(n)||!!n[bw]||!!((a=n.constructor)!=null&&a[bw])||ND(n)||kD(n):!1}var IR=Object.prototype.constructor.toString();function qO(n){if(!n||typeof n!="object")return!1;const a=iy(n);if(a===null)return!0;const i=Object.hasOwnProperty.call(a,"constructor")&&a.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===IR}function hD(n,a){BD(n)===0?Reflect.ownKeys(n).forEach(i=>{a(i,n[i],n)}):n.forEach((i,o)=>a(o,i,n))}function BD(n){const a=n[Yo];return a?a.type_:Array.isArray(n)?1:ND(n)?2:kD(n)?3:0}function JS(n,a){return BD(n)===2?n.has(a):Object.prototype.hasOwnProperty.call(n,a)}function YO(n,a,i){const o=BD(n);o===2?n.set(a,i):o===3?n.add(i):n[a]=i}function KR(n,a){return n===a?n!==0||1/n===1/a:n!==n&&a!==a}function ND(n){return n instanceof Map}function kD(n){return n instanceof Set}function Tg(n){return n.copy_||n.base_}function e2(n,a){if(ND(n))return new Map(n);if(kD(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);const i=qO(n);if(a===!0||a==="class_only"&&!i){const o=Object.getOwnPropertyDescriptors(n);delete o[Yo];let d=Reflect.ownKeys(o);for(let p=0;p<d.length;p++){const b=d[p],E=o[b];E.writable===!1&&(E.writable=!0,E.configurable=!0),(E.get||E.set)&&(o[b]={configurable:!0,writable:!0,enumerable:E.enumerable,value:n[b]})}return Object.create(iy(n),o)}else{const o=iy(n);if(o!==null&&i)return{...n};const d=Object.create(o);return Object.assign(d,n)}}function Z2(n,a=!1){return MD(n)||Lv(n)||!Wh(n)||(BD(n)>1&&(n.set=n.add=n.clear=n.delete=JR),Object.freeze(n),a&&Object.entries(n).forEach(([i,o])=>Z2(o,!0))),n}function JR(){Zl(2)}function MD(n){return Object.isFrozen(n)}var eB={};function jg(n){const a=eB[n];return a||Zl(0,n),a}var T1;function GO(){return T1}function tB(n,a){return{drafts_:[],parent_:n,immer_:a,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Dw(n,a){a&&(jg("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=a)}function t2(n){n2(n),n.drafts_.forEach(nB),n.drafts_=null}function n2(n){n===T1&&(T1=n.parent_)}function Ew(n){return T1=tB(T1,n)}function nB(n){const a=n[Yo];a.type_===0||a.type_===1?a.revoke_():a.revoked_=!0}function Sw(n,a){a.unfinalizedDrafts_=a.drafts_.length;const i=a.drafts_[0];return n!==void 0&&n!==i?(i[Yo].modified_&&(t2(a),Zl(4)),Wh(n)&&(n=mD(a,n),a.parent_||vD(a,n)),a.patches_&&jg("Patches").generateReplacementPatches_(i[Yo].base_,n,a.patches_,a.inversePatches_)):n=mD(a,i,[]),t2(a),a.patches_&&a.patchListener_(a.patches_,a.inversePatches_),n!==VO?n:void 0}function mD(n,a,i){if(MD(a))return a;const o=a[Yo];if(!o)return hD(a,(d,p)=>Cw(n,o,a,d,p,i)),a;if(o.scope_!==n)return a;if(!o.modified_)return vD(n,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const d=o.copy_;let p=d,b=!1;o.type_===3&&(p=new Set(d),d.clear(),b=!0),hD(p,(E,C)=>Cw(n,o,d,E,C,i,b)),vD(n,d,!1),i&&n.patches_&&jg("Patches").generatePatches_(o,i,n.patches_,n.inversePatches_)}return o.copy_}function Cw(n,a,i,o,d,p,b){if(process.env.NODE_ENV!=="production"&&d===i&&Zl(5),Lv(d)){const E=p&&a&&a.type_!==3&&!JS(a.assigned_,o)?p.concat(o):void 0,C=mD(n,d,E);if(YO(i,o,C),Lv(C))n.canAutoFreeze_=!1;else return}else b&&i.add(d);if(Wh(d)&&!MD(d)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;mD(n,d),(!a||!a.scope_.parent_)&&typeof o!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,o)&&vD(n,d)}}function vD(n,a,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&Z2(a,i)}function aB(n,a){const i=Array.isArray(n),o={type_:i?1:0,scope_:a?a.scope_:GO(),modified_:!1,finalized_:!1,assigned_:{},parent_:a,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let d=o,p=W2;i&&(d=[o],p=O1);const{revoke:b,proxy:E}=Proxy.revocable(d,p);return o.draft_=E,o.revoke_=b,E}var W2={get(n,a){if(a===Yo)return n;const i=Tg(n);if(!JS(i,a))return rB(n,i,a);const o=i[a];return n.finalized_||!Wh(o)?o:o===KE(n.base_,a)?(JE(n),n.copy_[a]=r2(o,n)):o},has(n,a){return a in Tg(n)},ownKeys(n){return Reflect.ownKeys(Tg(n))},set(n,a,i){const o=$O(Tg(n),a);if(o!=null&&o.set)return o.set.call(n.draft_,i),!0;if(!n.modified_){const d=KE(Tg(n),a),p=d==null?void 0:d[Yo];if(p&&p.base_===i)return n.copy_[a]=i,n.assigned_[a]=!1,!0;if(KR(i,d)&&(i!==void 0||JS(n.base_,a)))return!0;JE(n),a2(n)}return n.copy_[a]===i&&(i!==void 0||a in n.copy_)||Number.isNaN(i)&&Number.isNaN(n.copy_[a])||(n.copy_[a]=i,n.assigned_[a]=!0),!0},deleteProperty(n,a){return KE(n.base_,a)!==void 0||a in n.base_?(n.assigned_[a]=!1,JE(n),a2(n)):delete n.assigned_[a],n.copy_&&delete n.copy_[a],!0},getOwnPropertyDescriptor(n,a){const i=Tg(n),o=Reflect.getOwnPropertyDescriptor(i,a);return o&&{writable:!0,configurable:n.type_!==1||a!=="length",enumerable:o.enumerable,value:i[a]}},defineProperty(){Zl(11)},getPrototypeOf(n){return iy(n.base_)},setPrototypeOf(){Zl(12)}},O1={};hD(W2,(n,a)=>{O1[n]=function(){return arguments[0]=arguments[0][0],a.apply(this,arguments)}});O1.deleteProperty=function(n,a){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(a))&&Zl(13),O1.set.call(this,n,a,void 0)};O1.set=function(n,a,i){return process.env.NODE_ENV!=="production"&&a!=="length"&&isNaN(parseInt(a))&&Zl(14),W2.set.call(this,n[0],a,i,n[0])};function KE(n,a){const i=n[Yo];return(i?Tg(i):n)[a]}function rB(n,a,i){var d;const o=$O(a,i);return o?"value"in o?o.value:(d=o.get)==null?void 0:d.call(n.draft_):void 0}function $O(n,a){if(!(a in n))return;let i=iy(n);for(;i;){const o=Object.getOwnPropertyDescriptor(i,a);if(o)return o;i=iy(i)}}function a2(n){n.modified_||(n.modified_=!0,n.parent_&&a2(n.parent_))}function JE(n){n.copy_||(n.copy_=e2(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var iB=class{constructor(n){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(a,i,o)=>{if(typeof a=="function"&&typeof i!="function"){const p=i;i=a;const b=this;return function(C=p,...A){return b.produce(C,O=>i.call(this,O,...A))}}typeof i!="function"&&Zl(6),o!==void 0&&typeof o!="function"&&Zl(7);let d;if(Wh(a)){const p=Ew(this),b=r2(a,void 0);let E=!0;try{d=i(b),E=!1}finally{E?t2(p):n2(p)}return Dw(p,o),Sw(d,p)}else if(!a||typeof a!="object"){if(d=i(a),d===void 0&&(d=a),d===VO&&(d=void 0),this.autoFreeze_&&Z2(d,!0),o){const p=[],b=[];jg("Patches").generateReplacementPatches_(a,d,p,b),o(p,b)}return d}else Zl(1,a)},this.produceWithPatches=(a,i)=>{if(typeof a=="function")return(b,...E)=>this.produceWithPatches(b,C=>a(C,...E));let o,d;return[this.produce(a,i,(b,E)=>{o=b,d=E}),o,d]},typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze),typeof(n==null?void 0:n.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(n.useStrictShallowCopy)}createDraft(n){Wh(n)||Zl(8),Lv(n)&&(n=uB(n));const a=Ew(this),i=r2(n,void 0);return i[Yo].isManual_=!0,n2(a),i}finishDraft(n,a){const i=n&&n[Yo];(!i||!i.isManual_)&&Zl(9);const{scope_:o}=i;return Dw(o,a),Sw(void 0,o)}setAutoFreeze(n){this.autoFreeze_=n}setUseStrictShallowCopy(n){this.useStrictShallowCopy_=n}applyPatches(n,a){let i;for(i=a.length-1;i>=0;i--){const d=a[i];if(d.path.length===0&&d.op==="replace"){n=d.value;break}}i>-1&&(a=a.slice(i+1));const o=jg("Patches").applyPatches_;return Lv(n)?o(n,a):this.produce(n,d=>o(d,a))}};function r2(n,a){const i=ND(n)?jg("MapSet").proxyMap_(n,a):kD(n)?jg("MapSet").proxySet_(n,a):aB(n,a);return(a?a.scope_:GO()).drafts_.push(i),i}function uB(n){return Lv(n)||Zl(10,n),XO(n)}function XO(n){if(!Wh(n)||MD(n))return n;const a=n[Yo];let i;if(a){if(!a.modified_)return a.base_;a.finalized_=!0,i=e2(n,a.scope_.immer_.useStrictShallowCopy_)}else i=e2(n,!0);return hD(i,(o,d)=>{YO(i,o,XO(d))}),a&&(a.finalized_=!1),i}var Go=new iB,H1=Go.produce;Go.produceWithPatches.bind(Go);Go.setAutoFreeze.bind(Go);Go.setUseStrictShallowCopy.bind(Go);Go.applyPatches.bind(Go);var Aw=Go.createDraft.bind(Go),ww=Go.finishDraft.bind(Go),lB={transform(n,a){var{current:i,affinity:o}=n;if(i!=null){var d=re.transform(i,a,{affinity:o});n.current=d,d==null&&n.unref()}}},oB={transform(n,a){var{current:i,affinity:o}=n;if(i!=null){var d=zn.transform(i,a,{affinity:o});n.current=d,d==null&&n.unref()}}},sB={transform(n,a){var{current:i,affinity:o}=n;if(i!=null){var d=Fe.transform(i,a,{affinity:o});n.current=d,d==null&&n.unref()}}},pD=new WeakMap,gD=new WeakMap,E1=new WeakMap,PO=new WeakMap,xw=new WeakMap,Tw=new WeakMap,Ow=new WeakMap,re={ancestors(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:i=!1}=a,o=re.levels(n,a);return i?o=o.slice(1):o=o.slice(0,-1),o},common(n,a){for(var i=[],o=0;o<n.length&&o<a.length;o++){var d=n[o],p=a[o];if(d!==p)break;i.push(d)}return i},compare(n,a){for(var i=Math.min(n.length,a.length),o=0;o<i;o++){if(n[o]<a[o])return-1;if(n[o]>a[o])return 1}return 0},endsAfter(n,a){var i=n.length-1,o=n.slice(0,i),d=a.slice(0,i),p=n[i],b=a[i];return re.equals(o,d)&&p>b},endsAt(n,a){var i=n.length,o=n.slice(0,i),d=a.slice(0,i);return re.equals(o,d)},endsBefore(n,a){var i=n.length-1,o=n.slice(0,i),d=a.slice(0,i),p=n[i],b=a[i];return re.equals(o,d)&&p<b},equals(n,a){return n.length===a.length&&n.every((i,o)=>i===a[o])},hasPrevious(n){return n[n.length-1]>0},isAfter(n,a){return re.compare(n,a)===1},isAncestor(n,a){return n.length<a.length&&re.compare(n,a)===0},isBefore(n,a){return re.compare(n,a)===-1},isChild(n,a){return n.length===a.length+1&&re.compare(n,a)===0},isCommon(n,a){return n.length<=a.length&&re.compare(n,a)===0},isDescendant(n,a){return n.length>a.length&&re.compare(n,a)===0},isParent(n,a){return n.length+1===a.length&&re.compare(n,a)===0},isPath(n){return Array.isArray(n)&&(n.length===0||typeof n[0]=="number")},isSibling(n,a){if(n.length!==a.length)return!1;var i=n.slice(0,-1),o=a.slice(0,-1),d=n[n.length-1],p=a[a.length-1];return d!==p&&re.equals(i,o)},levels(n){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:i=!1}=a,o=[],d=0;d<=n.length;d++)o.push(n.slice(0,d));return i&&o.reverse(),o},next(n){if(n.length===0)throw new Error("Cannot get the next path of a root path [".concat(n,"], because it has no next index."));var a=n[n.length-1];return n.slice(0,-1).concat(a+1)},operationCanTransformPath(n){switch(n.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(n){if(n.length===0)throw new Error("Cannot get the parent path of the root path [".concat(n,"]."));return n.slice(0,-1)},previous(n){if(n.length===0)throw new Error("Cannot get the previous path of a root path [".concat(n,"], because it has no previous index."));var a=n[n.length-1];if(a<=0)throw new Error("Cannot get the previous path of a first child path [".concat(n,"] because it would result in a negative index."));return n.slice(0,-1).concat(a-1)},relative(n,a){if(!re.isAncestor(a,n)&&!re.equals(n,a))throw new Error("Cannot get the relative path of [".concat(n,"] inside ancestor [").concat(a,"], because it is not above or equal to the path."));return n.slice(a.length)},transform(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!n)return null;var o=[...n],{affinity:d="forward"}=i;if(n.length===0)return o;switch(a.type){case"insert_node":{var{path:p}=a;(re.equals(p,o)||re.endsBefore(p,o)||re.isAncestor(p,o))&&(o[p.length-1]+=1);break}case"remove_node":{var{path:b}=a;if(re.equals(b,o)||re.isAncestor(b,o))return null;re.endsBefore(b,o)&&(o[b.length-1]-=1);break}case"merge_node":{var{path:E,position:C}=a;re.equals(E,o)||re.endsBefore(E,o)?o[E.length-1]-=1:re.isAncestor(E,o)&&(o[E.length-1]-=1,o[E.length]+=C);break}case"split_node":{var{path:A,position:O}=a;if(re.equals(A,o)){if(d==="forward")o[o.length-1]+=1;else if(d!=="backward")return null}else re.endsBefore(A,o)?o[A.length-1]+=1:re.isAncestor(A,o)&&n[A.length]>=O&&(o[A.length-1]+=1,o[A.length]-=O);break}case"move_node":{var{path:R,newPath:N}=a;if(re.equals(R,N))return o;if(re.isAncestor(R,o)||re.equals(R,o)){var z=N.slice();return re.endsBefore(R,N)&&R.length<N.length&&(z[R.length-1]-=1),z.concat(o.slice(R.length))}else re.isSibling(R,N)&&(re.isAncestor(N,o)||re.equals(N,o))?re.endsBefore(R,o)?o[R.length-1]-=1:o[R.length-1]+=1:re.endsBefore(N,o)||re.equals(N,o)||re.isAncestor(N,o)?(re.endsBefore(R,o)&&(o[R.length-1]-=1),o[N.length-1]+=1):re.endsBefore(R,o)&&(re.equals(N,o)&&(o[N.length-1]+=1),o[R.length-1]-=1);break}}return o}};function R1(n){"@babel/helpers - typeof";return R1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},R1(n)}function cB(n,a){if(R1(n)!=="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,a);if(R1(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function fB(n){var a=cB(n,"string");return R1(a)==="symbol"?a:String(a)}function yl(n,a,i){return a=fB(a),a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function Rw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function h1(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Rw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Rw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var dB=(n,a,i)=>{switch(i.type){case"insert_node":{var{path:o,node:d}=i,p=st.parent(n,o),b=o[o.length-1];if(b>p.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(o,"] because the destination is past the end of the node."));if(p.children.splice(b,0,d),a)for(var[E,C]of Fe.points(a))a[C]=zn.transform(E,i);break}case"insert_text":{var{path:A,offset:O,text:R}=i;if(R.length===0)break;var N=st.leaf(n,A),z=N.text.slice(0,O),U=N.text.slice(O);if(N.text=z+R+U,a)for(var[F,x]of Fe.points(a))a[x]=zn.transform(F,i);break}case"merge_node":{var{path:H}=i,B=st.get(n,H),_=re.previous(H),V=st.get(n,_),q=st.parent(n,H),K=H[H.length-1];if(_t.isText(B)&&_t.isText(V))V.text+=B.text;else if(!_t.isText(B)&&!_t.isText(V))V.children.push(...B.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(H,"] to nodes of different interfaces: ").concat(Gi.stringify(B)," ").concat(Gi.stringify(V)));if(q.children.splice(K,1),a)for(var[ie,Ee]of Fe.points(a))a[Ee]=zn.transform(ie,i);break}case"move_node":{var{path:ue,newPath:xe}=i;if(re.isAncestor(ue,xe))throw new Error("Cannot move a path [".concat(ue,"] to new path [").concat(xe,"] because the destination is inside itself."));var ze=st.get(n,ue),ke=st.parent(n,ue),je=ue[ue.length-1];ke.children.splice(je,1);var le=re.transform(ue,i),Ve=st.get(n,re.parent(le)),ne=le[le.length-1];if(Ve.children.splice(ne,0,ze),a)for(var[ve,be]of Fe.points(a))a[be]=zn.transform(ve,i);break}case"remove_node":{var{path:qe}=i,oe=qe[qe.length-1],Se=st.parent(n,qe);if(Se.children.splice(oe,1),a)for(var[Xe,Te]of Fe.points(a)){var Ye=zn.transform(Xe,i);if(a!=null&&Ye!=null)a[Te]=Ye;else{var We=void 0,Q=void 0;for(var[Ue,Ce]of st.texts(n))if(re.compare(Ce,qe)===-1)We=[Ue,Ce];else{Q=[Ue,Ce];break}var we=!1;We&&Q&&(re.equals(Q[1],qe)?we=!re.hasPrevious(Q[1]):we=re.common(We[1],qe).length<re.common(Q[1],qe).length),We&&!we?(Xe.path=We[1],Xe.offset=We[0].text.length):Q?(Xe.path=Q[1],Xe.offset=0):a=null}}break}case"remove_text":{var{path:Ze,offset:Ie,text:Me}=i;if(Me.length===0)break;var At=st.leaf(n,Ze),pt=At.text.slice(0,Ie),Lt=At.text.slice(Ie+Me.length);if(At.text=pt+Lt,a)for(var[sn,xt]of Fe.points(a))a[xt]=zn.transform(sn,i);break}case"set_node":{var{path:ln,properties:Zt,newProperties:yn}=i;if(ln.length===0)throw new Error("Cannot set properties on the root node!");var I=st.get(n,ln);for(var rt in yn){if(rt==="children"||rt==="text")throw new Error('Cannot set the "'.concat(rt,'" property of nodes!'));var ct=yn[rt];ct==null?delete I[rt]:I[rt]=ct}for(var kt in Zt)yn.hasOwnProperty(kt)||delete I[kt];break}case"set_selection":{var{newProperties:Ft}=i;if(Ft==null)a=Ft;else{if(a==null){if(!Fe.isRange(Ft))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(Gi.stringify(Ft)," when there is no current selection."));a=h1({},Ft)}for(var Mt in Ft){var St=Ft[Mt];if(St==null){if(Mt==="anchor"||Mt==="focus")throw new Error('Cannot remove the "'.concat(Mt,'" selection property'));delete a[Mt]}else a[Mt]=St}}break}case"split_node":{var{path:rn,position:Un,properties:jn}=i;if(rn.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(rn,"] because the root node cannot be split."));var Ln=st.get(n,rn),de=st.parent(n,rn),pe=rn[rn.length-1],De;if(_t.isText(Ln)){var ut=Ln.text.slice(0,Un),Tt=Ln.text.slice(Un);Ln.text=ut,De=h1(h1({},jn),{},{text:Tt})}else{var un=Ln.children.slice(0,Un),In=Ln.children.slice(Un);Ln.children=un,De=h1(h1({},jn),{},{children:In})}if(de.children.splice(pe+1,0,De),a)for(var[It,ft]of Fe.points(a))a[ft]=zn.transform(It,i);break}}return a},hB={transform(n,a){n.children=Aw(n.children);var i=n.selection&&Aw(n.selection);try{i=dB(n,i,a)}finally{n.children=ww(n.children),i?n.selection=Lv(i)?ww(i):i:n.selection=null}}},mB={insertNodes(n,a,i){n.insertNodes(a,i)},liftNodes(n,a){n.liftNodes(a)},mergeNodes(n,a){n.mergeNodes(a)},moveNodes(n,a){n.moveNodes(a)},removeNodes(n,a){n.removeNodes(a)},setNodes(n,a,i){n.setNodes(a,i)},splitNodes(n,a){n.splitNodes(a)},unsetNodes(n,a,i){n.unsetNodes(a,i)},unwrapNodes(n,a){n.unwrapNodes(a)},wrapNodes(n,a,i){n.wrapNodes(a,i)}},vB={collapse(n,a){n.collapse(a)},deselect(n){n.deselect()},move(n,a){n.move(a)},select(n,a){n.select(a)},setPoint(n,a,i){n.setPoint(a,i)},setSelection(n,a){n.setSelection(a)}},QO=(n,a)=>{for(var i in n){var o=n[i],d=a[i];if(Vu(o)&&Vu(d)){if(!QO(o,d))return!1}else if(Array.isArray(o)&&Array.isArray(d)){if(o.length!==d.length)return!1;for(var p=0;p<o.length;p++)if(o[p]!==d[p])return!1}else if(o!==d)return!1}for(var b in a)if(n[b]===void 0&&a[b]!==void 0)return!1;return!0};function pB(n,a){if(n==null)return{};var i={},o=Object.keys(n),d,p;for(p=0;p<o.length;p++)d=o[p],!(a.indexOf(d)>=0)&&(i[d]=n[d]);return i}function Ih(n,a){if(n==null)return{};var i=pB(n,a),o,d;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);for(d=0;d<p.length;d++)o=p[d],!(a.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(i[o]=n[o])}return i}var gB=["anchor","focus"];function Bw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function yB(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Bw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Bw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var Fe={edges(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:i=!1}=a,{anchor:o,focus:d}=n;return Fe.isBackward(n)===i?[o,d]:[d,o]},end(n){var[,a]=Fe.edges(n);return a},equals(n,a){return zn.equals(n.anchor,a.anchor)&&zn.equals(n.focus,a.focus)},surrounds(n,a){var i=Fe.intersection(n,a);return i?Fe.equals(i,a):!1},includes(n,a){if(Fe.isRange(a)){if(Fe.includes(n,a.anchor)||Fe.includes(n,a.focus))return!0;var[i,o]=Fe.edges(n),[d,p]=Fe.edges(a);return zn.isBefore(i,d)&&zn.isAfter(o,p)}var[b,E]=Fe.edges(n),C=!1,A=!1;return zn.isPoint(a)?(C=zn.compare(a,b)>=0,A=zn.compare(a,E)<=0):(C=re.compare(a,b.path)>=0,A=re.compare(a,E.path)<=0),C&&A},intersection(n,a){var i=Ih(n,gB),[o,d]=Fe.edges(n),[p,b]=Fe.edges(a),E=zn.isBefore(o,p)?p:o,C=zn.isBefore(d,b)?d:b;return zn.isBefore(C,E)?null:yB({anchor:E,focus:C},i)},isBackward(n){var{anchor:a,focus:i}=n;return zn.isAfter(a,i)},isCollapsed(n){var{anchor:a,focus:i}=n;return zn.equals(a,i)},isExpanded(n){return!Fe.isCollapsed(n)},isForward(n){return!Fe.isBackward(n)},isRange(n){return Vu(n)&&zn.isPoint(n.anchor)&&zn.isPoint(n.focus)},*points(n){yield[n.anchor,"anchor"],yield[n.focus,"focus"]},start(n){var[a]=Fe.edges(n);return a},transform(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return H1(n,o=>{if(o===null)return null;var{affinity:d="inward"}=i,p,b;if(d==="inward"){var E=Fe.isCollapsed(o);Fe.isForward(o)?(p="forward",b=E?p:"backward"):(p="backward",b=E?p:"forward")}else d==="outward"?Fe.isForward(o)?(p="backward",b="forward"):(p="forward",b="backward"):(p=d,b=d);var C=zn.transform(o.anchor,a,{affinity:p}),A=zn.transform(o.focus,a,{affinity:b});if(!C||!A)return null;o.anchor=C,o.focus=A})}},Nw=n=>Vu(n)&&st.isNodeList(n.children)&&!L.isEditor(n),Ot={isAncestor(n){return Vu(n)&&st.isNodeList(n.children)},isElement:Nw,isElementList(n){return Array.isArray(n)&&n.every(a=>Ot.isElement(a))},isElementProps(n){return n.children!==void 0},isElementType:function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return Nw(a)&&a[o]===i},matches(n,a){for(var i in a)if(i!=="children"&&n[i]!==a[i])return!1;return!0}},bB=["children"],DB=["text"],kw=new WeakMap,st={ancestor(n,a){var i=st.get(n,a);if(_t.isText(i))throw new Error("Cannot get the ancestor node at path [".concat(a,"] because it refers to a text node instead: ").concat(Gi.stringify(i)));return i},ancestors(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return function*(){for(var o of re.ancestors(a,i)){var d=st.ancestor(n,o),p=[d,o];yield p}}()},child(n,a){if(_t.isText(n))throw new Error("Cannot get the child of a text node: ".concat(Gi.stringify(n)));var i=n.children[a];if(i==null)throw new Error("Cannot get child at index `".concat(a,"` in node: ").concat(Gi.stringify(n)));return i},children(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return function*(){for(var{reverse:o=!1}=i,d=st.ancestor(n,a),{children:p}=d,b=o?p.length-1:0;o?b>=0:b<p.length;){var E=st.child(d,b),C=a.concat(b);yield[E,C],b=o?b-1:b+1}}()},common(n,a,i){var o=re.common(a,i),d=st.get(n,o);return[d,o]},descendant(n,a){var i=st.get(n,a);if(L.isEditor(i))throw new Error("Cannot get the descendant node at path [".concat(a,"] because it refers to the root editor node instead: ").concat(Gi.stringify(i)));return i},descendants(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){for(var[i,o]of st.nodes(n,a))o.length!==0&&(yield[i,o])}()},elements(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){for(var[i,o]of st.nodes(n,a))Ot.isElement(i)&&(yield[i,o])}()},extractProps(n){if(Ot.isAncestor(n)){var a=Ih(n,bB);return a}else{var a=Ih(n,DB);return a}},first(n,a){for(var i=a.slice(),o=st.get(n,i);o&&!(_t.isText(o)||o.children.length===0);)o=o.children[0],i.push(0);return[o,i]},fragment(n,a){if(_t.isText(n))throw new Error("Cannot get a fragment starting from a root text node: ".concat(Gi.stringify(n)));var i=H1({children:n.children},o=>{var[d,p]=Fe.edges(a),b=st.nodes(o,{reverse:!0,pass:N=>{var[,z]=N;return!Fe.includes(a,z)}});for(var[,E]of b){if(!Fe.includes(a,E)){var C=st.parent(o,E),A=E[E.length-1];C.children.splice(A,1)}if(re.equals(E,p.path)){var O=st.leaf(o,E);O.text=O.text.slice(0,p.offset)}if(re.equals(E,d.path)){var R=st.leaf(o,E);R.text=R.text.slice(d.offset)}}L.isEditor(o)&&(o.selection=null)});return i.children},get(n,a){var i=st.getIf(n,a);if(i===void 0)throw new Error("Cannot find a descendant at path [".concat(a,"] in node: ").concat(Gi.stringify(n)));return i},getIf(n,a){for(var i=n,o=0;o<a.length;o++){var d=a[o];if(_t.isText(i)||!i.children[d])return;i=i.children[d]}return i},has(n,a){for(var i=n,o=0;o<a.length;o++){var d=a[o];if(_t.isText(i)||!i.children[d])return!1;i=i.children[d]}return!0},isNode(n){return _t.isText(n)||Ot.isElement(n)||L.isEditor(n)},isNodeList(n){if(!Array.isArray(n))return!1;var a=kw.get(n);if(a!==void 0)return a;var i=n.every(o=>st.isNode(o));return kw.set(n,i),i},last(n,a){for(var i=a.slice(),o=st.get(n,i);o&&!(_t.isText(o)||o.children.length===0);){var d=o.children.length-1;o=o.children[d],i.push(d)}return[o,i]},leaf(n,a){var i=st.get(n,a);if(!_t.isText(i))throw new Error("Cannot get the leaf node at path [".concat(a,"] because it refers to a non-leaf node: ").concat(Gi.stringify(i)));return i},levels(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return function*(){for(var o of re.levels(a,i)){var d=st.get(n,o);yield[d,o]}}()},matches(n,a){return Ot.isElement(n)&&Ot.isElementProps(a)&&Ot.matches(n,a)||_t.isText(n)&&_t.isTextProps(a)&&_t.matches(n,a)},nodes(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){for(var{pass:i,reverse:o=!1}=a,{from:d=[],to:p}=a,b=new Set,E=[],C=n;!(p&&(o?re.isBefore(E,p):re.isAfter(E,p)));){if(b.has(C)||(yield[C,E]),!b.has(C)&&!_t.isText(C)&&C.children.length!==0&&(i==null||i([C,E])===!1)){b.add(C);var A=o?C.children.length-1:0;re.isAncestor(E,d)&&(A=d[E.length]),E=E.concat(A),C=st.get(n,E);continue}if(E.length===0)break;if(!o){var O=re.next(E);if(st.has(n,O)){E=O,C=st.get(n,E);continue}}if(o&&E[E.length-1]!==0){var R=re.previous(E);E=R,C=st.get(n,E);continue}E=re.parent(E),C=st.get(n,E),b.add(C)}}()},parent(n,a){var i=re.parent(a),o=st.get(n,i);if(_t.isText(o))throw new Error("Cannot get the parent of path [".concat(a,"] because it does not exist in the root."));return o},string(n){return _t.isText(n)?n.text:n.children.map(st.string).join("")},texts(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){for(var[i,o]of st.nodes(n,a))_t.isText(i)&&(yield[i,o])}()}};function Mw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function sr(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Mw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Mw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var p1={isNodeOperation(n){return p1.isOperation(n)&&n.type.endsWith("_node")},isOperation(n){if(!Vu(n))return!1;switch(n.type){case"insert_node":return re.isPath(n.path)&&st.isNode(n.node);case"insert_text":return typeof n.offset=="number"&&typeof n.text=="string"&&re.isPath(n.path);case"merge_node":return typeof n.position=="number"&&re.isPath(n.path)&&Vu(n.properties);case"move_node":return re.isPath(n.path)&&re.isPath(n.newPath);case"remove_node":return re.isPath(n.path)&&st.isNode(n.node);case"remove_text":return typeof n.offset=="number"&&typeof n.text=="string"&&re.isPath(n.path);case"set_node":return re.isPath(n.path)&&Vu(n.properties)&&Vu(n.newProperties);case"set_selection":return n.properties===null&&Fe.isRange(n.newProperties)||n.newProperties===null&&Fe.isRange(n.properties)||Vu(n.properties)&&Vu(n.newProperties);case"split_node":return re.isPath(n.path)&&typeof n.position=="number"&&Vu(n.properties);default:return!1}},isOperationList(n){return Array.isArray(n)&&n.every(a=>p1.isOperation(a))},isSelectionOperation(n){return p1.isOperation(n)&&n.type.endsWith("_selection")},isTextOperation(n){return p1.isOperation(n)&&n.type.endsWith("_text")},inverse(n){switch(n.type){case"insert_node":return sr(sr({},n),{},{type:"remove_node"});case"insert_text":return sr(sr({},n),{},{type:"remove_text"});case"merge_node":return sr(sr({},n),{},{type:"split_node",path:re.previous(n.path)});case"move_node":{var{newPath:a,path:i}=n;if(re.equals(a,i))return n;if(re.isSibling(i,a))return sr(sr({},n),{},{path:a,newPath:i});var o=re.transform(i,n),d=re.transform(re.next(i),n);return sr(sr({},n),{},{path:o,newPath:d})}case"remove_node":return sr(sr({},n),{},{type:"insert_node"});case"remove_text":return sr(sr({},n),{},{type:"insert_text"});case"set_node":{var{properties:p,newProperties:b}=n;return sr(sr({},n),{},{properties:b,newProperties:p})}case"set_selection":{var{properties:E,newProperties:C}=n;return E==null?sr(sr({},n),{},{properties:C,newProperties:null}):C==null?sr(sr({},n),{},{properties:null,newProperties:E}):sr(sr({},n),{},{properties:C,newProperties:E})}case"split_node":return sr(sr({},n),{},{type:"merge_node",path:re.next(n.path)})}}},_w=new WeakMap,EB=n=>{var a=_w.get(n);if(a!==void 0)return a;if(!Vu(n))return!1;var i=typeof n.addMark=="function"&&typeof n.apply=="function"&&typeof n.deleteFragment=="function"&&typeof n.insertBreak=="function"&&typeof n.insertSoftBreak=="function"&&typeof n.insertFragment=="function"&&typeof n.insertNode=="function"&&typeof n.insertText=="function"&&typeof n.isElementReadOnly=="function"&&typeof n.isInline=="function"&&typeof n.isSelectable=="function"&&typeof n.isVoid=="function"&&typeof n.normalizeNode=="function"&&typeof n.onChange=="function"&&typeof n.removeMark=="function"&&typeof n.getDirtyPaths=="function"&&(n.marks===null||Vu(n.marks))&&(n.selection===null||Fe.isRange(n.selection))&&st.isNodeList(n.children)&&p1.isOperationList(n.operations);return _w.set(n,i),i},L={above(n,a){return n.above(a)},addMark(n,a,i){n.addMark(a,i)},after(n,a,i){return n.after(a,i)},before(n,a,i){return n.before(a,i)},deleteBackward(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:i="character"}=a;n.deleteBackward(i)},deleteForward(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:i="character"}=a;n.deleteForward(i)},deleteFragment(n,a){n.deleteFragment(a)},edges(n,a){return n.edges(a)},elementReadOnly(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n.elementReadOnly(a)},end(n,a){return n.end(a)},first(n,a){return n.first(a)},fragment(n,a){return n.fragment(a)},hasBlocks(n,a){return n.hasBlocks(a)},hasInlines(n,a){return n.hasInlines(a)},hasPath(n,a){return n.hasPath(a)},hasTexts(n,a){return n.hasTexts(a)},insertBreak(n){n.insertBreak()},insertFragment(n,a,i){n.insertFragment(a,i)},insertNode(n,a){n.insertNode(a)},insertSoftBreak(n){n.insertSoftBreak()},insertText(n,a){n.insertText(a)},isBlock(n,a){return n.isBlock(a)},isEdge(n,a,i){return n.isEdge(a,i)},isEditor(n){return EB(n)},isElementReadOnly(n,a){return n.isElementReadOnly(a)},isEmpty(n,a){return n.isEmpty(a)},isEnd(n,a,i){return n.isEnd(a,i)},isInline(n,a){return n.isInline(a)},isNormalizing(n){return n.isNormalizing()},isSelectable(n,a){return n.isSelectable(a)},isStart(n,a,i){return n.isStart(a,i)},isVoid(n,a){return n.isVoid(a)},last(n,a){return n.last(a)},leaf(n,a,i){return n.leaf(a,i)},levels(n,a){return n.levels(a)},marks(n){return n.getMarks()},next(n,a){return n.next(a)},node(n,a,i){return n.node(a,i)},nodes(n,a){return n.nodes(a)},normalize(n,a){n.normalize(a)},parent(n,a,i){return n.parent(a,i)},path(n,a,i){return n.path(a,i)},pathRef(n,a,i){return n.pathRef(a,i)},pathRefs(n){return n.pathRefs()},point(n,a,i){return n.point(a,i)},pointRef(n,a,i){return n.pointRef(a,i)},pointRefs(n){return n.pointRefs()},positions(n,a){return n.positions(a)},previous(n,a){return n.previous(a)},range(n,a,i){return n.range(a,i)},rangeRef(n,a,i){return n.rangeRef(a,i)},rangeRefs(n){return n.rangeRefs()},removeMark(n,a){n.removeMark(a)},setNormalizing(n,a){n.setNormalizing(a)},start(n,a){return n.start(a)},string(n,a,i){return n.string(a,i)},unhangRange(n,a,i){return n.unhangRange(a,i)},void(n,a){return n.void(a)},withoutNormalizing(n,a){n.withoutNormalizing(a)},shouldMergeNodesRemovePrevNode:(n,a,i)=>n.shouldMergeNodesRemovePrevNode(a,i)},SB={isSpan(n){return Array.isArray(n)&&n.length===2&&n.every(re.isPath)}};function Fw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function zw(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Fw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Fw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var zn={compare(n,a){var i=re.compare(n.path,a.path);return i===0?n.offset<a.offset?-1:n.offset>a.offset?1:0:i},isAfter(n,a){return zn.compare(n,a)===1},isBefore(n,a){return zn.compare(n,a)===-1},equals(n,a){return n.offset===a.offset&&re.equals(n.path,a.path)},isPoint(n){return Vu(n)&&typeof n.offset=="number"&&re.isPath(n.path)},transform(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return H1(n,o=>{if(o===null)return null;var{affinity:d="forward"}=i,{path:p,offset:b}=o;switch(a.type){case"insert_node":case"move_node":{o.path=re.transform(p,a,i);break}case"insert_text":{re.equals(a.path,p)&&(a.offset<b||a.offset===b&&d==="forward")&&(o.offset+=a.text.length);break}case"merge_node":{re.equals(a.path,p)&&(o.offset+=a.position),o.path=re.transform(p,a,i);break}case"remove_text":{re.equals(a.path,p)&&a.offset<=b&&(o.offset-=Math.min(b-a.offset,a.text.length));break}case"remove_node":{if(re.equals(a.path,p)||re.isAncestor(a.path,p))return null;o.path=re.transform(p,a,i);break}case"split_node":{if(re.equals(a.path,p)){if(a.position===b&&d==null)return null;(a.position<b||a.position===b&&d==="forward")&&(o.offset-=a.position,o.path=re.transform(p,a,zw(zw({},i),{},{affinity:"forward"})))}else o.path=re.transform(p,a,i);break}}})}},Uw=void 0,Gi={setScrubber(n){Uw=n},stringify(n){return JSON.stringify(n,Uw)}},CB=["text"],AB=["anchor","focus","merge"];function jw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function Ph(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?jw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):jw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var _t={equals(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:o=!1}=i;function d(p){var b=Ih(p,CB);return b}return QO(o?d(n):n,o?d(a):a)},isText(n){return Vu(n)&&typeof n.text=="string"},isTextList(n){return Array.isArray(n)&&n.every(a=>_t.isText(a))},isTextProps(n){return n.text!==void 0},matches(n,a){for(var i in a)if(i!=="text"&&(!n.hasOwnProperty(i)||n[i]!==a[i]))return!1;return!0},decorations(n,a){var i=[Ph({},n)];for(var o of a){var{anchor:d,focus:p,merge:b}=o,E=Ih(o,AB),[C,A]=Fe.edges(o),O=[],R=0,N=C.offset,z=A.offset,U=b??Object.assign;for(var F of i){var{length:x}=F.text,H=R;if(R+=x,N<=H&&R<=z){U(F,E),O.push(F);continue}if(N!==z&&(N===R||z===H)||N>R||z<H||z===H&&H!==0){O.push(F);continue}var B=F,_=void 0,V=void 0;if(z<R){var q=z-H;V=Ph(Ph({},B),{},{text:B.text.slice(q)}),B=Ph(Ph({},B),{},{text:B.text.slice(0,q)})}if(N>H){var K=N-H;_=Ph(Ph({},B),{},{text:B.text.slice(0,K)}),B=Ph(Ph({},B),{},{text:B.text.slice(K)})}U(B,E),_&&O.push(_),O.push(B),V&&O.push(V)}i=O}return i}},I2=n=>n.selection?n.selection:n.children.length>0?L.end(n,[]):[0],dy=(n,a)=>{var[i]=L.node(n,a);return o=>o===i},K2=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=!i,d=i?BB(a):a,p=vn.None,b=vn.None,E=0,C=null,A=null;for(var O of d){var R=O.codePointAt(0);if(!R)break;var N=qB(O,R);if([p,b]=o?[b,N]:[N,p],Z0(p,vn.ZWJ)&&Z0(b,vn.ExtPict)&&(o?C=Lw(a.substring(0,E)):C=Lw(a.substring(0,a.length-E)),!C)||Z0(p,vn.RI)&&Z0(b,vn.RI)&&(A!==null?A=!A:o?A=!0:A=PB(a.substring(0,a.length-E)),!A)||p!==vn.None&&b!==vn.None&&GB(p,b))break;E+=O.length}return E||1},wB=/\s/,xB=/[\u002B\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\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]/,TB=/['\u2018\u2019]/,OB=function(a){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=0,d=!1;a.length>0;){var p=K2(a,i),[b,E]=J2(a,p,i);if(RB(b,E,i))d=!0,o+=p;else if(!d)o+=p;else break;a=E}return o},J2=(n,a,i)=>{if(i){var o=n.length-a;return[n.slice(o,n.length),n.slice(0,o)]}return[n.slice(0,a),n.slice(a)]},RB=function n(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(wB.test(a))return!1;if(TB.test(a)){var d=K2(i,o),[p,b]=J2(i,d,o);if(n(p,b,o))return!0}return!xB.test(a)},BB=function*(a){for(var i=a.length-1,o=0;o<a.length;o++){var d=a.charAt(i-o);if(kB(d.charCodeAt(0))){var p=a.charAt(i-o-1);if(NB(p.charCodeAt(0))){yield p+d,o++;continue}}yield d}},NB=n=>n>=55296&&n<=56319,kB=n=>n>=56320&&n<=57343,vn;(function(n){n[n.None=0]="None",n[n.Extend=1]="Extend",n[n.ZWJ=2]="ZWJ",n[n.RI=4]="RI",n[n.Prepend=8]="Prepend",n[n.SpacingMark=16]="SpacingMark",n[n.L=32]="L",n[n.V=64]="V",n[n.T=128]="T",n[n.LV=256]="LV",n[n.LVT=512]="LVT",n[n.ExtPict=1024]="ExtPict",n[n.Any=2048]="Any"})(vn||(vn={}));var MB=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,_B=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,FB=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,zB=/^[\u1100-\u115F\uA960-\uA97C]$/,UB=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,jB=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,LB=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,HB=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,VB=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,qB=(n,a)=>{var i=vn.Any;return n.search(MB)!==-1&&(i|=vn.Extend),a===8205&&(i|=vn.ZWJ),a>=127462&&a<=127487&&(i|=vn.RI),n.search(_B)!==-1&&(i|=vn.Prepend),n.search(FB)!==-1&&(i|=vn.SpacingMark),n.search(zB)!==-1&&(i|=vn.L),n.search(UB)!==-1&&(i|=vn.V),n.search(jB)!==-1&&(i|=vn.T),n.search(LB)!==-1&&(i|=vn.LV),n.search(HB)!==-1&&(i|=vn.LVT),n.search(VB)!==-1&&(i|=vn.ExtPict),i};function Z0(n,a){return(n&a)!==0}var YB=[[vn.L,vn.L|vn.V|vn.LV|vn.LVT],[vn.LV|vn.V,vn.V|vn.T],[vn.LVT|vn.T,vn.T],[vn.Any,vn.Extend|vn.ZWJ],[vn.Any,vn.SpacingMark],[vn.Prepend,vn.Any],[vn.ZWJ,vn.ExtPict],[vn.RI,vn.RI]];function GB(n,a){return YB.findIndex(i=>Z0(n,i[0])&&Z0(a,i[1]))===-1}var $B=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,Lw=n=>n.search($B)!==-1,XB=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,PB=n=>{var a=n.match(XB);if(a===null)return!1;var i=a[0].length/2;return i%2===1},QB={delete(n,a){n.delete(a)},insertFragment(n,a,i){n.insertFragment(a,i)},insertText(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};L.withoutNormalizing(n,()=>{var{voids:o=!1}=i,{at:d=I2(n)}=i;if(re.isPath(d)&&(d=L.range(n,d)),Fe.isRange(d))if(Fe.isCollapsed(d))d=d.anchor;else{var p=Fe.end(d);if(!o&&L.void(n,{at:p}))return;var b=Fe.start(d),E=L.pointRef(n,b),C=L.pointRef(n,p);Ke.delete(n,{at:d,voids:o});var A=E.unref(),O=C.unref();d=A||O,Ke.setSelection(n,{anchor:d,focus:d})}if(!(!o&&L.void(n,{at:d})||L.elementReadOnly(n,{at:d}))){var{path:R,offset:N}=d;a.length>0&&n.apply({type:"insert_text",path:R,offset:N,text:a})}})}};function Hw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function zb(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Hw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Hw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var Ke=zb(zb(zb(zb({},hB),mB),vB),QB),rD=new WeakMap,ZB=n=>rD.get(n)||!1,WB=(n,a,i)=>{var o=rD.get(n)||!1;rD.set(n,!0);try{a(),i()}finally{rD.set(n,o)}};function ZO(n,a,i){var o=pD.get(n)||[],d=gD.get(n)||new Set,p,b,E=R=>{if(R){var N=R.join(",");b.has(N)||(b.add(N),p.push(R))}};if(i){p=[],b=new Set;for(var C of o){var A=i(C);E(A)}}else p=o,b=d;for(var O of a)E(O);pD.set(n,p),gD.set(n,b)}var IB=(n,a)=>{for(var i of L.pathRefs(n))lB.transform(i,a);for(var o of L.pointRefs(n))oB.transform(o,a);for(var d of L.rangeRefs(n))sB.transform(d,a);if(!ZB(n)){var p=re.operationCanTransformPath(a)?b=>re.transform(b,a):void 0;ZO(n,n.getDirtyPaths(a),p)}Ke.transform(n,a),n.operations.push(a),L.normalize(n,{operation:a}),a.type==="set_selection"&&(n.marks=null),E1.get(n)||(E1.set(n,!0),Promise.resolve().then(()=>{E1.set(n,!1),n.onChange({operation:a}),n.operations=[]}))},KB=(n,a)=>{switch(a.type){case"insert_text":case"remove_text":case"set_node":{var{path:i}=a;return re.levels(i)}case"insert_node":{var{node:o,path:d}=a,p=re.levels(d),b=_t.isText(o)?[]:Array.from(st.nodes(o),xe=>{var[,ze]=xe;return d.concat(ze)});return[...p,...b]}case"merge_node":{var{path:E}=a,C=re.ancestors(E),A=re.previous(E);return[...C,A]}case"move_node":{var{path:O,newPath:R}=a;if(re.equals(O,R))return[];var N=[],z=[];for(var U of re.ancestors(O)){var F=re.transform(U,a);N.push(F)}for(var x of re.ancestors(R)){var H=re.transform(x,a);z.push(H)}var B=z[z.length-1],_=R[R.length-1],V=B.concat(_);return[...N,...z,V]}case"remove_node":{var{path:q}=a,K=re.ancestors(q);return[...K]}case"split_node":{var{path:ie}=a,Ee=re.levels(ie),ue=re.next(ie);return[...Ee,ue]}default:return[]}},JB=n=>{var{selection:a}=n;return a?st.fragment(n,a):[]},e5=(n,a)=>{var[i,o]=a;if(!_t.isText(i)){if(Ot.isElement(i)&&i.children.length===0){var d={text:""};Ke.insertNodes(n,d,{at:o.concat(0),voids:!0});return}for(var p=L.isEditor(i)?!1:Ot.isElement(i)&&(n.isInline(i)||i.children.length===0||_t.isText(i.children[0])||n.isInline(i.children[0])),b=0,E=0;E<i.children.length;E++,b++){var C=st.get(n,o);if(!_t.isText(C)){var A=C.children[b],O=C.children[b-1],R=E===i.children.length-1,N=_t.isText(A)||Ot.isElement(A)&&n.isInline(A);if(N!==p)N?Ke.removeNodes(n,{at:o.concat(b),voids:!0}):Ke.unwrapNodes(n,{at:o.concat(b),voids:!0}),b--;else if(Ot.isElement(A)){if(n.isInline(A)){if(O==null||!_t.isText(O)){var z={text:""};Ke.insertNodes(n,z,{at:o.concat(b),voids:!0}),b++}else if(R){var U={text:""};Ke.insertNodes(n,U,{at:o.concat(b+1),voids:!0}),b++}}}else{if(!_t.isText(A)&&!("children"in A)){var F=A;F.children=[]}O!=null&&_t.isText(O)&&(_t.equals(A,O,{loose:!0})?(Ke.mergeNodes(n,{at:o.concat(b),voids:!0}),b--):O.text===""?(Ke.removeNodes(n,{at:o.concat(b-1),voids:!0}),b--):A.text===""&&(Ke.removeNodes(n,{at:o.concat(b),voids:!0}),b--))}}}}},t5=(n,a)=>{var{iteration:i,initialDirtyPathsLength:o}=a,d=o*42;if(i>d)throw new Error("Could not completely normalize the editor after ".concat(d," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0},n5=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:o=!1,mode:d="lowest",at:p=a.selection,match:b}=i;if(p){var E=L.path(a,p),C=d==="lowest";for(var[A,O]of L.levels(a,{at:E,voids:o,match:b,reverse:C}))if(!_t.isText(A)){if(Fe.isRange(p)){if(re.isAncestor(O,p.anchor.path)&&re.isAncestor(O,p.focus.path))return[A,O]}else if(!re.equals(E,O))return[A,O]}}};function Vw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function qw(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Vw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Vw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var a5=(n,a,i)=>{var{selection:o}=n;if(o){var d=(R,N)=>{if(!_t.isText(R))return!1;var[z,U]=L.parent(n,N);return!n.isVoid(z)||n.markableVoid(z)},p=Fe.isExpanded(o),b=!1;if(!p){var[E,C]=L.node(n,o);if(E&&d(E,C)){var[A]=L.parent(n,C);b=A&&n.markableVoid(A)}}if(p||b)Ke.setNodes(n,{[a]:i},{match:d,split:!0,voids:!0});else{var O=qw(qw({},L.marks(n)||{}),{},{[a]:i});n.marks=O,E1.get(n)||n.onChange()}}};function Yw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function Gw(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Yw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Yw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var r5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=L.point(a,i,{edge:"end"}),p=L.end(a,[]),b={anchor:d,focus:p},{distance:E=1}=o,C=0,A;for(var O of L.positions(a,Gw(Gw({},o),{},{at:b}))){if(C>E)break;C!==0&&(A=O),C++}return A};function $w(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function Xw(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?$w(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):$w(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var i5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=L.start(a,[]),p=L.point(a,i,{edge:"start"}),b={anchor:d,focus:p},{distance:E=1}=o,C=0,A;for(var O of L.positions(a,Xw(Xw({},o),{},{at:b,reverse:!0}))){if(C>E)break;C!==0&&(A=O),C++}return A},u5=(n,a)=>{var{selection:i}=n;i&&Fe.isCollapsed(i)&&Ke.delete(n,{unit:a,reverse:!0})},l5=(n,a)=>{var{selection:i}=n;i&&Fe.isCollapsed(i)&&Ke.delete(n,{unit:a})},o5=function(a){var{direction:i="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:o}=a;o&&Fe.isExpanded(o)&&Ke.delete(a,{reverse:i==="backward"})},s5=(n,a)=>[L.start(n,a),L.end(n,a)];function Pw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function Qw(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Pw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Pw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var c5=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return L.above(a,Qw(Qw({},i),{},{match:o=>Ot.isElement(o)&&L.isElementReadOnly(a,o)}))},f5=(n,a)=>L.point(n,a,{edge:"end"}),d5=(n,a)=>{var i=L.path(n,a,{edge:"start"});return L.node(n,i)},h5=(n,a)=>{var i=L.range(n,a);return st.fragment(n,i)};function Zw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function Ww(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Zw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Zw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var m5=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return L.above(a,Ww(Ww({},i),{},{match:o=>Ot.isElement(o)&&L.isVoid(a,o)}))},v5=(n,a)=>a.children.some(i=>Ot.isElement(i)&&L.isBlock(n,i)),p5=(n,a)=>a.children.some(i=>_t.isText(i)||L.isInline(n,i)),g5=(n,a)=>st.has(n,a),y5=(n,a)=>a.children.every(i=>_t.isText(i)),b5=n=>{Ke.splitNodes(n,{always:!0})},D5=(n,a,i)=>{Ke.insertNodes(n,a,i)},E5=n=>{Ke.splitNodes(n,{always:!0})};function Iw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function S5(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Iw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Iw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var C5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:d,marks:p}=a;if(d){if(p){var b=S5({text:i},p);Ke.insertNodes(a,b,{at:o.at,voids:o.voids})}else Ke.insertText(a,i,o);a.marks=null}},A5=(n,a)=>!n.isInline(a),w5=(n,a,i)=>L.isStart(n,a,i)||L.isEnd(n,a,i),x5=(n,a)=>{var{children:i}=a,[o]=i;return i.length===0||i.length===1&&_t.isText(o)&&o.text===""&&!n.isVoid(a)},T5=(n,a,i)=>{var o=L.end(n,i);return zn.equals(a,o)},O5=n=>{var a=PO.get(n);return a===void 0?!0:a},R5=(n,a,i)=>{if(a.offset!==0)return!1;var o=L.start(n,i);return zn.equals(a,o)},B5=(n,a)=>{var i=L.path(n,a,{edge:"end"});return L.node(n,i)},N5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=L.path(a,i,o),p=st.leaf(a,d);return[p,d]};function k5(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){var{at:i=n.selection,reverse:o=!1,voids:d=!1}=a,{match:p}=a;if(p==null&&(p=()=>!0),!!i){var b=[],E=L.path(n,i);for(var[C,A]of st.levels(n,E))if(p(C,A)&&(b.push([C,A]),!d&&Ot.isElement(C)&&L.isVoid(n,C)))break;o&&b.reverse(),yield*b}}()}var M5=["text"],_5=["text"],F5=function(a){var{marks:i,selection:o}=a;if(!o)return null;var{anchor:d,focus:p}=o;if(i)return i;if(Fe.isExpanded(o)){var b=Fe.isBackward(o);b&&([p,d]=[d,p]);var E=L.isEnd(a,d,d.path);if(E){var C=L.after(a,d);C&&(d=C)}var[A]=L.nodes(a,{match:_t.isText,at:{anchor:d,focus:p}});if(A){var[O]=A,R=Ih(O,M5);return R}else return{}}var{path:N}=d,[z]=L.leaf(a,N);if(d.offset===0){var U=L.previous(a,{at:N,match:_t.isText}),F=L.above(a,{match:q=>Ot.isElement(q)&&L.isVoid(a,q)&&a.markableVoid(q)});if(!F){var x=L.above(a,{match:q=>Ot.isElement(q)&&L.isBlock(a,q)});if(U&&x){var[H,B]=U,[,_]=x;re.isAncestor(_,B)&&(z=H)}}}var V=Ih(z,_5);return V},z5=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:o="lowest",voids:d=!1}=i,{match:p,at:b=a.selection}=i;if(b){var E=L.after(a,b,{voids:d});if(E){var[,C]=L.last(a,[]),A=[E.path,C];if(re.isPath(b)&&b.length===0)throw new Error("Cannot get the next node from the root node!");if(p==null)if(re.isPath(b)){var[O]=L.parent(a,b);p=N=>O.children.includes(N)}else p=()=>!0;var[R]=L.nodes(a,{at:A,match:p,mode:o,voids:d});return R}}},U5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=L.path(a,i,o),p=st.get(a,d);return[p,d]};function j5(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){var{at:i=n.selection,mode:o="all",universal:d=!1,reverse:p=!1,voids:b=!1,ignoreNonSelectable:E=!1}=a,{match:C}=a;if(C||(C=()=>!0),!!i){var A,O;if(SB.isSpan(i))A=i[0],O=i[1];else{var R=L.path(n,i,{edge:"start"}),N=L.path(n,i,{edge:"end"});A=p?N:R,O=p?R:N}var z=st.nodes(n,{reverse:p,from:A,to:O,pass:V=>{var[q]=V;return Ot.isElement(q)?!!(!b&&(L.isVoid(n,q)||L.isElementReadOnly(n,q))||E&&!L.isSelectable(n,q)):!1}}),U=[],F;for(var[x,H]of z)if(!(E&&Ot.isElement(x)&&!L.isSelectable(n,x))){var B=F&&re.compare(H,F[1])===0;if(!(o==="highest"&&B)){if(!C(x,H)){if(d&&!B&&_t.isText(x))return;continue}if(o==="lowest"&&B){F=[x,H];continue}var _=o==="lowest"?F:[x,H];_&&(d?U.push(_):yield _),F=[x,H]}}o==="lowest"&&F&&(d?U.push(F):yield F),d&&(yield*U)}}()}var L5=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:o=!1,operation:d}=i,p=O=>pD.get(O)||[],b=O=>gD.get(O)||new Set,E=O=>{var R=p(O).pop(),N=R.join(",");return b(O).delete(N),R};if(L.isNormalizing(a)){if(o){var C=Array.from(st.nodes(a),O=>{var[,R]=O;return R}),A=new Set(C.map(O=>O.join(",")));pD.set(a,C),gD.set(a,A)}p(a).length!==0&&L.withoutNormalizing(a,()=>{for(var O of p(a))if(st.has(a,O)){var R=L.node(a,O),[N,z]=R;Ot.isElement(N)&&N.children.length===0&&a.normalizeNode(R,{operation:d})}for(var U=p(a),F=U.length,x=0;U.length!==0;){if(!a.shouldNormalize({dirtyPaths:U,iteration:x,initialDirtyPathsLength:F,operation:d}))return;var H=E(a);if(st.has(a,H)){var B=L.node(a,H);a.normalizeNode(B,{operation:d})}x++,U=p(a)}})}},H5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=L.path(a,i,o),p=re.parent(d),b=L.node(a,p);return b},V5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:d="forward"}=o,p={current:i,affinity:d,unref(){var{current:E}=p,C=L.pathRefs(a);return C.delete(p),p.current=null,E}},b=L.pathRefs(a);return b.add(p),p},q5=n=>{var a=xw.get(n);return a||(a=new Set,xw.set(n,a)),a},Y5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:d,edge:p}=o;if(re.isPath(i)){if(p==="start"){var[,b]=st.first(a,i);i=b}else if(p==="end"){var[,E]=st.last(a,i);i=E}}return Fe.isRange(i)&&(p==="start"?i=Fe.start(i):p==="end"?i=Fe.end(i):i=re.common(i.anchor.path,i.focus.path)),zn.isPoint(i)&&(i=i.path),d!=null&&(i=i.slice(0,d)),i},G5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:d="forward"}=o,p={current:i,affinity:d,unref(){var{current:E}=p,C=L.pointRefs(a);return C.delete(p),p.current=null,E}},b=L.pointRefs(a);return b.add(p),p},$5=n=>{var a=Tw.get(n);return a||(a=new Set,Tw.set(n,a)),a},X5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:d="start"}=o;if(re.isPath(i)){var p;if(d==="end"){var[,b]=st.last(a,i);p=b}else{var[,E]=st.first(a,i);p=E}var C=st.get(a,p);if(!_t.isText(C))throw new Error("Cannot get the ".concat(d," point in the node at path [").concat(i,"] because it has no ").concat(d," text node."));return{path:p,offset:d==="end"?C.text.length:0}}if(Fe.isRange(i)){var[A,O]=Fe.edges(i);return d==="start"?A:O}return i};function P5(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){var{at:i=n.selection,unit:o="offset",reverse:d=!1,voids:p=!1,ignoreNonSelectable:b=!1}=a;if(!i)return;var E=L.range(n,i),[C,A]=Fe.edges(E),O=d?A:C,R=!1,N="",z=0,U=0,F=0;for(var[x,H]of L.nodes(n,{at:i,reverse:d,voids:p,ignoreNonSelectable:b})){if(Ot.isElement(x)){if(!p&&(n.isVoid(x)||n.isElementReadOnly(x))){yield L.start(n,H);continue}if(n.isInline(x))continue;if(L.hasInlines(n,x)){var B=re.isAncestor(H,A.path)?A:L.end(n,H),_=re.isAncestor(H,C.path)?C:L.start(n,H);N=L.string(n,{anchor:_,focus:B},{voids:p}),R=!0}}if(_t.isText(x)){var V=re.equals(H,O.path);for(V?(U=d?O.offset:x.text.length-O.offset,F=O.offset):(U=x.text.length,F=d?U:0),(V||R||o==="offset")&&(yield{path:H,offset:F},R=!1);;){if(z===0){if(N==="")break;z=q(N,o,d),N=J2(N,z,d)[1]}if(F=d?F-z:F+z,U=U-z,U<0){z=-U;break}z=0,yield{path:H,offset:F}}}}function q(K,ie,Ee){return ie==="character"?K2(K,Ee):ie==="word"?OB(K,Ee):ie==="line"||ie==="block"?K.length:1}}()}var Q5=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:o="lowest",voids:d=!1}=i,{match:p,at:b=a.selection}=i;if(b){var E=L.before(a,b,{voids:d});if(E){var[,C]=L.first(a,[]),A=[E.path,C];if(re.isPath(b)&&b.length===0)throw new Error("Cannot get the previous node from the root node!");if(p==null)if(re.isPath(b)){var[O]=L.parent(a,b);p=N=>O.children.includes(N)}else p=()=>!0;var[R]=L.nodes(a,{reverse:!0,at:A,match:p,mode:o,voids:d});return R}}},Z5=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:d="forward"}=o,p={current:i,affinity:d,unref(){var{current:E}=p,C=L.rangeRefs(a);return C.delete(p),p.current=null,E}},b=L.rangeRefs(a);return b.add(p),p},W5=n=>{var a=Ow.get(n);return a||(a=new Set,Ow.set(n,a)),a},I5=(n,a,i)=>{if(Fe.isRange(a)&&!i)return a;var o=L.start(n,a),d=L.end(n,i||a);return{anchor:o,focus:d}};function Kw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function K5(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Kw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Kw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var J5=(n,a)=>{var{selection:i}=n;if(i){var o=(O,R)=>{if(!_t.isText(O))return!1;var[N,z]=L.parent(n,R);return!n.isVoid(N)||n.markableVoid(N)},d=Fe.isExpanded(i),p=!1;if(!d){var[b,E]=L.node(n,i);if(b&&o(b,E)){var[C]=L.parent(n,E);p=C&&n.markableVoid(C)}}if(d||p)Ke.unsetNodes(n,a,{match:o,split:!0,voids:!0});else{var A=K5({},L.marks(n)||{});delete A[a],n.marks=A,E1.get(n)||n.onChange()}}},eN=(n,a)=>{PO.set(n,a)},tN=(n,a)=>L.point(n,a,{edge:"start"}),nN=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:d=!1}=o,p=L.range(a,i),[b,E]=Fe.edges(p),C="";for(var[A,O]of L.nodes(a,{at:p,match:_t.isText,voids:d})){var R=A.text;re.equals(O,E.path)&&(R=R.slice(0,E.offset)),re.equals(O,b.path)&&(R=R.slice(b.offset)),C+=R}return C},aN=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:d=!1}=o,[p,b]=Fe.edges(i);if(p.offset!==0||b.offset!==0||Fe.isCollapsed(i)||re.hasPrevious(b.path))return i;var E=L.above(a,{at:b,match:U=>Ot.isElement(U)&&L.isBlock(a,U),voids:d}),C=E?E[1]:[],A=L.start(a,p),O={anchor:A,focus:b},R=!0;for(var[N,z]of L.nodes(a,{at:O,match:_t.isText,reverse:!0,voids:d})){if(R){R=!1;continue}if(N.text!==""||re.isBefore(z,C)){b={path:z,offset:N.text.length};break}}return{anchor:p,focus:b}},rN=(n,a)=>{var i=L.isNormalizing(n);L.setNormalizing(n,!1);try{a()}finally{L.setNormalizing(n,i)}L.normalize(n)},iN=(n,a,i)=>{var[o,d]=a;return Ot.isElement(o)&&L.isEmpty(n,o)||_t.isText(o)&&o.text===""&&d[d.length-1]!==0},uN=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};L.withoutNormalizing(a,()=>{var o,d,{reverse:p=!1,unit:b="character",distance:E=1,voids:C=!1}=i,{at:A=a.selection,hanging:O=!1}=i;if(A){var R=!1;if(Fe.isRange(A)&&Fe.isCollapsed(A)&&(R=!0,A=A.anchor),zn.isPoint(A)){var N=L.void(a,{at:A,mode:"highest"});if(!C&&N){var[,z]=N;A=z}else{var U={unit:b,distance:E},F=p?L.before(a,A,U)||L.start(a,[]):L.after(a,A,U)||L.end(a,[]);A={anchor:A,focus:F},O=!0}}if(re.isPath(A)){Ke.removeNodes(a,{at:A,voids:C});return}if(!Fe.isCollapsed(A)){if(!O){var[,x]=Fe.edges(A),H=L.end(a,[]);zn.equals(x,H)||(A=L.unhangRange(a,A,{voids:C}))}var[B,_]=Fe.edges(A),V=L.above(a,{match:pt=>Ot.isElement(pt)&&L.isBlock(a,pt),at:B,voids:C}),q=L.above(a,{match:pt=>Ot.isElement(pt)&&L.isBlock(a,pt),at:_,voids:C}),K=V&&q&&!re.equals(V[1],q[1]),ie=re.equals(B.path,_.path),Ee=C?null:(o=L.void(a,{at:B,mode:"highest"}))!==null&&o!==void 0?o:L.elementReadOnly(a,{at:B,mode:"highest"}),ue=C?null:(d=L.void(a,{at:_,mode:"highest"}))!==null&&d!==void 0?d:L.elementReadOnly(a,{at:_,mode:"highest"});if(Ee){var xe=L.before(a,B);xe&&V&&re.isAncestor(V[1],xe.path)&&(B=xe)}if(ue){var ze=L.after(a,_);ze&&q&&re.isAncestor(q[1],ze.path)&&(_=ze)}var ke=[],je;for(var le of L.nodes(a,{at:A,voids:C})){var[Ve,ne]=le;je&&re.compare(ne,je)===0||(!C&&Ot.isElement(Ve)&&(L.isVoid(a,Ve)||L.isElementReadOnly(a,Ve))||!re.isCommon(ne,B.path)&&!re.isCommon(ne,_.path))&&(ke.push(le),je=ne)}var ve=Array.from(ke,pt=>{var[,Lt]=pt;return L.pathRef(a,Lt)}),be=L.pointRef(a,B),qe=L.pointRef(a,_),oe="";if(!ie&&!Ee){var Se=be.current,[Xe]=L.leaf(a,Se),{path:Te}=Se,{offset:Ye}=B,We=Xe.text.slice(Ye);We.length>0&&(a.apply({type:"remove_text",path:Te,offset:Ye,text:We}),oe=We)}if(ve.reverse().map(pt=>pt.unref()).filter(pt=>pt!==null).forEach(pt=>Ke.removeNodes(a,{at:pt,voids:C})),!ue){var Q=qe.current,[Ue]=L.leaf(a,Q),{path:Ce}=Q,we=ie?B.offset:0,Ze=Ue.text.slice(we,_.offset);Ze.length>0&&(a.apply({type:"remove_text",path:Ce,offset:we,text:Ze}),oe=Ze)}!ie&&K&&qe.current&&be.current&&Ke.mergeNodes(a,{at:qe.current,hanging:!0,voids:C}),R&&p&&b==="character"&&oe.length>1&&oe.match(/[\u0E00-\u0E7F]+/)&&Ke.insertText(a,oe.slice(0,oe.length-E));var Ie=be.unref(),Me=qe.unref(),At=p?Ie||Me:Me||Ie;i.at==null&&At&&Ke.select(a,At)}}})},lN=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};L.withoutNormalizing(a,()=>{var{hanging:d=!1,voids:p=!1}=o,{at:b=I2(a),batchDirty:E=!0}=o;if(i.length){if(Fe.isRange(b))if(d||(b=L.unhangRange(a,b,{voids:p})),Fe.isCollapsed(b))b=b.anchor;else{var[,C]=Fe.edges(b);if(!p&&L.void(a,{at:C}))return;var A=L.pointRef(a,C);Ke.delete(a,{at:b}),b=A.unref()}else re.isPath(b)&&(b=L.start(a,b));if(!(!p&&L.void(a,{at:b}))){var O=L.above(a,{at:b,match:We=>Ot.isElement(We)&&L.isInline(a,We),mode:"highest",voids:p});if(O){var[,R]=O;if(L.isEnd(a,b,R)){var N=L.after(a,R);b=N}else if(L.isStart(a,b,R)){var z=L.before(a,R);b=z}}var U=L.above(a,{match:We=>Ot.isElement(We)&&L.isBlock(a,We),at:b,voids:p}),[,F]=U,x=L.isStart(a,b,F),H=L.isEnd(a,b,F),B=x&&H,_=!x||x&&H,V=!H,[,q]=st.first({children:i},[]),[,K]=st.last({children:i},[]),ie=[],Ee=We=>{var[Q,Ue]=We,Ce=Ue.length===0;return Ce?!1:B?!0:!(_&&re.isAncestor(Ue,q)&&Ot.isElement(Q)&&!a.isVoid(Q)&&!a.isInline(Q)||V&&re.isAncestor(Ue,K)&&Ot.isElement(Q)&&!a.isVoid(Q)&&!a.isInline(Q))};for(var ue of st.nodes({children:i},{pass:Ee}))Ee(ue)&&ie.push(ue);var xe=[],ze=[],ke=[],je=!0,le=!1;for(var[Ve]of ie)Ot.isElement(Ve)&&!a.isInline(Ve)?(je=!1,le=!0,ze.push(Ve)):je?xe.push(Ve):ke.push(Ve);var[ne]=L.nodes(a,{at:b,match:We=>_t.isText(We)||L.isInline(a,We),mode:"highest",voids:p}),[,ve]=ne,be=L.isStart(a,b,ve),qe=L.isEnd(a,b,ve),oe=L.pathRef(a,H&&!ke.length?re.next(F):F),Se=L.pathRef(a,qe?re.next(ve):ve);Ke.splitNodes(a,{at:b,match:We=>le?Ot.isElement(We)&&L.isBlock(a,We):_t.isText(We)||L.isInline(a,We),mode:le?"lowest":"highest",always:le&&(!x||xe.length>0)&&(!H||ke.length>0),voids:p});var Xe=L.pathRef(a,!be||be&&qe?re.next(ve):ve);if(Ke.insertNodes(a,xe,{at:Xe.current,match:We=>_t.isText(We)||L.isInline(a,We),mode:"highest",voids:p,batchDirty:E}),B&&!xe.length&&ze.length&&!ke.length&&Ke.delete(a,{at:F,voids:p}),Ke.insertNodes(a,ze,{at:oe.current,match:We=>Ot.isElement(We)&&L.isBlock(a,We),mode:"lowest",voids:p,batchDirty:E}),Ke.insertNodes(a,ke,{at:Se.current,match:We=>_t.isText(We)||L.isInline(a,We),mode:"highest",voids:p,batchDirty:E}),!o.at){var Te;if(ke.length>0&&Se.current?Te=re.previous(Se.current):ze.length>0&&oe.current?Te=re.previous(oe.current):Xe.current&&(Te=re.previous(Xe.current)),Te){var Ye=L.end(a,Te);Ke.select(a,Ye)}}Xe.unref(),oe.unref(),Se.unref()}}})},oN=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:o="anchor"}=i,{selection:d}=a;if(d){if(o==="anchor")Ke.select(a,d.anchor);else if(o==="focus")Ke.select(a,d.focus);else if(o==="start"){var[p]=Fe.edges(d);Ke.select(a,p)}else if(o==="end"){var[,b]=Fe.edges(d);Ke.select(a,b)}}else return},sN=n=>{var{selection:a}=n;a&&n.apply({type:"set_selection",properties:a,newProperties:null})},cN=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:o}=a,{distance:d=1,unit:p="character",reverse:b=!1}=i,{edge:E=null}=i;if(o){E==="start"&&(E=Fe.isBackward(o)?"focus":"anchor"),E==="end"&&(E=Fe.isBackward(o)?"anchor":"focus");var{anchor:C,focus:A}=o,O={distance:d,unit:p,ignoreNonSelectable:!0},R={};if(E==null||E==="anchor"){var N=b?L.before(a,C,O):L.after(a,C,O);N&&(R.anchor=N)}if(E==null||E==="focus"){var z=b?L.before(a,A,O):L.after(a,A,O);z&&(R.focus=z)}Ke.setSelection(a,R)}},fN=(n,a)=>{var{selection:i}=n;if(a=L.range(n,a),i){Ke.setSelection(n,a);return}if(!Fe.isRange(a))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(Gi.stringify(a)));n.apply({type:"set_selection",properties:i,newProperties:a})};function Jw(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function ex(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Jw(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Jw(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var dN=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:d}=a,{edge:p="both"}=o;if(d){p==="start"&&(p=Fe.isBackward(d)?"focus":"anchor"),p==="end"&&(p=Fe.isBackward(d)?"anchor":"focus");var{anchor:b,focus:E}=d,C=p==="anchor"?b:E;Ke.setSelection(a,{[p==="anchor"?"anchor":"focus"]:ex(ex({},C),i)})}},hN=(n,a)=>{var{selection:i}=n,o={},d={};if(i){for(var p in a)(p==="anchor"&&a.anchor!=null&&!zn.equals(a.anchor,i.anchor)||p==="focus"&&a.focus!=null&&!zn.equals(a.focus,i.focus)||p!=="anchor"&&p!=="focus"&&a[p]!==i[p])&&(o[p]=i[p],d[p]=a[p]);Object.keys(o).length>0&&n.apply({type:"set_selection",properties:o,newProperties:d})}},mN=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};L.withoutNormalizing(a,()=>{var{hanging:d=!1,voids:p=!1,mode:b="lowest",batchDirty:E=!0}=o,{at:C,match:A,select:O}=o;if(st.isNode(i)&&(i=[i]),i.length!==0){var[R]=i;if(C||(C=I2(a),O!==!1&&(O=!0)),O==null&&(O=!1),Fe.isRange(C))if(d||(C=L.unhangRange(a,C,{voids:p})),Fe.isCollapsed(C))C=C.anchor;else{var[,N]=Fe.edges(C),z=L.pointRef(a,N);Ke.delete(a,{at:C}),C=z.unref()}if(zn.isPoint(C)){A==null&&(_t.isText(R)?A=xe=>_t.isText(xe):a.isInline(R)?A=xe=>_t.isText(xe)||L.isInline(a,xe):A=xe=>Ot.isElement(xe)&&L.isBlock(a,xe));var[U]=L.nodes(a,{at:C.path,match:A,mode:b,voids:p});if(U){var[,F]=U,x=L.pathRef(a,F),H=L.isEnd(a,C,F);Ke.splitNodes(a,{at:C,match:A,mode:b,voids:p});var B=x.unref();C=H?re.next(B):B}else return}var _=re.parent(C),V=C[C.length-1];if(!(!p&&L.void(a,{at:_}))){if(E){var q=[],K=re.levels(_);WB(a,()=>{var xe=function(){var je=_.concat(V);V++;var le={type:"insert_node",path:je,node:ze};a.apply(le),C=re.next(C),q.push(le),_t.isText?K.push(...Array.from(st.nodes(ze),Ve=>{var[,ne]=Ve;return je.concat(ne)})):K.push(je)};for(var ze of i)xe()},()=>{ZO(a,K,xe=>{var ze=xe;for(var ke of q)if(re.operationCanTransformPath(ke)&&(ze=re.transform(ze,ke),!ze))return null;return ze})})}else for(var ie of i){var Ee=_.concat(V);V++,a.apply({type:"insert_node",path:Ee,node:ie}),C=re.next(C)}if(C=re.previous(C),O){var ue=L.end(a,C);ue&&Ke.select(a,ue)}}}})},vN=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};L.withoutNormalizing(a,()=>{var{at:o=a.selection,mode:d="lowest",voids:p=!1}=i,{match:b}=i;if(b==null&&(b=re.isPath(o)?dy(a,o):V=>Ot.isElement(V)&&L.isBlock(a,V)),!!o){var E=L.nodes(a,{at:o,match:b,mode:d,voids:p}),C=Array.from(E,V=>{var[,q]=V;return L.pathRef(a,q)});for(var A of C){var O=A.unref();if(O.length<2)throw new Error("Cannot lift node at a path [".concat(O,"] because it has a depth of less than `2`."));var R=L.node(a,re.parent(O)),[N,z]=R,U=O[O.length-1],{length:F}=N.children;if(F===1){var x=re.next(z);Ke.moveNodes(a,{at:O,to:x,voids:p}),Ke.removeNodes(a,{at:z,voids:p})}else if(U===0)Ke.moveNodes(a,{at:O,to:z,voids:p});else if(U===F-1){var H=re.next(z);Ke.moveNodes(a,{at:O,to:H,voids:p})}else{var B=re.next(O),_=re.next(z);Ke.splitNodes(a,{at:B,voids:p}),Ke.moveNodes(a,{at:O,to:_,voids:p})}}}})},pN=["text"],gN=["children"],WO=(n,a)=>{if(Ot.isElement(a)){var i=a;return L.isVoid(n,a)?!0:i.children.length===1?WO(n,i.children[0]):!1}else return!L.isEditor(a)},yN=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};L.withoutNormalizing(a,()=>{var{match:o,at:d=a.selection}=i,{hanging:p=!1,voids:b=!1,mode:E="lowest"}=i;if(d){if(o==null)if(re.isPath(d)){var[C]=L.parent(a,d);o=xe=>C.children.includes(xe)}else o=xe=>Ot.isElement(xe)&&L.isBlock(a,xe);if(!p&&Fe.isRange(d)&&(d=L.unhangRange(a,d,{voids:b})),Fe.isRange(d))if(Fe.isCollapsed(d))d=d.anchor;else{var[,A]=Fe.edges(d),O=L.pointRef(a,A);Ke.delete(a,{at:d}),d=O.unref(),i.at==null&&Ke.select(a,d)}var[R]=L.nodes(a,{at:d,match:o,voids:b,mode:E}),N=L.previous(a,{at:d,match:o,voids:b,mode:E});if(!(!R||!N)){var[z,U]=R,[F,x]=N;if(!(U.length===0||x.length===0)){var H=re.next(x),B=re.common(U,x),_=re.isSibling(U,x),V=Array.from(L.levels(a,{at:U}),xe=>{var[ze]=xe;return ze}).slice(B.length).slice(0,-1),q=L.above(a,{at:U,mode:"highest",match:xe=>V.includes(xe)&&WO(a,xe)}),K=q&&L.pathRef(a,q[1]),ie,Ee;if(_t.isText(z)&&_t.isText(F)){var ue=Ih(z,pN);Ee=F.text.length,ie=ue}else if(Ot.isElement(z)&&Ot.isElement(F)){var ue=Ih(z,gN);Ee=F.children.length,ie=ue}else throw new Error("Cannot merge the node at path [".concat(U,"] with the previous sibling because it is not the same kind: ").concat(Gi.stringify(z)," ").concat(Gi.stringify(F)));_||Ke.moveNodes(a,{at:U,to:H,voids:b}),K&&Ke.removeNodes(a,{at:K.current,voids:b}),L.shouldMergeNodesRemovePrevNode(a,N,R)?Ke.removeNodes(a,{at:x,voids:b}):a.apply({type:"merge_node",path:H,position:Ee,properties:ie}),K&&K.unref()}}}})},bN=(n,a)=>{L.withoutNormalizing(n,()=>{var{to:i,at:o=n.selection,mode:d="lowest",voids:p=!1}=a,{match:b}=a;if(o){b==null&&(b=re.isPath(o)?dy(n,o):z=>Ot.isElement(z)&&L.isBlock(n,z));var E=L.pathRef(n,i),C=L.nodes(n,{at:o,match:b,mode:d,voids:p}),A=Array.from(C,z=>{var[,U]=z;return L.pathRef(n,U)});for(var O of A){var R=O.unref(),N=E.current;R.length!==0&&n.apply({type:"move_node",path:R,newPath:N}),E.current&&re.isSibling(N,R)&&re.isAfter(N,R)&&(E.current=re.next(E.current))}E.unref()}})},DN=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};L.withoutNormalizing(a,()=>{var{hanging:o=!1,voids:d=!1,mode:p="lowest"}=i,{at:b=a.selection,match:E}=i;if(b){E==null&&(E=re.isPath(b)?dy(a,b):z=>Ot.isElement(z)&&L.isBlock(a,z)),!o&&Fe.isRange(b)&&(b=L.unhangRange(a,b,{voids:d}));var C=L.nodes(a,{at:b,match:E,mode:p,voids:d}),A=Array.from(C,z=>{var[,U]=z;return L.pathRef(a,U)});for(var O of A){var R=O.unref();if(R){var[N]=L.node(a,R);a.apply({type:"remove_node",path:R,node:N})}}}})},EN=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};L.withoutNormalizing(a,()=>{var{match:d,at:p=a.selection,compare:b,merge:E}=o,{hanging:C=!1,mode:A="lowest",split:O=!1,voids:R=!1}=o;if(p){if(d==null&&(d=re.isPath(p)?dy(a,p):Ee=>Ot.isElement(Ee)&&L.isBlock(a,Ee)),!C&&Fe.isRange(p)&&(p=L.unhangRange(a,p,{voids:R})),O&&Fe.isRange(p)){if(Fe.isCollapsed(p)&&L.leaf(a,p.anchor)[0].text.length>0)return;var N=L.rangeRef(a,p,{affinity:"inward"}),[z,U]=Fe.edges(p),F=A==="lowest"?"lowest":"highest",x=L.isEnd(a,U,U.path);Ke.splitNodes(a,{at:U,match:d,mode:F,voids:R,always:!x});var H=L.isStart(a,z,z.path);Ke.splitNodes(a,{at:z,match:d,mode:F,voids:R,always:!H}),p=N.unref(),o.at==null&&Ke.select(a,p)}b||(b=(Ee,ue)=>Ee!==ue);for(var[B,_]of L.nodes(a,{at:p,match:d,mode:A,voids:R})){var V={},q={};if(_.length!==0){var K=!1;for(var ie in i)ie==="children"||ie==="text"||b(i[ie],B[ie])&&(K=!0,B.hasOwnProperty(ie)&&(V[ie]=B[ie]),E?i[ie]!=null&&(q[ie]=E(B[ie],i[ie])):i[ie]!=null&&(q[ie]=i[ie]));K&&a.apply({type:"set_node",path:_,properties:V,newProperties:q})}}}})},SN=(n,a)=>{if(Fe.isCollapsed(a))return a.anchor;var[,i]=Fe.edges(a),o=L.pointRef(n,i);return Ke.delete(n,{at:a}),o.unref()},CN=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};L.withoutNormalizing(a,()=>{var{mode:o="lowest",voids:d=!1}=i,{match:p,at:b=a.selection,height:E=0,always:C=!1}=i;if(p==null&&(p=qe=>Ot.isElement(qe)&&L.isBlock(a,qe)),Fe.isRange(b)&&(b=SN(a,b)),re.isPath(b)){var A=b,O=L.point(a,A),[R]=L.parent(a,A);p=qe=>qe===R,E=O.path.length-A.length+1,b=O,C=!0}if(b){var N=L.pointRef(a,b,{affinity:"backward"}),z;try{var[U]=L.nodes(a,{at:b,match:p,mode:o,voids:d});if(!U)return;var F=L.void(a,{at:b,mode:"highest"}),x=0;if(!d&&F){var[H,B]=F;if(Ot.isElement(H)&&a.isInline(H)){var _=L.after(a,B);if(!_){var V={text:""},q=re.next(B);Ke.insertNodes(a,V,{at:q,voids:d}),_=L.point(a,q)}b=_,C=!0}var K=b.path.length-B.length;E=K+1,C=!0}z=L.pointRef(a,b);var ie=b.path.length-E,[,Ee]=U,ue=b.path.slice(0,ie),xe=E===0?b.offset:b.path[ie]+x;for(var[ze,ke]of L.levels(a,{at:ue,reverse:!0,voids:d})){var je=!1;if(ke.length<Ee.length||ke.length===0||!d&&Ot.isElement(ze)&&L.isVoid(a,ze))break;var le=N.current,Ve=L.isEnd(a,le,ke);if(C||!N||!L.isEdge(a,le,ke)){je=!0;var ne=st.extractProps(ze);a.apply({type:"split_node",path:ke,position:xe,properties:ne})}xe=ke[ke.length-1]+(je||Ve?1:0)}if(i.at==null){var ve=z.current||L.end(a,[]);Ke.select(a,ve)}}finally{var be;N.unref(),(be=z)===null||be===void 0||be.unref()}}})},AN=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(i)||(i=[i]);var d={};for(var p of i)d[p]=null;Ke.setNodes(a,d,o)},wN=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};L.withoutNormalizing(a,()=>{var{mode:o="lowest",split:d=!1,voids:p=!1}=i,{at:b=a.selection,match:E}=i;if(b){E==null&&(E=re.isPath(b)?dy(a,b):z=>Ot.isElement(z)&&L.isBlock(a,z)),re.isPath(b)&&(b=L.range(a,b));var C=Fe.isRange(b)?L.rangeRef(a,b):null,A=L.nodes(a,{at:b,match:E,mode:o,voids:p}),O=Array.from(A,z=>{var[,U]=z;return L.pathRef(a,U)}).reverse(),R=function(){var U=N.unref(),[F]=L.node(a,U),x=L.range(a,U);d&&C&&(x=Fe.intersection(C.current,x)),Ke.liftNodes(a,{at:x,match:H=>Ot.isAncestor(F)&&F.children.includes(H),voids:p})};for(var N of O)R();C&&C.unref()}})};function tx(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function nx(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?tx(Object(i),!0).forEach(function(o){yl(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):tx(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var xN=function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};L.withoutNormalizing(a,()=>{var{mode:d="lowest",split:p=!1,voids:b=!1}=o,{match:E,at:C=a.selection}=o;if(C){if(E==null&&(re.isPath(C)?E=dy(a,C):a.isInline(i)?E=x=>Ot.isElement(x)&&L.isInline(a,x)||_t.isText(x):E=x=>Ot.isElement(x)&&L.isBlock(a,x)),p&&Fe.isRange(C)){var[A,O]=Fe.edges(C),R=L.rangeRef(a,C,{affinity:"inward"});Ke.splitNodes(a,{at:O,match:E,voids:b}),Ke.splitNodes(a,{at:A,match:E,voids:b}),C=R.unref(),o.at==null&&Ke.select(a,C)}var N=Array.from(L.nodes(a,{at:C,match:a.isInline(i)?x=>Ot.isElement(x)&&L.isBlock(a,x):x=>L.isEditor(x),mode:"lowest",voids:b})),z=function(){var H=Fe.isRange(C)?Fe.intersection(C,L.range(a,F)):C;if(!H)return 0;var B=Array.from(L.nodes(a,{at:H,match:E,mode:d,voids:b}));if(B.length>0){var[_]=B,V=B[B.length-1],[,q]=_,[,K]=V;if(q.length===0&&K.length===0)return 0;var ie=re.equals(q,K)?re.parent(q):re.common(q,K),Ee=L.range(a,q,K),ue=L.node(a,ie),[xe]=ue,ze=ie.length+1,ke=re.next(K.slice(0,ze)),je=nx(nx({},i),{},{children:[]});Ke.insertNodes(a,je,{at:ke,voids:b}),Ke.moveNodes(a,{at:Ee,match:le=>Ot.isAncestor(xe)&&xe.children.includes(le),to:ke.concat(0),voids:b})}},U;for(var[,F]of N)U=z()}})},TN=()=>{var n={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return IB(n,...o)},addMark:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return a5(n,...o)},deleteBackward:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return u5(n,...o)},deleteForward:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return l5(n,...o)},deleteFragment:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return o5(n,...o)},getFragment:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return JB(n,...o)},insertBreak:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return b5(n,...o)},insertSoftBreak:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return E5(n,...o)},insertFragment:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return lN(n,...o)},insertNode:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return D5(n,...o)},insertText:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return C5(n,...o)},normalizeNode:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return e5(n,...o)},removeMark:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return J5(n,...o)},getDirtyPaths:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return KB(n,...o)},shouldNormalize:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return t5(n,...o)},above:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return n5(n,...o)},after:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return r5(n,...o)},before:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return i5(n,...o)},collapse:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return oN(n,...o)},delete:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return uN(n,...o)},deselect:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return sN(n,...o)},edges:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return s5(n,...o)},elementReadOnly:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return c5(n,...o)},end:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return f5(n,...o)},first:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return d5(n,...o)},fragment:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return h5(n,...o)},getMarks:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return F5(n,...o)},hasBlocks:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return v5(n,...o)},hasInlines:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return p5(n,...o)},hasPath:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return g5(n,...o)},hasTexts:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return y5(n,...o)},insertNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return mN(n,...o)},isBlock:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return A5(n,...o)},isEdge:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return w5(n,...o)},isEmpty:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return x5(n,...o)},isEnd:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return T5(n,...o)},isNormalizing:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return O5(n,...o)},isStart:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return R5(n,...o)},last:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return B5(n,...o)},leaf:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return N5(n,...o)},levels:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return k5(n,...o)},liftNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return vN(n,...o)},mergeNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return yN(n,...o)},move:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return cN(n,...o)},moveNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return bN(n,...o)},next:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return z5(n,...o)},node:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return U5(n,...o)},nodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return j5(n,...o)},normalize:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return L5(n,...o)},parent:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return H5(n,...o)},path:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return Y5(n,...o)},pathRef:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return V5(n,...o)},pathRefs:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return q5(n,...o)},point:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return X5(n,...o)},pointRef:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return G5(n,...o)},pointRefs:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return $5(n,...o)},positions:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return P5(n,...o)},previous:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return Q5(n,...o)},range:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return I5(n,...o)},rangeRef:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return Z5(n,...o)},rangeRefs:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return W5(n,...o)},removeNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return DN(n,...o)},select:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return fN(n,...o)},setNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return EN(n,...o)},setNormalizing:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return eN(n,...o)},setPoint:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return dN(n,...o)},setSelection:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return hN(n,...o)},splitNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return CN(n,...o)},start:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return tN(n,...o)},string:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return nN(n,...o)},unhangRange:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return aN(n,...o)},unsetNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return AN(n,...o)},unwrapNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return wN(n,...o)},void:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return m5(n,...o)},withoutNormalizing:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return rN(n,...o)},wrapNodes:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return xN(n,...o)},shouldMergeNodesRemovePrevNode:function(){for(var i=arguments.length,o=new Array(i),d=0;d<i;d++)o[d]=arguments[d];return iN(n,...o)}};return n},eS,ax;function ON(){if(ax)return eS;ax=1,eS=d;var n="֑-߿יִ-﷽ﹰ-ﻼ",a="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",i=new RegExp("^[^"+a+"]*["+n+"]"),o=new RegExp("^[^"+n+"]*["+a+"]");function d(p){return p=String(p||""),i.test(p)?"rtl":o.test(p)?"ltr":"neutral"}return eS}var RN=ON();const IO=em(RN);var tS,rx;function eC(){if(rx)return tS;rx=1;function n(a){var i=typeof a;return a!=null&&(i=="object"||i=="function")}return tS=n,tS}var nS,ix;function BN(){if(ix)return nS;ix=1;var n=typeof nc=="object"&&nc&&nc.Object===Object&&nc;return nS=n,nS}var aS,ux;function KO(){if(ux)return aS;ux=1;var n=BN(),a=typeof self=="object"&&self&&self.Object===Object&&self,i=n||a||Function("return this")();return aS=i,aS}var rS,lx;function NN(){if(lx)return rS;lx=1;var n=KO(),a=function(){return n.Date.now()};return rS=a,rS}var iS,ox;function kN(){if(ox)return iS;ox=1;var n=/\s/;function a(i){for(var o=i.length;o--&&n.test(i.charAt(o)););return o}return iS=a,iS}var uS,sx;function MN(){if(sx)return uS;sx=1;var n=kN(),a=/^\s+/;function i(o){return o&&o.slice(0,n(o)+1).replace(a,"")}return uS=i,uS}var lS,cx;function JO(){if(cx)return lS;cx=1;var n=KO(),a=n.Symbol;return lS=a,lS}var oS,fx;function _N(){if(fx)return oS;fx=1;var n=JO(),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,d=n?n.toStringTag:void 0;function p(b){var E=i.call(b,d),C=b[d];try{b[d]=void 0;var A=!0}catch{}var O=o.call(b);return A&&(E?b[d]=C:delete b[d]),O}return oS=p,oS}var sS,dx;function FN(){if(dx)return sS;dx=1;var n=Object.prototype,a=n.toString;function i(o){return a.call(o)}return sS=i,sS}var cS,hx;function zN(){if(hx)return cS;hx=1;var n=JO(),a=_N(),i=FN(),o="[object Null]",d="[object Undefined]",p=n?n.toStringTag:void 0;function b(E){return E==null?E===void 0?d:o:p&&p in Object(E)?a(E):i(E)}return cS=b,cS}var fS,mx;function UN(){if(mx)return fS;mx=1;function n(a){return a!=null&&typeof a=="object"}return fS=n,fS}var dS,vx;function jN(){if(vx)return dS;vx=1;var n=zN(),a=UN(),i="[object Symbol]";function o(d){return typeof d=="symbol"||a(d)&&n(d)==i}return dS=o,dS}var hS,px;function LN(){if(px)return hS;px=1;var n=MN(),a=eC(),i=jN(),o=NaN,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,E=parseInt;function C(A){if(typeof A=="number")return A;if(i(A))return o;if(a(A)){var O=typeof A.valueOf=="function"?A.valueOf():A;A=a(O)?O+"":O}if(typeof A!="string")return A===0?A:+A;A=n(A);var R=p.test(A);return R||b.test(A)?E(A.slice(2),R?2:8):d.test(A)?o:+A}return hS=C,hS}var mS,gx;function e3(){if(gx)return mS;gx=1;var n=eC(),a=NN(),i=LN(),o="Expected a function",d=Math.max,p=Math.min;function b(E,C,A){var O,R,N,z,U,F,x=0,H=!1,B=!1,_=!0;if(typeof E!="function")throw new TypeError(o);C=i(C)||0,n(A)&&(H=!!A.leading,B="maxWait"in A,N=B?d(i(A.maxWait)||0,C):N,_="trailing"in A?!!A.trailing:_);function V(je){var le=O,Ve=R;return O=R=void 0,x=je,z=E.apply(Ve,le),z}function q(je){return x=je,U=setTimeout(Ee,C),H?V(je):z}function K(je){var le=je-F,Ve=je-x,ne=C-le;return B?p(ne,N-Ve):ne}function ie(je){var le=je-F,Ve=je-x;return F===void 0||le>=C||le<0||B&&Ve>=N}function Ee(){var je=a();if(ie(je))return ue(je);U=setTimeout(Ee,K(je))}function ue(je){return U=void 0,_&&O?V(je):(O=R=void 0,z)}function xe(){U!==void 0&&clearTimeout(U),x=0,O=F=R=U=void 0}function ze(){return U===void 0?z:ue(a())}function ke(){var je=a(),le=ie(je);if(O=arguments,R=this,F=je,le){if(U===void 0)return q(F);if(B)return clearTimeout(U),U=setTimeout(Ee,C),V(F)}return U===void 0&&(U=setTimeout(Ee,C)),z}return ke.cancel=xe,ke.flush=ze,ke}return mS=b,mS}var HN=e3();const VN=em(HN);var vS,yx;function qN(){if(yx)return vS;yx=1;var n=e3(),a=eC(),i="Expected a function";function o(d,p,b){var E=!0,C=!0;if(typeof d!="function")throw new TypeError(i);return a(b)&&(E="leading"in b?!!b.leading:E,C="trailing"in b?!!b.trailing:C),n(d,p,{leading:E,maxWait:p,trailing:C})}return vS=o,vS}var YN=qN();const GN=em(YN),bx=n=>typeof n=="object"&&n!=null&&n.nodeType===1,Dx=(n,a)=>(!a||n!=="hidden")&&n!=="visible"&&n!=="clip",Ub=(n,a)=>{if(n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth){const i=getComputedStyle(n,null);return Dx(i.overflowY,a)||Dx(i.overflowX,a)||(o=>{const d=(p=>{if(!p.ownerDocument||!p.ownerDocument.defaultView)return null;try{return p.ownerDocument.defaultView.frameElement}catch{return null}})(o);return!!d&&(d.clientHeight<o.scrollHeight||d.clientWidth<o.scrollWidth)})(n)}return!1},jb=(n,a,i,o,d,p,b,E)=>p<n&&b>a||p>n&&b<a?0:p<=n&&E<=i||b>=a&&E>=i?p-n-o:b>a&&E<i||p<n&&E>i?b-a+d:0,$N=n=>{const a=n.parentElement;return a??(n.getRootNode().host||null)},Ex=(n,a)=>{var i,o,d,p;if(typeof document>"u")return[];const{scrollMode:b,block:E,inline:C,boundary:A,skipOverflowHiddenElements:O}=a,R=typeof A=="function"?A:ne=>ne!==A;if(!bx(n))throw new TypeError("Invalid target");const N=document.scrollingElement||document.documentElement,z=[];let U=n;for(;bx(U)&&R(U);){if(U=$N(U),U===N){z.push(U);break}U!=null&&U===document.body&&Ub(U)&&!Ub(document.documentElement)||U!=null&&Ub(U,O)&&z.push(U)}const F=(o=(i=window.visualViewport)==null?void 0:i.width)!=null?o:innerWidth,x=(p=(d=window.visualViewport)==null?void 0:d.height)!=null?p:innerHeight,{scrollX:H,scrollY:B}=window,{height:_,width:V,top:q,right:K,bottom:ie,left:Ee}=n.getBoundingClientRect(),{top:ue,right:xe,bottom:ze,left:ke}=(ne=>{const ve=window.getComputedStyle(ne);return{top:parseFloat(ve.scrollMarginTop)||0,right:parseFloat(ve.scrollMarginRight)||0,bottom:parseFloat(ve.scrollMarginBottom)||0,left:parseFloat(ve.scrollMarginLeft)||0}})(n);let je=E==="start"||E==="nearest"?q-ue:E==="end"?ie+ze:q+_/2-ue+ze,le=C==="center"?Ee+V/2-ke+xe:C==="end"?K+xe:Ee-ke;const Ve=[];for(let ne=0;ne<z.length;ne++){const ve=z[ne],{height:be,width:qe,top:oe,right:Se,bottom:Xe,left:Te}=ve.getBoundingClientRect();if(b==="if-needed"&&q>=0&&Ee>=0&&ie<=x&&K<=F&&(ve===N&&!Ub(ve)||q>=oe&&ie<=Xe&&Ee>=Te&&K<=Se))return Ve;const Ye=getComputedStyle(ve),We=parseInt(Ye.borderLeftWidth,10),Q=parseInt(Ye.borderTopWidth,10),Ue=parseInt(Ye.borderRightWidth,10),Ce=parseInt(Ye.borderBottomWidth,10);let we=0,Ze=0;const Ie="offsetWidth"in ve?ve.offsetWidth-ve.clientWidth-We-Ue:0,Me="offsetHeight"in ve?ve.offsetHeight-ve.clientHeight-Q-Ce:0,At="offsetWidth"in ve?ve.offsetWidth===0?0:qe/ve.offsetWidth:0,pt="offsetHeight"in ve?ve.offsetHeight===0?0:be/ve.offsetHeight:0;if(N===ve)we=E==="start"?je:E==="end"?je-x:E==="nearest"?jb(B,B+x,x,Q,Ce,B+je,B+je+_,_):je-x/2,Ze=C==="start"?le:C==="center"?le-F/2:C==="end"?le-F:jb(H,H+F,F,We,Ue,H+le,H+le+V,V),we=Math.max(0,we+B),Ze=Math.max(0,Ze+H);else{we=E==="start"?je-oe-Q:E==="end"?je-Xe+Ce+Me:E==="nearest"?jb(oe,Xe,be,Q,Ce+Me,je,je+_,_):je-(oe+be/2)+Me/2,Ze=C==="start"?le-Te-We:C==="center"?le-(Te+qe/2)+Ie/2:C==="end"?le-Se+Ue+Ie:jb(Te,Se,qe,We,Ue+Ie,le,le+V,V);const{scrollLeft:Lt,scrollTop:sn}=ve;we=pt===0?0:Math.max(0,Math.min(sn+we/pt,ve.scrollHeight-be/pt+Me)),Ze=At===0?0:Math.max(0,Math.min(Lt+Ze/At,ve.scrollWidth-qe/At+Ie)),je+=sn-we,le+=Lt-Ze}Ve.push({el:ve,top:we,left:Ze})}return Ve},XN=n=>n===!1?{block:"end",inline:"nearest"}:(a=>a===Object(a)&&Object.keys(a).length!==0)(n)?n:{block:"start",inline:"nearest"};function PN(n,a){if(!n.isConnected||!(d=>{let p=d;for(;p&&p.parentNode;){if(p.parentNode===document)return!0;p=p.parentNode instanceof ShadowRoot?p.parentNode.host:p.parentNode}return!1})(n))return;const i=(d=>{const p=window.getComputedStyle(d);return{top:parseFloat(p.scrollMarginTop)||0,right:parseFloat(p.scrollMarginRight)||0,bottom:parseFloat(p.scrollMarginBottom)||0,left:parseFloat(p.scrollMarginLeft)||0}})(n);if((d=>typeof d=="object"&&typeof d.behavior=="function")(a))return a.behavior(Ex(n,a));const o=typeof a=="boolean"||a==null?void 0:a.behavior;for(const{el:d,top:p,left:b}of Ex(n,XN(a))){const E=p-i.top+i.bottom,C=b-i.left+i.right;d.scroll({top:E,left:C,behavior:o})}}var mf={},Sx;function QN(){if(Sx)return mf;Sx=1,Object.defineProperty(mf,"__esModule",{value:!0});for(var n=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),a={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},o={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},d=1;d<20;d++)o["f"+d]=111+d;function p(N,z,U){z&&!("byKey"in z)&&(U=z,z=null),Array.isArray(N)||(N=[N]);var F=N.map(function(B){return C(B,z)}),x=function(_){return F.some(function(V){return A(V,_)})},H=U==null?x:x(U);return H}function b(N,z){return p(N,z)}function E(N,z){return p(N,{byKey:!0},z)}function C(N,z){var U=z&&z.byKey,F={};N=N.replace("++","+add");var x=N.split("+"),H=x.length;for(var B in a)F[a[B]]=!1;var _=!0,V=!1,q=void 0;try{for(var K=x[Symbol.iterator](),ie;!(_=(ie=K.next()).done);_=!0){var Ee=ie.value,ue=Ee.endsWith("?")&&Ee.length>1;ue&&(Ee=Ee.slice(0,-1));var xe=R(Ee),ze=a[xe];if(Ee.length>1&&!ze&&!i[Ee]&&!o[xe])throw new TypeError('Unknown modifier: "'+Ee+'"');(H===1||!ze)&&(U?F.key=xe:F.which=O(Ee)),ze&&(F[ze]=ue?null:!0)}}catch(ke){V=!0,q=ke}finally{try{!_&&K.return&&K.return()}finally{if(V)throw q}}return F}function A(N,z){for(var U in N){var F=N[U],x=void 0;if(F!=null&&(U==="key"&&z.key!=null?x=z.key.toLowerCase():U==="which"?x=F===91&&z.which===93?91:z.which:x=z[U],!(x==null&&F===!1)&&x!==F))return!1}return!0}function O(N){N=R(N);var z=o[N]||N.toUpperCase().charCodeAt(0);return z}function R(N){return N=N.toLowerCase(),N=i[N]||N,N}return mf.default=p,mf.isHotkey=p,mf.isCodeHotkey=b,mf.isKeyHotkey=E,mf.parseHotkey=C,mf.compareHotkey=A,mf.toKeyCode=O,mf.toKeyName=R,mf}var iD=QN();const ZN=em(iD);var t3=globalThis.Node,WN=globalThis.Text,tC=n=>n&&n.ownerDocument&&n.ownerDocument.defaultView||null,IN=n=>Hv(n)&&n.nodeType===8,tc=n=>Hv(n)&&n.nodeType===1,Hv=n=>{var a=tC(n);return!!a&&n instanceof a.Node},i2=n=>{var a=n&&n.anchorNode&&tC(n.anchorNode);return!!a&&n instanceof a.Selection},n3=n=>Hv(n)&&n.nodeType===3,KN=n=>n.clipboardData&&n.clipboardData.getData("text/plain")!==""&&n.clipboardData.types.length===1,JN=n=>{var[a,i]=n;if(tc(a)&&a.childNodes.length){var o=i===a.childNodes.length,d=o?i-1:i;for([a,d]=a3(a,d,o?"backward":"forward"),o=d<i;tc(a)&&a.childNodes.length;){var p=o?a.childNodes.length-1:0;a=t6(a,p,o?"backward":"forward")}i=o&&a.textContent!=null?a.textContent.length:0}return[a,i]},e6=n=>{for(var a=n&&n.parentNode;a;){if(a.toString()==="[object ShadowRoot]")return!0;a=a.parentNode}return!1},a3=(n,a,i)=>{for(var{childNodes:o}=n,d=o[a],p=a,b=!1,E=!1;(IN(d)||tc(d)&&d.childNodes.length===0||tc(d)&&d.getAttribute("contenteditable")==="false")&&!(b&&E);){if(p>=o.length){b=!0,p=a-1,i="backward";continue}if(p<0){E=!0,p=a+1,i="forward";continue}d=o[p],a=p,p+=i==="forward"?1:-1}return[d,a]},t6=(n,a,i)=>{var[o]=a3(n,a,i);return o},r3=n=>{var a="";if(n3(n)&&n.nodeValue)return n.nodeValue;if(tc(n)){for(var i of Array.from(n.childNodes))a+=r3(i);var o=getComputedStyle(n).getPropertyValue("display");(o==="block"||o==="list"||n.tagName==="BR")&&(a+=`
37
+ `)}return a},n6=/data-slate-fragment="(.+?)"/m,a6=n=>{var a=n.getData("text/html"),[,i]=a.match(n6)||[];return i},S1=n=>n.getSelection!=null?n.getSelection():document.getSelection(),nC=(n,a,i)=>{var{target:o}=a;if(tc(o)&&o.matches('[contentEditable="false"]'))return!1;var{document:d}=En.getWindow(n);if(d.contains(o))return En.hasDOMNode(n,o,{editable:!0});var p=i.find(b=>{var{addedNodes:E,removedNodes:C}=b;for(var A of E)if(A===o||A.contains(o))return!0;for(var O of C)if(O===o||O.contains(o))return!0});return!p||p===a?!1:nC(n,p,i)},r6=()=>{for(var n=document.activeElement;(a=n)!==null&&a!==void 0&&a.shadowRoot&&(i=n.shadowRoot)!==null&&i!==void 0&&i.activeElement;){var a,i,o;n=(o=n)===null||o===void 0||(o=o.shadowRoot)===null||o===void 0?void 0:o.activeElement}return n},Cx=(n,a)=>!!(n.compareDocumentPosition(a)&t3.DOCUMENT_POSITION_PRECEDING),i6=(n,a)=>!!(n.compareDocumentPosition(a)&t3.DOCUMENT_POSITION_FOLLOWING),pS,gS,i3=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Ax=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),pl=typeof navigator<"u"&&/Android/.test(navigator.userAgent),W0=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Og=typeof navigator<"u"&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),u6=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),u3=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),l6=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),o6=pl&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),s6=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),c6=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),f6=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),uD=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&/Version\/(\d+)/.test(navigator.userAgent)&&((pS=navigator.userAgent.match(/Version\/(\d+)/))!==null&&pS!==void 0&&pS[1]&&parseInt((gS=navigator.userAgent.match(/Version\/(\d+)/))===null||gS===void 0?void 0:gS[1],10)<17);var Mv=(!l6||!o6)&&!u6&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function";function B1(n){"@babel/helpers - typeof";return B1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},B1(n)}function d6(n,a){if(B1(n)!=="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,a);if(B1(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function h6(n){var a=d6(n,"string");return B1(a)==="symbol"?a:String(a)}function l3(n,a,i){return a=h6(a),a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var m6=0;class v6{constructor(){l3(this,"id",void 0),this.id="".concat(m6++)}}var J0=new WeakMap,aC=new WeakMap,rC=new WeakMap,o3=new WeakMap,lD=new WeakMap,u2=new WeakMap,N1=new WeakMap,Mg=new WeakMap,yD=new WeakMap,_D=new WeakMap,l2=new WeakMap,jv=new WeakMap,Ng=new WeakMap,C1=new WeakMap,o2=new WeakMap,iC=new WeakMap,vf=new WeakMap,Zh=new WeakMap,Ql=new WeakMap,zv=new WeakMap,Uv=new WeakMap,s3=new WeakMap,uy=Symbol("placeholder"),c3=Symbol("mark-placeholder"),En={androidPendingDiffs:n=>Ql.get(n),androidScheduleFlush:n=>{var a;(a=iC.get(n))===null||a===void 0||a()},blur:n=>{var a=En.toDOMNode(n,n),i=En.findDocumentOrShadowRoot(n);jv.set(n,!1),i.activeElement===a&&a.blur()},deselect:n=>{var{selection:a}=n,i=En.findDocumentOrShadowRoot(n),o=S1(i);o&&o.rangeCount>0&&o.removeAllRanges(),a&&Ke.deselect(n)},findDocumentOrShadowRoot:n=>{var a=En.toDOMNode(n,n),i=a.getRootNode();return i instanceof Document||i instanceof ShadowRoot?i:a.ownerDocument},findEventRange:(n,a)=>{"nativeEvent"in a&&(a=a.nativeEvent);var{clientX:i,clientY:o,target:d}=a;if(i==null||o==null)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(a));var p=En.toSlateNode(n,a.target),b=En.findPath(n,p);if(Ot.isElement(p)&&L.isVoid(n,p)){var E=d.getBoundingClientRect(),C=n.isInline(p)?i-E.left<E.left+E.width-i:o-E.top<E.top+E.height-o,A=L.point(n,b,{edge:C?"start":"end"}),O=C?L.before(n,A):L.after(n,A);if(O){var R=L.range(n,O);return R}}var N,{document:z}=En.getWindow(n);if(z.caretRangeFromPoint)N=z.caretRangeFromPoint(i,o);else{var U=z.caretPositionFromPoint(i,o);U&&(N=z.createRange(),N.setStart(U.offsetNode,U.offset),N.setEnd(U.offsetNode,U.offset))}if(!N)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(a));var F=En.toSlateRange(n,N,{exactMatch:!1,suppressThrow:!1});return F},findKey:(n,a)=>{var i=yD.get(a);return i||(i=new v6,yD.set(a,i)),i},findPath:(n,a)=>{for(var i=[],o=a;;){var d=rC.get(o);if(d==null){if(L.isEditor(o))return i;break}var p=aC.get(o);if(p==null)break;i.unshift(p),o=d}throw new Error("Unable to find the path for Slate node: ".concat(Gi.stringify(a)))},focus:function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{retries:5};if(!jv.get(a)){if(i.retries<=0)throw new Error("Could not set focus, editor seems stuck with pending operations");if(a.operations.length>0){setTimeout(()=>{En.focus(a,{retries:i.retries-1})},10);return}var o=En.toDOMNode(a,a),d=En.findDocumentOrShadowRoot(a);if(d.activeElement!==o){if(a.selection&&d instanceof Document){var p=S1(d),b=En.toDOMRange(a,a.selection);p==null||p.removeAllRanges(),p==null||p.addRange(b)}a.selection||Ke.select(a,L.start(a,[])),jv.set(a,!0),o.focus({preventScroll:!0})}}},getWindow:n=>{var a=o3.get(n);if(!a)throw new Error("Unable to find a host window element for this editor");return a},hasDOMNode:function(a,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{editable:d=!1}=o,p=En.toDOMNode(a,a),b;try{b=tc(i)?i:i.parentElement}catch(E){if(E instanceof Error&&!E.message.includes('Permission denied to access property "nodeType"'))throw E}return b?b.closest("[data-slate-editor]")===p&&(!d||b.isContentEditable?!0:typeof b.isContentEditable=="boolean"&&b.closest('[contenteditable="false"]')===p||!!b.getAttribute("data-slate-zero-width")):!1},hasEditableTarget:(n,a)=>Hv(a)&&En.hasDOMNode(n,a,{editable:!0}),hasRange:(n,a)=>{var{anchor:i,focus:o}=a;return L.hasPath(n,i.path)&&L.hasPath(n,o.path)},hasSelectableTarget:(n,a)=>En.hasEditableTarget(n,a)||En.isTargetInsideNonReadonlyVoid(n,a),hasTarget:(n,a)=>Hv(a)&&En.hasDOMNode(n,a),insertData:(n,a)=>{n.insertData(a)},insertFragmentData:(n,a)=>n.insertFragmentData(a),insertTextData:(n,a)=>n.insertTextData(a),isComposing:n=>!!Ng.get(n),isFocused:n=>!!jv.get(n),isReadOnly:n=>!!l2.get(n),isTargetInsideNonReadonlyVoid:(n,a)=>{if(l2.get(n))return!1;var i=En.hasTarget(n,a)&&En.toSlateNode(n,a);return Ot.isElement(i)&&L.isVoid(n,i)},setFragmentData:(n,a,i)=>n.setFragmentData(a,i),toDOMNode:(n,a)=>{var i=_D.get(n),o=L.isEditor(a)?lD.get(n):i==null?void 0:i.get(En.findKey(n,a));if(!o)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(Gi.stringify(a)));return o},toDOMPoint:(n,a)=>{var[i]=L.node(n,a.path),o=En.toDOMNode(n,i),d;L.void(n,{at:a})&&(a={path:a.path,offset:0});for(var p="[data-slate-string], [data-slate-zero-width]",b=Array.from(o.querySelectorAll(p)),E=0,C=0;C<b.length;C++){var A=b[C],O=A.childNodes[0];if(!(O==null||O.textContent==null)){var{length:R}=O.textContent,N=A.getAttribute("data-slate-length"),z=N==null?R:parseInt(N,10),U=E+z,F=b[C+1];if(a.offset===U&&F!==null&&F!==void 0&&F.hasAttribute("data-slate-mark-placeholder")){var x,H=F.childNodes[0];d=[H instanceof WN?H:F,(x=F.textContent)!==null&&x!==void 0&&x.startsWith("\uFEFF")?1:0];break}if(a.offset<=U){var B=Math.min(R,Math.max(0,a.offset-E));d=[O,B];break}E=U}}if(!d)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(Gi.stringify(a)));return d},toDOMRange:(n,a)=>{var{anchor:i,focus:o}=a,d=Fe.isBackward(a),p=En.toDOMPoint(n,i),b=Fe.isCollapsed(a)?p:En.toDOMPoint(n,o),E=En.getWindow(n),C=E.document.createRange(),[A,O]=d?b:p,[R,N]=d?p:b,z=tc(A)?A:A.parentElement,U=!!z.getAttribute("data-slate-zero-width"),F=tc(R)?R:R.parentElement,x=!!F.getAttribute("data-slate-zero-width");return C.setStart(A,U?1:O),C.setEnd(R,x?1:N),C},toSlateNode:(n,a)=>{var i=tc(a)?a:a.parentElement;i&&!i.hasAttribute("data-slate-node")&&(i=i.closest("[data-slate-node]"));var o=i?N1.get(i):null;if(!o)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(i));return o},toSlatePoint:(n,a,i)=>{var{exactMatch:o,suppressThrow:d,searchDirection:p="backward"}=i,[b,E]=o?a:JN(a),C=b.parentNode,A=null,O=0;if(C){var R,N,z=En.toDOMNode(n,n),U=C.closest('[data-slate-void="true"]'),F=U&&z.contains(U)?U:null,x=C.closest('[contenteditable="false"]'),H=x&&z.contains(x)?x:null,B=C.closest("[data-slate-leaf]"),_=null;if(B){if(A=B.closest('[data-slate-node="text"]'),A){var V=En.getWindow(n),q=V.document.createRange();q.setStart(A,0),q.setEnd(b,E);var K=q.cloneContents(),ie=[...Array.prototype.slice.call(K.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(K.querySelectorAll("[contenteditable=false]"))];ie.forEach(Te=>{if(pl&&!o&&Te.hasAttribute("data-slate-zero-width")&&Te.textContent.length>0&&Te.textContext!=="\uFEFF"){Te.textContent.startsWith("\uFEFF")&&(Te.textContent=Te.textContent.slice(1));return}Te.parentNode.removeChild(Te)}),O=K.textContent.length,_=A}}else if(F){for(var Ee=F.querySelectorAll("[data-slate-leaf]"),ue=0;ue<Ee.length;ue++){var xe=Ee[ue];if(En.hasDOMNode(n,xe)){B=xe;break}}B?(A=B.closest('[data-slate-node="text"]'),_=B,O=_.textContent.length,_.querySelectorAll("[data-slate-zero-width]").forEach(Te=>{O-=Te.textContent.length})):O=1}else if(H){var ze=Te=>Te?Te.querySelectorAll("[data-slate-leaf]:not(:scope [data-slate-editor] [data-slate-leaf])"):[],ke=H.closest('[data-slate-node="element"]');if(p==="forward"){var je,le=[...ze(ke),...ze(ke==null?void 0:ke.nextElementSibling)];B=(je=le.find(Te=>i6(H,Te)))!==null&&je!==void 0?je:null}else{var Ve,ne=[...ze(ke==null?void 0:ke.previousElementSibling),...ze(ke)];B=(Ve=ne.findLast(Te=>Cx(H,Te)))!==null&&Ve!==void 0?Ve:null}B&&(A=B.closest('[data-slate-node="text"]'),_=B,p==="forward"?O=0:(O=_.textContent.length,_.querySelectorAll("[data-slate-zero-width]").forEach(Te=>{O-=Te.textContent.length})))}_&&O===_.textContent.length&&pl&&_.getAttribute("data-slate-zero-width")==="z"&&(R=_.textContent)!==null&&R!==void 0&&R.startsWith("\uFEFF")&&(C.hasAttribute("data-slate-zero-width")||W0&&(N=_.textContent)!==null&&N!==void 0&&N.endsWith(`
38
+
39
+ `))&&O--}if(pl&&!A&&!o){var ve=C.hasAttribute("data-slate-node")?C:C.closest("[data-slate-node]");if(ve&&En.hasDOMNode(n,ve,{editable:!0})){var be=En.toSlateNode(n,ve),{path:qe,offset:oe}=L.start(n,En.findPath(n,be));return ve.querySelector("[data-slate-leaf]")||(oe=E),{path:qe,offset:oe}}}if(!A){if(d)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(a))}var Se=En.toSlateNode(n,A),Xe=En.findPath(n,Se);return{path:Xe,offset:O}},toSlateRange:(n,a,i)=>{var o,{exactMatch:d,suppressThrow:p}=i,b=i2(a)?a.anchorNode:a.startContainer,E,C,A,O,R;if(b)if(i2(a)){if(W0&&a.rangeCount>1){A=a.focusNode;var N=a.getRangeAt(0),z=a.getRangeAt(a.rangeCount-1);if(A instanceof HTMLTableRowElement&&N.startContainer instanceof HTMLTableRowElement&&z.startContainer instanceof HTMLTableRowElement){let K=function(ie){return ie.childElementCount>0?K(ie.children[0]):ie};var U=N.startContainer,F=z.startContainer,x=K(U.children[N.startOffset]),H=K(F.children[z.startOffset]);O=0,H.childNodes.length>0?E=H.childNodes[0]:E=H,x.childNodes.length>0?A=x.childNodes[0]:A=x,H instanceof HTMLElement?C=H.innerHTML.length:C=0}else N.startContainer===A?(E=z.endContainer,C=z.endOffset,O=N.startOffset):(E=N.startContainer,C=N.endOffset,O=z.startOffset)}else E=a.anchorNode,C=a.anchorOffset,A=a.focusNode,O=a.focusOffset;u3&&e6(E)||W0?R=a.anchorNode===a.focusNode&&a.anchorOffset===a.focusOffset:R=a.isCollapsed}else E=a.startContainer,C=a.startOffset,A=a.endContainer,O=a.endOffset,R=a.collapsed;if(E==null||A==null||C==null||O==null)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(a));W0&&(o=A.textContent)!==null&&o!==void 0&&o.endsWith(`
40
+
41
+ `)&&O===A.textContent.length&&O--;var B=En.toSlatePoint(n,[E,C],{exactMatch:d,suppressThrow:p});if(!B)return null;var _=Cx(E,A)||E===A&&O<C,V=R?B:En.toSlatePoint(n,[A,O],{exactMatch:d,suppressThrow:p,searchDirection:_?"forward":"backward"});if(!V)return null;var q={anchor:B,focus:V};return Fe.isExpanded(q)&&Fe.isForward(q)&&tc(A)&&L.void(n,{at:q.focus,mode:"highest"})&&(q=L.unhangRange(n,q,{voids:!0})),q}};function p6(n,a){var{path:i,diff:o}=a;if(!L.hasPath(n,i))return!1;var d=st.get(n,i);if(!_t.isText(d))return!1;if(o.start!==d.text.length||o.text.length===0)return d.text.slice(o.start,o.start+o.text.length)===o.text;var p=re.next(i);if(!L.hasPath(n,p))return!1;var b=st.get(n,p);return _t.isText(b)&&b.text.startsWith(o.text)}function f3(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];return i.reduce((d,p)=>d.slice(0,p.start)+p.text+d.slice(p.end),n)}function g6(n,a){for(var i=Math.min(n.length,a.length),o=0;o<i;o++)if(n.charAt(o)!==a.charAt(o))return o;return i}function y6(n,a,i){for(var o=Math.min(n.length,a.length,i),d=0;d<o;d++)if(n.charAt(n.length-d-1)!==a.charAt(a.length-d-1))return d;return o}function d3(n,a){var{start:i,end:o,text:d}=a,p=n.slice(i,o),b=g6(p,d),E=Math.min(p.length-b,d.length-b),C=y6(p,d,E),A={start:i+b,end:o-C,text:d.slice(b,d.length-C)};return A.start===A.end&&A.text.length===0?null:A}function b6(n,a,i){var o=Math.min(a.start,i.start),d=Math.max(0,Math.min(a.start+a.text.length,i.end)-i.start),p=f3(n,a,i),b=Math.max(i.start+i.text.length,a.start+a.text.length+(a.start+a.text.length>i.start?i.text.length:0)-d),E=p.slice(o,b),C=Math.max(a.end,i.end-a.text.length+(a.end-a.start));return d3(n,{start:o,end:C,text:E})}function D6(n){var{path:a,diff:i}=n;return{anchor:{path:a,offset:i.start},focus:{path:a,offset:i.end}}}function s2(n,a){var{path:i,offset:o}=a;if(!L.hasPath(n,i))return null;var d=st.get(n,i);if(!_t.isText(d))return null;var p=L.above(n,{match:E=>Ot.isElement(E)&&L.isBlock(n,E),at:i});if(!p)return null;for(;o>d.text.length;){var b=L.next(n,{at:i,match:_t.isText});if(!b||!re.isDescendant(b[1],p[1]))return null;o-=d.text.length,d=b[0],i=b[1]}return{path:i,offset:o}}function wx(n,a){var i=s2(n,a.anchor);if(!i)return null;if(Fe.isCollapsed(a))return{anchor:i,focus:i};var o=s2(n,a.focus);return o?{anchor:i,focus:o}:null}function c2(n,a,i){var o=Ql.get(n),d=o==null?void 0:o.find(O=>{var{path:R}=O;return re.equals(R,a.path)});if(!d||a.offset<=d.diff.start)return zn.transform(a,i,{affinity:"backward"});var{diff:p}=d;if(a.offset<=p.start+p.text.length){var b={path:a.path,offset:p.start},E=zn.transform(b,i,{affinity:"backward"});return E?{path:E.path,offset:E.offset+a.offset-p.start}:null}var C={path:a.path,offset:a.offset-p.text.length+p.end-p.start},A=zn.transform(C,i,{affinity:"backward"});return A?i.type==="split_node"&&re.equals(i.path,a.path)&&C.offset<i.position&&p.start<i.position?A:{path:A.path,offset:A.offset+p.text.length-p.end+p.start}:null}function xx(n,a,i){var o=c2(n,a.anchor,i);if(!o)return null;if(Fe.isCollapsed(a))return{anchor:o,focus:o};var d=c2(n,a.focus,i);return d?{anchor:o,focus:d}:null}function E6(n,a){var{path:i,diff:o,id:d}=n;switch(a.type){case"insert_text":return!re.equals(a.path,i)||a.offset>=o.end?n:a.offset<=o.start?{diff:{start:a.text.length+o.start,end:a.text.length+o.end,text:o.text},id:d,path:i}:{diff:{start:o.start,end:o.end+a.text.length,text:o.text},id:d,path:i};case"remove_text":return!re.equals(a.path,i)||a.offset>=o.end?n:a.offset+a.text.length<=o.start?{diff:{start:o.start-a.text.length,end:o.end-a.text.length,text:o.text},id:d,path:i}:{diff:{start:o.start,end:o.end-a.text.length,text:o.text},id:d,path:i};case"split_node":return!re.equals(a.path,i)||a.position>=o.end?{diff:o,id:d,path:re.transform(i,a,{affinity:"backward"})}:a.position>o.start?{diff:{start:o.start,end:Math.min(a.position,o.end),text:o.text},id:d,path:i}:{diff:{start:o.start-a.position,end:o.end-a.position,text:o.text},id:d,path:re.transform(i,a,{affinity:"forward"})};case"merge_node":return re.equals(a.path,i)?{diff:{start:o.start+a.position,end:o.end+a.position,text:o.text},id:d,path:re.transform(i,a)}:{diff:o,id:d,path:re.transform(i,a)}}var p=re.transform(i,a);return p?{diff:o,path:p,id:d}:null}var Tx=(n,a)=>{var i=(a.top+a.bottom)/2;return n.top<=i&&n.bottom>=i},Ox=(n,a,i)=>{var o=En.toDOMRange(n,a).getBoundingClientRect(),d=En.toDOMRange(n,i).getBoundingClientRect();return Tx(o,d)&&Tx(d,o)},S6=(n,a)=>{var i=L.range(n,Fe.end(a)),o=Array.from(L.positions(n,{at:a})),d=0,p=o.length,b=Math.floor(p/2);if(Ox(n,L.range(n,o[d]),i))return L.range(n,o[d],i);if(o.length<2)return L.range(n,o[o.length-1],i);for(;b!==o.length&&b!==d;)Ox(n,L.range(n,o[b]),i)?p=b:d=b,b=Math.floor((d+p)/2);return L.range(n,o[p],i)};function Rx(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function Bx(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Rx(Object(i),!0).forEach(function(o){l3(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Rx(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var C6=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",o=a,{apply:d,onChange:p,deleteBackward:b,addMark:E,removeMark:C}=o;return _D.set(o,new WeakMap),o.addMark=(A,O)=>{var R,N;(R=iC.get(o))===null||R===void 0||R(),!vf.get(o)&&(N=Ql.get(o))!==null&&N!==void 0&&N.length&&vf.set(o,null),Zh.delete(o),E(A,O)},o.removeMark=A=>{var O;!vf.get(o)&&(O=Ql.get(o))!==null&&O!==void 0&&O.length&&vf.set(o,null),Zh.delete(o),C(A)},o.deleteBackward=A=>{if(A!=="line")return b(A);if(o.selection&&Fe.isCollapsed(o.selection)){var O=L.above(o,{match:U=>Ot.isElement(U)&&L.isBlock(o,U),at:o.selection});if(O){var[,R]=O,N=L.range(o,R,o.selection.anchor),z=S6(o,N);Fe.isCollapsed(z)||Ke.delete(o,{at:z})}}},o.apply=A=>{var O=[],R=[],N=Ql.get(o);if(N!=null&&N.length){var z=N.map(le=>E6(le,A)).filter(Boolean);Ql.set(o,z)}var U=Uv.get(o);U&&Uv.set(o,xx(o,U,A));var F=zv.get(o);if(F!=null&&F.at){var x=zn.isPoint(F==null?void 0:F.at)?c2(o,F.at,A):xx(o,F.at,A);zv.set(o,x?Bx(Bx({},F),{},{at:x}):null)}switch(A.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{O.push(...P0(o,A.path));break}case"set_selection":{var H;(H=C1.get(o))===null||H===void 0||H.unref(),C1.delete(o);break}case"insert_node":case"remove_node":{O.push(...P0(o,re.parent(A.path)));break}case"merge_node":{var B=re.previous(A.path);O.push(...P0(o,B));break}case"move_node":{var _=re.common(re.parent(A.path),re.parent(A.newPath));O.push(...P0(o,_));var V;re.isBefore(A.path,A.newPath)?(O.push(...P0(o,re.parent(A.path))),V=A.newPath):(O.push(...P0(o,re.parent(A.newPath))),V=A.path);var q=st.get(a,re.parent(V)),K=En.findKey(o,q),ie=L.pathRef(o,re.parent(V));R.push([ie,K]);break}}switch(d(A),A.type){case"insert_node":case"remove_node":case"merge_node":case"move_node":case"split_node":case"insert_text":case"remove_text":case"set_selection":J0.set(o,!0)}for(var[Ee,ue]of O){var[xe]=L.node(o,Ee);yD.set(xe,ue)}for(var[ze,ke]of R){if(ze.current){var[je]=L.node(o,ze.current);yD.set(je,ke)}ze.unref()}},o.setFragmentData=A=>{var{selection:O}=o;if(O){var[R,N]=Fe.edges(O),z=L.void(o,{at:R.path}),U=L.void(o,{at:N.path});if(!(Fe.isCollapsed(O)&&!z)){var F=En.toDOMRange(o,O),x=F.cloneContents(),H=x.childNodes[0];if(x.childNodes.forEach(xe=>{xe.textContent&&xe.textContent.trim()!==""&&(H=xe)}),U){var[B]=U,_=F.cloneRange(),V=En.toDOMNode(o,B);_.setEndAfter(V),x=_.cloneContents()}if(z&&(H=x.querySelector("[data-slate-spacer]")),Array.from(x.querySelectorAll("[data-slate-zero-width]")).forEach(xe=>{var ze=xe.getAttribute("data-slate-zero-width")==="n";xe.textContent=ze?`
42
+ `:""}),n3(H)){var q=H.ownerDocument.createElement("span");q.style.whiteSpace="pre",q.appendChild(H),x.appendChild(q),H=q}var K=o.getFragment(),ie=JSON.stringify(K),Ee=window.btoa(encodeURIComponent(ie));H.setAttribute("data-slate-fragment",Ee),A.setData("application/".concat(i),Ee);var ue=x.ownerDocument.createElement("div");return ue.appendChild(x),ue.setAttribute("hidden","true"),x.ownerDocument.body.appendChild(ue),A.setData("text/html",ue.innerHTML),A.setData("text/plain",r3(ue)),x.ownerDocument.body.removeChild(ue),A}}},o.insertData=A=>{o.insertFragmentData(A)||o.insertTextData(A)},o.insertFragmentData=A=>{var O=A.getData("application/".concat(i))||a6(A);if(O){var R=decodeURIComponent(window.atob(O)),N=JSON.parse(R);return o.insertFragment(N),!0}return!1},o.insertTextData=A=>{var O=A.getData("text/plain");if(O){var R=O.split(/\r\n|\r|\n/),N=!1;for(var z of R)N&&Ke.splitNodes(o,{always:!0}),o.insertText(z),N=!0;return!0}return!1},o.onChange=A=>{var O=o2.get(o);O&&O(A),p(A)},o},P0=(n,a)=>{var i=[];for(var[o,d]of L.levels(n,{at:a})){var p=En.findKey(n,o);i.push([d,p])}return i},A6=3,w6={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},x6={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},T6={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},cr=n=>{var a=w6[n],i=x6[n],o=T6[n],d=a&&iD.isHotkey(a),p=i&&iD.isHotkey(i),b=o&&iD.isHotkey(o);return E=>!!(d&&d(E)||Ax&&p&&p(E)||!Ax&&b&&b(E))},vr={isBold:cr("bold"),isCompose:cr("compose"),isMoveBackward:cr("moveBackward"),isMoveForward:cr("moveForward"),isDeleteBackward:cr("deleteBackward"),isDeleteForward:cr("deleteForward"),isDeleteLineBackward:cr("deleteLineBackward"),isDeleteLineForward:cr("deleteLineForward"),isDeleteWordBackward:cr("deleteWordBackward"),isDeleteWordForward:cr("deleteWordForward"),isExtendBackward:cr("extendBackward"),isExtendForward:cr("extendForward"),isExtendLineBackward:cr("extendLineBackward"),isExtendLineForward:cr("extendLineForward"),isItalic:cr("italic"),isMoveLineBackward:cr("moveLineBackward"),isMoveLineForward:cr("moveLineForward"),isMoveWordBackward:cr("moveWordBackward"),isMoveWordForward:cr("moveWordForward"),isRedo:cr("redo"),isSoftBreak:cr("insertSoftBreak"),isSplitBlock:cr("splitBlock"),isTransposeCharacter:cr("transposeCharacter"),isUndo:cr("undo")};function O6(n,a){if(n==null)return{};var i={},o=Object.keys(n),d,p;for(p=0;p<o.length;p++)d=o[p],!(a.indexOf(d)>=0)&&(i[d]=n[d]);return i}function Nx(n,a){if(n==null)return{};var i=O6(n,a),o,d;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);for(d=0;d<p.length;d++)o=p[d],!(a.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(i[o]=n[o])}return i}var R6=["anchor","focus"],B6=["anchor","focus"],N6=(n,a)=>Object.keys(n).length===Object.keys(a).length&&Object.keys(n).every(i=>a.hasOwnProperty(i)&&n[i]===a[i]),h3=(n,a)=>{var i=Nx(n,R6),o=Nx(a,B6);return n[uy]===a[uy]&&N6(i,o)},k6=(n,a)=>{if(n.length!==a.length)return!1;for(var i=0;i<n.length;i++){var o=n[i],d=a[i];if(!Fe.equals(o,d)||!h3(o,d))return!1}return!0},M6=(n,a)=>{if(n.length!==a.length)return!1;for(var i=0;i<n.length;i++){var o=n[i],d=a[i];if(o.anchor.offset!==d.anchor.offset||o.focus.offset!==d.focus.offset||!h3(o,d))return!1}return!0},_g=[],_6=function(){return _g.some(function(n){return n.activeTargets.length>0})},F6=function(){return _g.some(function(n){return n.skippedTargets.length>0})},kx="ResizeObserver loop completed with undelivered notifications.",z6=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:kx}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=kx),window.dispatchEvent(n)},k1;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(k1||(k1={}));var Fg=function(n){return Object.freeze(n)},U6=function(){function n(a,i){this.inlineSize=a,this.blockSize=i,Fg(this)}return n}(),m3=function(){function n(a,i,o,d){return this.x=a,this.y=i,this.width=o,this.height=d,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Fg(this)}return n.prototype.toJSON=function(){var a=this,i=a.x,o=a.y,d=a.top,p=a.right,b=a.bottom,E=a.left,C=a.width,A=a.height;return{x:i,y:o,top:d,right:p,bottom:b,left:E,width:C,height:A}},n.fromRect=function(a){return new n(a.x,a.y,a.width,a.height)},n}(),uC=function(n){return n instanceof SVGElement&&"getBBox"in n},v3=function(n){if(uC(n)){var a=n.getBBox(),i=a.width,o=a.height;return!i&&!o}var d=n,p=d.offsetWidth,b=d.offsetHeight;return!(p||b||n.getClientRects().length)},Mx=function(n){var a;if(n instanceof Element)return!0;var i=(a=n==null?void 0:n.ownerDocument)===null||a===void 0?void 0:a.defaultView;return!!(i&&n instanceof i.Element)},j6=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},A1=typeof window<"u"?window:{},Lb=new WeakMap,_x=/auto|scroll/,L6=/^tb|vertical/,H6=/msie|trident/i.test(A1.navigator&&A1.navigator.userAgent),yd=function(n){return parseFloat(n||"0")},ey=function(n,a,i){return n===void 0&&(n=0),a===void 0&&(a=0),i===void 0&&(i=!1),new U6((i?a:n)||0,(i?n:a)||0)},Fx=Fg({devicePixelContentBoxSize:ey(),borderBoxSize:ey(),contentBoxSize:ey(),contentRect:new m3(0,0,0,0)}),p3=function(n,a){if(a===void 0&&(a=!1),Lb.has(n)&&!a)return Lb.get(n);if(v3(n))return Lb.set(n,Fx),Fx;var i=getComputedStyle(n),o=uC(n)&&n.ownerSVGElement&&n.getBBox(),d=!H6&&i.boxSizing==="border-box",p=L6.test(i.writingMode||""),b=!o&&_x.test(i.overflowY||""),E=!o&&_x.test(i.overflowX||""),C=o?0:yd(i.paddingTop),A=o?0:yd(i.paddingRight),O=o?0:yd(i.paddingBottom),R=o?0:yd(i.paddingLeft),N=o?0:yd(i.borderTopWidth),z=o?0:yd(i.borderRightWidth),U=o?0:yd(i.borderBottomWidth),F=o?0:yd(i.borderLeftWidth),x=R+A,H=C+O,B=F+z,_=N+U,V=E?n.offsetHeight-_-n.clientHeight:0,q=b?n.offsetWidth-B-n.clientWidth:0,K=d?x+B:0,ie=d?H+_:0,Ee=o?o.width:yd(i.width)-K-q,ue=o?o.height:yd(i.height)-ie-V,xe=Ee+x+q+B,ze=ue+H+V+_,ke=Fg({devicePixelContentBoxSize:ey(Math.round(Ee*devicePixelRatio),Math.round(ue*devicePixelRatio),p),borderBoxSize:ey(xe,ze,p),contentBoxSize:ey(Ee,ue,p),contentRect:new m3(R,C,Ee,ue)});return Lb.set(n,ke),ke},g3=function(n,a,i){var o=p3(n,i),d=o.borderBoxSize,p=o.contentBoxSize,b=o.devicePixelContentBoxSize;switch(a){case k1.DEVICE_PIXEL_CONTENT_BOX:return b;case k1.BORDER_BOX:return d;default:return p}},V6=function(){function n(a){var i=p3(a);this.target=a,this.contentRect=i.contentRect,this.borderBoxSize=Fg([i.borderBoxSize]),this.contentBoxSize=Fg([i.contentBoxSize]),this.devicePixelContentBoxSize=Fg([i.devicePixelContentBoxSize])}return n}(),y3=function(n){if(v3(n))return 1/0;for(var a=0,i=n.parentNode;i;)a+=1,i=i.parentNode;return a},q6=function(){var n=1/0,a=[];_g.forEach(function(b){if(b.activeTargets.length!==0){var E=[];b.activeTargets.forEach(function(A){var O=new V6(A.target),R=y3(A.target);E.push(O),A.lastReportedSize=g3(A.target,A.observedBox),R<n&&(n=R)}),a.push(function(){b.callback.call(b.observer,E,b.observer)}),b.activeTargets.splice(0,b.activeTargets.length)}});for(var i=0,o=a;i<o.length;i++){var d=o[i];d()}return n},zx=function(n){_g.forEach(function(i){i.activeTargets.splice(0,i.activeTargets.length),i.skippedTargets.splice(0,i.skippedTargets.length),i.observationTargets.forEach(function(d){d.isActive()&&(y3(d.target)>n?i.activeTargets.push(d):i.skippedTargets.push(d))})})},Y6=function(){var n=0;for(zx(n);_6();)n=q6(),zx(n);return F6()&&z6(),n>0},yS,b3=[],G6=function(){return b3.splice(0).forEach(function(n){return n()})},$6=function(n){if(!yS){var a=0,i=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return G6()}).observe(i,o),yS=function(){i.textContent="".concat(a?a--:a++)}}b3.push(n),yS()},X6=function(n){$6(function(){requestAnimationFrame(n)})},oD=0,P6=function(){return!!oD},Q6=250,Z6={attributes:!0,characterData:!0,childList:!0,subtree:!0},Ux=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],jx=function(n){return n===void 0&&(n=0),Date.now()+n},bS=!1,W6=function(){function n(){var a=this;this.stopped=!0,this.listener=function(){return a.schedule()}}return n.prototype.run=function(a){var i=this;if(a===void 0&&(a=Q6),!bS){bS=!0;var o=jx(a);X6(function(){var d=!1;try{d=Y6()}finally{if(bS=!1,a=o-jx(),!P6())return;d?i.run(1e3):a>0?i.run(a):i.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var a=this,i=function(){return a.observer&&a.observer.observe(document.body,Z6)};document.body?i():A1.addEventListener("DOMContentLoaded",i)},n.prototype.start=function(){var a=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Ux.forEach(function(i){return A1.addEventListener(i,a.listener,!0)}))},n.prototype.stop=function(){var a=this;this.stopped||(this.observer&&this.observer.disconnect(),Ux.forEach(function(i){return A1.removeEventListener(i,a.listener,!0)}),this.stopped=!0)},n}(),f2=new W6,Lx=function(n){!oD&&n>0&&f2.start(),oD+=n,!oD&&f2.stop()},I6=function(n){return!uC(n)&&!j6(n)&&getComputedStyle(n).display==="inline"},K6=function(){function n(a,i){this.target=a,this.observedBox=i||k1.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var a=g3(this.target,this.observedBox,!0);return I6(this.target)&&(this.lastReportedSize=a),this.lastReportedSize.inlineSize!==a.inlineSize||this.lastReportedSize.blockSize!==a.blockSize},n}(),J6=function(){function n(a,i){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=a,this.callback=i}return n}(),Hb=new WeakMap,Hx=function(n,a){for(var i=0;i<n.length;i+=1)if(n[i].target===a)return i;return-1},Vb=function(){function n(){}return n.connect=function(a,i){var o=new J6(a,i);Hb.set(a,o)},n.observe=function(a,i,o){var d=Hb.get(a),p=d.observationTargets.length===0;Hx(d.observationTargets,i)<0&&(p&&_g.push(d),d.observationTargets.push(new K6(i,o&&o.box)),Lx(1),f2.schedule())},n.unobserve=function(a,i){var o=Hb.get(a),d=Hx(o.observationTargets,i),p=o.observationTargets.length===1;d>=0&&(p&&_g.splice(_g.indexOf(o),1),o.observationTargets.splice(d,1),Lx(-1))},n.disconnect=function(a){var i=this,o=Hb.get(a);o.observationTargets.slice().forEach(function(d){return i.unobserve(a,d.target)}),o.activeTargets.splice(0,o.activeTargets.length)},n}(),e8=function(){function n(a){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof a!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Vb.connect(this,a)}return n.prototype.observe=function(a,i){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Mx(a))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Vb.observe(this,a,i)},n.prototype.unobserve=function(a){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Mx(a))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Vb.unobserve(this,a)},n.prototype.disconnect=function(){Vb.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();function t8(n,a){if(n==null)return{};var i={},o=Object.keys(n),d,p;for(p=0;p<o.length;p++)d=o[p],!(a.indexOf(d)>=0)&&(i[d]=n[d]);return i}function bD(n,a){if(n==null)return{};var i=t8(n,a),o,d;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);for(d=0;d<p.length;d++)o=p[d],!(a.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(i[o]=n[o])}return i}function M1(n){"@babel/helpers - typeof";return M1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},M1(n)}function n8(n,a){if(M1(n)!=="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,a);if(M1(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function a8(n){var a=n8(n,"string");return M1(a)==="symbol"?a:String(a)}function wd(n,a,i){return a=a8(a),a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var lC=te.createContext(null),Xv=()=>{var n=te.useContext(lC);if(!n)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return n},yt=En;function Vx(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function qb(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Vx(Object(i),!0).forEach(function(o){wd(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Vx(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var r8=25,i8=200,u8=function(){},l8=n=>(n==null?void 0:n.constructor.name)==="DataTransfer";function o8(n){var{editor:a,scheduleOnDOMSelectionChange:i,onDOMSelectionChange:o}=n,d=!1,p=null,b=null,E=null,C=0,A=!1,O=()=>{var ke=Uv.get(a);if(Uv.delete(a),ke){var{selection:je}=a,le=wx(a,ke);le&&(!je||!Fe.equals(le,je))&&Ke.select(a,le)}},R=()=>{var ke=zv.get(a);if(zv.delete(a),!!ke){if(ke.at){var je=zn.isPoint(ke.at)?s2(a,ke.at):wx(a,ke.at);if(!je)return;var le=L.range(a,je);(!a.selection||!Fe.equals(a.selection,le))&&Ke.select(a,je)}ke.run()}},N=()=>{if(b&&(clearTimeout(b),b=null),E&&(clearTimeout(E),E=null),!V()&&!_()){O();return}d||(d=!0,setTimeout(()=>d=!1)),_()&&(d="action");var ke=a.selection&&L.rangeRef(a,a.selection,{affinity:"forward"});Zh.set(a,a.marks),u8("flush",zv.get(a),Ql.get(a));for(var je=V(),le;le=(Ve=Ql.get(a))===null||Ve===void 0?void 0:Ve[0];){var Ve,ne,ve=vf.get(a);ve!==void 0&&(vf.delete(a),a.marks=ve),ve&&A===!1&&(A=null);var be=D6(le);(!a.selection||!Fe.equals(a.selection,be))&&Ke.select(a,be),le.diff.text?L.insertText(a,le.diff.text):L.deleteFragment(a),Ql.set(a,(ne=Ql.get(a))===null||ne===void 0?void 0:ne.filter(Se=>{var{id:Xe}=Se;return Xe!==le.id})),p6(a,le)||(je=!1,zv.delete(a),Zh.delete(a),d="action",Uv.delete(a),i.cancel(),o.cancel(),ke==null||ke.unref())}var qe=ke==null?void 0:ke.unref();if(qe&&!Uv.get(a)&&(!a.selection||!Fe.equals(qe,a.selection))&&Ke.select(a,qe),_()){R();return}je&&i(),i.flush(),o.flush(),O();var oe=Zh.get(a);Zh.delete(a),oe!==void 0&&(a.marks=oe,a.onChange())},z=ke=>{p&&clearTimeout(p),p=setTimeout(()=>{Ng.set(a,!1),N()},r8)},U=ke=>{Ng.set(a,!0),p&&(clearTimeout(p),p=null)},F=function(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,le=u2.get(a);if(le){if(V()||je){le.style.display="none";return}le.style.removeProperty("display")}},x=(ke,je)=>{var le,Ve=(le=Ql.get(a))!==null&&le!==void 0?le:[];Ql.set(a,Ve);var ne=st.leaf(a,ke),ve=Ve.findIndex(oe=>re.equals(oe.path,ke));if(ve<0){var be=d3(ne.text,je);be&&Ve.push({path:ke,diff:je,id:C++}),F();return}var qe=b6(ne.text,Ve[ve].diff,je);if(!qe){Ve.splice(ve,1),F();return}Ve[ve]=qb(qb({},Ve[ve]),{},{diff:qe})},H=function(je){var{at:le}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};A=!1,Uv.delete(a),i.cancel(),o.cancel(),_()&&N(),zv.set(a,{at:le,run:je}),E=setTimeout(N)},B=ke=>{var je;if(b&&(clearTimeout(b),b=null),!J0.get(a)){var{inputType:le}=ke,Ve=null,ne=ke.dataTransfer||ke.data||void 0;A!==!1&&le!=="insertText"&&le!=="insertCompositionText"&&(A=!1);var[ve]=ke.getTargetRanges();ve&&(Ve=yt.toSlateRange(a,ve,{exactMatch:!1,suppressThrow:!0}));var be=yt.getWindow(a),qe=be.getSelection();if(!Ve&&qe&&(ve=qe,Ve=yt.toSlateRange(a,qe,{exactMatch:!1,suppressThrow:!0})),Ve=(je=Ve)!==null&&je!==void 0?je:a.selection,!!Ve){var oe=!0;if(le.startsWith("delete")){if(Fe.isExpanded(Ve)){var[Se,Xe]=Fe.edges(Ve),Te=st.leaf(a,Se.path);if(Te.text.length===Se.offset&&Xe.offset===0){var Ye=L.next(a,{at:Se.path,match:_t.isText});Ye&&re.equals(Ye[1],Xe.path)&&(Ve={anchor:Xe,focus:Xe})}}var We=le.endsWith("Backward")?"backward":"forward",[Q,Ue]=Fe.edges(Ve),[Ce,we]=L.leaf(a,Q.path),Ze={text:"",start:Q.offset,end:Ue.offset},Ie=Ql.get(a),Me=Ie==null?void 0:Ie.find(rn=>re.equals(rn.path,we)),At=Me?[Me.diff,Ze]:[Ze],pt=f3(Ce.text,...At);if(pt.length===0&&(oe=!1),Fe.isExpanded(Ve)){if(oe&&re.equals(Ve.anchor.path,Ve.focus.path)){var Lt={path:Ve.anchor.path,offset:Q.offset},sn=L.range(a,Lt,Lt);return ie(sn),x(Ve.anchor.path,{text:"",end:Ue.offset,start:Q.offset})}return H(()=>L.deleteFragment(a,{direction:We}),{at:Ve})}}switch(le){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return H(()=>L.deleteFragment(a),{at:Ve});case"deleteContent":case"deleteContentForward":{var{anchor:xt}=Ve;if(oe&&Fe.isCollapsed(Ve)){var ln=st.leaf(a,xt.path);if(xt.offset<ln.text.length)return x(xt.path,{text:"",start:xt.offset,end:xt.offset+1})}return H(()=>L.deleteForward(a),{at:Ve})}case"deleteContentBackward":{var Zt,{anchor:yn}=Ve,I=i2(ve)?ve.isCollapsed:!!((Zt=ve)!==null&&Zt!==void 0&&Zt.collapsed);return oe&&I&&Fe.isCollapsed(Ve)&&yn.offset>0?x(yn.path,{text:"",start:yn.offset-1,end:yn.offset}):H(()=>L.deleteBackward(a),{at:Ve})}case"deleteEntireSoftLine":return H(()=>{L.deleteBackward(a,{unit:"line"}),L.deleteForward(a,{unit:"line"})},{at:Ve});case"deleteHardLineBackward":return H(()=>L.deleteBackward(a,{unit:"block"}),{at:Ve});case"deleteSoftLineBackward":return H(()=>L.deleteBackward(a,{unit:"line"}),{at:Ve});case"deleteHardLineForward":return H(()=>L.deleteForward(a,{unit:"block"}),{at:Ve});case"deleteSoftLineForward":return H(()=>L.deleteForward(a,{unit:"line"}),{at:Ve});case"deleteWordBackward":return H(()=>L.deleteBackward(a,{unit:"word"}),{at:Ve});case"deleteWordForward":return H(()=>L.deleteForward(a,{unit:"word"}),{at:Ve});case"insertLineBreak":return H(()=>L.insertSoftBreak(a),{at:Ve});case"insertParagraph":return H(()=>L.insertBreak(a),{at:Ve});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(l8(ne))return H(()=>yt.insertData(a,ne),{at:Ve});var rt=ne??"";if(vf.get(a)&&(rt=rt.replace("\uFEFF","")),le==="insertText"&&/.*\n.*\n$/.test(rt)&&(rt=rt.slice(0,-1)),rt.includes(`
43
+ `))return H(()=>{var rn=rt.split(`
44
+ `);rn.forEach((Un,jn)=>{Un&&L.insertText(a,Un),jn!==rn.length-1&&L.insertSoftBreak(a)})},{at:Ve});if(re.equals(Ve.anchor.path,Ve.focus.path)){var[ct,kt]=Fe.edges(Ve),Ft={start:ct.offset,end:kt.offset,text:rt};if(rt&&A&&le==="insertCompositionText"){var Mt=A.start+A.text.search(/\S|$/),St=Ft.start+Ft.text.search(/\S|$/);St===Mt+1&&Ft.end===A.start+A.text.length?(Ft.start-=1,A=null,xe()):A=!1}else le==="insertText"?A===null?A=Ft:A&&Fe.isCollapsed(Ve)&&A.end+A.text.length===ct.offset?A=qb(qb({},A),{},{text:A.text+rt}):A=!1:A=!1;if(oe){x(ct.path,Ft);return}}return H(()=>L.insertText(a,rt),{at:Ve})}}}}},_=()=>!!zv.get(a),V=()=>{var ke;return!!((ke=Ql.get(a))!==null&&ke!==void 0&&ke.length)},q=()=>_()||V(),K=()=>d,ie=ke=>{Uv.set(a,ke),b&&(clearTimeout(b),b=null);var{selection:je}=a;if(ke){var le=!je||!re.equals(je.anchor.path,ke.anchor.path),Ve=!je||!re.equals(je.anchor.path.slice(0,-1),ke.anchor.path.slice(0,-1));(le&&A||Ve)&&(A=!1),(le||V())&&(b=setTimeout(N,i8))}},Ee=()=>{(_()||!V())&&N()},ue=ke=>{V()||(F(!0),setTimeout(F))},xe=()=>{_()||(E=setTimeout(N))},ze=ke=>{if(!(V()||_())&&ke.some(le=>nC(a,le,ke))){var je;(je=s3.get(a))===null||je===void 0||je()}};return{flush:N,scheduleFlush:xe,hasPendingDiffs:V,hasPendingAction:_,hasPendingChanges:q,isFlushing:K,handleUserSelect:ie,handleCompositionEnd:z,handleCompositionStart:U,handleDOMBeforeInput:B,handleKeyDown:ue,handleDomMutations:ze,handleInput:Ee}}function s8(){var n=te.useRef(!1);return te.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),n.current}var _1=uD?te.useLayoutEffect:te.useEffect;function c8(n,a,i){var[o]=te.useState(()=>new MutationObserver(a));_1(()=>{o.takeRecords()}),te.useEffect(()=>{if(!n.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return o.observe(n.current,i),()=>o.disconnect()},[o,n,i])}var f8=["node"];function qx(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function d8(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?qx(Object(i),!0).forEach(function(o){wd(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):qx(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var h8={subtree:!0,childList:!0,characterData:!0},m8=pl?n=>{var{node:a}=n,i=bD(n,f8);if(!pl)return null;var o=Xv(),d=s8(),[p]=te.useState(()=>o8(d8({editor:o},i)));return c8(a,p.handleDomMutations,h8),iC.set(o,p.scheduleFlush),d&&p.flush(),p}:()=>null;function Yx(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function v8(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Yx(Object(i),!0).forEach(function(o){wd(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Yx(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var p8=n=>{var{isLast:a,leaf:i,parent:o,text:d}=n,p=Xv(),b=yt.findPath(p,d),E=re.parent(b),C=!!i[c3];return p.isVoid(o)?te.createElement(DS,{length:st.string(o).length}):i.text===""&&o.children[o.children.length-1]===d&&!p.isInline(o)&&L.string(p,E)===""?te.createElement(DS,{isLineBreak:!0,isMarkPlaceholder:C}):i.text===""?te.createElement(DS,{isMarkPlaceholder:C}):a&&i.text.slice(-1)===`
45
+ `?te.createElement(Gx,{isTrailing:!0,text:i.text}):te.createElement(Gx,{text:i.text})},Gx=n=>{var{text:a,isTrailing:i=!1}=n,o=te.useRef(null),d=()=>"".concat(a??"").concat(i?`
46
+ `:""),[p]=te.useState(d);return _1(()=>{var b=d();o.current&&o.current.textContent!==b&&(o.current.textContent=b)}),te.createElement(g8,{ref:o},p)},g8=te.memo(te.forwardRef((n,a)=>te.createElement("span",{"data-slate-string":!0,ref:a},n.children))),DS=n=>{var{length:a=0,isLineBreak:i=!1,isMarkPlaceholder:o=!1}=n,d={"data-slate-zero-width":i?"n":"z","data-slate-length":a};return o&&(d["data-slate-mark-placeholder"]=!0),te.createElement("span",v8({},d),!(pl||i3)||!i?"\uFEFF":null,i?te.createElement("br",null):null)};function $x(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function D3(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?$x(Object(i),!0).forEach(function(o){wd(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):$x(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var y8=pl?300:0;function b8(n,a){n.current&&(n.current.disconnect(),a&&(n.current=null))}function Xx(n){n.current&&(clearTimeout(n.current),n.current=null)}var D8=n=>{var{leaf:a,isLast:i,text:o,parent:d,renderPlaceholder:p,renderLeaf:b=B=>te.createElement(S8,D3({},B))}=n,E=Xv(),C=te.useRef(null),A=te.useRef(null),[O,R]=te.useState(!1),N=te.useRef(null),z=te.useCallback(B=>{if(b8(C,B==null),B==null){var _;u2.delete(E),(_=a.onPlaceholderResize)===null||_===void 0||_.call(a,null)}else{if(u2.set(E,B),!C.current){var V=window.ResizeObserver||e8;C.current=new V(()=>{var q;(q=a.onPlaceholderResize)===null||q===void 0||q.call(a,B)})}C.current.observe(B),A.current=B}},[A,a,E]),U=te.createElement(p8,{isLast:i,leaf:a,parent:d,text:o}),F=!!a[uy];if(te.useEffect(()=>(F?N.current||(N.current=setTimeout(()=>{R(!0),N.current=null},y8)):(Xx(N),R(!1)),()=>Xx(N)),[F,R]),F&&O){var x={children:a.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:Og?"inherit":void 0},contentEditable:!1,ref:z}};U=te.createElement(te.Fragment,null,p(x),U)}var H={"data-slate-leaf":!0};return b({attributes:H,children:U,leaf:a,text:o})},E8=te.memo(D8,(n,a)=>a.parent===n.parent&&a.isLast===n.isLast&&a.renderLeaf===n.renderLeaf&&a.renderPlaceholder===n.renderPlaceholder&&a.text===n.text&&_t.equals(a.leaf,n.leaf)&&a.leaf[uy]===n.leaf[uy]),S8=n=>{var{attributes:a,children:i}=n;return te.createElement("span",D3({},a),i)},C8=n=>{for(var{decorations:a,isLast:i,parent:o,renderPlaceholder:d,renderLeaf:p,text:b}=n,E=Xv(),C=te.useRef(null),A=_t.decorations(b,a),O=yt.findKey(E,b),R=[],N=0;N<A.length;N++){var z=A[N];R.push(te.createElement(E8,{isLast:i&&N===A.length-1,key:"".concat(O.id,"-").concat(N),renderPlaceholder:d,leaf:z,text:b,parent:o,renderLeaf:p}))}var U=te.useCallback(F=>{var x=_D.get(E);F?(x==null||x.set(O,F),Mg.set(b,F),N1.set(F,b)):(x==null||x.delete(O),Mg.delete(b),C.current&&N1.delete(C.current)),C.current=F},[C,E,O,b]);return te.createElement("span",{"data-slate-node":"text",ref:U},R)},E3=te.memo(C8,(n,a)=>a.parent===n.parent&&a.isLast===n.isLast&&a.renderLeaf===n.renderLeaf&&a.renderPlaceholder===n.renderPlaceholder&&a.text===n.text&&M6(a.decorations,n.decorations));function Px(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function d2(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Px(Object(i),!0).forEach(function(o){wd(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Px(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var A8=n=>{var{decorations:a,element:i,renderElement:o=B=>te.createElement(x8,d2({},B)),renderPlaceholder:d,renderLeaf:p,selection:b}=n,E=Xv(),C=R8(),A=E.isInline(i),O=yt.findKey(E,i),R=te.useCallback(B=>{var _=_D.get(E);B?(_==null||_.set(O,B),Mg.set(i,B),N1.set(B,i)):(_==null||_.delete(O),Mg.delete(i))},[E,O,i]),N=A3({decorations:a,node:i,renderElement:o,renderPlaceholder:d,renderLeaf:p,selection:b}),z={"data-slate-node":"element",ref:R};if(A&&(z["data-slate-inline"]=!0),!A&&L.hasInlines(E,i)){var U=st.string(i),F=IO(U);F==="rtl"&&(z.dir=F)}if(L.isVoid(E,i)){z["data-slate-void"]=!0,!C&&A&&(z.contentEditable=!1);var x=A?"span":"div",[[H]]=st.texts(i);N=te.createElement(x,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},te.createElement(E3,{renderPlaceholder:d,decorations:[],isLast:!1,parent:i,text:H})),aC.set(H,0),rC.set(H,i)}return o({attributes:z,children:N,element:i})},w8=te.memo(A8,(n,a)=>n.element===a.element&&n.renderElement===a.renderElement&&n.renderLeaf===a.renderLeaf&&n.renderPlaceholder===a.renderPlaceholder&&k6(n.decorations,a.decorations)&&(n.selection===a.selection||!!n.selection&&!!a.selection&&Fe.equals(n.selection,a.selection))),x8=n=>{var{attributes:a,children:i,element:o}=n,d=Xv(),p=d.isInline(o)?"span":"div";return te.createElement(p,d2(d2({},a),{},{style:{position:"relative"}}),i)},S3=te.createContext(()=>[]),T8=()=>te.useContext(S3),C3=te.createContext(!1),O8=()=>te.useContext(C3),A3=n=>{var{decorations:a,node:i,renderElement:o,renderPlaceholder:d,renderLeaf:p,selection:b}=n,E=T8(),C=Xv();J0.set(C,!1);for(var A=yt.findPath(C,i),O=[],R=Ot.isElement(i)&&!C.isInline(i)&&L.hasInlines(C,i),N=0;N<i.children.length;N++){var z=A.concat(N),U=i.children[N],F=yt.findKey(C,U),x=L.range(C,z),H=b&&Fe.intersection(x,b),B=E([U,z]);for(var _ of a){var V=Fe.intersection(_,x);V&&B.push(V)}Ot.isElement(U)?O.push(te.createElement(C3.Provider,{key:"provider-".concat(F.id),value:!!H},te.createElement(w8,{decorations:B,element:U,key:F.id,renderElement:o,renderPlaceholder:d,renderLeaf:p,selection:H}))):O.push(te.createElement(E3,{decorations:B,key:F.id,isLast:R&&N===i.children.length-1,parent:i,renderPlaceholder:d,renderLeaf:p,text:U})),aC.set(U,N),rC.set(U,i)}return O},w3=te.createContext(!1),R8=()=>te.useContext(w3),x3=te.createContext(null),ac=()=>{var n=te.useContext(x3);if(!n)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:a}=n;return a};function B8(){var n=Xv(),a=te.useRef(!1),i=te.useRef(0),o=te.useCallback(()=>{if(!a.current){a.current=!0;var d=yt.getWindow(n);d.cancelAnimationFrame(i.current),i.current=d.requestAnimationFrame(()=>{a.current=!1})}},[n]);return te.useEffect(()=>()=>cancelAnimationFrame(i.current),[]),{receivedUserInput:a,onUserInput:o}}var N8=(n,a)=>{var i=[],o=()=>{i=[]},d=b=>{if(a.current){var E=b.filter(C=>nC(n,C,b));i.push(...E)}};function p(){i.length>0&&(i.reverse().forEach(b=>{b.type!=="characterData"&&(b.removedNodes.forEach(E=>{b.target.insertBefore(E,b.nextSibling)}),b.addedNodes.forEach(E=>{b.target.removeChild(E)}))}),o())}return{registerMutations:d,restoreDOM:p,clear:o}},k8={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class T3 extends te.Component{constructor(){super(...arguments),wd(this,"context",null),wd(this,"manager",null),wd(this,"mutationObserver",null)}observe(){var a,{node:i}=this.props;if(!i.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");(a=this.mutationObserver)===null||a===void 0||a.observe(i.current,k8)}componentDidMount(){var{receivedUserInput:a}=this.props,i=this.context;this.manager=N8(i,a),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var a,i,o,d=(a=this.mutationObserver)===null||a===void 0?void 0:a.takeRecords();if(d!=null&&d.length){var p;(p=this.manager)===null||p===void 0||p.registerMutations(d)}return(i=this.mutationObserver)===null||i===void 0||i.disconnect(),(o=this.manager)===null||o===void 0||o.restoreDOM(),null}componentDidUpdate(){var a;(a=this.manager)===null||a===void 0||a.clear(),this.observe()}componentWillUnmount(){var a;(a=this.mutationObserver)===null||a===void 0||a.disconnect()}render(){return this.props.children}}wd(T3,"contextType",lC);var M8=pl?T3:n=>{var{children:a}=n;return te.createElement(te.Fragment,null,a)},_8=te.createContext(!1),F8=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],z8=["text"];function Qx(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function bd(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?Qx(Object(i),!0).forEach(function(o){wd(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Qx(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}var U8=n=>te.createElement(te.Fragment,null,A3(n)),j8=te.forwardRef((n,a)=>{var i=te.useCallback(Q=>te.createElement(L8,bd({},Q)),[]),{autoFocus:o,decorate:d=H8,onDOMBeforeInput:p,placeholder:b,readOnly:E=!1,renderElement:C,renderLeaf:A,renderPlaceholder:O=i,scrollSelectionIntoView:R=V8,style:N={},as:z="div",disableDefaultStyles:U=!1}=n,F=bD(n,F8),x=ac(),[H,B]=te.useState(!1),_=te.useRef(null),V=te.useRef([]),[q,K]=te.useState(),ie=te.useRef(!1),{onUserInput:Ee,receivedUserInput:ue}=B8(),[,xe]=te.useReducer(Q=>Q+1,0);s3.set(x,xe),l2.set(x,E);var ze=te.useMemo(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);te.useEffect(()=>{_.current&&o&&_.current.focus()},[o]);var ke=te.useRef(),je=te.useMemo(()=>GN(()=>{if(J0.get(x)){je();return}var Q=yt.toDOMNode(x,x),Ue=Q.getRootNode();if(!ie.current&&Og&&Ue instanceof ShadowRoot){ie.current=!0;var Ce=r6();Ce?document.execCommand("indent"):Ke.deselect(x),ie.current=!1;return}var we=ke.current;if((pl||!yt.isComposing(x))&&(!ze.isUpdatingSelection||we!=null&&we.isFlushing())&&!ze.isDraggingInternally){var Ze=yt.findDocumentOrShadowRoot(x),{activeElement:Ie}=Ze,Me=yt.toDOMNode(x,x),At=S1(Ze);if(Ie===Me?(ze.latestElement=Ie,jv.set(x,!0)):jv.delete(x),!At)return Ke.deselect(x);var{anchorNode:pt,focusNode:Lt}=At,sn=yt.hasEditableTarget(x,pt)||yt.isTargetInsideNonReadonlyVoid(x,pt),xt=yt.hasTarget(x,Lt);if(sn&&xt){var ln=yt.toSlateRange(x,At,{exactMatch:!1,suppressThrow:!0});ln&&(!yt.isComposing(x)&&!(we!=null&&we.hasPendingChanges())&&!(we!=null&&we.isFlushing())?Ke.select(x,ln):we==null||we.handleUserSelect(ln))}E&&(!sn||!xt)&&Ke.deselect(x)}},100),[x,E,ze]),le=te.useMemo(()=>VN(je,0),[je]);ke.current=m8({node:_,onDOMSelectionChange:je,scheduleOnDOMSelectionChange:le}),_1(()=>{var Q,Ue,Ce;_.current&&(Ce=tC(_.current))?(o3.set(x,Ce),lD.set(x,_.current),Mg.set(x,_.current),N1.set(_.current,x)):Mg.delete(x);var{selection:we}=x,Ze=yt.findDocumentOrShadowRoot(x),Ie=S1(Ze);if(!(!Ie||!yt.isFocused(x)||(Q=ke.current)!==null&&Q!==void 0&&Q.hasPendingAction())){var Me=sn=>{var xt=Ie.type!=="None";if(!(!we&&!xt)){var ln=Ie.focusNode,Zt;if(W0&&Ie.rangeCount>1){var yn=Ie.getRangeAt(0),I=Ie.getRangeAt(Ie.rangeCount-1);yn.startContainer===ln?Zt=I.endContainer:Zt=yn.startContainer}else Zt=Ie.anchorNode;var rt=lD.get(x),ct=!1;if(rt.contains(Zt)&&rt.contains(ln)&&(ct=!0),xt&&ct&&we&&!sn){var kt=yt.toSlateRange(x,Ie,{exactMatch:!0,suppressThrow:!0});if(kt&&Fe.equals(kt,we)){var Ft;if(!ze.hasMarkPlaceholder||(Ft=Zt)!==null&&Ft!==void 0&&(Ft=Ft.parentElement)!==null&&Ft!==void 0&&Ft.hasAttribute("data-slate-mark-placeholder"))return}}if(we&&!yt.hasRange(x,we)){x.selection=yt.toSlateRange(x,Ie,{exactMatch:!1,suppressThrow:!0});return}ze.isUpdatingSelection=!0;var Mt=null;try{Mt=we&&yt.toDOMRange(x,we)}catch{}return Mt?(yt.isComposing(x)&&!pl?Ie.collapseToEnd():Fe.isBackward(we)?Ie.setBaseAndExtent(Mt.endContainer,Mt.endOffset,Mt.startContainer,Mt.startOffset):Ie.setBaseAndExtent(Mt.startContainer,Mt.startOffset,Mt.endContainer,Mt.endOffset),R(x,Mt)):Ie.removeAllRanges(),Mt}};Ie.rangeCount<=1&&Me();var At=((Ue=ke.current)===null||Ue===void 0?void 0:Ue.isFlushing())==="action";if(!pl||!At){setTimeout(()=>{ze.isUpdatingSelection=!1});return}var pt=null,Lt=requestAnimationFrame(()=>{if(At){var sn=xt=>{try{var ln=yt.toDOMNode(x,x);ln.focus(),Me(xt)}catch{}};sn(),pt=setTimeout(()=>{sn(!0),ze.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Lt),pt&&clearTimeout(pt)}}});var Ve=te.useCallback(Q=>{var Ue=yt.toDOMNode(x,x),Ce=Ue.getRootNode();if(ie!=null&&ie.current&&Og&&Ce instanceof ShadowRoot){var we=Q.getTargetRanges(),Ze=we[0],Ie=new window.Range;Ie.setStart(Ze.startContainer,Ze.startOffset),Ie.setEnd(Ze.endContainer,Ze.endOffset);var Me=yt.toSlateRange(x,Ie,{exactMatch:!1,suppressThrow:!1});Ke.select(x,Me),Q.preventDefault(),Q.stopImmediatePropagation();return}if(Ee(),!E&&yt.hasEditableTarget(x,Q.target)&&!q8(Q,p)){var At;if(ke.current)return ke.current.handleDOMBeforeInput(Q);le.flush(),je.flush();var{selection:pt}=x,{inputType:Lt}=Q,sn=Q.dataTransfer||Q.data||void 0,xt=Lt==="insertCompositionText"||Lt==="deleteCompositionText";if(xt&&yt.isComposing(x))return;var ln=!1;if(Lt==="insertText"&&pt&&Fe.isCollapsed(pt)&&Q.data&&Q.data.length===1&&/[a-z ]/i.test(Q.data)&&pt.anchor.offset!==0&&(ln=!0,x.marks&&(ln=!1),!J0.get(x))){var Zt,yn,{anchor:I}=pt,[rt,ct]=yt.toDOMPoint(x,I),kt=(Zt=rt.parentElement)===null||Zt===void 0?void 0:Zt.closest("a"),Ft=yt.getWindow(x);if(ln&&kt&&yt.hasDOMNode(x,kt)){var Mt,St=Ft==null?void 0:Ft.document.createTreeWalker(kt,NodeFilter.SHOW_TEXT).lastChild();St===rt&&((Mt=St.textContent)===null||Mt===void 0?void 0:Mt.length)===ct&&(ln=!1)}if(ln&&rt.parentElement&&(Ft==null||(yn=Ft.getComputedStyle(rt.parentElement))===null||yn===void 0?void 0:yn.whiteSpace)==="pre"){var rn=L.above(x,{at:I.path,match:De=>Ot.isElement(De)&&L.isBlock(x,De)});rn&&st.string(rn[0]).includes(" ")&&(ln=!1)}}if((!Lt.startsWith("delete")||Lt.startsWith("deleteBy"))&&!J0.get(x)){var[Un]=Q.getTargetRanges();if(Un){var jn=yt.toSlateRange(x,Un,{exactMatch:!1,suppressThrow:!1});if(!pt||!Fe.equals(pt,jn)){ln=!1;var Ln=!xt&&x.selection&&L.rangeRef(x,x.selection);Ke.select(x,jn),Ln&&C1.set(x,Ln)}}}if(xt)return;if(ln||Q.preventDefault(),pt&&Fe.isExpanded(pt)&&Lt.startsWith("delete")){var de=Lt.endsWith("Backward")?"backward":"forward";L.deleteFragment(x,{direction:de});return}switch(Lt){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{L.deleteFragment(x);break}case"deleteContent":case"deleteContentForward":{L.deleteForward(x);break}case"deleteContentBackward":{L.deleteBackward(x);break}case"deleteEntireSoftLine":{L.deleteBackward(x,{unit:"line"}),L.deleteForward(x,{unit:"line"});break}case"deleteHardLineBackward":{L.deleteBackward(x,{unit:"block"});break}case"deleteSoftLineBackward":{L.deleteBackward(x,{unit:"line"});break}case"deleteHardLineForward":{L.deleteForward(x,{unit:"block"});break}case"deleteSoftLineForward":{L.deleteForward(x,{unit:"line"});break}case"deleteWordBackward":{L.deleteBackward(x,{unit:"word"});break}case"deleteWordForward":{L.deleteForward(x,{unit:"word"});break}case"insertLineBreak":L.insertSoftBreak(x);break;case"insertParagraph":{L.insertBreak(x);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{Lt==="insertFromComposition"&&yt.isComposing(x)&&(B(!1),Ng.set(x,!1)),(sn==null?void 0:sn.constructor.name)==="DataTransfer"?yt.insertData(x,sn):typeof sn=="string"&&(ln?V.current.push(()=>L.insertText(x,sn)):L.insertText(x,sn));break}}var pe=(At=C1.get(x))===null||At===void 0?void 0:At.unref();C1.delete(x),pe&&(!x.selection||!Fe.equals(x.selection,pe))&&Ke.select(x,pe)}},[x,je,Ee,p,E,le]),ne=te.useCallback(Q=>{Q==null?(je.cancel(),le.cancel(),lD.delete(x),Mg.delete(x),_.current&&Mv&&_.current.removeEventListener("beforeinput",Ve)):Mv&&Q.addEventListener("beforeinput",Ve),_.current=Q,typeof a=="function"?a(Q):a&&(a.current=Q)},[je,le,x,Ve,a]);_1(()=>{var Q=yt.getWindow(x),Ue=we=>{var{target:Ze}=we,Ie=Ze instanceof HTMLElement?Ze:null,Me=Ie==null?void 0:Ie.tagName;Me==="INPUT"||Me==="TEXTAREA"||le()};Q.document.addEventListener("selectionchange",Ue);var Ce=()=>{ze.isDraggingInternally=!1};return Q.document.addEventListener("dragend",Ce),Q.document.addEventListener("drop",Ce),()=>{Q.document.removeEventListener("selectionchange",Ue),Q.document.removeEventListener("dragend",Ce),Q.document.removeEventListener("drop",Ce)}},[le,ze]);var ve=d([x,[]]),be=b&&x.children.length===1&&Array.from(st.texts(x)).length===1&&st.string(x)===""&&!H,qe=te.useCallback(Q=>{if(Q&&be){var Ue;K((Ue=Q.getBoundingClientRect())===null||Ue===void 0?void 0:Ue.height)}else K(void 0)},[be]);if(be){var oe=L.start(x,[]);ve.push({[uy]:!0,placeholder:b,onPlaceholderResize:qe,anchor:oe,focus:oe})}var{marks:Se}=x;if(ze.hasMarkPlaceholder=!1,x.selection&&Fe.isCollapsed(x.selection)&&Se){var{anchor:Xe}=x.selection,Te=st.leaf(x,Xe.path),Ye=bD(Te,z8);if(!_t.equals(Te,Se,{loose:!0})){ze.hasMarkPlaceholder=!0;var We=Object.fromEntries(Object.keys(Ye).map(Q=>[Q,null]));ve.push(bd(bd(bd({[c3]:!0},We),Se),{},{anchor:Xe,focus:Xe}))}}return te.useEffect(()=>{setTimeout(()=>{var{selection:Q}=x;if(Q){var{anchor:Ue}=Q,Ce=st.leaf(x,Ue.path);if(Se&&!_t.equals(Ce,Se,{loose:!0})){vf.set(x,Se);return}}vf.delete(x)})}),te.createElement(w3.Provider,{value:E},te.createElement(_8.Provider,{value:H},te.createElement(S3.Provider,{value:d},te.createElement(M8,{node:_,receivedUserInput:ue},te.createElement(z,bd(bd({role:E?void 0:"textbox","aria-multiline":E?void 0:!0},F),{},{spellCheck:Mv||!uD?F.spellCheck:!1,autoCorrect:Mv||!uD?F.autoCorrect:"false",autoCapitalize:Mv||!uD?F.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!E,zindex:-1,suppressContentEditableWarning:!0,ref:ne,style:bd(bd({},U?{}:bd({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},q?{minHeight:q}:{})),N),onBeforeInput:te.useCallback(Q=>{if(!Mv&&!E&&!vl(Q,F.onBeforeInput)&&yt.hasSelectableTarget(x,Q.target)&&(Q.preventDefault(),!yt.isComposing(x))){var Ue=Q.data;L.insertText(x,Ue)}},[F.onBeforeInput,x,E]),onInput:te.useCallback(Q=>{if(!vl(Q,F.onInput)){if(ke.current){ke.current.handleInput();return}for(var Ue of V.current)Ue();if(V.current=[],!yt.isFocused(x)){var Ce=Q.nativeEvent,we=x;if(Ce.inputType==="historyUndo"&&typeof we.undo=="function"){we.undo();return}if(Ce.inputType==="historyRedo"&&typeof we.redo=="function"){we.redo();return}}}},[F.onInput,x]),onBlur:te.useCallback(Q=>{if(!(E||ze.isUpdatingSelection||!yt.hasSelectableTarget(x,Q.target)||vl(Q,F.onBlur))){var Ue=yt.findDocumentOrShadowRoot(x);if(ze.latestElement!==Ue.activeElement){var{relatedTarget:Ce}=Q,we=yt.toDOMNode(x,x);if(Ce!==we&&!(tc(Ce)&&Ce.hasAttribute("data-slate-spacer"))){if(Ce!=null&&Hv(Ce)&&yt.hasDOMNode(x,Ce)){var Ze=yt.toSlateNode(x,Ce);if(Ot.isElement(Ze)&&!x.isVoid(Ze))return}if(Og){var Ie=S1(Ue);Ie==null||Ie.removeAllRanges()}jv.delete(x)}}}},[E,ze.isUpdatingSelection,ze.latestElement,x,F.onBlur]),onClick:te.useCallback(Q=>{if(yt.hasTarget(x,Q.target)&&!vl(Q,F.onClick)&&Hv(Q.target)){var Ue=yt.toSlateNode(x,Q.target),Ce=yt.findPath(x,Ue);if(!L.hasPath(x,Ce)||st.get(x,Ce)!==Ue)return;if(Q.detail===A6&&Ce.length>=1){var we=Ce;if(!(Ot.isElement(Ue)&&L.isBlock(x,Ue))){var Ze,Ie=L.above(x,{match:ln=>Ot.isElement(ln)&&L.isBlock(x,ln),at:Ce});we=(Ze=Ie==null?void 0:Ie[1])!==null&&Ze!==void 0?Ze:Ce.slice(0,1)}var Me=L.range(x,we);Ke.select(x,Me);return}if(E)return;var At=L.start(x,Ce),pt=L.end(x,Ce),Lt=L.void(x,{at:At}),sn=L.void(x,{at:pt});if(Lt&&sn&&re.equals(Lt[1],sn[1])){var xt=L.range(x,At);Ke.select(x,xt)}}},[x,F.onClick,E]),onCompositionEnd:te.useCallback(Q=>{if(yt.hasSelectableTarget(x,Q.target)){var Ue;if(yt.isComposing(x)&&Promise.resolve().then(()=>{B(!1),Ng.set(x,!1)}),(Ue=ke.current)===null||Ue===void 0||Ue.handleCompositionEnd(Q),vl(Q,F.onCompositionEnd)||pl)return;if(!Og&&!s6&&!i3&&!f6&&!c6&&Q.data){var Ce=vf.get(x);vf.delete(x),Ce!==void 0&&(Zh.set(x,x.marks),x.marks=Ce),L.insertText(x,Q.data);var we=Zh.get(x);Zh.delete(x),we!==void 0&&(x.marks=we)}}},[F.onCompositionEnd,x]),onCompositionUpdate:te.useCallback(Q=>{yt.hasSelectableTarget(x,Q.target)&&!vl(Q,F.onCompositionUpdate)&&(yt.isComposing(x)||(B(!0),Ng.set(x,!0)))},[F.onCompositionUpdate,x]),onCompositionStart:te.useCallback(Q=>{if(yt.hasSelectableTarget(x,Q.target)){var Ue;if((Ue=ke.current)===null||Ue===void 0||Ue.handleCompositionStart(Q),vl(Q,F.onCompositionStart)||pl)return;B(!0);var{selection:Ce}=x;if(Ce&&Fe.isExpanded(Ce)){L.deleteFragment(x);return}}},[F.onCompositionStart,x]),onCopy:te.useCallback(Q=>{yt.hasSelectableTarget(x,Q.target)&&!vl(Q,F.onCopy)&&!Zx(Q)&&(Q.preventDefault(),yt.setFragmentData(x,Q.clipboardData,"copy"))},[F.onCopy,x]),onCut:te.useCallback(Q=>{if(!E&&yt.hasSelectableTarget(x,Q.target)&&!vl(Q,F.onCut)&&!Zx(Q)){Q.preventDefault(),yt.setFragmentData(x,Q.clipboardData,"cut");var{selection:Ue}=x;if(Ue)if(Fe.isExpanded(Ue))L.deleteFragment(x);else{var Ce=st.parent(x,Ue.anchor.path);L.isVoid(x,Ce)&&Ke.delete(x)}}},[E,x,F.onCut]),onDragOver:te.useCallback(Q=>{if(yt.hasTarget(x,Q.target)&&!vl(Q,F.onDragOver)){var Ue=yt.toSlateNode(x,Q.target);Ot.isElement(Ue)&&L.isVoid(x,Ue)&&Q.preventDefault()}},[F.onDragOver,x]),onDragStart:te.useCallback(Q=>{if(!E&&yt.hasTarget(x,Q.target)&&!vl(Q,F.onDragStart)){var Ue=yt.toSlateNode(x,Q.target),Ce=yt.findPath(x,Ue),we=Ot.isElement(Ue)&&L.isVoid(x,Ue)||L.void(x,{at:Ce,voids:!0});if(we){var Ze=L.range(x,Ce);Ke.select(x,Ze)}ze.isDraggingInternally=!0,yt.setFragmentData(x,Q.dataTransfer,"drag")}},[E,x,F.onDragStart,ze]),onDrop:te.useCallback(Q=>{if(!E&&yt.hasTarget(x,Q.target)&&!vl(Q,F.onDrop)){Q.preventDefault();var Ue=x.selection,Ce=yt.findEventRange(x,Q),we=Q.dataTransfer;Ke.select(x,Ce),ze.isDraggingInternally&&Ue&&!Fe.equals(Ue,Ce)&&!L.void(x,{at:Ce,voids:!0})&&Ke.delete(x,{at:Ue}),yt.insertData(x,we),yt.isFocused(x)||yt.focus(x)}},[E,x,F.onDrop,ze]),onDragEnd:te.useCallback(Q=>{!E&&ze.isDraggingInternally&&F.onDragEnd&&yt.hasTarget(x,Q.target)&&F.onDragEnd(Q)},[E,ze,F,x]),onFocus:te.useCallback(Q=>{if(!E&&!ze.isUpdatingSelection&&yt.hasEditableTarget(x,Q.target)&&!vl(Q,F.onFocus)){var Ue=yt.toDOMNode(x,x),Ce=yt.findDocumentOrShadowRoot(x);if(ze.latestElement=Ce.activeElement,W0&&Q.target!==Ue){Ue.focus();return}jv.set(x,!0)}},[E,ze,x,F.onFocus]),onKeyDown:te.useCallback(Q=>{if(!E&&yt.hasEditableTarget(x,Q.target)){var Ue;(Ue=ke.current)===null||Ue===void 0||Ue.handleKeyDown(Q);var{nativeEvent:Ce}=Q;if(yt.isComposing(x)&&Ce.isComposing===!1&&(Ng.set(x,!1),B(!1)),vl(Q,F.onKeyDown)||yt.isComposing(x))return;var{selection:we}=x,Ze=x.children[we!==null?we.focus.path[0]:0],Ie=IO(st.string(Ze))==="rtl";if(vr.isRedo(Ce)){Q.preventDefault();var Me=x;typeof Me.redo=="function"&&Me.redo();return}if(vr.isUndo(Ce)){Q.preventDefault();var At=x;typeof At.undo=="function"&&At.undo();return}if(vr.isMoveLineBackward(Ce)){Q.preventDefault(),Ke.move(x,{unit:"line",reverse:!0});return}if(vr.isMoveLineForward(Ce)){Q.preventDefault(),Ke.move(x,{unit:"line"});return}if(vr.isExtendLineBackward(Ce)){Q.preventDefault(),Ke.move(x,{unit:"line",edge:"focus",reverse:!0});return}if(vr.isExtendLineForward(Ce)){Q.preventDefault(),Ke.move(x,{unit:"line",edge:"focus"});return}if(vr.isMoveBackward(Ce)){Q.preventDefault(),we&&Fe.isCollapsed(we)?Ke.move(x,{reverse:!Ie}):Ke.collapse(x,{edge:Ie?"end":"start"});return}if(vr.isMoveForward(Ce)){Q.preventDefault(),we&&Fe.isCollapsed(we)?Ke.move(x,{reverse:Ie}):Ke.collapse(x,{edge:Ie?"start":"end"});return}if(vr.isMoveWordBackward(Ce)){Q.preventDefault(),we&&Fe.isExpanded(we)&&Ke.collapse(x,{edge:"focus"}),Ke.move(x,{unit:"word",reverse:!Ie});return}if(vr.isMoveWordForward(Ce)){Q.preventDefault(),we&&Fe.isExpanded(we)&&Ke.collapse(x,{edge:"focus"}),Ke.move(x,{unit:"word",reverse:Ie});return}if(Mv){if((u3||Og)&&we&&(vr.isDeleteBackward(Ce)||vr.isDeleteForward(Ce))&&Fe.isCollapsed(we)){var pt=st.parent(x,we.anchor.path);if(Ot.isElement(pt)&&L.isVoid(x,pt)&&(L.isInline(x,pt)||L.isBlock(x,pt))){Q.preventDefault(),L.deleteBackward(x,{unit:"block"});return}}}else{if(vr.isBold(Ce)||vr.isItalic(Ce)||vr.isTransposeCharacter(Ce)){Q.preventDefault();return}if(vr.isSoftBreak(Ce)){Q.preventDefault(),L.insertSoftBreak(x);return}if(vr.isSplitBlock(Ce)){Q.preventDefault(),L.insertBreak(x);return}if(vr.isDeleteBackward(Ce)){Q.preventDefault(),we&&Fe.isExpanded(we)?L.deleteFragment(x,{direction:"backward"}):L.deleteBackward(x);return}if(vr.isDeleteForward(Ce)){Q.preventDefault(),we&&Fe.isExpanded(we)?L.deleteFragment(x,{direction:"forward"}):L.deleteForward(x);return}if(vr.isDeleteLineBackward(Ce)){Q.preventDefault(),we&&Fe.isExpanded(we)?L.deleteFragment(x,{direction:"backward"}):L.deleteBackward(x,{unit:"line"});return}if(vr.isDeleteLineForward(Ce)){Q.preventDefault(),we&&Fe.isExpanded(we)?L.deleteFragment(x,{direction:"forward"}):L.deleteForward(x,{unit:"line"});return}if(vr.isDeleteWordBackward(Ce)){Q.preventDefault(),we&&Fe.isExpanded(we)?L.deleteFragment(x,{direction:"backward"}):L.deleteBackward(x,{unit:"word"});return}if(vr.isDeleteWordForward(Ce)){Q.preventDefault(),we&&Fe.isExpanded(we)?L.deleteFragment(x,{direction:"forward"}):L.deleteForward(x,{unit:"word"});return}}}},[E,x,F.onKeyDown]),onPaste:te.useCallback(Q=>{!E&&yt.hasEditableTarget(x,Q.target)&&!vl(Q,F.onPaste)&&(!Mv||KN(Q.nativeEvent)||Og)&&(Q.preventDefault(),yt.insertData(x,Q.clipboardData))},[E,x,F.onPaste])}),te.createElement(U8,{decorations:ve,node:x,renderElement:C,renderPlaceholder:O,renderLeaf:A,selection:x.selection}))))))}),L8=n=>{var{attributes:a,children:i}=n;return te.createElement("span",bd({},a),i,pl&&te.createElement("br",null))},H8=()=>[],V8=(n,a)=>{if(a.getBoundingClientRect&&(!n.selection||n.selection&&Fe.isCollapsed(n.selection))){var i=a.startContainer.parentElement;i.getBoundingClientRect=a.getBoundingClientRect.bind(a),PN(i,{scrollMode:"if-needed"}),delete i.getBoundingClientRect}},vl=(n,a)=>{if(!a)return!1;var i=a(n);return i??(n.isDefaultPrevented()||n.isPropagationStopped())},Zx=n=>Hv(n.target)&&(n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement),q8=(n,a)=>{if(!a)return!1;var i=a(n);return i??n.defaultPrevented},Y8=te.createContext(!1),G8=te.createContext({});function $8(n){var a=te.useRef([]).current,i=te.useRef({editor:n}).current,o=te.useCallback(p=>{i.editor=p,a.forEach(b=>b(p))},[a,i]),d=te.useMemo(()=>({getSlate:()=>i.editor,addEventListener:p=>(a.push(p),()=>{a.splice(a.indexOf(p),1)})}),[a,i]);return{selectorContext:d,onChange:o}}var O3=parseInt(te.version.split(".")[0],10),X8=["editor","children","onChange","onSelectionChange","onValueChange","initialValue"],P8=n=>{var{editor:a,children:i,onChange:o,onSelectionChange:d,onValueChange:p,initialValue:b}=n,E=bD(n,X8),[C,A]=te.useState(()=>{if(!st.isNodeList(b))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(Gi.stringify(b)));if(!L.isEditor(a))throw new Error("[Slate] editor is invalid! You passed: ".concat(Gi.stringify(a)));return a.children=b,Object.assign(a,E),{v:0,editor:a}}),{selectorContext:O,onChange:R}=$8(a),N=te.useCallback(F=>{var x;switch(o&&o(a.children),F==null||(x=F.operation)===null||x===void 0?void 0:x.type){case"set_selection":d==null||d(a.selection);break;default:p==null||p(a.children)}A(H=>({v:H.v+1,editor:a})),R(a)},[a,R,o,d,p]);te.useEffect(()=>(o2.set(a,N),()=>{o2.set(a,()=>{})}),[a,N]);var[z,U]=te.useState(yt.isFocused(a));return te.useEffect(()=>{U(yt.isFocused(a))},[a]),_1(()=>{var F=()=>U(yt.isFocused(a));return O3>=17?(document.addEventListener("focusin",F),document.addEventListener("focusout",F),()=>{document.removeEventListener("focusin",F),document.removeEventListener("focusout",F)}):(document.addEventListener("focus",F,!0),document.addEventListener("blur",F,!0),()=>{document.removeEventListener("focus",F,!0),document.removeEventListener("blur",F,!0)})},[]),te.createElement(G8.Provider,{value:O},te.createElement(x3.Provider,{value:C},te.createElement(lC.Provider,{value:C.editor},te.createElement(Y8.Provider,{value:z},i))))},Q8=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",o=a;o=C6(o,i);var{onChange:d}=o;return o.onChange=p=>{var b=O3<18?Q2.unstable_batchedUpdates:E=>E();b(()=>{d(p)})},o},Yb={exports:{}},ES={};/**
47
+ * @license React
48
+ * use-sync-external-store-with-selector.production.js
49
+ *
50
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
51
+ *
52
+ * This source code is licensed under the MIT license found in the
53
+ * LICENSE file in the root directory of this source tree.
54
+ */var Wx;function Z8(){if(Wx)return ES;Wx=1;var n=te;function a(C,A){return C===A&&(C!==0||1/C===1/A)||C!==C&&A!==A}var i=typeof Object.is=="function"?Object.is:a,o=n.useSyncExternalStore,d=n.useRef,p=n.useEffect,b=n.useMemo,E=n.useDebugValue;return ES.useSyncExternalStoreWithSelector=function(C,A,O,R,N){var z=d(null);if(z.current===null){var U={hasValue:!1,value:null};z.current=U}else U=z.current;z=b(function(){function x(q){if(!H){if(H=!0,B=q,q=R(q),N!==void 0&&U.hasValue){var K=U.value;if(N(K,q))return _=K}return _=q}if(K=_,i(B,q))return K;var ie=R(q);return N!==void 0&&N(K,ie)?(B=q,K):(B=q,_=ie)}var H=!1,B,_,V=O===void 0?null:O;return[function(){return x(A())},V===null?void 0:function(){return x(V())}]},[A,O,R,N]);var F=o(C,z[0],z[1]);return p(function(){U.hasValue=!0,U.value=F},[F]),E(F),F},ES}var SS={};/**
55
+ * @license React
56
+ * use-sync-external-store-with-selector.development.js
57
+ *
58
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
59
+ *
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ */var Ix;function W8(){return Ix||(Ix=1,process.env.NODE_ENV!=="production"&&function(){function n(C,A){return C===A&&(C!==0||1/C===1/A)||C!==C&&A!==A}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var a=te,i=typeof Object.is=="function"?Object.is:n,o=a.useSyncExternalStore,d=a.useRef,p=a.useEffect,b=a.useMemo,E=a.useDebugValue;SS.useSyncExternalStoreWithSelector=function(C,A,O,R,N){var z=d(null);if(z.current===null){var U={hasValue:!1,value:null};z.current=U}else U=z.current;z=b(function(){function x(q){if(!H){if(H=!0,B=q,q=R(q),N!==void 0&&U.hasValue){var K=U.value;if(N(K,q))return _=K}return _=q}if(K=_,i(B,q))return K;var ie=R(q);return N!==void 0&&N(K,ie)?(B=q,K):(B=q,_=ie)}var H=!1,B,_,V=O===void 0?null:O;return[function(){return x(A())},V===null?void 0:function(){return x(V())}]},[A,O,R,N]);var F=o(C,z[0],z[1]);return p(function(){U.hasValue=!0,U.value=F},[F]),E(F),F},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),SS}var Kx;function I8(){return Kx||(Kx=1,process.env.NODE_ENV==="production"?Yb.exports=Z8():Yb.exports=W8()),Yb.exports}var K8=I8();function J8(n){n()}function e7(){let n=null,a=null;return{clear(){n=null,a=null},notify(){J8(()=>{let i=n;for(;i;)i.callback(),i=i.next})},get(){const i=[];let o=n;for(;o;)i.push(o),o=o.next;return i},subscribe(i){let o=!0;const d=a={callback:i,next:null,prev:a};return d.prev?d.prev.next=d:n=d,function(){!o||n===null||(o=!1,d.next?d.next.prev=d.prev:a=d.prev,d.prev?d.prev.next=d.next:n=d.next)}}}}var Jx={notify(){},get:()=>[]};function t7(n,a){let i,o=Jx,d=0,p=!1;function b(F){O();const x=o.subscribe(F);let H=!1;return()=>{H||(H=!0,x(),R())}}function E(){o.notify()}function C(){U.onStateChange&&U.onStateChange()}function A(){return p}function O(){d++,i||(i=n.subscribe(C),o=e7())}function R(){d--,i&&d===0&&(i(),i=void 0,o.clear(),o=Jx)}function N(){p||(p=!0,O())}function z(){p&&(p=!1,R())}const U={addNestedSub:b,notifyNestedSubs:E,handleChangeWrapper:C,isSubscribed:A,trySubscribe:N,tryUnsubscribe:z,getListeners:()=>o};return U}var n7=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",a7=n7(),r7=()=>typeof navigator<"u"&&navigator.product==="ReactNative",i7=r7(),u7=()=>a7||i7?Vo.useLayoutEffect:Vo.useEffect,l7=u7(),CS=Symbol.for("react-redux-context"),AS=typeof globalThis<"u"?globalThis:{};function o7(){if(!Vo.createContext)return{};const n=AS[CS]??(AS[CS]=new Map);let a=n.get(Vo.createContext);return a||(a=Vo.createContext(null),process.env.NODE_ENV!=="production"&&(a.displayName="ReactRedux"),n.set(Vo.createContext,a)),a}var Vv=o7();function s7(n){const{children:a,context:i,serverState:o,store:d}=n,p=Vo.useMemo(()=>{const C=t7(d),A={store:d,subscription:C,getServerState:o?()=>o:void 0};if(process.env.NODE_ENV==="production")return A;{const{identityFunctionCheck:O="once",stabilityCheck:R="once"}=n;return Object.assign(A,{stabilityCheck:R,identityFunctionCheck:O})}},[d,o]),b=Vo.useMemo(()=>d.getState(),[d]);l7(()=>{const{subscription:C}=p;return C.onStateChange=C.notifyNestedSubs,C.trySubscribe(),b!==d.getState()&&C.notifyNestedSubs(),()=>{C.tryUnsubscribe(),C.onStateChange=void 0}},[p,b]);const E=i||Vv;return Vo.createElement(E.Provider,{value:p},a)}var c7=s7;function oC(n=Vv){return function(){const i=Vo.useContext(n);if(process.env.NODE_ENV!=="production"&&!i)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return i}}var R3=oC();function B3(n=Vv){const a=n===Vv?R3:oC(n),i=()=>{const{store:o}=a();return o};return Object.assign(i,{withTypes:()=>i}),i}var f7=B3();function d7(n=Vv){const a=n===Vv?f7:B3(n),i=()=>a().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var N3=d7(),h7=(n,a)=>n===a;function m7(n=Vv){const a=n===Vv?R3:oC(n),i=(o,d={})=>{const{equalityFn:p=h7}=typeof d=="function"?{equalityFn:d}:d;if(process.env.NODE_ENV!=="production"){if(!o)throw new Error("You must pass a selector to useSelector");if(typeof o!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof p!="function")throw new Error("You must pass a function as an equality function to useSelector")}const b=a(),{store:E,subscription:C,getServerState:A}=b,O=Vo.useRef(!0),R=Vo.useCallback({[o.name](z){const U=o(z);if(process.env.NODE_ENV!=="production"){const{devModeChecks:F={}}=typeof d=="function"?{}:d,{identityFunctionCheck:x,stabilityCheck:H}=b,{identityFunctionCheck:B,stabilityCheck:_}={stabilityCheck:H,identityFunctionCheck:x,...F};if(_==="always"||_==="once"&&O.current){const V=o(z);if(!p(U,V)){let q;try{throw new Error}catch(K){({stack:q}=K)}console.warn("Selector "+(o.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
63
+ Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,{state:z,selected:U,selected2:V,stack:q})}}if((B==="always"||B==="once"&&O.current)&&U===z){let V;try{throw new Error}catch(q){({stack:V}=q)}console.warn("Selector "+(o.name||"unknown")+` returned the root state when called. This can lead to unnecessary rerenders.
64
+ Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:V})}O.current&&(O.current=!1)}return U}}[o.name],[o]),N=K8.useSyncExternalStoreWithSelector(C.addNestedSub,E.getState,A||E.getState,R,p);return Vo.useDebugValue(N),N};return Object.assign(i,{withTypes:()=>i}),i}var sC=m7();function mu(n){return`Minified Redux error #${n}; visit https://redux.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var v7=typeof Symbol=="function"&&Symbol.observable||"@@observable",eT=v7,wS=()=>Math.random().toString(36).substring(7).split("").join("."),p7={INIT:`@@redux/INIT${wS()}`,REPLACE:`@@redux/REPLACE${wS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${wS()}`},zg=p7;function V1(n){if(typeof n!="object"||n===null)return!1;let a=n;for(;Object.getPrototypeOf(a)!==null;)a=Object.getPrototypeOf(a);return Object.getPrototypeOf(n)===a||Object.getPrototypeOf(n)===null}function g7(n){if(n===void 0)return"undefined";if(n===null)return"null";const a=typeof n;switch(a){case"boolean":case"string":case"number":case"symbol":case"function":return a}if(Array.isArray(n))return"array";if(D7(n))return"date";if(b7(n))return"error";const i=y7(n);switch(i){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return i}return Object.prototype.toString.call(n).slice(8,-1).toLowerCase().replace(/\s/g,"")}function y7(n){return typeof n.constructor=="function"?n.constructor.name:null}function b7(n){return n instanceof Error||typeof n.message=="string"&&n.constructor&&typeof n.constructor.stackTraceLimit=="number"}function D7(n){return n instanceof Date?!0:typeof n.toDateString=="function"&&typeof n.getDate=="function"&&typeof n.setDate=="function"}function Fv(n){let a=typeof n;return process.env.NODE_ENV!=="production"&&(a=g7(n)),a}function k3(n,a,i){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?mu(2):`Expected the root reducer to be a function. Instead, received: '${Fv(n)}'`);if(typeof a=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?mu(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof a=="function"&&typeof i>"u"&&(i=a,a=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(process.env.NODE_ENV==="production"?mu(1):`Expected the enhancer to be a function. Instead, received: '${Fv(i)}'`);return i(k3)(n,a)}let o=n,d=a,p=new Map,b=p,E=0,C=!1;function A(){b===p&&(b=new Map,p.forEach((x,H)=>{b.set(H,x)}))}function O(){if(C)throw new Error(process.env.NODE_ENV==="production"?mu(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return d}function R(x){if(typeof x!="function")throw new Error(process.env.NODE_ENV==="production"?mu(4):`Expected the listener to be a function. Instead, received: '${Fv(x)}'`);if(C)throw new Error(process.env.NODE_ENV==="production"?mu(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let H=!0;A();const B=E++;return b.set(B,x),function(){if(H){if(C)throw new Error(process.env.NODE_ENV==="production"?mu(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");H=!1,A(),b.delete(B),p=null}}}function N(x){if(!V1(x))throw new Error(process.env.NODE_ENV==="production"?mu(7):`Actions must be plain objects. Instead, the actual type was: '${Fv(x)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof x.type>"u")throw new Error(process.env.NODE_ENV==="production"?mu(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof x.type!="string")throw new Error(process.env.NODE_ENV==="production"?mu(17):`Action "type" property must be a string. Instead, the actual type was: '${Fv(x.type)}'. Value was: '${x.type}' (stringified)`);if(C)throw new Error(process.env.NODE_ENV==="production"?mu(9):"Reducers may not dispatch actions.");try{C=!0,d=o(d,x)}finally{C=!1}return(p=b).forEach(B=>{B()}),x}function z(x){if(typeof x!="function")throw new Error(process.env.NODE_ENV==="production"?mu(10):`Expected the nextReducer to be a function. Instead, received: '${Fv(x)}`);o=x,N({type:zg.REPLACE})}function U(){const x=R;return{subscribe(H){if(typeof H!="object"||H===null)throw new Error(process.env.NODE_ENV==="production"?mu(11):`Expected the observer to be an object. Instead, received: '${Fv(H)}'`);function B(){const V=H;V.next&&V.next(O())}return B(),{unsubscribe:x(B)}},[eT](){return this}}}return N({type:zg.INIT}),{dispatch:N,subscribe:R,getState:O,replaceReducer:z,[eT]:U}}function tT(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function E7(n,a,i,o){const d=Object.keys(a),p=i&&i.type===zg.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(d.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!V1(n))return`The ${p} has unexpected type of "${Fv(n)}". Expected argument to be an object with the following keys: "${d.join('", "')}"`;const b=Object.keys(n).filter(E=>!a.hasOwnProperty(E)&&!o[E]);if(b.forEach(E=>{o[E]=!0}),!(i&&i.type===zg.REPLACE)&&b.length>0)return`Unexpected ${b.length>1?"keys":"key"} "${b.join('", "')}" found in ${p}. Expected to find one of the known reducer keys instead: "${d.join('", "')}". Unexpected keys will be ignored.`}function S7(n){Object.keys(n).forEach(a=>{const i=n[a];if(typeof i(void 0,{type:zg.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?mu(12):`The slice reducer for key "${a}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof i(void 0,{type:zg.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?mu(13):`The slice reducer for key "${a}" returned undefined when probed with a random type. Don't try to handle '${zg.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function C7(n){const a=Object.keys(n),i={};for(let b=0;b<a.length;b++){const E=a[b];process.env.NODE_ENV!=="production"&&typeof n[E]>"u"&&tT(`No reducer provided for key "${E}"`),typeof n[E]=="function"&&(i[E]=n[E])}const o=Object.keys(i);let d;process.env.NODE_ENV!=="production"&&(d={});let p;try{S7(i)}catch(b){p=b}return function(E={},C){if(p)throw p;if(process.env.NODE_ENV!=="production"){const R=E7(E,i,C,d);R&&tT(R)}let A=!1;const O={};for(let R=0;R<o.length;R++){const N=o[R],z=i[N],U=E[N],F=z(U,C);if(typeof F>"u"){const x=C&&C.type;throw new Error(process.env.NODE_ENV==="production"?mu(14):`When called with an action of type ${x?`"${String(x)}"`:"(unknown type)"}, the slice reducer for key "${N}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}O[N]=F,A=A||F!==U}return A=A||o.length!==Object.keys(E).length,A?O:E}}function DD(...n){return n.length===0?a=>a:n.length===1?n[0]:n.reduce((a,i)=>(...o)=>a(i(...o)))}function A7(...n){return a=>(i,o)=>{const d=a(i,o);let p=()=>{throw new Error(process.env.NODE_ENV==="production"?mu(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const b={getState:d.getState,dispatch:(C,...A)=>p(C,...A)},E=n.map(C=>C(b));return p=DD(...E)(d.dispatch),{...d,dispatch:p}}}function M3(n){return V1(n)&&"type"in n&&typeof n.type=="string"}var w7=(n,a,i)=>{if(a.length===1&&a[0]===i){let o=!1;try{const d={};n(d)===d&&(o=!0)}catch{}if(o){let d;try{throw new Error}catch(p){({stack:d}=p)}console.warn(`The result function returned its own inputs without modification. e.g
65
+ \`createSelector([state => state.todos], todos => todos)\`
66
+ This could lead to inefficient memoization and unnecessary re-renders.
67
+ Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:d})}}},x7=(n,a,i)=>{const{memoize:o,memoizeOptions:d}=a,{inputSelectorResults:p,inputSelectorResultsCopy:b}=n,E=o(()=>({}),...d);if(!(E.apply(null,p)===E.apply(null,b))){let A;try{throw new Error}catch(O){({stack:A}=O)}console.warn(`An input selector returned a different result when passed same arguments.
68
+ This means your output selector will likely run more frequently than intended.
69
+ Avoid returning a new reference inside your input selector, e.g.
70
+ \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:i,firstInputs:p,secondInputs:b,stack:A})}},T7={inputStabilityCheck:"once",identityFunctionCheck:"once"};function O7(n,a=`expected a function, instead received ${typeof n}`){if(typeof n!="function")throw new TypeError(a)}function R7(n,a=`expected an object, instead received ${typeof n}`){if(typeof n!="object")throw new TypeError(a)}function B7(n,a="expected all items to be functions, instead received the following types: "){if(!n.every(i=>typeof i=="function")){const i=n.map(o=>typeof o=="function"?`function ${o.name||"unnamed"}()`:typeof o).join(", ");throw new TypeError(`${a}[${i}]`)}}var nT=n=>Array.isArray(n)?n:[n];function N7(n){const a=Array.isArray(n[0])?n[0]:n;return B7(a,"createSelector expects all input-selectors to be functions, but received the following types: "),a}function aT(n,a){const i=[],{length:o}=n;for(let d=0;d<o;d++)i.push(n[d].apply(null,a));return i}var k7=(n,a)=>{const{identityFunctionCheck:i,inputStabilityCheck:o}={...T7,...a};return{identityFunctionCheck:{shouldRun:i==="always"||i==="once"&&n,run:w7},inputStabilityCheck:{shouldRun:o==="always"||o==="once"&&n,run:x7}}},M7=class{constructor(n){this.value=n}deref(){return this.value}},_7=typeof WeakRef<"u"?WeakRef:M7,F7=0,rT=1;function Gb(){return{s:F7,v:void 0,o:null,p:null}}function _3(n,a={}){let i=Gb();const{resultEqualityCheck:o}=a;let d,p=0;function b(){var R;let E=i;const{length:C}=arguments;for(let N=0,z=C;N<z;N++){const U=arguments[N];if(typeof U=="function"||typeof U=="object"&&U!==null){let F=E.o;F===null&&(E.o=F=new WeakMap);const x=F.get(U);x===void 0?(E=Gb(),F.set(U,E)):E=x}else{let F=E.p;F===null&&(E.p=F=new Map);const x=F.get(U);x===void 0?(E=Gb(),F.set(U,E)):E=x}}const A=E;let O;if(E.s===rT)O=E.v;else if(O=n.apply(null,arguments),p++,o){const N=((R=d==null?void 0:d.deref)==null?void 0:R.call(d))??d;N!=null&&o(N,O)&&(O=N,p!==0&&p--),d=typeof O=="object"&&O!==null||typeof O=="function"?new _7(O):O}return A.s=rT,A.v=O,O}return b.clearCache=()=>{i=Gb(),b.resetResultsCount()},b.resultsCount=()=>p,b.resetResultsCount=()=>{p=0},b}function z7(n,...a){const i=typeof n=="function"?{memoize:n,memoizeOptions:a}:n,o=(...d)=>{let p=0,b=0,E,C={},A=d.pop();typeof A=="object"&&(C=A,A=d.pop()),O7(A,`createSelector expects an output function after the inputs, but received: [${typeof A}]`);const O={...i,...C},{memoize:R,memoizeOptions:N=[],argsMemoize:z=_3,argsMemoizeOptions:U=[],devModeChecks:F={}}=O,x=nT(N),H=nT(U),B=N7(d),_=R(function(){return p++,A.apply(null,arguments)},...x);let V=!0;const q=z(function(){b++;const ie=aT(B,arguments);if(E=_.apply(null,ie),process.env.NODE_ENV!=="production"){const{identityFunctionCheck:Ee,inputStabilityCheck:ue}=k7(V,F);if(Ee.shouldRun&&Ee.run(A,ie,E),ue.shouldRun){const xe=aT(B,arguments);ue.run({inputSelectorResults:ie,inputSelectorResultsCopy:xe},{memoize:R,memoizeOptions:x},arguments)}V&&(V=!1)}return E},...H);return Object.assign(q,{resultFunc:A,memoizedResultFunc:_,dependencies:B,dependencyRecomputations:()=>b,resetDependencyRecomputations:()=>{b=0},lastResult:()=>E,recomputations:()=>p,resetRecomputations:()=>{p=0},memoize:R,argsMemoize:z})};return Object.assign(o,{withTypes:()=>o}),o}var ED=z7(_3),U7=Object.assign((n,a=ED)=>{R7(n,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof n}`);const i=Object.keys(n),o=i.map(p=>n[p]);return a(o,(...p)=>p.reduce((b,E,C)=>(b[i[C]]=E,b),{}))},{withTypes:()=>U7});function F3(n){return({dispatch:i,getState:o})=>d=>p=>typeof p=="function"?p(i,o,n):d(p)}var j7=F3(),L7=F3,H7=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?DD:DD.apply(null,arguments)},V7=n=>n&&typeof n.match=="function";function iT(n,a){function i(...o){if(a){let d=a(...o);if(!d)throw new Error(process.env.NODE_ENV==="production"?Ka(0):"prepareAction did not return an object");return{type:n,payload:d.payload,..."meta"in d&&{meta:d.meta},..."error"in d&&{error:d.error}}}return{type:n,payload:o[0]}}return i.toString=()=>`${n}`,i.type=n,i.match=o=>M3(o)&&o.type===n,i}function q7(n){return typeof n=="function"&&"type"in n&&V7(n)}function Y7(n){const a=n?`${n}`.split("/"):[],i=a[a.length-1]||"actionCreator";return`Detected an action creator with type "${n||"unknown"}" being dispatched.
71
+ Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${i}())\` instead of \`dispatch(${i})\`. This is necessary even if the action has no payload.`}function G7(n={}){if(process.env.NODE_ENV==="production")return()=>i=>o=>i(o);const{isActionCreator:a=q7}=n;return()=>i=>o=>(a(o)&&console.warn(Y7(o.type)),i(o))}function z3(n,a){let i=0;return{measureTime(o){const d=Date.now();try{return o()}finally{const p=Date.now();i+=p-d}},warnIfExceeded(){i>n&&console.warn(`${a} took ${i}ms, which is more than the warning threshold of ${n}ms.
72
+ If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
73
+ It is disabled in production builds, so you don't need to worry about that.`)}}}var U3=class g1 extends Array{constructor(...a){super(...a),Object.setPrototypeOf(this,g1.prototype)}static get[Symbol.species](){return g1}concat(...a){return super.concat.apply(this,a)}prepend(...a){return a.length===1&&Array.isArray(a[0])?new g1(...a[0].concat(this)):new g1(...a.concat(this))}};function uT(n){return Wh(n)?H1(n,()=>{}):n}function lT(n,a,i){return n.has(a)?n.get(a):n.set(a,i(a)).get(a)}function $7(n){return typeof n!="object"||n==null||Object.isFrozen(n)}function X7(n,a,i){const o=j3(n,a,i);return{detectMutations(){return L3(n,a,o,i)}}}function j3(n,a=[],i,o="",d=new Set){const p={value:i};if(!n(i)&&!d.has(i)){d.add(i),p.children={};for(const b in i){const E=o?o+"."+b:b;a.length&&a.indexOf(E)!==-1||(p.children[b]=j3(n,a,i[b],E))}}return p}function L3(n,a=[],i,o,d=!1,p=""){const b=i?i.value:void 0,E=b===o;if(d&&!E&&!Number.isNaN(o))return{wasMutated:!0,path:p};if(n(b)||n(o))return{wasMutated:!1};const C={};for(let O in i.children)C[O]=!0;for(let O in o)C[O]=!0;const A=a.length>0;for(let O in C){const R=p?p+"."+O:O;if(A&&a.some(U=>U instanceof RegExp?U.test(R):R===U))continue;const N=L3(n,a,i.children[O],o[O],E,R);if(N.wasMutated)return N}return{wasMutated:!1}}function P7(n={}){if(process.env.NODE_ENV==="production")return()=>a=>i=>a(i);{let a=function(E,C,A,O){return JSON.stringify(E,i(C,O),A)},i=function(E,C){let A=[],O=[];return C||(C=function(R,N){return A[0]===N?"[Circular ~]":"[Circular ~."+O.slice(0,A.indexOf(N)).join(".")+"]"}),function(R,N){if(A.length>0){var z=A.indexOf(this);~z?A.splice(z+1):A.push(this),~z?O.splice(z,1/0,R):O.push(R),~A.indexOf(N)&&(N=C.call(this,R,N))}else A.push(N);return E==null?N:E.call(this,R,N)}},{isImmutable:o=$7,ignoredPaths:d,warnAfter:p=32}=n;const b=X7.bind(null,o,d);return({getState:E})=>{let C=E(),A=b(C),O;return R=>N=>{const z=z3(p,"ImmutableStateInvariantMiddleware");z.measureTime(()=>{if(C=E(),O=A.detectMutations(),A=b(C),O.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Ka(19):`A state mutation was detected between dispatches, in the path '${O.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const U=R(N);return z.measureTime(()=>{if(C=E(),O=A.detectMutations(),A=b(C),O.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Ka(20):`A state mutation was detected inside a dispatch, in the path: ${O.path||""}. Take a look at the reducer(s) handling the action ${a(N)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),z.warnIfExceeded(),U}}}}function H3(n){const a=typeof n;return n==null||a==="string"||a==="boolean"||a==="number"||Array.isArray(n)||V1(n)}function h2(n,a="",i=H3,o,d=[],p){let b;if(!i(n))return{keyPath:a||"<root>",value:n};if(typeof n!="object"||n===null||p!=null&&p.has(n))return!1;const E=o!=null?o(n):Object.entries(n),C=d.length>0;for(const[A,O]of E){const R=a?a+"."+A:A;if(!(C&&d.some(z=>z instanceof RegExp?z.test(R):R===z))){if(!i(O))return{keyPath:R,value:O};if(typeof O=="object"&&(b=h2(O,R,i,o,d,p),b))return b}}return p&&V3(n)&&p.add(n),!1}function V3(n){if(!Object.isFrozen(n))return!1;for(const a of Object.values(n))if(!(typeof a!="object"||a===null)&&!V3(a))return!1;return!0}function Q7(n={}){if(process.env.NODE_ENV==="production")return()=>a=>i=>a(i);{const{isSerializable:a=H3,getEntries:i,ignoredActions:o=[],ignoredActionPaths:d=["meta.arg","meta.baseQueryMeta"],ignoredPaths:p=[],warnAfter:b=32,ignoreState:E=!1,ignoreActions:C=!1,disableCache:A=!1}=n,O=!A&&WeakSet?new WeakSet:void 0;return R=>N=>z=>{if(!M3(z))return N(z);const U=N(z),F=z3(b,"SerializableStateInvariantMiddleware");return!C&&!(o.length&&o.indexOf(z.type)!==-1)&&F.measureTime(()=>{const x=h2(z,"",a,i,d,O);if(x){const{keyPath:H,value:B}=x;console.error(`A non-serializable value was detected in an action, in the path: \`${H}\`. Value:`,B,`
74
+ Take a look at the logic that dispatched this action: `,z,`
75
+ (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
76
+ (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),E||(F.measureTime(()=>{const x=R.getState(),H=h2(x,"",a,i,p,O);if(H){const{keyPath:B,value:_}=H;console.error(`A non-serializable value was detected in the state, in the path: \`${B}\`. Value:`,_,`
77
+ Take a look at the reducer(s) handling this action type: ${z.type}.
78
+ (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),F.warnIfExceeded()),U}}}function $b(n){return typeof n=="boolean"}var Z7=()=>function(a){const{thunk:i=!0,immutableCheck:o=!0,serializableCheck:d=!0,actionCreatorCheck:p=!0}=a??{};let b=new U3;if(i&&($b(i)?b.push(j7):b.push(L7(i.extraArgument))),process.env.NODE_ENV!=="production"){if(o){let E={};$b(o)||(E=o),b.unshift(P7(E))}if(d){let E={};$b(d)||(E=d),b.push(Q7(E))}if(p){let E={};$b(p)||(E=p),b.unshift(G7(E))}}return b},W7="RTK_autoBatch",oT=n=>a=>{setTimeout(a,n)},I7=(n={type:"raf"})=>a=>(...i)=>{const o=a(...i);let d=!0,p=!1,b=!1;const E=new Set,C=n.type==="tick"?queueMicrotask:n.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:oT(10):n.type==="callback"?n.queueNotification:oT(n.timeout),A=()=>{b=!1,p&&(p=!1,E.forEach(O=>O()))};return Object.assign({},o,{subscribe(O){const R=()=>d&&O(),N=o.subscribe(R);return E.add(O),()=>{N(),E.delete(O)}},dispatch(O){var R;try{return d=!((R=O==null?void 0:O.meta)!=null&&R[W7]),p=!d,p&&(b||(b=!0,C(A))),o.dispatch(O)}finally{d=!0}}})},K7=n=>function(i){const{autoBatch:o=!0}=i??{};let d=new U3(n);return o&&d.push(I7(typeof o=="object"?o:void 0)),d};function J7(n){const a=Z7(),{reducer:i=void 0,middleware:o,devTools:d=!0,preloadedState:p=void 0,enhancers:b=void 0}=n||{};let E;if(typeof i=="function")E=i;else if(V1(i))E=C7(i);else throw new Error(process.env.NODE_ENV==="production"?Ka(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(process.env.NODE_ENV!=="production"&&o&&typeof o!="function")throw new Error(process.env.NODE_ENV==="production"?Ka(2):"`middleware` field must be a callback");let C;if(typeof o=="function"){if(C=o(a),process.env.NODE_ENV!=="production"&&!Array.isArray(C))throw new Error(process.env.NODE_ENV==="production"?Ka(3):"when using a middleware builder function, an array of middleware must be returned")}else C=a();if(process.env.NODE_ENV!=="production"&&C.some(U=>typeof U!="function"))throw new Error(process.env.NODE_ENV==="production"?Ka(4):"each middleware provided to configureStore must be a function");let A=DD;d&&(A=H7({trace:process.env.NODE_ENV!=="production",...typeof d=="object"&&d}));const O=A7(...C),R=K7(O);if(process.env.NODE_ENV!=="production"&&b&&typeof b!="function")throw new Error(process.env.NODE_ENV==="production"?Ka(5):"`enhancers` field must be a callback");let N=typeof b=="function"?b(R):R();if(process.env.NODE_ENV!=="production"&&!Array.isArray(N))throw new Error(process.env.NODE_ENV==="production"?Ka(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&N.some(U=>typeof U!="function"))throw new Error(process.env.NODE_ENV==="production"?Ka(7):"each enhancer provided to configureStore must be a function");process.env.NODE_ENV!=="production"&&C.length&&!N.includes(O)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const z=A(...N);return k3(E,p,z)}function q3(n){const a={},i=[];let o;const d={addCase(p,b){if(process.env.NODE_ENV!=="production"){if(i.length>0)throw new Error(process.env.NODE_ENV==="production"?Ka(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(o)throw new Error(process.env.NODE_ENV==="production"?Ka(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const E=typeof p=="string"?p:p.type;if(!E)throw new Error(process.env.NODE_ENV==="production"?Ka(28):"`builder.addCase` cannot be called with an empty action type");if(E in a)throw new Error(process.env.NODE_ENV==="production"?Ka(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${E}'`);return a[E]=b,d},addMatcher(p,b){if(process.env.NODE_ENV!=="production"&&o)throw new Error(process.env.NODE_ENV==="production"?Ka(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return i.push({matcher:p,reducer:b}),d},addDefaultCase(p){if(process.env.NODE_ENV!=="production"&&o)throw new Error(process.env.NODE_ENV==="production"?Ka(31):"`builder.addDefaultCase` can only be called once");return o=p,d}};return n(d),[a,i,o]}function ek(n){return typeof n=="function"}function tk(n,a){if(process.env.NODE_ENV!=="production"&&typeof a=="object")throw new Error(process.env.NODE_ENV==="production"?Ka(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[i,o,d]=q3(a),p;if(ek(n))p=()=>uT(n());else{const E=uT(n);p=()=>E}function b(E=p(),C){let A=[i[C.type],...o.filter(({matcher:O})=>O(C)).map(({reducer:O})=>O)];return A.filter(O=>!!O).length===0&&(A=[d]),A.reduce((O,R)=>{if(R)if(Lv(O)){const z=R(O,C);return z===void 0?O:z}else{if(Wh(O))return H1(O,N=>R(N,C));{const N=R(O,C);if(N===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}}return O},E)}return b.getInitialState=p,b}var nk=Symbol.for("rtk-slice-createasyncthunk");function ak(n,a){return`${n}/${a}`}function rk({creators:n}={}){var i;const a=(i=n==null?void 0:n.asyncThunk)==null?void 0:i[nk];return function(d){const{name:p,reducerPath:b=p}=d;if(!p)throw new Error(process.env.NODE_ENV==="production"?Ka(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&d.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const E=(typeof d.reducers=="function"?d.reducers(lk()):d.reducers)||{},C=Object.keys(E),A={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},O={addCase(_,V){const q=typeof _=="string"?_:_.type;if(!q)throw new Error(process.env.NODE_ENV==="production"?Ka(12):"`context.addCase` cannot be called with an empty action type");if(q in A.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?Ka(13):"`context.addCase` cannot be called with two reducers for the same action type: "+q);return A.sliceCaseReducersByType[q]=V,O},addMatcher(_,V){return A.sliceMatchers.push({matcher:_,reducer:V}),O},exposeAction(_,V){return A.actionCreators[_]=V,O},exposeCaseReducer(_,V){return A.sliceCaseReducersByName[_]=V,O}};C.forEach(_=>{const V=E[_],q={reducerName:_,type:ak(p,_),createNotation:typeof d.reducers=="function"};sk(V)?fk(q,V,O,a):ok(q,V,O)});function R(){if(process.env.NODE_ENV!=="production"&&typeof d.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?Ka(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[_={},V=[],q=void 0]=typeof d.extraReducers=="function"?q3(d.extraReducers):[d.extraReducers],K={..._,...A.sliceCaseReducersByType};return tk(d.initialState,ie=>{for(let Ee in K)ie.addCase(Ee,K[Ee]);for(let Ee of A.sliceMatchers)ie.addMatcher(Ee.matcher,Ee.reducer);for(let Ee of V)ie.addMatcher(Ee.matcher,Ee.reducer);q&&ie.addDefaultCase(q)})}const N=_=>_,z=new Map;let U;function F(_,V){return U||(U=R()),U(_,V)}function x(){return U||(U=R()),U.getInitialState()}function H(_,V=!1){function q(ie){let Ee=ie[_];if(typeof Ee>"u"){if(V)Ee=x();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Ka(15):"selectSlice returned undefined for an uninjected slice reducer")}return Ee}function K(ie=N){const Ee=lT(z,V,()=>new WeakMap);return lT(Ee,ie,()=>{const ue={};for(const[xe,ze]of Object.entries(d.selectors??{}))ue[xe]=ik(ze,ie,x,V);return ue})}return{reducerPath:_,getSelectors:K,get selectors(){return K(q)},selectSlice:q}}const B={name:p,reducer:F,actions:A.actionCreators,caseReducers:A.sliceCaseReducersByName,getInitialState:x,...H(b),injectInto(_,{reducerPath:V,...q}={}){const K=V??b;return _.inject({reducerPath:K,reducer:F},q),{...B,...H(K,!0)}}};return B}}function ik(n,a,i,o){function d(p,...b){let E=a(p);if(typeof E>"u"){if(o)E=i();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Ka(16):"selectState returned undefined for an uninjected slice reducer")}return n(E,...b)}return d.unwrapped=n,d}var uk=rk();function lk(){function n(a,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:a,...i}}return n.withTypes=()=>n,{reducer(a){return Object.assign({[a.name](...i){return a(...i)}}[a.name],{_reducerDefinitionType:"reducer"})},preparedReducer(a,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:a,reducer:i}},asyncThunk:n}}function ok({type:n,reducerName:a,createNotation:i},o,d){let p,b;if("reducer"in o){if(i&&!ck(o))throw new Error(process.env.NODE_ENV==="production"?Ka(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");p=o.reducer,b=o.prepare}else p=o;d.addCase(n,p).exposeCaseReducer(a,p).exposeAction(a,b?iT(n,b):iT(n))}function sk(n){return n._reducerDefinitionType==="asyncThunk"}function ck(n){return n._reducerDefinitionType==="reducerWithPrepare"}function fk({type:n,reducerName:a},i,o,d){if(!d)throw new Error(process.env.NODE_ENV==="production"?Ka(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:p,fulfilled:b,pending:E,rejected:C,settled:A,options:O}=i,R=d(n,p,O);o.exposeAction(a,R),b&&o.addCase(R.fulfilled,b),E&&o.addCase(R.pending,E),C&&o.addCase(R.rejected,C),A&&o.addMatcher(R.settled,A),o.exposeCaseReducer(a,{fulfilled:b||Xb,pending:E||Xb,rejected:C||Xb,settled:A||Xb})}function Xb(){}function Ka(n){return`Minified Redux Toolkit error #${n}; visit https://redux-toolkit.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}const dk={search:"",initialValue:[],value:[],target:void 0,selected:{contentType:void 0,contentItem:void 0},options:{contentTypes:[],contentItems:{}}},hk={states:[]};function Y3(n){return n.states}function G3(n,a){return n.states.findIndex(i=>i.uuid===a)}const xS=ED([Y3,G3],(n,a)=>n[a]),cC=uk({name:"editor",initialState:hk,reducers:{setState:(n,a)=>{var o,d,p,b;const i=n.states.find(E=>E.uuid===a.payload.uuid);if(!i){n.states.push({uuid:a.payload.uuid,...dk,...a.payload.state});return}((o=a.payload.state)==null?void 0:o.search)!==void 0&&(i.search=a.payload.state.search),(d=a.payload.state)!=null&&d.selected&&(i.selected=a.payload.state.selected),a.payload.state&&"target"in a.payload.state&&(i.target=a.payload.state.target),i.value=((p=a.payload.state)==null?void 0:p.value)??i.value,i.initialValue=((b=a.payload.state)==null?void 0:b.initialValue)??i.initialValue},setInitialValue:(n,a)=>{const i=n.states.find(o=>o.uuid===a.payload.uuid);i&&(i.initialValue=a.payload.initialValue)}},selectors:{selectStates:Y3,selectStateIndex:G3,selectStateById:xS,selectStateByIdTarget:ED([xS],n=>n.target),selectStateByIdSelected:ED([xS],n=>n.selected)}}),{selectStateById:m2,selectStateByIdTarget:fC,selectStateByIdSelected:Zz}=cC.selectors,{setState:ly,setInitialValue:mk}=cC.actions,vk=cC.reducer;/*!
79
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
80
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
81
+ * Copyright 2024 Fonticons, Inc.
82
+ */function pk(n,a,i){return(a=yk(a))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function sT(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function ot(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?sT(Object(i),!0).forEach(function(o){pk(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):sT(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}function gk(n,a){if(typeof n!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,a);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function yk(n){var a=gk(n,"string");return typeof a=="symbol"?a:a+""}const cT=()=>{};let dC={},$3={},X3=null,P3={mark:cT,measure:cT};try{typeof window<"u"&&(dC=window),typeof document<"u"&&($3=document),typeof MutationObserver<"u"&&(X3=MutationObserver),typeof performance<"u"&&(P3=performance)}catch{}const{userAgent:fT=""}=dC.navigator||{},qv=dC,Ja=$3,dT=X3,Pb=P3;qv.document;const tm=!!Ja.documentElement&&!!Ja.head&&typeof Ja.addEventListener=="function"&&typeof Ja.createElement=="function",Q3=~fT.indexOf("MSIE")||~fT.indexOf("Trident/");var bk=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Dk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Z3={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},Ek={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},W3=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],qu="classic",FD="duotone",Sk="sharp",Ck="sharp-duotone",I3=[qu,FD,Sk,Ck],Ak={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},wk={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},xk=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),Tk={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},Ok=["fak","fa-kit","fakd","fa-kit-duotone"],hT={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Rk=["kit"],Bk={kit:{"fa-kit":"fak"}},Nk=["fak","fakd"],kk={kit:{fak:"fa-kit"}},mT={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Qb={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Mk=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],_k=["fak","fa-kit","fakd","fa-kit-duotone"],Fk={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},zk={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Uk={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},v2={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},jk=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],p2=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Mk,...jk],Lk=["solid","regular","light","thin","duotone","brands"],K3=[1,2,3,4,5,6,7,8,9,10],Hk=K3.concat([11,12,13,14,15,16,17,18,19,20]),Vk=[...Object.keys(Uk),...Lk,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Qb.GROUP,Qb.SWAP_OPACITY,Qb.PRIMARY,Qb.SECONDARY].concat(K3.map(n=>"".concat(n,"x"))).concat(Hk.map(n=>"w-".concat(n))),qk={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Kh="___FONT_AWESOME___",g2=16,J3="fa",e4="svg-inline--fa",Lg="data-fa-i2svg",y2="data-fa-pseudo-element",Yk="data-fa-pseudo-element-pending",hC="data-prefix",mC="data-icon",vT="fontawesome-i2svg",Gk="async",$k=["HTML","HEAD","STYLE","SCRIPT"],t4=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function q1(n){return new Proxy(n,{get(a,i){return i in a?a[i]:a[qu]}})}const n4=ot({},Z3);n4[qu]=ot(ot(ot(ot({},{"fa-duotone":"duotone"}),Z3[qu]),hT.kit),hT["kit-duotone"]);const Xk=q1(n4),b2=ot({},Tk);b2[qu]=ot(ot(ot(ot({},{duotone:"fad"}),b2[qu]),mT.kit),mT["kit-duotone"]);const pT=q1(b2),D2=ot({},v2);D2[qu]=ot(ot({},D2[qu]),kk.kit);const vC=q1(D2),E2=ot({},zk);E2[qu]=ot(ot({},E2[qu]),Bk.kit);q1(E2);const Pk=bk,a4="fa-layers-text",Qk=Dk,Zk=ot({},Ak);q1(Zk);const Wk=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],TS=Ek,Ik=[...Rk,...Vk],w1=qv.FontAwesomeConfig||{};function Kk(n){var a=Ja.querySelector("script["+n+"]");if(a)return a.getAttribute(n)}function Jk(n){return n===""?!0:n==="false"?!1:n==="true"?!0:n}Ja&&typeof Ja.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(a=>{let[i,o]=a;const d=Jk(Kk(i));d!=null&&(w1[o]=d)});const r4={styleDefault:"solid",familyDefault:qu,cssPrefix:J3,replacementClass:e4,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};w1.familyPrefix&&(w1.cssPrefix=w1.familyPrefix);const oy=ot(ot({},r4),w1);oy.autoReplaceSvg||(oy.observeMutations=!1);const $t={};Object.keys(r4).forEach(n=>{Object.defineProperty($t,n,{enumerable:!0,set:function(a){oy[n]=a,x1.forEach(i=>i($t))},get:function(){return oy[n]}})});Object.defineProperty($t,"familyPrefix",{enumerable:!0,set:function(n){oy.cssPrefix=n,x1.forEach(a=>a($t))},get:function(){return oy.cssPrefix}});qv.FontAwesomeConfig=$t;const x1=[];function eM(n){return x1.push(n),()=>{x1.splice(x1.indexOf(n),1)}}const _v=g2,Sd={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function tM(n){if(!n||!tm)return;const a=Ja.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=n;const i=Ja.head.childNodes;let o=null;for(let d=i.length-1;d>-1;d--){const p=i[d],b=(p.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(b)>-1&&(o=p)}return Ja.head.insertBefore(a,o),n}const nM="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function F1(){let n=12,a="";for(;n-- >0;)a+=nM[Math.random()*62|0];return a}function hy(n){const a=[];for(let i=(n||[]).length>>>0;i--;)a[i]=n[i];return a}function pC(n){return n.classList?hy(n.classList):(n.getAttribute("class")||"").split(" ").filter(a=>a)}function i4(n){return"".concat(n).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function aM(n){return Object.keys(n||{}).reduce((a,i)=>a+"".concat(i,'="').concat(i4(n[i]),'" '),"").trim()}function zD(n){return Object.keys(n||{}).reduce((a,i)=>a+"".concat(i,": ").concat(n[i].trim(),";"),"")}function gC(n){return n.size!==Sd.size||n.x!==Sd.x||n.y!==Sd.y||n.rotate!==Sd.rotate||n.flipX||n.flipY}function rM(n){let{transform:a,containerWidth:i,iconWidth:o}=n;const d={transform:"translate(".concat(i/2," 256)")},p="translate(".concat(a.x*32,", ").concat(a.y*32,") "),b="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),E="rotate(".concat(a.rotate," 0 0)"),C={transform:"".concat(p," ").concat(b," ").concat(E)},A={transform:"translate(".concat(o/2*-1," -256)")};return{outer:d,inner:C,path:A}}function iM(n){let{transform:a,width:i=g2,height:o=g2,startCentered:d=!1}=n,p="";return d&&Q3?p+="translate(".concat(a.x/_v-i/2,"em, ").concat(a.y/_v-o/2,"em) "):d?p+="translate(calc(-50% + ".concat(a.x/_v,"em), calc(-50% + ").concat(a.y/_v,"em)) "):p+="translate(".concat(a.x/_v,"em, ").concat(a.y/_v,"em) "),p+="scale(".concat(a.size/_v*(a.flipX?-1:1),", ").concat(a.size/_v*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}var uM=`:root, :host {
83
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
84
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
85
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
86
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
87
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
88
+ --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
89
+ --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
90
+ --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
91
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
92
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
93
+ --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
94
+ --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
95
+ --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
96
+ --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
97
+ --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
98
+ --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
99
+ --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
100
+ }
101
+
102
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
103
+ overflow: visible;
104
+ box-sizing: content-box;
105
+ }
106
+
107
+ .svg-inline--fa {
108
+ display: var(--fa-display, inline-block);
109
+ height: 1em;
110
+ overflow: visible;
111
+ vertical-align: -0.125em;
112
+ }
113
+ .svg-inline--fa.fa-2xs {
114
+ vertical-align: 0.1em;
115
+ }
116
+ .svg-inline--fa.fa-xs {
117
+ vertical-align: 0em;
118
+ }
119
+ .svg-inline--fa.fa-sm {
120
+ vertical-align: -0.0714285705em;
121
+ }
122
+ .svg-inline--fa.fa-lg {
123
+ vertical-align: -0.2em;
124
+ }
125
+ .svg-inline--fa.fa-xl {
126
+ vertical-align: -0.25em;
127
+ }
128
+ .svg-inline--fa.fa-2xl {
129
+ vertical-align: -0.3125em;
130
+ }
131
+ .svg-inline--fa.fa-pull-left {
132
+ margin-right: var(--fa-pull-margin, 0.3em);
133
+ width: auto;
134
+ }
135
+ .svg-inline--fa.fa-pull-right {
136
+ margin-left: var(--fa-pull-margin, 0.3em);
137
+ width: auto;
138
+ }
139
+ .svg-inline--fa.fa-li {
140
+ width: var(--fa-li-width, 2em);
141
+ top: 0.25em;
142
+ }
143
+ .svg-inline--fa.fa-fw {
144
+ width: var(--fa-fw-width, 1.25em);
145
+ }
146
+
147
+ .fa-layers svg.svg-inline--fa {
148
+ bottom: 0;
149
+ left: 0;
150
+ margin: auto;
151
+ position: absolute;
152
+ right: 0;
153
+ top: 0;
154
+ }
155
+
156
+ .fa-layers-counter, .fa-layers-text {
157
+ display: inline-block;
158
+ position: absolute;
159
+ text-align: center;
160
+ }
161
+
162
+ .fa-layers {
163
+ display: inline-block;
164
+ height: 1em;
165
+ position: relative;
166
+ text-align: center;
167
+ vertical-align: -0.125em;
168
+ width: 1em;
169
+ }
170
+ .fa-layers svg.svg-inline--fa {
171
+ transform-origin: center center;
172
+ }
173
+
174
+ .fa-layers-text {
175
+ left: 50%;
176
+ top: 50%;
177
+ transform: translate(-50%, -50%);
178
+ transform-origin: center center;
179
+ }
180
+
181
+ .fa-layers-counter {
182
+ background-color: var(--fa-counter-background-color, #ff253a);
183
+ border-radius: var(--fa-counter-border-radius, 1em);
184
+ box-sizing: border-box;
185
+ color: var(--fa-inverse, #fff);
186
+ line-height: var(--fa-counter-line-height, 1);
187
+ max-width: var(--fa-counter-max-width, 5em);
188
+ min-width: var(--fa-counter-min-width, 1.5em);
189
+ overflow: hidden;
190
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
191
+ right: var(--fa-right, 0);
192
+ text-overflow: ellipsis;
193
+ top: var(--fa-top, 0);
194
+ transform: scale(var(--fa-counter-scale, 0.25));
195
+ transform-origin: top right;
196
+ }
197
+
198
+ .fa-layers-bottom-right {
199
+ bottom: var(--fa-bottom, 0);
200
+ right: var(--fa-right, 0);
201
+ top: auto;
202
+ transform: scale(var(--fa-layers-scale, 0.25));
203
+ transform-origin: bottom right;
204
+ }
205
+
206
+ .fa-layers-bottom-left {
207
+ bottom: var(--fa-bottom, 0);
208
+ left: var(--fa-left, 0);
209
+ right: auto;
210
+ top: auto;
211
+ transform: scale(var(--fa-layers-scale, 0.25));
212
+ transform-origin: bottom left;
213
+ }
214
+
215
+ .fa-layers-top-right {
216
+ top: var(--fa-top, 0);
217
+ right: var(--fa-right, 0);
218
+ transform: scale(var(--fa-layers-scale, 0.25));
219
+ transform-origin: top right;
220
+ }
221
+
222
+ .fa-layers-top-left {
223
+ left: var(--fa-left, 0);
224
+ right: auto;
225
+ top: var(--fa-top, 0);
226
+ transform: scale(var(--fa-layers-scale, 0.25));
227
+ transform-origin: top left;
228
+ }
229
+
230
+ .fa-1x {
231
+ font-size: 1em;
232
+ }
233
+
234
+ .fa-2x {
235
+ font-size: 2em;
236
+ }
237
+
238
+ .fa-3x {
239
+ font-size: 3em;
240
+ }
241
+
242
+ .fa-4x {
243
+ font-size: 4em;
244
+ }
245
+
246
+ .fa-5x {
247
+ font-size: 5em;
248
+ }
249
+
250
+ .fa-6x {
251
+ font-size: 6em;
252
+ }
253
+
254
+ .fa-7x {
255
+ font-size: 7em;
256
+ }
257
+
258
+ .fa-8x {
259
+ font-size: 8em;
260
+ }
261
+
262
+ .fa-9x {
263
+ font-size: 9em;
264
+ }
265
+
266
+ .fa-10x {
267
+ font-size: 10em;
268
+ }
269
+
270
+ .fa-2xs {
271
+ font-size: 0.625em;
272
+ line-height: 0.1em;
273
+ vertical-align: 0.225em;
274
+ }
275
+
276
+ .fa-xs {
277
+ font-size: 0.75em;
278
+ line-height: 0.0833333337em;
279
+ vertical-align: 0.125em;
280
+ }
281
+
282
+ .fa-sm {
283
+ font-size: 0.875em;
284
+ line-height: 0.0714285718em;
285
+ vertical-align: 0.0535714295em;
286
+ }
287
+
288
+ .fa-lg {
289
+ font-size: 1.25em;
290
+ line-height: 0.05em;
291
+ vertical-align: -0.075em;
292
+ }
293
+
294
+ .fa-xl {
295
+ font-size: 1.5em;
296
+ line-height: 0.0416666682em;
297
+ vertical-align: -0.125em;
298
+ }
299
+
300
+ .fa-2xl {
301
+ font-size: 2em;
302
+ line-height: 0.03125em;
303
+ vertical-align: -0.1875em;
304
+ }
305
+
306
+ .fa-fw {
307
+ text-align: center;
308
+ width: 1.25em;
309
+ }
310
+
311
+ .fa-ul {
312
+ list-style-type: none;
313
+ margin-left: var(--fa-li-margin, 2.5em);
314
+ padding-left: 0;
315
+ }
316
+ .fa-ul > li {
317
+ position: relative;
318
+ }
319
+
320
+ .fa-li {
321
+ left: calc(-1 * var(--fa-li-width, 2em));
322
+ position: absolute;
323
+ text-align: center;
324
+ width: var(--fa-li-width, 2em);
325
+ line-height: inherit;
326
+ }
327
+
328
+ .fa-border {
329
+ border-color: var(--fa-border-color, #eee);
330
+ border-radius: var(--fa-border-radius, 0.1em);
331
+ border-style: var(--fa-border-style, solid);
332
+ border-width: var(--fa-border-width, 0.08em);
333
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
334
+ }
335
+
336
+ .fa-pull-left {
337
+ float: left;
338
+ margin-right: var(--fa-pull-margin, 0.3em);
339
+ }
340
+
341
+ .fa-pull-right {
342
+ float: right;
343
+ margin-left: var(--fa-pull-margin, 0.3em);
344
+ }
345
+
346
+ .fa-beat {
347
+ animation-name: fa-beat;
348
+ animation-delay: var(--fa-animation-delay, 0s);
349
+ animation-direction: var(--fa-animation-direction, normal);
350
+ animation-duration: var(--fa-animation-duration, 1s);
351
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
352
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
353
+ }
354
+
355
+ .fa-bounce {
356
+ animation-name: fa-bounce;
357
+ animation-delay: var(--fa-animation-delay, 0s);
358
+ animation-direction: var(--fa-animation-direction, normal);
359
+ animation-duration: var(--fa-animation-duration, 1s);
360
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
361
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
362
+ }
363
+
364
+ .fa-fade {
365
+ animation-name: fa-fade;
366
+ animation-delay: var(--fa-animation-delay, 0s);
367
+ animation-direction: var(--fa-animation-direction, normal);
368
+ animation-duration: var(--fa-animation-duration, 1s);
369
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
370
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
371
+ }
372
+
373
+ .fa-beat-fade {
374
+ animation-name: fa-beat-fade;
375
+ animation-delay: var(--fa-animation-delay, 0s);
376
+ animation-direction: var(--fa-animation-direction, normal);
377
+ animation-duration: var(--fa-animation-duration, 1s);
378
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
379
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
380
+ }
381
+
382
+ .fa-flip {
383
+ animation-name: fa-flip;
384
+ animation-delay: var(--fa-animation-delay, 0s);
385
+ animation-direction: var(--fa-animation-direction, normal);
386
+ animation-duration: var(--fa-animation-duration, 1s);
387
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
388
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
389
+ }
390
+
391
+ .fa-shake {
392
+ animation-name: fa-shake;
393
+ animation-delay: var(--fa-animation-delay, 0s);
394
+ animation-direction: var(--fa-animation-direction, normal);
395
+ animation-duration: var(--fa-animation-duration, 1s);
396
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
397
+ animation-timing-function: var(--fa-animation-timing, linear);
398
+ }
399
+
400
+ .fa-spin {
401
+ animation-name: fa-spin;
402
+ animation-delay: var(--fa-animation-delay, 0s);
403
+ animation-direction: var(--fa-animation-direction, normal);
404
+ animation-duration: var(--fa-animation-duration, 2s);
405
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
406
+ animation-timing-function: var(--fa-animation-timing, linear);
407
+ }
408
+
409
+ .fa-spin-reverse {
410
+ --fa-animation-direction: reverse;
411
+ }
412
+
413
+ .fa-pulse,
414
+ .fa-spin-pulse {
415
+ animation-name: fa-spin;
416
+ animation-direction: var(--fa-animation-direction, normal);
417
+ animation-duration: var(--fa-animation-duration, 1s);
418
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
419
+ animation-timing-function: var(--fa-animation-timing, steps(8));
420
+ }
421
+
422
+ @media (prefers-reduced-motion: reduce) {
423
+ .fa-beat,
424
+ .fa-bounce,
425
+ .fa-fade,
426
+ .fa-beat-fade,
427
+ .fa-flip,
428
+ .fa-pulse,
429
+ .fa-shake,
430
+ .fa-spin,
431
+ .fa-spin-pulse {
432
+ animation-delay: -1ms;
433
+ animation-duration: 1ms;
434
+ animation-iteration-count: 1;
435
+ transition-delay: 0s;
436
+ transition-duration: 0s;
437
+ }
438
+ }
439
+ @keyframes fa-beat {
440
+ 0%, 90% {
441
+ transform: scale(1);
442
+ }
443
+ 45% {
444
+ transform: scale(var(--fa-beat-scale, 1.25));
445
+ }
446
+ }
447
+ @keyframes fa-bounce {
448
+ 0% {
449
+ transform: scale(1, 1) translateY(0);
450
+ }
451
+ 10% {
452
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
453
+ }
454
+ 30% {
455
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
456
+ }
457
+ 50% {
458
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
459
+ }
460
+ 57% {
461
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
462
+ }
463
+ 64% {
464
+ transform: scale(1, 1) translateY(0);
465
+ }
466
+ 100% {
467
+ transform: scale(1, 1) translateY(0);
468
+ }
469
+ }
470
+ @keyframes fa-fade {
471
+ 50% {
472
+ opacity: var(--fa-fade-opacity, 0.4);
473
+ }
474
+ }
475
+ @keyframes fa-beat-fade {
476
+ 0%, 100% {
477
+ opacity: var(--fa-beat-fade-opacity, 0.4);
478
+ transform: scale(1);
479
+ }
480
+ 50% {
481
+ opacity: 1;
482
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
483
+ }
484
+ }
485
+ @keyframes fa-flip {
486
+ 50% {
487
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
488
+ }
489
+ }
490
+ @keyframes fa-shake {
491
+ 0% {
492
+ transform: rotate(-15deg);
493
+ }
494
+ 4% {
495
+ transform: rotate(15deg);
496
+ }
497
+ 8%, 24% {
498
+ transform: rotate(-18deg);
499
+ }
500
+ 12%, 28% {
501
+ transform: rotate(18deg);
502
+ }
503
+ 16% {
504
+ transform: rotate(-22deg);
505
+ }
506
+ 20% {
507
+ transform: rotate(22deg);
508
+ }
509
+ 32% {
510
+ transform: rotate(-12deg);
511
+ }
512
+ 36% {
513
+ transform: rotate(12deg);
514
+ }
515
+ 40%, 100% {
516
+ transform: rotate(0deg);
517
+ }
518
+ }
519
+ @keyframes fa-spin {
520
+ 0% {
521
+ transform: rotate(0deg);
522
+ }
523
+ 100% {
524
+ transform: rotate(360deg);
525
+ }
526
+ }
527
+ .fa-rotate-90 {
528
+ transform: rotate(90deg);
529
+ }
530
+
531
+ .fa-rotate-180 {
532
+ transform: rotate(180deg);
533
+ }
534
+
535
+ .fa-rotate-270 {
536
+ transform: rotate(270deg);
537
+ }
538
+
539
+ .fa-flip-horizontal {
540
+ transform: scale(-1, 1);
541
+ }
542
+
543
+ .fa-flip-vertical {
544
+ transform: scale(1, -1);
545
+ }
546
+
547
+ .fa-flip-both,
548
+ .fa-flip-horizontal.fa-flip-vertical {
549
+ transform: scale(-1, -1);
550
+ }
551
+
552
+ .fa-rotate-by {
553
+ transform: rotate(var(--fa-rotate-angle, 0));
554
+ }
555
+
556
+ .fa-stack {
557
+ display: inline-block;
558
+ vertical-align: middle;
559
+ height: 2em;
560
+ position: relative;
561
+ width: 2.5em;
562
+ }
563
+
564
+ .fa-stack-1x,
565
+ .fa-stack-2x {
566
+ bottom: 0;
567
+ left: 0;
568
+ margin: auto;
569
+ position: absolute;
570
+ right: 0;
571
+ top: 0;
572
+ z-index: var(--fa-stack-z-index, auto);
573
+ }
574
+
575
+ .svg-inline--fa.fa-stack-1x {
576
+ height: 1em;
577
+ width: 1.25em;
578
+ }
579
+ .svg-inline--fa.fa-stack-2x {
580
+ height: 2em;
581
+ width: 2.5em;
582
+ }
583
+
584
+ .fa-inverse {
585
+ color: var(--fa-inverse, #fff);
586
+ }
587
+
588
+ .sr-only,
589
+ .fa-sr-only {
590
+ position: absolute;
591
+ width: 1px;
592
+ height: 1px;
593
+ padding: 0;
594
+ margin: -1px;
595
+ overflow: hidden;
596
+ clip: rect(0, 0, 0, 0);
597
+ white-space: nowrap;
598
+ border-width: 0;
599
+ }
600
+
601
+ .sr-only-focusable:not(:focus),
602
+ .fa-sr-only-focusable:not(:focus) {
603
+ position: absolute;
604
+ width: 1px;
605
+ height: 1px;
606
+ padding: 0;
607
+ margin: -1px;
608
+ overflow: hidden;
609
+ clip: rect(0, 0, 0, 0);
610
+ white-space: nowrap;
611
+ border-width: 0;
612
+ }
613
+
614
+ .svg-inline--fa .fa-primary {
615
+ fill: var(--fa-primary-color, currentColor);
616
+ opacity: var(--fa-primary-opacity, 1);
617
+ }
618
+
619
+ .svg-inline--fa .fa-secondary {
620
+ fill: var(--fa-secondary-color, currentColor);
621
+ opacity: var(--fa-secondary-opacity, 0.4);
622
+ }
623
+
624
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
625
+ opacity: var(--fa-secondary-opacity, 0.4);
626
+ }
627
+
628
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
629
+ opacity: var(--fa-primary-opacity, 1);
630
+ }
631
+
632
+ .svg-inline--fa mask .fa-primary,
633
+ .svg-inline--fa mask .fa-secondary {
634
+ fill: black;
635
+ }`;function u4(){const n=J3,a=e4,i=$t.cssPrefix,o=$t.replacementClass;let d=uM;if(i!==n||o!==a){const p=new RegExp("\\.".concat(n,"\\-"),"g"),b=new RegExp("\\--".concat(n,"\\-"),"g"),E=new RegExp("\\.".concat(a),"g");d=d.replace(p,".".concat(i,"-")).replace(b,"--".concat(i,"-")).replace(E,".".concat(o))}return d}let gT=!1;function OS(){$t.autoAddCss&&!gT&&(tM(u4()),gT=!0)}var lM={mixout(){return{dom:{css:u4,insertCss:OS}}},hooks(){return{beforeDOMElementCreation(){OS()},beforeI2svg(){OS()}}}};const Jh=qv||{};Jh[Kh]||(Jh[Kh]={});Jh[Kh].styles||(Jh[Kh].styles={});Jh[Kh].hooks||(Jh[Kh].hooks={});Jh[Kh].shims||(Jh[Kh].shims=[]);var Cd=Jh[Kh];const l4=[],o4=function(){Ja.removeEventListener("DOMContentLoaded",o4),SD=1,l4.map(n=>n())};let SD=!1;tm&&(SD=(Ja.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ja.readyState),SD||Ja.addEventListener("DOMContentLoaded",o4));function oM(n){tm&&(SD?setTimeout(n,0):l4.push(n))}function Y1(n){const{tag:a,attributes:i={},children:o=[]}=n;return typeof n=="string"?i4(n):"<".concat(a," ").concat(aM(i),">").concat(o.map(Y1).join(""),"</").concat(a,">")}function yT(n,a,i){if(n&&n[a]&&n[a][i])return{prefix:a,iconName:i,icon:n[a][i]}}var RS=function(a,i,o,d){var p=Object.keys(a),b=p.length,E=i,C,A,O;for(o===void 0?(C=1,O=a[p[0]]):(C=0,O=o);C<b;C++)A=p[C],O=E(O,a[A],A,a);return O};function sM(n){const a=[];let i=0;const o=n.length;for(;i<o;){const d=n.charCodeAt(i++);if(d>=55296&&d<=56319&&i<o){const p=n.charCodeAt(i++);(p&64512)==56320?a.push(((d&1023)<<10)+(p&1023)+65536):(a.push(d),i--)}else a.push(d)}return a}function S2(n){const a=sM(n);return a.length===1?a[0].toString(16):null}function cM(n,a){const i=n.length;let o=n.charCodeAt(a),d;return o>=55296&&o<=56319&&i>a+1&&(d=n.charCodeAt(a+1),d>=56320&&d<=57343)?(o-55296)*1024+d-56320+65536:o}function bT(n){return Object.keys(n).reduce((a,i)=>{const o=n[i];return!!o.icon?a[o.iconName]=o.icon:a[i]=o,a},{})}function C2(n,a){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:o=!1}=i,d=bT(a);typeof Cd.hooks.addPack=="function"&&!o?Cd.hooks.addPack(n,bT(a)):Cd.styles[n]=ot(ot({},Cd.styles[n]||{}),d),n==="fas"&&C2("fa",a)}const{styles:z1,shims:fM}=Cd,s4=Object.keys(vC),dM=s4.reduce((n,a)=>(n[a]=Object.keys(vC[a]),n),{});let yC=null,c4={},f4={},d4={},h4={},m4={};function hM(n){return~Ik.indexOf(n)}function mM(n,a){const i=a.split("-"),o=i[0],d=i.slice(1).join("-");return o===n&&d!==""&&!hM(d)?d:null}const v4=()=>{const n=o=>RS(z1,(d,p,b)=>(d[b]=RS(p,o,{}),d),{});c4=n((o,d,p)=>(d[3]&&(o[d[3]]=p),d[2]&&d[2].filter(E=>typeof E=="number").forEach(E=>{o[E.toString(16)]=p}),o)),f4=n((o,d,p)=>(o[p]=p,d[2]&&d[2].filter(E=>typeof E=="string").forEach(E=>{o[E]=p}),o)),m4=n((o,d,p)=>{const b=d[2];return o[p]=p,b.forEach(E=>{o[E]=p}),o});const a="far"in z1||$t.autoFetchSvg,i=RS(fM,(o,d)=>{const p=d[0];let b=d[1];const E=d[2];return b==="far"&&!a&&(b="fas"),typeof p=="string"&&(o.names[p]={prefix:b,iconName:E}),typeof p=="number"&&(o.unicodes[p.toString(16)]={prefix:b,iconName:E}),o},{names:{},unicodes:{}});d4=i.names,h4=i.unicodes,yC=UD($t.styleDefault,{family:$t.familyDefault})};eM(n=>{yC=UD(n.styleDefault,{family:$t.familyDefault})});v4();function bC(n,a){return(c4[n]||{})[a]}function vM(n,a){return(f4[n]||{})[a]}function kg(n,a){return(m4[n]||{})[a]}function p4(n){return d4[n]||{prefix:null,iconName:null}}function pM(n){const a=h4[n],i=bC("fas",n);return a||(i?{prefix:"fas",iconName:i}:null)||{prefix:null,iconName:null}}function Yv(){return yC}const g4=()=>({prefix:null,iconName:null,rest:[]});function gM(n){let a=qu;const i=s4.reduce((o,d)=>(o[d]="".concat($t.cssPrefix,"-").concat(d),o),{});return I3.forEach(o=>{(n.includes(i[o])||n.some(d=>dM[o].includes(d)))&&(a=o)}),a}function UD(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:i=qu}=a,o=Xk[i][n];if(i===FD&&!n)return"fad";const d=pT[i][n]||pT[i][o],p=n in Cd.styles?n:null;return d||p||null}function yM(n){let a=[],i=null;return n.forEach(o=>{const d=mM($t.cssPrefix,o);d?i=d:o&&a.push(o)}),{iconName:i,rest:a}}function DT(n){return n.sort().filter((a,i,o)=>o.indexOf(a)===i)}function jD(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:i=!1}=a;let o=null;const d=p2.concat(_k),p=DT(n.filter(R=>d.includes(R))),b=DT(n.filter(R=>!p2.includes(R))),E=p.filter(R=>(o=R,!W3.includes(R))),[C=null]=E,A=gM(p),O=ot(ot({},yM(b)),{},{prefix:UD(C,{family:A})});return ot(ot(ot({},O),SM({values:n,family:A,styles:z1,config:$t,canonical:O,givenPrefix:o})),bM(i,o,O))}function bM(n,a,i){let{prefix:o,iconName:d}=i;if(n||!o||!d)return{prefix:o,iconName:d};const p=a==="fa"?p4(d):{},b=kg(o,d);return d=p.iconName||b||d,o=p.prefix||o,o==="far"&&!z1.far&&z1.fas&&!$t.autoFetchSvg&&(o="fas"),{prefix:o,iconName:d}}const DM=I3.filter(n=>n!==qu||n!==FD),EM=Object.keys(v2).filter(n=>n!==qu).map(n=>Object.keys(v2[n])).flat();function SM(n){const{values:a,family:i,canonical:o,givenPrefix:d="",styles:p={},config:b={}}=n,E=i===FD,C=a.includes("fa-duotone")||a.includes("fad"),A=b.familyDefault==="duotone",O=o.prefix==="fad"||o.prefix==="fa-duotone";if(!E&&(C||A||O)&&(o.prefix="fad"),(a.includes("fa-brands")||a.includes("fab"))&&(o.prefix="fab"),!o.prefix&&DM.includes(i)&&(Object.keys(p).find(N=>EM.includes(N))||b.autoFetchSvg)){const N=xk.get(i).defaultShortPrefixId;o.prefix=N,o.iconName=kg(o.prefix,o.iconName)||o.iconName}return(o.prefix==="fa"||d==="fa")&&(o.prefix=Yv()||"fas"),o}class CM{constructor(){this.definitions={}}add(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];const d=i.reduce(this._pullDefinitions,{});Object.keys(d).forEach(p=>{this.definitions[p]=ot(ot({},this.definitions[p]||{}),d[p]),C2(p,d[p]);const b=vC[qu][p];b&&C2(b,d[p]),v4()})}reset(){this.definitions={}}_pullDefinitions(a,i){const o=i.prefix&&i.iconName&&i.icon?{0:i}:i;return Object.keys(o).map(d=>{const{prefix:p,iconName:b,icon:E}=o[d],C=E[2];a[p]||(a[p]={}),C.length>0&&C.forEach(A=>{typeof A=="string"&&(a[p][A]=E)}),a[p][b]=E}),a}}let ET=[],I0={};const ty={},AM=Object.keys(ty);function wM(n,a){let{mixoutsTo:i}=a;return ET=n,I0={},Object.keys(ty).forEach(o=>{AM.indexOf(o)===-1&&delete ty[o]}),ET.forEach(o=>{const d=o.mixout?o.mixout():{};if(Object.keys(d).forEach(p=>{typeof d[p]=="function"&&(i[p]=d[p]),typeof d[p]=="object"&&Object.keys(d[p]).forEach(b=>{i[p]||(i[p]={}),i[p][b]=d[p][b]})}),o.hooks){const p=o.hooks();Object.keys(p).forEach(b=>{I0[b]||(I0[b]=[]),I0[b].push(p[b])})}o.provides&&o.provides(ty)}),i}function A2(n,a){for(var i=arguments.length,o=new Array(i>2?i-2:0),d=2;d<i;d++)o[d-2]=arguments[d];return(I0[n]||[]).forEach(b=>{a=b.apply(null,[a,...o])}),a}function Hg(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];(I0[n]||[]).forEach(p=>{p.apply(null,i)})}function Gv(){const n=arguments[0],a=Array.prototype.slice.call(arguments,1);return ty[n]?ty[n].apply(null,a):void 0}function w2(n){n.prefix==="fa"&&(n.prefix="fas");let{iconName:a}=n;const i=n.prefix||Yv();if(a)return a=kg(i,a)||a,yT(y4.definitions,i,a)||yT(Cd.styles,i,a)}const y4=new CM,xM=()=>{$t.autoReplaceSvg=!1,$t.observeMutations=!1,Hg("noAuto")},TM={i2svg:function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return tm?(Hg("beforeI2svg",n),Gv("pseudoElements2svg",n),Gv("i2svg",n)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:a}=n;$t.autoReplaceSvg===!1&&($t.autoReplaceSvg=!0),$t.observeMutations=!0,oM(()=>{RM({autoReplaceSvgRoot:a}),Hg("watch",n)})}},OM={icon:n=>{if(n===null)return null;if(typeof n=="object"&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:kg(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&n.length===2){const a=n[1].indexOf("fa-")===0?n[1].slice(3):n[1],i=UD(n[0]);return{prefix:i,iconName:kg(i,a)||a}}if(typeof n=="string"&&(n.indexOf("".concat($t.cssPrefix,"-"))>-1||n.match(Pk))){const a=jD(n.split(" "),{skipLookups:!0});return{prefix:a.prefix||Yv(),iconName:kg(a.prefix,a.iconName)||a.iconName}}if(typeof n=="string"){const a=Yv();return{prefix:a,iconName:kg(a,n)||n}}}},$o={noAuto:xM,config:$t,dom:TM,parse:OM,library:y4,findIconDefinition:w2,toHtml:Y1},RM=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:a=Ja}=n;(Object.keys(Cd.styles).length>0||$t.autoFetchSvg)&&tm&&$t.autoReplaceSvg&&$o.dom.i2svg({node:a})};function LD(n,a){return Object.defineProperty(n,"abstract",{get:a}),Object.defineProperty(n,"html",{get:function(){return n.abstract.map(i=>Y1(i))}}),Object.defineProperty(n,"node",{get:function(){if(!tm)return;const i=Ja.createElement("div");return i.innerHTML=n.html,i.children}}),n}function BM(n){let{children:a,main:i,mask:o,attributes:d,styles:p,transform:b}=n;if(gC(b)&&i.found&&!o.found){const{width:E,height:C}=i,A={x:E/C/2,y:.5};d.style=zD(ot(ot({},p),{},{"transform-origin":"".concat(A.x+b.x/16,"em ").concat(A.y+b.y/16,"em")}))}return[{tag:"svg",attributes:d,children:a}]}function NM(n){let{prefix:a,iconName:i,children:o,attributes:d,symbol:p}=n;const b=p===!0?"".concat(a,"-").concat($t.cssPrefix,"-").concat(i):p;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ot(ot({},d),{},{id:b}),children:o}]}]}function DC(n){const{icons:{main:a,mask:i},prefix:o,iconName:d,transform:p,symbol:b,title:E,maskId:C,titleId:A,extra:O,watchable:R=!1}=n,{width:N,height:z}=i.found?i:a,U=Nk.includes(o),F=[$t.replacementClass,d?"".concat($t.cssPrefix,"-").concat(d):""].filter(q=>O.classes.indexOf(q)===-1).filter(q=>q!==""||!!q).concat(O.classes).join(" ");let x={children:[],attributes:ot(ot({},O.attributes),{},{"data-prefix":o,"data-icon":d,class:F,role:O.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(N," ").concat(z)})};const H=U&&!~O.classes.indexOf("fa-fw")?{width:"".concat(N/z*16*.0625,"em")}:{};R&&(x.attributes[Lg]=""),E&&(x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(A||F1())},children:[E]}),delete x.attributes.title);const B=ot(ot({},x),{},{prefix:o,iconName:d,main:a,mask:i,maskId:C,transform:p,symbol:b,styles:ot(ot({},H),O.styles)}),{children:_,attributes:V}=i.found&&a.found?Gv("generateAbstractMask",B)||{children:[],attributes:{}}:Gv("generateAbstractIcon",B)||{children:[],attributes:{}};return B.children=_,B.attributes=V,b?NM(B):BM(B)}function ST(n){const{content:a,width:i,height:o,transform:d,title:p,extra:b,watchable:E=!1}=n,C=ot(ot(ot({},b.attributes),p?{title:p}:{}),{},{class:b.classes.join(" ")});E&&(C[Lg]="");const A=ot({},b.styles);gC(d)&&(A.transform=iM({transform:d,startCentered:!0,width:i,height:o}),A["-webkit-transform"]=A.transform);const O=zD(A);O.length>0&&(C.style=O);const R=[];return R.push({tag:"span",attributes:C,children:[a]}),p&&R.push({tag:"span",attributes:{class:"sr-only"},children:[p]}),R}function kM(n){const{content:a,title:i,extra:o}=n,d=ot(ot(ot({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")}),p=zD(o.styles);p.length>0&&(d.style=p);const b=[];return b.push({tag:"span",attributes:d,children:[a]}),i&&b.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),b}const{styles:BS}=Cd;function x2(n){const a=n[0],i=n[1],[o]=n.slice(4);let d=null;return Array.isArray(o)?d={tag:"g",attributes:{class:"".concat($t.cssPrefix,"-").concat(TS.GROUP)},children:[{tag:"path",attributes:{class:"".concat($t.cssPrefix,"-").concat(TS.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat($t.cssPrefix,"-").concat(TS.PRIMARY),fill:"currentColor",d:o[1]}}]}:d={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:a,height:i,icon:d}}const MM={found:!1,width:512,height:512};function _M(n,a){!t4&&!$t.showMissingIcons&&n&&console.error('Icon with name "'.concat(n,'" and prefix "').concat(a,'" is missing.'))}function T2(n,a){let i=a;return a==="fa"&&$t.styleDefault!==null&&(a=Yv()),new Promise((o,d)=>{if(i==="fa"){const p=p4(n)||{};n=p.iconName||n,a=p.prefix||a}if(n&&a&&BS[a]&&BS[a][n]){const p=BS[a][n];return o(x2(p))}_M(n,a),o(ot(ot({},MM),{},{icon:$t.showMissingIcons&&n?Gv("missingIconAbstract")||{}:{}}))})}const CT=()=>{},O2=$t.measurePerformance&&Pb&&Pb.mark&&Pb.measure?Pb:{mark:CT,measure:CT},y1='FA "6.7.2"',FM=n=>(O2.mark("".concat(y1," ").concat(n," begins")),()=>b4(n)),b4=n=>{O2.mark("".concat(y1," ").concat(n," ends")),O2.measure("".concat(y1," ").concat(n),"".concat(y1," ").concat(n," begins"),"".concat(y1," ").concat(n," ends"))};var EC={begin:FM,end:b4};const sD=()=>{};function AT(n){return typeof(n.getAttribute?n.getAttribute(Lg):null)=="string"}function zM(n){const a=n.getAttribute?n.getAttribute(hC):null,i=n.getAttribute?n.getAttribute(mC):null;return a&&i}function UM(n){return n&&n.classList&&n.classList.contains&&n.classList.contains($t.replacementClass)}function jM(){return $t.autoReplaceSvg===!0?cD.replace:cD[$t.autoReplaceSvg]||cD.replace}function LM(n){return Ja.createElementNS("http://www.w3.org/2000/svg",n)}function HM(n){return Ja.createElement(n)}function D4(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:i=n.tag==="svg"?LM:HM}=a;if(typeof n=="string")return Ja.createTextNode(n);const o=i(n.tag);return Object.keys(n.attributes||[]).forEach(function(p){o.setAttribute(p,n.attributes[p])}),(n.children||[]).forEach(function(p){o.appendChild(D4(p,{ceFn:i}))}),o}function VM(n){let a=" ".concat(n.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}const cD={replace:function(n){const a=n[0];if(a.parentNode)if(n[1].forEach(i=>{a.parentNode.insertBefore(D4(i),a)}),a.getAttribute(Lg)===null&&$t.keepOriginalSource){let i=Ja.createComment(VM(a));a.parentNode.replaceChild(i,a)}else a.remove()},nest:function(n){const a=n[0],i=n[1];if(~pC(a).indexOf($t.replacementClass))return cD.replace(n);const o=new RegExp("".concat($t.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){const p=i[0].attributes.class.split(" ").reduce((b,E)=>(E===$t.replacementClass||E.match(o)?b.toSvg.push(E):b.toNode.push(E),b),{toNode:[],toSvg:[]});i[0].attributes.class=p.toSvg.join(" "),p.toNode.length===0?a.removeAttribute("class"):a.setAttribute("class",p.toNode.join(" "))}const d=i.map(p=>Y1(p)).join(`
636
+ `);a.setAttribute(Lg,""),a.innerHTML=d}};function wT(n){n()}function E4(n,a){const i=typeof a=="function"?a:sD;if(n.length===0)i();else{let o=wT;$t.mutateApproach===Gk&&(o=qv.requestAnimationFrame||wT),o(()=>{const d=jM(),p=EC.begin("mutate");n.map(d),p(),i()})}}let SC=!1;function S4(){SC=!0}function R2(){SC=!1}let CD=null;function xT(n){if(!dT||!$t.observeMutations)return;const{treeCallback:a=sD,nodeCallback:i=sD,pseudoElementsCallback:o=sD,observeMutationsRoot:d=Ja}=n;CD=new dT(p=>{if(SC)return;const b=Yv();hy(p).forEach(E=>{if(E.type==="childList"&&E.addedNodes.length>0&&!AT(E.addedNodes[0])&&($t.searchPseudoElements&&o(E.target),a(E.target)),E.type==="attributes"&&E.target.parentNode&&$t.searchPseudoElements&&o(E.target.parentNode),E.type==="attributes"&&AT(E.target)&&~Wk.indexOf(E.attributeName))if(E.attributeName==="class"&&zM(E.target)){const{prefix:C,iconName:A}=jD(pC(E.target));E.target.setAttribute(hC,C||b),A&&E.target.setAttribute(mC,A)}else UM(E.target)&&i(E.target)})}),tm&&CD.observe(d,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function qM(){CD&&CD.disconnect()}function YM(n){const a=n.getAttribute("style");let i=[];return a&&(i=a.split(";").reduce((o,d)=>{const p=d.split(":"),b=p[0],E=p.slice(1);return b&&E.length>0&&(o[b]=E.join(":").trim()),o},{})),i}function GM(n){const a=n.getAttribute("data-prefix"),i=n.getAttribute("data-icon"),o=n.innerText!==void 0?n.innerText.trim():"";let d=jD(pC(n));return d.prefix||(d.prefix=Yv()),a&&i&&(d.prefix=a,d.iconName=i),d.iconName&&d.prefix||(d.prefix&&o.length>0&&(d.iconName=vM(d.prefix,n.innerText)||bC(d.prefix,S2(n.innerText))),!d.iconName&&$t.autoFetchSvg&&n.firstChild&&n.firstChild.nodeType===Node.TEXT_NODE&&(d.iconName=n.firstChild.data)),d}function $M(n){const a=hy(n.attributes).reduce((d,p)=>(d.name!=="class"&&d.name!=="style"&&(d[p.name]=p.value),d),{}),i=n.getAttribute("title"),o=n.getAttribute("data-fa-title-id");return $t.autoA11y&&(i?a["aria-labelledby"]="".concat($t.replacementClass,"-title-").concat(o||F1()):(a["aria-hidden"]="true",a.focusable="false")),a}function XM(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Sd,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function TT(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:i,prefix:o,rest:d}=GM(n),p=$M(n),b=A2("parseNodeAttributes",{},n);let E=a.styleParser?YM(n):[];return ot({iconName:i,title:n.getAttribute("title"),titleId:n.getAttribute("data-fa-title-id"),prefix:o,transform:Sd,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:d,styles:E,attributes:p}},b)}const{styles:PM}=Cd;function C4(n){const a=$t.autoReplaceSvg==="nest"?TT(n,{styleParser:!1}):TT(n);return~a.extra.classes.indexOf(a4)?Gv("generateLayersText",n,a):Gv("generateSvgReplacementMutation",n,a)}function QM(){return[...Ok,...p2]}function OT(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!tm)return Promise.resolve();const i=Ja.documentElement.classList,o=O=>i.add("".concat(vT,"-").concat(O)),d=O=>i.remove("".concat(vT,"-").concat(O)),p=$t.autoFetchSvg?QM():W3.concat(Object.keys(PM));p.includes("fa")||p.push("fa");const b=[".".concat(a4,":not([").concat(Lg,"])")].concat(p.map(O=>".".concat(O,":not([").concat(Lg,"])"))).join(", ");if(b.length===0)return Promise.resolve();let E=[];try{E=hy(n.querySelectorAll(b))}catch{}if(E.length>0)o("pending"),d("complete");else return Promise.resolve();const C=EC.begin("onTree"),A=E.reduce((O,R)=>{try{const N=C4(R);N&&O.push(N)}catch(N){t4||N.name==="MissingIcon"&&console.error(N)}return O},[]);return new Promise((O,R)=>{Promise.all(A).then(N=>{E4(N,()=>{o("active"),o("complete"),d("pending"),typeof a=="function"&&a(),C(),O()})}).catch(N=>{C(),R(N)})})}function ZM(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;C4(n).then(i=>{i&&E4([i],a)})}function WM(n){return function(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=(a||{}).icon?a:w2(a||{});let{mask:d}=i;return d&&(d=(d||{}).icon?d:w2(d||{})),n(o,ot(ot({},i),{},{mask:d}))}}const IM=function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:i=Sd,symbol:o=!1,mask:d=null,maskId:p=null,title:b=null,titleId:E=null,classes:C=[],attributes:A={},styles:O={}}=a;if(!n)return;const{prefix:R,iconName:N,icon:z}=n;return LD(ot({type:"icon"},n),()=>(Hg("beforeDOMElementCreation",{iconDefinition:n,params:a}),$t.autoA11y&&(b?A["aria-labelledby"]="".concat($t.replacementClass,"-title-").concat(E||F1()):(A["aria-hidden"]="true",A.focusable="false")),DC({icons:{main:x2(z),mask:d?x2(d.icon):{found:!1,width:null,height:null,icon:{}}},prefix:R,iconName:N,transform:ot(ot({},Sd),i),symbol:o,title:b,maskId:p,titleId:E,extra:{attributes:A,styles:O,classes:C}})))};var KM={mixout(){return{icon:WM(IM)}},hooks(){return{mutationObserverCallbacks(n){return n.treeCallback=OT,n.nodeCallback=ZM,n}}},provides(n){n.i2svg=function(a){const{node:i=Ja,callback:o=()=>{}}=a;return OT(i,o)},n.generateSvgReplacementMutation=function(a,i){const{iconName:o,title:d,titleId:p,prefix:b,transform:E,symbol:C,mask:A,maskId:O,extra:R}=i;return new Promise((N,z)=>{Promise.all([T2(o,b),A.iconName?T2(A.iconName,A.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(U=>{let[F,x]=U;N([a,DC({icons:{main:F,mask:x},prefix:b,iconName:o,transform:E,symbol:C,maskId:O,title:d,titleId:p,extra:R,watchable:!0})])}).catch(z)})},n.generateAbstractIcon=function(a){let{children:i,attributes:o,main:d,transform:p,styles:b}=a;const E=zD(b);E.length>0&&(o.style=E);let C;return gC(p)&&(C=Gv("generateAbstractTransformGrouping",{main:d,transform:p,containerWidth:d.width,iconWidth:d.width})),i.push(C||d.icon),{children:i,attributes:o}}}},JM={mixout(){return{layer(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:i=[]}=a;return LD({type:"layer"},()=>{Hg("beforeDOMElementCreation",{assembler:n,params:a});let o=[];return n(d=>{Array.isArray(d)?d.map(p=>{o=o.concat(p.abstract)}):o=o.concat(d.abstract)}),[{tag:"span",attributes:{class:["".concat($t.cssPrefix,"-layers"),...i].join(" ")},children:o}]})}}}},e_={mixout(){return{counter(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:i=null,classes:o=[],attributes:d={},styles:p={}}=a;return LD({type:"counter",content:n},()=>(Hg("beforeDOMElementCreation",{content:n,params:a}),kM({content:n.toString(),title:i,extra:{attributes:d,styles:p,classes:["".concat($t.cssPrefix,"-layers-counter"),...o]}})))}}}},t_={mixout(){return{text(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:i=Sd,title:o=null,classes:d=[],attributes:p={},styles:b={}}=a;return LD({type:"text",content:n},()=>(Hg("beforeDOMElementCreation",{content:n,params:a}),ST({content:n,transform:ot(ot({},Sd),i),title:o,extra:{attributes:p,styles:b,classes:["".concat($t.cssPrefix,"-layers-text"),...d]}})))}}},provides(n){n.generateLayersText=function(a,i){const{title:o,transform:d,extra:p}=i;let b=null,E=null;if(Q3){const C=parseInt(getComputedStyle(a).fontSize,10),A=a.getBoundingClientRect();b=A.width/C,E=A.height/C}return $t.autoA11y&&!o&&(p.attributes["aria-hidden"]="true"),Promise.resolve([a,ST({content:a.innerHTML,width:b,height:E,transform:d,title:o,extra:p,watchable:!0})])}}};const n_=new RegExp('"',"ug"),RT=[1105920,1112319],BT=ot(ot(ot(ot({},{FontAwesome:{normal:"fas",400:"fas"}}),wk),qk),Fk),B2=Object.keys(BT).reduce((n,a)=>(n[a.toLowerCase()]=BT[a],n),{}),a_=Object.keys(B2).reduce((n,a)=>{const i=B2[a];return n[a]=i[900]||[...Object.entries(i)][0][1],n},{});function r_(n){const a=n.replace(n_,""),i=cM(a,0),o=i>=RT[0]&&i<=RT[1],d=a.length===2?a[0]===a[1]:!1;return{value:S2(d?a[0]:a),isSecondary:o||d}}function i_(n,a){const i=n.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(a),d=isNaN(o)?"normal":o;return(B2[i]||{})[d]||a_[i]}function NT(n,a){const i="".concat(Yk).concat(a.replace(":","-"));return new Promise((o,d)=>{if(n.getAttribute(i)!==null)return o();const b=hy(n.children).filter(N=>N.getAttribute(y2)===a)[0],E=qv.getComputedStyle(n,a),C=E.getPropertyValue("font-family"),A=C.match(Qk),O=E.getPropertyValue("font-weight"),R=E.getPropertyValue("content");if(b&&!A)return n.removeChild(b),o();if(A&&R!=="none"&&R!==""){const N=E.getPropertyValue("content");let z=i_(C,O);const{value:U,isSecondary:F}=r_(N),x=A[0].startsWith("FontAwesome");let H=bC(z,U),B=H;if(x){const _=pM(U);_.iconName&&_.prefix&&(H=_.iconName,z=_.prefix)}if(H&&!F&&(!b||b.getAttribute(hC)!==z||b.getAttribute(mC)!==B)){n.setAttribute(i,B),b&&n.removeChild(b);const _=XM(),{extra:V}=_;V.attributes[y2]=a,T2(H,z).then(q=>{const K=DC(ot(ot({},_),{},{icons:{main:q,mask:g4()},prefix:z,iconName:B,extra:V,watchable:!0})),ie=Ja.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?n.insertBefore(ie,n.firstChild):n.appendChild(ie),ie.outerHTML=K.map(Ee=>Y1(Ee)).join(`
637
+ `),n.removeAttribute(i),o()}).catch(d)}else o()}else o()})}function u_(n){return Promise.all([NT(n,"::before"),NT(n,"::after")])}function l_(n){return n.parentNode!==document.head&&!~$k.indexOf(n.tagName.toUpperCase())&&!n.getAttribute(y2)&&(!n.parentNode||n.parentNode.tagName!=="svg")}function kT(n){if(tm)return new Promise((a,i)=>{const o=hy(n.querySelectorAll("*")).filter(l_).map(u_),d=EC.begin("searchPseudoElements");S4(),Promise.all(o).then(()=>{d(),R2(),a()}).catch(()=>{d(),R2(),i()})})}var o_={hooks(){return{mutationObserverCallbacks(n){return n.pseudoElementsCallback=kT,n}}},provides(n){n.pseudoElements2svg=function(a){const{node:i=Ja}=a;$t.searchPseudoElements&&kT(i)}}};let MT=!1;var s_={mixout(){return{dom:{unwatch(){S4(),MT=!0}}}},hooks(){return{bootstrap(){xT(A2("mutationObserverCallbacks",{}))},noAuto(){qM()},watch(n){const{observeMutationsRoot:a}=n;MT?R2():xT(A2("mutationObserverCallbacks",{observeMutationsRoot:a}))}}}};const _T=n=>{let a={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n.toLowerCase().split(" ").reduce((i,o)=>{const d=o.toLowerCase().split("-"),p=d[0];let b=d.slice(1).join("-");if(p&&b==="h")return i.flipX=!0,i;if(p&&b==="v")return i.flipY=!0,i;if(b=parseFloat(b),isNaN(b))return i;switch(p){case"grow":i.size=i.size+b;break;case"shrink":i.size=i.size-b;break;case"left":i.x=i.x-b;break;case"right":i.x=i.x+b;break;case"up":i.y=i.y-b;break;case"down":i.y=i.y+b;break;case"rotate":i.rotate=i.rotate+b;break}return i},a)};var c_={mixout(){return{parse:{transform:n=>_T(n)}}},hooks(){return{parseNodeAttributes(n,a){const i=a.getAttribute("data-fa-transform");return i&&(n.transform=_T(i)),n}}},provides(n){n.generateAbstractTransformGrouping=function(a){let{main:i,transform:o,containerWidth:d,iconWidth:p}=a;const b={transform:"translate(".concat(d/2," 256)")},E="translate(".concat(o.x*32,", ").concat(o.y*32,") "),C="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),A="rotate(".concat(o.rotate," 0 0)"),O={transform:"".concat(E," ").concat(C," ").concat(A)},R={transform:"translate(".concat(p/2*-1," -256)")},N={outer:b,inner:O,path:R};return{tag:"g",attributes:ot({},N.outer),children:[{tag:"g",attributes:ot({},N.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:ot(ot({},i.icon.attributes),N.path)}]}]}}}};const NS={x:0,y:0,width:"100%",height:"100%"};function FT(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n.attributes&&(n.attributes.fill||a)&&(n.attributes.fill="black"),n}function f_(n){return n.tag==="g"?n.children:[n]}var d_={hooks(){return{parseNodeAttributes(n,a){const i=a.getAttribute("data-fa-mask"),o=i?jD(i.split(" ").map(d=>d.trim())):g4();return o.prefix||(o.prefix=Yv()),n.mask=o,n.maskId=a.getAttribute("data-fa-mask-id"),n}}},provides(n){n.generateAbstractMask=function(a){let{children:i,attributes:o,main:d,mask:p,maskId:b,transform:E}=a;const{width:C,icon:A}=d,{width:O,icon:R}=p,N=rM({transform:E,containerWidth:O,iconWidth:C}),z={tag:"rect",attributes:ot(ot({},NS),{},{fill:"white"})},U=A.children?{children:A.children.map(FT)}:{},F={tag:"g",attributes:ot({},N.inner),children:[FT(ot({tag:A.tag,attributes:ot(ot({},A.attributes),N.path)},U))]},x={tag:"g",attributes:ot({},N.outer),children:[F]},H="mask-".concat(b||F1()),B="clip-".concat(b||F1()),_={tag:"mask",attributes:ot(ot({},NS),{},{id:H,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[z,x]},V={tag:"defs",children:[{tag:"clipPath",attributes:{id:B},children:f_(R)},_]};return i.push(V,{tag:"rect",attributes:ot({fill:"currentColor","clip-path":"url(#".concat(B,")"),mask:"url(#".concat(H,")")},NS)}),{children:i,attributes:o}}}},h_={provides(n){let a=!1;qv.matchMedia&&(a=qv.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){const i=[],o={fill:"currentColor"},d={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};i.push({tag:"path",attributes:ot(ot({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const p=ot(ot({},d),{},{attributeName:"opacity"}),b={tag:"circle",attributes:ot(ot({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return a||b.children.push({tag:"animate",attributes:ot(ot({},d),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ot(ot({},p),{},{values:"1;0;1;1;0;1;"})}),i.push(b),i.push({tag:"path",attributes:ot(ot({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:a?[]:[{tag:"animate",attributes:ot(ot({},p),{},{values:"1;0;0;0;0;1;"})}]}),a||i.push({tag:"path",attributes:ot(ot({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ot(ot({},p),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:i}}}},m_={hooks(){return{parseNodeAttributes(n,a){const i=a.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return n.symbol=o,n}}}},v_=[lM,KM,JM,e_,t_,o_,s_,c_,d_,h_,m_];wM(v_,{mixoutsTo:$o});$o.noAuto;$o.config;$o.library;$o.dom;const N2=$o.parse;$o.findIconDefinition;$o.toHtml;const p_=$o.icon;$o.layer;$o.text;$o.counter;var Zb={exports:{}},Wb={exports:{}},ya={};/** @license React v16.13.1
638
+ * react-is.production.min.js
639
+ *
640
+ * Copyright (c) Facebook, Inc. and its affiliates.
641
+ *
642
+ * This source code is licensed under the MIT license found in the
643
+ * LICENSE file in the root directory of this source tree.
644
+ */var zT;function g_(){if(zT)return ya;zT=1;var n=typeof Symbol=="function"&&Symbol.for,a=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,d=n?Symbol.for("react.strict_mode"):60108,p=n?Symbol.for("react.profiler"):60114,b=n?Symbol.for("react.provider"):60109,E=n?Symbol.for("react.context"):60110,C=n?Symbol.for("react.async_mode"):60111,A=n?Symbol.for("react.concurrent_mode"):60111,O=n?Symbol.for("react.forward_ref"):60112,R=n?Symbol.for("react.suspense"):60113,N=n?Symbol.for("react.suspense_list"):60120,z=n?Symbol.for("react.memo"):60115,U=n?Symbol.for("react.lazy"):60116,F=n?Symbol.for("react.block"):60121,x=n?Symbol.for("react.fundamental"):60117,H=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function _(q){if(typeof q=="object"&&q!==null){var K=q.$$typeof;switch(K){case a:switch(q=q.type,q){case C:case A:case o:case p:case d:case R:return q;default:switch(q=q&&q.$$typeof,q){case E:case O:case U:case z:case b:return q;default:return K}}case i:return K}}}function V(q){return _(q)===A}return ya.AsyncMode=C,ya.ConcurrentMode=A,ya.ContextConsumer=E,ya.ContextProvider=b,ya.Element=a,ya.ForwardRef=O,ya.Fragment=o,ya.Lazy=U,ya.Memo=z,ya.Portal=i,ya.Profiler=p,ya.StrictMode=d,ya.Suspense=R,ya.isAsyncMode=function(q){return V(q)||_(q)===C},ya.isConcurrentMode=V,ya.isContextConsumer=function(q){return _(q)===E},ya.isContextProvider=function(q){return _(q)===b},ya.isElement=function(q){return typeof q=="object"&&q!==null&&q.$$typeof===a},ya.isForwardRef=function(q){return _(q)===O},ya.isFragment=function(q){return _(q)===o},ya.isLazy=function(q){return _(q)===U},ya.isMemo=function(q){return _(q)===z},ya.isPortal=function(q){return _(q)===i},ya.isProfiler=function(q){return _(q)===p},ya.isStrictMode=function(q){return _(q)===d},ya.isSuspense=function(q){return _(q)===R},ya.isValidElementType=function(q){return typeof q=="string"||typeof q=="function"||q===o||q===A||q===p||q===d||q===R||q===N||typeof q=="object"&&q!==null&&(q.$$typeof===U||q.$$typeof===z||q.$$typeof===b||q.$$typeof===E||q.$$typeof===O||q.$$typeof===x||q.$$typeof===H||q.$$typeof===B||q.$$typeof===F)},ya.typeOf=_,ya}var ba={};/** @license React v16.13.1
645
+ * react-is.development.js
646
+ *
647
+ * Copyright (c) Facebook, Inc. and its affiliates.
648
+ *
649
+ * This source code is licensed under the MIT license found in the
650
+ * LICENSE file in the root directory of this source tree.
651
+ */var UT;function y_(){return UT||(UT=1,process.env.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,a=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,d=n?Symbol.for("react.strict_mode"):60108,p=n?Symbol.for("react.profiler"):60114,b=n?Symbol.for("react.provider"):60109,E=n?Symbol.for("react.context"):60110,C=n?Symbol.for("react.async_mode"):60111,A=n?Symbol.for("react.concurrent_mode"):60111,O=n?Symbol.for("react.forward_ref"):60112,R=n?Symbol.for("react.suspense"):60113,N=n?Symbol.for("react.suspense_list"):60120,z=n?Symbol.for("react.memo"):60115,U=n?Symbol.for("react.lazy"):60116,F=n?Symbol.for("react.block"):60121,x=n?Symbol.for("react.fundamental"):60117,H=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function _(Me){return typeof Me=="string"||typeof Me=="function"||Me===o||Me===A||Me===p||Me===d||Me===R||Me===N||typeof Me=="object"&&Me!==null&&(Me.$$typeof===U||Me.$$typeof===z||Me.$$typeof===b||Me.$$typeof===E||Me.$$typeof===O||Me.$$typeof===x||Me.$$typeof===H||Me.$$typeof===B||Me.$$typeof===F)}function V(Me){if(typeof Me=="object"&&Me!==null){var At=Me.$$typeof;switch(At){case a:var pt=Me.type;switch(pt){case C:case A:case o:case p:case d:case R:return pt;default:var Lt=pt&&pt.$$typeof;switch(Lt){case E:case O:case U:case z:case b:return Lt;default:return At}}case i:return At}}}var q=C,K=A,ie=E,Ee=b,ue=a,xe=O,ze=o,ke=U,je=z,le=i,Ve=p,ne=d,ve=R,be=!1;function qe(Me){return be||(be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),oe(Me)||V(Me)===C}function oe(Me){return V(Me)===A}function Se(Me){return V(Me)===E}function Xe(Me){return V(Me)===b}function Te(Me){return typeof Me=="object"&&Me!==null&&Me.$$typeof===a}function Ye(Me){return V(Me)===O}function We(Me){return V(Me)===o}function Q(Me){return V(Me)===U}function Ue(Me){return V(Me)===z}function Ce(Me){return V(Me)===i}function we(Me){return V(Me)===p}function Ze(Me){return V(Me)===d}function Ie(Me){return V(Me)===R}ba.AsyncMode=q,ba.ConcurrentMode=K,ba.ContextConsumer=ie,ba.ContextProvider=Ee,ba.Element=ue,ba.ForwardRef=xe,ba.Fragment=ze,ba.Lazy=ke,ba.Memo=je,ba.Portal=le,ba.Profiler=Ve,ba.StrictMode=ne,ba.Suspense=ve,ba.isAsyncMode=qe,ba.isConcurrentMode=oe,ba.isContextConsumer=Se,ba.isContextProvider=Xe,ba.isElement=Te,ba.isForwardRef=Ye,ba.isFragment=We,ba.isLazy=Q,ba.isMemo=Ue,ba.isPortal=Ce,ba.isProfiler=we,ba.isStrictMode=Ze,ba.isSuspense=Ie,ba.isValidElementType=_,ba.typeOf=V}()),ba}var jT;function A4(){return jT||(jT=1,process.env.NODE_ENV==="production"?Wb.exports=g_():Wb.exports=y_()),Wb.exports}/*
652
+ object-assign
653
+ (c) Sindre Sorhus
654
+ @license MIT
655
+ */var kS,LT;function b_(){if(LT)return kS;LT=1;var n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function d(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var b={},E=0;E<10;E++)b["_"+String.fromCharCode(E)]=E;var C=Object.getOwnPropertyNames(b).map(function(O){return b[O]});if(C.join("")!=="0123456789")return!1;var A={};return"abcdefghijklmnopqrst".split("").forEach(function(O){A[O]=O}),Object.keys(Object.assign({},A)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return kS=d()?Object.assign:function(p,b){for(var E,C=o(p),A,O=1;O<arguments.length;O++){E=Object(arguments[O]);for(var R in E)a.call(E,R)&&(C[R]=E[R]);if(n){A=n(E);for(var N=0;N<A.length;N++)i.call(E,A[N])&&(C[A[N]]=E[A[N]])}}return C},kS}var MS,HT;function CC(){if(HT)return MS;HT=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return MS=n,MS}var _S,VT;function w4(){return VT||(VT=1,_S=Function.call.bind(Object.prototype.hasOwnProperty)),_S}var FS,qT;function D_(){if(qT)return FS;qT=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var a=CC(),i={},o=w4();n=function(p){var b="Warning: "+p;typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}}}function d(p,b,E,C,A){if(process.env.NODE_ENV!=="production"){for(var O in p)if(o(p,O)){var R;try{if(typeof p[O]!="function"){var N=Error((C||"React class")+": "+E+" type `"+O+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[O]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw N.name="Invariant Violation",N}R=p[O](b,O,C,E,null,a)}catch(U){R=U}if(R&&!(R instanceof Error)&&n((C||"React class")+": type specification of "+E+" `"+O+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof R+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),R instanceof Error&&!(R.message in i)){i[R.message]=!0;var z=A?A():"";n("Failed "+E+" type: "+R.message+(z??""))}}}}return d.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},FS=d,FS}var zS,YT;function E_(){if(YT)return zS;YT=1;var n=A4(),a=b_(),i=CC(),o=w4(),d=D_(),p=function(){};process.env.NODE_ENV!=="production"&&(p=function(E){var C="Warning: "+E;typeof console<"u"&&console.error(C);try{throw new Error(C)}catch{}});function b(){return null}return zS=function(E,C){var A=typeof Symbol=="function"&&Symbol.iterator,O="@@iterator";function R(oe){var Se=oe&&(A&&oe[A]||oe[O]);if(typeof Se=="function")return Se}var N="<<anonymous>>",z={array:H("array"),bigint:H("bigint"),bool:H("boolean"),func:H("function"),number:H("number"),object:H("object"),string:H("string"),symbol:H("symbol"),any:B(),arrayOf:_,element:V(),elementType:q(),instanceOf:K,node:xe(),objectOf:Ee,oneOf:ie,oneOfType:ue,shape:ke,exact:je};function U(oe,Se){return oe===Se?oe!==0||1/oe===1/Se:oe!==oe&&Se!==Se}function F(oe,Se){this.message=oe,this.data=Se&&typeof Se=="object"?Se:{},this.stack=""}F.prototype=Error.prototype;function x(oe){if(process.env.NODE_ENV!=="production")var Se={},Xe=0;function Te(We,Q,Ue,Ce,we,Ze,Ie){if(Ce=Ce||N,Ze=Ze||Ue,Ie!==i){if(C){var Me=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 Me.name="Invariant Violation",Me}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var At=Ce+":"+Ue;!Se[At]&&Xe<3&&(p("You are manually calling a React.PropTypes validation function for the `"+Ze+"` prop on `"+Ce+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),Se[At]=!0,Xe++)}}return Q[Ue]==null?We?Q[Ue]===null?new F("The "+we+" `"+Ze+"` is marked as required "+("in `"+Ce+"`, but its value is `null`.")):new F("The "+we+" `"+Ze+"` is marked as required in "+("`"+Ce+"`, but its value is `undefined`.")):null:oe(Q,Ue,Ce,we,Ze)}var Ye=Te.bind(null,!1);return Ye.isRequired=Te.bind(null,!0),Ye}function H(oe){function Se(Xe,Te,Ye,We,Q,Ue){var Ce=Xe[Te],we=ne(Ce);if(we!==oe){var Ze=ve(Ce);return new F("Invalid "+We+" `"+Q+"` of type "+("`"+Ze+"` supplied to `"+Ye+"`, expected ")+("`"+oe+"`."),{expectedType:oe})}return null}return x(Se)}function B(){return x(b)}function _(oe){function Se(Xe,Te,Ye,We,Q){if(typeof oe!="function")return new F("Property `"+Q+"` of component `"+Ye+"` has invalid PropType notation inside arrayOf.");var Ue=Xe[Te];if(!Array.isArray(Ue)){var Ce=ne(Ue);return new F("Invalid "+We+" `"+Q+"` of type "+("`"+Ce+"` supplied to `"+Ye+"`, expected an array."))}for(var we=0;we<Ue.length;we++){var Ze=oe(Ue,we,Ye,We,Q+"["+we+"]",i);if(Ze instanceof Error)return Ze}return null}return x(Se)}function V(){function oe(Se,Xe,Te,Ye,We){var Q=Se[Xe];if(!E(Q)){var Ue=ne(Q);return new F("Invalid "+Ye+" `"+We+"` of type "+("`"+Ue+"` supplied to `"+Te+"`, expected a single ReactElement."))}return null}return x(oe)}function q(){function oe(Se,Xe,Te,Ye,We){var Q=Se[Xe];if(!n.isValidElementType(Q)){var Ue=ne(Q);return new F("Invalid "+Ye+" `"+We+"` of type "+("`"+Ue+"` supplied to `"+Te+"`, expected a single ReactElement type."))}return null}return x(oe)}function K(oe){function Se(Xe,Te,Ye,We,Q){if(!(Xe[Te]instanceof oe)){var Ue=oe.name||N,Ce=qe(Xe[Te]);return new F("Invalid "+We+" `"+Q+"` of type "+("`"+Ce+"` supplied to `"+Ye+"`, expected ")+("instance of `"+Ue+"`."))}return null}return x(Se)}function ie(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&(arguments.length>1?p("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):p("Invalid argument supplied to oneOf, expected an array.")),b;function Se(Xe,Te,Ye,We,Q){for(var Ue=Xe[Te],Ce=0;Ce<oe.length;Ce++)if(U(Ue,oe[Ce]))return null;var we=JSON.stringify(oe,function(Ie,Me){var At=ve(Me);return At==="symbol"?String(Me):Me});return new F("Invalid "+We+" `"+Q+"` of value `"+String(Ue)+"` "+("supplied to `"+Ye+"`, expected one of "+we+"."))}return x(Se)}function Ee(oe){function Se(Xe,Te,Ye,We,Q){if(typeof oe!="function")return new F("Property `"+Q+"` of component `"+Ye+"` has invalid PropType notation inside objectOf.");var Ue=Xe[Te],Ce=ne(Ue);if(Ce!=="object")return new F("Invalid "+We+" `"+Q+"` of type "+("`"+Ce+"` supplied to `"+Ye+"`, expected an object."));for(var we in Ue)if(o(Ue,we)){var Ze=oe(Ue,we,Ye,We,Q+"."+we,i);if(Ze instanceof Error)return Ze}return null}return x(Se)}function ue(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&p("Invalid argument supplied to oneOfType, expected an instance of array."),b;for(var Se=0;Se<oe.length;Se++){var Xe=oe[Se];if(typeof Xe!="function")return p("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(Xe)+" at index "+Se+"."),b}function Te(Ye,We,Q,Ue,Ce){for(var we=[],Ze=0;Ze<oe.length;Ze++){var Ie=oe[Ze],Me=Ie(Ye,We,Q,Ue,Ce,i);if(Me==null)return null;Me.data&&o(Me.data,"expectedType")&&we.push(Me.data.expectedType)}var At=we.length>0?", expected one of type ["+we.join(", ")+"]":"";return new F("Invalid "+Ue+" `"+Ce+"` supplied to "+("`"+Q+"`"+At+"."))}return x(Te)}function xe(){function oe(Se,Xe,Te,Ye,We){return le(Se[Xe])?null:new F("Invalid "+Ye+" `"+We+"` supplied to "+("`"+Te+"`, expected a ReactNode."))}return x(oe)}function ze(oe,Se,Xe,Te,Ye){return new F((oe||"React class")+": "+Se+" type `"+Xe+"."+Te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Ye+"`.")}function ke(oe){function Se(Xe,Te,Ye,We,Q){var Ue=Xe[Te],Ce=ne(Ue);if(Ce!=="object")return new F("Invalid "+We+" `"+Q+"` of type `"+Ce+"` "+("supplied to `"+Ye+"`, expected `object`."));for(var we in oe){var Ze=oe[we];if(typeof Ze!="function")return ze(Ye,We,Q,we,ve(Ze));var Ie=Ze(Ue,we,Ye,We,Q+"."+we,i);if(Ie)return Ie}return null}return x(Se)}function je(oe){function Se(Xe,Te,Ye,We,Q){var Ue=Xe[Te],Ce=ne(Ue);if(Ce!=="object")return new F("Invalid "+We+" `"+Q+"` of type `"+Ce+"` "+("supplied to `"+Ye+"`, expected `object`."));var we=a({},Xe[Te],oe);for(var Ze in we){var Ie=oe[Ze];if(o(oe,Ze)&&typeof Ie!="function")return ze(Ye,We,Q,Ze,ve(Ie));if(!Ie)return new F("Invalid "+We+" `"+Q+"` key `"+Ze+"` supplied to `"+Ye+"`.\nBad object: "+JSON.stringify(Xe[Te],null," ")+`
656
+ Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var Me=Ie(Ue,Ze,Ye,We,Q+"."+Ze,i);if(Me)return Me}return null}return x(Se)}function le(oe){switch(typeof oe){case"number":case"string":case"undefined":return!0;case"boolean":return!oe;case"object":if(Array.isArray(oe))return oe.every(le);if(oe===null||E(oe))return!0;var Se=R(oe);if(Se){var Xe=Se.call(oe),Te;if(Se!==oe.entries){for(;!(Te=Xe.next()).done;)if(!le(Te.value))return!1}else for(;!(Te=Xe.next()).done;){var Ye=Te.value;if(Ye&&!le(Ye[1]))return!1}}else return!1;return!0;default:return!1}}function Ve(oe,Se){return oe==="symbol"?!0:Se?Se["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Se instanceof Symbol:!1}function ne(oe){var Se=typeof oe;return Array.isArray(oe)?"array":oe instanceof RegExp?"object":Ve(Se,oe)?"symbol":Se}function ve(oe){if(typeof oe>"u"||oe===null)return""+oe;var Se=ne(oe);if(Se==="object"){if(oe instanceof Date)return"date";if(oe instanceof RegExp)return"regexp"}return Se}function be(oe){var Se=ve(oe);switch(Se){case"array":case"object":return"an "+Se;case"boolean":case"date":case"regexp":return"a "+Se;default:return Se}}function qe(oe){return!oe.constructor||!oe.constructor.name?N:oe.constructor.name}return z.checkPropTypes=d,z.resetWarningCache=d.resetWarningCache,z.PropTypes=z,z},zS}var US,GT;function S_(){if(GT)return US;GT=1;var n=CC();function a(){}function i(){}return i.resetWarningCache=a,US=function(){function o(b,E,C,A,O,R){if(R!==n){var N=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 N.name="Invariant Violation",N}}o.isRequired=o;function d(){return o}var p={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:d,element:o,elementType:o,instanceOf:d,node:o,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:i,resetWarningCache:a};return p.PropTypes=p,p},US}var $T;function C_(){if($T)return Zb.exports;if($T=1,process.env.NODE_ENV!=="production"){var n=A4(),a=!0;Zb.exports=E_()(n.isElement,a)}else Zb.exports=S_()();return Zb.exports}var A_=C_();const Pn=em(A_);function XT(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),i.push.apply(i,o)}return i}function Dd(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?XT(Object(i),!0).forEach(function(o){K0(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):XT(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}function AD(n){"@babel/helpers - typeof";return AD=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},AD(n)}function K0(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function w_(n,a){if(n==null)return{};var i={},o=Object.keys(n),d,p;for(p=0;p<o.length;p++)d=o[p],!(a.indexOf(d)>=0)&&(i[d]=n[d]);return i}function x_(n,a){if(n==null)return{};var i=w_(n,a),o,d;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);for(d=0;d<p.length;d++)o=p[d],!(a.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(i[o]=n[o])}return i}function k2(n){return T_(n)||O_(n)||R_(n)||B_()}function T_(n){if(Array.isArray(n))return M2(n)}function O_(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function R_(n,a){if(n){if(typeof n=="string")return M2(n,a);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return M2(n,a)}}function M2(n,a){(a==null||a>n.length)&&(a=n.length);for(var i=0,o=new Array(a);i<a;i++)o[i]=n[i];return o}function B_(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
657
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N_(n){var a,i=n.beat,o=n.fade,d=n.beatFade,p=n.bounce,b=n.shake,E=n.flash,C=n.spin,A=n.spinPulse,O=n.spinReverse,R=n.pulse,N=n.fixedWidth,z=n.inverse,U=n.border,F=n.listItem,x=n.flip,H=n.size,B=n.rotation,_=n.pull,V=(a={"fa-beat":i,"fa-fade":o,"fa-beat-fade":d,"fa-bounce":p,"fa-shake":b,"fa-flash":E,"fa-spin":C,"fa-spin-reverse":O,"fa-spin-pulse":A,"fa-pulse":R,"fa-fw":N,"fa-inverse":z,"fa-border":U,"fa-li":F,"fa-flip":x===!0,"fa-flip-horizontal":x==="horizontal"||x==="both","fa-flip-vertical":x==="vertical"||x==="both"},K0(a,"fa-".concat(H),typeof H<"u"&&H!==null),K0(a,"fa-rotate-".concat(B),typeof B<"u"&&B!==null&&B!==0),K0(a,"fa-pull-".concat(_),typeof _<"u"&&_!==null),K0(a,"fa-swap-opacity",n.swapOpacity),a);return Object.keys(V).map(function(q){return V[q]?q:null}).filter(function(q){return q})}function k_(n){return n=n-0,n===n}function x4(n){return k_(n)?n:(n=n.replace(/[\-_\s]+(.)?/g,function(a,i){return i?i.toUpperCase():""}),n.substr(0,1).toLowerCase()+n.substr(1))}var M_=["style"];function __(n){return n.charAt(0).toUpperCase()+n.slice(1)}function F_(n){return n.split(";").map(function(a){return a.trim()}).filter(function(a){return a}).reduce(function(a,i){var o=i.indexOf(":"),d=x4(i.slice(0,o)),p=i.slice(o+1).trim();return d.startsWith("webkit")?a[__(d)]=p:a[d]=p,a},{})}function T4(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof a=="string")return a;var o=(a.children||[]).map(function(C){return T4(n,C)}),d=Object.keys(a.attributes||{}).reduce(function(C,A){var O=a.attributes[A];switch(A){case"class":C.attrs.className=O,delete a.attributes.class;break;case"style":C.attrs.style=F_(O);break;default:A.indexOf("aria-")===0||A.indexOf("data-")===0?C.attrs[A.toLowerCase()]=O:C.attrs[x4(A)]=O}return C},{attrs:{}}),p=i.style,b=p===void 0?{}:p,E=x_(i,M_);return d.attrs.style=Dd(Dd({},d.attrs.style),b),n.apply(void 0,[a.tag,Dd(Dd({},d.attrs),E)].concat(k2(o)))}var O4=!1;try{O4=process.env.NODE_ENV==="production"}catch{}function z_(){if(!O4&&console&&typeof console.error=="function"){var n;(n=console).error.apply(n,arguments)}}function PT(n){if(n&&AD(n)==="object"&&n.prefix&&n.iconName&&n.icon)return n;if(N2.icon)return N2.icon(n);if(n===null)return null;if(n&&AD(n)==="object"&&n.prefix&&n.iconName)return n;if(Array.isArray(n)&&n.length===2)return{prefix:n[0],iconName:n[1]};if(typeof n=="string")return{prefix:"fas",iconName:n}}function jS(n,a){return Array.isArray(a)&&a.length>0||!Array.isArray(a)&&a?K0({},n,a):{}}var QT={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},gl=te.forwardRef(function(n,a){var i=Dd(Dd({},QT),n),o=i.icon,d=i.mask,p=i.symbol,b=i.className,E=i.title,C=i.titleId,A=i.maskId,O=PT(o),R=jS("classes",[].concat(k2(N_(i)),k2((b||"").split(" ")))),N=jS("transform",typeof i.transform=="string"?N2.transform(i.transform):i.transform),z=jS("mask",PT(d)),U=p_(O,Dd(Dd(Dd(Dd({},R),N),z),{},{symbol:p,title:E,titleId:C,maskId:A}));if(!U)return z_("Could not find icon",O),null;var F=U.abstract,x={ref:a};return Object.keys(i).forEach(function(H){QT.hasOwnProperty(H)||(x[H]=i[H])}),U_(F[0],x)});gl.displayName="FontAwesomeIcon";gl.propTypes={beat:Pn.bool,border:Pn.bool,beatFade:Pn.bool,bounce:Pn.bool,className:Pn.string,fade:Pn.bool,flash:Pn.bool,mask:Pn.oneOfType([Pn.object,Pn.array,Pn.string]),maskId:Pn.string,fixedWidth:Pn.bool,inverse:Pn.bool,flip:Pn.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Pn.oneOfType([Pn.object,Pn.array,Pn.string]),listItem:Pn.bool,pull:Pn.oneOf(["right","left"]),pulse:Pn.bool,rotation:Pn.oneOf([0,90,180,270]),shake:Pn.bool,size:Pn.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Pn.bool,spinPulse:Pn.bool,spinReverse:Pn.bool,symbol:Pn.oneOfType([Pn.bool,Pn.string]),title:Pn.string,titleId:Pn.string,transform:Pn.oneOfType([Pn.string,Pn.object]),swapOpacity:Pn.bool};var U_=T4.bind(null,te.createElement);function R4(n,a){const i=L.marks(n);return i?i[a]===!0:!1}function B4(n,a){if(R4(n,a)){L.removeMark(n,a);return}L.addMark(n,a,!0)}function AC(n,a,i){const{selection:o}=n;if(!o)return!1;const[d]=Array.from(L.nodes(n,{at:L.unhangRange(n,o),match:p=>!L.isEditor(p)&&Ot.isElement(p)&&p.type===a&&(p.type==="heading"?p.level===(i==null?void 0:i.level):!0)&&(p.type==="list"?p.ordered===(i==null?void 0:i.ordered):!0)}));return!!d}function _2(n,a,i){const o=AC(n,a,i);Ke.unwrapNodes(n,{match:p=>Ot.isElement(p)&&p.type==="list",split:!0});let d;if(o?d={type:"paragraph"}:d={type:a==="list"?"listItem":a,level:i==null?void 0:i.level},Ke.setNodes(n,d),!o&&a==="list"){const p={type:a,ordered:i==null?void 0:i.ordered,children:[]};Ke.wrapNodes(n,p)}}function N4(n,a){te.useEffect(()=>{function i(o){n.current&&!n.current.contains(o.target)&&a()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[n])}function Ib({format:n,icon:a}){const i=ac();return me.jsx("div",{onClick:()=>B4(i,n),className:`p-3 pb-[9px] border-b-[3px] ${R4(i,n)?"border-[#705ED9]":"border-b-transparent hover:border-white/50 cursor-pointer"}`,children:me.jsx(gl,{icon:a,className:"text-white hover:text-white transition-all duration-200"})})}function LS({format:n,properties:a,icon:i,children:o}){const d=ac();return me.jsxs("div",{onClick:()=>_2(d,n,a),className:`p-3 pb-[9px] border-b-[3px] ${AC(d,n,a)?"border-[#705ED9]":"border-b-transparent hover:border-white/50"}`,children:[me.jsx(gl,{icon:i,className:"text-white hover:text-white transition-all duration-200"}),o]})}/*!
658
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
659
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
660
+ * Copyright 2024 Fonticons, Inc.
661
+ */const j_={prefix:"fas",iconName:"strikethrough",icon:[512,512,[],"f0cc","M161.3 144c3.2-17.2 14-30.1 33.7-38.6c21.1-9 51.8-12.3 88.6-6.5c11.9 1.9 48.8 9.1 60.1 12c17.1 4.5 34.6-5.6 39.2-22.7s-5.6-34.6-22.7-39.2c-14.3-3.8-53.6-11.4-66.6-13.4c-44.7-7-88.3-4.2-123.7 10.9c-36.5 15.6-64.4 44.8-71.8 87.3c-.1 .6-.2 1.1-.2 1.7c-2.8 23.9 .5 45.6 10.1 64.6c4.5 9 10.2 16.9 16.7 23.9L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l448 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-209.9 0-.4-.1-1.1-.3c-36-10.8-65.2-19.6-85.2-33.1c-9.3-6.3-15-12.6-18.2-19.1c-3.1-6.1-5.2-14.6-3.8-27.4zM348.9 337.2c2.7 6.5 4.4 15.8 1.9 30.1c-3 17.6-13.8 30.8-33.9 39.4c-21.1 9-51.7 12.3-88.5 6.5c-18-2.9-49.1-13.5-74.4-22.1c-5.6-1.9-11-3.7-15.9-5.4c-16.8-5.6-34.9 3.5-40.5 20.3s3.5 34.9 20.3 40.5c3.6 1.2 7.9 2.7 12.7 4.3c0 0 0 0 0 0s0 0 0 0c24.9 8.5 63.6 21.7 87.6 25.6c0 0 0 0 0 0l.2 0c44.7 7 88.3 4.2 123.7-10.9c36.5-15.6 64.4-44.8 71.8-87.3c3.6-21 2.7-40.4-3.1-58.1l-75.7 0c7 5.6 11.4 11.2 13.9 17.2z"]},Rg={prefix:"fas",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 64C0 46.3 14.3 32 32 32l48 0 48 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 112 224 0 0-112-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l48 0 48 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 144 0 176 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-48 0-48 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-144-224 0 0 144 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-48 0-48 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-176L48 96 32 96C14.3 96 0 81.7 0 64z"]},k4={prefix:"fas",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"]},L_={prefix:"fas",iconName:"underline",icon:[448,512,[],"f0cd","M16 64c0-17.7 14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 128c0 53 43 96 96 96s96-43 96-96l0-128-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 128c0 88.4-71.6 160-160 160s-160-71.6-160-160L64 96 48 96C30.3 96 16 81.7 16 64zM0 448c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32z"]},H_={prefix:"fas",iconName:"bold",icon:[384,512,[],"f032","M0 64C0 46.3 14.3 32 32 32l48 0 16 0 128 0c70.7 0 128 57.3 128 128c0 31.3-11.3 60.1-30 82.3c37.1 22.4 62 63.1 62 109.7c0 70.7-57.3 128-128 128L96 480l-16 0-48 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-160L48 96 32 96C14.3 96 0 81.7 0 64zM224 224c35.3 0 64-28.7 64-64s-28.7-64-64-64L112 96l0 128 112 0zM112 288l0 128 144 0c35.3 0 64-28.7 64-64s-28.7-64-64-64l-32 0-112 0z"]},V_={prefix:"fas",iconName:"italic",icon:[384,512,[],"f033","M128 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-58.7 0L160 416l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l58.7 0L224 96l-64 0c-17.7 0-32-14.3-32-32z"]},M4={prefix:"fas",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M24 56c0-13.3 10.7-24 24-24l32 0c13.3 0 24 10.7 24 24l0 120 16 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l16 0 0-96-8 0C34.7 80 24 69.3 24 56zM86.7 341.2c-6.5-7.4-18.3-6.9-24 1.2L51.5 357.9c-7.7 10.8-22.7 13.3-33.5 5.6s-13.3-22.7-5.6-33.5l11.1-15.6c23.7-33.2 72.3-35.6 99.2-4.9c21.3 24.4 20.8 60.9-1.1 84.7L86.8 432l33.2 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-88 0c-9.5 0-18.2-5.6-22-14.4s-2.1-18.9 4.3-25.9l72-78c5.3-5.8 5.4-14.6 .3-20.5zM224 64l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},_4={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},F4={prefix:"fas",iconName:"cube",icon:[512,512,[],"f1b2","M234.5 5.7c13.9-5 29.1-5 43.1 0l192 68.6C495 83.4 512 107.5 512 134.6l0 242.9c0 27-17 51.2-42.5 60.3l-192 68.6c-13.9 5-29.1 5-43.1 0l-192-68.6C17 428.6 0 404.5 0 377.4L0 134.6c0-27 17-51.2 42.5-60.3l192-68.6zM256 66L82.3 128 256 190l173.7-62L256 66zm32 368.6l160-57.1 0-188L288 246.6l0 188z"]},q_={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]},Y_={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},G_={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},z4={prefix:"fas",iconName:"list-ul",icon:[512,512,["list-dots"],"f0ca","M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"]},$_={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},wC={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z"]},X_={prefix:"fas",iconName:"link-slash",icon:[640,512,["chain-broken","chain-slash","unlink"],"f127","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z"]},P_=X_;function Q_(){const n=ac(),a=[1,2,3,4,5,6],[i,o]=te.useState(!1);function d(){return a.find(b=>AC(n,"heading",{level:b}))}function p(){return d()??a[0]}return me.jsxs("div",{className:"relative",children:[me.jsxs("div",{className:`p-3 pb-[9px] border-b-[3px] flex items-center gap-1 ${d()?"border-[#705ED9]":"border-b-transparent hover:border-white/50"}`,children:[me.jsxs("div",{onClick:()=>_2(n,"heading",{level:p()}),className:"cursor-pointer whitespace-nowrap",children:[me.jsx(gl,{icon:Rg,className:"text-white hover:text-white transition-all duration-200"}),me.jsx("span",{className:"text-white",children:p()})]}),me.jsx(gl,{onClick:()=>{o(!i)},icon:G_,className:"text-white cursor-pointer",size:"xs"})]}),i?me.jsx("div",{className:"absolute bg-black/80 rounded-b-md backdrop-blur-sm w-full flex flex-col items-center p-1 pb-2",children:a.map(b=>me.jsxs("div",{className:"px-3 py-2 text-white whitespace-nowrap hover:bg-black cursor-pointer rounded-md",onClick:()=>_2(n,"heading",{level:b}),children:[me.jsx(gl,{icon:Rg}),me.jsx("span",{children:b})]},`toolbar-heading-dropdown-option-${b}`))}):null]})}const ZT={}.hasOwnProperty;function Z_(n,a){const i=a||{};function o(d,...p){let b=o.invalid;const E=o.handlers;if(d&&ZT.call(d,n)){const C=String(d[n]);b=ZT.call(E,C)?E[C]:o.unknown}if(b)return b.call(this,d,...p)}return o.handlers=i.handlers||{},o.invalid=i.invalid,o.unknown=i.unknown,o}const yf=" ";function HD(n){return bf(n.children,{}).join(yf)}const W_=Z_("type",{handlers:{heading:I_,list:K_,listItem:J_,blockquote:oF,code:eF,paragraph:nF,contentValue:tF,bold:aF,italic:rF,underline:iF,strikethrough:uF,text:lF},unknown:(n,a={})=>sF(n)});function bf(n,a={}){let i=-1;const o=[];for(;++i<n.length;){const d=W_(n[i],a);o.push(d)}return o}function I_(n,a={}){return bf(n.children,a).join(yf)}function K_(n,a={}){return bf(n.children,a).join(yf)}function J_(n,a={}){return bf(n.children,a).join(yf)}function eF(n,a={}){return bf(n.children,a).join(yf)}function tF(n){return n.value?HD(n.value):""}function nF(n,a={}){return bf(n.children,a).join(yf)}function aF(n,a={}){return bf(n.children,a).join(yf)}function rF(n,a={}){return bf(n.children,a).join(yf)}function iF(n,a={}){return bf(n.children,a).join(yf)}function uF(n,a={}){return bf(n.children,a).join(yf)}function lF(n){return n.value}function oF(n){return bf(n.children).join(yf)}function sF(n){return`Unknown node type (${n.type})`}var b1={exports:{}};/**
662
+ * @license
663
+ * Lodash <https://lodash.com/>
664
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
665
+ * Released under MIT license <https://lodash.com/license>
666
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
667
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
668
+ */var cF=b1.exports,WT;function fF(){return WT||(WT=1,function(n,a){(function(){var i,o="4.17.21",d=200,p="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",b="Expected a function",E="Invalid `variable` option passed into `_.template`",C="__lodash_hash_undefined__",A=500,O="__lodash_placeholder__",R=1,N=2,z=4,U=1,F=2,x=1,H=2,B=4,_=8,V=16,q=32,K=64,ie=128,Ee=256,ue=512,xe=30,ze="...",ke=800,je=16,le=1,Ve=2,ne=3,ve=1/0,be=9007199254740991,qe=17976931348623157e292,oe=NaN,Se=4294967295,Xe=Se-1,Te=Se>>>1,Ye=[["ary",ie],["bind",x],["bindKey",H],["curry",_],["curryRight",V],["flip",ue],["partial",q],["partialRight",K],["rearg",Ee]],We="[object Arguments]",Q="[object Array]",Ue="[object AsyncFunction]",Ce="[object Boolean]",we="[object Date]",Ze="[object DOMException]",Ie="[object Error]",Me="[object Function]",At="[object GeneratorFunction]",pt="[object Map]",Lt="[object Number]",sn="[object Null]",xt="[object Object]",ln="[object Promise]",Zt="[object Proxy]",yn="[object RegExp]",I="[object Set]",rt="[object String]",ct="[object Symbol]",kt="[object Undefined]",Ft="[object WeakMap]",Mt="[object WeakSet]",St="[object ArrayBuffer]",rn="[object DataView]",Un="[object Float32Array]",jn="[object Float64Array]",Ln="[object Int8Array]",de="[object Int16Array]",pe="[object Int32Array]",De="[object Uint8Array]",ut="[object Uint8ClampedArray]",Tt="[object Uint16Array]",un="[object Uint32Array]",In=/\b__p \+= '';/g,It=/\b(__p \+=) '' \+/g,ft=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mt=/&(?:amp|lt|gt|quot|#39);/g,bt=/[&<>"']/g,Dt=RegExp(mt.source),Bt=RegExp(bt.source),Wt=/<%-([\s\S]+?)%>/g,gt=/<%([\s\S]+?)%>/g,Gt=/<%=([\s\S]+?)%>/g,Bn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fr=/^\w*$/,dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Vt=/[\\^$.*+?()[\]{}|]/g,Jt=RegExp(Vt.source),Da=/^\s+/,ja=/\s/,Hr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,er=/\{\n\/\* \[wrapped with (.+)\] \*/,kn=/,? & /,Kn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,bn=/[()=,{}\[\]\/\s]/,Vr=/\\(\\)?/g,Df=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rc=/\w*$/,ui=/^[-+]0x[0-9a-f]+$/i,Ef=/^0b[01]+$/i,bl=/^\[object .+?Constructor\]$/,ic=/^0o[0-7]+$/i,vu=/^(?:0|[1-9]\d*)$/,xn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dr=/($^)/,li=/['\n\r\u2028\u2029\\]/g,la="\\ud800-\\udfff",Bd="\\u0300-\\u036f",uc="\\ufe20-\\ufe2f",Xo="\\u20d0-\\u20ff",Po=Bd+uc+Xo,La="\\u2700-\\u27bf",lc="a-z\\xdf-\\xf6\\xf8-\\xff",Qo="\\xac\\xb1\\xd7\\xf7",Pv="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Nd="\\u2000-\\u206f",oc=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",sc="A-Z\\xc0-\\xd6\\xd8-\\xde",Ei="\\ufe0e\\ufe0f",pr=Qo+Pv+Nd+oc,Sf="['’]",vy="["+la+"]",kd="["+pr+"]",Cf="["+Po+"]",cc="\\d+",Qv="["+La+"]",Si="["+lc+"]",Md="[^"+la+pr+cc+La+lc+sc+"]",_d="\\ud83c[\\udffb-\\udfff]",Zv="(?:"+Cf+"|"+_d+")",Zo="[^"+la+"]",Af="(?:\\ud83c[\\udde6-\\uddff]){2}",fc="[\\ud800-\\udbff][\\udc00-\\udfff]",oi="["+sc+"]",Gg="\\u200d",nm="(?:"+Si+"|"+Md+")",Wv="(?:"+oi+"|"+Md+")",Wo="(?:"+Sf+"(?:d|ll|m|re|s|t|ve))?",Iv="(?:"+Sf+"(?:D|LL|M|RE|S|T|VE))?",$g=Zv+"?",Fd="["+Ei+"]?",Kv="(?:"+Gg+"(?:"+[Zo,Af,fc].join("|")+")"+Fd+$g+")*",Jv="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dl="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Wl=Fd+$g+Kv,ep="(?:"+[Qv,Af,fc].join("|")+")"+Wl,am="(?:"+[Zo+Cf+"?",Cf,Af,fc,vy].join("|")+")",wf=RegExp(Sf,"g"),xf=RegExp(Cf,"g"),Io=RegExp(_d+"(?="+_d+")|"+am+Wl,"g"),Ko=RegExp([oi+"?"+Si+"+"+Wo+"(?="+[kd,oi,"$"].join("|")+")",Wv+"+"+Iv+"(?="+[kd,oi+nm,"$"].join("|")+")",oi+"?"+nm+"+"+Wo,oi+"+"+Iv,Dl,Jv,cc,ep].join("|"),"g"),Il=RegExp("["+Gg+la+Po+Ei+"]"),qr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rm=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],im=-1,ra={};ra[Un]=ra[jn]=ra[Ln]=ra[de]=ra[pe]=ra[De]=ra[ut]=ra[Tt]=ra[un]=!0,ra[We]=ra[Q]=ra[St]=ra[Ce]=ra[rn]=ra[we]=ra[Ie]=ra[Me]=ra[pt]=ra[Lt]=ra[xt]=ra[yn]=ra[I]=ra[rt]=ra[Ft]=!1;var Jn={};Jn[We]=Jn[Q]=Jn[St]=Jn[rn]=Jn[Ce]=Jn[we]=Jn[Un]=Jn[jn]=Jn[Ln]=Jn[de]=Jn[pe]=Jn[pt]=Jn[Lt]=Jn[xt]=Jn[yn]=Jn[I]=Jn[rt]=Jn[ct]=Jn[De]=Jn[ut]=Jn[Tt]=Jn[un]=!0,Jn[Ie]=Jn[Me]=Jn[Ft]=!1;var Xg={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ci={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Jo={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},um={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tf=parseFloat,py=parseInt,dc=typeof nc=="object"&&nc&&nc.Object===Object&&nc,lm=typeof self=="object"&&self&&self.Object===Object&&self,Ha=dc||lm||Function("return this")(),hc=a&&!a.nodeType&&a,es=hc&&!0&&n&&!n.nodeType&&n,Pg=es&&es.exports===hc,tp=Pg&&dc.process,pu=function(){try{var he=es&&es.require&&es.require("util").types;return he||tp&&tp.binding&&tp.binding("util")}catch{}}(),om=pu&&pu.isArrayBuffer,Of=pu&&pu.isDate,np=pu&&pu.isMap,ap=pu&&pu.isRegExp,rp=pu&&pu.isSet,ip=pu&&pu.isTypedArray;function Yr(he,He,Be){switch(Be.length){case 0:return he.call(He);case 1:return he.call(He,Be[0]);case 2:return he.call(He,Be[0],Be[1]);case 3:return he.call(He,Be[0],Be[1],Be[2])}return he.apply(He,Be)}function gy(he,He,Be,wt){for(var Pt=-1,fn=he==null?0:he.length;++Pt<fn;){var Ea=he[Pt];He(wt,Ea,Be(Ea),he)}return wt}function Xi(he,He){for(var Be=-1,wt=he==null?0:he.length;++Be<wt&&He(he[Be],Be,he)!==!1;);return he}function mc(he,He){for(var Be=he==null?0:he.length;Be--&&He(he[Be],Be,he)!==!1;);return he}function ts(he,He){for(var Be=-1,wt=he==null?0:he.length;++Be<wt;)if(!He(he[Be],Be,he))return!1;return!0}function tr(he,He){for(var Be=-1,wt=he==null?0:he.length,Pt=0,fn=[];++Be<wt;){var Ea=he[Be];He(Ea,Be,he)&&(fn[Pt++]=Ea)}return fn}function vc(he,He){var Be=he==null?0:he.length;return!!Be&&Jl(he,He,0)>-1}function Rf(he,He,Be){for(var wt=-1,Pt=he==null?0:he.length;++wt<Pt;)if(Be(He,he[wt]))return!0;return!1}function da(he,He){for(var Be=-1,wt=he==null?0:he.length,Pt=Array(wt);++Be<wt;)Pt[Be]=He(he[Be],Be,he);return Pt}function Sa(he,He){for(var Be=-1,wt=He.length,Pt=he.length;++Be<wt;)he[Pt+Be]=He[Be];return he}function sm(he,He,Be,wt){var Pt=-1,fn=he==null?0:he.length;for(wt&&fn&&(Be=he[++Pt]);++Pt<fn;)Be=He(Be,he[Pt],Pt,he);return Be}function cm(he,He,Be,wt){var Pt=he==null?0:he.length;for(wt&&Pt&&(Be=he[--Pt]);Pt--;)Be=He(Be,he[Pt],Pt,he);return Be}function Kl(he,He){for(var Be=-1,wt=he==null?0:he.length;++Be<wt;)if(He(he[Be],Be,he))return!0;return!1}var up=zd("length");function Qg(he){return he.split("")}function Zg(he){return he.match(Kn)||[]}function fm(he,He,Be){var wt;return Be(he,function(Pt,fn,Ea){if(He(Pt,fn,Ea))return wt=fn,!1}),wt}function gu(he,He,Be,wt){for(var Pt=he.length,fn=Be+(wt?1:-1);wt?fn--:++fn<Pt;)if(He(he[fn],fn,he))return fn;return-1}function Jl(he,He,Be){return He===He?mm(he,He,Be):gu(he,ns,Be)}function pc(he,He,Be,wt){for(var Pt=Be-1,fn=he.length;++Pt<fn;)if(wt(he[Pt],He))return Pt;return-1}function ns(he){return he!==he}function dm(he,He){var Be=he==null?0:he.length;return Be?Gr(he,He)/Be:oe}function zd(he){return function(He){return He==null?i:He[he]}}function Pi(he){return function(He){return he==null?i:he[He]}}function yu(he,He,Be,wt,Pt){return Pt(he,function(fn,Ea,oa){Be=wt?(wt=!1,fn):He(Be,fn,Ea,oa)}),Be}function Ud(he,He){var Be=he.length;for(he.sort(He);Be--;)he[Be]=he[Be].value;return he}function Gr(he,He){for(var Be,wt=-1,Pt=he.length;++wt<Pt;){var fn=He(he[wt]);fn!==i&&(Be=Be===i?fn:Be+fn)}return Be}function Ai(he,He){for(var Be=-1,wt=Array(he);++Be<he;)wt[Be]=He(Be);return wt}function Wg(he,He){return da(He,function(Be){return[Be,he[Be]]})}function hm(he){return he&&he.slice(0,kf(he)+1).replace(Da,"")}function si(he){return function(He){return he(He)}}function El(he,He){return da(He,function(Be){return he[Be]})}function bu(he,He){return he.has(He)}function as(he,He){for(var Be=-1,wt=he.length;++Be<wt&&Jl(He,he[Be],0)>-1;);return Be}function Du(he,He){for(var Be=he.length;Be--&&Jl(He,he[Be],0)>-1;);return Be}function Ig(he,He){for(var Be=he.length,wt=0;Be--;)he[Be]===He&&++wt;return wt}var jd=Pi(Xg),Bf=Pi(Ci);function Nf(he){return"\\"+um[he]}function gc(he,He){return he==null?i:he[He]}function eo(he){return Il.test(he)}function lp(he){return qr.test(he)}function op(he){for(var He,Be=[];!(He=he.next()).done;)Be.push(He.value);return Be}function yc(he){var He=-1,Be=Array(he.size);return he.forEach(function(wt,Pt){Be[++He]=[Pt,wt]}),Be}function sp(he,He){return function(Be){return he(He(Be))}}function to(he,He){for(var Be=-1,wt=he.length,Pt=0,fn=[];++Be<wt;){var Ea=he[Be];(Ea===He||Ea===O)&&(he[Be]=O,fn[Pt++]=Be)}return fn}function Ld(he){var He=-1,Be=Array(he.size);return he.forEach(function(wt){Be[++He]=wt}),Be}function Or(he){var He=-1,Be=Array(he.size);return he.forEach(function(wt){Be[++He]=[wt,wt]}),Be}function mm(he,He,Be){for(var wt=Be-1,Pt=he.length;++wt<Pt;)if(he[wt]===He)return wt;return-1}function $r(he,He,Be){for(var wt=Be+1;wt--;)if(he[wt]===He)return wt;return wt}function wi(he){return eo(he)?cp(he):up(he)}function ci(he){return eo(he)?vm(he):Qg(he)}function kf(he){for(var He=he.length;He--&&ja.test(he.charAt(He)););return He}var Hd=Pi(Jo);function cp(he){for(var He=Io.lastIndex=0;Io.test(he);)++He;return He}function vm(he){return he.match(Io)||[]}function fp(he){return he.match(Ko)||[]}var dp=function he(He){He=He==null?Ha:gr.defaults(Ha.Object(),He,gr.pick(Ha,rm));var Be=He.Array,wt=He.Date,Pt=He.Error,fn=He.Function,Ea=He.Math,oa=He.Object,Sl=He.RegExp,Kg=He.String,fi=He.TypeError,rs=Be.prototype,Jg=fn.prototype,cn=oa.prototype,lt=He["__core-js_shared__"],Cl=Jg.toString,Gn=cn.hasOwnProperty,Va=0,xi=function(){var c=/[^.]+$/.exec(lt&&lt.keys&&lt.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Rr=cn.toString,bc=Cl.call(oa),Vd=Ha._,pm=Sl("^"+Cl.call(Gn).replace(Vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),no=Pg?He.Buffer:i,Eu=He.Symbol,Qi=He.Uint8Array,Xr=no?no.allocUnsafe:i,Mn=sp(oa.getPrototypeOf,oa),Yu=oa.create,Al=cn.propertyIsEnumerable,Qa=rs.splice,Br=Eu?Eu.isConcatSpreadable:i,Su=Eu?Eu.iterator:i,di=Eu?Eu.toStringTag:i,ao=function(){try{var c=_u(oa,"defineProperty");return c({},"",{}),c}catch{}}(),Pr=He.clearTimeout!==Ha.clearTimeout&&He.clearTimeout,Ti=wt&&wt.now!==Ha.Date.now&&wt.now,wl=He.setTimeout!==Ha.setTimeout&&He.setTimeout,Zi=Ea.ceil,Wi=Ea.floor,xl=oa.getOwnPropertySymbols,hp=no?no.isBuffer:i,qd=He.isFinite,Yd=rs.join,Nr=sp(oa.keys,oa),Tn=Ea.max,en=Ea.min,Cu=wt.now,Gu=He.parseInt,gm=Ea.random,is=rs.reverse,Gd=_u(He,"DataView"),Dc=_u(He,"Map"),ro=_u(He,"Promise"),$u=_u(He,"Set"),Tl=_u(He,"WeakMap"),Oi=_u(oa,"create"),us=Tl&&new Tl,io={},e0=Mi(Gd),Ec=Mi(Dc),Sc=Mi(ro),Cc=Mi($u),ls=Mi(Tl),qa=Eu?Eu.prototype:i,Au=qa?qa.valueOf:i,Ac=qa?qa.toString:i;function Y(c){if(Xa(c)&&!ht(c)&&!(c instanceof on)){if(c instanceof hi)return c;if(Gn.call(c,"__wrapped__"))return Sn(c)}return new hi(c)}var Xu=function(){function c(){}return function(h){if(!tn(h))return{};if(Yu)return Yu(h);c.prototype=h;var D=new c;return c.prototype=i,D}}();function os(){}function hi(c,h){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!h,this.__index__=0,this.__values__=i}Y.templateSettings={escape:Wt,evaluate:gt,interpolate:Gt,variable:"",imports:{_:Y}},Y.prototype=os.prototype,Y.prototype.constructor=Y,hi.prototype=Xu(os.prototype),hi.prototype.constructor=hi;function on(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function ym(){var c=new on(this.__wrapped__);return c.__actions__=Zr(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=Zr(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=Zr(this.__views__),c}function uo(){if(this.__filtered__){var c=new on(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function Mf(){var c=this.__wrapped__.value(),h=this.__dir__,D=ht(c),T=h<0,j=D?c.length:0,X=Os(0,j,this.__views__),W=X.start,ae=X.end,ye=ae-W,Je=T?ae:W-1,et=this.__iteratees__,it=et.length,Ct=0,Ht=en(ye,this.__takeCount__);if(!D||!T&&j==ye&&Ht==ye)return Nm(c,this.__actions__);var an=[];e:for(;ye--&&Ct<Ht;){Je+=h;for(var Cn=-1,Kt=c[Je];++Cn<it;){var Nn=et[Cn],qn=Nn.iteratee,Hi=Nn.type,zr=qn(Kt);if(Hi==Ve)Kt=zr;else if(!zr){if(Hi==le)continue e;break e}}an[Ct++]=Kt}return an}on.prototype=Xu(os.prototype),on.prototype.constructor=on;function lo(c){var h=-1,D=c==null?0:c.length;for(this.clear();++h<D;){var T=c[h];this.set(T[0],T[1])}}function bm(){this.__data__=Oi?Oi(null):{},this.size=0}function $d(c){var h=this.has(c)&&delete this.__data__[c];return this.size-=h?1:0,h}function Ii(c){var h=this.__data__;if(Oi){var D=h[c];return D===C?i:D}return Gn.call(h,c)?h[c]:i}function Pu(c){var h=this.__data__;return Oi?h[c]!==i:Gn.call(h,c)}function Ol(c,h){var D=this.__data__;return this.size+=this.has(c)?0:1,D[c]=Oi&&h===i?C:h,this}lo.prototype.clear=bm,lo.prototype.delete=$d,lo.prototype.get=Ii,lo.prototype.has=Pu,lo.prototype.set=Ol;function Qu(c){var h=-1,D=c==null?0:c.length;for(this.clear();++h<D;){var T=c[h];this.set(T[0],T[1])}}function oo(){this.__data__=[],this.size=0}function Zu(c){var h=this.__data__,D=mo(h,c);if(D<0)return!1;var T=h.length-1;return D==T?h.pop():Qa.call(h,D,1),--this.size,!0}function nr(c){var h=this.__data__,D=mo(h,c);return D<0?i:h[D][1]}function Xd(c){return mo(this.__data__,c)>-1}function wc(c,h){var D=this.__data__,T=mo(D,c);return T<0?(++this.size,D.push([c,h])):D[T][1]=h,this}Qu.prototype.clear=oo,Qu.prototype.delete=Zu,Qu.prototype.get=nr,Qu.prototype.has=Xd,Qu.prototype.set=wc;function Wu(c){var h=-1,D=c==null?0:c.length;for(this.clear();++h<D;){var T=c[h];this.set(T[0],T[1])}}function mp(){this.size=0,this.__data__={hash:new lo,map:new(Dc||Qu),string:new lo}}function hr(c){var h=Ts(this,c).delete(c);return this.size-=h?1:0,h}function vp(c){return Ts(this,c).get(c)}function _f(c){return Ts(this,c).has(c)}function so(c,h){var D=Ts(this,c),T=D.size;return D.set(c,h),this.size+=D.size==T?0:1,this}Wu.prototype.clear=mp,Wu.prototype.delete=hr,Wu.prototype.get=vp,Wu.prototype.has=_f,Wu.prototype.set=so;function Iu(c){var h=-1,D=c==null?0:c.length;for(this.__data__=new Wu;++h<D;)this.add(c[h])}function co(c){return this.__data__.set(c,C),this}function xc(c){return this.__data__.has(c)}Iu.prototype.add=Iu.prototype.push=co,Iu.prototype.has=xc;function wu(c){var h=this.__data__=new Qu(c);this.size=h.size}function Dm(){this.__data__=new Qu,this.size=0}function pp(c){var h=this.__data__,D=h.delete(c);return this.size=h.size,D}function gp(c){return this.__data__.get(c)}function ss(c){return this.__data__.has(c)}function fo(c,h){var D=this.__data__;if(D instanceof Qu){var T=D.__data__;if(!Dc||T.length<d-1)return T.push([c,h]),this.size=++D.size,this;D=this.__data__=new Wu(T)}return D.set(c,h),this.size=D.size,this}wu.prototype.clear=Dm,wu.prototype.delete=pp,wu.prototype.get=gp,wu.prototype.has=ss,wu.prototype.set=fo;function Ff(c,h){var D=ht(c),T=!D&&_e(c),j=!D&&!T&&Bo(c),X=!D&&!T&&!j&&ou(c),W=D||T||j||X,ae=W?Ai(c.length,Kg):[],ye=ae.length;for(var Je in c)(h||Gn.call(c,Je))&&!(W&&(Je=="length"||j&&(Je=="offset"||Je=="parent")||X&&(Je=="buffer"||Je=="byteLength"||Je=="byteOffset")||Mr(Je,ye)))&&ae.push(Je);return ae}function Em(c){var h=c.length;return h?c[rh(0,h-1)]:i}function ho(c,h){return jc(Zr(c),ds(h,0,c.length))}function dn(c){return jc(Zr(c))}function Zn(c,h,D){(D!==i&&!ju(c[h],D)||D===i&&!(h in c))&&Ri(c,h,D)}function ha(c,h,D){var T=c[h];(!(Gn.call(c,h)&&ju(T,D))||D===i&&!(h in c))&&Ri(c,h,D)}function mo(c,h){for(var D=c.length;D--;)if(ju(c[D][0],h))return D;return-1}function cs(c,h,D,T){return po(c,function(j,X,W){h(T,j,D(j),W)}),T}function fs(c,h){return c&&Bu(h,or(h),c)}function ar(c,h){return c&&Bu(h,ai(h),c)}function Ri(c,h,D){h=="__proto__"&&ao?ao(c,h,{configurable:!0,enumerable:!0,value:D,writable:!0}):c[h]=D}function vo(c,h){for(var D=-1,T=h.length,j=Be(T),X=c==null;++D<T;)j[D]=X?i:uf(c,h[D]);return j}function ds(c,h,D){return c===c&&(D!==i&&(c=c<=D?c:D),h!==i&&(c=c>=h?c:h)),c}function $n(c,h,D,T,j,X){var W,ae=h&R,ye=h&N,Je=h&z;if(D&&(W=j?D(c,T,j,X):D(c)),W!==i)return W;if(!tn(c))return c;var et=ht(c);if(et){if(W=Rs(c),!ae)return Zr(c,W)}else{var it=Za(c),Ct=it==Me||it==At;if(Bo(c))return Mm(c,ae);if(it==xt||it==We||Ct&&!j){if(W=ye||Ct?{}:Wr(c),!ae)return ye?$f(c,ar(W,c)):Gf(c,fs(W,c))}else{if(!Jn[it])return j?c:{};W=n0(c,it,ae)}}X||(X=new wu);var Ht=X.get(c);if(Ht)return Ht;X.set(c,W),Gl(c)?c.forEach(function(Kt){W.add($n(Kt,h,D,Kt,c,X))}):cv(c)&&c.forEach(function(Kt,Nn){W.set(Nn,$n(Kt,h,D,Nn,c,X))});var an=Je?ye?Fc:gi:ye?ai:or,Cn=et?i:an(c);return Xi(Cn||c,function(Kt,Nn){Cn&&(Nn=Kt,Kt=c[Nn]),ha(W,Nn,$n(Kt,h,D,Nn,c,X))}),W}function Sm(c){var h=or(c);return function(D){return hs(D,c,h)}}function hs(c,h,D){var T=D.length;if(c==null)return!T;for(c=oa(c);T--;){var j=D[T],X=h[j],W=c[j];if(W===i&&!(j in c)||!X(W))return!1}return!0}function Pd(c,h,D){if(typeof c!="function")throw new fi(b);return _r(function(){c.apply(i,D)},h)}function Tc(c,h,D,T){var j=-1,X=vc,W=!0,ae=c.length,ye=[],Je=h.length;if(!ae)return ye;D&&(h=da(h,si(D))),T?(X=Rf,W=!1):h.length>=d&&(X=bu,W=!1,h=new Iu(h));e:for(;++j<ae;){var et=c[j],it=D==null?et:D(et);if(et=T||et!==0?et:0,W&&it===it){for(var Ct=Je;Ct--;)if(h[Ct]===it)continue e;ye.push(et)}else X(h,it,T)||ye.push(et)}return ye}var po=Um(Ki),Qd=Um(xu,!0);function Zd(c,h){var D=!0;return po(c,function(T,j,X){return D=!!h(T,j,X),D}),D}function ms(c,h,D){for(var T=-1,j=c.length;++T<j;){var X=c[T],W=h(X);if(W!=null&&(ae===i?W===W&&!lu(W):D(W,ae)))var ae=W,ye=X}return ye}function Qr(c,h,D,T){var j=c.length;for(D=Yt(D),D<0&&(D=-D>j?0:j+D),T=T===i||T>j?j:Yt(T),T<0&&(T+=j),T=D>T?0:Et(T);D<T;)c[D++]=h;return c}function Ya(c,h){var D=[];return po(c,function(T,j,X){h(T,j,X)&&D.push(T)}),D}function Ga(c,h,D,T,j){var X=-1,W=c.length;for(D||(D=wp),j||(j=[]);++X<W;){var ae=c[X];h>0&&D(ae)?h>1?Ga(ae,h-1,D,T,j):Sa(j,ae):T||(j[j.length]=ae)}return j}var go=Ap(),Oc=Ap(!0);function Ki(c,h){return c&&go(c,h,or)}function xu(c,h){return c&&Oc(c,h,or)}function yo(c,h){return tr(h,function(D){return Na(c[D])})}function Rl(c,h){h=So(h,c);for(var D=0,T=h.length;c!=null&&D<T;)c=c[Ir(h[D++])];return D&&D==T?c:i}function Tu(c,h,D){var T=h(c);return ht(c)?T:Sa(T,D(c))}function yr(c){return c==null?c===i?kt:sn:di&&di in oa(c)?ch(c):nu(c)}function Cm(c,h){return c>h}function Am(c,h){return c!=null&&Gn.call(c,h)}function Wd(c,h){return c!=null&&h in oa(c)}function bo(c,h,D){return c>=en(h,D)&&c<Tn(h,D)}function Ou(c,h,D){for(var T=D?Rf:vc,j=c[0].length,X=c.length,W=X,ae=Be(X),ye=1/0,Je=[];W--;){var et=c[W];W&&h&&(et=da(et,si(h))),ye=en(et.length,ye),ae[W]=!D&&(h||j>=120&&et.length>=120)?new Iu(W&&et):i}et=c[0];var it=-1,Ct=ae[0];e:for(;++it<j&&Je.length<ye;){var Ht=et[it],an=h?h(Ht):Ht;if(Ht=D||Ht!==0?Ht:0,!(Ct?bu(Ct,an):T(Je,an,D))){for(W=X;--W;){var Cn=ae[W];if(!(Cn?bu(Cn,an):T(c[W],an,D)))continue e}Ct&&Ct.push(an),Je.push(Ht)}}return Je}function Id(c,h,D,T){return Ki(c,function(j,X,W){h(T,D(j),X,W)}),T}function vs(c,h,D){h=So(h,c),c=Fu(c,h);var T=c==null?c:c[Ir(Kr(h))];return T==null?i:Yr(T,c,D)}function zf(c){return Xa(c)&&yr(c)==We}function Kd(c){return Xa(c)&&yr(c)==St}function ps(c){return Xa(c)&&yr(c)==we}function ia(c,h,D,T,j){return c===h?!0:c==null||h==null||!Xa(c)&&!Xa(h)?c!==c&&h!==h:Uf(c,h,D,T,ia,j)}function Uf(c,h,D,T,j,X){var W=ht(c),ae=ht(h),ye=W?Q:Za(c),Je=ae?Q:Za(h);ye=ye==We?xt:ye,Je=Je==We?xt:Je;var et=ye==xt,it=Je==xt,Ct=ye==Je;if(Ct&&Bo(c)){if(!Bo(h))return!1;W=!0,et=!1}if(Ct&&!et)return X||(X=new wu),W||ou(c)?Ml(c,h,D,T,j,X):kr(c,h,ye,D,T,j,X);if(!(D&U)){var Ht=et&&Gn.call(c,"__wrapped__"),an=it&&Gn.call(h,"__wrapped__");if(Ht||an){var Cn=Ht?c.value():c,Kt=an?h.value():h;return X||(X=new wu),j(Cn,Kt,D,T,X)}}return Ct?(X||(X=new wu),jm(c,h,D,T,j,X)):!1}function yp(c){return Xa(c)&&Za(c)==pt}function jf(c,h,D,T){var j=D.length,X=j,W=!T;if(c==null)return!X;for(c=oa(c);j--;){var ae=D[j];if(W&&ae[2]?ae[1]!==c[ae[0]]:!(ae[0]in c))return!1}for(;++j<X;){ae=D[j];var ye=ae[0],Je=c[ye],et=ae[1];if(W&&ae[2]){if(Je===i&&!(ye in c))return!1}else{var it=new wu;if(T)var Ct=T(Je,et,ye,c,h,it);if(!(Ct===i?ia(et,Je,U|F,T,it):Ct))return!1}}return!0}function Jd(c){if(!tn(c)||Vm(c))return!1;var h=Na(c)?pm:bl;return h.test(Mi(c))}function Do(c){return Xa(c)&&yr(c)==yn}function Eo(c){return Xa(c)&&Za(c)==I}function eh(c){return Xa(c)&&lr(c.length)&&!!ra[yr(c)]}function Lf(c){return typeof c=="function"?c:c==null?Qn:typeof c=="object"?ht(c)?Ji(c[0],c[1]):wm(c):Q1(c)}function Ru(c){if(!$a(c))return Nr(c);var h=[];for(var D in oa(c))Gn.call(c,D)&&D!="constructor"&&h.push(D);return h}function Hf(c){if(!tn(c))return wa(c);var h=$a(c),D=[];for(var T in c)T=="constructor"&&(h||!Gn.call(c,T))||D.push(T);return D}function Rc(c,h){return c<h}function th(c,h){var D=-1,T=hn(c)?Be(c.length):[];return po(c,function(j,X,W){T[++D]=h(j,X,W)}),T}function wm(c){var h=zc(c);return h.length==1&&h[0][2]?xp(h[0][0],h[0][1]):function(D){return D===c||jf(D,c,h)}}function Ji(c,h){return Xn(c)&&fh(h)?xp(Ir(c),h):function(D){var T=uf(D,c);return T===i&&T===h?Rh(D,c):ia(h,T,U|F)}}function Vf(c,h,D,T,j){c!==h&&go(h,function(X,W){if(j||(j=new wu),tn(X))xm(c,h,W,D,Vf,T,j);else{var ae=T?T(qm(c,W),X,W+"",c,h,j):i;ae===i&&(ae=X),Zn(c,W,ae)}},ai)}function xm(c,h,D,T,j,X,W){var ae=qm(c,D),ye=qm(h,D),Je=W.get(ye);if(Je){Zn(c,D,Je);return}var et=X?X(ae,ye,D+"",c,h,W):i,it=et===i;if(it){var Ct=ht(ye),Ht=!Ct&&Bo(ye),an=!Ct&&!Ht&&ou(ye);et=ye,Ct||Ht||an?ht(ae)?et=ae:Ba(ae)?et=Zr(ae):Ht?(it=!1,et=Mm(ye,!0)):an?(it=!1,et=zm(ye,!0)):et=[]:Ar(ye)||_e(ye)?(et=ae,_e(ae)?et=ti(ae):(!tn(ae)||Na(ae))&&(et=Wr(ye))):it=!1}it&&(W.set(ye,et),j(et,ye,T,X,W),W.delete(ye)),Zn(c,D,et)}function Bc(c,h){var D=c.length;if(D)return h+=h<0?D:0,Mr(h,D)?c[h]:i}function gs(c,h,D){h.length?h=da(h,function(X){return ht(X)?function(W){return Rl(W,X.length===1?X[0]:X)}:X}):h=[Qn];var T=-1;h=da(h,si(qt()));var j=th(c,function(X,W,ae){var ye=da(h,function(Je){return Je(X)});return{criteria:ye,index:++T,value:X}});return Ud(j,function(X,W){return br(X,W,D)})}function Tm(c,h){return nh(c,h,function(D,T){return Rh(c,T)})}function nh(c,h,D){for(var T=-1,j=h.length,X={};++T<j;){var W=h[T],ae=Rl(c,W);D(ae,W)&&Nc(X,So(W,c),ae)}return X}function bp(c){return function(h){return Rl(h,c)}}function ah(c,h,D,T){var j=T?pc:Jl,X=-1,W=h.length,ae=c;for(c===h&&(h=Zr(h)),D&&(ae=da(c,si(D)));++X<W;)for(var ye=0,Je=h[X],et=D?D(Je):Je;(ye=j(ae,et,ye,T))>-1;)ae!==c&&Qa.call(ae,ye,1),Qa.call(c,ye,1);return c}function Dp(c,h){for(var D=c?h.length:0,T=D-1;D--;){var j=h[D];if(D==T||j!==X){var X=j;Mr(j)?Qa.call(c,j,1):Ju(c,j)}}return c}function rh(c,h){return c+Wi(gm()*(h-c+1))}function yy(c,h,D,T){for(var j=-1,X=Tn(Zi((h-c)/(D||1)),0),W=Be(X);X--;)W[T?X:++j]=c,c+=D;return W}function Ku(c,h){var D="";if(!c||h<1||h>be)return D;do h%2&&(D+=c),h=Wi(h/2),h&&(c+=c);while(h);return D}function Qt(c,h){return Ni(Fl(c,h,Qn),c+"")}function Ep(c){return Em(wr(c))}function Sp(c,h){var D=wr(c);return jc(D,ds(h,0,D.length))}function Nc(c,h,D,T){if(!tn(c))return c;h=So(h,c);for(var j=-1,X=h.length,W=X-1,ae=c;ae!=null&&++j<X;){var ye=Ir(h[j]),Je=D;if(ye==="__proto__"||ye==="constructor"||ye==="prototype")return c;if(j!=W){var et=ae[ye];Je=T?T(et,ye,ae):i,Je===i&&(Je=tn(et)?et:Mr(h[j+1])?[]:{})}ha(ae,ye,Je),ae=ae[ye]}return c}var Om=us?function(c,h){return us.set(c,h),c}:Qn,t0=ao?function(c,h){return ao(c,"toString",{configurable:!0,enumerable:!1,value:Rt(h),writable:!0})}:Qn;function Cp(c){return jc(wr(c))}function mi(c,h,D){var T=-1,j=c.length;h<0&&(h=-h>j?0:j+h),D=D>j?j:D,D<0&&(D+=j),j=h>D?0:D-h>>>0,h>>>=0;for(var X=Be(j);++T<j;)X[T]=c[T+h];return X}function ys(c,h){var D;return po(c,function(T,j,X){return D=h(T,j,X),!D}),!!D}function qf(c,h,D){var T=0,j=c==null?T:c.length;if(typeof h=="number"&&h===h&&j<=Te){for(;T<j;){var X=T+j>>>1,W=c[X];W!==null&&!lu(W)&&(D?W<=h:W<h)?T=X+1:j=X}return j}return Yf(c,h,Qn,D)}function Yf(c,h,D,T){var j=0,X=c==null?0:c.length;if(X===0)return 0;h=D(h);for(var W=h!==h,ae=h===null,ye=lu(h),Je=h===i;j<X;){var et=Wi((j+X)/2),it=D(c[et]),Ct=it!==i,Ht=it===null,an=it===it,Cn=lu(it);if(W)var Kt=T||an;else Je?Kt=an&&(T||Ct):ae?Kt=an&&Ct&&(T||!Ht):ye?Kt=an&&Ct&&!Ht&&(T||!Cn):Ht||Cn?Kt=!1:Kt=T?it<=h:it<h;Kt?j=et+1:X=et}return en(X,Xe)}function Rm(c,h){for(var D=-1,T=c.length,j=0,X=[];++D<T;){var W=c[D],ae=h?h(W):W;if(!D||!ju(ae,ye)){var ye=ae;X[j++]=W===0?0:W}}return X}function Bm(c){return typeof c=="number"?c:lu(c)?oe:+c}function ea(c){if(typeof c=="string")return c;if(ht(c))return da(c,ea)+"";if(lu(c))return Ac?Ac.call(c):"";var h=c+"";return h=="0"&&1/c==-1/0?"-0":h}function vi(c,h,D){var T=-1,j=vc,X=c.length,W=!0,ae=[],ye=ae;if(D)W=!1,j=Rf;else if(X>=d){var Je=h?null:xs(c);if(Je)return Ld(Je);W=!1,j=bu,ye=new Iu}else ye=h?[]:ae;e:for(;++T<X;){var et=c[T],it=h?h(et):et;if(et=D||et!==0?et:0,W&&it===it){for(var Ct=ye.length;Ct--;)if(ye[Ct]===it)continue e;h&&ye.push(it),ae.push(et)}else j(ye,it,D)||(ye!==ae&&ye.push(it),ae.push(et))}return ae}function Ju(c,h){return h=So(h,c),c=Fu(c,h),c==null||delete c[Ir(Kr(h))]}function bs(c,h,D,T){return Nc(c,h,D(Rl(c,h)),T)}function Ds(c,h,D,T){for(var j=c.length,X=T?j:-1;(T?X--:++X<j)&&h(c[X],X,c););return D?mi(c,T?0:X,T?X+1:j):mi(c,T?X+1:0,T?j:X)}function Nm(c,h){var D=c;return D instanceof on&&(D=D.value()),sm(h,function(T,j){return j.func.apply(j.thisArg,Sa([T],j.args))},D)}function pi(c,h,D){var T=c.length;if(T<2)return T?vi(c[0]):[];for(var j=-1,X=Be(T);++j<T;)for(var W=c[j],ae=-1;++ae<T;)ae!=j&&(X[j]=Tc(X[j]||W,c[ae],h,D));return vi(Ga(X,1),h,D)}function km(c,h,D){for(var T=-1,j=c.length,X=h.length,W={};++T<j;){var ae=T<X?h[T]:i;D(W,c[T],ae)}return W}function rr(c){return Ba(c)?c:[]}function kc(c){return typeof c=="function"?c:Qn}function So(c,h){return ht(c)?c:Xn(c,h)?[c]:rl(na(c))}var el=Qt;function Bl(c,h,D){var T=c.length;return D=D===i?T:D,!h&&D>=T?c:mi(c,h,D)}var Nl=Pr||function(c){return Ha.clearTimeout(c)};function Mm(c,h){if(h)return c.slice();var D=c.length,T=Xr?Xr(D):new c.constructor(D);return c.copy(T),T}function eu(c){var h=new c.constructor(c.byteLength);return new Qi(h).set(new Qi(c)),h}function _m(c,h){var D=h?eu(c.buffer):c.buffer;return new c.constructor(D,c.byteOffset,c.byteLength)}function Fm(c){var h=new c.constructor(c.source,rc.exec(c));return h.lastIndex=c.lastIndex,h}function Es(c){return Au?oa(Au.call(c)):{}}function zm(c,h){var D=h?eu(c.buffer):c.buffer;return new c.constructor(D,c.byteOffset,c.length)}function Ca(c,h){if(c!==h){var D=c!==i,T=c===null,j=c===c,X=lu(c),W=h!==i,ae=h===null,ye=h===h,Je=lu(h);if(!ae&&!Je&&!X&&c>h||X&&W&&ye&&!ae&&!Je||T&&W&&ye||!D&&ye||!j)return 1;if(!T&&!X&&!Je&&c<h||Je&&D&&j&&!T&&!X||ae&&D&&j||!W&&j||!ye)return-1}return 0}function br(c,h,D){for(var T=-1,j=c.criteria,X=h.criteria,W=j.length,ae=D.length;++T<W;){var ye=Ca(j[T],X[T]);if(ye){if(T>=ae)return ye;var Je=D[T];return ye*(Je=="desc"?-1:1)}}return c.index-h.index}function Mc(c,h,D,T){for(var j=-1,X=c.length,W=D.length,ae=-1,ye=h.length,Je=Tn(X-W,0),et=Be(ye+Je),it=!T;++ae<ye;)et[ae]=h[ae];for(;++j<W;)(it||j<X)&&(et[D[j]]=c[j]);for(;Je--;)et[ae++]=c[j++];return et}function Ss(c,h,D,T){for(var j=-1,X=c.length,W=-1,ae=D.length,ye=-1,Je=h.length,et=Tn(X-ae,0),it=Be(et+Je),Ct=!T;++j<et;)it[j]=c[j];for(var Ht=j;++ye<Je;)it[Ht+ye]=h[ye];for(;++W<ae;)(Ct||j<X)&&(it[Ht+D[W]]=c[j++]);return it}function Zr(c,h){var D=-1,T=c.length;for(h||(h=Be(T));++D<T;)h[D]=c[D];return h}function Bu(c,h,D,T){var j=!D;D||(D={});for(var X=-1,W=h.length;++X<W;){var ae=h[X],ye=T?T(D[ae],c[ae],ae,D,c):i;ye===i&&(ye=c[ae]),j?Ri(D,ae,ye):ha(D,ae,ye)}return D}function Gf(c,h){return Bu(c,Lm(c),h)}function $f(c,h){return Bu(c,Hm(c),h)}function Co(c,h){return function(D,T){var j=ht(D)?gy:cs,X=h?h():{};return j(D,c,qt(T,2),X)}}function Cs(c){return Qt(function(h,D){var T=-1,j=D.length,X=j>1?D[j-1]:i,W=j>2?D[2]:i;for(X=c.length>3&&typeof X=="function"?(j--,X):i,W&&Er(D[0],D[1],W)&&(X=j<3?i:X,j=1),h=oa(h);++T<j;){var ae=D[T];ae&&c(h,ae,T,X)}return h})}function Um(c,h){return function(D,T){if(D==null)return D;if(!hn(D))return c(D,T);for(var j=D.length,X=h?j:-1,W=oa(D);(h?X--:++X<j)&&T(W[X],X,W)!==!1;);return D}}function Ap(c){return function(h,D,T){for(var j=-1,X=oa(h),W=T(h),ae=W.length;ae--;){var ye=W[c?ae:++j];if(D(X[ye],ye,X)===!1)break}return h}}function ih(c,h,D){var T=h&x,j=As(c);function X(){var W=this&&this!==Ha&&this instanceof X?j:c;return W.apply(T?D:this,arguments)}return X}function tl(c){return function(h){h=na(h);var D=eo(h)?ci(h):i,T=D?D[0]:h.charAt(0),j=D?Bl(D,1).join(""):h.slice(1);return T[c]()+j}}function Ao(c){return function(h){return sm(ga(gv(h).replace(wf,"")),c,"")}}function As(c){return function(){var h=arguments;switch(h.length){case 0:return new c;case 1:return new c(h[0]);case 2:return new c(h[0],h[1]);case 3:return new c(h[0],h[1],h[2]);case 4:return new c(h[0],h[1],h[2],h[3]);case 5:return new c(h[0],h[1],h[2],h[3],h[4]);case 6:return new c(h[0],h[1],h[2],h[3],h[4],h[5]);case 7:return new c(h[0],h[1],h[2],h[3],h[4],h[5],h[6])}var D=Xu(c.prototype),T=c.apply(D,h);return tn(T)?T:D}}function Xf(c,h,D){var T=As(c);function j(){for(var X=arguments.length,W=Be(X),ae=X,ye=Bi(j);ae--;)W[ae]=arguments[ae];var Je=X<3&&W[0]!==ye&&W[X-1]!==ye?[]:to(W,ye);if(X-=Je.length,X<D)return ws(c,h,_c,j.placeholder,i,W,Je,i,i,D-X);var et=this&&this!==Ha&&this instanceof j?T:c;return Yr(et,this,W)}return j}function kl(c){return function(h,D,T){var j=oa(h);if(!hn(h)){var X=qt(D,3);h=or(h),D=function(ae){return X(j[ae],ae,j)}}var W=c(h,D,T);return W>-1?j[X?h[W]:W]:i}}function uh(c){return Dr(function(h){var D=h.length,T=D,j=hi.prototype.thru;for(c&&h.reverse();T--;){var X=h[T];if(typeof X!="function")throw new fi(b);if(j&&!W&&Mu(X)=="wrapper")var W=new hi([],!0)}for(T=W?T:D;++T<D;){X=h[T];var ae=Mu(X),ye=ae=="wrapper"?_l(X):i;ye&&Aa(ye[0])&&ye[1]==(ie|_|q|Ee)&&!ye[4].length&&ye[9]==1?W=W[Mu(ye[0])].apply(W,ye[3]):W=X.length==1&&Aa(X)?W[ae]():W.thru(X)}return function(){var Je=arguments,et=Je[0];if(W&&Je.length==1&&ht(et))return W.plant(et).value();for(var it=0,Ct=D?h[it].apply(this,Je):et;++it<D;)Ct=h[it].call(this,Ct);return Ct}})}function _c(c,h,D,T,j,X,W,ae,ye,Je){var et=h&ie,it=h&x,Ct=h&H,Ht=h&(_|V),an=h&ue,Cn=Ct?i:As(c);function Kt(){for(var Nn=arguments.length,qn=Be(Nn),Hi=Nn;Hi--;)qn[Hi]=arguments[Hi];if(Ht)var zr=Bi(Kt),Ur=Ig(qn,zr);if(T&&(qn=Mc(qn,T,j,Ht)),X&&(qn=Ss(qn,X,W,Ht)),Nn-=Ur,Ht&&Nn<Je){var aa=to(qn,zr);return ws(c,h,_c,Kt.placeholder,D,qn,aa,ae,ye,Je-Nn)}var Vi=it?D:this,zo=Ct?Vi[c]:c;return Nn=qn.length,ae?qn=Wf(qn,ae):an&&Nn>1&&qn.reverse(),et&&ye<Nn&&(qn.length=ye),this&&this!==Ha&&this instanceof Kt&&(zo=Cn||As(zo)),zo.apply(Vi,qn)}return Kt}function Pf(c,h){return function(D,T){return Id(D,c,h(T),{})}}function tu(c,h){return function(D,T){var j;if(D===i&&T===i)return h;if(D!==i&&(j=D),T!==i){if(j===i)return T;typeof D=="string"||typeof T=="string"?(D=ea(D),T=ea(T)):(D=Bm(D),T=Bm(T)),j=c(D,T)}return j}}function Nu(c){return Dr(function(h){return h=da(h,si(qt())),Qt(function(D){var T=this;return c(h,function(j){return Yr(j,T,D)})})})}function wo(c,h){h=h===i?" ":ea(h);var D=h.length;if(D<2)return D?Ku(h,c):h;var T=Ku(h,Zi(c/wi(h)));return eo(h)?Bl(ci(T),0,c).join(""):T.slice(0,c)}function lh(c,h,D,T){var j=h&x,X=As(c);function W(){for(var ae=-1,ye=arguments.length,Je=-1,et=T.length,it=Be(et+ye),Ct=this&&this!==Ha&&this instanceof W?X:c;++Je<et;)it[Je]=T[Je];for(;ye--;)it[Je++]=arguments[++ae];return Yr(Ct,j?D:this,it)}return W}function ma(c){return function(h,D,T){return T&&typeof T!="number"&&Er(h,D,T)&&(D=T=i),h=Ui(h),D===i?(D=h,h=0):D=Ui(D),T=T===i?h<D?1:-1:Ui(T),yy(h,D,T,c)}}function Qf(c){return function(h,D){return typeof h=="string"&&typeof D=="string"||(h=pa(h),D=pa(D)),c(h,D)}}function ws(c,h,D,T,j,X,W,ae,ye,Je){var et=h&_,it=et?W:i,Ct=et?i:W,Ht=et?X:i,an=et?i:X;h|=et?q:K,h&=~(et?K:q),h&B||(h&=-4);var Cn=[c,h,j,Ht,it,an,Ct,ae,ye,Je],Kt=D.apply(i,Cn);return Aa(c)&&dh(Kt,Cn),Kt.placeholder=T,hh(Kt,c,h)}function ku(c){var h=Ea[c];return function(D,T){if(D=pa(D),T=T==null?0:en(Yt(T),292),T&&qd(D)){var j=(na(D)+"e").split("e"),X=h(j[0]+"e"+(+j[1]+T));return j=(na(X)+"e").split("e"),+(j[0]+"e"+(+j[1]-T))}return h(D)}}var xs=$u&&1/Ld(new $u([,-0]))[1]==ve?function(c){return new $u(c)}:My;function nl(c){return function(h){var D=Za(h);return D==pt?yc(h):D==I?Or(h):Wg(h,c(h))}}function Ma(c,h,D,T,j,X,W,ae){var ye=h&H;if(!ye&&typeof c!="function")throw new fi(b);var Je=T?T.length:0;if(Je||(h&=-97,T=j=i),W=W===i?W:Tn(Yt(W),0),ae=ae===i?ae:Yt(ae),Je-=j?j.length:0,h&K){var et=T,it=j;T=j=i}var Ct=ye?i:_l(c),Ht=[c,h,D,T,j,et,it,X,W,ae];if(Ct&&Op(Ht,Ct),c=Ht[0],h=Ht[1],D=Ht[2],T=Ht[3],j=Ht[4],ae=Ht[9]=Ht[9]===i?ye?0:c.length:Tn(Ht[9]-Je,0),!ae&&h&(_|V)&&(h&=-25),!h||h==x)var an=ih(c,h,D);else h==_||h==V?an=Xf(c,h,ae):(h==q||h==(x|q))&&!j.length?an=lh(c,h,D,T):an=_c.apply(i,Ht);var Cn=Ct?Om:dh;return hh(Cn(an,Ht),c,h)}function oh(c,h,D,T){return c===i||ju(c,cn[D])&&!Gn.call(T,D)?h:c}function sa(c,h,D,T,j,X){return tn(c)&&tn(h)&&(X.set(h,c),Vf(c,h,i,sa,X),X.delete(h)),c}function sh(c){return Ar(c)?i:c}function Ml(c,h,D,T,j,X){var W=D&U,ae=c.length,ye=h.length;if(ae!=ye&&!(W&&ye>ae))return!1;var Je=X.get(c),et=X.get(h);if(Je&&et)return Je==h&&et==c;var it=-1,Ct=!0,Ht=D&F?new Iu:i;for(X.set(c,h),X.set(h,c);++it<ae;){var an=c[it],Cn=h[it];if(T)var Kt=W?T(Cn,an,it,h,c,X):T(an,Cn,it,c,h,X);if(Kt!==i){if(Kt)continue;Ct=!1;break}if(Ht){if(!Kl(h,function(Nn,qn){if(!bu(Ht,qn)&&(an===Nn||j(an,Nn,D,T,X)))return Ht.push(qn)})){Ct=!1;break}}else if(!(an===Cn||j(an,Cn,D,T,X))){Ct=!1;break}}return X.delete(c),X.delete(h),Ct}function kr(c,h,D,T,j,X,W){switch(D){case rn:if(c.byteLength!=h.byteLength||c.byteOffset!=h.byteOffset)return!1;c=c.buffer,h=h.buffer;case St:return!(c.byteLength!=h.byteLength||!X(new Qi(c),new Qi(h)));case Ce:case we:case Lt:return ju(+c,+h);case Ie:return c.name==h.name&&c.message==h.message;case yn:case rt:return c==h+"";case pt:var ae=yc;case I:var ye=T&U;if(ae||(ae=Ld),c.size!=h.size&&!ye)return!1;var Je=W.get(c);if(Je)return Je==h;T|=F,W.set(c,h);var et=Ml(ae(c),ae(h),T,j,X,W);return W.delete(c),et;case ct:if(Au)return Au.call(c)==Au.call(h)}return!1}function jm(c,h,D,T,j,X){var W=D&U,ae=gi(c),ye=ae.length,Je=gi(h),et=Je.length;if(ye!=et&&!W)return!1;for(var it=ye;it--;){var Ct=ae[it];if(!(W?Ct in h:Gn.call(h,Ct)))return!1}var Ht=X.get(c),an=X.get(h);if(Ht&&an)return Ht==h&&an==c;var Cn=!0;X.set(c,h),X.set(h,c);for(var Kt=W;++it<ye;){Ct=ae[it];var Nn=c[Ct],qn=h[Ct];if(T)var Hi=W?T(qn,Nn,Ct,h,c,X):T(Nn,qn,Ct,c,h,X);if(!(Hi===i?Nn===qn||j(Nn,qn,D,T,X):Hi)){Cn=!1;break}Kt||(Kt=Ct=="constructor")}if(Cn&&!Kt){var zr=c.constructor,Ur=h.constructor;zr!=Ur&&"constructor"in c&&"constructor"in h&&!(typeof zr=="function"&&zr instanceof zr&&typeof Ur=="function"&&Ur instanceof Ur)&&(Cn=!1)}return X.delete(c),X.delete(h),Cn}function Dr(c){return Ni(Fl(c,i,ir),c+"")}function gi(c){return Tu(c,or,Lm)}function Fc(c){return Tu(c,ai,Hm)}var _l=us?function(c){return us.get(c)}:My;function Mu(c){for(var h=c.name+"",D=io[h],T=Gn.call(io,h)?D.length:0;T--;){var j=D[T],X=j.func;if(X==null||X==c)return j.name}return h}function Bi(c){var h=Gn.call(Y,"placeholder")?Y:c;return h.placeholder}function qt(){var c=Y.iteratee||Vn;return c=c===Vn?Lf:c,arguments.length?c(arguments[0],arguments[1]):c}function Ts(c,h){var D=c.__data__;return al(h)?D[typeof h=="string"?"string":"hash"]:D.map}function zc(c){for(var h=or(c),D=h.length;D--;){var T=h[D],j=c[T];h[D]=[T,j,fh(j)]}return h}function _u(c,h){var D=gc(c,h);return Jd(D)?D:i}function ch(c){var h=Gn.call(c,di),D=c[di];try{c[di]=i;var T=!0}catch{}var j=Rr.call(c);return T&&(h?c[di]=D:delete c[di]),j}var Lm=xl?function(c){return c==null?[]:(c=oa(c),tr(xl(c),function(h){return Al.call(c,h)}))}:_y,Hm=xl?function(c){for(var h=[];c;)Sa(h,Lm(c)),c=Mn(c);return h}:_y,Za=yr;(Gd&&Za(new Gd(new ArrayBuffer(1)))!=rn||Dc&&Za(new Dc)!=pt||ro&&Za(ro.resolve())!=ln||$u&&Za(new $u)!=I||Tl&&Za(new Tl)!=Ft)&&(Za=function(c){var h=yr(c),D=h==xt?c.constructor:i,T=D?Mi(D):"";if(T)switch(T){case e0:return rn;case Ec:return pt;case Sc:return ln;case Cc:return I;case ls:return Ft}return h});function Os(c,h,D){for(var T=-1,j=D.length;++T<j;){var X=D[T],W=X.size;switch(X.type){case"drop":c+=W;break;case"dropRight":h-=W;break;case"take":h=en(h,c+W);break;case"takeRight":c=Tn(c,h-W);break}}return{start:c,end:h}}function Uc(c){var h=c.match(er);return h?h[1].split(kn):[]}function Zf(c,h,D){h=So(h,c);for(var T=-1,j=h.length,X=!1;++T<j;){var W=Ir(h[T]);if(!(X=c!=null&&D(c,W)))break;c=c[W]}return X||++T!=j?X:(j=c==null?0:c.length,!!j&&lr(j)&&Mr(W,j)&&(ht(c)||_e(c)))}function Rs(c){var h=c.length,D=new c.constructor(h);return h&&typeof c[0]=="string"&&Gn.call(c,"index")&&(D.index=c.index,D.input=c.input),D}function Wr(c){return typeof c.constructor=="function"&&!$a(c)?Xu(Mn(c)):{}}function n0(c,h,D){var T=c.constructor;switch(h){case St:return eu(c);case Ce:case we:return new T(+c);case rn:return _m(c,D);case Un:case jn:case Ln:case de:case pe:case De:case ut:case Tt:case un:return zm(c,D);case pt:return new T;case Lt:case rt:return new T(c);case yn:return Fm(c);case I:return new T;case ct:return Es(c)}}function a0(c,h){var D=h.length;if(!D)return c;var T=D-1;return h[T]=(D>1?"& ":"")+h[T],h=h.join(D>2?", ":" "),c.replace(Hr,`{
669
+ /* [wrapped with `+h+`] */
670
+ `)}function wp(c){return ht(c)||_e(c)||!!(Br&&c&&c[Br])}function Mr(c,h){var D=typeof c;return h=h??be,!!h&&(D=="number"||D!="symbol"&&vu.test(c))&&c>-1&&c%1==0&&c<h}function Er(c,h,D){if(!tn(D))return!1;var T=typeof h;return(T=="number"?hn(D)&&Mr(h,D.length):T=="string"&&h in D)?ju(D[h],c):!1}function Xn(c,h){if(ht(c))return!1;var D=typeof c;return D=="number"||D=="symbol"||D=="boolean"||c==null||lu(c)?!0:fr.test(c)||!Bn.test(c)||h!=null&&c in oa(h)}function al(c){var h=typeof c;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?c!=="__proto__":c===null}function Aa(c){var h=Mu(c),D=Y[h];if(typeof D!="function"||!(h in on.prototype))return!1;if(c===D)return!0;var T=_l(D);return!!T&&c===T[0]}function Vm(c){return!!xi&&xi in c}var r0=lt?Na:S0;function $a(c){var h=c&&c.constructor,D=typeof h=="function"&&h.prototype||cn;return c===D}function fh(c){return c===c&&!tn(c)}function xp(c,h){return function(D){return D==null?!1:D[c]===h&&(h!==i||c in oa(D))}}function Tp(c){var h=Ra(c,function(T){return D.size===A&&D.clear(),T}),D=h.cache;return h}function Op(c,h){var D=c[1],T=h[1],j=D|T,X=j<(x|H|ie),W=T==ie&&D==_||T==ie&&D==Ee&&c[7].length<=h[8]||T==(ie|Ee)&&h[7].length<=h[8]&&D==_;if(!(X||W))return c;T&x&&(c[2]=h[2],j|=D&x?0:B);var ae=h[3];if(ae){var ye=c[3];c[3]=ye?Mc(ye,ae,h[4]):ae,c[4]=ye?to(c[3],O):h[4]}return ae=h[5],ae&&(ye=c[5],c[5]=ye?Ss(ye,ae,h[6]):ae,c[6]=ye?to(c[5],O):h[6]),ae=h[7],ae&&(c[7]=ae),T&ie&&(c[8]=c[8]==null?h[8]:en(c[8],h[8])),c[9]==null&&(c[9]=h[9]),c[0]=h[0],c[1]=j,c}function wa(c){var h=[];if(c!=null)for(var D in oa(c))h.push(D);return h}function nu(c){return Rr.call(c)}function Fl(c,h,D){return h=Tn(h===i?c.length-1:h,0),function(){for(var T=arguments,j=-1,X=Tn(T.length-h,0),W=Be(X);++j<X;)W[j]=T[h+j];j=-1;for(var ae=Be(h+1);++j<h;)ae[j]=T[j];return ae[h]=D(W),Yr(c,this,ae)}}function Fu(c,h){return h.length<2?c:Rl(c,mi(h,0,-1))}function Wf(c,h){for(var D=c.length,T=en(h.length,D),j=Zr(c);T--;){var X=h[T];c[T]=Mr(X,D)?j[X]:i}return c}function qm(c,h){if(!(h==="constructor"&&typeof c[h]=="function")&&h!="__proto__")return c[h]}var dh=ki(Om),_r=wl||function(c,h){return Ha.setTimeout(c,h)},Ni=ki(t0);function hh(c,h,D){var T=h+"";return Ni(c,a0(T,Ym(Uc(T),D)))}function ki(c){var h=0,D=0;return function(){var T=Cu(),j=je-(T-D);if(D=T,j>0){if(++h>=ke)return arguments[0]}else h=0;return c.apply(i,arguments)}}function jc(c,h){var D=-1,T=c.length,j=T-1;for(h=h===i?T:h;++D<h;){var X=rh(D,j),W=c[X];c[X]=c[D],c[D]=W}return c.length=h,c}var rl=Tp(function(c){var h=[];return c.charCodeAt(0)===46&&h.push(""),c.replace(dt,function(D,T,j,X){h.push(j?X.replace(Vr,"$1"):T||D)}),h});function Ir(c){if(typeof c=="string"||lu(c))return c;var h=c+"";return h=="0"&&1/c==-1/0?"-0":h}function Mi(c){if(c!=null){try{return Cl.call(c)}catch{}try{return c+""}catch{}}return""}function Ym(c,h){return Xi(Ye,function(D){var T="_."+D[0];h&D[1]&&!vc(c,T)&&c.push(T)}),c.sort()}function Sn(c){if(c instanceof on)return c.clone();var h=new hi(c.__wrapped__,c.__chain__);return h.__actions__=Zr(c.__actions__),h.__index__=c.__index__,h.__values__=c.__values__,h}function zl(c,h,D){(D?Er(c,h,D):h===i)?h=1:h=Tn(Yt(h),0);var T=c==null?0:c.length;if(!T||h<1)return[];for(var j=0,X=0,W=Be(Zi(T/h));j<T;)W[X++]=mi(c,j,j+=h);return W}function Gm(c){for(var h=-1,D=c==null?0:c.length,T=0,j=[];++h<D;){var X=c[h];X&&(j[T++]=X)}return j}function Lc(){var c=arguments.length;if(!c)return[];for(var h=Be(c-1),D=arguments[0],T=c;T--;)h[T-1]=arguments[T];return Sa(ht(D)?Zr(D):[D],Ga(h,1))}var Hc=Qt(function(c,h){return Ba(c)?Tc(c,Ga(h,1,Ba,!0)):[]}),xo=Qt(function(c,h){var D=Kr(h);return Ba(D)&&(D=i),Ba(c)?Tc(c,Ga(h,1,Ba,!0),qt(D,2)):[]}),To=Qt(function(c,h){var D=Kr(h);return Ba(D)&&(D=i),Ba(c)?Tc(c,Ga(h,1,Ba,!0),i,D):[]});function Vc(c,h,D){var T=c==null?0:c.length;return T?(h=D||h===i?1:Yt(h),mi(c,h<0?0:h,T)):[]}function Rp(c,h,D){var T=c==null?0:c.length;return T?(h=D||h===i?1:Yt(h),h=T-h,mi(c,0,h<0?0:h)):[]}function qc(c,h){return c&&c.length?Ds(c,qt(h,3),!0,!0):[]}function mr(c,h){return c&&c.length?Ds(c,qt(h,3),!0):[]}function $m(c,h,D,T){var j=c==null?0:c.length;return j?(D&&typeof D!="number"&&Er(c,h,D)&&(D=0,T=j),Qr(c,h,D,T)):[]}function zu(c,h,D){var T=c==null?0:c.length;if(!T)return-1;var j=D==null?0:Yt(D);return j<0&&(j=Tn(T+j,0)),gu(c,qt(h,3),j)}function Bp(c,h,D){var T=c==null?0:c.length;if(!T)return-1;var j=T-1;return D!==i&&(j=Yt(D),j=D<0?Tn(T+j,0):en(j,T-1)),gu(c,qt(h,3),j,!0)}function ir(c){var h=c==null?0:c.length;return h?Ga(c,1):[]}function Xm(c){var h=c==null?0:c.length;return h?Ga(c,ve):[]}function il(c,h){var D=c==null?0:c.length;return D?(h=h===i?1:Yt(h),Ga(c,h)):[]}function ua(c){for(var h=-1,D=c==null?0:c.length,T={};++h<D;){var j=c[h];T[j[0]]=j[1]}return T}function Yc(c){return c&&c.length?c[0]:i}function _a(c,h,D){var T=c==null?0:c.length;if(!T)return-1;var j=D==null?0:Yt(D);return j<0&&(j=Tn(T+j,0)),Jl(c,h,j)}function i0(c){var h=c==null?0:c.length;return h?mi(c,0,-1):[]}var Pm=Qt(function(c){var h=da(c,rr);return h.length&&h[0]===c[0]?Ou(h):[]}),mh=Qt(function(c){var h=Kr(c),D=da(c,rr);return h===Kr(D)?h=i:D.pop(),D.length&&D[0]===c[0]?Ou(D,qt(h,2)):[]}),Ul=Qt(function(c){var h=Kr(c),D=da(c,rr);return h=typeof h=="function"?h:i,h&&D.pop(),D.length&&D[0]===c[0]?Ou(D,i,h):[]});function au(c,h){return c==null?"":Yd.call(c,h)}function Kr(c){var h=c==null?0:c.length;return h?c[h-1]:i}function Gc(c,h,D){var T=c==null?0:c.length;if(!T)return-1;var j=T;return D!==i&&(j=Yt(D),j=j<0?Tn(T+j,0):en(j,T-1)),h===h?$r(c,h,j):gu(c,ns,j,!0)}function xa(c,h){return c&&c.length?Bc(c,Yt(h)):i}var Qm=Qt(Np);function Np(c,h){return c&&c.length&&h&&h.length?ah(c,h):c}function u0(c,h,D){return c&&c.length&&h&&h.length?ah(c,h,qt(D,2)):c}function Zm(c,h,D){return c&&c.length&&h&&h.length?ah(c,h,i,D):c}var l0=Dr(function(c,h){var D=c==null?0:c.length,T=vo(c,h);return Dp(c,da(h,function(j){return Mr(j,D)?+j:j}).sort(Ca)),T});function Ta(c,h){var D=[];if(!(c&&c.length))return D;var T=-1,j=[],X=c.length;for(h=qt(h,3);++T<X;){var W=c[T];h(W,T,c)&&(D.push(W),j.push(T))}return Dp(c,j),D}function ta(c){return c==null?c:is.call(c)}function On(c,h,D){var T=c==null?0:c.length;return T?(D&&typeof D!="number"&&Er(c,h,D)?(h=0,D=T):(h=h==null?0:Yt(h),D=D===i?T:Yt(D)),mi(c,h,D)):[]}function Hn(c,h){return qf(c,h)}function va(c,h,D){return Yf(c,h,qt(D,2))}function ru(c,h){var D=c==null?0:c.length;if(D){var T=qf(c,h);if(T<D&&ju(c[T],h))return T}return-1}function jl(c,h){return qf(c,h,!0)}function If(c,h,D){return Yf(c,h,qt(D,2),!0)}function kp(c,h){var D=c==null?0:c.length;if(D){var T=qf(c,h,!0)-1;if(ju(c[T],h))return T}return-1}function Oo(c){return c&&c.length?Rm(c):[]}function Oa(c,h){return c&&c.length?Rm(c,qt(h,2)):[]}function Bs(c){var h=c==null?0:c.length;return h?mi(c,1,h):[]}function $c(c,h,D){return c&&c.length?(h=D||h===i?1:Yt(h),mi(c,0,h<0?0:h)):[]}function Mp(c,h,D){var T=c==null?0:c.length;return T?(h=D||h===i?1:Yt(h),h=T-h,mi(c,h<0?0:h,T)):[]}function Uu(c,h){return c&&c.length?Ds(c,qt(h,3),!1,!0):[]}function Ns(c,h){return c&&c.length?Ds(c,qt(h,3)):[]}var vh=Qt(function(c){return vi(Ga(c,1,Ba,!0))}),Ll=Qt(function(c){var h=Kr(c);return Ba(h)&&(h=i),vi(Ga(c,1,Ba,!0),qt(h,2))}),_i=Qt(function(c){var h=Kr(c);return h=typeof h=="function"?h:i,vi(Ga(c,1,Ba,!0),i,h)});function Wm(c){return c&&c.length?vi(c):[]}function ph(c,h){return c&&c.length?vi(c,qt(h,2)):[]}function gh(c,h){return h=typeof h=="function"?h:i,c&&c.length?vi(c,i,h):[]}function ul(c){if(!(c&&c.length))return[];var h=0;return c=tr(c,function(D){if(Ba(D))return h=Tn(D.length,h),!0}),Ai(h,function(D){return da(c,zd(D))})}function yh(c,h){if(!(c&&c.length))return[];var D=ul(c);return h==null?D:da(D,function(T){return Yr(h,i,T)})}var Xc=Qt(function(c,h){return Ba(c)?Tc(c,h):[]}),Kf=Qt(function(c){return pi(tr(c,Ba))}),_p=Qt(function(c){var h=Kr(c);return Ba(h)&&(h=i),pi(tr(c,Ba),qt(h,2))}),Jf=Qt(function(c){var h=Kr(c);return h=typeof h=="function"?h:i,pi(tr(c,Ba),i,h)}),ed=Qt(ul);function Im(c,h){return km(c||[],h||[],ha)}function Jr(c,h){return km(c||[],h||[],Nc)}var Pc=Qt(function(c){var h=c.length,D=h>1?c[h-1]:i;return D=typeof D=="function"?(c.pop(),D):i,yh(c,D)});function ur(c){var h=Y(c);return h.__chain__=!0,h}function Fp(c,h){return h(c),c}function td(c,h){return h(c)}var Qc=Dr(function(c){var h=c.length,D=h?c[0]:0,T=this.__wrapped__,j=function(X){return vo(X,c)};return h>1||this.__actions__.length||!(T instanceof on)||!Mr(D)?this.thru(j):(T=T.slice(D,+D+(h?1:0)),T.__actions__.push({func:td,args:[j],thisArg:i}),new hi(T,this.__chain__).thru(function(X){return h&&!X.length&&X.push(i),X}))});function bh(){return ur(this)}function Hl(){return new hi(this.value(),this.__chain__)}function Zc(){this.__values__===i&&(this.__values__=m0(this.value()));var c=this.__index__>=this.__values__.length,h=c?i:this.__values__[this.__index__++];return{done:c,value:h}}function Dh(){return this}function ks(c){for(var h,D=this;D instanceof os;){var T=Sn(D);T.__index__=0,T.__values__=i,h?j.__wrapped__=T:h=T;var j=T;D=D.__wrapped__}return j.__wrapped__=c,h}function zp(){var c=this.__wrapped__;if(c instanceof on){var h=c;return this.__actions__.length&&(h=new on(this)),h=h.reverse(),h.__actions__.push({func:td,args:[ta],thisArg:i}),new hi(h,this.__chain__)}return this.thru(ta)}function Up(){return Nm(this.__wrapped__,this.__actions__)}var o0=Co(function(c,h,D){Gn.call(c,D)?++c[D]:Ri(c,D,1)});function Km(c,h,D){var T=ht(c)?ts:Zd;return D&&Er(c,h,D)&&(h=i),T(c,qt(h,3))}function jp(c,h){var D=ht(c)?tr:Ya;return D(c,qt(h,3))}var by=kl(zu),Dy=kl(Bp);function Jm(c,h){return Ga(Vl(c,h),1)}function ev(c,h){return Ga(Vl(c,h),ve)}function s0(c,h,D){return D=D===i?1:Yt(D),Ga(Vl(c,h),D)}function Wc(c,h){var D=ht(c)?Xi:po;return D(c,qt(h,3))}function Eh(c,h){var D=ht(c)?mc:Qd;return D(c,qt(h,3))}var Lp=Co(function(c,h,D){Gn.call(c,D)?c[D].push(h):Ri(c,D,[h])});function Hp(c,h,D,T){c=hn(c)?c:wr(c),D=D&&!T?Yt(D):0;var j=c.length;return D<0&&(D=Tn(j+D,0)),uu(c)?D<=j&&c.indexOf(h,D)>-1:!!j&&Jl(c,h,D)>-1}var c0=Qt(function(c,h,D){var T=-1,j=typeof h=="function",X=hn(c)?Be(c.length):[];return po(c,function(W){X[++T]=j?Yr(h,W,D):vs(W,h,D)}),X}),Vp=Co(function(c,h,D){Ri(c,D,h)});function Vl(c,h){var D=ht(c)?da:th;return D(c,qt(h,3))}function tv(c,h,D,T){return c==null?[]:(ht(h)||(h=h==null?[]:[h]),D=T?i:D,ht(D)||(D=D==null?[]:[D]),gs(c,h,D))}var ca=Co(function(c,h,D){c[D?0:1].push(h)},function(){return[[],[]]});function qp(c,h,D){var T=ht(c)?sm:yu,j=arguments.length<3;return T(c,qt(h,4),D,j,po)}function Ey(c,h,D){var T=ht(c)?cm:yu,j=arguments.length<3;return T(c,qt(h,4),D,j,Qd)}function f0(c,h){var D=ht(c)?tr:Ya;return D(c,id(qt(h,3)))}function Sy(c){var h=ht(c)?Em:Ep;return h(c)}function Yp(c,h,D){(D?Er(c,h,D):h===i)?h=1:h=Yt(h);var T=ht(c)?ho:Sp;return T(c,h)}function Gp(c){var h=ht(c)?dn:Cp;return h(c)}function nd(c){if(c==null)return 0;if(hn(c))return uu(c)?wi(c):c.length;var h=Za(c);return h==pt||h==I?c.size:Ru(c).length}function Ic(c,h,D){var T=ht(c)?Kl:ys;return D&&Er(c,h,D)&&(h=i),T(c,qt(h,3))}var nv=Qt(function(c,h){if(c==null)return[];var D=h.length;return D>1&&Er(c,h[0],h[1])?h=[]:D>2&&Er(h[0],h[1],h[2])&&(h=[h[0]]),gs(c,Ga(h,1),[])}),ll=Ti||function(){return Ha.Date.now()};function $p(c,h){if(typeof h!="function")throw new fi(b);return c=Yt(c),function(){if(--c<1)return h.apply(this,arguments)}}function Ro(c,h,D){return h=D?i:h,h=c&&h==null?c.length:h,Ma(c,ie,i,i,i,i,h)}function Fi(c,h){var D;if(typeof h!="function")throw new fi(b);return c=Yt(c),function(){return--c>0&&(D=h.apply(this,arguments)),c<=1&&(h=i),D}}var Ms=Qt(function(c,h,D){var T=x;if(D.length){var j=to(D,Bi(Ms));T|=q}return Ma(c,T,h,D,j)}),d0=Qt(function(c,h,D){var T=x|H;if(D.length){var j=to(D,Bi(d0));T|=q}return Ma(h,T,c,D,j)});function ad(c,h,D){h=D?i:h;var T=Ma(c,_,i,i,i,i,i,h);return T.placeholder=ad.placeholder,T}function av(c,h,D){h=D?i:h;var T=Ma(c,V,i,i,i,i,i,h);return T.placeholder=av.placeholder,T}function Kc(c,h,D){var T,j,X,W,ae,ye,Je=0,et=!1,it=!1,Ct=!0;if(typeof c!="function")throw new fi(b);h=pa(h)||0,tn(D)&&(et=!!D.leading,it="maxWait"in D,X=it?Tn(pa(D.maxWait)||0,h):X,Ct="trailing"in D?!!D.trailing:Ct);function Ht(aa){var Vi=T,zo=j;return T=j=i,Je=aa,W=c.apply(zo,Vi),W}function an(aa){return Je=aa,ae=_r(Nn,h),et?Ht(aa):W}function Cn(aa){var Vi=aa-ye,zo=aa-Je,of=h-Vi;return it?en(of,X-zo):of}function Kt(aa){var Vi=aa-ye,zo=aa-Je;return ye===i||Vi>=h||Vi<0||it&&zo>=X}function Nn(){var aa=ll();if(Kt(aa))return qn(aa);ae=_r(Nn,Cn(aa))}function qn(aa){return ae=i,Ct&&T?Ht(aa):(T=j=i,W)}function Hi(){ae!==i&&Nl(ae),Je=0,T=ye=j=ae=i}function zr(){return ae===i?W:qn(ll())}function Ur(){var aa=ll(),Vi=Kt(aa);if(T=arguments,j=this,ye=aa,Vi){if(ae===i)return an(ye);if(it)return Nl(ae),ae=_r(Nn,h),Ht(ye)}return ae===i&&(ae=_r(Nn,h)),W}return Ur.cancel=Hi,Ur.flush=zr,Ur}var Xp=Qt(function(c,h){return Pd(c,1,h)}),rd=Qt(function(c,h,D){return Pd(c,pa(h)||0,D)});function Pp(c){return Ma(c,ue)}function Ra(c,h){if(typeof c!="function"||h!=null&&typeof h!="function")throw new fi(b);var D=function(){var T=arguments,j=h?h.apply(this,T):T[0],X=D.cache;if(X.has(j))return X.get(j);var W=c.apply(this,T);return D.cache=X.set(j,W)||X,W};return D.cache=new(Ra.Cache||Wu),D}Ra.Cache=Wu;function id(c){if(typeof c!="function")throw new fi(b);return function(){var h=arguments;switch(h.length){case 0:return!c.call(this);case 1:return!c.call(this,h[0]);case 2:return!c.call(this,h[0],h[1]);case 3:return!c.call(this,h[0],h[1],h[2])}return!c.apply(this,h)}}function Qp(c){return Fi(2,c)}var Zp=el(function(c,h){h=h.length==1&&ht(h[0])?da(h[0],si(qt())):da(Ga(h,1),si(qt()));var D=h.length;return Qt(function(T){for(var j=-1,X=en(T.length,D);++j<X;)T[j]=h[j].call(this,T[j]);return Yr(c,this,T)})}),ql=Qt(function(c,h){var D=to(h,Bi(ql));return Ma(c,q,i,h,D)}),Jc=Qt(function(c,h){var D=to(h,Bi(Jc));return Ma(c,K,i,h,D)}),Yl=Dr(function(c,h){return Ma(c,Ee,i,i,i,h)});function rv(c,h){if(typeof c!="function")throw new fi(b);return h=h===i?h:Yt(h),Qt(c,h)}function iv(c,h){if(typeof c!="function")throw new fi(b);return h=h==null?0:Tn(Yt(h),0),Qt(function(D){var T=D[h],j=Bl(D,0,h);return T&&Sa(j,T),Yr(c,this,j)})}function _n(c,h,D){var T=!0,j=!0;if(typeof c!="function")throw new fi(b);return tn(D)&&(T="leading"in D?!!D.leading:T,j="trailing"in D?!!D.trailing:j),Kc(c,h,{leading:T,maxWait:h,trailing:j})}function Sh(c){return Ro(c,1)}function iu(c,h){return ql(kc(h),c)}function ef(){if(!arguments.length)return[];var c=arguments[0];return ht(c)?c:[c]}function uv(c){return $n(c,z)}function Ch(c,h){return h=typeof h=="function"?h:i,$n(c,z,h)}function _s(c){return $n(c,R|z)}function ei(c,h){return h=typeof h=="function"?h:i,$n(c,R|z,h)}function tf(c,h){return h==null||hs(c,h,or(h))}function ju(c,h){return c===h||c!==c&&h!==h}var h0=Qf(Cm),Cy=Qf(function(c,h){return c>=h}),_e=zf(function(){return arguments}())?zf:function(c){return Xa(c)&&Gn.call(c,"callee")&&!Al.call(c,"callee")},ht=Be.isArray,Fs=om?si(om):Kd;function hn(c){return c!=null&&lr(c.length)&&!Na(c)}function Ba(c){return Xa(c)&&hn(c)}function Sr(c){return c===!0||c===!1||Xa(c)&&yr(c)==Ce}var Bo=hp||S0,lv=Of?si(Of):ps;function ov(c){return Xa(c)&&c.nodeType===1&&!Ar(c)}function Ah(c){if(c==null)return!0;if(hn(c)&&(ht(c)||typeof c=="string"||typeof c.splice=="function"||Bo(c)||ou(c)||_e(c)))return!c.length;var h=Za(c);if(h==pt||h==I)return!c.size;if($a(c))return!Ru(c).length;for(var D in c)if(Gn.call(c,D))return!1;return!0}function sv(c,h){return ia(c,h)}function Wp(c,h,D){D=typeof D=="function"?D:i;var T=D?D(c,h):i;return T===i?ia(c,h,i,D):!!T}function nf(c){if(!Xa(c))return!1;var h=yr(c);return h==Ie||h==Ze||typeof c.message=="string"&&typeof c.name=="string"&&!Ar(c)}function wh(c){return typeof c=="number"&&qd(c)}function Na(c){if(!tn(c))return!1;var h=yr(c);return h==Me||h==At||h==Ue||h==Zt}function zi(c){return typeof c=="number"&&c==Yt(c)}function lr(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=be}function tn(c){var h=typeof c;return c!=null&&(h=="object"||h=="function")}function Xa(c){return c!=null&&typeof c=="object"}var cv=np?si(np):yp;function xh(c,h){return c===h||jf(c,h,zc(h))}function ol(c,h,D){return D=typeof D=="function"?D:i,jf(c,h,zc(h),D)}function zs(c){return sl(c)&&c!=+c}function Th(c){if(r0(c))throw new Pt(p);return Jd(c)}function Cr(c){return c===null}function Oh(c){return c==null}function sl(c){return typeof c=="number"||Xa(c)&&yr(c)==Lt}function Ar(c){if(!Xa(c)||yr(c)!=xt)return!1;var h=Mn(c);if(h===null)return!0;var D=Gn.call(h,"constructor")&&h.constructor;return typeof D=="function"&&D instanceof D&&Cl.call(D)==bc}var fv=ap?si(ap):Do;function dv(c){return zi(c)&&c>=-9007199254740991&&c<=be}var Gl=rp?si(rp):Eo;function uu(c){return typeof c=="string"||!ht(c)&&Xa(c)&&yr(c)==rt}function lu(c){return typeof c=="symbol"||Xa(c)&&yr(c)==ct}var ou=ip?si(ip):eh;function hv(c){return c===i}function ud(c){return Xa(c)&&Za(c)==Ft}function Ay(c){return Xa(c)&&yr(c)==Mt}var Ip=Qf(Rc),wy=Qf(function(c,h){return c<=h});function m0(c){if(!c)return[];if(hn(c))return uu(c)?ci(c):Zr(c);if(Su&&c[Su])return op(c[Su]());var h=Za(c),D=h==pt?yc:h==I?Ld:wr;return D(c)}function Ui(c){if(!c)return c===0?c:0;if(c=pa(c),c===ve||c===-1/0){var h=c<0?-1:1;return h*qe}return c===c?c:0}function Yt(c){var h=Ui(c),D=h%1;return h===h?D?h-D:h:0}function Et(c){return c?ds(Yt(c),0,Se):0}function pa(c){if(typeof c=="number")return c;if(lu(c))return oe;if(tn(c)){var h=typeof c.valueOf=="function"?c.valueOf():c;c=tn(h)?h+"":h}if(typeof c!="string")return c===0?c:+c;c=hm(c);var D=Ef.test(c);return D||ic.test(c)?py(c.slice(2),D?2:8):ui.test(c)?oe:+c}function ti(c){return Bu(c,ai(c))}function ni(c){return c?ds(Yt(c),-9007199254740991,be):c===0?c:0}function na(c){return c==null?"":ea(c)}var ld=Cs(function(c,h){if($a(h)||hn(h)){Bu(h,or(h),c);return}for(var D in h)Gn.call(h,D)&&ha(c,D,h[D])}),No=Cs(function(c,h){Bu(h,ai(h),c)}),Us=Cs(function(c,h,D,T){Bu(h,ai(h),c,T)}),su=Cs(function(c,h,D,T){Bu(h,or(h),c,T)}),Lu=Dr(vo);function cl(c,h){var D=Xu(c);return h==null?D:fs(D,h)}var af=Qt(function(c,h){c=oa(c);var D=-1,T=h.length,j=T>2?h[2]:i;for(j&&Er(h[0],h[1],j)&&(T=1);++D<T;)for(var X=h[D],W=ai(X),ae=-1,ye=W.length;++ae<ye;){var Je=W[ae],et=c[Je];(et===i||ju(et,cn[Je])&&!Gn.call(c,Je))&&(c[Je]=X[Je])}return c}),ko=Qt(function(c){return c.push(i,sa),Yr(od,i,c)});function Fr(c,h){return fm(c,qt(h,3),Ki)}function ji(c,h){return fm(c,qt(h,3),xu)}function js(c,h){return c==null?c:go(c,qt(h,3),ai)}function rf(c,h){return c==null?c:Oc(c,qt(h,3),ai)}function xy(c,h){return c&&Ki(c,qt(h,3))}function Ty(c,h){return c&&xu(c,qt(h,3))}function v0(c){return c==null?[]:yo(c,or(c))}function Ls(c){return c==null?[]:yo(c,ai(c))}function uf(c,h,D){var T=c==null?i:Rl(c,h);return T===i?D:T}function Mo(c,h){return c!=null&&Zf(c,h,Am)}function Rh(c,h){return c!=null&&Zf(c,h,Wd)}var Li=Pf(function(c,h,D){h!=null&&typeof h.toString!="function"&&(h=Rr.call(h)),c[h]=D},Rt(Qn)),Oy=Pf(function(c,h,D){h!=null&&typeof h.toString!="function"&&(h=Rr.call(h)),Gn.call(c,h)?c[h].push(D):c[h]=[D]},qt),p0=Qt(vs);function or(c){return hn(c)?Ff(c):Ru(c)}function ai(c){return hn(c)?Ff(c,!0):Hf(c)}function g0(c,h){var D={};return h=qt(h,3),Ki(c,function(T,j,X){Ri(D,h(T,j,X),T)}),D}function mv(c,h){var D={};return h=qt(h,3),Ki(c,function(T,j,X){Ri(D,j,h(T,j,X))}),D}var Kp=Cs(function(c,h,D){Vf(c,h,D)}),od=Cs(function(c,h,D,T){Vf(c,h,D,T)}),y0=Dr(function(c,h){var D={};if(c==null)return D;var T=!1;h=da(h,function(X){return X=So(X,c),T||(T=X.length>1),X}),Bu(c,Fc(c),D),T&&(D=$n(D,R|N|z,sh));for(var j=h.length;j--;)Ju(D,h[j]);return D});function b0(c,h){return Bh(c,id(qt(h)))}var vv=Dr(function(c,h){return c==null?{}:Tm(c,h)});function Bh(c,h){if(c==null)return{};var D=da(Fc(c),function(T){return[T]});return h=qt(h),nh(c,D,function(T,j){return h(T,j[0])})}function Nh(c,h,D){h=So(h,c);var T=-1,j=h.length;for(j||(j=1,c=i);++T<j;){var X=c==null?i:c[Ir(h[T])];X===i&&(T=j,X=D),c=Na(X)?X.call(c):X}return c}function pv(c,h,D){return c==null?c:Nc(c,h,D)}function D0(c,h,D,T){return T=typeof T=="function"?T:i,c==null?c:Nc(c,h,D,T)}var kh=nl(or),_o=nl(ai);function Hs(c,h,D){var T=ht(c),j=T||Bo(c)||ou(c);if(h=qt(h,4),D==null){var X=c&&c.constructor;j?D=T?new X:[]:tn(c)?D=Na(X)?Xu(Mn(c)):{}:D={}}return(j?Xi:Ki)(c,function(W,ae,ye){return h(D,W,ae,ye)}),D}function Fo(c,h){return c==null?!0:Ju(c,h)}function Vs(c,h,D){return c==null?c:bs(c,h,kc(D))}function qs(c,h,D,T){return T=typeof T=="function"?T:i,c==null?c:bs(c,h,kc(D),T)}function wr(c){return c==null?[]:El(c,or(c))}function Jp(c){return c==null?[]:El(c,ai(c))}function eg(c,h,D){return D===i&&(D=h,h=i),D!==i&&(D=pa(D),D=D===D?D:0),h!==i&&(h=pa(h),h=h===h?h:0),ds(pa(c),h,D)}function sd(c,h,D){return h=Ui(h),D===i?(D=h,h=0):D=Ui(D),c=pa(c),bo(c,h,D)}function Ry(c,h,D){if(D&&typeof D!="boolean"&&Er(c,h,D)&&(h=D=i),D===i&&(typeof h=="boolean"?(D=h,h=i):typeof c=="boolean"&&(D=c,c=i)),c===i&&h===i?(c=0,h=1):(c=Ui(c),h===i?(h=c,c=0):h=Ui(h)),c>h){var T=c;c=h,h=T}if(D||c%1||h%1){var j=gm();return en(c+j*(h-c+Tf("1e-"+((j+"").length-1))),h)}return rh(c,h)}var E0=Ao(function(c,h,D){return h=h.toLowerCase(),c+(D?Mh(h):h)});function Mh(c){return nn(na(c).toLowerCase())}function gv(c){return c=na(c),c&&c.replace(xn,jd).replace(xf,"")}function cd(c,h,D){c=na(c),h=ea(h);var T=c.length;D=D===i?T:ds(Yt(D),0,T);var j=D;return D-=h.length,D>=0&&c.slice(D,j)==h}function fd(c){return c=na(c),c&&Bt.test(c)?c.replace(bt,Bf):c}function _h(c){return c=na(c),c&&Jt.test(c)?c.replace(Vt,"\\$&"):c}var tg=Ao(function(c,h,D){return c+(D?"-":"")+h.toLowerCase()}),dd=Ao(function(c,h,D){return c+(D?" ":"")+h.toLowerCase()}),ng=tl("toLowerCase");function lf(c,h,D){c=na(c),h=Yt(h);var T=h?wi(c):0;if(!h||T>=h)return c;var j=(h-T)/2;return wo(Wi(j),D)+c+wo(Zi(j),D)}function ag(c,h,D){c=na(c),h=Yt(h);var T=h?wi(c):0;return h&&T<h?c+wo(h-T,D):c}function hd(c,h,D){c=na(c),h=Yt(h);var T=h?wi(c):0;return h&&T<h?wo(h-T,D)+c:c}function yv(c,h,D){return D||h==null?h=0:h&&(h=+h),Gu(na(c).replace(Da,""),h||0)}function r(c,h,D){return(D?Er(c,h,D):h===i)?h=1:h=Yt(h),Ku(na(c),h)}function l(){var c=arguments,h=na(c[0]);return c.length<3?h:h.replace(c[1],c[2])}var s=Ao(function(c,h,D){return c+(D?"_":"")+h.toLowerCase()});function m(c,h,D){return D&&typeof D!="number"&&Er(c,h,D)&&(h=D=i),D=D===i?Se:D>>>0,D?(c=na(c),c&&(typeof h=="string"||h!=null&&!fv(h))&&(h=ea(h),!h&&eo(c))?Bl(ci(c),0,D):c.split(h,D)):[]}var y=Ao(function(c,h,D){return c+(D?" ":"")+nn(h)});function S(c,h,D){return c=na(c),D=D==null?0:ds(Yt(D),0,c.length),h=ea(h),c.slice(D,D+h.length)==h}function M(c,h,D){var T=Y.templateSettings;D&&Er(c,h,D)&&(h=i),c=na(c),h=Us({},h,T,oh);var j=Us({},h.imports,T.imports,oh),X=or(j),W=El(j,X),ae,ye,Je=0,et=h.interpolate||dr,it="__p += '",Ct=Sl((h.escape||dr).source+"|"+et.source+"|"+(et===Gt?Df:dr).source+"|"+(h.evaluate||dr).source+"|$","g"),Ht="//# sourceURL="+(Gn.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++im+"]")+`
671
+ `;c.replace(Ct,function(Kt,Nn,qn,Hi,zr,Ur){return qn||(qn=Hi),it+=c.slice(Je,Ur).replace(li,Nf),Nn&&(ae=!0,it+=`' +
672
+ __e(`+Nn+`) +
673
+ '`),zr&&(ye=!0,it+=`';
674
+ `+zr+`;
675
+ __p += '`),qn&&(it+=`' +
676
+ ((__t = (`+qn+`)) == null ? '' : __t) +
677
+ '`),Je=Ur+Kt.length,Kt}),it+=`';
678
+ `;var an=Gn.call(h,"variable")&&h.variable;if(!an)it=`with (obj) {
679
+ `+it+`
680
+ }
681
+ `;else if(bn.test(an))throw new Pt(E);it=(ye?it.replace(In,""):it).replace(It,"$1").replace(ft,"$1;"),it="function("+(an||"obj")+`) {
682
+ `+(an?"":`obj || (obj = {});
683
+ `)+"var __t, __p = ''"+(ae?", __e = _.escape":"")+(ye?`, __j = Array.prototype.join;
684
+ function print() { __p += __j.call(arguments, '') }
685
+ `:`;
686
+ `)+it+`return __p
687
+ }`;var Cn=ge(function(){return fn(X,Ht+"return "+it).apply(i,W)});if(Cn.source=it,nf(Cn))throw Cn;return Cn}function $(c){return na(c).toLowerCase()}function Z(c){return na(c).toUpperCase()}function fe(c,h,D){if(c=na(c),c&&(D||h===i))return hm(c);if(!c||!(h=ea(h)))return c;var T=ci(c),j=ci(h),X=as(T,j),W=Du(T,j)+1;return Bl(T,X,W).join("")}function $e(c,h,D){if(c=na(c),c&&(D||h===i))return c.slice(0,kf(c)+1);if(!c||!(h=ea(h)))return c;var T=ci(c),j=Du(T,ci(h))+1;return Bl(T,0,j).join("")}function at(c,h,D){if(c=na(c),c&&(D||h===i))return c.replace(Da,"");if(!c||!(h=ea(h)))return c;var T=ci(c),j=as(T,ci(h));return Bl(T,j).join("")}function Ne(c,h){var D=xe,T=ze;if(tn(h)){var j="separator"in h?h.separator:j;D="length"in h?Yt(h.length):D,T="omission"in h?ea(h.omission):T}c=na(c);var X=c.length;if(eo(c)){var W=ci(c);X=W.length}if(D>=X)return c;var ae=D-wi(T);if(ae<1)return T;var ye=W?Bl(W,0,ae).join(""):c.slice(0,ae);if(j===i)return ye+T;if(W&&(ae+=ye.length-ae),fv(j)){if(c.slice(ae).search(j)){var Je,et=ye;for(j.global||(j=Sl(j.source,na(rc.exec(j))+"g")),j.lastIndex=0;Je=j.exec(et);)var it=Je.index;ye=ye.slice(0,it===i?ae:it)}}else if(c.indexOf(ea(j),ae)!=ae){var Ct=ye.lastIndexOf(j);Ct>-1&&(ye=ye.slice(0,Ct))}return ye+T}function Ge(c){return c=na(c),c&&Dt.test(c)?c.replace(mt,Hd):c}var Nt=Ao(function(c,h,D){return c+(D?" ":"")+h.toUpperCase()}),nn=tl("toUpperCase");function ga(c,h,D){return c=na(c),h=D?i:h,h===i?lp(c)?fp(c):Zg(c):c.match(h)||[]}var ge=Qt(function(c,h){try{return Yr(c,i,h)}catch(D){return nf(D)?D:new Pt(D)}}),ce=Dr(function(c,h){return Xi(h,function(D){D=Ir(D),Ri(c,D,Ms(c[D],c))}),c});function Ae(c){var h=c==null?0:c.length,D=qt();return c=h?da(c,function(T){if(typeof T[1]!="function")throw new fi(b);return[D(T[0]),T[1]]}):[],Qt(function(T){for(var j=-1;++j<h;){var X=c[j];if(Yr(X[0],this,T))return Yr(X[1],this,T)}})}function tt(c){return Sm($n(c,R))}function Rt(c){return function(){return c}}function pn(c,h){return c==null||c!==c?h:c}var zt=uh(),Xt=uh(!0);function Qn(c){return c}function Vn(c){return Lf(typeof c=="function"?c:$n(c,R))}function Ys(c){return wm($n(c,R))}function By(c,h){return Ji(c,$n(h,R))}var Ny=Qt(function(c,h){return function(D){return vs(D,c,h)}}),GD=Qt(function(c,h){return function(D){return vs(c,D,h)}});function ky(c,h,D){var T=or(h),j=yo(h,T);D==null&&!(tn(h)&&(j.length||!T.length))&&(D=h,h=c,c=this,j=yo(h,or(h)));var X=!(tn(D)&&"chain"in D)||!!D.chain,W=Na(c);return Xi(j,function(ae){var ye=h[ae];c[ae]=ye,W&&(c.prototype[ae]=function(){var Je=this.__chain__;if(X||Je){var et=c(this.__wrapped__),it=et.__actions__=Zr(this.__actions__);return it.push({func:ye,args:arguments,thisArg:c}),et.__chain__=Je,et}return ye.apply(c,Sa([this.value()],arguments))})}),c}function $D(){return Ha._===this&&(Ha._=Vd),this}function My(){}function XD(c){return c=Yt(c),Qt(function(h){return Bc(h,c)})}var P1=Nu(da),PD=Nu(ts),QD=Nu(Kl);function Q1(c){return Xn(c)?zd(Ir(c)):bp(c)}function ZD(c){return function(h){return c==null?i:Rl(c,h)}}var WD=ma(),ID=ma(!0);function _y(){return[]}function S0(){return!1}function KD(){return{}}function JD(){return""}function eE(){return!0}function tE(c,h){if(c=Yt(c),c<1||c>be)return[];var D=Se,T=en(c,Se);h=qt(h),c-=Se;for(var j=Ai(T,h);++D<c;)h(D);return j}function nE(c){return ht(c)?da(c,Ir):lu(c)?[c]:Zr(rl(na(c)))}function aE(c){var h=++Va;return na(c)+h}var rE=tu(function(c,h){return c+h},0),iE=ku("ceil"),uE=tu(function(c,h){return c/h},1),Z1=ku("floor");function Fy(c){return c&&c.length?ms(c,Qn,Cm):i}function rg(c,h){return c&&c.length?ms(c,qt(h,2),Cm):i}function lE(c){return dm(c,Qn)}function W1(c,h){return dm(c,qt(h,2))}function I1(c){return c&&c.length?ms(c,Qn,Rc):i}function K1(c,h){return c&&c.length?ms(c,qt(h,2),Rc):i}var J1=tu(function(c,h){return c*h},1),bv=ku("round"),oE=tu(function(c,h){return c-h},0);function ig(c){return c&&c.length?Gr(c,Qn):0}function ug(c,h){return c&&c.length?Gr(c,qt(h,2)):0}return Y.after=$p,Y.ary=Ro,Y.assign=ld,Y.assignIn=No,Y.assignInWith=Us,Y.assignWith=su,Y.at=Lu,Y.before=Fi,Y.bind=Ms,Y.bindAll=ce,Y.bindKey=d0,Y.castArray=ef,Y.chain=ur,Y.chunk=zl,Y.compact=Gm,Y.concat=Lc,Y.cond=Ae,Y.conforms=tt,Y.constant=Rt,Y.countBy=o0,Y.create=cl,Y.curry=ad,Y.curryRight=av,Y.debounce=Kc,Y.defaults=af,Y.defaultsDeep=ko,Y.defer=Xp,Y.delay=rd,Y.difference=Hc,Y.differenceBy=xo,Y.differenceWith=To,Y.drop=Vc,Y.dropRight=Rp,Y.dropRightWhile=qc,Y.dropWhile=mr,Y.fill=$m,Y.filter=jp,Y.flatMap=Jm,Y.flatMapDeep=ev,Y.flatMapDepth=s0,Y.flatten=ir,Y.flattenDeep=Xm,Y.flattenDepth=il,Y.flip=Pp,Y.flow=zt,Y.flowRight=Xt,Y.fromPairs=ua,Y.functions=v0,Y.functionsIn=Ls,Y.groupBy=Lp,Y.initial=i0,Y.intersection=Pm,Y.intersectionBy=mh,Y.intersectionWith=Ul,Y.invert=Li,Y.invertBy=Oy,Y.invokeMap=c0,Y.iteratee=Vn,Y.keyBy=Vp,Y.keys=or,Y.keysIn=ai,Y.map=Vl,Y.mapKeys=g0,Y.mapValues=mv,Y.matches=Ys,Y.matchesProperty=By,Y.memoize=Ra,Y.merge=Kp,Y.mergeWith=od,Y.method=Ny,Y.methodOf=GD,Y.mixin=ky,Y.negate=id,Y.nthArg=XD,Y.omit=y0,Y.omitBy=b0,Y.once=Qp,Y.orderBy=tv,Y.over=P1,Y.overArgs=Zp,Y.overEvery=PD,Y.overSome=QD,Y.partial=ql,Y.partialRight=Jc,Y.partition=ca,Y.pick=vv,Y.pickBy=Bh,Y.property=Q1,Y.propertyOf=ZD,Y.pull=Qm,Y.pullAll=Np,Y.pullAllBy=u0,Y.pullAllWith=Zm,Y.pullAt=l0,Y.range=WD,Y.rangeRight=ID,Y.rearg=Yl,Y.reject=f0,Y.remove=Ta,Y.rest=rv,Y.reverse=ta,Y.sampleSize=Yp,Y.set=pv,Y.setWith=D0,Y.shuffle=Gp,Y.slice=On,Y.sortBy=nv,Y.sortedUniq=Oo,Y.sortedUniqBy=Oa,Y.split=m,Y.spread=iv,Y.tail=Bs,Y.take=$c,Y.takeRight=Mp,Y.takeRightWhile=Uu,Y.takeWhile=Ns,Y.tap=Fp,Y.throttle=_n,Y.thru=td,Y.toArray=m0,Y.toPairs=kh,Y.toPairsIn=_o,Y.toPath=nE,Y.toPlainObject=ti,Y.transform=Hs,Y.unary=Sh,Y.union=vh,Y.unionBy=Ll,Y.unionWith=_i,Y.uniq=Wm,Y.uniqBy=ph,Y.uniqWith=gh,Y.unset=Fo,Y.unzip=ul,Y.unzipWith=yh,Y.update=Vs,Y.updateWith=qs,Y.values=wr,Y.valuesIn=Jp,Y.without=Xc,Y.words=ga,Y.wrap=iu,Y.xor=Kf,Y.xorBy=_p,Y.xorWith=Jf,Y.zip=ed,Y.zipObject=Im,Y.zipObjectDeep=Jr,Y.zipWith=Pc,Y.entries=kh,Y.entriesIn=_o,Y.extend=No,Y.extendWith=Us,ky(Y,Y),Y.add=rE,Y.attempt=ge,Y.camelCase=E0,Y.capitalize=Mh,Y.ceil=iE,Y.clamp=eg,Y.clone=uv,Y.cloneDeep=_s,Y.cloneDeepWith=ei,Y.cloneWith=Ch,Y.conformsTo=tf,Y.deburr=gv,Y.defaultTo=pn,Y.divide=uE,Y.endsWith=cd,Y.eq=ju,Y.escape=fd,Y.escapeRegExp=_h,Y.every=Km,Y.find=by,Y.findIndex=zu,Y.findKey=Fr,Y.findLast=Dy,Y.findLastIndex=Bp,Y.findLastKey=ji,Y.floor=Z1,Y.forEach=Wc,Y.forEachRight=Eh,Y.forIn=js,Y.forInRight=rf,Y.forOwn=xy,Y.forOwnRight=Ty,Y.get=uf,Y.gt=h0,Y.gte=Cy,Y.has=Mo,Y.hasIn=Rh,Y.head=Yc,Y.identity=Qn,Y.includes=Hp,Y.indexOf=_a,Y.inRange=sd,Y.invoke=p0,Y.isArguments=_e,Y.isArray=ht,Y.isArrayBuffer=Fs,Y.isArrayLike=hn,Y.isArrayLikeObject=Ba,Y.isBoolean=Sr,Y.isBuffer=Bo,Y.isDate=lv,Y.isElement=ov,Y.isEmpty=Ah,Y.isEqual=sv,Y.isEqualWith=Wp,Y.isError=nf,Y.isFinite=wh,Y.isFunction=Na,Y.isInteger=zi,Y.isLength=lr,Y.isMap=cv,Y.isMatch=xh,Y.isMatchWith=ol,Y.isNaN=zs,Y.isNative=Th,Y.isNil=Oh,Y.isNull=Cr,Y.isNumber=sl,Y.isObject=tn,Y.isObjectLike=Xa,Y.isPlainObject=Ar,Y.isRegExp=fv,Y.isSafeInteger=dv,Y.isSet=Gl,Y.isString=uu,Y.isSymbol=lu,Y.isTypedArray=ou,Y.isUndefined=hv,Y.isWeakMap=ud,Y.isWeakSet=Ay,Y.join=au,Y.kebabCase=tg,Y.last=Kr,Y.lastIndexOf=Gc,Y.lowerCase=dd,Y.lowerFirst=ng,Y.lt=Ip,Y.lte=wy,Y.max=Fy,Y.maxBy=rg,Y.mean=lE,Y.meanBy=W1,Y.min=I1,Y.minBy=K1,Y.stubArray=_y,Y.stubFalse=S0,Y.stubObject=KD,Y.stubString=JD,Y.stubTrue=eE,Y.multiply=J1,Y.nth=xa,Y.noConflict=$D,Y.noop=My,Y.now=ll,Y.pad=lf,Y.padEnd=ag,Y.padStart=hd,Y.parseInt=yv,Y.random=Ry,Y.reduce=qp,Y.reduceRight=Ey,Y.repeat=r,Y.replace=l,Y.result=Nh,Y.round=bv,Y.runInContext=he,Y.sample=Sy,Y.size=nd,Y.snakeCase=s,Y.some=Ic,Y.sortedIndex=Hn,Y.sortedIndexBy=va,Y.sortedIndexOf=ru,Y.sortedLastIndex=jl,Y.sortedLastIndexBy=If,Y.sortedLastIndexOf=kp,Y.startCase=y,Y.startsWith=S,Y.subtract=oE,Y.sum=ig,Y.sumBy=ug,Y.template=M,Y.times=tE,Y.toFinite=Ui,Y.toInteger=Yt,Y.toLength=Et,Y.toLower=$,Y.toNumber=pa,Y.toSafeInteger=ni,Y.toString=na,Y.toUpper=Z,Y.trim=fe,Y.trimEnd=$e,Y.trimStart=at,Y.truncate=Ne,Y.unescape=Ge,Y.uniqueId=aE,Y.upperCase=Nt,Y.upperFirst=nn,Y.each=Wc,Y.eachRight=Eh,Y.first=Yc,ky(Y,function(){var c={};return Ki(Y,function(h,D){Gn.call(Y.prototype,D)||(c[D]=h)}),c}(),{chain:!1}),Y.VERSION=o,Xi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){Y[c].placeholder=Y}),Xi(["drop","take"],function(c,h){on.prototype[c]=function(D){D=D===i?1:Tn(Yt(D),0);var T=this.__filtered__&&!h?new on(this):this.clone();return T.__filtered__?T.__takeCount__=en(D,T.__takeCount__):T.__views__.push({size:en(D,Se),type:c+(T.__dir__<0?"Right":"")}),T},on.prototype[c+"Right"]=function(D){return this.reverse()[c](D).reverse()}}),Xi(["filter","map","takeWhile"],function(c,h){var D=h+1,T=D==le||D==ne;on.prototype[c]=function(j){var X=this.clone();return X.__iteratees__.push({iteratee:qt(j,3),type:D}),X.__filtered__=X.__filtered__||T,X}}),Xi(["head","last"],function(c,h){var D="take"+(h?"Right":"");on.prototype[c]=function(){return this[D](1).value()[0]}}),Xi(["initial","tail"],function(c,h){var D="drop"+(h?"":"Right");on.prototype[c]=function(){return this.__filtered__?new on(this):this[D](1)}}),on.prototype.compact=function(){return this.filter(Qn)},on.prototype.find=function(c){return this.filter(c).head()},on.prototype.findLast=function(c){return this.reverse().find(c)},on.prototype.invokeMap=Qt(function(c,h){return typeof c=="function"?new on(this):this.map(function(D){return vs(D,c,h)})}),on.prototype.reject=function(c){return this.filter(id(qt(c)))},on.prototype.slice=function(c,h){c=Yt(c);var D=this;return D.__filtered__&&(c>0||h<0)?new on(D):(c<0?D=D.takeRight(-c):c&&(D=D.drop(c)),h!==i&&(h=Yt(h),D=h<0?D.dropRight(-h):D.take(h-c)),D)},on.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},on.prototype.toArray=function(){return this.take(Se)},Ki(on.prototype,function(c,h){var D=/^(?:filter|find|map|reject)|While$/.test(h),T=/^(?:head|last)$/.test(h),j=Y[T?"take"+(h=="last"?"Right":""):h],X=T||/^find/.test(h);j&&(Y.prototype[h]=function(){var W=this.__wrapped__,ae=T?[1]:arguments,ye=W instanceof on,Je=ae[0],et=ye||ht(W),it=function(Nn){var qn=j.apply(Y,Sa([Nn],ae));return T&&Ct?qn[0]:qn};et&&D&&typeof Je=="function"&&Je.length!=1&&(ye=et=!1);var Ct=this.__chain__,Ht=!!this.__actions__.length,an=X&&!Ct,Cn=ye&&!Ht;if(!X&&et){W=Cn?W:new on(this);var Kt=c.apply(W,ae);return Kt.__actions__.push({func:td,args:[it],thisArg:i}),new hi(Kt,Ct)}return an&&Cn?c.apply(this,ae):(Kt=this.thru(it),an?T?Kt.value()[0]:Kt.value():Kt)})}),Xi(["pop","push","shift","sort","splice","unshift"],function(c){var h=rs[c],D=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",T=/^(?:pop|shift)$/.test(c);Y.prototype[c]=function(){var j=arguments;if(T&&!this.__chain__){var X=this.value();return h.apply(ht(X)?X:[],j)}return this[D](function(W){return h.apply(ht(W)?W:[],j)})}}),Ki(on.prototype,function(c,h){var D=Y[h];if(D){var T=D.name+"";Gn.call(io,T)||(io[T]=[]),io[T].push({name:h,func:D})}}),io[_c(i,H).name]=[{name:"wrapper",func:i}],on.prototype.clone=ym,on.prototype.reverse=uo,on.prototype.value=Mf,Y.prototype.at=Qc,Y.prototype.chain=bh,Y.prototype.commit=Hl,Y.prototype.next=Zc,Y.prototype.plant=ks,Y.prototype.reverse=zp,Y.prototype.toJSON=Y.prototype.valueOf=Y.prototype.value=Up,Y.prototype.first=Y.prototype.head,Su&&(Y.prototype[Su]=Dh),Y},gr=dp();es?((es.exports=gr)._=gr,hc._=gr):Ha._=gr}).call(cF)}(b1,b1.exports)),b1.exports}var wD=fF();function dF(n){return typeof n=="string"}function hF(n){return wD.isObject(n)}function mF(n){return Array.isArray(n)}function IT(n,a){n.children||(n.children=[]),n.children.push(a)}function vF(){function n(a,...i){const o={type:a};return i.forEach(d=>{if(!wD.isUndefined(d))if(dF(d))a==="text"?o.value=d:IT(o,{type:"text",value:d});else if(mF(d))for(const p of d)IT(o,p);else hF(d)&&Object.assign(o,d)}),o}return n}const HS=vF();var xC=(n=>(n.Asc="ASC",n.Desc="DESC",n))(xC||{});const pF={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"allContentItems"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"paginate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PaginationOptionsInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"where"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ContentItemsFilterInput"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"OrderOptionsInput"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contentItems"},arguments:[{kind:"Argument",name:{kind:"Name",value:"paginate"},value:{kind:"Variable",name:{kind:"Name",value:"paginate"}}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}},{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pagination"}}]}},{kind:"Field",name:{kind:"Name",value:"totalCount"}},{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cursor"}},{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentItemFragment"}},{kind:"Field",name:{kind:"Name",value:"contentValues"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentValueFragment"}},{kind:"Field",name:{kind:"Name",value:"contentField"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentFieldFragment"}},{kind:"Field",name:{kind:"Name",value:"contentValidationRules"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentValidationRuleFragment"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"relatedAsset"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"assetFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"relatedContentItem"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentItemFragment"}},{kind:"Field",name:{kind:"Name",value:"contentValues"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentValueFragment"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"contentType"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentTypeFragment"}},{kind:"Field",name:{kind:"Name",value:"contentFields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentFieldFragment"}}]}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"assetFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Asset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"fileName"}},{kind:"Field",name:{kind:"Name",value:"fileSize"}},{kind:"Field",name:{kind:"Name",value:"mimeType"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentFieldFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentField"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"pagination"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PageInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"}},{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentItemFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentItem"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"isDraft"}},{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"displayImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"assetFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentValueFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentValue"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"primitiveValue"}},{kind:"Field",name:{kind:"Name",value:"interpolatedSmartText"}},{kind:"Field",name:{kind:"Name",value:"isReusable"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentValidationRuleFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentValidationRule"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"ruleType"}},{kind:"Field",name:{kind:"Name",value:"settings"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AllowedValuesContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedValues"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CountContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"}},{kind:"Field",name:{kind:"Name",value:"max"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DecimalCountContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"max"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NumberBetweenContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"}},{kind:"Field",name:{kind:"Name",value:"max"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RelatableContentTypesContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedContentTypes"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StringFormatContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedFormat"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValueTypeContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedTypes"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentTypeFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentType"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"displayNameTemplate"}},{kind:"Field",name:{kind:"Name",value:"displayImageField"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentFieldFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]},gF={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"allContentTypes"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"paginate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PaginationOptionsInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"where"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ContentTypesFilterInput"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OrderOptionsInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contentTypes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"paginate"},value:{kind:"Variable",name:{kind:"Name",value:"paginate"}}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}},{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pagination"}}]}},{kind:"Field",name:{kind:"Name",value:"totalCount"}},{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cursor"}},{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentTypeFragment"}},{kind:"Field",name:{kind:"Name",value:"contentFields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentFieldFragment"}},{kind:"Field",name:{kind:"Name",value:"contentValidationRules"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentValidationRuleFragment"}}]}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentFieldFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentField"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"pagination"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PageInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"}},{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentTypeFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentType"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"displayNameTemplate"}},{kind:"Field",name:{kind:"Name",value:"displayImageField"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentFieldFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentValidationRuleFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentValidationRule"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"ruleType"}},{kind:"Field",name:{kind:"Name",value:"settings"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AllowedValuesContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedValues"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CountContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"}},{kind:"Field",name:{kind:"Name",value:"max"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DecimalCountContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"max"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NumberBetweenContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"}},{kind:"Field",name:{kind:"Name",value:"max"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RelatableContentTypesContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedContentTypes"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StringFormatContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedFormat"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ValueTypeContentValidationRuleSettings"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedTypes"}}]}}]}}]}}]},yF={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"allContentValues"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"paginate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PaginationOptionsInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"where"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ContentValuesFilterInput"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"OrderOptionsInput"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contentValues"},arguments:[{kind:"Argument",name:{kind:"Name",value:"paginate"},value:{kind:"Variable",name:{kind:"Name",value:"paginate"}}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}},{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pagination"}}]}},{kind:"Field",name:{kind:"Name",value:"totalCount"}},{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cursor"}},{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentValueFragment"}},{kind:"Field",name:{kind:"Name",value:"contentField"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentFieldFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"contentItem"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentItemFragment"}},{kind:"Field",name:{kind:"Name",value:"contentType"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentTypeFragment"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"relatedAsset"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"assetFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedGridPlacement"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"gridPlacementFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedPathPart"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pathPartFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"relatedContentItem"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentItemFragment"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"assetFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Asset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"fileName"}},{kind:"Field",name:{kind:"Name",value:"fileSize"}},{kind:"Field",name:{kind:"Name",value:"mimeType"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentFieldFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentField"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"pagination"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PageInfo"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"}},{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentValueFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentValue"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"primitiveValue"}},{kind:"Field",name:{kind:"Name",value:"interpolatedSmartText"}},{kind:"Field",name:{kind:"Name",value:"isReusable"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentItemFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentItem"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"isDraft"}},{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"displayImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"assetFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentTypeFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentType"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"displayNameTemplate"}},{kind:"Field",name:{kind:"Name",value:"displayImageField"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentFieldFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"gridPlacementFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GridPlacement"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"row"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"pathPartFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PathPart"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"channel"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"prn"}}]}},{kind:"Field",name:{kind:"Name",value:"hasContentExperience"}},{kind:"Field",name:{kind:"Name",value:"amountOfChildren"}},{kind:"Field",name:{kind:"Name",value:"amountOfChildrenWithContentExperiences"}},{kind:"Field",name:{kind:"Name",value:"amountOfDescendants"}},{kind:"Field",name:{kind:"Name",value:"amountOfDescendantsWithContentExperiences"}},{kind:"Field",name:{kind:"Name",value:"contentExperience"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"prn"}}]}}]}}]},bF={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createContentValue"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"createContentValueInput"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateContentValueInput"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createContentValue"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"createContentValueInput"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentValueFragment"}},{kind:"Field",name:{kind:"Name",value:"relatedAsset"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"assetFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"relatedContentItem"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"contentItemFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedGridPlacement"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"gridPlacementFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"linkedPathPart"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pathPartFragment"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"assetFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Asset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"fileName"}},{kind:"Field",name:{kind:"Name",value:"fileSize"}},{kind:"Field",name:{kind:"Name",value:"mimeType"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentValueFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentValue"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"primitiveValue"}},{kind:"Field",name:{kind:"Name",value:"interpolatedSmartText"}},{kind:"Field",name:{kind:"Name",value:"isReusable"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"contentItemFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentItem"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"isDraft"}},{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"displayImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"assetFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"gridPlacementFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GridPlacement"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"row"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"pathPartFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PathPart"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"_id"},name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"prn"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"channel"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"prn"}}]}},{kind:"Field",name:{kind:"Name",value:"hasContentExperience"}},{kind:"Field",name:{kind:"Name",value:"amountOfChildren"}},{kind:"Field",name:{kind:"Name",value:"amountOfChildrenWithContentExperiences"}},{kind:"Field",name:{kind:"Name",value:"amountOfDescendants"}},{kind:"Field",name:{kind:"Name",value:"amountOfDescendantsWithContentExperiences"}},{kind:"Field",name:{kind:"Name",value:"contentExperience"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"prn"}}]}}]}}]};var F2=function(n,a){return F2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(i[d]=o[d])},F2(n,a)};function U4(n,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");F2(n,a);function i(){this.constructor=n}n.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)}var $i=function(){return $i=Object.assign||function(a){for(var i,o=1,d=arguments.length;o<d;o++){i=arguments[o];for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&(a[p]=i[p])}return a},$i.apply(this,arguments)};function j4(n,a){var i={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&a.indexOf(o)<0&&(i[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,o=Object.getOwnPropertySymbols(n);d<o.length;d++)a.indexOf(o[d])<0&&Object.prototype.propertyIsEnumerable.call(n,o[d])&&(i[o[d]]=n[o[d]]);return i}function ny(n,a,i){if(i||arguments.length===2)for(var o=0,d=a.length,p;o<d;o++)(p||!(o in a))&&(p||(p=Array.prototype.slice.call(a,0,o)),p[o]=a[o]);return n.concat(p||Array.prototype.slice.call(a))}var VS="Invariant Violation",KT=Object.setPrototypeOf,DF=KT===void 0?function(n,a){return n.__proto__=a,n}:KT,EF=function(n){U4(a,n);function a(i){i===void 0&&(i=VS);var o=n.call(this,typeof i=="number"?VS+": "+i+" (see https://github.com/apollographql/invariant-packages)":i)||this;return o.framesToPop=1,o.name=VS,DF(o,a.prototype),o}return a}(Error);function Bg(n,a){if(!n)throw new EF(a)}var L4=["debug","log","warn","error","silent"],SF=L4.indexOf("log");function Kb(n){return function(){if(L4.indexOf(n)>=SF){var a=console[n]||console.log;return a.apply(console,arguments)}}}(function(n){n.debug=Kb("debug"),n.log=Kb("log"),n.warn=Kb("warn"),n.error=Kb("error")})(Bg||(Bg={}));var H4="3.13.1";function Qh(n){try{return n()}catch{}}const z2=Qh(function(){return globalThis})||Qh(function(){return window})||Qh(function(){return self})||Qh(function(){return global})||Qh(function(){return Qh.constructor("return this")()});var JT=new Map;function CF(n){var a=JT.get(n)||1;return JT.set(n,a+1),"".concat(n,":").concat(a,":").concat(Math.random().toString(36).slice(2))}function AF(n,a){var i=CF("stringifyForDisplay");return JSON.stringify(n,function(o,d){return d===void 0?i:d},a).split(JSON.stringify(i)).join("<undefined>")}function Jb(n){return function(a){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];if(typeof a=="number"){var d=a;a=q4(d),a||(a=Y4(d,i),i=[])}n.apply(void 0,[a].concat(i))}}var Ad=Object.assign(function(a,i){for(var o=[],d=2;d<arguments.length;d++)o[d-2]=arguments[d];a||Bg(a,q4(i,o)||Y4(i,o))},{debug:Jb(Bg.debug),log:Jb(Bg.log),warn:Jb(Bg.warn),error:Jb(Bg.error)}),eO=Symbol.for("ApolloErrorMessageHandler_"+H4);function V4(n){if(typeof n=="string")return n;try{return AF(n,2).slice(0,1e3)}catch{return"<non-serializable>"}}function q4(n,a){if(a===void 0&&(a=[]),!!n)return z2[eO]&&z2[eO](n,a.map(V4))}function Y4(n,a){if(a===void 0&&(a=[]),!!n)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:H4,message:n,args:a.map(V4)})))}var wF=Qh(function(){return navigator.product})=="ReactNative",xF=typeof Symbol=="function"&&typeof Symbol.for=="function",G4=typeof Qh(function(){return window.document.createElement})=="function",TF=Qh(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,OF=(G4||wF)&&!TF;function U2(n){return n!==null&&typeof n=="object"}function j2(){}const RF=j2,BF=typeof WeakRef<"u"?WeakRef:function(n){return{deref:()=>n}},NF=typeof WeakMap<"u"?WeakMap:Map,kF=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:j2,unregister:j2}},MF=10024;class tO{constructor(a=1/0,i=RF){this.max=a,this.dispose=i,this.map=new NF,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const o=this.unfinalizedNodes.values();for(let d=0;d<MF;d++){const p=o.next().value;if(!p)break;this.unfinalizedNodes.delete(p);const b=p.key;delete p.key,p.keyRef=new BF(b),this.registry.register(b,p,p)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new kF(this.deleteNode.bind(this))}has(a){return this.map.has(a)}get(a){const i=this.getNode(a);return i&&i.value}getNode(a){const i=this.map.get(a);if(i&&i!==this.newest){const{older:o,newer:d}=i;d&&(d.older=o),o&&(o.newer=d),i.older=this.newest,i.older.newer=i,i.newer=null,this.newest=i,i===this.oldest&&(this.oldest=d)}return i}set(a,i){let o=this.getNode(a);return o?o.value=i:(o={key:a,value:i,newer:null,older:this.newest},this.newest&&(this.newest.newer=o),this.newest=o,this.oldest=this.oldest||o,this.scheduleFinalization(o),this.map.set(a,o),this.size++,o.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(a){a===this.newest&&(this.newest=a.older),a===this.oldest&&(this.oldest=a.newer),a.newer&&(a.newer.older=a.older),a.older&&(a.older.newer=a.newer),this.size--;const i=a.key||a.keyRef&&a.keyRef.deref();this.dispose(a.value,i),a.keyRef?this.registry.unregister(a):this.unfinalizedNodes.delete(a),i&&this.map.delete(i)}delete(a){const i=this.map.get(a);return i?(this.deleteNode(i),!0):!1}scheduleFinalization(a){this.unfinalizedNodes.add(a),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}var qS=new WeakSet;function _F(n){n.size<=(n.max||-1)||qS.has(n)||(qS.add(n),setTimeout(function(){n.clean(),qS.delete(n)},100))}var FF=function(n,a){var i=new tO(n,a);return i.set=function(o,d){var p=tO.prototype.set.call(this,o,d);return _F(this),p},i},zF=Symbol.for("apollo.cacheSize"),UF=$i({},z2[zF]);function $4(n){return Array.isArray(n)&&n.length>0}function jF(n){var a=new Set([n]);return a.forEach(function(i){U2(i)&&LF(i)===i&&Object.getOwnPropertyNames(i).forEach(function(o){U2(i[o])&&a.add(i[o])})}),n}function LF(n){if(globalThis.__DEV__!==!1&&!Object.isFrozen(n))try{Object.freeze(n)}catch(a){if(a instanceof TypeError)return null;throw a}return n}function X4(n){return globalThis.__DEV__!==!1&&jF(n),n}function L2(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=Object.create(null);return n.forEach(function(o){o&&Object.keys(o).forEach(function(d){var p=o[d];p!==void 0&&(i[d]=p)})}),i}function P4(n,a){return L2(n,a,a.variables&&{variables:L2($i($i({},n&&n.variables),a.variables))})}var HF=function(n){var a=ny(ny(ny([],n.graphQLErrors,!0),n.clientErrors,!0),n.protocolErrors,!0);return n.networkError&&a.push(n.networkError),a.map(function(i){return U2(i)&&i.message||"Error message not found."}).join(`
688
+ `)},TC=function(n){U4(a,n);function a(i){var o=i.graphQLErrors,d=i.protocolErrors,p=i.clientErrors,b=i.networkError,E=i.errorMessage,C=i.extraInfo,A=n.call(this,E)||this;return A.name="ApolloError",A.graphQLErrors=o||[],A.protocolErrors=d||[],A.clientErrors=p||[],A.networkError=b||null,A.message=E||HF(A),A.extraInfo=C,A.cause=ny(ny(ny([b],o||[],!0),d||[],!0),p||[],!0).find(function(O){return!!O})||null,A.__proto__=a.prototype,A}return a}(Error);const{toString:nO,hasOwnProperty:VF}=Object.prototype,aO=Function.prototype.toString,H2=new Map;function U1(n,a){try{return V2(n,a)}finally{H2.clear()}}function V2(n,a){if(n===a)return!0;const i=nO.call(n),o=nO.call(a);if(i!==o)return!1;switch(i){case"[object Array]":if(n.length!==a.length)return!1;case"[object Object]":{if(iO(n,a))return!0;const d=rO(n),p=rO(a),b=d.length;if(b!==p.length)return!1;for(let E=0;E<b;++E)if(!VF.call(a,d[E]))return!1;for(let E=0;E<b;++E){const C=d[E];if(!V2(n[C],a[C]))return!1}return!0}case"[object Error]":return n.name===a.name&&n.message===a.message;case"[object Number]":if(n!==n)return a!==a;case"[object Boolean]":case"[object Date]":return+n==+a;case"[object RegExp]":case"[object String]":return n==`${a}`;case"[object Map]":case"[object Set]":{if(n.size!==a.size)return!1;if(iO(n,a))return!0;const d=n.entries(),p=i==="[object Map]";for(;;){const b=d.next();if(b.done)break;const[E,C]=b.value;if(!a.has(E)||p&&!V2(C,a.get(E)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":n=new Uint8Array(n),a=new Uint8Array(a);case"[object DataView]":{let d=n.byteLength;if(d===a.byteLength)for(;d--&&n[d]===a[d];);return d===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const d=aO.call(n);return d!==aO.call(a)?!1:!GF(d,YF)}}return!1}function rO(n){return Object.keys(n).filter(qF,n)}function qF(n){return this[n]!==void 0}const YF="{ [native code] }";function GF(n,a){const i=n.length-a.length;return i>=0&&n.indexOf(a,i)===i}function iO(n,a){let i=H2.get(n);if(i){if(i.has(a))return!0}else H2.set(n,i=new Set);return i.add(a),!1}var Vg;(function(n){n[n.loading=1]="loading",n[n.setVariables=2]="setVariables",n[n.fetchMore=3]="fetchMore",n[n.refetch=4]="refetch",n[n.poll=6]="poll",n[n.ready=7]="ready",n[n.error=8]="error"})(Vg||(Vg={}));var YS={exports:{}},uO;function $F(){return uO||(uO=1,function(n){n.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,n.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,n.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(n.exports,te)}(YS)),YS.exports}var Ua=$F();const XF=em(Ua),Q4=XR({__proto__:null,default:XF},[Ua]);var lO=xF?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function OC(){Ad("createContext"in Q4,54);var n=Ua.createContext[lO];return n||(Object.defineProperty(Ua.createContext,lO,{value:n=Ua.createContext({}),enumerable:!1,writable:!1,configurable:!0}),n.displayName="ApolloContext"),n}var PF=function(n){var a=n.client,i=n.children,o=OC(),d=Ua.useContext(o),p=Ua.useMemo(function(){return $i($i({},d),{client:a||d.client})},[d,a]);return Ad(p.client,55),Ua.createElement(o.Provider,{value:p},i)};function RC(n){var a=Ua.useContext(OC()),i=n||a.client;return Ad(!!i,58),i}var oO=!1,QF="useSyncExternalStore",ZF=Q4[QF],WF=ZF||function(n,a,i){var o=a();globalThis.__DEV__!==!1&&!oO&&o!==a()&&(oO=!0,globalThis.__DEV__!==!1&&Ad.error(68));var d=Ua.useState({inst:{value:o,getSnapshot:a}}),p=d[0].inst,b=d[1];return OF?Ua.useLayoutEffect(function(){Object.assign(p,{value:o,getSnapshot:a}),GS(p)&&b({inst:p})},[n,o,a]):Object.assign(p,{value:o,getSnapshot:a}),Ua.useEffect(function(){return GS(p)&&b({inst:p}),n(function(){GS(p)&&b({inst:p})})},[n]),o};function GS(n){var a=n.value,i=n.getSnapshot;try{return a!==i()}catch{return!0}}var xd;(function(n){n[n.Query=0]="Query",n[n.Mutation=1]="Mutation",n[n.Subscription=2]="Subscription"})(xd||(xd={}));var D1;function sO(n){var a;switch(n){case xd.Query:a="Query";break;case xd.Mutation:a="Mutation";break;case xd.Subscription:a="Subscription";break}return a}function Z4(n){D1||(D1=new FF(UF.parser||1e3));var a=D1.get(n);if(a)return a;var i,o,d;Ad(!!n&&!!n.kind,70,n);for(var p=[],b=[],E=[],C=[],A=0,O=n.definitions;A<O.length;A++){var R=O[A];if(R.kind==="FragmentDefinition"){p.push(R);continue}if(R.kind==="OperationDefinition")switch(R.operation){case"query":b.push(R);break;case"mutation":E.push(R);break;case"subscription":C.push(R);break}}Ad(!p.length||b.length||E.length||C.length,71),Ad(b.length+E.length+C.length<=1,72,n,b.length,C.length,E.length),o=b.length?xd.Query:xd.Mutation,!b.length&&!E.length&&(o=xd.Subscription);var N=b.length?b:E.length?E:C;Ad(N.length===1,73,n,N.length);var z=N[0];i=z.variableDefinitions||[],z.name&&z.name.kind==="Name"?d=z.name.value:d="data";var U={name:d,type:o,variables:i};return D1.set(n,U),U}Z4.resetCache=function(){D1=void 0};function W4(n,a){var i=Z4(n),o=sO(a),d=sO(i.type);Ad(i.type===a,74,o,o,d)}var IF=G4?Ua.useLayoutEffect:Ua.useEffect,KF=Symbol.for("apollo.hook.wrappers");function JF(n,a,i){var o=i.queryManager,d=o&&o[KF],p=d&&d[n];return p?p(a):a}var e9=Object.prototype.hasOwnProperty;function cO(){}var fD=Symbol();function BC(n,a){return a===void 0&&(a=Object.create(null)),JF("useQuery",t9,RC(a&&a.client))(n,a)}function t9(n,a){var i=a9(n,a),o=i.result,d=i.obsQueryFields;return Ua.useMemo(function(){return $i($i({},o),d)},[o,d])}function n9(n,a,i,o,d){function p(R){var N;W4(a,xd.Query);var z={client:n,query:a,observable:o&&o.getSSRObservable(d())||n.watchQuery(I4(void 0,n,i,d())),resultData:{previousData:(N=R==null?void 0:R.resultData.current)===null||N===void 0?void 0:N.data}};return z}var b=Ua.useState(p),E=b[0],C=b[1];function A(R){var N,z;Object.assign(E.observable,(N={},N[fD]=R,N));var U=E.resultData;C($i($i({},E),{query:R.query,resultData:Object.assign(U,{previousData:((z=U.current)===null||z===void 0?void 0:z.data)||U.previousData,current:void 0})}))}if(n!==E.client||a!==E.query){var O=p(E);return C(O),[O,A]}return[E,A]}function a9(n,a){var i=RC(a.client),o=Ua.useContext(OC()).renderPromises,d=!!o,p=i.disableNetworkFetches,b=a.ssr!==!1&&!a.skip,E=a.partialRefetch,C=l9(i,n,a,d),A=n9(i,n,a,o,C),O=A[0],R=O.observable,N=O.resultData,z=A[1],U=C(R);u9(N,R,i,a,U);var F=Ua.useMemo(function(){return f9(R)},[R]);i9(R,o,b);var x=r9(N,R,i,a,U,p,E,d,{onCompleted:a.onCompleted||cO,onError:a.onError||cO});return{result:x,obsQueryFields:F,observable:R,resultData:N,client:i,onQueryExecuted:z}}function r9(n,a,i,o,d,p,b,E,C){var A=Ua.useRef(C);Ua.useEffect(function(){A.current=C});var O=(E||p)&&o.ssr===!1&&!o.skip?J4:o.skip||d.fetchPolicy==="standby"?eR:void 0,R=n.previousData,N=Ua.useMemo(function(){return O&&K4(O,R,a,i)},[i,a,O,R]);return WF(Ua.useCallback(function(z){if(E)return function(){};var U=function(){var H=n.current,B=a.getCurrentResult();H&&H.loading===B.loading&&H.networkStatus===B.networkStatus&&U1(H.data,B.data)||q2(B,n,a,i,b,z,A.current)},F=function(H){if(x.current.unsubscribe(),x.current=a.resubscribeAfterError(U,F),!e9.call(H,"graphQLErrors"))throw H;var B=n.current;(!B||B&&B.loading||!U1(H,B.error))&&q2({data:B&&B.data,error:H,loading:!1,networkStatus:Vg.error},n,a,i,b,z,A.current)},x={current:a.subscribe(U,F)};return function(){setTimeout(function(){return x.current.unsubscribe()})}},[p,E,a,n,b,i]),function(){return N||fO(n,a,A.current,b,i)},function(){return N||fO(n,a,A.current,b,i)})}function i9(n,a,i){a&&i&&(a.registerSSRObservable(n),n.getCurrentResult().loading&&a.addObservableQueryPromise(n))}function u9(n,a,i,o,d){var p;a[fD]&&!U1(a[fD],d)&&(a.reobserve(I4(a,i,o,d)),n.previousData=((p=n.current)===null||p===void 0?void 0:p.data)||n.previousData,n.current=void 0),a[fD]=d}function l9(n,a,i,o){i===void 0&&(i={});var d=i.skip;i.ssr,i.onCompleted,i.onError;var p=i.defaultOptions,b=j4(i,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(E){var C=Object.assign(b,{query:a});return o&&(C.fetchPolicy==="network-only"||C.fetchPolicy==="cache-and-network")&&(C.fetchPolicy="cache-first"),C.variables||(C.variables={}),d?(C.initialFetchPolicy=C.initialFetchPolicy||C.fetchPolicy||dO(p,n.defaultOptions),C.fetchPolicy="standby"):C.fetchPolicy||(C.fetchPolicy=(E==null?void 0:E.options.initialFetchPolicy)||dO(p,n.defaultOptions)),C}}function I4(n,a,i,o){var d=[],p=a.defaultOptions.watchQuery;return p&&d.push(p),i.defaultOptions&&d.push(i.defaultOptions),d.push(L2(n&&n.options,o)),d.reduce(P4)}function q2(n,a,i,o,d,p,b){var E=a.current;E&&E.data&&(a.previousData=E.data),!n.error&&$4(n.errors)&&(n.error=new TC({graphQLErrors:n.errors})),a.current=K4(c9(n,i,d),a.previousData,i,o),p(),o9(n,E==null?void 0:E.networkStatus,b)}function o9(n,a,i){if(!n.loading){var o=s9(n);Promise.resolve().then(function(){o?i.onError(o):n.data&&a!==n.networkStatus&&n.networkStatus===Vg.ready&&i.onCompleted(n.data)}).catch(function(d){globalThis.__DEV__!==!1&&Ad.warn(d)})}}function fO(n,a,i,o,d){return n.current||q2(a.getCurrentResult(),n,a,d,o,function(){},i),n.current}function dO(n,a){var i;return(n==null?void 0:n.fetchPolicy)||((i=a==null?void 0:a.watchQuery)===null||i===void 0?void 0:i.fetchPolicy)||"cache-first"}function s9(n){return $4(n.errors)?new TC({graphQLErrors:n.errors}):n.error}function K4(n,a,i,o){var d=n.data;n.partial;var p=j4(n,["data","partial"]),b=$i($i({data:d},p),{client:o,observable:i,variables:i.variables,called:n!==J4&&n!==eR,previousData:a});return b}function c9(n,a,i){return n.partial&&i&&!n.loading&&(!n.data||Object.keys(n.data).length===0)&&a.options.fetchPolicy!=="cache-only"?(a.refetch(),$i($i({},n),{loading:!0,networkStatus:Vg.refetch})):n}var J4=X4({loading:!0,data:void 0,error:void 0,networkStatus:Vg.loading}),eR=X4({loading:!1,data:void 0,error:void 0,networkStatus:Vg.ready});function f9(n){return{refetch:n.refetch.bind(n),reobserve:n.reobserve.bind(n),fetchMore:n.fetchMore.bind(n),updateQuery:n.updateQuery.bind(n),startPolling:n.startPolling.bind(n),stopPolling:n.stopPolling.bind(n),subscribeToMore:n.subscribeToMore.bind(n)}}function d9(n,a){var i=RC(void 0);W4(n,xd.Mutation);var o=Ua.useState({called:!1,loading:!1,client:i}),d=o[0],p=o[1],b=Ua.useRef({result:d,mutationId:0,isMounted:!0,client:i,mutation:n,options:a});IF(function(){Object.assign(b.current,{client:i,options:a,mutation:n})});var E=Ua.useCallback(function(A){A===void 0&&(A={});var O=b.current,R=O.options,N=O.mutation,z=$i($i({},R),{mutation:N}),U=A.client||b.current.client;!b.current.result.loading&&!z.ignoreResults&&b.current.isMounted&&p(b.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:U});var F=++b.current.mutationId,x=P4(z,A);return U.mutate(x).then(function(H){var B,_,V=H.data,q=H.errors,K=q&&q.length>0?new TC({graphQLErrors:q}):void 0,ie=A.onError||((B=b.current.options)===null||B===void 0?void 0:B.onError);if(K&&ie&&ie(K,x),F===b.current.mutationId&&!x.ignoreResults){var Ee={called:!0,loading:!1,data:V,error:K,client:U};b.current.isMounted&&!U1(b.current.result,Ee)&&p(b.current.result=Ee)}var ue=A.onCompleted||((_=b.current.options)===null||_===void 0?void 0:_.onCompleted);return K||ue==null||ue(H.data,x),H},function(H){var B;if(F===b.current.mutationId&&b.current.isMounted){var _={loading:!1,error:H,data:void 0,called:!0,client:U};U1(b.current.result,_)||p(b.current.result=_)}var V=A.onError||((B=b.current.options)===null||B===void 0?void 0:B.onError);if(V)return V(H,x),{data:void 0,errors:H};throw H})},[]),C=Ua.useCallback(function(){if(b.current.isMounted){var A={called:!1,loading:!1,client:b.current.client};Object.assign(b.current,{mutationId:0,result:A}),p(A)}},[]);return Ua.useEffect(function(){var A=b.current;return A.isMounted=!0,function(){A.isMounted=!1}},[]),[E,$i({reset:C},d)]}const sy=Math.min,Ug=Math.max,xD=Math.round,eD=Math.floor,Td=n=>({x:n,y:n}),h9={left:"right",right:"left",bottom:"top",top:"bottom"},m9={start:"end",end:"start"};function Y2(n,a,i){return Ug(n,sy(a,i))}function G1(n,a){return typeof n=="function"?n(a):n}function qg(n){return n.split("-")[0]}function $1(n){return n.split("-")[1]}function tR(n){return n==="x"?"y":"x"}function NC(n){return n==="y"?"height":"width"}function cy(n){return["top","bottom"].includes(qg(n))?"y":"x"}function kC(n){return tR(cy(n))}function v9(n,a,i){i===void 0&&(i=!1);const o=$1(n),d=kC(n),p=NC(d);let b=d==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return a.reference[p]>a.floating[p]&&(b=TD(b)),[b,TD(b)]}function p9(n){const a=TD(n);return[G2(n),a,G2(a)]}function G2(n){return n.replace(/start|end/g,a=>m9[a])}function g9(n,a,i){const o=["left","right"],d=["right","left"],p=["top","bottom"],b=["bottom","top"];switch(n){case"top":case"bottom":return i?a?d:o:a?o:d;case"left":case"right":return a?p:b;default:return[]}}function y9(n,a,i,o){const d=$1(n);let p=g9(qg(n),i==="start",o);return d&&(p=p.map(b=>b+"-"+d),a&&(p=p.concat(p.map(G2)))),p}function TD(n){return n.replace(/left|right|bottom|top/g,a=>h9[a])}function b9(n){return{top:0,right:0,bottom:0,left:0,...n}}function nR(n){return typeof n!="number"?b9(n):{top:n,right:n,bottom:n,left:n}}function OD(n){const{x:a,y:i,width:o,height:d}=n;return{width:o,height:d,top:i,left:a,right:a+o,bottom:i+d,x:a,y:i}}function hO(n,a,i){let{reference:o,floating:d}=n;const p=cy(a),b=kC(a),E=NC(b),C=qg(a),A=p==="y",O=o.x+o.width/2-d.width/2,R=o.y+o.height/2-d.height/2,N=o[E]/2-d[E]/2;let z;switch(C){case"top":z={x:O,y:o.y-d.height};break;case"bottom":z={x:O,y:o.y+o.height};break;case"right":z={x:o.x+o.width,y:R};break;case"left":z={x:o.x-d.width,y:R};break;default:z={x:o.x,y:o.y}}switch($1(a)){case"start":z[b]-=N*(i&&A?-1:1);break;case"end":z[b]+=N*(i&&A?-1:1);break}return z}const D9=async(n,a,i)=>{const{placement:o="bottom",strategy:d="absolute",middleware:p=[],platform:b}=i,E=p.filter(Boolean),C=await(b.isRTL==null?void 0:b.isRTL(a));let A=await b.getElementRects({reference:n,floating:a,strategy:d}),{x:O,y:R}=hO(A,o,C),N=o,z={},U=0;for(let F=0;F<E.length;F++){const{name:x,fn:H}=E[F],{x:B,y:_,data:V,reset:q}=await H({x:O,y:R,initialPlacement:o,placement:N,strategy:d,middlewareData:z,rects:A,platform:b,elements:{reference:n,floating:a}});O=B??O,R=_??R,z={...z,[x]:{...z[x],...V}},q&&U<=50&&(U++,typeof q=="object"&&(q.placement&&(N=q.placement),q.rects&&(A=q.rects===!0?await b.getElementRects({reference:n,floating:a,strategy:d}):q.rects),{x:O,y:R}=hO(A,N,C)),F=-1)}return{x:O,y:R,placement:N,strategy:d,middlewareData:z}};async function aR(n,a){var i;a===void 0&&(a={});const{x:o,y:d,platform:p,rects:b,elements:E,strategy:C}=n,{boundary:A="clippingAncestors",rootBoundary:O="viewport",elementContext:R="floating",altBoundary:N=!1,padding:z=0}=G1(a,n),U=nR(z),x=E[N?R==="floating"?"reference":"floating":R],H=OD(await p.getClippingRect({element:(i=await(p.isElement==null?void 0:p.isElement(x)))==null||i?x:x.contextElement||await(p.getDocumentElement==null?void 0:p.getDocumentElement(E.floating)),boundary:A,rootBoundary:O,strategy:C})),B=R==="floating"?{x:o,y:d,width:b.floating.width,height:b.floating.height}:b.reference,_=await(p.getOffsetParent==null?void 0:p.getOffsetParent(E.floating)),V=await(p.isElement==null?void 0:p.isElement(_))?await(p.getScale==null?void 0:p.getScale(_))||{x:1,y:1}:{x:1,y:1},q=OD(p.convertOffsetParentRelativeRectToViewportRelativeRect?await p.convertOffsetParentRelativeRectToViewportRelativeRect({elements:E,rect:B,offsetParent:_,strategy:C}):B);return{top:(H.top-q.top+U.top)/V.y,bottom:(q.bottom-H.bottom+U.bottom)/V.y,left:(H.left-q.left+U.left)/V.x,right:(q.right-H.right+U.right)/V.x}}const E9=n=>({name:"arrow",options:n,async fn(a){const{x:i,y:o,placement:d,rects:p,platform:b,elements:E,middlewareData:C}=a,{element:A,padding:O=0}=G1(n,a)||{};if(A==null)return{};const R=nR(O),N={x:i,y:o},z=kC(d),U=NC(z),F=await b.getDimensions(A),x=z==="y",H=x?"top":"left",B=x?"bottom":"right",_=x?"clientHeight":"clientWidth",V=p.reference[U]+p.reference[z]-N[z]-p.floating[U],q=N[z]-p.reference[z],K=await(b.getOffsetParent==null?void 0:b.getOffsetParent(A));let ie=K?K[_]:0;(!ie||!await(b.isElement==null?void 0:b.isElement(K)))&&(ie=E.floating[_]||p.floating[U]);const Ee=V/2-q/2,ue=ie/2-F[U]/2-1,xe=sy(R[H],ue),ze=sy(R[B],ue),ke=xe,je=ie-F[U]-ze,le=ie/2-F[U]/2+Ee,Ve=Y2(ke,le,je),ne=!C.arrow&&$1(d)!=null&&le!==Ve&&p.reference[U]/2-(le<ke?xe:ze)-F[U]/2<0,ve=ne?le<ke?le-ke:le-je:0;return{[z]:N[z]+ve,data:{[z]:Ve,centerOffset:le-Ve-ve,...ne&&{alignmentOffset:ve}},reset:ne}}}),S9=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(a){var i,o;const{placement:d,middlewareData:p,rects:b,initialPlacement:E,platform:C,elements:A}=a,{mainAxis:O=!0,crossAxis:R=!0,fallbackPlacements:N,fallbackStrategy:z="bestFit",fallbackAxisSideDirection:U="none",flipAlignment:F=!0,...x}=G1(n,a);if((i=p.arrow)!=null&&i.alignmentOffset)return{};const H=qg(d),B=cy(E),_=qg(E)===E,V=await(C.isRTL==null?void 0:C.isRTL(A.floating)),q=N||(_||!F?[TD(E)]:p9(E)),K=U!=="none";!N&&K&&q.push(...y9(E,F,U,V));const ie=[E,...q],Ee=await aR(a,x),ue=[];let xe=((o=p.flip)==null?void 0:o.overflows)||[];if(O&&ue.push(Ee[H]),R){const le=v9(d,b,V);ue.push(Ee[le[0]],Ee[le[1]])}if(xe=[...xe,{placement:d,overflows:ue}],!ue.every(le=>le<=0)){var ze,ke;const le=(((ze=p.flip)==null?void 0:ze.index)||0)+1,Ve=ie[le];if(Ve)return{data:{index:le,overflows:xe},reset:{placement:Ve}};let ne=(ke=xe.filter(ve=>ve.overflows[0]<=0).sort((ve,be)=>ve.overflows[1]-be.overflows[1])[0])==null?void 0:ke.placement;if(!ne)switch(z){case"bestFit":{var je;const ve=(je=xe.filter(be=>{if(K){const qe=cy(be.placement);return qe===B||qe==="y"}return!0}).map(be=>[be.placement,be.overflows.filter(qe=>qe>0).reduce((qe,oe)=>qe+oe,0)]).sort((be,qe)=>be[1]-qe[1])[0])==null?void 0:je[0];ve&&(ne=ve);break}case"initialPlacement":ne=E;break}if(d!==ne)return{reset:{placement:ne}}}return{}}}};async function C9(n,a){const{placement:i,platform:o,elements:d}=n,p=await(o.isRTL==null?void 0:o.isRTL(d.floating)),b=qg(i),E=$1(i),C=cy(i)==="y",A=["left","top"].includes(b)?-1:1,O=p&&C?-1:1,R=G1(a,n);let{mainAxis:N,crossAxis:z,alignmentAxis:U}=typeof R=="number"?{mainAxis:R,crossAxis:0,alignmentAxis:null}:{mainAxis:R.mainAxis||0,crossAxis:R.crossAxis||0,alignmentAxis:R.alignmentAxis};return E&&typeof U=="number"&&(z=E==="end"?U*-1:U),C?{x:z*O,y:N*A}:{x:N*A,y:z*O}}const A9=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(a){var i,o;const{x:d,y:p,placement:b,middlewareData:E}=a,C=await C9(a,n);return b===((i=E.offset)==null?void 0:i.placement)&&(o=E.arrow)!=null&&o.alignmentOffset?{}:{x:d+C.x,y:p+C.y,data:{...C,placement:b}}}}},w9=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(a){const{x:i,y:o,placement:d}=a,{mainAxis:p=!0,crossAxis:b=!1,limiter:E={fn:x=>{let{x:H,y:B}=x;return{x:H,y:B}}},...C}=G1(n,a),A={x:i,y:o},O=await aR(a,C),R=cy(qg(d)),N=tR(R);let z=A[N],U=A[R];if(p){const x=N==="y"?"top":"left",H=N==="y"?"bottom":"right",B=z+O[x],_=z-O[H];z=Y2(B,z,_)}if(b){const x=R==="y"?"top":"left",H=R==="y"?"bottom":"right",B=U+O[x],_=U-O[H];U=Y2(B,U,_)}const F=E.fn({...a,[N]:z,[R]:U});return{...F,data:{x:F.x-i,y:F.y-o,enabled:{[N]:p,[R]:b}}}}}};function VD(){return typeof window<"u"}function my(n){return rR(n)?(n.nodeName||"").toLowerCase():"#document"}function qo(n){var a;return(n==null||(a=n.ownerDocument)==null?void 0:a.defaultView)||window}function Rd(n){var a;return(a=(rR(n)?n.ownerDocument:n.document)||window.document)==null?void 0:a.documentElement}function rR(n){return VD()?n instanceof Node||n instanceof qo(n).Node:!1}function pf(n){return VD()?n instanceof Element||n instanceof qo(n).Element:!1}function Od(n){return VD()?n instanceof HTMLElement||n instanceof qo(n).HTMLElement:!1}function mO(n){return!VD()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof qo(n).ShadowRoot}function X1(n){const{overflow:a,overflowX:i,overflowY:o,display:d}=gf(n);return/auto|scroll|overlay|hidden|clip/.test(a+o+i)&&!["inline","contents"].includes(d)}function x9(n){return["table","td","th"].includes(my(n))}function qD(n){return[":popover-open",":modal"].some(a=>{try{return n.matches(a)}catch{return!1}})}function MC(n){const a=_C(),i=pf(n)?gf(n):n;return["transform","translate","scale","rotate","perspective"].some(o=>i[o]?i[o]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!a&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!a&&(i.filter?i.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(i.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(i.contain||"").includes(o))}function T9(n){let a=$v(n);for(;Od(a)&&!fy(a);){if(MC(a))return a;if(qD(a))return null;a=$v(a)}return null}function _C(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fy(n){return["html","body","#document"].includes(my(n))}function gf(n){return qo(n).getComputedStyle(n)}function YD(n){return pf(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function $v(n){if(my(n)==="html")return n;const a=n.assignedSlot||n.parentNode||mO(n)&&n.host||Rd(n);return mO(a)?a.host:a}function iR(n){const a=$v(n);return fy(a)?n.ownerDocument?n.ownerDocument.body:n.body:Od(a)&&X1(a)?a:iR(a)}function j1(n,a,i){var o;a===void 0&&(a=[]),i===void 0&&(i=!0);const d=iR(n),p=d===((o=n.ownerDocument)==null?void 0:o.body),b=qo(d);if(p){const E=$2(b);return a.concat(b,b.visualViewport||[],X1(d)?d:[],E&&i?j1(E):[])}return a.concat(d,j1(d,[],i))}function $2(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function uR(n){const a=gf(n);let i=parseFloat(a.width)||0,o=parseFloat(a.height)||0;const d=Od(n),p=d?n.offsetWidth:i,b=d?n.offsetHeight:o,E=xD(i)!==p||xD(o)!==b;return E&&(i=p,o=b),{width:i,height:o,$:E}}function FC(n){return pf(n)?n:n.contextElement}function ay(n){const a=FC(n);if(!Od(a))return Td(1);const i=a.getBoundingClientRect(),{width:o,height:d,$:p}=uR(a);let b=(p?xD(i.width):i.width)/o,E=(p?xD(i.height):i.height)/d;return(!b||!Number.isFinite(b))&&(b=1),(!E||!Number.isFinite(E))&&(E=1),{x:b,y:E}}const O9=Td(0);function lR(n){const a=qo(n);return!_C()||!a.visualViewport?O9:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function R9(n,a,i){return a===void 0&&(a=!1),!i||a&&i!==qo(n)?!1:a}function Yg(n,a,i,o){a===void 0&&(a=!1),i===void 0&&(i=!1);const d=n.getBoundingClientRect(),p=FC(n);let b=Td(1);a&&(o?pf(o)&&(b=ay(o)):b=ay(n));const E=R9(p,i,o)?lR(p):Td(0);let C=(d.left+E.x)/b.x,A=(d.top+E.y)/b.y,O=d.width/b.x,R=d.height/b.y;if(p){const N=qo(p),z=o&&pf(o)?qo(o):o;let U=N,F=$2(U);for(;F&&o&&z!==U;){const x=ay(F),H=F.getBoundingClientRect(),B=gf(F),_=H.left+(F.clientLeft+parseFloat(B.paddingLeft))*x.x,V=H.top+(F.clientTop+parseFloat(B.paddingTop))*x.y;C*=x.x,A*=x.y,O*=x.x,R*=x.y,C+=_,A+=V,U=qo(F),F=$2(U)}}return OD({width:O,height:R,x:C,y:A})}function zC(n,a){const i=YD(n).scrollLeft;return a?a.left+i:Yg(Rd(n)).left+i}function oR(n,a,i){i===void 0&&(i=!1);const o=n.getBoundingClientRect(),d=o.left+a.scrollLeft-(i?0:zC(n,o)),p=o.top+a.scrollTop;return{x:d,y:p}}function B9(n){let{elements:a,rect:i,offsetParent:o,strategy:d}=n;const p=d==="fixed",b=Rd(o),E=a?qD(a.floating):!1;if(o===b||E&&p)return i;let C={scrollLeft:0,scrollTop:0},A=Td(1);const O=Td(0),R=Od(o);if((R||!R&&!p)&&((my(o)!=="body"||X1(b))&&(C=YD(o)),Od(o))){const z=Yg(o);A=ay(o),O.x=z.x+o.clientLeft,O.y=z.y+o.clientTop}const N=b&&!R&&!p?oR(b,C,!0):Td(0);return{width:i.width*A.x,height:i.height*A.y,x:i.x*A.x-C.scrollLeft*A.x+O.x+N.x,y:i.y*A.y-C.scrollTop*A.y+O.y+N.y}}function N9(n){return Array.from(n.getClientRects())}function k9(n){const a=Rd(n),i=YD(n),o=n.ownerDocument.body,d=Ug(a.scrollWidth,a.clientWidth,o.scrollWidth,o.clientWidth),p=Ug(a.scrollHeight,a.clientHeight,o.scrollHeight,o.clientHeight);let b=-i.scrollLeft+zC(n);const E=-i.scrollTop;return gf(o).direction==="rtl"&&(b+=Ug(a.clientWidth,o.clientWidth)-d),{width:d,height:p,x:b,y:E}}function M9(n,a){const i=qo(n),o=Rd(n),d=i.visualViewport;let p=o.clientWidth,b=o.clientHeight,E=0,C=0;if(d){p=d.width,b=d.height;const A=_C();(!A||A&&a==="fixed")&&(E=d.offsetLeft,C=d.offsetTop)}return{width:p,height:b,x:E,y:C}}function _9(n,a){const i=Yg(n,!0,a==="fixed"),o=i.top+n.clientTop,d=i.left+n.clientLeft,p=Od(n)?ay(n):Td(1),b=n.clientWidth*p.x,E=n.clientHeight*p.y,C=d*p.x,A=o*p.y;return{width:b,height:E,x:C,y:A}}function vO(n,a,i){let o;if(a==="viewport")o=M9(n,i);else if(a==="document")o=k9(Rd(n));else if(pf(a))o=_9(a,i);else{const d=lR(n);o={x:a.x-d.x,y:a.y-d.y,width:a.width,height:a.height}}return OD(o)}function sR(n,a){const i=$v(n);return i===a||!pf(i)||fy(i)?!1:gf(i).position==="fixed"||sR(i,a)}function F9(n,a){const i=a.get(n);if(i)return i;let o=j1(n,[],!1).filter(E=>pf(E)&&my(E)!=="body"),d=null;const p=gf(n).position==="fixed";let b=p?$v(n):n;for(;pf(b)&&!fy(b);){const E=gf(b),C=MC(b);!C&&E.position==="fixed"&&(d=null),(p?!C&&!d:!C&&E.position==="static"&&!!d&&["absolute","fixed"].includes(d.position)||X1(b)&&!C&&sR(n,b))?o=o.filter(O=>O!==b):d=E,b=$v(b)}return a.set(n,o),o}function z9(n){let{element:a,boundary:i,rootBoundary:o,strategy:d}=n;const b=[...i==="clippingAncestors"?qD(a)?[]:F9(a,this._c):[].concat(i),o],E=b[0],C=b.reduce((A,O)=>{const R=vO(a,O,d);return A.top=Ug(R.top,A.top),A.right=sy(R.right,A.right),A.bottom=sy(R.bottom,A.bottom),A.left=Ug(R.left,A.left),A},vO(a,E,d));return{width:C.right-C.left,height:C.bottom-C.top,x:C.left,y:C.top}}function U9(n){const{width:a,height:i}=uR(n);return{width:a,height:i}}function j9(n,a,i){const o=Od(a),d=Rd(a),p=i==="fixed",b=Yg(n,!0,p,a);let E={scrollLeft:0,scrollTop:0};const C=Td(0);if(o||!o&&!p)if((my(a)!=="body"||X1(d))&&(E=YD(a)),o){const N=Yg(a,!0,p,a);C.x=N.x+a.clientLeft,C.y=N.y+a.clientTop}else d&&(C.x=zC(d));const A=d&&!o&&!p?oR(d,E):Td(0),O=b.left+E.scrollLeft-C.x-A.x,R=b.top+E.scrollTop-C.y-A.y;return{x:O,y:R,width:b.width,height:b.height}}function $S(n){return gf(n).position==="static"}function pO(n,a){if(!Od(n)||gf(n).position==="fixed")return null;if(a)return a(n);let i=n.offsetParent;return Rd(n)===i&&(i=i.ownerDocument.body),i}function cR(n,a){const i=qo(n);if(qD(n))return i;if(!Od(n)){let d=$v(n);for(;d&&!fy(d);){if(pf(d)&&!$S(d))return d;d=$v(d)}return i}let o=pO(n,a);for(;o&&x9(o)&&$S(o);)o=pO(o,a);return o&&fy(o)&&$S(o)&&!MC(o)?i:o||T9(n)||i}const L9=async function(n){const a=this.getOffsetParent||cR,i=this.getDimensions,o=await i(n.floating);return{reference:j9(n.reference,await a(n.floating),n.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function H9(n){return gf(n).direction==="rtl"}const V9={convertOffsetParentRelativeRectToViewportRelativeRect:B9,getDocumentElement:Rd,getClippingRect:z9,getOffsetParent:cR,getElementRects:L9,getClientRects:N9,getDimensions:U9,getScale:ay,isElement:pf,isRTL:H9};function fR(n,a){return n.x===a.x&&n.y===a.y&&n.width===a.width&&n.height===a.height}function q9(n,a){let i=null,o;const d=Rd(n);function p(){var E;clearTimeout(o),(E=i)==null||E.disconnect(),i=null}function b(E,C){E===void 0&&(E=!1),C===void 0&&(C=1),p();const A=n.getBoundingClientRect(),{left:O,top:R,width:N,height:z}=A;if(E||a(),!N||!z)return;const U=eD(R),F=eD(d.clientWidth-(O+N)),x=eD(d.clientHeight-(R+z)),H=eD(O),_={rootMargin:-U+"px "+-F+"px "+-x+"px "+-H+"px",threshold:Ug(0,sy(1,C))||1};let V=!0;function q(K){const ie=K[0].intersectionRatio;if(ie!==C){if(!V)return b();ie?b(!1,ie):o=setTimeout(()=>{b(!1,1e-7)},1e3)}ie===1&&!fR(A,n.getBoundingClientRect())&&b(),V=!1}try{i=new IntersectionObserver(q,{..._,root:d.ownerDocument})}catch{i=new IntersectionObserver(q,_)}i.observe(n)}return b(!0),p}function Y9(n,a,i,o){o===void 0&&(o={});const{ancestorScroll:d=!0,ancestorResize:p=!0,elementResize:b=typeof ResizeObserver=="function",layoutShift:E=typeof IntersectionObserver=="function",animationFrame:C=!1}=o,A=FC(n),O=d||p?[...A?j1(A):[],...j1(a)]:[];O.forEach(H=>{d&&H.addEventListener("scroll",i,{passive:!0}),p&&H.addEventListener("resize",i)});const R=A&&E?q9(A,i):null;let N=-1,z=null;b&&(z=new ResizeObserver(H=>{let[B]=H;B&&B.target===A&&z&&(z.unobserve(a),cancelAnimationFrame(N),N=requestAnimationFrame(()=>{var _;(_=z)==null||_.observe(a)})),i()}),A&&!C&&z.observe(A),z.observe(a));let U,F=C?Yg(n):null;C&&x();function x(){const H=Yg(n);F&&!fR(F,H)&&i(),F=H,U=requestAnimationFrame(x)}return i(),()=>{var H;O.forEach(B=>{d&&B.removeEventListener("scroll",i),p&&B.removeEventListener("resize",i)}),R==null||R(),(H=z)==null||H.disconnect(),z=null,C&&cancelAnimationFrame(U)}}const G9=A9,$9=w9,X9=S9,P9=E9,gO=(n,a,i)=>{const o=new Map,d={platform:V9,...i},p={...d.platform,_c:o};return D9(n,a,{...d,platform:p})};var XS={exports:{}};/*!
689
+ Copyright (c) 2018 Jed Watson.
690
+ Licensed under the MIT License (MIT), see
691
+ http://jedwatson.github.io/classnames
692
+ */var yO;function Q9(){return yO||(yO=1,function(n){(function(){var a={}.hasOwnProperty;function i(){for(var p="",b=0;b<arguments.length;b++){var E=arguments[b];E&&(p=d(p,o(E)))}return p}function o(p){if(typeof p=="string"||typeof p=="number")return p;if(typeof p!="object")return"";if(Array.isArray(p))return i.apply(null,p);if(p.toString!==Object.prototype.toString&&!p.toString.toString().includes("[native code]"))return p.toString();var b="";for(var E in p)a.call(p,E)&&p[E]&&(b=d(b,E));return b}function d(p,b){return b?p?p+" "+b:p+b:p}n.exports?(i.default=i,n.exports=i):window.classNames=i})()}(XS)),XS.exports}var Z9=Q9();const X2=em(Z9);/*
693
+ * React Tooltip
694
+ * {@link https://github.com/ReactTooltip/react-tooltip}
695
+ * @copyright ReactTooltip Team
696
+ * @license MIT
697
+ */const W9="react-tooltip-core-styles",I9="react-tooltip-base-styles",bO={core:!1,base:!1};function DO({css:n,id:a=I9,type:i="base",ref:o}){var d,p;if(!n||typeof document>"u"||bO[i]||i==="core"&&typeof process<"u"&&(!((d=process==null?void 0:process.env)===null||d===void 0)&&d.REACT_TOOLTIP_DISABLE_CORE_STYLES)||i!=="base"&&typeof process<"u"&&(!((p=process==null?void 0:process.env)===null||p===void 0)&&p.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;i==="core"&&(a=W9),o||(o={});const{insertAt:b}=o;if(document.getElementById(a))return;const E=document.head||document.getElementsByTagName("head")[0],C=document.createElement("style");C.id=a,C.type="text/css",b==="top"&&E.firstChild?E.insertBefore(C,E.firstChild):E.appendChild(C),C.styleSheet?C.styleSheet.cssText=n:C.appendChild(document.createTextNode(n)),bO[i]=!0}const EO=async({elementReference:n=null,tooltipReference:a=null,tooltipArrowReference:i=null,place:o="top",offset:d=10,strategy:p="absolute",middlewares:b=[G9(Number(d)),X9({fallbackAxisSideDirection:"start"}),$9({padding:5})],border:E})=>{if(!n)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};if(a===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};const C=b;return i?(C.push(P9({element:i,padding:5})),gO(n,a,{placement:o,strategy:p,middleware:C}).then(({x:A,y:O,placement:R,middlewareData:N})=>{var z,U;const F={left:`${A}px`,top:`${O}px`,border:E},{x,y:H}=(z=N.arrow)!==null&&z!==void 0?z:{x:0,y:0},B=(U={top:"bottom",right:"left",bottom:"top",left:"right"}[R.split("-")[0]])!==null&&U!==void 0?U:"bottom",_=E&&{borderBottom:E,borderRight:E};let V=0;if(E){const q=`${E}`.match(/(\d+)px/);V=q!=null&&q[1]?Number(q[1]):1}return{tooltipStyles:F,tooltipArrowStyles:{left:x!=null?`${x}px`:"",top:H!=null?`${H}px`:"",right:"",bottom:"",..._,[B]:`-${4+V}px`},place:R}})):gO(n,a,{placement:"bottom",strategy:p,middleware:C}).then(({x:A,y:O,placement:R})=>({tooltipStyles:{left:`${A}px`,top:`${O}px`},tooltipArrowStyles:{},place:R}))},SO=(n,a)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(n,a),CO=(n,a,i)=>{let o=null;const d=function(...p){const b=()=>{o=null};!o&&(n.apply(this,p),o=setTimeout(b,a))};return d.cancel=()=>{o&&(clearTimeout(o),o=null)},d},AO=n=>n!==null&&!Array.isArray(n)&&typeof n=="object",P2=(n,a)=>{if(n===a)return!0;if(Array.isArray(n)&&Array.isArray(a))return n.length===a.length&&n.every((d,p)=>P2(d,a[p]));if(Array.isArray(n)!==Array.isArray(a))return!1;if(!AO(n)||!AO(a))return n===a;const i=Object.keys(n),o=Object.keys(a);return i.length===o.length&&i.every(d=>P2(n[d],a[d]))},K9=n=>{if(!(n instanceof HTMLElement||n instanceof SVGElement))return!1;const a=getComputedStyle(n);return["overflow","overflow-x","overflow-y"].some(i=>{const o=a.getPropertyValue(i);return o==="auto"||o==="scroll"})},wO=n=>{if(!n)return null;let a=n.parentElement;for(;a;){if(K9(a))return a;a=a.parentElement}return document.scrollingElement||document.documentElement},J9=typeof window<"u"?te.useLayoutEffect:te.useEffect,ec=n=>{n.current&&(clearTimeout(n.current),n.current=null)},ez="DEFAULT_TOOLTIP_ID",tz={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},nz=te.createContext({getTooltipData:()=>tz});function dR(n=ez){return te.useContext(nz).getTooltipData(n)}var Q0={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},PS={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const az=({forwardRef:n,id:a,className:i,classNameArrow:o,variant:d="dark",anchorId:p,anchorSelect:b,place:E="top",offset:C=10,events:A=["hover"],openOnClick:O=!1,positionStrategy:R="absolute",middlewares:N,wrapper:z,delayShow:U=0,delayHide:F=0,float:x=!1,hidden:H=!1,noArrow:B=!1,clickable:_=!1,closeOnEsc:V=!1,closeOnScroll:q=!1,closeOnResize:K=!1,openEvents:ie,closeEvents:Ee,globalCloseEvents:ue,imperativeModeOnly:xe,style:ze,position:ke,afterShow:je,afterHide:le,disableTooltip:Ve,content:ne,contentWrapperRef:ve,isOpen:be,defaultIsOpen:qe=!1,setIsOpen:oe,activeAnchor:Se,setActiveAnchor:Xe,border:Te,opacity:Ye,arrowColor:We,role:Q="tooltip"})=>{var Ue;const Ce=te.useRef(null),we=te.useRef(null),Ze=te.useRef(null),Ie=te.useRef(null),Me=te.useRef(null),[At,pt]=te.useState({tooltipStyles:{},tooltipArrowStyles:{},place:E}),[Lt,sn]=te.useState(!1),[xt,ln]=te.useState(!1),[Zt,yn]=te.useState(null),I=te.useRef(!1),rt=te.useRef(null),{anchorRefs:ct,setActiveAnchor:kt}=dR(a),Ft=te.useRef(!1),[Mt,St]=te.useState([]),rn=te.useRef(!1),Un=O||A.includes("click"),jn=Un||(ie==null?void 0:ie.click)||(ie==null?void 0:ie.dblclick)||(ie==null?void 0:ie.mousedown),Ln=ie?{...ie}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!ie&&Un&&Object.assign(Ln,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const de=Ee?{...Ee}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!Ee&&Un&&Object.assign(de,{mouseleave:!1,blur:!1,mouseout:!1});const pe=ue?{...ue}:{escape:V||!1,scroll:q||!1,resize:K||!1,clickOutsideAnchor:jn||!1};xe&&(Object.assign(Ln,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(de,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(pe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),J9(()=>(rn.current=!0,()=>{rn.current=!1}),[]);const De=dt=>{rn.current&&(dt&&ln(!0),setTimeout(()=>{rn.current&&(oe==null||oe(dt),be===void 0&&sn(dt))},10))};te.useEffect(()=>{if(be===void 0)return()=>null;be&&ln(!0);const dt=setTimeout(()=>{sn(be)},10);return()=>{clearTimeout(dt)}},[be]),te.useEffect(()=>{if(Lt!==I.current)if(ec(Me),I.current=Lt,Lt)je==null||je();else{const dt=(Vt=>{const Jt=Vt.match(/^([\d.]+)(ms|s)$/);if(!Jt)return 0;const[,Da,ja]=Jt;return Number(Da)*(ja==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Me.current=setTimeout(()=>{ln(!1),yn(null),le==null||le()},dt+25)}},[Lt]);const ut=dt=>{pt(Vt=>P2(Vt,dt)?Vt:dt)},Tt=(dt=U)=>{ec(Ze),xt?De(!0):Ze.current=setTimeout(()=>{De(!0)},dt)},un=(dt=F)=>{ec(Ie),Ie.current=setTimeout(()=>{Ft.current||De(!1)},dt)},In=dt=>{var Vt;if(!dt)return;const Jt=(Vt=dt.currentTarget)!==null&&Vt!==void 0?Vt:dt.target;if(!(Jt!=null&&Jt.isConnected))return Xe(null),void kt({current:null});U?Tt():De(!0),Xe(Jt),kt({current:Jt}),ec(Ie)},It=()=>{_?un(F||100):F?un():De(!1),ec(Ze)},ft=({x:dt,y:Vt})=>{var Jt;const Da={getBoundingClientRect:()=>({x:dt,y:Vt,width:0,height:0,top:Vt,left:dt,right:dt,bottom:Vt})};EO({place:(Jt=Zt==null?void 0:Zt.place)!==null&&Jt!==void 0?Jt:E,offset:C,elementReference:Da,tooltipReference:Ce.current,tooltipArrowReference:we.current,strategy:R,middlewares:N,border:Te}).then(ja=>{ut(ja)})},mt=dt=>{if(!dt)return;const Vt=dt,Jt={x:Vt.clientX,y:Vt.clientY};ft(Jt),rt.current=Jt},bt=dt=>{var Vt;if(!Lt)return;const Jt=dt.target;Jt.isConnected&&(!((Vt=Ce.current)===null||Vt===void 0)&&Vt.contains(Jt)||[document.querySelector(`[id='${p}']`),...Mt].some(Da=>Da==null?void 0:Da.contains(Jt))||(De(!1),ec(Ze)))},Dt=CO(In,50),Bt=CO(It,50),Wt=dt=>{Bt.cancel(),Dt(dt)},gt=()=>{Dt.cancel(),Bt()},Gt=te.useCallback(()=>{var dt,Vt;const Jt=(dt=Zt==null?void 0:Zt.position)!==null&&dt!==void 0?dt:ke;Jt?ft(Jt):x?rt.current&&ft(rt.current):Se!=null&&Se.isConnected&&EO({place:(Vt=Zt==null?void 0:Zt.place)!==null&&Vt!==void 0?Vt:E,offset:C,elementReference:Se,tooltipReference:Ce.current,tooltipArrowReference:we.current,strategy:R,middlewares:N,border:Te}).then(Da=>{rn.current&&ut(Da)})},[Lt,Se,ne,ze,E,Zt==null?void 0:Zt.place,C,R,ke,Zt==null?void 0:Zt.position,x]);te.useEffect(()=>{var dt,Vt;const Jt=new Set(ct);Mt.forEach(xn=>{Ve!=null&&Ve(xn)||Jt.add({current:xn})});const Da=document.querySelector(`[id='${p}']`);Da&&!(Ve!=null&&Ve(Da))&&Jt.add({current:Da});const ja=()=>{De(!1)},Hr=wO(Se),er=wO(Ce.current);pe.scroll&&(window.addEventListener("scroll",ja),Hr==null||Hr.addEventListener("scroll",ja),er==null||er.addEventListener("scroll",ja));let kn=null;pe.resize?window.addEventListener("resize",ja):Se&&Ce.current&&(kn=Y9(Se,Ce.current,Gt,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const Kn=xn=>{xn.key==="Escape"&&De(!1)};pe.escape&&window.addEventListener("keydown",Kn),pe.clickOutsideAnchor&&window.addEventListener("click",bt);const bn=[],Vr=xn=>!!(xn!=null&&xn.target&&(Se!=null&&Se.contains(xn.target))),Df=xn=>{Lt&&Vr(xn)||In(xn)},rc=xn=>{Lt&&Vr(xn)&&It()},ui=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Ef=["click","dblclick","mousedown","mouseup"];Object.entries(Ln).forEach(([xn,dr])=>{dr&&(ui.includes(xn)?bn.push({event:xn,listener:Wt}):Ef.includes(xn)&&bn.push({event:xn,listener:Df}))}),Object.entries(de).forEach(([xn,dr])=>{dr&&(ui.includes(xn)?bn.push({event:xn,listener:gt}):Ef.includes(xn)&&bn.push({event:xn,listener:rc}))}),x&&bn.push({event:"pointermove",listener:mt});const bl=()=>{Ft.current=!0},ic=()=>{Ft.current=!1,It()},vu=_&&(de.mouseout||de.mouseleave);return vu&&((dt=Ce.current)===null||dt===void 0||dt.addEventListener("mouseover",bl),(Vt=Ce.current)===null||Vt===void 0||Vt.addEventListener("mouseout",ic)),bn.forEach(({event:xn,listener:dr})=>{Jt.forEach(li=>{var la;(la=li.current)===null||la===void 0||la.addEventListener(xn,dr)})}),()=>{var xn,dr;pe.scroll&&(window.removeEventListener("scroll",ja),Hr==null||Hr.removeEventListener("scroll",ja),er==null||er.removeEventListener("scroll",ja)),pe.resize?window.removeEventListener("resize",ja):kn==null||kn(),pe.clickOutsideAnchor&&window.removeEventListener("click",bt),pe.escape&&window.removeEventListener("keydown",Kn),vu&&((xn=Ce.current)===null||xn===void 0||xn.removeEventListener("mouseover",bl),(dr=Ce.current)===null||dr===void 0||dr.removeEventListener("mouseout",ic)),bn.forEach(({event:li,listener:la})=>{Jt.forEach(Bd=>{var uc;(uc=Bd.current)===null||uc===void 0||uc.removeEventListener(li,la)})})}},[Se,Gt,xt,ct,Mt,ie,Ee,ue,Un,U,F]),te.useEffect(()=>{var dt,Vt;let Jt=(Vt=(dt=Zt==null?void 0:Zt.anchorSelect)!==null&&dt!==void 0?dt:b)!==null&&Vt!==void 0?Vt:"";!Jt&&a&&(Jt=`[data-tooltip-id='${a.replace(/'/g,"\\'")}']`);const Da=new MutationObserver(ja=>{const Hr=[],er=[];ja.forEach(kn=>{if(kn.type==="attributes"&&kn.attributeName==="data-tooltip-id"&&(kn.target.getAttribute("data-tooltip-id")===a?Hr.push(kn.target):kn.oldValue===a&&er.push(kn.target)),kn.type==="childList"){if(Se){const Kn=[...kn.removedNodes].filter(bn=>bn.nodeType===1);if(Jt)try{er.push(...Kn.filter(bn=>bn.matches(Jt))),er.push(...Kn.flatMap(bn=>[...bn.querySelectorAll(Jt)]))}catch{}Kn.some(bn=>{var Vr;return!!(!((Vr=bn==null?void 0:bn.contains)===null||Vr===void 0)&&Vr.call(bn,Se))&&(ln(!1),De(!1),Xe(null),ec(Ze),ec(Ie),!0)})}if(Jt)try{const Kn=[...kn.addedNodes].filter(bn=>bn.nodeType===1);Hr.push(...Kn.filter(bn=>bn.matches(Jt))),Hr.push(...Kn.flatMap(bn=>[...bn.querySelectorAll(Jt)]))}catch{}}}),(Hr.length||er.length)&&St(kn=>[...kn.filter(Kn=>!er.includes(Kn)),...Hr])});return Da.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Da.disconnect()}},[a,b,Zt==null?void 0:Zt.anchorSelect,Se]),te.useEffect(()=>{Gt()},[Gt]),te.useEffect(()=>{if(!(ve!=null&&ve.current))return()=>null;const dt=new ResizeObserver(()=>{setTimeout(()=>Gt())});return dt.observe(ve.current),()=>{dt.disconnect()}},[ne,ve==null?void 0:ve.current]),te.useEffect(()=>{var dt;const Vt=document.querySelector(`[id='${p}']`),Jt=[...Mt,Vt];Se&&Jt.includes(Se)||Xe((dt=Mt[0])!==null&&dt!==void 0?dt:Vt)},[p,Mt,Se]),te.useEffect(()=>(qe&&De(!0),()=>{ec(Ze),ec(Ie)}),[]),te.useEffect(()=>{var dt;let Vt=(dt=Zt==null?void 0:Zt.anchorSelect)!==null&&dt!==void 0?dt:b;if(!Vt&&a&&(Vt=`[data-tooltip-id='${a.replace(/'/g,"\\'")}']`),Vt)try{const Jt=Array.from(document.querySelectorAll(Vt));St(Jt)}catch{St([])}},[a,b,Zt==null?void 0:Zt.anchorSelect]),te.useEffect(()=>{Ze.current&&(ec(Ze),Tt(U))},[U]);const Bn=(Ue=Zt==null?void 0:Zt.content)!==null&&Ue!==void 0?Ue:ne,fr=Lt&&Object.keys(At.tooltipStyles).length>0;return te.useImperativeHandle(n,()=>({open:dt=>{if(dt!=null&&dt.anchorSelect)try{document.querySelector(dt.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${dt.anchorSelect}" is not a valid CSS selector`)}yn(dt??null),dt!=null&&dt.delay?Tt(dt.delay):De(!0)},close:dt=>{dt!=null&&dt.delay?un(dt.delay):De(!1)},activeAnchor:Se,place:At.place,isOpen:!!(xt&&!H&&Bn&&fr)})),xt&&!H&&Bn?te.createElement(z,{id:a,role:Q,className:X2("react-tooltip",Q0.tooltip,PS.tooltip,PS[d],i,`react-tooltip__place-${At.place}`,Q0[fr?"show":"closing"],fr?"react-tooltip__show":"react-tooltip__closing",R==="fixed"&&Q0.fixed,_&&Q0.clickable),onTransitionEnd:dt=>{ec(Me),Lt||dt.propertyName!=="opacity"||(ln(!1),yn(null),le==null||le())},style:{...ze,...At.tooltipStyles,opacity:Ye!==void 0&&fr?Ye:void 0},ref:Ce},Bn,te.createElement(z,{className:X2("react-tooltip-arrow",Q0.arrow,PS.arrow,o,B&&Q0.noArrow),style:{...At.tooltipArrowStyles,background:We?`linear-gradient(to right bottom, transparent 50%, ${We} 50%)`:void 0},ref:we})):null},rz=({content:n})=>te.createElement("span",{dangerouslySetInnerHTML:{__html:n}}),iz=te.forwardRef(({id:n,anchorId:a,anchorSelect:i,content:o,html:d,render:p,className:b,classNameArrow:E,variant:C="dark",place:A="top",offset:O=10,wrapper:R="div",children:N=null,events:z=["hover"],openOnClick:U=!1,positionStrategy:F="absolute",middlewares:x,delayShow:H=0,delayHide:B=0,float:_=!1,hidden:V=!1,noArrow:q=!1,clickable:K=!1,closeOnEsc:ie=!1,closeOnScroll:Ee=!1,closeOnResize:ue=!1,openEvents:xe,closeEvents:ze,globalCloseEvents:ke,imperativeModeOnly:je=!1,style:le,position:Ve,isOpen:ne,defaultIsOpen:ve=!1,disableStyleInjection:be=!1,border:qe,opacity:oe,arrowColor:Se,setIsOpen:Xe,afterShow:Te,afterHide:Ye,disableTooltip:We,role:Q="tooltip"},Ue)=>{const[Ce,we]=te.useState(o),[Ze,Ie]=te.useState(d),[Me,At]=te.useState(A),[pt,Lt]=te.useState(C),[sn,xt]=te.useState(O),[ln,Zt]=te.useState(H),[yn,I]=te.useState(B),[rt,ct]=te.useState(_),[kt,Ft]=te.useState(V),[Mt,St]=te.useState(R),[rn,Un]=te.useState(z),[jn,Ln]=te.useState(F),[de,pe]=te.useState(null),[De,ut]=te.useState(null),Tt=te.useRef(be),{anchorRefs:un,activeAnchor:In}=dR(n),It=Bt=>Bt==null?void 0:Bt.getAttributeNames().reduce((Wt,gt)=>{var Gt;return gt.startsWith("data-tooltip-")&&(Wt[gt.replace(/^data-tooltip-/,"")]=(Gt=Bt==null?void 0:Bt.getAttribute(gt))!==null&&Gt!==void 0?Gt:null),Wt},{}),ft=Bt=>{const Wt={place:gt=>{var Gt;At((Gt=gt)!==null&&Gt!==void 0?Gt:A)},content:gt=>{we(gt??o)},html:gt=>{Ie(gt??d)},variant:gt=>{var Gt;Lt((Gt=gt)!==null&&Gt!==void 0?Gt:C)},offset:gt=>{xt(gt===null?O:Number(gt))},wrapper:gt=>{var Gt;St((Gt=gt)!==null&&Gt!==void 0?Gt:R)},events:gt=>{const Gt=gt==null?void 0:gt.split(" ");Un(Gt??z)},"position-strategy":gt=>{var Gt;Ln((Gt=gt)!==null&&Gt!==void 0?Gt:F)},"delay-show":gt=>{Zt(gt===null?H:Number(gt))},"delay-hide":gt=>{I(gt===null?B:Number(gt))},float:gt=>{ct(gt===null?_:gt==="true")},hidden:gt=>{Ft(gt===null?V:gt==="true")},"class-name":gt=>{pe(gt)}};Object.values(Wt).forEach(gt=>gt(null)),Object.entries(Bt).forEach(([gt,Gt])=>{var Bn;(Bn=Wt[gt])===null||Bn===void 0||Bn.call(Wt,Gt)})};te.useEffect(()=>{we(o)},[o]),te.useEffect(()=>{Ie(d)},[d]),te.useEffect(()=>{At(A)},[A]),te.useEffect(()=>{Lt(C)},[C]),te.useEffect(()=>{xt(O)},[O]),te.useEffect(()=>{Zt(H)},[H]),te.useEffect(()=>{I(B)},[B]),te.useEffect(()=>{ct(_)},[_]),te.useEffect(()=>{Ft(V)},[V]),te.useEffect(()=>{Ln(F)},[F]),te.useEffect(()=>{Tt.current!==be&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[be]),te.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:be==="core",disableBase:be}}))},[]),te.useEffect(()=>{var Bt;const Wt=new Set(un);let gt=i;if(!gt&&n&&(gt=`[data-tooltip-id='${n.replace(/'/g,"\\'")}']`),gt)try{document.querySelectorAll(gt).forEach(Vt=>{Wt.add({current:Vt})})}catch{console.warn(`[react-tooltip] "${gt}" is not a valid CSS selector`)}const Gt=document.querySelector(`[id='${a}']`);if(Gt&&Wt.add({current:Gt}),!Wt.size)return()=>null;const Bn=(Bt=De??Gt)!==null&&Bt!==void 0?Bt:In.current,fr=new MutationObserver(Vt=>{Vt.forEach(Jt=>{var Da;if(!Bn||Jt.type!=="attributes"||!(!((Da=Jt.attributeName)===null||Da===void 0)&&Da.startsWith("data-tooltip-")))return;const ja=It(Bn);ft(ja)})}),dt={attributes:!0,childList:!1,subtree:!1};if(Bn){const Vt=It(Bn);ft(Vt),fr.observe(Bn,dt)}return()=>{fr.disconnect()}},[un,In,De,a,i]),te.useEffect(()=>{le!=null&&le.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),qe&&!SO("border",`${qe}`)&&console.warn(`[react-tooltip] "${qe}" is not a valid \`border\`.`),le!=null&&le.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),oe&&!SO("opacity",`${oe}`)&&console.warn(`[react-tooltip] "${oe}" is not a valid \`opacity\`.`)},[]);let mt=N;const bt=te.useRef(null);if(p){const Bt=p({content:(De==null?void 0:De.getAttribute("data-tooltip-content"))||Ce||null,activeAnchor:De});mt=Bt?te.createElement("div",{ref:bt,className:"react-tooltip-content-wrapper"},Bt):null}else Ce&&(mt=Ce);Ze&&(mt=te.createElement(rz,{content:Ze}));const Dt={forwardRef:Ue,id:n,anchorId:a,anchorSelect:i,className:X2(b,de),classNameArrow:E,content:mt,contentWrapperRef:bt,place:Me,variant:pt,offset:sn,wrapper:Mt,events:rn,openOnClick:U,positionStrategy:jn,middlewares:x,delayShow:ln,delayHide:yn,float:rt,hidden:kt,noArrow:q,clickable:K,closeOnEsc:ie,closeOnScroll:Ee,closeOnResize:ue,openEvents:xe,closeEvents:ze,globalCloseEvents:ke,imperativeModeOnly:je,style:le,position:Ve,isOpen:ne,defaultIsOpen:ve,border:qe,opacity:oe,arrowColor:Se,setIsOpen:Xe,afterShow:Te,afterHide:Ye,disableTooltip:We,activeAnchor:De,setActiveAnchor:Bt=>ut(Bt),role:Q};return te.createElement(az,{...Dt})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",n=>{n.detail.disableCore||DO({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),n.detail.disableBase||DO({css:`
698
+ .styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function uz(){const n=ac(),{selection:a}=ac(),[i,{loading:o}]=d9(bF);async function d(){if(!a)return;const[p,b]=Fe.edges(a),E=L.string(n,L.range(n,p,b)),{data:C}=await i({variables:{createContentValueInput:{isReusable:!0,smartText:HS("root",[HS("paragraph",[HS("text",E)])])}}});if(C!=null&&C.createContentValue[0]){const A={type:"contentValue",prn:C.createContentValue[0].prn,root:C.createContentValue[0].interpolatedSmartText,children:[{text:""}]};Ke.insertNodes(n,A)}}return me.jsxs(me.Fragment,{children:[me.jsx("button",{"data-tooltip-id":"extract-content-tooltip","data-tooltip-content":"Save the selected text as reusable content for easy reuse across your site.",onClick:()=>{d()},className:"px-2.5 py-1.5 rounded-md hover:bg-white/10 cursor-pointer",children:me.jsx(gl,{icon:wC,className:"text-white transition-all duration-200",spin:o})}),me.jsx(iz,{id:"extract-content-tooltip"})]})}function L1({text:n,icon:a}){return me.jsxs("div",{className:"px-2 py-2 whitespace-nowrap flex items-center gap-2",children:[a?me.jsx(gl,{icon:a,size:"xs"}):null,me.jsx("p",{className:"font-semibold uppercase text-xs",children:n})]})}function UC({children:n}){return me.jsx("div",{className:"bg-white px-4 py-2 shadow-2xl outline outline-1 outline-gray-100 rounded-md space-y-2",children:n})}function ry({icon:n,text:a,onClick:i,children:o}){const[d,p]=te.useState(!1),b=te.useRef(null);N4(b,()=>{p(!1)});function E(C){o&&p(!d),i&&i(C),C.preventDefault()}return me.jsxs("div",{ref:b,children:[me.jsxs("div",{onClick:C=>E(C),className:`px-3 py-2 flex items-center justify-between gap-2 cursor-pointer hover:bg-gray-50 transition-colors rounded-md ${d?"bg-primary-light":""}`,children:[me.jsxs("div",{className:"flex items-center gap-2",children:[n?me.jsx(gl,{icon:n,className:"text-[#705ED9]"}):null,me.jsx("p",{className:"w-40",children:a})]}),o?me.jsx(gl,{icon:$_,className:"text-gray-400"}):null]}),d?me.jsx("div",{className:"absolute top-0 left-full ml-1",children:o}):null]})}function lz({onChange:n,value:a,placeholder:i}){return me.jsx("input",{onChange:o=>{n(o.target.value)},placeholder:i,value:a,name:"search",className:"bg-gray-50 w-full outline-none rounded-md px-3 py-2",type:"text"})}function oz({onContentTypeClick:n}){const[i,o]=te.useState(""),{loading:d,data:p,fetchMore:b}=BC(gF,{variables:{paginate:{first:6},orderBy:{key:"createdAt",direction:xC.Desc},where:{name:[{_ilike:i}]}},notifyOnNetworkStatusChange:!0});async function E(){await b({variables:{paginate:{first:6,after:(p==null?void 0:p.contentTypes.pageInfo).endCursor}},updateQuery:(O,{fetchMoreResult:R})=>R?{contentTypes:{...R.contentTypes,edges:[...O.contentTypes.edges,...R.contentTypes.edges]}}:O})}function C(){return me.jsx("div",{children:Array.from({length:(p==null?void 0:p.contentTypes.totalCount)??10}).map((O,R)=>me.jsxs("div",{className:"px-3 py-2 flex items-center justify-between gap-2",children:[me.jsx("span",{className:"w-4 h-4 bg-slate-100 rounded-md animate-pulse"}),me.jsx("p",{className:"w-40 h-5 bg-slate-100 rounded-md animate-pulse"})]},R))})}function A(){return me.jsxs(me.Fragment,{children:[p==null?void 0:p.contentTypes.edges.map(O=>me.jsx(ry,{onClick:R=>{R.stopPropagation(),n(O.node)},icon:F4,text:O.node.name},O.node.prn)),!d&&(p==null?void 0:p.contentTypes.pageInfo).hasNextPage?me.jsx("div",{className:"flex items-center justify-center py-2 cursor-pointer group border-t border-slate-100",onClick:()=>{E()},children:me.jsx("p",{className:"group-hover:text-[#705ED9]",children:"Load more"})}):null]})}return me.jsxs(me.Fragment,{children:[me.jsx(L1,{text:`Content Types (${(p==null?void 0:p.contentTypes.totalCount)??0})`}),me.jsx(lz,{onChange:o,placeholder:"Search content types",value:i}),me.jsxs("div",{className:"overflow-y-auto max-h-[280px]",children:[me.jsx(A,{}),d?me.jsx(C,{}):null,(p==null?void 0:p.contentTypes.totalCount)===0?me.jsx("div",{children:me.jsx("p",{className:"text-center text-gray-500 w-48",children:"No content types found"})}):null]})]})}class tD extends Error{constructor(a){super(a),this.name=this.constructor.name}}const xO=/^prn(:[A-Za-z0-9-_]+){5}$/u;var hR=(n=>(n.ASSET_MANAGER="am",n.CONTENT_EXPERIENCE_CENTER="cxc",n.ACCESS_CONTROL="ac",n.EMAILS_SERVICE="es",n.ORGANIZATIONS_CENTER="oc",n))(hR||{});class RD{constructor(a,i,o,d,p){const b=[a,o,i,d,p];if(!b.every(E=>typeof E=="string"&&E.length>0))throw new tD("Invalid PRN component(s)! All components must be a non-empty string.");if(b.some(E=>E.includes(":")))throw new tD("Invalid PRN string specification! Components cannot contain ':'.");this.partition=a,this.organizationId=i,this.service=o,this.resourceType=d,this.resourceId=p}static fromString(a){if(!xO.test(a))throw new tD(`Invalid PRN string '${a}'! Should match the pattern '${xO.source}'`);const[i,o,d,p,b,E]=a.split(":");if(!Object.values(hR).map(String).includes(p))throw new tD(`Invalid ServiceAbbreviation '${p}'! Use the ServiceAbbreviation enum.`);return new RD(o,d,p,b,E)}toString(){return`prn:${this.partition}:${this.organizationId}:${this.service}:${this.resourceType}:${this.resourceId}`}equals(a){if(!(a instanceof RD))return!1;for(const i of Object.keys(this))if(this[i]!==a[i])return!1;return!0}}var TO={};/*! *****************************************************************************
699
+ Copyright (C) Microsoft. All rights reserved.
700
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
701
+ this file except in compliance with the License. You may obtain a copy of the
702
+ License at http://www.apache.org/licenses/LICENSE-2.0
703
+
704
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
705
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
706
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
707
+ MERCHANTABLITY OR NON-INFRINGEMENT.
708
+
709
+ See the Apache Version 2.0 License for specific language governing permissions
710
+ and limitations under the License.
711
+ ***************************************************************************** */var OO;function sz(){if(OO)return TO;OO=1;var n;return function(a){(function(i){var o=typeof globalThis=="object"?globalThis:typeof nc=="object"?nc:typeof self=="object"?self:typeof this=="object"?this:C(),d=p(a);typeof o.Reflect<"u"&&(d=p(o.Reflect,d)),i(d,o),typeof o.Reflect>"u"&&(o.Reflect=a);function p(A,O){return function(R,N){Object.defineProperty(A,R,{configurable:!0,writable:!0,value:N}),O&&O(R,N)}}function b(){try{return Function("return this;")()}catch{}}function E(){try{return(0,eval)("(function() { return this; })()")}catch{}}function C(){return b()||E()}})(function(i,o){var d=Object.prototype.hasOwnProperty,p=typeof Symbol=="function",b=p&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",E=p&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",C=typeof Object.create=="function",A={__proto__:[]}instanceof Array,O=!C&&!A,R={create:C?function(){return Ln(Object.create(null))}:A?function(){return Ln({__proto__:null})}:function(){return Ln({})},has:O?function(de,pe){return d.call(de,pe)}:function(de,pe){return pe in de},get:O?function(de,pe){return d.call(de,pe)?de[pe]:void 0}:function(de,pe){return de[pe]}},N=Object.getPrototypeOf(Function),z=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:rn(),U=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:Un(),F=typeof WeakMap=="function"?WeakMap:jn(),x=p?Symbol.for("@reflect-metadata:registry"):void 0,H=kt(),B=Ft(H);function _(de,pe,De,ut){if(Te(De)){if(!Me(de))throw new TypeError;if(!pt(pe))throw new TypeError;return je(de,pe)}else{if(!Me(de))throw new TypeError;if(!Q(pe))throw new TypeError;if(!Q(ut)&&!Te(ut)&&!Ye(ut))throw new TypeError;return Ye(ut)&&(ut=void 0),De=Ie(De),le(de,pe,De,ut)}}i("decorate",_);function V(de,pe){function De(ut,Tt){if(!Q(ut))throw new TypeError;if(!Te(Tt)&&!Lt(Tt))throw new TypeError;qe(de,pe,ut,Tt)}return De}i("metadata",V);function q(de,pe,De,ut){if(!Q(De))throw new TypeError;return Te(ut)||(ut=Ie(ut)),qe(de,pe,De,ut)}i("defineMetadata",q);function K(de,pe,De){if(!Q(pe))throw new TypeError;return Te(De)||(De=Ie(De)),Ve(de,pe,De)}i("hasMetadata",K);function ie(de,pe,De){if(!Q(pe))throw new TypeError;return Te(De)||(De=Ie(De)),ne(de,pe,De)}i("hasOwnMetadata",ie);function Ee(de,pe,De){if(!Q(pe))throw new TypeError;return Te(De)||(De=Ie(De)),ve(de,pe,De)}i("getMetadata",Ee);function ue(de,pe,De){if(!Q(pe))throw new TypeError;return Te(De)||(De=Ie(De)),be(de,pe,De)}i("getOwnMetadata",ue);function xe(de,pe){if(!Q(de))throw new TypeError;return Te(pe)||(pe=Ie(pe)),oe(de,pe)}i("getMetadataKeys",xe);function ze(de,pe){if(!Q(de))throw new TypeError;return Te(pe)||(pe=Ie(pe)),Se(de,pe)}i("getOwnMetadataKeys",ze);function ke(de,pe,De){if(!Q(pe))throw new TypeError;if(Te(De)||(De=Ie(De)),!Q(pe))throw new TypeError;Te(De)||(De=Ie(De));var ut=St(pe,De,!1);return Te(ut)?!1:ut.OrdinaryDeleteMetadata(de,pe,De)}i("deleteMetadata",ke);function je(de,pe){for(var De=de.length-1;De>=0;--De){var ut=de[De],Tt=ut(pe);if(!Te(Tt)&&!Ye(Tt)){if(!pt(Tt))throw new TypeError;pe=Tt}}return pe}function le(de,pe,De,ut){for(var Tt=de.length-1;Tt>=0;--Tt){var un=de[Tt],In=un(pe,De,ut);if(!Te(In)&&!Ye(In)){if(!Q(In))throw new TypeError;ut=In}}return ut}function Ve(de,pe,De){var ut=ne(de,pe,De);if(ut)return!0;var Tt=rt(pe);return Ye(Tt)?!1:Ve(de,Tt,De)}function ne(de,pe,De){var ut=St(pe,De,!1);return Te(ut)?!1:we(ut.OrdinaryHasOwnMetadata(de,pe,De))}function ve(de,pe,De){var ut=ne(de,pe,De);if(ut)return be(de,pe,De);var Tt=rt(pe);if(!Ye(Tt))return ve(de,Tt,De)}function be(de,pe,De){var ut=St(pe,De,!1);if(!Te(ut))return ut.OrdinaryGetOwnMetadata(de,pe,De)}function qe(de,pe,De,ut){var Tt=St(De,ut,!0);Tt.OrdinaryDefineOwnMetadata(de,pe,De,ut)}function oe(de,pe){var De=Se(de,pe),ut=rt(de);if(ut===null)return De;var Tt=oe(ut,pe);if(Tt.length<=0)return De;if(De.length<=0)return Tt;for(var un=new U,In=[],It=0,ft=De;It<ft.length;It++){var mt=ft[It],bt=un.has(mt);bt||(un.add(mt),In.push(mt))}for(var Dt=0,Bt=Tt;Dt<Bt.length;Dt++){var mt=Bt[Dt],bt=un.has(mt);bt||(un.add(mt),In.push(mt))}return In}function Se(de,pe){var De=St(de,pe,!1);return De?De.OrdinaryOwnMetadataKeys(de,pe):[]}function Xe(de){if(de===null)return 1;switch(typeof de){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return de===null?1:6;default:return 6}}function Te(de){return de===void 0}function Ye(de){return de===null}function We(de){return typeof de=="symbol"}function Q(de){return typeof de=="object"?de!==null:typeof de=="function"}function Ue(de,pe){switch(Xe(de)){case 0:return de;case 1:return de;case 2:return de;case 3:return de;case 4:return de;case 5:return de}var De="string",ut=xt(de,b);if(ut!==void 0){var Tt=ut.call(de,De);if(Q(Tt))throw new TypeError;return Tt}return Ce(de)}function Ce(de,pe){var De,ut,Tt;{var un=de.toString;if(At(un)){var ut=un.call(de);if(!Q(ut))return ut}var De=de.valueOf;if(At(De)){var ut=De.call(de);if(!Q(ut))return ut}}throw new TypeError}function we(de){return!!de}function Ze(de){return""+de}function Ie(de){var pe=Ue(de);return We(pe)?pe:Ze(pe)}function Me(de){return Array.isArray?Array.isArray(de):de instanceof Object?de instanceof Array:Object.prototype.toString.call(de)==="[object Array]"}function At(de){return typeof de=="function"}function pt(de){return typeof de=="function"}function Lt(de){switch(Xe(de)){case 3:return!0;case 4:return!0;default:return!1}}function sn(de,pe){return de===pe||de!==de&&pe!==pe}function xt(de,pe){var De=de[pe];if(De!=null){if(!At(De))throw new TypeError;return De}}function ln(de){var pe=xt(de,E);if(!At(pe))throw new TypeError;var De=pe.call(de);if(!Q(De))throw new TypeError;return De}function Zt(de){return de.value}function yn(de){var pe=de.next();return pe.done?!1:pe}function I(de){var pe=de.return;pe&&pe.call(de)}function rt(de){var pe=Object.getPrototypeOf(de);if(typeof de!="function"||de===N||pe!==N)return pe;var De=de.prototype,ut=De&&Object.getPrototypeOf(De);if(ut==null||ut===Object.prototype)return pe;var Tt=ut.constructor;return typeof Tt!="function"||Tt===de?pe:Tt}function ct(){var de;!Te(x)&&typeof o.Reflect<"u"&&!(x in o.Reflect)&&typeof o.Reflect.defineMetadata=="function"&&(de=Mt(o.Reflect));var pe,De,ut,Tt=new F,un={registerProvider:In,getProvider:ft,setProvider:bt};return un;function In(Dt){if(!Object.isExtensible(un))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case de===Dt:break;case Te(pe):pe=Dt;break;case pe===Dt:break;case Te(De):De=Dt;break;case De===Dt:break;default:ut===void 0&&(ut=new U),ut.add(Dt);break}}function It(Dt,Bt){if(!Te(pe)){if(pe.isProviderFor(Dt,Bt))return pe;if(!Te(De)){if(De.isProviderFor(Dt,Bt))return pe;if(!Te(ut))for(var Wt=ln(ut);;){var gt=yn(Wt);if(!gt)return;var Gt=Zt(gt);if(Gt.isProviderFor(Dt,Bt))return I(Wt),Gt}}}if(!Te(de)&&de.isProviderFor(Dt,Bt))return de}function ft(Dt,Bt){var Wt=Tt.get(Dt),gt;return Te(Wt)||(gt=Wt.get(Bt)),Te(gt)&&(gt=It(Dt,Bt),Te(gt)||(Te(Wt)&&(Wt=new z,Tt.set(Dt,Wt)),Wt.set(Bt,gt))),gt}function mt(Dt){if(Te(Dt))throw new TypeError;return pe===Dt||De===Dt||!Te(ut)&&ut.has(Dt)}function bt(Dt,Bt,Wt){if(!mt(Wt))throw new Error("Metadata provider not registered.");var gt=ft(Dt,Bt);if(gt!==Wt){if(!Te(gt))return!1;var Gt=Tt.get(Dt);Te(Gt)&&(Gt=new z,Tt.set(Dt,Gt)),Gt.set(Bt,Wt)}return!0}}function kt(){var de;return!Te(x)&&Q(o.Reflect)&&Object.isExtensible(o.Reflect)&&(de=o.Reflect[x]),Te(de)&&(de=ct()),!Te(x)&&Q(o.Reflect)&&Object.isExtensible(o.Reflect)&&Object.defineProperty(o.Reflect,x,{enumerable:!1,configurable:!1,writable:!1,value:de}),de}function Ft(de){var pe=new F,De={isProviderFor:function(mt,bt){var Dt=pe.get(mt);return Te(Dt)?!1:Dt.has(bt)},OrdinaryDefineOwnMetadata:In,OrdinaryHasOwnMetadata:Tt,OrdinaryGetOwnMetadata:un,OrdinaryOwnMetadataKeys:It,OrdinaryDeleteMetadata:ft};return H.registerProvider(De),De;function ut(mt,bt,Dt){var Bt=pe.get(mt),Wt=!1;if(Te(Bt)){if(!Dt)return;Bt=new z,pe.set(mt,Bt),Wt=!0}var gt=Bt.get(bt);if(Te(gt)){if(!Dt)return;if(gt=new z,Bt.set(bt,gt),!de.setProvider(mt,bt,De))throw Bt.delete(bt),Wt&&pe.delete(mt),new Error("Wrong provider for target.")}return gt}function Tt(mt,bt,Dt){var Bt=ut(bt,Dt,!1);return Te(Bt)?!1:we(Bt.has(mt))}function un(mt,bt,Dt){var Bt=ut(bt,Dt,!1);if(!Te(Bt))return Bt.get(mt)}function In(mt,bt,Dt,Bt){var Wt=ut(Dt,Bt,!0);Wt.set(mt,bt)}function It(mt,bt){var Dt=[],Bt=ut(mt,bt,!1);if(Te(Bt))return Dt;for(var Wt=Bt.keys(),gt=ln(Wt),Gt=0;;){var Bn=yn(gt);if(!Bn)return Dt.length=Gt,Dt;var fr=Zt(Bn);try{Dt[Gt]=fr}catch(dt){try{I(gt)}finally{throw dt}}Gt++}}function ft(mt,bt,Dt){var Bt=ut(bt,Dt,!1);if(Te(Bt)||!Bt.delete(mt))return!1;if(Bt.size===0){var Wt=pe.get(bt);Te(Wt)||(Wt.delete(Dt),Wt.size===0&&pe.delete(Wt))}return!0}}function Mt(de){var pe=de.defineMetadata,De=de.hasOwnMetadata,ut=de.getOwnMetadata,Tt=de.getOwnMetadataKeys,un=de.deleteMetadata,In=new F,It={isProviderFor:function(ft,mt){var bt=In.get(ft);return!Te(bt)&&bt.has(mt)?!0:Tt(ft,mt).length?(Te(bt)&&(bt=new U,In.set(ft,bt)),bt.add(mt),!0):!1},OrdinaryDefineOwnMetadata:pe,OrdinaryHasOwnMetadata:De,OrdinaryGetOwnMetadata:ut,OrdinaryOwnMetadataKeys:Tt,OrdinaryDeleteMetadata:un};return It}function St(de,pe,De){var ut=H.getProvider(de,pe);if(!Te(ut))return ut;if(De){if(H.setProvider(de,pe,B))return B;throw new Error("Illegal state.")}}function rn(){var de={},pe=[],De=function(){function It(ft,mt,bt){this._index=0,this._keys=ft,this._values=mt,this._selector=bt}return It.prototype["@@iterator"]=function(){return this},It.prototype[E]=function(){return this},It.prototype.next=function(){var ft=this._index;if(ft>=0&&ft<this._keys.length){var mt=this._selector(this._keys[ft],this._values[ft]);return ft+1>=this._keys.length?(this._index=-1,this._keys=pe,this._values=pe):this._index++,{value:mt,done:!1}}return{value:void 0,done:!0}},It.prototype.throw=function(ft){throw this._index>=0&&(this._index=-1,this._keys=pe,this._values=pe),ft},It.prototype.return=function(ft){return this._index>=0&&(this._index=-1,this._keys=pe,this._values=pe),{value:ft,done:!0}},It}(),ut=function(){function It(){this._keys=[],this._values=[],this._cacheKey=de,this._cacheIndex=-2}return Object.defineProperty(It.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),It.prototype.has=function(ft){return this._find(ft,!1)>=0},It.prototype.get=function(ft){var mt=this._find(ft,!1);return mt>=0?this._values[mt]:void 0},It.prototype.set=function(ft,mt){var bt=this._find(ft,!0);return this._values[bt]=mt,this},It.prototype.delete=function(ft){var mt=this._find(ft,!1);if(mt>=0){for(var bt=this._keys.length,Dt=mt+1;Dt<bt;Dt++)this._keys[Dt-1]=this._keys[Dt],this._values[Dt-1]=this._values[Dt];return this._keys.length--,this._values.length--,sn(ft,this._cacheKey)&&(this._cacheKey=de,this._cacheIndex=-2),!0}return!1},It.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=de,this._cacheIndex=-2},It.prototype.keys=function(){return new De(this._keys,this._values,Tt)},It.prototype.values=function(){return new De(this._keys,this._values,un)},It.prototype.entries=function(){return new De(this._keys,this._values,In)},It.prototype["@@iterator"]=function(){return this.entries()},It.prototype[E]=function(){return this.entries()},It.prototype._find=function(ft,mt){if(!sn(this._cacheKey,ft)){this._cacheIndex=-1;for(var bt=0;bt<this._keys.length;bt++)if(sn(this._keys[bt],ft)){this._cacheIndex=bt;break}}return this._cacheIndex<0&&mt&&(this._cacheIndex=this._keys.length,this._keys.push(ft),this._values.push(void 0)),this._cacheIndex},It}();return ut;function Tt(It,ft){return It}function un(It,ft){return ft}function In(It,ft){return[It,ft]}}function Un(){var de=function(){function pe(){this._map=new z}return Object.defineProperty(pe.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),pe.prototype.has=function(De){return this._map.has(De)},pe.prototype.add=function(De){return this._map.set(De,De),this},pe.prototype.delete=function(De){return this._map.delete(De)},pe.prototype.clear=function(){this._map.clear()},pe.prototype.keys=function(){return this._map.keys()},pe.prototype.values=function(){return this._map.keys()},pe.prototype.entries=function(){return this._map.entries()},pe.prototype["@@iterator"]=function(){return this.keys()},pe.prototype[E]=function(){return this.keys()},pe}();return de}function jn(){var de=16,pe=R.create(),De=ut();return function(){function ft(){this._key=ut()}return ft.prototype.has=function(mt){var bt=Tt(mt,!1);return bt!==void 0?R.has(bt,this._key):!1},ft.prototype.get=function(mt){var bt=Tt(mt,!1);return bt!==void 0?R.get(bt,this._key):void 0},ft.prototype.set=function(mt,bt){var Dt=Tt(mt,!0);return Dt[this._key]=bt,this},ft.prototype.delete=function(mt){var bt=Tt(mt,!1);return bt!==void 0?delete bt[this._key]:!1},ft.prototype.clear=function(){this._key=ut()},ft}();function ut(){var ft;do ft="@@WeakMap@@"+It();while(R.has(pe,ft));return pe[ft]=!0,ft}function Tt(ft,mt){if(!d.call(ft,De)){if(!mt)return;Object.defineProperty(ft,De,{value:R.create()})}return ft[De]}function un(ft,mt){for(var bt=0;bt<mt;++bt)ft[bt]=Math.random()*255|0;return ft}function In(ft){if(typeof Uint8Array=="function"){var mt=new Uint8Array(ft);return typeof crypto<"u"?crypto.getRandomValues(mt):typeof msCrypto<"u"?msCrypto.getRandomValues(mt):un(mt,ft),mt}return un(new Array(ft),ft)}function It(){var ft=In(de);ft[6]=ft[6]&79|64,ft[8]=ft[8]&191|128;for(var mt="",bt=0;bt<de;++bt){var Dt=ft[bt];(bt===4||bt===6||bt===8)&&(mt+="-"),Dt<16&&(mt+="0"),mt+=Dt.toString(16).toLowerCase()}return mt}}function Ln(de){return de.__=void 0,delete de.__,de}})}(n||(n={})),TO}sz();function cz({name:n,children:a}){return me.jsxs("div",{className:"space-y-1",children:[me.jsx("p",{className:"px-2 text-gray-500",children:n}),a]})}function mR({contentValue:n,onClick:a}){function i(o){n.interpolatedSmartText&&(a&&a(o),o.preventDefault())}return me.jsx("div",{className:"relative",children:me.jsx("div",{onClick:o=>i(o),className:`px-3 py-2 flex items-center justify-between gap-2 rounded-md ${n.interpolatedSmartText?"cursor-pointer hover:bg-gray-50":"cursor-not-allowed"}`,children:me.jsxs("div",{className:"flex items-center gap-2",children:[n.primitiveValue?me.jsx("p",{children:n.primitiveValue}):null,n.relatedContentItem?me.jsx("p",{children:n.relatedContentItem.displayName}):null,n.interpolatedSmartText?me.jsx("p",{children:HD(n.interpolatedSmartText)}):null,n.relatedAsset?me.jsxs("div",{className:"flex gap-2 items-center",children:[n.relatedAsset.url?me.jsx("img",{src:n.relatedAsset.url,className:"w-8 h-8 rounded-md object-cover",alt:n.relatedAsset.fileName}):null,me.jsx("p",{children:n.relatedAsset.fileName})]}):null]})})})}function fz({uuid:n,prn:a}){const i=ac(),o=6,d=sC(U=>fC(U,n)),{data:p,loading:b,fetchMore:E}=BC(pF,{variables:{paginate:{first:o},where:{contentTypeId:[{_eq:RD.fromString(a).resourceId}]}},notifyOnNetworkStatusChange:!0});function C(){if(!i.selection)return;const[,U]=L.node(i,i.selection);if(U.length===0)return;const[,F]=L.parent(i,i.selection),[x]=L.node(i,F);if(Ot.isElement(x)&&x.type==="contentValue")return[x,F]}function A(U){const F=C();if(F){const[,x]=F;if(!U.interpolatedSmartText)return;Ke.setNodes(i,{prn:U.prn,root:U.interpolatedSmartText},{at:x});return}O(U)}function O(U){if(!U.interpolatedSmartText)return;const F={type:"contentValue",prn:U.prn,root:U.interpolatedSmartText,children:[{text:""}]};if(d){Ke.select(i,d),Ke.insertNodes(i,F);return}Ke.insertNodes(i,F)}async function R(){await E({variables:{paginate:{first:o,after:(p==null?void 0:p.contentItems.pageInfo).endCursor}},updateQuery:(U,{fetchMoreResult:F})=>F?{contentItems:{...F.contentItems,edges:[...U.contentItems.edges,...F.contentItems.edges]}}:U})}function N(){return me.jsx("div",{children:Array.from({length:(p==null?void 0:p.contentItems.totalCount)??10}).map((U,F)=>me.jsxs("div",{className:"px-3 py-2 flex items-center justify-between gap-2",children:[me.jsx("span",{className:"w-4 h-4 bg-slate-100 rounded-md animate-pulse"}),me.jsx("p",{className:"w-40 h-5 bg-slate-100 rounded-md animate-pulse"})]},F))})}function z(){return me.jsxs(me.Fragment,{children:[p==null?void 0:p.contentItems.edges.map(U=>me.jsx(ry,{text:U.node.displayName,children:me.jsxs("div",{className:"bg-white py-2 shadow-2xl outline outline-gray-100 rounded-md",children:[me.jsx("div",{className:"px-3",children:me.jsxs("div",{className:"py-3 border-b flex items-center gap-2 whitespace-nowrap",children:[me.jsx(gl,{icon:F4}),me.jsx("p",{className:"font-semibold uppercase text-xs w-32 truncate",children:U.node.displayName}),me.jsx("p",{className:"underline text-xs cursor-pointer",children:"Open in library"})]})}),me.jsx("div",{className:"px-2 space-y-2 mt-2",children:Object.keys(wD.groupBy(U.node.contentValues,"contentField.name")).map(F=>me.jsx(cz,{name:F,children:wD.groupBy(U.node.contentValues,"contentField.name")[F].map(x=>me.jsx(mR,{contentValue:x,onClick:()=>A(x)},x.prn))},F))})]})},U.node.prn)),!b&&(p==null?void 0:p.contentItems.pageInfo).hasNextPage?me.jsx("div",{className:"flex items-center justify-center py-2 cursor-pointer group border-t border-slate-100",onClick:()=>{R()},children:me.jsx("p",{className:"group-hover:text-[#705ED9]",children:"Load more"})}):null]})}return me.jsx(me.Fragment,{children:me.jsxs("div",{className:"overflow-y-auto max-h-[280px]",children:[me.jsx(z,{}),b?me.jsx(N,{}):null,(p==null?void 0:p.contentItems.totalCount)===0?me.jsx("div",{children:me.jsx("p",{className:"text-center text-gray-500 w-48",children:"No content items found"})}):null]})})}function vR({uuid:n}){const a=ac(),i=sC(U=>fC(U,n)),o=6,{data:d,loading:p,fetchMore:b,refetch:E}=BC(yF,{variables:{paginate:{first:o},orderBy:{key:"createdAt",direction:xC.Desc},where:{isReusable:[{_eq:!0}]}},notifyOnNetworkStatusChange:!0});te.useEffect(()=>{E()},[E]);async function C(){await b({variables:{paginate:{first:o,after:(d==null?void 0:d.contentValues.pageInfo).endCursor},where:{isReusable:[{_eq:!0}]}},updateQuery:(U,{fetchMoreResult:F})=>F?{contentValues:{...F.contentValues,edges:[...U.contentValues.edges,...F.contentValues.edges]}}:U})}function A(){if(!a.selection)return;const[,U]=L.node(a,a.selection);if(U.length===0)return;const[,F]=L.parent(a,a.selection),[x]=L.node(a,F);if(Ot.isElement(x)&&x.type==="contentValue")return[x,F]}function O(U){const F=A();if(F){const[,x]=F;if(!U.interpolatedSmartText)return;Ke.setNodes(a,{prn:U.prn,root:U.interpolatedSmartText},{at:x});return}R(U)}function R(U){if(!U.interpolatedSmartText)return;const F={type:"contentValue",prn:U.prn,root:U.interpolatedSmartText,children:[{text:""}]};if(i){Ke.select(a,i),Ke.insertNodes(a,F);return}Ke.insertNodes(a,F)}function N(){return me.jsx("div",{children:Array.from({length:(d==null?void 0:d.contentValues.totalCount)??o}).map((U,F)=>me.jsxs("div",{className:"px-3 py-2 flex items-center justify-between gap-2",children:[me.jsx("span",{className:"w-4 h-4 bg-slate-100 rounded-md animate-pulse"}),me.jsx("p",{className:"w-40 h-5 bg-slate-100 rounded-md animate-pulse"})]},F))})}function z(){return me.jsxs(me.Fragment,{children:[me.jsx("div",{className:"flex flex-col min-w-48 overflow-y-auto max-h-[280px]",children:d==null?void 0:d.contentValues.edges.map(U=>me.jsx(mR,{contentValue:U.node,onClick:()=>O(U.node)},U.node.prn))}),!p&&(d==null?void 0:d.contentValues.pageInfo).hasNextPage?me.jsx("div",{className:"flex items-center justify-center py-2 cursor-pointer group border-t border-slate-100",onClick:()=>{C()},children:me.jsx("p",{className:"group-hover:text-[#705ED9]",children:"Load more"})}):null]})}return me.jsxs(UC,{children:[me.jsx(L1,{text:"Reusable content"}),p?me.jsx(N,{}):me.jsx(z,{}),(d==null?void 0:d.contentValues.totalCount)===0?me.jsx("div",{children:me.jsx("p",{className:"text-center text-gray-500 w-48",children:"No reusable content found"})}):null]})}function pR({uuid:n}){const[a,i]=te.useState(void 0);return me.jsxs(UC,{children:[me.jsx("div",{className:"cursor-pointer",onClick:()=>{i(void 0)},children:me.jsx(L1,{icon:a?Y_:void 0,text:`${a?"Back to ":""}Content Library`})}),a?null:me.jsx(ry,{icon:wC,text:"Reusable content",children:me.jsx(vR,{uuid:n})}),me.jsx("div",{className:"mt-2",children:a?me.jsx(fz,{uuid:n,prn:a}):me.jsx(oz,{uuid:n,onContentTypeClick:o=>{i(o.prn)}})})]})}function dz({uuid:n}){const{selection:a}=ac(),[i,o]=te.useState(!1);return te.useEffect(()=>{a||o(!1)},[a]),me.jsxs("div",{children:[me.jsx("button",{onClick:()=>{o(!i)},className:`px-2.5 py-1.5 rounded-md ${i?"bg-white/10":"hover:bg-white/10 cursor-pointer"}`,children:me.jsx(gl,{icon:k4,className:"text-white transition-all duration-200"})}),i?me.jsx("div",{className:"absolute right-0 mt-3",children:me.jsx(pR,{uuid:n})}):null]})}function hz({uuid:n}){const a=ac(),{selection:i}=a;function o(){return d()||p()}function d(){if(!i||Fe.isCollapsed(i))return!1;const[b]=L.nodes(a,{match:E=>Ot.isElement(E)&&E.type==="contentValue"});return b!==void 0}function p(){if(!i)return!1;const[,b]=L.node(a,i);if(b.length===0)return!1;const[E]=L.parent(a,i);return Ot.isElement(E)?E.type==="contentValue":!1}return me.jsxs("div",{className:"flex items-center gap-1 p-1.5 rounded-md bg-[#705ED9] relative",children:[me.jsx(dz,{uuid:n}),o()?null:me.jsxs(me.Fragment,{children:[me.jsx("span",{className:"w-[1px] h-2 bg-white/10"}),me.jsx(uz,{})]})]})}function mz({uuid:n,context:a}){const i=te.useRef(null),o=ac(),[d,p]=te.useState(0),[b,E]=te.useState(0),[C,A]=te.useState(!1),{selection:O}=o;function R(){if(!o.selection)return!1;const[,B]=L.node(o,o.selection);if(B.length===0)return!1;const[_]=L.parent(o,o.selection);if(Ot.isElement(_)&&_.type==="contentValue")return!0}function N(){if(!O)return;const B=window.getSelection(),_=document.getElementById(n);if(!B||!_||!i.current)return;const V=B.getRangeAt(0).getBoundingClientRect(),q=a?a.getBoundingClientRect().left:0,K=a?a.getBoundingClientRect().width:window.outerWidth,ie=_.getBoundingClientRect().top,Ee=_.getBoundingClientRect().left,ue=V.top-ie,xe=V.left-Ee,ze=i.current.offsetWidth,ke=ze/2,je=i.current.offsetHeight;let le=ue-Math.floor(je*1.1),Ve=xe+V.width/2-ke;const ne=xe+ze;le+ie<=0&&(le=V.bottom+je*.1),Ve+Ee<=q&&(Ve=0-Ee+q+15),ne>=K&&(Ve=_.getBoundingClientRect().width-ze+15),E(le),p(Ve)}function z(){if(O&&(!Fe.isCollapsed(O)||R())){A(!0);return}A(!1)}te.useEffect(()=>{N(),z()},[O]),te.useEffect(()=>{function B(_){var V;(V=i.current)!=null&&V.contains(_.target)||A(!1)}return document.addEventListener("mousedown",B),()=>{document.removeEventListener("mousedown",B)}},[i]);function U(){return me.jsx("div",{className:"w-0.5 h-3 bg-[#667080]/60 mx-3"})}function F(){return me.jsxs(me.Fragment,{children:[me.jsx(Ib,{format:"bold",icon:H_}),me.jsx(Ib,{format:"italic",icon:V_}),me.jsx(Ib,{format:"underline",icon:L_}),me.jsx(Ib,{format:"strikethrough",icon:j_}),me.jsx(U,{})]})}function x(){return me.jsxs(me.Fragment,{children:[me.jsx(Q_,{}),me.jsx(U,{}),me.jsx(LS,{format:"list",properties:{ordered:!1},icon:z4}),me.jsx(LS,{format:"list",properties:{ordered:!0},icon:M4}),me.jsx(U,{}),me.jsx(LS,{format:"code",icon:_4})]})}function H(){return R()?me.jsxs(me.Fragment,{children:[me.jsx(U,{}),me.jsx("button",{onClick:()=>{const[B,_]=L.parent(o,O);if(!Ot.isElement(B)||B.type!=="contentValue")return;Ke.removeNodes(o,{at:_});const V={text:B.root?HD(B.root):""};Ke.insertNodes(o,V)},className:"p-3",children:me.jsx(gl,{icon:P_,className:"text-gray-400 hover:text-white transition-all duration-200"})}),me.jsx("button",{onClick:()=>{const[B,_]=L.parent(o,O);!Ot.isElement(B)||B.type!=="contentValue"||Ke.removeNodes(o,{at:_})},className:"p-3",children:me.jsx(gl,{icon:q_,className:"text-gray-400 hover:text-white transition-all duration-200"})})]}):null}return me.jsxs("div",{ref:i,className:"flex w-fit items-start gap-2 absolute z-10 right-0",style:{opacity:C?1:0,zIndex:C?10:-1,left:`${d}px`,top:`${b}px`,transition:"opacity 0.5s ease-in-out, top 0.1s ease-in-out, left 0.1s ease-in-out, z-index 0.5s ease-in-out"},onMouseDown:B=>{B.target instanceof HTMLInputElement||B.preventDefault()},children:[me.jsxs("div",{className:"flex items-center px-2 bg-black/80 rounded-md backdrop-blur-sm",children:[me.jsx(F,{}),me.jsx(x,{}),me.jsx(H,{})]}),me.jsx(hz,{uuid:n})]},`toolbar-${n}`)}function vz(n,a){return n.bold&&a.push("font-bold"),a}function pz(n,a){return n.title&&a.push("text-2xl"),a}function gz(n,a){return n.italic&&a.push("italic"),a}function yz(n,a){return n.underline&&a.push("underline"),n.strikethrough&&a.push("line-through"),a}class bz{constructor(a){this.element=a,this.decorators=[]}add(a){return this.decorators.push(a),this}build(){return a=>(this.decorators.forEach(i=>i(this.element,a)),a)}}function Dz(n){function a(){return new bz(n.leaf).add(vz).add(pz).add(gz).add(yz).build()([]).join(" ")}return me.jsx("span",{...n.attributes,className:a(),children:n.children})}function Ez({attributes:n,children:a,element:i}){const o=O8(),d={fontWeight:i.children[0].bold?"bold":"normal",fontStyle:i.children[0].italic?"italic":"normal",textDecoration:`${i.children[0].underline?"underline":""} ${i.children[0].strikethrough?"line-through":""}`};return me.jsx("span",{className:`${o?"bg-[#EAEAFA]":""} border border-[#705ED9] rounded-l-sm`,children:me.jsxs("span",{...n,contentEditable:!1,className:"border-[#705ED9] px-2 border-r-3",style:d,children:[a,i.root?HD(i.root):""]})})}function Sz(n){return me.jsx("pre",{...n.attributes,children:me.jsx("code",{children:n.children})})}function Cz({attributes:n,children:a,element:i}){const o={};switch(i.type){case"heading":switch(i.level){case 1:return me.jsx("h1",{style:o,...n,className:"text-5xl",children:a});case 2:return me.jsx("h2",{style:o,...n,className:"text-4xl",children:a});case 3:return me.jsx("h3",{style:o,...n,className:"text-3xl",children:a});case 4:return me.jsx("h4",{style:o,...n,className:"text-2xl",children:a});case 5:return me.jsx("h5",{style:o,...n,className:"text-xl",children:a});default:return me.jsx("h5",{style:o,...n,className:"text-xl",children:a})}case"list":return i.ordered?me.jsx("ol",{style:o,...n,className:"list-decimal pl-4",children:a}):me.jsx("ul",{style:o,...n,className:"list-disc pl-4",children:a});case"blockquote":return me.jsx("blockquote",{style:o,...n,children:a});case"listItem":return me.jsx("li",{style:o,...n,children:a});case"code":return me.jsx(Sz,{element:i,attributes:n,children:a});case"contentValue":return me.jsx(Ez,{element:i,attributes:n,children:a});default:return me.jsx("p",{style:o,...n,children:a})}}const Ed=J7({reducer:{editor:vk}}),RO={"mod+b":"bold","mod+i":"italic","mod+u":"underline","mod+-":"strikethrough"};var QS={exports:{}},BO;function Az(){return BO||(BO=1,function(n){var a=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
712
+ * Prism: Lightweight, robust, elegant syntax highlighting
713
+ *
714
+ * @license MIT <https://opensource.org/licenses/MIT>
715
+ * @author Lea Verou <https://lea.verou.me>
716
+ * @namespace
717
+ * @public
718
+ */var i=function(o){var d=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,p=0,b={},E={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:function B(_){return _ instanceof C?new C(_.type,B(_.content),_.alias):Array.isArray(_)?_.map(B):_.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(B){return Object.prototype.toString.call(B).slice(8,-1)},objId:function(B){return B.__id||Object.defineProperty(B,"__id",{value:++p}),B.__id},clone:function B(_,V){V=V||{};var q,K;switch(E.util.type(_)){case"Object":if(K=E.util.objId(_),V[K])return V[K];q={},V[K]=q;for(var ie in _)_.hasOwnProperty(ie)&&(q[ie]=B(_[ie],V));return q;case"Array":return K=E.util.objId(_),V[K]?V[K]:(q=[],V[K]=q,_.forEach(function(Ee,ue){q[ue]=B(Ee,V)}),q);default:return _}},getLanguage:function(B){for(;B;){var _=d.exec(B.className);if(_)return _[1].toLowerCase();B=B.parentElement}return"none"},setLanguage:function(B,_){B.className=B.className.replace(RegExp(d,"gi"),""),B.classList.add("language-"+_)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(q){var B=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(q.stack)||[])[1];if(B){var _=document.getElementsByTagName("script");for(var V in _)if(_[V].src==B)return _[V]}return null}},isActive:function(B,_,V){for(var q="no-"+_;B;){var K=B.classList;if(K.contains(_))return!0;if(K.contains(q))return!1;B=B.parentElement}return!!V}},languages:{plain:b,plaintext:b,text:b,txt:b,extend:function(B,_){var V=E.util.clone(E.languages[B]);for(var q in _)V[q]=_[q];return V},insertBefore:function(B,_,V,q){q=q||E.languages;var K=q[B],ie={};for(var Ee in K)if(K.hasOwnProperty(Ee)){if(Ee==_)for(var ue in V)V.hasOwnProperty(ue)&&(ie[ue]=V[ue]);V.hasOwnProperty(Ee)||(ie[Ee]=K[Ee])}var xe=q[B];return q[B]=ie,E.languages.DFS(E.languages,function(ze,ke){ke===xe&&ze!=B&&(this[ze]=ie)}),ie},DFS:function B(_,V,q,K){K=K||{};var ie=E.util.objId;for(var Ee in _)if(_.hasOwnProperty(Ee)){V.call(_,Ee,_[Ee],q||Ee);var ue=_[Ee],xe=E.util.type(ue);xe==="Object"&&!K[ie(ue)]?(K[ie(ue)]=!0,B(ue,V,null,K)):xe==="Array"&&!K[ie(ue)]&&(K[ie(ue)]=!0,B(ue,V,Ee,K))}}},plugins:{},highlightAll:function(B,_){E.highlightAllUnder(document,B,_)},highlightAllUnder:function(B,_,V){var q={callback:V,container:B,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};E.hooks.run("before-highlightall",q),q.elements=Array.prototype.slice.apply(q.container.querySelectorAll(q.selector)),E.hooks.run("before-all-elements-highlight",q);for(var K=0,ie;ie=q.elements[K++];)E.highlightElement(ie,_===!0,q.callback)},highlightElement:function(B,_,V){var q=E.util.getLanguage(B),K=E.languages[q];E.util.setLanguage(B,q);var ie=B.parentElement;ie&&ie.nodeName.toLowerCase()==="pre"&&E.util.setLanguage(ie,q);var Ee=B.textContent,ue={element:B,language:q,grammar:K,code:Ee};function xe(ke){ue.highlightedCode=ke,E.hooks.run("before-insert",ue),ue.element.innerHTML=ue.highlightedCode,E.hooks.run("after-highlight",ue),E.hooks.run("complete",ue),V&&V.call(ue.element)}if(E.hooks.run("before-sanity-check",ue),ie=ue.element.parentElement,ie&&ie.nodeName.toLowerCase()==="pre"&&!ie.hasAttribute("tabindex")&&ie.setAttribute("tabindex","0"),!ue.code){E.hooks.run("complete",ue),V&&V.call(ue.element);return}if(E.hooks.run("before-highlight",ue),!ue.grammar){xe(E.util.encode(ue.code));return}if(_&&o.Worker){var ze=new Worker(E.filename);ze.onmessage=function(ke){xe(ke.data)},ze.postMessage(JSON.stringify({language:ue.language,code:ue.code,immediateClose:!0}))}else xe(E.highlight(ue.code,ue.grammar,ue.language))},highlight:function(B,_,V){var q={code:B,grammar:_,language:V};if(E.hooks.run("before-tokenize",q),!q.grammar)throw new Error('The language "'+q.language+'" has no grammar.');return q.tokens=E.tokenize(q.code,q.grammar),E.hooks.run("after-tokenize",q),C.stringify(E.util.encode(q.tokens),q.language)},tokenize:function(B,_){var V=_.rest;if(V){for(var q in V)_[q]=V[q];delete _.rest}var K=new R;return N(K,K.head,B),O(B,K,_,K.head,0),U(K)},hooks:{all:{},add:function(B,_){var V=E.hooks.all;V[B]=V[B]||[],V[B].push(_)},run:function(B,_){var V=E.hooks.all[B];if(!(!V||!V.length))for(var q=0,K;K=V[q++];)K(_)}},Token:C};o.Prism=E;function C(B,_,V,q){this.type=B,this.content=_,this.alias=V,this.length=(q||"").length|0}C.stringify=function B(_,V){if(typeof _=="string")return _;if(Array.isArray(_)){var q="";return _.forEach(function(xe){q+=B(xe,V)}),q}var K={type:_.type,content:B(_.content,V),tag:"span",classes:["token",_.type],attributes:{},language:V},ie=_.alias;ie&&(Array.isArray(ie)?Array.prototype.push.apply(K.classes,ie):K.classes.push(ie)),E.hooks.run("wrap",K);var Ee="";for(var ue in K.attributes)Ee+=" "+ue+'="'+(K.attributes[ue]||"").replace(/"/g,"&quot;")+'"';return"<"+K.tag+' class="'+K.classes.join(" ")+'"'+Ee+">"+K.content+"</"+K.tag+">"};function A(B,_,V,q){B.lastIndex=_;var K=B.exec(V);if(K&&q&&K[1]){var ie=K[1].length;K.index+=ie,K[0]=K[0].slice(ie)}return K}function O(B,_,V,q,K,ie){for(var Ee in V)if(!(!V.hasOwnProperty(Ee)||!V[Ee])){var ue=V[Ee];ue=Array.isArray(ue)?ue:[ue];for(var xe=0;xe<ue.length;++xe){if(ie&&ie.cause==Ee+","+xe)return;var ze=ue[xe],ke=ze.inside,je=!!ze.lookbehind,le=!!ze.greedy,Ve=ze.alias;if(le&&!ze.pattern.global){var ne=ze.pattern.toString().match(/[imsuy]*$/)[0];ze.pattern=RegExp(ze.pattern.source,ne+"g")}for(var ve=ze.pattern||ze,be=q.next,qe=K;be!==_.tail&&!(ie&&qe>=ie.reach);qe+=be.value.length,be=be.next){var oe=be.value;if(_.length>B.length)return;if(!(oe instanceof C)){var Se=1,Xe;if(le){if(Xe=A(ve,qe,B,je),!Xe||Xe.index>=B.length)break;var Q=Xe.index,Te=Xe.index+Xe[0].length,Ye=qe;for(Ye+=be.value.length;Q>=Ye;)be=be.next,Ye+=be.value.length;if(Ye-=be.value.length,qe=Ye,be.value instanceof C)continue;for(var We=be;We!==_.tail&&(Ye<Te||typeof We.value=="string");We=We.next)Se++,Ye+=We.value.length;Se--,oe=B.slice(qe,Ye),Xe.index-=qe}else if(Xe=A(ve,0,oe,je),!Xe)continue;var Q=Xe.index,Ue=Xe[0],Ce=oe.slice(0,Q),we=oe.slice(Q+Ue.length),Ze=qe+oe.length;ie&&Ze>ie.reach&&(ie.reach=Ze);var Ie=be.prev;Ce&&(Ie=N(_,Ie,Ce),qe+=Ce.length),z(_,Ie,Se);var Me=new C(Ee,ke?E.tokenize(Ue,ke):Ue,Ve,Ue);if(be=N(_,Ie,Me),we&&N(_,be,we),Se>1){var At={cause:Ee+","+xe,reach:Ze};O(B,_,V,be.prev,qe,At),ie&&At.reach>ie.reach&&(ie.reach=At.reach)}}}}}}function R(){var B={value:null,prev:null,next:null},_={value:null,prev:B,next:null};B.next=_,this.head=B,this.tail=_,this.length=0}function N(B,_,V){var q=_.next,K={value:V,prev:_,next:q};return _.next=K,q.prev=K,B.length++,K}function z(B,_,V){for(var q=_.next,K=0;K<V&&q!==B.tail;K++)q=q.next;_.next=q,q.prev=_,B.length-=K}function U(B){for(var _=[],V=B.head.next;V!==B.tail;)_.push(V.value),V=V.next;return _}if(!o.document)return o.addEventListener&&(E.disableWorkerMessageHandler||o.addEventListener("message",function(B){var _=JSON.parse(B.data),V=_.language,q=_.code,K=_.immediateClose;o.postMessage(E.highlight(q,E.languages[V],V)),K&&o.close()},!1)),E;var F=E.util.currentScript();F&&(E.filename=F.src,F.hasAttribute("data-manual")&&(E.manual=!0));function x(){E.manual||E.highlightAll()}if(!E.manual){var H=document.readyState;H==="loading"||H==="interactive"&&F&&F.defer?document.addEventListener("DOMContentLoaded",x):window.requestAnimationFrame?window.requestAnimationFrame(x):window.setTimeout(x,16)}return E}(a);n.exports&&(n.exports=i),typeof nc<"u"&&(nc.Prism=i),i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.replace(/&amp;/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(d,p){var b={};b["language-"+p]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[p]},b.cdata=/^<!\[CDATA\[|\]\]>$/i;var E={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:b}};E["language-"+p]={pattern:/[\s\S]+/,inside:i.languages[p]};var C={};C[d]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return d}),"i"),lookbehind:!0,greedy:!0,inside:E},i.languages.insertBefore("markup","cdata",C)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(o,d){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[d,"language-"+d],inside:i.languages[d]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(o){var d=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+d.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+d.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+d.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+d.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:d,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var p=o.languages.markup;p&&(p.tag.addInlined("style","css"),p.tag.addAttribute("style","css"))}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(){if(typeof i>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var o="Loading…",d=function(F,x){return"✖ Error "+F+" while fetching file: "+x},p="✖ Error: File does not exist or is empty",b={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},E="data-src-status",C="loading",A="loaded",O="failed",R="pre[data-src]:not(["+E+'="'+A+'"]):not(['+E+'="'+C+'"])';function N(F,x,H){var B=new XMLHttpRequest;B.open("GET",F,!0),B.onreadystatechange=function(){B.readyState==4&&(B.status<400&&B.responseText?x(B.responseText):B.status>=400?H(d(B.status,B.statusText)):H(p))},B.send(null)}function z(F){var x=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(F||"");if(x){var H=Number(x[1]),B=x[2],_=x[3];return B?_?[H,Number(_)]:[H,void 0]:[H,H]}}i.hooks.add("before-highlightall",function(F){F.selector+=", "+R}),i.hooks.add("before-sanity-check",function(F){var x=F.element;if(x.matches(R)){F.code="",x.setAttribute(E,C);var H=x.appendChild(document.createElement("CODE"));H.textContent=o;var B=x.getAttribute("data-src"),_=F.language;if(_==="none"){var V=(/\.(\w+)$/.exec(B)||[,"none"])[1];_=b[V]||V}i.util.setLanguage(H,_),i.util.setLanguage(x,_);var q=i.plugins.autoloader;q&&q.loadLanguages(_),N(B,function(K){x.setAttribute(E,A);var ie=z(x.getAttribute("data-range"));if(ie){var Ee=K.split(/\r\n?|\n/g),ue=ie[0],xe=ie[1]==null?Ee.length:ie[1];ue<0&&(ue+=Ee.length),ue=Math.max(0,Math.min(ue-1,Ee.length)),xe<0&&(xe+=Ee.length),xe=Math.max(0,Math.min(xe,Ee.length)),K=Ee.slice(ue,xe).join(`
719
+ `),x.hasAttribute("data-start")||x.setAttribute("data-start",String(ue+1))}H.textContent=K,i.highlightElement(H)},function(K){x.setAttribute(E,O),H.textContent=K})}}),i.plugins.fileHighlight={highlight:function(x){for(var H=(x||document).querySelectorAll(R),B=0,_;_=H[B++];)i.highlightElement(_)}};var U=!1;i.fileHighlight=function(){U||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),U=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}()}(QS)),QS.exports}var wz=Az();const NO=em(wz);function xz(n){const{isInline:a,isVoid:i,markableVoid:o}=n;return n.isInline=d=>d.type==="contentValue"?!0:a(d),n.isVoid=d=>d.type==="contentValue"?!0:i(d),n.markableVoid=d=>d.type==="contentValue"?!0:o(d),n}function Tz([n,a]){const i=[];if(!_t.isText(n))return i;function o(b){return typeof b=="string"?b.length:typeof b.content=="string"?b.content.length:Array.isArray(b.content)?b.content.reduce((E,C)=>E+o(C),0):0}const d=NO.tokenize(n.text,NO.languages.markdown);let p=0;for(const b of d){const E=o(b),C=p+E;typeof b!="string"&&i.push({[b.type]:!0,anchor:{path:a,offset:p},focus:{path:a,offset:C}}),p=C}return i}function Oz({uuid:n}){const a=ac(),i=N3(),o=sC(O=>fC(O,n)),d=te.useRef(null);N4(d,()=>{i(ly({uuid:n,state:{target:void 0}}))});function p(O=1){return o?{type:"heading",level:O,children:[{text:L.string(a,{...o,anchor:{...o.anchor,offset:o.anchor.offset+1}})}]}:null}function b(O=!0){return o?{type:"list",ordered:O,children:[{type:"listItem",children:[{text:L.string(a,{...o,anchor:{...o.anchor,offset:o.anchor.offset+1}})}]}]}:null}function E(){return o?{type:"code",children:[{text:L.string(a,{...o,anchor:{...o.anchor,offset:o.anchor.offset+1}})}]}:null}const C=[{icon:Rg,text:"Heading 1",generator:p,args:1},{icon:Rg,text:"Heading 2",generator:p,args:2},{icon:Rg,text:"Heading 3",generator:p,args:3},{icon:Rg,text:"Heading 4",generator:p,args:4},{icon:Rg,text:"Heading 5",generator:p,args:5},{icon:z4,text:"Bulleted List",generator:b,args:!1},{icon:M4,text:"Numbered List",generator:b,args:!0},{icon:_4,text:"Code",generator:E}];function A(O){if(!o)return;const[R,N]=L.parent(a,o);Ke.select(a,o),st.string(R).startsWith("/")&&!st.string(R).includes(" ")&&Ke.removeNodes(a,{at:N}),Ke.insertNodes(a,O)}return o?me.jsx(me.Fragment,{children:me.jsx("div",{ref:d,className:"absolute left-0 mt-1 z-10",onMouseDown:O=>{O.preventDefault()},children:me.jsxs(UC,{children:[me.jsx(L1,{text:"Content"}),me.jsx(ry,{icon:k4,text:"Smart content",children:me.jsx(pR,{uuid:n})}),me.jsx(ry,{icon:wC,text:"Reusable content",children:me.jsx(vR,{uuid:n})}),me.jsx("hr",{className:"border-gray-100"}),me.jsx(L1,{text:"Format"}),C.map((O,R)=>me.jsx(ry,{icon:O.icon,text:O.text,onClick:()=>A(O.generator(O.args))},`format-option-${R}`))]})})}):null}(function(n){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(O){return O=O.replace(/<inner>/g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+O+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,d=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),p=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+d+p+"(?:"+d+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+d+p+")(?:"+d+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+d+")"+p+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+d+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(O){["url","bold","italic","strike","code-snippet"].forEach(function(R){O!==R&&(n.languages.markdown[O].inside.content.inside[R]=n.languages.markdown[R])})}),n.hooks.add("after-tokenize",function(O){if(O.language!=="markdown"&&O.language!=="md")return;function R(N){if(!(!N||typeof N=="string"))for(var z=0,U=N.length;z<U;z++){var F=N[z];if(F.type!=="code"){R(F.content);continue}var x=F.content[1],H=F.content[3];if(x&&H&&x.type==="code-language"&&H.type==="code-block"&&typeof x.content=="string"){var B=x.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");B=(/[a-z][\w-]*/i.exec(B)||[""])[0].toLowerCase();var _="language-"+B;H.alias?typeof H.alias=="string"?H.alias=[H.alias,_]:H.alias.push(_):H.alias=[_]}}}R(O.tokens)}),n.hooks.add("wrap",function(O){if(O.type==="code-block"){for(var R="",N=0,z=O.classes.length;N<z;N++){var U=O.classes[N],F=/language-(.+)/.exec(U);if(F){R=F[1];break}}var x=n.languages[R];if(x)O.content=n.highlight(A(O.content),x,R);else if(R&&R!=="none"&&n.plugins.autoloader){var H="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);O.attributes.id=H,n.plugins.autoloader.loadLanguages(R,function(){var B=document.getElementById(H);B&&(B.innerHTML=n.highlight(B.textContent,n.languages[R],R))})}}});var b=RegExp(n.languages.markup.tag.pattern.source,"gi"),E={amp:"&",lt:"<",gt:">",quot:'"'},C=String.fromCodePoint||String.fromCharCode;function A(O){var R=O.replace(b,"");return R=R.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(N,z){if(z=z.toLowerCase(),z[0]==="#"){var U;return z[1]==="x"?U=parseInt(z.slice(2),16):U=Number(z.slice(1)),C(U)}else{var F=E[z];return F||N}}),R}n.languages.md=n.languages.markdown})(Prism);var dD={exports:{}},Rz=dD.exports,kO;function Bz(){return kO||(kO=1,function(n){(function(a,i){n.exports=i()})(Rz,function(){var a=Object.prototype.toString;function i(R,N){return R==null?!1:Object.prototype.hasOwnProperty.call(R,N)}function o(R){if(!R||b(R)&&R.length===0)return!0;if(typeof R!="string"){for(var N in R)if(i(R,N))return!1;return!0}return!1}function d(R){return a.call(R)}function p(R){return typeof R=="object"&&d(R)==="[object Object]"}var b=Array.isArray||function(R){return a.call(R)==="[object Array]"};function E(R){return typeof R=="boolean"||d(R)==="[object Boolean]"}function C(R){var N=parseInt(R);return N.toString()===R?N:R}function A(R){R=R||{};var N=function(H){return Object.keys(N).reduce(function(B,_){return _==="create"||typeof N[_]=="function"&&(B[_]=N[_].bind(N,H)),B},{})},z;R.includeInheritedProps?z=function(){return!0}:z=function(H,B){return typeof B=="number"&&Array.isArray(H)||i(H,B)};function U(H,B){if(z(H,B))return H[B]}var F;R.includeInheritedProps?F=function(H,B){typeof B!="string"&&typeof B!="number"&&(B=String(B));var _=U(H,B);if(B==="__proto__"||B==="prototype"||B==="constructor"&&typeof _=="function")throw new Error("For security reasons, object's magic properties cannot be set");return _}:F=function(H,B){return U(H,B)};function x(H,B,_,V){if(typeof B=="number"&&(B=[B]),!B||B.length===0)return H;if(typeof B=="string")return x(H,B.split(".").map(C),_,V);var q=B[0],K=F(H,q);return B.length===1?((K===void 0||!V)&&(H[q]=_),K):(K===void 0&&(typeof B[1]=="number"?H[q]=[]:H[q]={}),x(H[q],B.slice(1),_,V))}return N.has=function(H,B){if(typeof B=="number"?B=[B]:typeof B=="string"&&(B=B.split(".")),!B||B.length===0)return!!H;for(var _=0;_<B.length;_++){var V=C(B[_]);if(typeof V=="number"&&b(H)&&V<H.length||(R.includeInheritedProps?V in Object(H):i(H,V)))H=H[V];else return!1}return!0},N.ensureExists=function(H,B,_){return x(H,B,_,!0)},N.set=function(H,B,_,V){return x(H,B,_,V)},N.insert=function(H,B,_,V){var q=N.get(H,B);V=~~V,b(q)||(q=[],N.set(H,B,q)),q.splice(V,0,_)},N.empty=function(H,B){if(!o(B)&&H!=null){var _,V;if(_=N.get(H,B)){if(typeof _=="string")return N.set(H,B,"");if(E(_))return N.set(H,B,!1);if(typeof _=="number")return N.set(H,B,0);if(b(_))_.length=0;else if(p(_))for(V in _)z(_,V)&&delete _[V];else return N.set(H,B,null)}}},N.push=function(H,B){var _=N.get(H,B);b(_)||(_=[],N.set(H,B,_)),_.push.apply(_,Array.prototype.slice.call(arguments,2))},N.coalesce=function(H,B,_){for(var V,q=0,K=B.length;q<K;q++)if((V=N.get(H,B[q]))!==void 0)return V;return _},N.get=function(H,B,_){if(typeof B=="number"&&(B=[B]),!B||B.length===0)return H;if(H==null)return _;if(typeof B=="string")return N.get(H,B.split("."),_);var V=C(B[0]),q=F(H,V);return q===void 0?_:B.length===1?q:N.get(H[V],B.slice(1),_)},N.del=function(B,_){if(typeof _=="number"&&(_=[_]),B==null||o(_))return B;if(typeof _=="string")return N.del(B,_.split("."));var V=C(_[0]);if(F(B,V),!z(B,V))return B;if(_.length===1)b(B)?B.splice(V,1):delete B[V];else return N.del(B[V],_.slice(1));return B},N}var O=A();return O.create=A,O.withInheritedProps=A({includeInheritedProps:!0}),O})}(dD)),dD.exports}var ZS,MO;function Nz(){if(MO)return ZS;MO=1;var n=Bz().get;function a(o,d){return o===d}function i(o,d,p){p=p||a;var b=n(o(),d);return function(C){return function(){var A=n(o(),d);if(!p(b,A)){var O=b;b=A,C(A,O,d)}}}}return ZS=i,ZS}var kz=Nz();const gR=em(kz);function Mz({uuid:n,context:a}){var N;const[i]=te.useState(((N=m2(Ed.getState(),n))==null?void 0:N.initialValue)??[]),o=N3(),d=te.useMemo(()=>xz(Q8(TN())),[]),p=te.useCallback(z=>me.jsx(Dz,{...z}),[]),b=te.useCallback(z=>me.jsx(Cz,{...z}),[]),E=gR(()=>m2(Ed.getState(),n).initialValue);Ed.subscribe(E(z=>{Ke.select(d,[]),Ke.removeNodes(d),Ke.insertNodes(d,z)}));function C(z){A(z),o(ly({uuid:n,state:{target:O()}}))}function A(z){d.operations.some(F=>F.type!=="set_selection")&&o(ly({uuid:n,state:{value:z}}))}function O(){const{selection:z}=d;if(!z||!Fe.isCollapsed(z))return;const[U]=Fe.edges(z),F=L.before(d,U,{unit:"character"}),x=F&&L.string(d,L.range(d,F,{...F,offset:F.offset+1}));if(x===" ")return;if(F&&x==="/"){const _=L.after(d,F,{unit:"word"});return _&&L.string(d,L.range(d,F,_)).includes(" ")?L.range(d,F,{...F,offset:F.offset+1}):L.range(d,F,_)}const H=L.before(d,U,{unit:"word"});if(!H)return;const B=L.before(d,H,{unit:"character"});if(B&&L.string(d,L.range(d,B,H))==="/")return L.range(d,B,L.after(d,H,{unit:"word"}))}function R(z){for(const U in RO)if(ZN(U,z)){z.preventDefault();const F=RO[U];B4(d,F)}}return me.jsx("div",{className:"relative",children:me.jsxs(P8,{editor:d,initialValue:i,onChange:C,children:[me.jsx(mz,{uuid:n,context:a}),me.jsx(j8,{placeholder:"Enter some text or use the / command",decorate:te.useCallback(Tz,[]),renderLeaf:p,renderElement:b,className:"outline-none my-2 max-h-32 overflow-y-auto overflow-x-hidden",onKeyDown:R,autoFocus:!0}),me.jsx(Oz,{uuid:n})]})})}var nD={exports:{}},m1={},aD={exports:{}},WS={};/**
720
+ * @license React
721
+ * scheduler.production.js
722
+ *
723
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
724
+ *
725
+ * This source code is licensed under the MIT license found in the
726
+ * LICENSE file in the root directory of this source tree.
727
+ */var _O;function _z(){return _O||(_O=1,function(n){function a(ne,ve){var be=ne.length;ne.push(ve);e:for(;0<be;){var qe=be-1>>>1,oe=ne[qe];if(0<d(oe,ve))ne[qe]=ve,ne[be]=oe,be=qe;else break e}}function i(ne){return ne.length===0?null:ne[0]}function o(ne){if(ne.length===0)return null;var ve=ne[0],be=ne.pop();if(be!==ve){ne[0]=be;e:for(var qe=0,oe=ne.length,Se=oe>>>1;qe<Se;){var Xe=2*(qe+1)-1,Te=ne[Xe],Ye=Xe+1,We=ne[Ye];if(0>d(Te,be))Ye<oe&&0>d(We,Te)?(ne[qe]=We,ne[Ye]=be,qe=Ye):(ne[qe]=Te,ne[Xe]=be,qe=Xe);else if(Ye<oe&&0>d(We,be))ne[qe]=We,ne[Ye]=be,qe=Ye;else break e}}return ve}function d(ne,ve){var be=ne.sortIndex-ve.sortIndex;return be!==0?be:ne.id-ve.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var b=Date,E=b.now();n.unstable_now=function(){return b.now()-E}}var C=[],A=[],O=1,R=null,N=3,z=!1,U=!1,F=!1,x=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;function _(ne){for(var ve=i(A);ve!==null;){if(ve.callback===null)o(A);else if(ve.startTime<=ne)o(A),ve.sortIndex=ve.expirationTime,a(C,ve);else break;ve=i(A)}}function V(ne){if(F=!1,_(ne),!U)if(i(C)!==null)U=!0,le();else{var ve=i(A);ve!==null&&Ve(V,ve.startTime-ne)}}var q=!1,K=-1,ie=5,Ee=-1;function ue(){return!(n.unstable_now()-Ee<ie)}function xe(){if(q){var ne=n.unstable_now();Ee=ne;var ve=!0;try{e:{U=!1,F&&(F=!1,H(K),K=-1),z=!0;var be=N;try{t:{for(_(ne),R=i(C);R!==null&&!(R.expirationTime>ne&&ue());){var qe=R.callback;if(typeof qe=="function"){R.callback=null,N=R.priorityLevel;var oe=qe(R.expirationTime<=ne);if(ne=n.unstable_now(),typeof oe=="function"){R.callback=oe,_(ne),ve=!0;break t}R===i(C)&&o(C),_(ne)}else o(C);R=i(C)}if(R!==null)ve=!0;else{var Se=i(A);Se!==null&&Ve(V,Se.startTime-ne),ve=!1}}break e}finally{R=null,N=be,z=!1}ve=void 0}}finally{ve?ze():q=!1}}}var ze;if(typeof B=="function")ze=function(){B(xe)};else if(typeof MessageChannel<"u"){var ke=new MessageChannel,je=ke.port2;ke.port1.onmessage=xe,ze=function(){je.postMessage(null)}}else ze=function(){x(xe,0)};function le(){q||(q=!0,ze())}function Ve(ne,ve){K=x(function(){ne(n.unstable_now())},ve)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ne){ne.callback=null},n.unstable_continueExecution=function(){U||z||(U=!0,le())},n.unstable_forceFrameRate=function(ne){0>ne||125<ne?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<ne?Math.floor(1e3/ne):5},n.unstable_getCurrentPriorityLevel=function(){return N},n.unstable_getFirstCallbackNode=function(){return i(C)},n.unstable_next=function(ne){switch(N){case 1:case 2:case 3:var ve=3;break;default:ve=N}var be=N;N=ve;try{return ne()}finally{N=be}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(ne,ve){switch(ne){case 1:case 2:case 3:case 4:case 5:break;default:ne=3}var be=N;N=ne;try{return ve()}finally{N=be}},n.unstable_scheduleCallback=function(ne,ve,be){var qe=n.unstable_now();switch(typeof be=="object"&&be!==null?(be=be.delay,be=typeof be=="number"&&0<be?qe+be:qe):be=qe,ne){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=be+oe,ne={id:O++,callback:ve,priorityLevel:ne,startTime:be,expirationTime:oe,sortIndex:-1},be>qe?(ne.sortIndex=be,a(A,ne),i(C)===null&&ne===i(A)&&(F?(H(K),K=-1):F=!0,Ve(V,be-qe))):(ne.sortIndex=oe,a(C,ne),U||z||(U=!0,le())),ne},n.unstable_shouldYield=ue,n.unstable_wrapCallback=function(ne){var ve=N;return function(){var be=N;N=ve;try{return ne.apply(this,arguments)}finally{N=be}}}}(WS)),WS}var IS={};/**
728
+ * @license React
729
+ * scheduler.development.js
730
+ *
731
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
732
+ *
733
+ * This source code is licensed under the MIT license found in the
734
+ * LICENSE file in the root directory of this source tree.
735
+ */var FO;function Fz(){return FO||(FO=1,function(n){process.env.NODE_ENV!=="production"&&function(){function a(){if(ue){var ne=n.unstable_now();ke=ne;var ve=!0;try{e:{V=!1,q&&(q=!1,ie(xe),xe=-1),_=!0;var be=B;try{t:{for(b(ne),H=o(U);H!==null&&!(H.expirationTime>ne&&C());){var qe=H.callback;if(typeof qe=="function"){H.callback=null,B=H.priorityLevel;var oe=qe(H.expirationTime<=ne);if(ne=n.unstable_now(),typeof oe=="function"){H.callback=oe,b(ne),ve=!0;break t}H===o(U)&&d(U),b(ne)}else d(U);H=o(U)}if(H!==null)ve=!0;else{var Se=o(F);Se!==null&&O(E,Se.startTime-ne),ve=!1}}break e}finally{H=null,B=be,_=!1}ve=void 0}}finally{ve?je():ue=!1}}}function i(ne,ve){var be=ne.length;ne.push(ve);e:for(;0<be;){var qe=be-1>>>1,oe=ne[qe];if(0<p(oe,ve))ne[qe]=ve,ne[be]=oe,be=qe;else break e}}function o(ne){return ne.length===0?null:ne[0]}function d(ne){if(ne.length===0)return null;var ve=ne[0],be=ne.pop();if(be!==ve){ne[0]=be;e:for(var qe=0,oe=ne.length,Se=oe>>>1;qe<Se;){var Xe=2*(qe+1)-1,Te=ne[Xe],Ye=Xe+1,We=ne[Ye];if(0>p(Te,be))Ye<oe&&0>p(We,Te)?(ne[qe]=We,ne[Ye]=be,qe=Ye):(ne[qe]=Te,ne[Xe]=be,qe=Xe);else if(Ye<oe&&0>p(We,be))ne[qe]=We,ne[Ye]=be,qe=Ye;else break e}}return ve}function p(ne,ve){var be=ne.sortIndex-ve.sortIndex;return be!==0?be:ne.id-ve.id}function b(ne){for(var ve=o(F);ve!==null;){if(ve.callback===null)d(F);else if(ve.startTime<=ne)d(F),ve.sortIndex=ve.expirationTime,i(U,ve);else break;ve=o(F)}}function E(ne){if(q=!1,b(ne),!V)if(o(U)!==null)V=!0,A();else{var ve=o(F);ve!==null&&O(E,ve.startTime-ne)}}function C(){return!(n.unstable_now()-ke<ze)}function A(){ue||(ue=!0,je())}function O(ne,ve){xe=K(function(){ne(n.unstable_now())},ve)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var R=performance;n.unstable_now=function(){return R.now()}}else{var N=Date,z=N.now();n.unstable_now=function(){return N.now()-z}}var U=[],F=[],x=1,H=null,B=3,_=!1,V=!1,q=!1,K=typeof setTimeout=="function"?setTimeout:null,ie=typeof clearTimeout=="function"?clearTimeout:null,Ee=typeof setImmediate<"u"?setImmediate:null,ue=!1,xe=-1,ze=5,ke=-1;if(typeof Ee=="function")var je=function(){Ee(a)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,Ve=le.port2;le.port1.onmessage=a,je=function(){Ve.postMessage(null)}}else je=function(){K(a,0)};n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ne){ne.callback=null},n.unstable_continueExecution=function(){V||_||(V=!0,A())},n.unstable_forceFrameRate=function(ne){0>ne||125<ne?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ze=0<ne?Math.floor(1e3/ne):5},n.unstable_getCurrentPriorityLevel=function(){return B},n.unstable_getFirstCallbackNode=function(){return o(U)},n.unstable_next=function(ne){switch(B){case 1:case 2:case 3:var ve=3;break;default:ve=B}var be=B;B=ve;try{return ne()}finally{B=be}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(ne,ve){switch(ne){case 1:case 2:case 3:case 4:case 5:break;default:ne=3}var be=B;B=ne;try{return ve()}finally{B=be}},n.unstable_scheduleCallback=function(ne,ve,be){var qe=n.unstable_now();switch(typeof be=="object"&&be!==null?(be=be.delay,be=typeof be=="number"&&0<be?qe+be:qe):be=qe,ne){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=be+oe,ne={id:x++,callback:ve,priorityLevel:ne,startTime:be,expirationTime:oe,sortIndex:-1},be>qe?(ne.sortIndex=be,i(F,ne),o(U)===null&&ne===o(F)&&(q?(ie(xe),xe=-1):q=!0,O(E,be-qe))):(ne.sortIndex=oe,i(U,ne),V||_||(V=!0,A())),ne},n.unstable_shouldYield=C,n.unstable_wrapCallback=function(ne){var ve=B;return function(){var be=B;B=ve;try{return ne.apply(this,arguments)}finally{B=be}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(IS)),IS}var zO;function yR(){return zO||(zO=1,process.env.NODE_ENV==="production"?aD.exports=_z():aD.exports=Fz()),aD.exports}/**
736
+ * @license React
737
+ * react-dom-client.production.js
738
+ *
739
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
740
+ *
741
+ * This source code is licensed under the MIT license found in the
742
+ * LICENSE file in the root directory of this source tree.
743
+ */var UO;function zz(){if(UO)return m1;UO=1;var n=yR(),a=te,i=Q2;function o(r){var l="https://react.dev/errors/"+r;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)l+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+r+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}var p=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),N=Symbol.for("react.consumer"),z=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),V=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function K(r){return r===null||typeof r!="object"?null:(r=q&&r[q]||r["@@iterator"],typeof r=="function"?r:null)}var ie=Symbol.for("react.client.reference");function Ee(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===ie?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case C:return"Fragment";case E:return"Portal";case O:return"Profiler";case A:return"StrictMode";case F:return"Suspense";case x:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case z:return(r.displayName||"Context")+".Provider";case N:return(r._context.displayName||"Context")+".Consumer";case U:var l=r.render;return r=r.displayName,r||(r=l.displayName||l.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case H:return l=r.displayName||null,l!==null?l:Ee(r.type)||"Memo";case B:l=r._payload,r=r._init;try{return Ee(r(l))}catch{}}return null}var ue=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xe=Object.assign,ze,ke;function je(r){if(ze===void 0)try{throw Error()}catch(s){var l=s.stack.trim().match(/\n( *(at )?)/);ze=l&&l[1]||"",ke=-1<s.stack.indexOf(`
744
+ at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
745
+ `+ze+r+ke}var le=!1;function Ve(r,l){if(!r||le)return"";le=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var m={DetermineComponentFrameRoot:function(){try{if(l){var at=function(){throw Error()};if(Object.defineProperty(at.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(at,[])}catch(Ge){var Ne=Ge}Reflect.construct(r,[],at)}else{try{at.call()}catch(Ge){Ne=Ge}r.call(at.prototype)}}else{try{throw Error()}catch(Ge){Ne=Ge}(at=r())&&typeof at.catch=="function"&&at.catch(function(){})}}catch(Ge){if(Ge&&Ne&&typeof Ge.stack=="string")return[Ge.stack,Ne.stack]}return[null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=m.DetermineComponentFrameRoot(),M=S[0],$=S[1];if(M&&$){var Z=M.split(`
746
+ `),fe=$.split(`
747
+ `);for(y=m=0;m<Z.length&&!Z[m].includes("DetermineComponentFrameRoot");)m++;for(;y<fe.length&&!fe[y].includes("DetermineComponentFrameRoot");)y++;if(m===Z.length||y===fe.length)for(m=Z.length-1,y=fe.length-1;1<=m&&0<=y&&Z[m]!==fe[y];)y--;for(;1<=m&&0<=y;m--,y--)if(Z[m]!==fe[y]){if(m!==1||y!==1)do if(m--,y--,0>y||Z[m]!==fe[y]){var $e=`
748
+ `+Z[m].replace(" at new "," at ");return r.displayName&&$e.includes("<anonymous>")&&($e=$e.replace("<anonymous>",r.displayName)),$e}while(1<=m&&0<=y);break}}}finally{le=!1,Error.prepareStackTrace=s}return(s=r?r.displayName||r.name:"")?je(s):""}function ne(r){switch(r.tag){case 26:case 27:case 5:return je(r.type);case 16:return je("Lazy");case 13:return je("Suspense");case 19:return je("SuspenseList");case 0:case 15:return r=Ve(r.type,!1),r;case 11:return r=Ve(r.type.render,!1),r;case 1:return r=Ve(r.type,!0),r;default:return""}}function ve(r){try{var l="";do l+=ne(r),r=r.return;while(r);return l}catch(s){return`
749
+ Error generating stack: `+s.message+`
750
+ `+s.stack}}function be(r){var l=r,s=r;if(r.alternate)for(;l.return;)l=l.return;else{r=l;do l=r,l.flags&4098&&(s=l.return),r=l.return;while(r)}return l.tag===3?s:null}function qe(r){if(r.tag===13){var l=r.memoizedState;if(l===null&&(r=r.alternate,r!==null&&(l=r.memoizedState)),l!==null)return l.dehydrated}return null}function oe(r){if(be(r)!==r)throw Error(o(188))}function Se(r){var l=r.alternate;if(!l){if(l=be(r),l===null)throw Error(o(188));return l!==r?null:r}for(var s=r,m=l;;){var y=s.return;if(y===null)break;var S=y.alternate;if(S===null){if(m=y.return,m!==null){s=m;continue}break}if(y.child===S.child){for(S=y.child;S;){if(S===s)return oe(y),r;if(S===m)return oe(y),l;S=S.sibling}throw Error(o(188))}if(s.return!==m.return)s=y,m=S;else{for(var M=!1,$=y.child;$;){if($===s){M=!0,s=y,m=S;break}if($===m){M=!0,m=y,s=S;break}$=$.sibling}if(!M){for($=S.child;$;){if($===s){M=!0,s=S,m=y;break}if($===m){M=!0,m=S,s=y;break}$=$.sibling}if(!M)throw Error(o(189))}}if(s.alternate!==m)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?r:l}function Xe(r){var l=r.tag;if(l===5||l===26||l===27||l===6)return r;for(r=r.child;r!==null;){if(l=Xe(r),l!==null)return l;r=r.sibling}return null}var Te=Array.isArray,Ye=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,We={pending:!1,data:null,method:null,action:null},Q=[],Ue=-1;function Ce(r){return{current:r}}function we(r){0>Ue||(r.current=Q[Ue],Q[Ue]=null,Ue--)}function Ze(r,l){Ue++,Q[Ue]=r.current,r.current=l}var Ie=Ce(null),Me=Ce(null),At=Ce(null),pt=Ce(null);function Lt(r,l){switch(Ze(At,l),Ze(Me,r),Ze(Ie,null),r=l.nodeType,r){case 9:case 11:l=(l=l.documentElement)&&(l=l.namespaceURI)?sv(l):0;break;default:if(r=r===8?l.parentNode:l,l=r.tagName,r=r.namespaceURI)r=sv(r),l=Wp(r,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}we(Ie),Ze(Ie,l)}function sn(){we(Ie),we(Me),we(At)}function xt(r){r.memoizedState!==null&&Ze(pt,r);var l=Ie.current,s=Wp(l,r.type);l!==s&&(Ze(Me,r),Ze(Ie,s))}function ln(r){Me.current===r&&(we(Ie),we(Me)),pt.current===r&&(we(pt),Li._currentValue=We)}var Zt=Object.prototype.hasOwnProperty,yn=n.unstable_scheduleCallback,I=n.unstable_cancelCallback,rt=n.unstable_shouldYield,ct=n.unstable_requestPaint,kt=n.unstable_now,Ft=n.unstable_getCurrentPriorityLevel,Mt=n.unstable_ImmediatePriority,St=n.unstable_UserBlockingPriority,rn=n.unstable_NormalPriority,Un=n.unstable_LowPriority,jn=n.unstable_IdlePriority,Ln=n.log,de=n.unstable_setDisableYieldValue,pe=null,De=null;function ut(r){if(De&&typeof De.onCommitFiberRoot=="function")try{De.onCommitFiberRoot(pe,r,void 0,(r.current.flags&128)===128)}catch{}}function Tt(r){if(typeof Ln=="function"&&de(r),De&&typeof De.setStrictMode=="function")try{De.setStrictMode(pe,r)}catch{}}var un=Math.clz32?Math.clz32:ft,In=Math.log,It=Math.LN2;function ft(r){return r>>>=0,r===0?32:31-(In(r)/It|0)|0}var mt=128,bt=4194304;function Dt(r){var l=r&42;if(l!==0)return l;switch(r&-r){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:return 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 r&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function Bt(r,l){var s=r.pendingLanes;if(s===0)return 0;var m=0,y=r.suspendedLanes,S=r.pingedLanes,M=r.warmLanes;r=r.finishedLanes!==0;var $=s&134217727;return $!==0?(s=$&~y,s!==0?m=Dt(s):(S&=$,S!==0?m=Dt(S):r||(M=$&~M,M!==0&&(m=Dt(M))))):($=s&~y,$!==0?m=Dt($):S!==0?m=Dt(S):r||(M=s&~M,M!==0&&(m=Dt(M)))),m===0?0:l!==0&&l!==m&&!(l&y)&&(y=m&-m,M=l&-l,y>=M||y===32&&(M&4194176)!==0)?l:m}function Wt(r,l){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&l)===0}function gt(r,l){switch(r){case 1:case 2:case 4:case 8:return l+250;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 l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Gt(){var r=mt;return mt<<=1,!(mt&4194176)&&(mt=128),r}function Bn(){var r=bt;return bt<<=1,!(bt&62914560)&&(bt=4194304),r}function fr(r){for(var l=[],s=0;31>s;s++)l.push(r);return l}function dt(r,l){r.pendingLanes|=l,l!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function Vt(r,l,s,m,y,S){var M=r.pendingLanes;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=s,r.entangledLanes&=s,r.errorRecoveryDisabledLanes&=s,r.shellSuspendCounter=0;var $=r.entanglements,Z=r.expirationTimes,fe=r.hiddenUpdates;for(s=M&~s;0<s;){var $e=31-un(s),at=1<<$e;$[$e]=0,Z[$e]=-1;var Ne=fe[$e];if(Ne!==null)for(fe[$e]=null,$e=0;$e<Ne.length;$e++){var Ge=Ne[$e];Ge!==null&&(Ge.lane&=-536870913)}s&=~at}m!==0&&Jt(r,m,0),S!==0&&y===0&&r.tag!==0&&(r.suspendedLanes|=S&~(M&~l))}function Jt(r,l,s){r.pendingLanes|=l,r.suspendedLanes&=~l;var m=31-un(l);r.entangledLanes|=l,r.entanglements[m]=r.entanglements[m]|1073741824|s&4194218}function Da(r,l){var s=r.entangledLanes|=l;for(r=r.entanglements;s;){var m=31-un(s),y=1<<m;y&l|r[m]&l&&(r[m]|=l),s&=~y}}function ja(r){return r&=-r,2<r?8<r?r&134217727?32:268435456:8:2}function Hr(){var r=Ye.p;return r!==0?r:(r=window.event,r===void 0?32:D0(r.type))}function er(r,l){var s=Ye.p;try{return Ye.p=r,l()}finally{Ye.p=s}}var kn=Math.random().toString(36).slice(2),Kn="__reactFiber$"+kn,bn="__reactProps$"+kn,Vr="__reactContainer$"+kn,Df="__reactEvents$"+kn,rc="__reactListeners$"+kn,ui="__reactHandles$"+kn,Ef="__reactResources$"+kn,bl="__reactMarker$"+kn;function ic(r){delete r[Kn],delete r[bn],delete r[Df],delete r[rc],delete r[ui]}function vu(r){var l=r[Kn];if(l)return l;for(var s=r.parentNode;s;){if(l=s[Vr]||s[Kn]){if(s=l.alternate,l.child!==null||s!==null&&s.child!==null)for(r=Oh(r);r!==null;){if(s=r[Kn])return s;r=Oh(r)}return l}r=s,s=r.parentNode}return null}function xn(r){if(r=r[Kn]||r[Vr]){var l=r.tag;if(l===5||l===6||l===13||l===26||l===27||l===3)return r}return null}function dr(r){var l=r.tag;if(l===5||l===26||l===27||l===6)return r.stateNode;throw Error(o(33))}function li(r){var l=r[Ef];return l||(l=r[Ef]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function la(r){r[bl]=!0}var Bd=new Set,uc={};function Xo(r,l){Po(r,l),Po(r+"Capture",l)}function Po(r,l){for(uc[r]=l,r=0;r<l.length;r++)Bd.add(l[r])}var La=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lc=RegExp("^[: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]*$"),Qo={},Pv={};function Nd(r){return Zt.call(Pv,r)?!0:Zt.call(Qo,r)?!1:lc.test(r)?Pv[r]=!0:(Qo[r]=!0,!1)}function oc(r,l,s){if(Nd(l))if(s===null)r.removeAttribute(l);else{switch(typeof s){case"undefined":case"function":case"symbol":r.removeAttribute(l);return;case"boolean":var m=l.toLowerCase().slice(0,5);if(m!=="data-"&&m!=="aria-"){r.removeAttribute(l);return}}r.setAttribute(l,""+s)}}function sc(r,l,s){if(s===null)r.removeAttribute(l);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(l);return}r.setAttribute(l,""+s)}}function Ei(r,l,s,m){if(m===null)r.removeAttribute(s);else{switch(typeof m){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}r.setAttributeNS(l,s,""+m)}}function pr(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Sf(r){var l=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function vy(r){var l=Sf(r)?"checked":"value",s=Object.getOwnPropertyDescriptor(r.constructor.prototype,l),m=""+r[l];if(!r.hasOwnProperty(l)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var y=s.get,S=s.set;return Object.defineProperty(r,l,{configurable:!0,get:function(){return y.call(this)},set:function(M){m=""+M,S.call(this,M)}}),Object.defineProperty(r,l,{enumerable:s.enumerable}),{getValue:function(){return m},setValue:function(M){m=""+M},stopTracking:function(){r._valueTracker=null,delete r[l]}}}}function kd(r){r._valueTracker||(r._valueTracker=vy(r))}function Cf(r){if(!r)return!1;var l=r._valueTracker;if(!l)return!0;var s=l.getValue(),m="";return r&&(m=Sf(r)?r.checked?"true":"false":r.value),r=m,r!==s?(l.setValue(r),!0):!1}function cc(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var Qv=/[\n"\\]/g;function Si(r){return r.replace(Qv,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Md(r,l,s,m,y,S,M,$){r.name="",M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?r.type=M:r.removeAttribute("type"),l!=null?M==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+pr(l)):r.value!==""+pr(l)&&(r.value=""+pr(l)):M!=="submit"&&M!=="reset"||r.removeAttribute("value"),l!=null?Zv(r,M,pr(l)):s!=null?Zv(r,M,pr(s)):m!=null&&r.removeAttribute("value"),y==null&&S!=null&&(r.defaultChecked=!!S),y!=null&&(r.checked=y&&typeof y!="function"&&typeof y!="symbol"),$!=null&&typeof $!="function"&&typeof $!="symbol"&&typeof $!="boolean"?r.name=""+pr($):r.removeAttribute("name")}function _d(r,l,s,m,y,S,M,$){if(S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(r.type=S),l!=null||s!=null){if(!(S!=="submit"&&S!=="reset"||l!=null))return;s=s!=null?""+pr(s):"",l=l!=null?""+pr(l):s,$||l===r.value||(r.value=l),r.defaultValue=l}m=m??y,m=typeof m!="function"&&typeof m!="symbol"&&!!m,r.checked=$?r.checked:!!m,r.defaultChecked=!!m,M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(r.name=M)}function Zv(r,l,s){l==="number"&&cc(r.ownerDocument)===r||r.defaultValue===""+s||(r.defaultValue=""+s)}function Zo(r,l,s,m){if(r=r.options,l){l={};for(var y=0;y<s.length;y++)l["$"+s[y]]=!0;for(s=0;s<r.length;s++)y=l.hasOwnProperty("$"+r[s].value),r[s].selected!==y&&(r[s].selected=y),y&&m&&(r[s].defaultSelected=!0)}else{for(s=""+pr(s),l=null,y=0;y<r.length;y++){if(r[y].value===s){r[y].selected=!0,m&&(r[y].defaultSelected=!0);return}l!==null||r[y].disabled||(l=r[y])}l!==null&&(l.selected=!0)}}function Af(r,l,s){if(l!=null&&(l=""+pr(l),l!==r.value&&(r.value=l),s==null)){r.defaultValue!==l&&(r.defaultValue=l);return}r.defaultValue=s!=null?""+pr(s):""}function fc(r,l,s,m){if(l==null){if(m!=null){if(s!=null)throw Error(o(92));if(Te(m)){if(1<m.length)throw Error(o(93));m=m[0]}s=m}s==null&&(s=""),l=s}s=pr(l),r.defaultValue=s,m=r.textContent,m===s&&m!==""&&m!==null&&(r.value=m)}function oi(r,l){if(l){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===3){s.nodeValue=l;return}}r.textContent=l}var Gg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function nm(r,l,s){var m=l.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?m?r.setProperty(l,""):l==="float"?r.cssFloat="":r[l]="":m?r.setProperty(l,s):typeof s!="number"||s===0||Gg.has(l)?l==="float"?r.cssFloat=s:r[l]=(""+s).trim():r[l]=s+"px"}function Wv(r,l,s){if(l!=null&&typeof l!="object")throw Error(o(62));if(r=r.style,s!=null){for(var m in s)!s.hasOwnProperty(m)||l!=null&&l.hasOwnProperty(m)||(m.indexOf("--")===0?r.setProperty(m,""):m==="float"?r.cssFloat="":r[m]="");for(var y in l)m=l[y],l.hasOwnProperty(y)&&s[y]!==m&&nm(r,y,m)}else for(var S in l)l.hasOwnProperty(S)&&nm(r,S,l[S])}function Wo(r){if(r.indexOf("-")===-1)return!1;switch(r){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 Iv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),$g=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Fd(r){return $g.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var Kv=null;function Jv(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Dl=null,Wl=null;function ep(r){var l=xn(r);if(l&&(r=l.stateNode)){var s=r[bn]||null;e:switch(r=l.stateNode,l.type){case"input":if(Md(r,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),l=s.name,s.type==="radio"&&l!=null){for(s=r;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Si(""+l)+'"][type="radio"]'),l=0;l<s.length;l++){var m=s[l];if(m!==r&&m.form===r.form){var y=m[bn]||null;if(!y)throw Error(o(90));Md(m,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(l=0;l<s.length;l++)m=s[l],m.form===r.form&&Cf(m)}break e;case"textarea":Af(r,s.value,s.defaultValue);break e;case"select":l=s.value,l!=null&&Zo(r,!!s.multiple,l,!1)}}}var am=!1;function wf(r,l,s){if(am)return r(l,s);am=!0;try{var m=r(l);return m}finally{if(am=!1,(Dl!==null||Wl!==null)&&(Zc(),Dl&&(l=Dl,r=Wl,Wl=Dl=null,ep(l),r)))for(l=0;l<r.length;l++)ep(r[l])}}function xf(r,l){var s=r.stateNode;if(s===null)return null;var m=s[bn]||null;if(m===null)return null;s=m[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(r=r.type,m=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!m;break e;default:r=!1}if(r)return null;if(s&&typeof s!="function")throw Error(o(231,l,typeof s));return s}var Io=!1;if(La)try{var Ko={};Object.defineProperty(Ko,"passive",{get:function(){Io=!0}}),window.addEventListener("test",Ko,Ko),window.removeEventListener("test",Ko,Ko)}catch{Io=!1}var Il=null,qr=null,rm=null;function im(){if(rm)return rm;var r,l=qr,s=l.length,m,y="value"in Il?Il.value:Il.textContent,S=y.length;for(r=0;r<s&&l[r]===y[r];r++);var M=s-r;for(m=1;m<=M&&l[s-m]===y[S-m];m++);return rm=y.slice(r,1<m?1-m:void 0)}function ra(r){var l=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&l===13&&(r=13)):r=l,r===10&&(r=13),32<=r||r===13?r:0}function Jn(){return!0}function Xg(){return!1}function Ci(r){function l(s,m,y,S,M){this._reactName=s,this._targetInst=y,this.type=m,this.nativeEvent=S,this.target=M,this.currentTarget=null;for(var $ in r)r.hasOwnProperty($)&&(s=r[$],this[$]=s?s(S):S[$]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?Jn:Xg,this.isPropagationStopped=Xg,this}return xe(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Jn)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Jn)},persist:function(){},isPersistent:Jn}),l}var Jo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},um=Ci(Jo),Tf=xe({},Jo,{view:0,detail:0}),py=Ci(Tf),dc,lm,Ha,hc=xe({},Tf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tr,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Ha&&(Ha&&r.type==="mousemove"?(dc=r.screenX-Ha.screenX,lm=r.screenY-Ha.screenY):lm=dc=0,Ha=r),dc)},movementY:function(r){return"movementY"in r?r.movementY:lm}}),es=Ci(hc),Pg=xe({},hc,{dataTransfer:0}),tp=Ci(Pg),pu=xe({},Tf,{relatedTarget:0}),om=Ci(pu),Of=xe({},Jo,{animationName:0,elapsedTime:0,pseudoElement:0}),np=Ci(Of),ap=xe({},Jo,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),rp=Ci(ap),ip=xe({},Jo,{data:0}),Yr=Ci(ip),gy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xi={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"},mc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ts(r){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(r):(r=mc[r])?!!l[r]:!1}function tr(){return ts}var vc=xe({},Tf,{key:function(r){if(r.key){var l=gy[r.key]||r.key;if(l!=="Unidentified")return l}return r.type==="keypress"?(r=ra(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Xi[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tr,charCode:function(r){return r.type==="keypress"?ra(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?ra(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Rf=Ci(vc),da=xe({},hc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sa=Ci(da),sm=xe({},Tf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tr}),cm=Ci(sm),Kl=xe({},Jo,{propertyName:0,elapsedTime:0,pseudoElement:0}),up=Ci(Kl),Qg=xe({},hc,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Zg=Ci(Qg),fm=xe({},Jo,{newState:0,oldState:0}),gu=Ci(fm),Jl=[9,13,27,32],pc=La&&"CompositionEvent"in window,ns=null;La&&"documentMode"in document&&(ns=document.documentMode);var dm=La&&"TextEvent"in window&&!ns,zd=La&&(!pc||ns&&8<ns&&11>=ns),Pi=" ",yu=!1;function Ud(r,l){switch(r){case"keyup":return Jl.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gr(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Ai=!1;function Wg(r,l){switch(r){case"compositionend":return Gr(l);case"keypress":return l.which!==32?null:(yu=!0,Pi);case"textInput":return r=l.data,r===Pi&&yu?null:r;default:return null}}function hm(r,l){if(Ai)return r==="compositionend"||!pc&&Ud(r,l)?(r=im(),rm=qr=Il=null,Ai=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return zd&&l.locale!=="ko"?null:l.data;default:return null}}var si={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 El(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l==="input"?!!si[r.type]:l==="textarea"}function bu(r,l,s,m){Dl?Wl?Wl.push(m):Wl=[m]:Dl=m,l=ei(l,"onChange"),0<l.length&&(s=new um("onChange","change",null,s,m),r.push({event:s,listeners:l}))}var as=null,Du=null;function Ig(r){iv(r,0)}function jd(r){var l=dr(r);if(Cf(l))return r}function Bf(r,l){if(r==="change")return l}var Nf=!1;if(La){var gc;if(La){var eo="oninput"in document;if(!eo){var lp=document.createElement("div");lp.setAttribute("oninput","return;"),eo=typeof lp.oninput=="function"}gc=eo}else gc=!1;Nf=gc&&(!document.documentMode||9<document.documentMode)}function op(){as&&(as.detachEvent("onpropertychange",yc),Du=as=null)}function yc(r){if(r.propertyName==="value"&&jd(Du)){var l=[];bu(l,Du,r,Jv(r)),wf(Ig,l)}}function sp(r,l,s){r==="focusin"?(op(),as=l,Du=s,as.attachEvent("onpropertychange",yc)):r==="focusout"&&op()}function to(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return jd(Du)}function Ld(r,l){if(r==="click")return jd(l)}function Or(r,l){if(r==="input"||r==="change")return jd(l)}function mm(r,l){return r===l&&(r!==0||1/r===1/l)||r!==r&&l!==l}var $r=typeof Object.is=="function"?Object.is:mm;function wi(r,l){if($r(r,l))return!0;if(typeof r!="object"||r===null||typeof l!="object"||l===null)return!1;var s=Object.keys(r),m=Object.keys(l);if(s.length!==m.length)return!1;for(m=0;m<s.length;m++){var y=s[m];if(!Zt.call(l,y)||!$r(r[y],l[y]))return!1}return!0}function ci(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function kf(r,l){var s=ci(r);r=0;for(var m;s;){if(s.nodeType===3){if(m=r+s.textContent.length,r<=l&&m>=l)return{node:s,offset:l-r};r=m}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=ci(s)}}function Hd(r,l){return r&&l?r===l?!0:r&&r.nodeType===3?!1:l&&l.nodeType===3?Hd(r,l.parentNode):"contains"in r?r.contains(l):r.compareDocumentPosition?!!(r.compareDocumentPosition(l)&16):!1:!1}function cp(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var l=cc(r.document);l instanceof r.HTMLIFrameElement;){try{var s=typeof l.contentWindow.location.href=="string"}catch{s=!1}if(s)r=l.contentWindow;else break;l=cc(r.document)}return l}function vm(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l&&(l==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||l==="textarea"||r.contentEditable==="true")}function fp(r,l){var s=cp(l);l=r.focusedElem;var m=r.selectionRange;if(s!==l&&l&&l.ownerDocument&&Hd(l.ownerDocument.documentElement,l)){if(m!==null&&vm(l)){if(r=m.start,s=m.end,s===void 0&&(s=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(s,l.value.length);else if(s=(r=l.ownerDocument||document)&&r.defaultView||window,s.getSelection){s=s.getSelection();var y=l.textContent.length,S=Math.min(m.start,y);m=m.end===void 0?S:Math.min(m.end,y),!s.extend&&S>m&&(y=m,m=S,S=y),y=kf(l,S);var M=kf(l,m);y&&M&&(s.rangeCount!==1||s.anchorNode!==y.node||s.anchorOffset!==y.offset||s.focusNode!==M.node||s.focusOffset!==M.offset)&&(r=r.createRange(),r.setStart(y.node,y.offset),s.removeAllRanges(),S>m?(s.addRange(r),s.extend(M.node,M.offset)):(r.setEnd(M.node,M.offset),s.addRange(r)))}}for(r=[],s=l;s=s.parentNode;)s.nodeType===1&&r.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)s=r[l],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var dp=La&&"documentMode"in document&&11>=document.documentMode,gr=null,he=null,He=null,Be=!1;function wt(r,l,s){var m=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Be||gr==null||gr!==cc(m)||(m=gr,"selectionStart"in m&&vm(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),He&&wi(He,m)||(He=m,m=ei(he,"onSelect"),0<m.length&&(l=new um("onSelect","select",null,l,s),r.push({event:l,listeners:m}),l.target=gr)))}function Pt(r,l){var s={};return s[r.toLowerCase()]=l.toLowerCase(),s["Webkit"+r]="webkit"+l,s["Moz"+r]="moz"+l,s}var fn={animationend:Pt("Animation","AnimationEnd"),animationiteration:Pt("Animation","AnimationIteration"),animationstart:Pt("Animation","AnimationStart"),transitionrun:Pt("Transition","TransitionRun"),transitionstart:Pt("Transition","TransitionStart"),transitioncancel:Pt("Transition","TransitionCancel"),transitionend:Pt("Transition","TransitionEnd")},Ea={},oa={};La&&(oa=document.createElement("div").style,"AnimationEvent"in window||(delete fn.animationend.animation,delete fn.animationiteration.animation,delete fn.animationstart.animation),"TransitionEvent"in window||delete fn.transitionend.transition);function Sl(r){if(Ea[r])return Ea[r];if(!fn[r])return r;var l=fn[r],s;for(s in l)if(l.hasOwnProperty(s)&&s in oa)return Ea[r]=l[s];return r}var Kg=Sl("animationend"),fi=Sl("animationiteration"),rs=Sl("animationstart"),Jg=Sl("transitionrun"),cn=Sl("transitionstart"),lt=Sl("transitioncancel"),Cl=Sl("transitionend"),Gn=new Map,Va="abort auxClick beforeToggle 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 scrollEnd toggle touchMove waiting wheel".split(" ");function xi(r,l){Gn.set(r,l),Xo(l,[r])}var Rr=[],bc=0,Vd=0;function pm(){for(var r=bc,l=Vd=bc=0;l<r;){var s=Rr[l];Rr[l++]=null;var m=Rr[l];Rr[l++]=null;var y=Rr[l];Rr[l++]=null;var S=Rr[l];if(Rr[l++]=null,m!==null&&y!==null){var M=m.pending;M===null?y.next=y:(y.next=M.next,M.next=y),m.pending=y}S!==0&&Xr(s,y,S)}}function no(r,l,s,m){Rr[bc++]=r,Rr[bc++]=l,Rr[bc++]=s,Rr[bc++]=m,Vd|=m,r.lanes|=m,r=r.alternate,r!==null&&(r.lanes|=m)}function Eu(r,l,s,m){return no(r,l,s,m),Mn(r)}function Qi(r,l){return no(r,null,null,l),Mn(r)}function Xr(r,l,s){r.lanes|=s;var m=r.alternate;m!==null&&(m.lanes|=s);for(var y=!1,S=r.return;S!==null;)S.childLanes|=s,m=S.alternate,m!==null&&(m.childLanes|=s),S.tag===22&&(r=S.stateNode,r===null||r._visibility&1||(y=!0)),r=S,S=S.return;y&&l!==null&&r.tag===3&&(S=r.stateNode,y=31-un(s),S=S.hiddenUpdates,r=S[y],r===null?S[y]=[l]:r.push(l),l.lane=s|536870912)}function Mn(r){if(50<ed)throw ed=0,Im=null,Error(o(185));for(var l=r.return;l!==null;)r=l,l=r.return;return r.tag===3?r.stateNode:null}var Yu={},Al=new WeakMap;function Qa(r,l){if(typeof r=="object"&&r!==null){var s=Al.get(r);return s!==void 0?s:(l={value:r,source:l,stack:ve(l)},Al.set(r,l),l)}return{value:r,source:l,stack:ve(l)}}var Br=[],Su=0,di=null,ao=0,Pr=[],Ti=0,wl=null,Zi=1,Wi="";function xl(r,l){Br[Su++]=ao,Br[Su++]=di,di=r,ao=l}function hp(r,l,s){Pr[Ti++]=Zi,Pr[Ti++]=Wi,Pr[Ti++]=wl,wl=r;var m=Zi;r=Wi;var y=32-un(m)-1;m&=~(1<<y),s+=1;var S=32-un(l)+y;if(30<S){var M=y-y%5;S=(m&(1<<M)-1).toString(32),m>>=M,y-=M,Zi=1<<32-un(l)+y|s<<y|m,Wi=S+r}else Zi=1<<S|s<<y|m,Wi=r}function qd(r){r.return!==null&&(xl(r,1),hp(r,1,0))}function Yd(r){for(;r===di;)di=Br[--Su],Br[Su]=null,ao=Br[--Su],Br[Su]=null;for(;r===wl;)wl=Pr[--Ti],Pr[Ti]=null,Wi=Pr[--Ti],Pr[Ti]=null,Zi=Pr[--Ti],Pr[Ti]=null}var Nr=null,Tn=null,en=!1,Cu=null,Gu=!1,gm=Error(o(519));function is(r){var l=Error(o(418,""));throw Tl(Qa(l,r)),gm}function Gd(r){var l=r.stateNode,s=r.type,m=r.memoizedProps;switch(l[Kn]=r,l[bn]=m,s){case"dialog":_n("cancel",l),_n("close",l);break;case"iframe":case"object":case"embed":_n("load",l);break;case"video":case"audio":for(s=0;s<Yl.length;s++)_n(Yl[s],l);break;case"source":_n("error",l);break;case"img":case"image":case"link":_n("error",l),_n("load",l);break;case"details":_n("toggle",l);break;case"input":_n("invalid",l),_d(l,m.value,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name,!0),kd(l);break;case"select":_n("invalid",l);break;case"textarea":_n("invalid",l),fc(l,m.value,m.defaultValue,m.children),kd(l)}s=m.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||l.textContent===""+s||m.suppressHydrationWarning===!0||ht(l.textContent,s)?(m.popover!=null&&(_n("beforetoggle",l),_n("toggle",l)),m.onScroll!=null&&_n("scroll",l),m.onScrollEnd!=null&&_n("scrollend",l),m.onClick!=null&&(l.onclick=Fs),l=!0):l=!1,l||is(r)}function Dc(r){for(Nr=r.return;Nr;)switch(Nr.tag){case 3:case 27:Gu=!0;return;case 5:case 13:Gu=!1;return;default:Nr=Nr.return}}function ro(r){if(r!==Nr)return!1;if(!en)return Dc(r),en=!0,!1;var l=!1,s;if((s=r.tag!==3&&r.tag!==27)&&((s=r.tag===5)&&(s=r.type,s=!(s!=="form"&&s!=="button")||nf(r.type,r.memoizedProps)),s=!s),s&&(l=!0),l&&Tn&&is(r),Dc(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));e:{for(r=r.nextSibling,l=0;r;){if(r.nodeType===8)if(s=r.data,s==="/$"){if(l===0){Tn=Cr(r.nextSibling);break e}l--}else s!=="$"&&s!=="$!"&&s!=="$?"||l++;r=r.nextSibling}Tn=null}}else Tn=Nr?Cr(r.stateNode.nextSibling):null;return!0}function $u(){Tn=Nr=null,en=!1}function Tl(r){Cu===null?Cu=[r]:Cu.push(r)}var Oi=Error(o(460)),us=Error(o(474)),io={then:function(){}};function e0(r){return r=r.status,r==="fulfilled"||r==="rejected"}function Ec(){}function Sc(r,l,s){switch(s=r[s],s===void 0?r.push(l):s!==l&&(l.then(Ec,Ec),l=s),l.status){case"fulfilled":return l.value;case"rejected":throw r=l.reason,r===Oi?Error(o(483)):r;default:if(typeof l.status=="string")l.then(Ec,Ec);else{if(r=ta,r!==null&&100<r.shellSuspendCounter)throw Error(o(482));r=l,r.status="pending",r.then(function(m){if(l.status==="pending"){var y=l;y.status="fulfilled",y.value=m}},function(m){if(l.status==="pending"){var y=l;y.status="rejected",y.reason=m}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw r=l.reason,r===Oi?Error(o(483)):r}throw Cc=l,Oi}}var Cc=null;function ls(){if(Cc===null)throw Error(o(459));var r=Cc;return Cc=null,r}var qa=null,Au=0;function Ac(r){var l=Au;return Au+=1,qa===null&&(qa=[]),Sc(qa,r,l)}function Y(r,l){l=l.props.ref,r.ref=l!==void 0?l:null}function Xu(r,l){throw l.$$typeof===p?Error(o(525)):(r=Object.prototype.toString.call(l),Error(o(31,r==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":r)))}function os(r){var l=r._init;return l(r._payload)}function hi(r){function l(ge,ce){if(r){var Ae=ge.deletions;Ae===null?(ge.deletions=[ce],ge.flags|=16):Ae.push(ce)}}function s(ge,ce){if(!r)return null;for(;ce!==null;)l(ge,ce),ce=ce.sibling;return null}function m(ge){for(var ce=new Map;ge!==null;)ge.key!==null?ce.set(ge.key,ge):ce.set(ge.index,ge),ge=ge.sibling;return ce}function y(ge,ce){return ge=il(ge,ce),ge.index=0,ge.sibling=null,ge}function S(ge,ce,Ae){return ge.index=Ae,r?(Ae=ge.alternate,Ae!==null?(Ae=Ae.index,Ae<ce?(ge.flags|=33554434,ce):Ae):(ge.flags|=33554434,ce)):(ge.flags|=1048576,ce)}function M(ge){return r&&ge.alternate===null&&(ge.flags|=33554434),ge}function $(ge,ce,Ae,tt){return ce===null||ce.tag!==6?(ce=Pm(Ae,ge.mode,tt),ce.return=ge,ce):(ce=y(ce,Ae),ce.return=ge,ce)}function Z(ge,ce,Ae,tt){var Rt=Ae.type;return Rt===C?$e(ge,ce,Ae.props.children,tt,Ae.key):ce!==null&&(ce.elementType===Rt||typeof Rt=="object"&&Rt!==null&&Rt.$$typeof===B&&os(Rt)===ce.type)?(ce=y(ce,Ae.props),Y(ce,Ae),ce.return=ge,ce):(ce=Yc(Ae.type,Ae.key,Ae.props,null,ge.mode,tt),Y(ce,Ae),ce.return=ge,ce)}function fe(ge,ce,Ae,tt){return ce===null||ce.tag!==4||ce.stateNode.containerInfo!==Ae.containerInfo||ce.stateNode.implementation!==Ae.implementation?(ce=mh(Ae,ge.mode,tt),ce.return=ge,ce):(ce=y(ce,Ae.children||[]),ce.return=ge,ce)}function $e(ge,ce,Ae,tt,Rt){return ce===null||ce.tag!==7?(ce=_a(Ae,ge.mode,tt,Rt),ce.return=ge,ce):(ce=y(ce,Ae),ce.return=ge,ce)}function at(ge,ce,Ae){if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return ce=Pm(""+ce,ge.mode,Ae),ce.return=ge,ce;if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case b:return Ae=Yc(ce.type,ce.key,ce.props,null,ge.mode,Ae),Y(Ae,ce),Ae.return=ge,Ae;case E:return ce=mh(ce,ge.mode,Ae),ce.return=ge,ce;case B:var tt=ce._init;return ce=tt(ce._payload),at(ge,ce,Ae)}if(Te(ce)||K(ce))return ce=_a(ce,ge.mode,Ae,null),ce.return=ge,ce;if(typeof ce.then=="function")return at(ge,Ac(ce),Ae);if(ce.$$typeof===z)return at(ge,jm(ge,ce),Ae);Xu(ge,ce)}return null}function Ne(ge,ce,Ae,tt){var Rt=ce!==null?ce.key:null;if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number"||typeof Ae=="bigint")return Rt!==null?null:$(ge,ce,""+Ae,tt);if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case b:return Ae.key===Rt?Z(ge,ce,Ae,tt):null;case E:return Ae.key===Rt?fe(ge,ce,Ae,tt):null;case B:return Rt=Ae._init,Ae=Rt(Ae._payload),Ne(ge,ce,Ae,tt)}if(Te(Ae)||K(Ae))return Rt!==null?null:$e(ge,ce,Ae,tt,null);if(typeof Ae.then=="function")return Ne(ge,ce,Ac(Ae),tt);if(Ae.$$typeof===z)return Ne(ge,ce,jm(ge,Ae),tt);Xu(ge,Ae)}return null}function Ge(ge,ce,Ae,tt,Rt){if(typeof tt=="string"&&tt!==""||typeof tt=="number"||typeof tt=="bigint")return ge=ge.get(Ae)||null,$(ce,ge,""+tt,Rt);if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case b:return ge=ge.get(tt.key===null?Ae:tt.key)||null,Z(ce,ge,tt,Rt);case E:return ge=ge.get(tt.key===null?Ae:tt.key)||null,fe(ce,ge,tt,Rt);case B:var pn=tt._init;return tt=pn(tt._payload),Ge(ge,ce,Ae,tt,Rt)}if(Te(tt)||K(tt))return ge=ge.get(Ae)||null,$e(ce,ge,tt,Rt,null);if(typeof tt.then=="function")return Ge(ge,ce,Ae,Ac(tt),Rt);if(tt.$$typeof===z)return Ge(ge,ce,Ae,jm(ce,tt),Rt);Xu(ce,tt)}return null}function Nt(ge,ce,Ae,tt){for(var Rt=null,pn=null,zt=ce,Xt=ce=0,Qn=null;zt!==null&&Xt<Ae.length;Xt++){zt.index>Xt?(Qn=zt,zt=null):Qn=zt.sibling;var Vn=Ne(ge,zt,Ae[Xt],tt);if(Vn===null){zt===null&&(zt=Qn);break}r&&zt&&Vn.alternate===null&&l(ge,zt),ce=S(Vn,ce,Xt),pn===null?Rt=Vn:pn.sibling=Vn,pn=Vn,zt=Qn}if(Xt===Ae.length)return s(ge,zt),en&&xl(ge,Xt),Rt;if(zt===null){for(;Xt<Ae.length;Xt++)zt=at(ge,Ae[Xt],tt),zt!==null&&(ce=S(zt,ce,Xt),pn===null?Rt=zt:pn.sibling=zt,pn=zt);return en&&xl(ge,Xt),Rt}for(zt=m(zt);Xt<Ae.length;Xt++)Qn=Ge(zt,ge,Xt,Ae[Xt],tt),Qn!==null&&(r&&Qn.alternate!==null&&zt.delete(Qn.key===null?Xt:Qn.key),ce=S(Qn,ce,Xt),pn===null?Rt=Qn:pn.sibling=Qn,pn=Qn);return r&&zt.forEach(function(Ys){return l(ge,Ys)}),en&&xl(ge,Xt),Rt}function nn(ge,ce,Ae,tt){if(Ae==null)throw Error(o(151));for(var Rt=null,pn=null,zt=ce,Xt=ce=0,Qn=null,Vn=Ae.next();zt!==null&&!Vn.done;Xt++,Vn=Ae.next()){zt.index>Xt?(Qn=zt,zt=null):Qn=zt.sibling;var Ys=Ne(ge,zt,Vn.value,tt);if(Ys===null){zt===null&&(zt=Qn);break}r&&zt&&Ys.alternate===null&&l(ge,zt),ce=S(Ys,ce,Xt),pn===null?Rt=Ys:pn.sibling=Ys,pn=Ys,zt=Qn}if(Vn.done)return s(ge,zt),en&&xl(ge,Xt),Rt;if(zt===null){for(;!Vn.done;Xt++,Vn=Ae.next())Vn=at(ge,Vn.value,tt),Vn!==null&&(ce=S(Vn,ce,Xt),pn===null?Rt=Vn:pn.sibling=Vn,pn=Vn);return en&&xl(ge,Xt),Rt}for(zt=m(zt);!Vn.done;Xt++,Vn=Ae.next())Vn=Ge(zt,ge,Xt,Vn.value,tt),Vn!==null&&(r&&Vn.alternate!==null&&zt.delete(Vn.key===null?Xt:Vn.key),ce=S(Vn,ce,Xt),pn===null?Rt=Vn:pn.sibling=Vn,pn=Vn);return r&&zt.forEach(function(By){return l(ge,By)}),en&&xl(ge,Xt),Rt}function ga(ge,ce,Ae,tt){if(typeof Ae=="object"&&Ae!==null&&Ae.type===C&&Ae.key===null&&(Ae=Ae.props.children),typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case b:e:{for(var Rt=Ae.key;ce!==null;){if(ce.key===Rt){if(Rt=Ae.type,Rt===C){if(ce.tag===7){s(ge,ce.sibling),tt=y(ce,Ae.props.children),tt.return=ge,ge=tt;break e}}else if(ce.elementType===Rt||typeof Rt=="object"&&Rt!==null&&Rt.$$typeof===B&&os(Rt)===ce.type){s(ge,ce.sibling),tt=y(ce,Ae.props),Y(tt,Ae),tt.return=ge,ge=tt;break e}s(ge,ce);break}else l(ge,ce);ce=ce.sibling}Ae.type===C?(tt=_a(Ae.props.children,ge.mode,tt,Ae.key),tt.return=ge,ge=tt):(tt=Yc(Ae.type,Ae.key,Ae.props,null,ge.mode,tt),Y(tt,Ae),tt.return=ge,ge=tt)}return M(ge);case E:e:{for(Rt=Ae.key;ce!==null;){if(ce.key===Rt)if(ce.tag===4&&ce.stateNode.containerInfo===Ae.containerInfo&&ce.stateNode.implementation===Ae.implementation){s(ge,ce.sibling),tt=y(ce,Ae.children||[]),tt.return=ge,ge=tt;break e}else{s(ge,ce);break}else l(ge,ce);ce=ce.sibling}tt=mh(Ae,ge.mode,tt),tt.return=ge,ge=tt}return M(ge);case B:return Rt=Ae._init,Ae=Rt(Ae._payload),ga(ge,ce,Ae,tt)}if(Te(Ae))return Nt(ge,ce,Ae,tt);if(K(Ae)){if(Rt=K(Ae),typeof Rt!="function")throw Error(o(150));return Ae=Rt.call(Ae),nn(ge,ce,Ae,tt)}if(typeof Ae.then=="function")return ga(ge,ce,Ac(Ae),tt);if(Ae.$$typeof===z)return ga(ge,ce,jm(ge,Ae),tt);Xu(ge,Ae)}return typeof Ae=="string"&&Ae!==""||typeof Ae=="number"||typeof Ae=="bigint"?(Ae=""+Ae,ce!==null&&ce.tag===6?(s(ge,ce.sibling),tt=y(ce,Ae),tt.return=ge,ge=tt):(s(ge,ce),tt=Pm(Ae,ge.mode,tt),tt.return=ge,ge=tt),M(ge)):s(ge,ce)}return function(ge,ce,Ae,tt){try{Au=0;var Rt=ga(ge,ce,Ae,tt);return qa=null,Rt}catch(zt){if(zt===Oi)throw zt;var pn=ir(29,zt,null,ge.mode);return pn.lanes=tt,pn.return=ge,pn}finally{}}}var on=hi(!0),ym=hi(!1),uo=Ce(null),Mf=Ce(0);function lo(r,l){r=Oo,Ze(Mf,r),Ze(uo,l),Oo=r|l.baseLanes}function bm(){Ze(Mf,Oo),Ze(uo,uo.current)}function $d(){Oo=Mf.current,we(uo),we(Mf)}var Ii=Ce(null),Pu=null;function Ol(r){var l=r.alternate;Ze(nr,nr.current&1),Ze(Ii,r),Pu===null&&(l===null||uo.current!==null||l.memoizedState!==null)&&(Pu=r)}function Qu(r){if(r.tag===22){if(Ze(nr,nr.current),Ze(Ii,r),Pu===null){var l=r.alternate;l!==null&&l.memoizedState!==null&&(Pu=r)}}else oo()}function oo(){Ze(nr,nr.current),Ze(Ii,Ii.current)}function Zu(r){we(Ii),Pu===r&&(Pu=null),we(nr)}var nr=Ce(0);function Xd(r){for(var l=r;l!==null;){if(l.tag===13){var s=l.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if(l.flags&128)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var wc=typeof AbortController<"u"?AbortController:function(){var r=[],l=this.signal={aborted:!1,addEventListener:function(s,m){r.push(m)}};this.abort=function(){l.aborted=!0,r.forEach(function(s){return s()})}},Wu=n.unstable_scheduleCallback,mp=n.unstable_NormalPriority,hr={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vp(){return{controller:new wc,data:new Map,refCount:0}}function _f(r){r.refCount--,r.refCount===0&&Wu(mp,function(){r.controller.abort()})}var so=null,Iu=0,co=0,xc=null;function wu(r,l){if(so===null){var s=so=[];Iu=0,co=rd(),xc={status:"pending",value:void 0,then:function(m){s.push(m)}}}return Iu++,l.then(Dm,Dm),l}function Dm(){if(--Iu===0&&so!==null){xc!==null&&(xc.status="fulfilled");var r=so;so=null,co=0,xc=null;for(var l=0;l<r.length;l++)(0,r[l])()}}function pp(r,l){var s=[],m={status:"pending",value:null,reason:null,then:function(y){s.push(y)}};return r.then(function(){m.status="fulfilled",m.value=l;for(var y=0;y<s.length;y++)(0,s[y])(l)},function(y){for(m.status="rejected",m.reason=y,y=0;y<s.length;y++)(0,s[y])(void 0)}),m}var gp=ue.S;ue.S=function(r,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&wu(r,l),gp!==null&&gp(r,l)};var ss=Ce(null);function fo(){var r=ss.current;return r!==null?r:ta.pooledCache}function Ff(r,l){l===null?Ze(ss,ss.current):Ze(ss,l.pool)}function Em(){var r=fo();return r===null?null:{parent:hr._currentValue,pool:r}}var ho=0,dn=null,Zn=null,ha=null,mo=!1,cs=!1,fs=!1,ar=0,Ri=0,vo=null,ds=0;function $n(){throw Error(o(321))}function Sm(r,l){if(l===null)return!1;for(var s=0;s<l.length&&s<r.length;s++)if(!$r(r[s],l[s]))return!1;return!0}function hs(r,l,s,m,y,S){return ho=S,dn=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,ue.H=r===null||r.memoizedState===null?vi:Ju,fs=!1,S=s(m,y),fs=!1,cs&&(S=Tc(l,s,m,y)),Pd(r),S}function Pd(r){ue.H=ea;var l=Zn!==null&&Zn.next!==null;if(ho=0,ha=Zn=dn=null,mo=!1,Ri=0,vo=null,l)throw Error(o(300));r===null||Ca||(r=r.dependencies,r!==null&&sh(r)&&(Ca=!0))}function Tc(r,l,s,m){dn=r;var y=0;do{if(cs&&(vo=null),Ri=0,cs=!1,25<=y)throw Error(o(301));if(y+=1,ha=Zn=null,r.updateQueue!=null){var S=r.updateQueue;S.lastEffect=null,S.events=null,S.stores=null,S.memoCache!=null&&(S.memoCache.index=0)}ue.H=bs,S=l(s,m)}while(cs);return S}function po(){var r=ue.H,l=r.useState()[0];return l=typeof l.then=="function"?go(l):l,r=r.useState()[0],(Zn!==null?Zn.memoizedState:null)!==r&&(dn.flags|=1024),l}function Qd(){var r=ar!==0;return ar=0,r}function Zd(r,l,s){l.updateQueue=r.updateQueue,l.flags&=-2053,r.lanes&=~s}function ms(r){if(mo){for(r=r.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}mo=!1}ho=0,ha=Zn=dn=null,cs=!1,Ri=ar=0,vo=null}function Qr(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ha===null?dn.memoizedState=ha=r:ha=ha.next=r,ha}function Ya(){if(Zn===null){var r=dn.alternate;r=r!==null?r.memoizedState:null}else r=Zn.next;var l=ha===null?dn.memoizedState:ha.next;if(l!==null)ha=l,Zn=r;else{if(r===null)throw dn.alternate===null?Error(o(467)):Error(o(310));Zn=r,r={memoizedState:Zn.memoizedState,baseState:Zn.baseState,baseQueue:Zn.baseQueue,queue:Zn.queue,next:null},ha===null?dn.memoizedState=ha=r:ha=ha.next=r}return ha}var Ga;Ga=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function go(r){var l=Ri;return Ri+=1,vo===null&&(vo=[]),r=Sc(vo,r,l),l=dn,(ha===null?l.memoizedState:ha.next)===null&&(l=l.alternate,ue.H=l===null||l.memoizedState===null?vi:Ju),r}function Oc(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return go(r);if(r.$$typeof===z)return kr(r)}throw Error(o(438,String(r)))}function Ki(r){var l=null,s=dn.updateQueue;if(s!==null&&(l=s.memoCache),l==null){var m=dn.alternate;m!==null&&(m=m.updateQueue,m!==null&&(m=m.memoCache,m!=null&&(l={data:m.data.map(function(y){return y.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),s===null&&(s=Ga(),dn.updateQueue=s),s.memoCache=l,s=l.data[l.index],s===void 0)for(s=l.data[l.index]=Array(r),m=0;m<r;m++)s[m]=V;return l.index++,s}function xu(r,l){return typeof l=="function"?l(r):l}function yo(r){var l=Ya();return Rl(l,Zn,r)}function Rl(r,l,s){var m=r.queue;if(m===null)throw Error(o(311));m.lastRenderedReducer=s;var y=r.baseQueue,S=m.pending;if(S!==null){if(y!==null){var M=y.next;y.next=S.next,S.next=M}l.baseQueue=y=S,m.pending=null}if(S=r.baseState,y===null)r.memoizedState=S;else{l=y.next;var $=M=null,Z=null,fe=l,$e=!1;do{var at=fe.lane&-536870913;if(at!==fe.lane?(Hn&at)===at:(ho&at)===at){var Ne=fe.revertLane;if(Ne===0)Z!==null&&(Z=Z.next={lane:0,revertLane:0,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null}),at===co&&($e=!0);else if((ho&Ne)===Ne){fe=fe.next,Ne===co&&($e=!0);continue}else at={lane:0,revertLane:fe.revertLane,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null},Z===null?($=Z=at,M=S):Z=Z.next=at,dn.lanes|=Ne,Bs|=Ne;at=fe.action,fs&&s(S,at),S=fe.hasEagerState?fe.eagerState:s(S,at)}else Ne={lane:at,revertLane:fe.revertLane,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null},Z===null?($=Z=Ne,M=S):Z=Z.next=Ne,dn.lanes|=at,Bs|=at;fe=fe.next}while(fe!==null&&fe!==l);if(Z===null?M=S:Z.next=$,!$r(S,r.memoizedState)&&(Ca=!0,$e&&(s=xc,s!==null)))throw s;r.memoizedState=S,r.baseState=M,r.baseQueue=Z,m.lastRenderedState=S}return y===null&&(m.lanes=0),[r.memoizedState,m.dispatch]}function Tu(r){var l=Ya(),s=l.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=r;var m=s.dispatch,y=s.pending,S=l.memoizedState;if(y!==null){s.pending=null;var M=y=y.next;do S=r(S,M.action),M=M.next;while(M!==y);$r(S,l.memoizedState)||(Ca=!0),l.memoizedState=S,l.baseQueue===null&&(l.baseState=S),s.lastRenderedState=S}return[S,m]}function yr(r,l,s){var m=dn,y=Ya(),S=en;if(S){if(s===void 0)throw Error(o(407));s=s()}else s=l();var M=!$r((Zn||y).memoizedState,s);if(M&&(y.memoizedState=s,Ca=!0),y=y.queue,Ji(Wd.bind(null,m,y,r),[r]),y.getSnapshot!==l||M||ha!==null&&ha.memoizedState.tag&1){if(m.flags|=2048,Ru(9,Am.bind(null,m,y,s,l),{destroy:void 0},null),ta===null)throw Error(o(349));S||ho&60||Cm(m,l,s)}return s}function Cm(r,l,s){r.flags|=16384,r={getSnapshot:l,value:s},l=dn.updateQueue,l===null?(l=Ga(),dn.updateQueue=l,l.stores=[r]):(s=l.stores,s===null?l.stores=[r]:s.push(r))}function Am(r,l,s,m){l.value=s,l.getSnapshot=m,bo(l)&&Ou(r)}function Wd(r,l,s){return s(function(){bo(l)&&Ou(r)})}function bo(r){var l=r.getSnapshot;r=r.value;try{var s=l();return!$r(r,s)}catch{return!0}}function Ou(r){var l=Qi(r,2);l!==null&&ur(l,r,2)}function Id(r){var l=Qr();if(typeof r=="function"){var s=r;if(r=s(),fs){Tt(!0);try{s()}finally{Tt(!1)}}}return l.memoizedState=l.baseState=r,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xu,lastRenderedState:r},l}function vs(r,l,s,m){return r.baseState=s,Rl(r,Zn,typeof m=="function"?m:xu)}function zf(r,l,s,m,y){if(Yf(r))throw Error(o(485));if(r=l.action,r!==null){var S={payload:y,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(M){S.listeners.push(M)}};ue.T!==null?s(!0):S.isTransition=!1,m(S),s=l.pending,s===null?(S.next=l.pending=S,Kd(l,S)):(S.next=s.next,l.pending=s.next=S)}}function Kd(r,l){var s=l.action,m=l.payload,y=r.state;if(l.isTransition){var S=ue.T,M={};ue.T=M;try{var $=s(y,m),Z=ue.S;Z!==null&&Z(M,$),ps(r,l,$)}catch(fe){Uf(r,l,fe)}finally{ue.T=S}}else try{S=s(y,m),ps(r,l,S)}catch(fe){Uf(r,l,fe)}}function ps(r,l,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(m){ia(r,l,m)},function(m){return Uf(r,l,m)}):ia(r,l,s)}function ia(r,l,s){l.status="fulfilled",l.value=s,yp(l),r.state=s,l=r.pending,l!==null&&(s=l.next,s===l?r.pending=null:(s=s.next,l.next=s,Kd(r,s)))}function Uf(r,l,s){var m=r.pending;if(r.pending=null,m!==null){m=m.next;do l.status="rejected",l.reason=s,yp(l),l=l.next;while(l!==m)}r.action=null}function yp(r){r=r.listeners;for(var l=0;l<r.length;l++)(0,r[l])()}function jf(r,l){return l}function Jd(r,l){if(en){var s=ta.formState;if(s!==null){e:{var m=dn;if(en){if(Tn){t:{for(var y=Tn,S=Gu;y.nodeType!==8;){if(!S){y=null;break t}if(y=Cr(y.nextSibling),y===null){y=null;break t}}S=y.data,y=S==="F!"||S==="F"?y:null}if(y){Tn=Cr(y.nextSibling),m=y.data==="F!";break e}}is(m)}m=!1}m&&(l=s[0])}}return s=Qr(),s.memoizedState=s.baseState=l,m={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jf,lastRenderedState:l},s.queue=m,s=mi.bind(null,dn,m),m.dispatch=s,m=Id(!1),S=qf.bind(null,dn,!1,m.queue),m=Qr(),y={state:l,dispatch:null,action:r,pending:null},m.queue=y,s=zf.bind(null,dn,y,S,s),y.dispatch=s,m.memoizedState=r,[l,s,!1]}function Do(r){var l=Ya();return Eo(l,Zn,r)}function Eo(r,l,s){l=Rl(r,l,jf)[0],r=yo(xu)[0],l=typeof l=="object"&&l!==null&&typeof l.then=="function"?go(l):l;var m=Ya(),y=m.queue,S=y.dispatch;return s!==m.memoizedState&&(dn.flags|=2048,Ru(9,eh.bind(null,y,s),{destroy:void 0},null)),[l,S,r]}function eh(r,l){r.action=l}function Lf(r){var l=Ya(),s=Zn;if(s!==null)return Eo(l,s,r);Ya(),l=l.memoizedState,s=Ya();var m=s.queue.dispatch;return s.memoizedState=r,[l,m,!1]}function Ru(r,l,s,m){return r={tag:r,create:l,inst:s,deps:m,next:null},l=dn.updateQueue,l===null&&(l=Ga(),dn.updateQueue=l),s=l.lastEffect,s===null?l.lastEffect=r.next=r:(m=s.next,s.next=r,r.next=m,l.lastEffect=r),r}function Hf(){return Ya().memoizedState}function Rc(r,l,s,m){var y=Qr();dn.flags|=r,y.memoizedState=Ru(1|l,s,{destroy:void 0},m===void 0?null:m)}function th(r,l,s,m){var y=Ya();m=m===void 0?null:m;var S=y.memoizedState.inst;Zn!==null&&m!==null&&Sm(m,Zn.memoizedState.deps)?y.memoizedState=Ru(l,s,S,m):(dn.flags|=r,y.memoizedState=Ru(1|l,s,S,m))}function wm(r,l){Rc(8390656,8,r,l)}function Ji(r,l){th(2048,8,r,l)}function Vf(r,l){return th(4,2,r,l)}function xm(r,l){return th(4,4,r,l)}function Bc(r,l){if(typeof l=="function"){r=r();var s=l(r);return function(){typeof s=="function"?s():l(null)}}if(l!=null)return r=r(),l.current=r,function(){l.current=null}}function gs(r,l,s){s=s!=null?s.concat([r]):null,th(4,4,Bc.bind(null,l,r),s)}function Tm(){}function nh(r,l){var s=Ya();l=l===void 0?null:l;var m=s.memoizedState;return l!==null&&Sm(l,m[1])?m[0]:(s.memoizedState=[r,l],r)}function bp(r,l){var s=Ya();l=l===void 0?null:l;var m=s.memoizedState;if(l!==null&&Sm(l,m[1]))return m[0];if(m=r(),fs){Tt(!0);try{r()}finally{Tt(!1)}}return s.memoizedState=[m,l],m}function ah(r,l,s){return s===void 0||ho&1073741824?r.memoizedState=l:(r.memoizedState=s,r=Pc(),dn.lanes|=r,Bs|=r,s)}function Dp(r,l,s,m){return $r(s,l)?s:uo.current!==null?(r=ah(r,s,m),$r(r,l)||(Ca=!0),r):ho&42?(r=Pc(),dn.lanes|=r,Bs|=r,l):(Ca=!0,r.memoizedState=s)}function rh(r,l,s,m,y){var S=Ye.p;Ye.p=S!==0&&8>S?S:8;var M=ue.T,$={};ue.T=$,qf(r,!1,l,s);try{var Z=y(),fe=ue.S;if(fe!==null&&fe($,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var $e=pp(Z,m);ys(r,l,$e,Jr(r))}else ys(r,l,m,Jr(r))}catch(at){ys(r,l,{then:function(){},status:"rejected",reason:at},Jr())}finally{Ye.p=S,ue.T=M}}function yy(){}function Ku(r,l,s,m){if(r.tag!==5)throw Error(o(476));var y=Qt(r).queue;rh(r,y,l,We,s===null?yy:function(){return Ep(r),s(m)})}function Qt(r){var l=r.memoizedState;if(l!==null)return l;l={memoizedState:We,baseState:We,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xu,lastRenderedState:We},next:null};var s={};return l.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xu,lastRenderedState:s},next:null},r.memoizedState=l,r=r.alternate,r!==null&&(r.memoizedState=l),l}function Ep(r){var l=Qt(r).next.queue;ys(r,l,{},Jr())}function Sp(){return kr(Li)}function Nc(){return Ya().memoizedState}function Om(){return Ya().memoizedState}function t0(r){for(var l=r.return;l!==null;){switch(l.tag){case 24:case 3:var s=Jr();r=Mu(s);var m=Bi(l,r,s);m!==null&&(ur(m,l,s),qt(m,l,s)),l={cache:vp()},r.payload=l;return}l=l.return}}function Cp(r,l,s){var m=Jr();s={lane:m,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},Yf(r)?Rm(l,s):(s=Eu(r,l,s,m),s!==null&&(ur(s,r,m),Bm(s,l,m)))}function mi(r,l,s){var m=Jr();ys(r,l,s,m)}function ys(r,l,s,m){var y={lane:m,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(Yf(r))Rm(l,y);else{var S=r.alternate;if(r.lanes===0&&(S===null||S.lanes===0)&&(S=l.lastRenderedReducer,S!==null))try{var M=l.lastRenderedState,$=S(M,s);if(y.hasEagerState=!0,y.eagerState=$,$r($,M))return no(r,l,y,0),ta===null&&pm(),!1}catch{}finally{}if(s=Eu(r,l,y,m),s!==null)return ur(s,r,m),Bm(s,l,m),!0}return!1}function qf(r,l,s,m){if(m={lane:2,revertLane:rd(),action:m,hasEagerState:!1,eagerState:null,next:null},Yf(r)){if(l)throw Error(o(479))}else l=Eu(r,s,m,2),l!==null&&ur(l,r,2)}function Yf(r){var l=r.alternate;return r===dn||l!==null&&l===dn}function Rm(r,l){cs=mo=!0;var s=r.pending;s===null?l.next=l:(l.next=s.next,s.next=l),r.pending=l}function Bm(r,l,s){if(s&4194176){var m=l.lanes;m&=r.pendingLanes,s|=m,l.lanes=s,Da(r,s)}}var ea={readContext:kr,use:Oc,useCallback:$n,useContext:$n,useEffect:$n,useImperativeHandle:$n,useLayoutEffect:$n,useInsertionEffect:$n,useMemo:$n,useReducer:$n,useRef:$n,useState:$n,useDebugValue:$n,useDeferredValue:$n,useTransition:$n,useSyncExternalStore:$n,useId:$n};ea.useCacheRefresh=$n,ea.useMemoCache=$n,ea.useHostTransitionStatus=$n,ea.useFormState=$n,ea.useActionState=$n,ea.useOptimistic=$n;var vi={readContext:kr,use:Oc,useCallback:function(r,l){return Qr().memoizedState=[r,l===void 0?null:l],r},useContext:kr,useEffect:wm,useImperativeHandle:function(r,l,s){s=s!=null?s.concat([r]):null,Rc(4194308,4,Bc.bind(null,l,r),s)},useLayoutEffect:function(r,l){return Rc(4194308,4,r,l)},useInsertionEffect:function(r,l){Rc(4,2,r,l)},useMemo:function(r,l){var s=Qr();l=l===void 0?null:l;var m=r();if(fs){Tt(!0);try{r()}finally{Tt(!1)}}return s.memoizedState=[m,l],m},useReducer:function(r,l,s){var m=Qr();if(s!==void 0){var y=s(l);if(fs){Tt(!0);try{s(l)}finally{Tt(!1)}}}else y=l;return m.memoizedState=m.baseState=y,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:y},m.queue=r,r=r.dispatch=Cp.bind(null,dn,r),[m.memoizedState,r]},useRef:function(r){var l=Qr();return r={current:r},l.memoizedState=r},useState:function(r){r=Id(r);var l=r.queue,s=mi.bind(null,dn,l);return l.dispatch=s,[r.memoizedState,s]},useDebugValue:Tm,useDeferredValue:function(r,l){var s=Qr();return ah(s,r,l)},useTransition:function(){var r=Id(!1);return r=rh.bind(null,dn,r.queue,!0,!1),Qr().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,l,s){var m=dn,y=Qr();if(en){if(s===void 0)throw Error(o(407));s=s()}else{if(s=l(),ta===null)throw Error(o(349));Hn&60||Cm(m,l,s)}y.memoizedState=s;var S={value:s,getSnapshot:l};return y.queue=S,wm(Wd.bind(null,m,S,r),[r]),m.flags|=2048,Ru(9,Am.bind(null,m,S,s,l),{destroy:void 0},null),s},useId:function(){var r=Qr(),l=ta.identifierPrefix;if(en){var s=Wi,m=Zi;s=(m&~(1<<32-un(m)-1)).toString(32)+s,l=":"+l+"R"+s,s=ar++,0<s&&(l+="H"+s.toString(32)),l+=":"}else s=ds++,l=":"+l+"r"+s.toString(32)+":";return r.memoizedState=l},useCacheRefresh:function(){return Qr().memoizedState=t0.bind(null,dn)}};vi.useMemoCache=Ki,vi.useHostTransitionStatus=Sp,vi.useFormState=Jd,vi.useActionState=Jd,vi.useOptimistic=function(r){var l=Qr();l.memoizedState=l.baseState=r;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=s,l=qf.bind(null,dn,!0,s),s.dispatch=l,[r,l]};var Ju={readContext:kr,use:Oc,useCallback:nh,useContext:kr,useEffect:Ji,useImperativeHandle:gs,useInsertionEffect:Vf,useLayoutEffect:xm,useMemo:bp,useReducer:yo,useRef:Hf,useState:function(){return yo(xu)},useDebugValue:Tm,useDeferredValue:function(r,l){var s=Ya();return Dp(s,Zn.memoizedState,r,l)},useTransition:function(){var r=yo(xu)[0],l=Ya().memoizedState;return[typeof r=="boolean"?r:go(r),l]},useSyncExternalStore:yr,useId:Nc};Ju.useCacheRefresh=Om,Ju.useMemoCache=Ki,Ju.useHostTransitionStatus=Sp,Ju.useFormState=Do,Ju.useActionState=Do,Ju.useOptimistic=function(r,l){var s=Ya();return vs(s,Zn,r,l)};var bs={readContext:kr,use:Oc,useCallback:nh,useContext:kr,useEffect:Ji,useImperativeHandle:gs,useInsertionEffect:Vf,useLayoutEffect:xm,useMemo:bp,useReducer:Tu,useRef:Hf,useState:function(){return Tu(xu)},useDebugValue:Tm,useDeferredValue:function(r,l){var s=Ya();return Zn===null?ah(s,r,l):Dp(s,Zn.memoizedState,r,l)},useTransition:function(){var r=Tu(xu)[0],l=Ya().memoizedState;return[typeof r=="boolean"?r:go(r),l]},useSyncExternalStore:yr,useId:Nc};bs.useCacheRefresh=Om,bs.useMemoCache=Ki,bs.useHostTransitionStatus=Sp,bs.useFormState=Lf,bs.useActionState=Lf,bs.useOptimistic=function(r,l){var s=Ya();return Zn!==null?vs(s,Zn,r,l):(s.baseState=r,[r,s.queue.dispatch])};function Ds(r,l,s,m){l=r.memoizedState,s=s(m,l),s=s==null?l:xe({},l,s),r.memoizedState=s,r.lanes===0&&(r.updateQueue.baseState=s)}var Nm={isMounted:function(r){return(r=r._reactInternals)?be(r)===r:!1},enqueueSetState:function(r,l,s){r=r._reactInternals;var m=Jr(),y=Mu(m);y.payload=l,s!=null&&(y.callback=s),l=Bi(r,y,m),l!==null&&(ur(l,r,m),qt(l,r,m))},enqueueReplaceState:function(r,l,s){r=r._reactInternals;var m=Jr(),y=Mu(m);y.tag=1,y.payload=l,s!=null&&(y.callback=s),l=Bi(r,y,m),l!==null&&(ur(l,r,m),qt(l,r,m))},enqueueForceUpdate:function(r,l){r=r._reactInternals;var s=Jr(),m=Mu(s);m.tag=2,l!=null&&(m.callback=l),l=Bi(r,m,s),l!==null&&(ur(l,r,s),qt(l,r,s))}};function pi(r,l,s,m,y,S,M){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(m,S,M):l.prototype&&l.prototype.isPureReactComponent?!wi(s,m)||!wi(y,S):!0}function km(r,l,s,m){r=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(s,m),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(s,m),l.state!==r&&Nm.enqueueReplaceState(l,l.state,null)}function rr(r,l){var s=l;if("ref"in l){s={};for(var m in l)m!=="ref"&&(s[m]=l[m])}if(r=r.defaultProps){s===l&&(s=xe({},s));for(var y in r)s[y]===void 0&&(s[y]=r[y])}return s}var kc=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)};function So(r){kc(r)}function el(r){console.error(r)}function Bl(r){kc(r)}function Nl(r,l){try{var s=r.onUncaughtError;s(l.value,{componentStack:l.stack})}catch(m){setTimeout(function(){throw m})}}function Mm(r,l,s){try{var m=r.onCaughtError;m(s.value,{componentStack:s.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function eu(r,l,s){return s=Mu(s),s.tag=3,s.payload={element:null},s.callback=function(){Nl(r,l)},s}function _m(r){return r=Mu(r),r.tag=3,r}function Fm(r,l,s,m){var y=s.type.getDerivedStateFromError;if(typeof y=="function"){var S=m.value;r.payload=function(){return y(S)},r.callback=function(){Mm(l,s,m)}}var M=s.stateNode;M!==null&&typeof M.componentDidCatch=="function"&&(r.callback=function(){Mm(l,s,m),typeof y!="function"&&(ul===null?ul=new Set([this]):ul.add(this));var $=m.stack;this.componentDidCatch(m.value,{componentStack:$!==null?$:""})})}function Es(r,l,s,m,y){if(s.flags|=32768,m!==null&&typeof m=="object"&&typeof m.then=="function"){if(l=s.alternate,l!==null&&sa(l,s,y,!0),s=Ii.current,s!==null){switch(s.tag){case 13:return Pu===null?Km():s.alternate===null&&Oa===0&&(Oa=3),s.flags&=-257,s.flags|=65536,s.lanes=y,m===io?s.flags|=16384:(l=s.updateQueue,l===null?s.updateQueue=new Set([m]):l.add(m),qp(r,m,y)),!1;case 22:return s.flags|=65536,m===io?s.flags|=16384:(l=s.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([m])},s.updateQueue=l):(s=l.retryQueue,s===null?l.retryQueue=new Set([m]):s.add(m)),qp(r,m,y)),!1}throw Error(o(435,s.tag))}return qp(r,m,y),Km(),!1}if(en)return l=Ii.current,l!==null?(!(l.flags&65536)&&(l.flags|=256),l.flags|=65536,l.lanes=y,m!==gm&&(r=Error(o(422),{cause:m}),Tl(Qa(r,s)))):(m!==gm&&(l=Error(o(423),{cause:m}),Tl(Qa(l,s))),r=r.current.alternate,r.flags|=65536,y&=-y,r.lanes|=y,m=Qa(m,s),y=eu(r.stateNode,m,y),Ts(r,y),Oa!==4&&(Oa=2)),!1;var S=Error(o(520),{cause:m});if(S=Qa(S,s),vh===null?vh=[S]:vh.push(S),Oa!==4&&(Oa=2),l===null)return!0;m=Qa(m,s),s=l;do{switch(s.tag){case 3:return s.flags|=65536,r=y&-y,s.lanes|=r,r=eu(s.stateNode,m,r),Ts(s,r),!1;case 1:if(l=s.type,S=s.stateNode,(s.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||S!==null&&typeof S.componentDidCatch=="function"&&(ul===null||!ul.has(S))))return s.flags|=65536,y&=-y,s.lanes|=y,y=_m(y),Fm(y,r,s,m),Ts(s,y),!1}s=s.return}while(s!==null);return!1}var zm=Error(o(461)),Ca=!1;function br(r,l,s,m){l.child=r===null?ym(l,null,s,m):on(l,r.child,s,m)}function Mc(r,l,s,m,y){s=s.render;var S=l.ref;if("ref"in m){var M={};for(var $ in m)$!=="ref"&&(M[$]=m[$])}else M=m;return Ml(l),m=hs(r,l,s,M,S,y),$=Qd(),r!==null&&!Ca?(Zd(r,l,y),Nu(r,l,y)):(en&&$&&qd(l),l.flags|=1,br(r,l,m,y),l.child)}function Ss(r,l,s,m,y){if(r===null){var S=s.type;return typeof S=="function"&&!Xm(S)&&S.defaultProps===void 0&&s.compare===null?(l.tag=15,l.type=S,Zr(r,l,S,m,y)):(r=Yc(s.type,null,m,l,l.mode,y),r.ref=l.ref,r.return=l,l.child=r)}if(S=r.child,!wo(r,y)){var M=S.memoizedProps;if(s=s.compare,s=s!==null?s:wi,s(M,m)&&r.ref===l.ref)return Nu(r,l,y)}return l.flags|=1,r=il(S,m),r.ref=l.ref,r.return=l,l.child=r}function Zr(r,l,s,m,y){if(r!==null){var S=r.memoizedProps;if(wi(S,m)&&r.ref===l.ref)if(Ca=!1,l.pendingProps=m=S,wo(r,y))r.flags&131072&&(Ca=!0);else return l.lanes=r.lanes,Nu(r,l,y)}return Co(r,l,s,m,y)}function Bu(r,l,s){var m=l.pendingProps,y=m.children,S=(l.stateNode._pendingVisibility&2)!==0,M=r!==null?r.memoizedState:null;if($f(r,l),m.mode==="hidden"||S){if(l.flags&128){if(m=M!==null?M.baseLanes|s:s,r!==null){for(y=l.child=r.child,S=0;y!==null;)S=S|y.lanes|y.childLanes,y=y.sibling;l.childLanes=S&~m}else l.childLanes=0,l.child=null;return Gf(r,l,m,s)}if(s&536870912)l.memoizedState={baseLanes:0,cachePool:null},r!==null&&Ff(l,M!==null?M.cachePool:null),M!==null?lo(l,M):bm(),Qu(l);else return l.lanes=l.childLanes=536870912,Gf(r,l,M!==null?M.baseLanes|s:s,s)}else M!==null?(Ff(l,M.cachePool),lo(l,M),oo(),l.memoizedState=null):(r!==null&&Ff(l,null),bm(),oo());return br(r,l,y,s),l.child}function Gf(r,l,s,m){var y=fo();return y=y===null?null:{parent:hr._currentValue,pool:y},l.memoizedState={baseLanes:s,cachePool:y},r!==null&&Ff(l,null),bm(),Qu(l),r!==null&&sa(r,l,m,!0),null}function $f(r,l){var s=l.ref;if(s===null)r!==null&&r.ref!==null&&(l.flags|=2097664);else{if(typeof s!="function"&&typeof s!="object")throw Error(o(284));(r===null||r.ref!==s)&&(l.flags|=2097664)}}function Co(r,l,s,m,y){return Ml(l),s=hs(r,l,s,m,void 0,y),m=Qd(),r!==null&&!Ca?(Zd(r,l,y),Nu(r,l,y)):(en&&m&&qd(l),l.flags|=1,br(r,l,s,y),l.child)}function Cs(r,l,s,m,y,S){return Ml(l),l.updateQueue=null,s=Tc(l,m,s,y),Pd(r),m=Qd(),r!==null&&!Ca?(Zd(r,l,S),Nu(r,l,S)):(en&&m&&qd(l),l.flags|=1,br(r,l,s,S),l.child)}function Um(r,l,s,m,y){if(Ml(l),l.stateNode===null){var S=Yu,M=s.contextType;typeof M=="object"&&M!==null&&(S=kr(M)),S=new s(m,S),l.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,S.updater=Nm,l.stateNode=S,S._reactInternals=l,S=l.stateNode,S.props=m,S.state=l.memoizedState,S.refs={},Fc(l),M=s.contextType,S.context=typeof M=="object"&&M!==null?kr(M):Yu,S.state=l.memoizedState,M=s.getDerivedStateFromProps,typeof M=="function"&&(Ds(l,s,M,m),S.state=l.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(M=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),M!==S.state&&Nm.enqueueReplaceState(S,S.state,null),ch(l,m,S,y),_u(),S.state=l.memoizedState),typeof S.componentDidMount=="function"&&(l.flags|=4194308),m=!0}else if(r===null){S=l.stateNode;var $=l.memoizedProps,Z=rr(s,$);S.props=Z;var fe=S.context,$e=s.contextType;M=Yu,typeof $e=="object"&&$e!==null&&(M=kr($e));var at=s.getDerivedStateFromProps;$e=typeof at=="function"||typeof S.getSnapshotBeforeUpdate=="function",$=l.pendingProps!==$,$e||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||($||fe!==M)&&km(l,S,m,M),gi=!1;var Ne=l.memoizedState;S.state=Ne,ch(l,m,S,y),_u(),fe=l.memoizedState,$||Ne!==fe||gi?(typeof at=="function"&&(Ds(l,s,at,m),fe=l.memoizedState),(Z=gi||pi(l,s,Z,m,Ne,fe,M))?($e||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(l.flags|=4194308)):(typeof S.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=m,l.memoizedState=fe),S.props=m,S.state=fe,S.context=M,m=Z):(typeof S.componentDidMount=="function"&&(l.flags|=4194308),m=!1)}else{S=l.stateNode,_l(r,l),M=l.memoizedProps,$e=rr(s,M),S.props=$e,at=l.pendingProps,Ne=S.context,fe=s.contextType,Z=Yu,typeof fe=="object"&&fe!==null&&(Z=kr(fe)),$=s.getDerivedStateFromProps,(fe=typeof $=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(M!==at||Ne!==Z)&&km(l,S,m,Z),gi=!1,Ne=l.memoizedState,S.state=Ne,ch(l,m,S,y),_u();var Ge=l.memoizedState;M!==at||Ne!==Ge||gi||r!==null&&r.dependencies!==null&&sh(r.dependencies)?(typeof $=="function"&&(Ds(l,s,$,m),Ge=l.memoizedState),($e=gi||pi(l,s,$e,m,Ne,Ge,Z)||r!==null&&r.dependencies!==null&&sh(r.dependencies))?(fe||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(m,Ge,Z),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(m,Ge,Z)),typeof S.componentDidUpdate=="function"&&(l.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof S.componentDidUpdate!="function"||M===r.memoizedProps&&Ne===r.memoizedState||(l.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||M===r.memoizedProps&&Ne===r.memoizedState||(l.flags|=1024),l.memoizedProps=m,l.memoizedState=Ge),S.props=m,S.state=Ge,S.context=Z,m=$e):(typeof S.componentDidUpdate!="function"||M===r.memoizedProps&&Ne===r.memoizedState||(l.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||M===r.memoizedProps&&Ne===r.memoizedState||(l.flags|=1024),m=!1)}return S=m,$f(r,l),m=(l.flags&128)!==0,S||m?(S=l.stateNode,s=m&&typeof s.getDerivedStateFromError!="function"?null:S.render(),l.flags|=1,r!==null&&m?(l.child=on(l,r.child,null,y),l.child=on(l,null,s,y)):br(r,l,s,y),l.memoizedState=S.state,r=l.child):r=Nu(r,l,y),r}function Ap(r,l,s,m){return $u(),l.flags|=256,br(r,l,s,m),l.child}var ih={dehydrated:null,treeContext:null,retryLane:0};function tl(r){return{baseLanes:r,cachePool:Em()}}function Ao(r,l,s){return r=r!==null?r.childLanes&~s:0,l&&(r|=Uu),r}function As(r,l,s){var m=l.pendingProps,y=!1,S=(l.flags&128)!==0,M;if((M=S)||(M=r!==null&&r.memoizedState===null?!1:(nr.current&2)!==0),M&&(y=!0,l.flags&=-129),M=(l.flags&32)!==0,l.flags&=-33,r===null){if(en){if(y?Ol(l):oo(),en){var $=Tn,Z;if(Z=$){e:{for(Z=$,$=Gu;Z.nodeType!==8;){if(!$){$=null;break e}if(Z=Cr(Z.nextSibling),Z===null){$=null;break e}}$=Z}$!==null?(l.memoizedState={dehydrated:$,treeContext:wl!==null?{id:Zi,overflow:Wi}:null,retryLane:536870912},Z=ir(18,null,null,0),Z.stateNode=$,Z.return=l,l.child=Z,Nr=l,Tn=null,Z=!0):Z=!1}Z||is(l)}if($=l.memoizedState,$!==null&&($=$.dehydrated,$!==null))return $.data==="$!"?l.lanes=16:l.lanes=536870912,null;Zu(l)}return $=m.children,m=m.fallback,y?(oo(),y=l.mode,$=kl({mode:"hidden",children:$},y),m=_a(m,y,s,null),$.return=l,m.return=l,$.sibling=m,l.child=$,y=l.child,y.memoizedState=tl(s),y.childLanes=Ao(r,M,s),l.memoizedState=ih,m):(Ol(l),Xf(l,$))}if(Z=r.memoizedState,Z!==null&&($=Z.dehydrated,$!==null)){if(S)l.flags&256?(Ol(l),l.flags&=-257,l=uh(r,l,s)):l.memoizedState!==null?(oo(),l.child=r.child,l.flags|=128,l=null):(oo(),y=m.fallback,$=l.mode,m=kl({mode:"visible",children:m.children},$),y=_a(y,$,s,null),y.flags|=2,m.return=l,y.return=l,m.sibling=y,l.child=m,on(l,r.child,null,s),m=l.child,m.memoizedState=tl(s),m.childLanes=Ao(r,M,s),l.memoizedState=ih,l=y);else if(Ol(l),$.data==="$!"){if(M=$.nextSibling&&$.nextSibling.dataset,M)var fe=M.dgst;M=fe,m=Error(o(419)),m.stack="",m.digest=M,Tl({value:m,source:null,stack:null}),l=uh(r,l,s)}else if(Ca||sa(r,l,s,!1),M=(s&r.childLanes)!==0,Ca||M){if(M=ta,M!==null){if(m=s&-s,m&42)m=1;else switch(m){case 2:m=1;break;case 8:m=4;break;case 32:m=16;break;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:m=64;break;case 268435456:m=134217728;break;default:m=0}if(m=m&(M.suspendedLanes|s)?0:m,m!==0&&m!==Z.retryLane)throw Z.retryLane=m,Qi(r,m),ur(M,r,m),zm}$.data==="$?"||Km(),l=uh(r,l,s)}else $.data==="$?"?(l.flags|=128,l.child=r.child,l=Sy.bind(null,r),$._reactRetry=l,l=null):(r=Z.treeContext,Tn=Cr($.nextSibling),Nr=l,en=!0,Cu=null,Gu=!1,r!==null&&(Pr[Ti++]=Zi,Pr[Ti++]=Wi,Pr[Ti++]=wl,Zi=r.id,Wi=r.overflow,wl=l),l=Xf(l,m.children),l.flags|=4096);return l}return y?(oo(),y=m.fallback,$=l.mode,Z=r.child,fe=Z.sibling,m=il(Z,{mode:"hidden",children:m.children}),m.subtreeFlags=Z.subtreeFlags&31457280,fe!==null?y=il(fe,y):(y=_a(y,$,s,null),y.flags|=2),y.return=l,m.return=l,m.sibling=y,l.child=m,m=y,y=l.child,$=r.child.memoizedState,$===null?$=tl(s):(Z=$.cachePool,Z!==null?(fe=hr._currentValue,Z=Z.parent!==fe?{parent:fe,pool:fe}:Z):Z=Em(),$={baseLanes:$.baseLanes|s,cachePool:Z}),y.memoizedState=$,y.childLanes=Ao(r,M,s),l.memoizedState=ih,m):(Ol(l),s=r.child,r=s.sibling,s=il(s,{mode:"visible",children:m.children}),s.return=l,s.sibling=null,r!==null&&(M=l.deletions,M===null?(l.deletions=[r],l.flags|=16):M.push(r)),l.child=s,l.memoizedState=null,s)}function Xf(r,l){return l=kl({mode:"visible",children:l},r.mode),l.return=r,r.child=l}function kl(r,l){return i0(r,l,0,null)}function uh(r,l,s){return on(l,r.child,null,s),r=Xf(l,l.pendingProps.children),r.flags|=2,l.memoizedState=null,r}function _c(r,l,s){r.lanes|=l;var m=r.alternate;m!==null&&(m.lanes|=l),Ma(r.return,l,s)}function Pf(r,l,s,m,y){var S=r.memoizedState;S===null?r.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:m,tail:s,tailMode:y}:(S.isBackwards=l,S.rendering=null,S.renderingStartTime=0,S.last=m,S.tail=s,S.tailMode=y)}function tu(r,l,s){var m=l.pendingProps,y=m.revealOrder,S=m.tail;if(br(r,l,m.children,s),m=nr.current,m&2)m=m&1|2,l.flags|=128;else{if(r!==null&&r.flags&128)e:for(r=l.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&_c(r,s,l);else if(r.tag===19)_c(r,s,l);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===l)break e;for(;r.sibling===null;){if(r.return===null||r.return===l)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}m&=1}switch(Ze(nr,m),y){case"forwards":for(s=l.child,y=null;s!==null;)r=s.alternate,r!==null&&Xd(r)===null&&(y=s),s=s.sibling;s=y,s===null?(y=l.child,l.child=null):(y=s.sibling,s.sibling=null),Pf(l,!1,y,s,S);break;case"backwards":for(s=null,y=l.child,l.child=null;y!==null;){if(r=y.alternate,r!==null&&Xd(r)===null){l.child=y;break}r=y.sibling,y.sibling=s,s=y,y=r}Pf(l,!0,s,null,S);break;case"together":Pf(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function Nu(r,l,s){if(r!==null&&(l.dependencies=r.dependencies),Bs|=l.lanes,!(s&l.childLanes))if(r!==null){if(sa(r,l,s,!1),(s&l.childLanes)===0)return null}else return null;if(r!==null&&l.child!==r.child)throw Error(o(153));if(l.child!==null){for(r=l.child,s=il(r,r.pendingProps),l.child=s,s.return=l;r.sibling!==null;)r=r.sibling,s=s.sibling=il(r,r.pendingProps),s.return=l;s.sibling=null}return l.child}function wo(r,l){return r.lanes&l?!0:(r=r.dependencies,!!(r!==null&&sh(r)))}function lh(r,l,s){switch(l.tag){case 3:Lt(l,l.stateNode.containerInfo),xs(l,hr,r.memoizedState.cache),$u();break;case 27:case 5:xt(l);break;case 4:Lt(l,l.stateNode.containerInfo);break;case 10:xs(l,l.type,l.memoizedProps.value);break;case 13:var m=l.memoizedState;if(m!==null)return m.dehydrated!==null?(Ol(l),l.flags|=128,null):s&l.child.childLanes?As(r,l,s):(Ol(l),r=Nu(r,l,s),r!==null?r.sibling:null);Ol(l);break;case 19:var y=(r.flags&128)!==0;if(m=(s&l.childLanes)!==0,m||(sa(r,l,s,!1),m=(s&l.childLanes)!==0),y){if(m)return tu(r,l,s);l.flags|=128}if(y=l.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),Ze(nr,nr.current),m)break;return null;case 22:case 23:return l.lanes=0,Bu(r,l,s);case 24:xs(l,hr,r.memoizedState.cache)}return Nu(r,l,s)}function ma(r,l,s){if(r!==null)if(r.memoizedProps!==l.pendingProps)Ca=!0;else{if(!wo(r,s)&&!(l.flags&128))return Ca=!1,lh(r,l,s);Ca=!!(r.flags&131072)}else Ca=!1,en&&l.flags&1048576&&hp(l,ao,l.index);switch(l.lanes=0,l.tag){case 16:e:{r=l.pendingProps;var m=l.elementType,y=m._init;if(m=y(m._payload),l.type=m,typeof m=="function")Xm(m)?(r=rr(m,r),l.tag=1,l=Um(null,l,m,r,s)):(l.tag=0,l=Co(null,l,m,r,s));else{if(m!=null){if(y=m.$$typeof,y===U){l.tag=11,l=Mc(null,l,m,r,s);break e}else if(y===H){l.tag=14,l=Ss(null,l,m,r,s);break e}}throw l=Ee(m)||m,Error(o(306,l,""))}}return l;case 0:return Co(r,l,l.type,l.pendingProps,s);case 1:return m=l.type,y=rr(m,l.pendingProps),Um(r,l,m,y,s);case 3:e:{if(Lt(l,l.stateNode.containerInfo),r===null)throw Error(o(387));var S=l.pendingProps;y=l.memoizedState,m=y.element,_l(r,l),ch(l,S,null,s);var M=l.memoizedState;if(S=M.cache,xs(l,hr,S),S!==y.cache&&oh(l,[hr],s,!0),_u(),S=M.element,y.isDehydrated)if(y={element:S,isDehydrated:!1,cache:M.cache},l.updateQueue.baseState=y,l.memoizedState=y,l.flags&256){l=Ap(r,l,S,s);break e}else if(S!==m){m=Qa(Error(o(424)),l),Tl(m),l=Ap(r,l,S,s);break e}else for(Tn=Cr(l.stateNode.containerInfo.firstChild),Nr=l,en=!0,Cu=null,Gu=!0,s=ym(l,null,S,s),l.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if($u(),S===m){l=Nu(r,l,s);break e}br(r,l,S,s)}l=l.child}return l;case 26:return $f(r,l),r===null?(s=Et(l.type,null,l.pendingProps,null))?l.memoizedState=s:en||(s=l.type,r=l.pendingProps,m=Ah(At.current).createElement(s),m[Kn]=l,m[bn]=r,Sr(m,s,r),la(m),l.stateNode=m):l.memoizedState=Et(l.type,r.memoizedProps,l.pendingProps,r.memoizedState),null;case 27:return xt(l),r===null&&en&&(m=l.stateNode=sl(l.type,l.pendingProps,At.current),Nr=l,Gu=!0,Tn=Cr(m.firstChild)),m=l.pendingProps.children,r!==null||en?br(r,l,m,s):l.child=on(l,null,m,s),$f(r,l),l.child;case 5:return r===null&&en&&((y=m=Tn)&&(m=zs(m,l.type,l.pendingProps,Gu),m!==null?(l.stateNode=m,Nr=l,Tn=Cr(m.firstChild),Gu=!1,y=!0):y=!1),y||is(l)),xt(l),y=l.type,S=l.pendingProps,M=r!==null?r.memoizedProps:null,m=S.children,nf(y,S)?m=null:M!==null&&nf(y,M)&&(l.flags|=32),l.memoizedState!==null&&(y=hs(r,l,po,null,null,s),Li._currentValue=y),$f(r,l),br(r,l,m,s),l.child;case 6:return r===null&&en&&((r=s=Tn)&&(s=Th(s,l.pendingProps,Gu),s!==null?(l.stateNode=s,Nr=l,Tn=null,r=!0):r=!1),r||is(l)),null;case 13:return As(r,l,s);case 4:return Lt(l,l.stateNode.containerInfo),m=l.pendingProps,r===null?l.child=on(l,null,m,s):br(r,l,m,s),l.child;case 11:return Mc(r,l,l.type,l.pendingProps,s);case 7:return br(r,l,l.pendingProps,s),l.child;case 8:return br(r,l,l.pendingProps.children,s),l.child;case 12:return br(r,l,l.pendingProps.children,s),l.child;case 10:return m=l.pendingProps,xs(l,l.type,m.value),br(r,l,m.children,s),l.child;case 9:return y=l.type._context,m=l.pendingProps.children,Ml(l),y=kr(y),m=m(y),l.flags|=1,br(r,l,m,s),l.child;case 14:return Ss(r,l,l.type,l.pendingProps,s);case 15:return Zr(r,l,l.type,l.pendingProps,s);case 19:return tu(r,l,s);case 22:return Bu(r,l,s);case 24:return Ml(l),m=kr(hr),r===null?(y=fo(),y===null&&(y=ta,S=vp(),y.pooledCache=S,S.refCount++,S!==null&&(y.pooledCacheLanes|=s),y=S),l.memoizedState={parent:m,cache:y},Fc(l),xs(l,hr,y)):(r.lanes&s&&(_l(r,l),ch(l,null,null,s),_u()),y=r.memoizedState,S=l.memoizedState,y.parent!==m?(y={parent:m,cache:m},l.memoizedState=y,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=y),xs(l,hr,m)):(m=S.cache,xs(l,hr,m),m!==y.cache&&oh(l,[hr],s,!0))),br(r,l,l.pendingProps.children,s),l.child;case 29:throw l.pendingProps}throw Error(o(156,l.tag))}var Qf=Ce(null),ws=null,ku=null;function xs(r,l,s){Ze(Qf,l._currentValue),l._currentValue=s}function nl(r){r._currentValue=Qf.current,we(Qf)}function Ma(r,l,s){for(;r!==null;){var m=r.alternate;if((r.childLanes&l)!==l?(r.childLanes|=l,m!==null&&(m.childLanes|=l)):m!==null&&(m.childLanes&l)!==l&&(m.childLanes|=l),r===s)break;r=r.return}}function oh(r,l,s,m){var y=r.child;for(y!==null&&(y.return=r);y!==null;){var S=y.dependencies;if(S!==null){var M=y.child;S=S.firstContext;e:for(;S!==null;){var $=S;S=y;for(var Z=0;Z<l.length;Z++)if($.context===l[Z]){S.lanes|=s,$=S.alternate,$!==null&&($.lanes|=s),Ma(S.return,s,r),m||(M=null);break e}S=$.next}}else if(y.tag===18){if(M=y.return,M===null)throw Error(o(341));M.lanes|=s,S=M.alternate,S!==null&&(S.lanes|=s),Ma(M,s,r),M=null}else M=y.child;if(M!==null)M.return=y;else for(M=y;M!==null;){if(M===r){M=null;break}if(y=M.sibling,y!==null){y.return=M.return,M=y;break}M=M.return}y=M}}function sa(r,l,s,m){r=null;for(var y=l,S=!1;y!==null;){if(!S){if(y.flags&524288)S=!0;else if(y.flags&262144)break}if(y.tag===10){var M=y.alternate;if(M===null)throw Error(o(387));if(M=M.memoizedProps,M!==null){var $=y.type;$r(y.pendingProps.value,M.value)||(r!==null?r.push($):r=[$])}}else if(y===pt.current){if(M=y.alternate,M===null)throw Error(o(387));M.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(r!==null?r.push(Li):r=[Li])}y=y.return}r!==null&&oh(l,r,s,m),l.flags|=262144}function sh(r){for(r=r.firstContext;r!==null;){if(!$r(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Ml(r){ws=r,ku=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function kr(r){return Dr(ws,r)}function jm(r,l){return ws===null&&Ml(r),Dr(r,l)}function Dr(r,l){var s=l._currentValue;if(l={context:l,memoizedValue:s,next:null},ku===null){if(r===null)throw Error(o(308));ku=l,r.dependencies={lanes:0,firstContext:l},r.flags|=524288}else ku=ku.next=l;return s}var gi=!1;function Fc(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function _l(r,l){r=r.updateQueue,l.updateQueue===r&&(l.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Mu(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function Bi(r,l,s){var m=r.updateQueue;if(m===null)return null;if(m=m.shared,Ta&2){var y=m.pending;return y===null?l.next=l:(l.next=y.next,y.next=l),m.pending=l,l=Mn(r),Xr(r,null,s),l}return no(r,m,l,s),Mn(r)}function qt(r,l,s){if(l=l.updateQueue,l!==null&&(l=l.shared,(s&4194176)!==0)){var m=l.lanes;m&=r.pendingLanes,s|=m,l.lanes=s,Da(r,s)}}function Ts(r,l){var s=r.updateQueue,m=r.alternate;if(m!==null&&(m=m.updateQueue,s===m)){var y=null,S=null;if(s=s.firstBaseUpdate,s!==null){do{var M={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};S===null?y=S=M:S=S.next=M,s=s.next}while(s!==null);S===null?y=S=l:S=S.next=l}else y=S=l;s={baseState:m.baseState,firstBaseUpdate:y,lastBaseUpdate:S,shared:m.shared,callbacks:m.callbacks},r.updateQueue=s;return}r=s.lastBaseUpdate,r===null?s.firstBaseUpdate=l:r.next=l,s.lastBaseUpdate=l}var zc=!1;function _u(){if(zc){var r=xc;if(r!==null)throw r}}function ch(r,l,s,m){zc=!1;var y=r.updateQueue;gi=!1;var S=y.firstBaseUpdate,M=y.lastBaseUpdate,$=y.shared.pending;if($!==null){y.shared.pending=null;var Z=$,fe=Z.next;Z.next=null,M===null?S=fe:M.next=fe,M=Z;var $e=r.alternate;$e!==null&&($e=$e.updateQueue,$=$e.lastBaseUpdate,$!==M&&($===null?$e.firstBaseUpdate=fe:$.next=fe,$e.lastBaseUpdate=Z))}if(S!==null){var at=y.baseState;M=0,$e=fe=Z=null,$=S;do{var Ne=$.lane&-536870913,Ge=Ne!==$.lane;if(Ge?(Hn&Ne)===Ne:(m&Ne)===Ne){Ne!==0&&Ne===co&&(zc=!0),$e!==null&&($e=$e.next={lane:0,tag:$.tag,payload:$.payload,callback:null,next:null});e:{var Nt=r,nn=$;Ne=l;var ga=s;switch(nn.tag){case 1:if(Nt=nn.payload,typeof Nt=="function"){at=Nt.call(ga,at,Ne);break e}at=Nt;break e;case 3:Nt.flags=Nt.flags&-65537|128;case 0:if(Nt=nn.payload,Ne=typeof Nt=="function"?Nt.call(ga,at,Ne):Nt,Ne==null)break e;at=xe({},at,Ne);break e;case 2:gi=!0}}Ne=$.callback,Ne!==null&&(r.flags|=64,Ge&&(r.flags|=8192),Ge=y.callbacks,Ge===null?y.callbacks=[Ne]:Ge.push(Ne))}else Ge={lane:Ne,tag:$.tag,payload:$.payload,callback:$.callback,next:null},$e===null?(fe=$e=Ge,Z=at):$e=$e.next=Ge,M|=Ne;if($=$.next,$===null){if($=y.shared.pending,$===null)break;Ge=$,$=Ge.next,Ge.next=null,y.lastBaseUpdate=Ge,y.shared.pending=null}}while(!0);$e===null&&(Z=at),y.baseState=Z,y.firstBaseUpdate=fe,y.lastBaseUpdate=$e,S===null&&(y.shared.lanes=0),Bs|=M,r.lanes=M,r.memoizedState=at}}function Lm(r,l){if(typeof r!="function")throw Error(o(191,r));r.call(l)}function Hm(r,l){var s=r.callbacks;if(s!==null)for(r.callbacks=null,r=0;r<s.length;r++)Lm(s[r],l)}function Za(r,l){try{var s=l.updateQueue,m=s!==null?s.lastEffect:null;if(m!==null){var y=m.next;s=y;do{if((s.tag&r)===r){m=void 0;var S=s.create,M=s.inst;m=S(),M.destroy=m}s=s.next}while(s!==y)}}catch($){ca(l,l.return,$)}}function Os(r,l,s){try{var m=l.updateQueue,y=m!==null?m.lastEffect:null;if(y!==null){var S=y.next;m=S;do{if((m.tag&r)===r){var M=m.inst,$=M.destroy;if($!==void 0){M.destroy=void 0,y=l;var Z=s;try{$()}catch(fe){ca(y,Z,fe)}}}m=m.next}while(m!==S)}}catch(fe){ca(l,l.return,fe)}}function Uc(r){var l=r.updateQueue;if(l!==null){var s=r.stateNode;try{Hm(l,s)}catch(m){ca(r,r.return,m)}}}function Zf(r,l,s){s.props=rr(r.type,r.memoizedProps),s.state=r.memoizedState;try{s.componentWillUnmount()}catch(m){ca(r,l,m)}}function Rs(r,l){try{var s=r.ref;if(s!==null){var m=r.stateNode;switch(r.tag){case 26:case 27:case 5:var y=m;break;default:y=m}typeof s=="function"?r.refCleanup=s(y):s.current=y}}catch(S){ca(r,l,S)}}function Wr(r,l){var s=r.ref,m=r.refCleanup;if(s!==null)if(typeof m=="function")try{m()}catch(y){ca(r,l,y)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(y){ca(r,l,y)}else s.current=null}function n0(r){var l=r.type,s=r.memoizedProps,m=r.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":s.autoFocus&&m.focus();break e;case"img":s.src?m.src=s.src:s.srcSet&&(m.srcset=s.srcSet)}}catch(y){ca(r,r.return,y)}}function a0(r,l,s){try{var m=r.stateNode;Bo(m,r.type,s,l),m[bn]=l}catch(y){ca(r,r.return,y)}}function wp(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27||r.tag===4}function Mr(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||wp(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==27&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Er(r,l,s){var m=r.tag;if(m===5||m===6)r=r.stateNode,l?s.nodeType===8?s.parentNode.insertBefore(r,l):s.insertBefore(r,l):(s.nodeType===8?(l=s.parentNode,l.insertBefore(r,s)):(l=s,l.appendChild(r)),s=s._reactRootContainer,s!=null||l.onclick!==null||(l.onclick=Fs));else if(m!==4&&m!==27&&(r=r.child,r!==null))for(Er(r,l,s),r=r.sibling;r!==null;)Er(r,l,s),r=r.sibling}function Xn(r,l,s){var m=r.tag;if(m===5||m===6)r=r.stateNode,l?s.insertBefore(r,l):s.appendChild(r);else if(m!==4&&m!==27&&(r=r.child,r!==null))for(Xn(r,l,s),r=r.sibling;r!==null;)Xn(r,l,s),r=r.sibling}var al=!1,Aa=!1,Vm=!1,r0=typeof WeakSet=="function"?WeakSet:Set,$a=null,fh=!1;function xp(r,l){if(r=r.containerInfo,lv=od,r=cp(r),vm(r)){if("selectionStart"in r)var s={start:r.selectionStart,end:r.selectionEnd};else e:{s=(s=r.ownerDocument)&&s.defaultView||window;var m=s.getSelection&&s.getSelection();if(m&&m.rangeCount!==0){s=m.anchorNode;var y=m.anchorOffset,S=m.focusNode;m=m.focusOffset;try{s.nodeType,S.nodeType}catch{s=null;break e}var M=0,$=-1,Z=-1,fe=0,$e=0,at=r,Ne=null;t:for(;;){for(var Ge;at!==s||y!==0&&at.nodeType!==3||($=M+y),at!==S||m!==0&&at.nodeType!==3||(Z=M+m),at.nodeType===3&&(M+=at.nodeValue.length),(Ge=at.firstChild)!==null;)Ne=at,at=Ge;for(;;){if(at===r)break t;if(Ne===s&&++fe===y&&($=M),Ne===S&&++$e===m&&(Z=M),(Ge=at.nextSibling)!==null)break;at=Ne,Ne=at.parentNode}at=Ge}s=$===-1||Z===-1?null:{start:$,end:Z}}else s=null}s=s||{start:0,end:0}}else s=null;for(ov={focusedElem:r,selectionRange:s},od=!1,$a=l;$a!==null;)if(l=$a,r=l.child,(l.subtreeFlags&1028)!==0&&r!==null)r.return=l,$a=r;else for(;$a!==null;){switch(l=$a,S=l.alternate,r=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if(r&1024&&S!==null){r=void 0,s=l,y=S.memoizedProps,S=S.memoizedState,m=s.stateNode;try{var Nt=rr(s.type,y,s.elementType===s.type);r=m.getSnapshotBeforeUpdate(Nt,S),m.__reactInternalSnapshotBeforeUpdate=r}catch(nn){ca(s,s.return,nn)}}break;case 3:if(r&1024){if(r=l.stateNode.containerInfo,s=r.nodeType,s===9)ol(r);else if(s===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":ol(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(r&1024)throw Error(o(163))}if(r=l.sibling,r!==null){r.return=l.return,$a=r;break}$a=l.return}return Nt=fh,fh=!1,Nt}function Tp(r,l,s){var m=s.flags;switch(s.tag){case 0:case 11:case 15:rl(r,s),m&4&&Za(5,s);break;case 1:if(rl(r,s),m&4)if(r=s.stateNode,l===null)try{r.componentDidMount()}catch($){ca(s,s.return,$)}else{var y=rr(s.type,l.memoizedProps);l=l.memoizedState;try{r.componentDidUpdate(y,l,r.__reactInternalSnapshotBeforeUpdate)}catch($){ca(s,s.return,$)}}m&64&&Uc(s),m&512&&Rs(s,s.return);break;case 3:if(rl(r,s),m&64&&(m=s.updateQueue,m!==null)){if(r=null,s.child!==null)switch(s.child.tag){case 27:case 5:r=s.child.stateNode;break;case 1:r=s.child.stateNode}try{Hm(m,r)}catch($){ca(s,s.return,$)}}break;case 26:rl(r,s),m&512&&Rs(s,s.return);break;case 27:case 5:rl(r,s),l===null&&m&4&&n0(s),m&512&&Rs(s,s.return);break;case 12:rl(r,s);break;case 13:rl(r,s),m&4&&Wf(r,s);break;case 22:if(y=s.memoizedState!==null||al,!y){l=l!==null&&l.memoizedState!==null||Aa;var S=al,M=Aa;al=y,(Aa=l)&&!M?Mi(r,s,(s.subtreeFlags&8772)!==0):rl(r,s),al=S,Aa=M}m&512&&(s.memoizedProps.mode==="manual"?Rs(s,s.return):Wr(s,s.return));break;default:rl(r,s)}}function Op(r){var l=r.alternate;l!==null&&(r.alternate=null,Op(l)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(l=r.stateNode,l!==null&&ic(l)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var wa=null,nu=!1;function Fl(r,l,s){for(s=s.child;s!==null;)Fu(r,l,s),s=s.sibling}function Fu(r,l,s){if(De&&typeof De.onCommitFiberUnmount=="function")try{De.onCommitFiberUnmount(pe,s)}catch{}switch(s.tag){case 26:Aa||Wr(s,l),Fl(r,l,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:Aa||Wr(s,l);var m=wa,y=nu;for(wa=s.stateNode,Fl(r,l,s),s=s.stateNode,l=s.attributes;l.length;)s.removeAttributeNode(l[0]);ic(s),wa=m,nu=y;break;case 5:Aa||Wr(s,l);case 6:y=wa;var S=nu;if(wa=null,Fl(r,l,s),wa=y,nu=S,wa!==null)if(nu)try{r=wa,m=s.stateNode,r.nodeType===8?r.parentNode.removeChild(m):r.removeChild(m)}catch(M){ca(s,l,M)}else try{wa.removeChild(s.stateNode)}catch(M){ca(s,l,M)}break;case 18:wa!==null&&(nu?(l=wa,s=s.stateNode,l.nodeType===8?xh(l.parentNode,s):l.nodeType===1&&xh(l,s),dd(l)):xh(wa,s.stateNode));break;case 4:m=wa,y=nu,wa=s.stateNode.containerInfo,nu=!0,Fl(r,l,s),wa=m,nu=y;break;case 0:case 11:case 14:case 15:Aa||Os(2,s,l),Aa||Os(4,s,l),Fl(r,l,s);break;case 1:Aa||(Wr(s,l),m=s.stateNode,typeof m.componentWillUnmount=="function"&&Zf(s,l,m)),Fl(r,l,s);break;case 21:Fl(r,l,s);break;case 22:Aa||Wr(s,l),Aa=(m=Aa)||s.memoizedState!==null,Fl(r,l,s),Aa=m;break;default:Fl(r,l,s)}}function Wf(r,l){if(l.memoizedState===null&&(r=l.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{dd(r)}catch(s){ca(l,l.return,s)}}function qm(r){switch(r.tag){case 13:case 19:var l=r.stateNode;return l===null&&(l=r.stateNode=new r0),l;case 22:return r=r.stateNode,l=r._retryCache,l===null&&(l=r._retryCache=new r0),l;default:throw Error(o(435,r.tag))}}function dh(r,l){var s=qm(r);l.forEach(function(m){var y=Yp.bind(null,r,m);s.has(m)||(s.add(m),m.then(y,y))})}function _r(r,l){var s=l.deletions;if(s!==null)for(var m=0;m<s.length;m++){var y=s[m],S=r,M=l,$=M;e:for(;$!==null;){switch($.tag){case 27:case 5:wa=$.stateNode,nu=!1;break e;case 3:wa=$.stateNode.containerInfo,nu=!0;break e;case 4:wa=$.stateNode.containerInfo,nu=!0;break e}$=$.return}if(wa===null)throw Error(o(160));Fu(S,M,y),wa=null,nu=!1,S=y.alternate,S!==null&&(S.return=null),y.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)hh(l,r),l=l.sibling}var Ni=null;function hh(r,l){var s=r.alternate,m=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:_r(l,r),ki(r),m&4&&(Os(3,r,r.return),Za(3,r),Os(5,r,r.return));break;case 1:_r(l,r),ki(r),m&512&&(Aa||s===null||Wr(s,s.return)),m&64&&al&&(r=r.updateQueue,r!==null&&(m=r.callbacks,m!==null&&(s=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=s===null?m:s.concat(m))));break;case 26:var y=Ni;if(_r(l,r),ki(r),m&512&&(Aa||s===null||Wr(s,s.return)),m&4){var S=s!==null?s.memoizedState:null;if(m=r.memoizedState,s===null)if(m===null)if(r.stateNode===null){e:{m=r.type,s=r.memoizedProps,y=y.ownerDocument||y;t:switch(m){case"title":S=y.getElementsByTagName("title")[0],(!S||S[bl]||S[Kn]||S.namespaceURI==="http://www.w3.org/2000/svg"||S.hasAttribute("itemprop"))&&(S=y.createElement(m),y.head.insertBefore(S,y.querySelector("head > title"))),Sr(S,m,s),S[Kn]=r,la(S),m=S;break e;case"link":var M=ko("link","href",y).get(m+(s.href||""));if(M){for(var $=0;$<M.length;$++)if(S=M[$],S.getAttribute("href")===(s.href==null?null:s.href)&&S.getAttribute("rel")===(s.rel==null?null:s.rel)&&S.getAttribute("title")===(s.title==null?null:s.title)&&S.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){M.splice($,1);break t}}S=y.createElement(m),Sr(S,m,s),y.head.appendChild(S);break;case"meta":if(M=ko("meta","content",y).get(m+(s.content||""))){for($=0;$<M.length;$++)if(S=M[$],S.getAttribute("content")===(s.content==null?null:""+s.content)&&S.getAttribute("name")===(s.name==null?null:s.name)&&S.getAttribute("property")===(s.property==null?null:s.property)&&S.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&S.getAttribute("charset")===(s.charSet==null?null:s.charSet)){M.splice($,1);break t}}S=y.createElement(m),Sr(S,m,s),y.head.appendChild(S);break;default:throw Error(o(468,m))}S[Kn]=r,la(S),m=S}r.stateNode=m}else Fr(y,r.type,r.stateNode);else r.stateNode=Us(y,m,r.memoizedProps);else S!==m?(S===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):S.count--,m===null?Fr(y,r.type,r.stateNode):Us(y,m,r.memoizedProps)):m===null&&r.stateNode!==null&&a0(r,r.memoizedProps,s.memoizedProps)}break;case 27:if(m&4&&r.alternate===null){y=r.stateNode,S=r.memoizedProps;try{for(var Z=y.firstChild;Z;){var fe=Z.nextSibling,$e=Z.nodeName;Z[bl]||$e==="HEAD"||$e==="BODY"||$e==="SCRIPT"||$e==="STYLE"||$e==="LINK"&&Z.rel.toLowerCase()==="stylesheet"||y.removeChild(Z),Z=fe}for(var at=r.type,Ne=y.attributes;Ne.length;)y.removeAttributeNode(Ne[0]);Sr(y,at,S),y[Kn]=r,y[bn]=S}catch(Nt){ca(r,r.return,Nt)}}case 5:if(_r(l,r),ki(r),m&512&&(Aa||s===null||Wr(s,s.return)),r.flags&32){y=r.stateNode;try{oi(y,"")}catch(Nt){ca(r,r.return,Nt)}}m&4&&r.stateNode!=null&&(y=r.memoizedProps,a0(r,y,s!==null?s.memoizedProps:y)),m&1024&&(Vm=!0);break;case 6:if(_r(l,r),ki(r),m&4){if(r.stateNode===null)throw Error(o(162));m=r.memoizedProps,s=r.stateNode;try{s.nodeValue=m}catch(Nt){ca(r,r.return,Nt)}}break;case 3:if(af=null,y=Ni,Ni=dv(l.containerInfo),_r(l,r),Ni=y,ki(r),m&4&&s!==null&&s.memoizedState.isDehydrated)try{dd(l.containerInfo)}catch(Nt){ca(r,r.return,Nt)}Vm&&(Vm=!1,jc(r));break;case 4:m=Ni,Ni=dv(r.stateNode.containerInfo),_r(l,r),ki(r),Ni=m;break;case 12:_r(l,r),ki(r);break;case 13:_r(l,r),ki(r),r.child.flags&8192&&r.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Wm=kt()),m&4&&(m=r.updateQueue,m!==null&&(r.updateQueue=null,dh(r,m)));break;case 22:if(m&512&&(Aa||s===null||Wr(s,s.return)),Z=r.memoizedState!==null,fe=s!==null&&s.memoizedState!==null,$e=al,at=Aa,al=$e||Z,Aa=at||fe,_r(l,r),Aa=at,al=$e,ki(r),l=r.stateNode,l._current=r,l._visibility&=-3,l._visibility|=l._pendingVisibility&2,m&8192&&(l._visibility=Z?l._visibility&-2:l._visibility|1,Z&&(l=al||Aa,s===null||fe||l||Ir(r)),r.memoizedProps===null||r.memoizedProps.mode!=="manual"))e:for(s=null,l=r;;){if(l.tag===5||l.tag===26||l.tag===27){if(s===null){fe=s=l;try{if(y=fe.stateNode,Z)S=y.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{M=fe.stateNode,$=fe.memoizedProps.style;var Ge=$!=null&&$.hasOwnProperty("display")?$.display:null;M.style.display=Ge==null||typeof Ge=="boolean"?"":(""+Ge).trim()}}catch(Nt){ca(fe,fe.return,Nt)}}}else if(l.tag===6){if(s===null){fe=l;try{fe.stateNode.nodeValue=Z?"":fe.memoizedProps}catch(Nt){ca(fe,fe.return,Nt)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===r)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break e;for(;l.sibling===null;){if(l.return===null||l.return===r)break e;s===l&&(s=null),l=l.return}s===l&&(s=null),l.sibling.return=l.return,l=l.sibling}m&4&&(m=r.updateQueue,m!==null&&(s=m.retryQueue,s!==null&&(m.retryQueue=null,dh(r,s))));break;case 19:_r(l,r),ki(r),m&4&&(m=r.updateQueue,m!==null&&(r.updateQueue=null,dh(r,m)));break;case 21:break;default:_r(l,r),ki(r)}}function ki(r){var l=r.flags;if(l&2){try{if(r.tag!==27){e:{for(var s=r.return;s!==null;){if(wp(s)){var m=s;break e}s=s.return}throw Error(o(160))}switch(m.tag){case 27:var y=m.stateNode,S=Mr(r);Xn(r,S,y);break;case 5:var M=m.stateNode;m.flags&32&&(oi(M,""),m.flags&=-33);var $=Mr(r);Xn(r,$,M);break;case 3:case 4:var Z=m.stateNode.containerInfo,fe=Mr(r);Er(r,fe,Z);break;default:throw Error(o(161))}}}catch($e){ca(r,r.return,$e)}r.flags&=-3}l&4096&&(r.flags&=-4097)}function jc(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var l=r;jc(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),r=r.sibling}}function rl(r,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Tp(r,l.alternate,l),l=l.sibling}function Ir(r){for(r=r.child;r!==null;){var l=r;switch(l.tag){case 0:case 11:case 14:case 15:Os(4,l,l.return),Ir(l);break;case 1:Wr(l,l.return);var s=l.stateNode;typeof s.componentWillUnmount=="function"&&Zf(l,l.return,s),Ir(l);break;case 26:case 27:case 5:Wr(l,l.return),Ir(l);break;case 22:Wr(l,l.return),l.memoizedState===null&&Ir(l);break;default:Ir(l)}r=r.sibling}}function Mi(r,l,s){for(s=s&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var m=l.alternate,y=r,S=l,M=S.flags;switch(S.tag){case 0:case 11:case 15:Mi(y,S,s),Za(4,S);break;case 1:if(Mi(y,S,s),m=S,y=m.stateNode,typeof y.componentDidMount=="function")try{y.componentDidMount()}catch(fe){ca(m,m.return,fe)}if(m=S,y=m.updateQueue,y!==null){var $=m.stateNode;try{var Z=y.shared.hiddenCallbacks;if(Z!==null)for(y.shared.hiddenCallbacks=null,y=0;y<Z.length;y++)Lm(Z[y],$)}catch(fe){ca(m,m.return,fe)}}s&&M&64&&Uc(S),Rs(S,S.return);break;case 26:case 27:case 5:Mi(y,S,s),s&&m===null&&M&4&&n0(S),Rs(S,S.return);break;case 12:Mi(y,S,s);break;case 13:Mi(y,S,s),s&&M&4&&Wf(y,S);break;case 22:S.memoizedState===null&&Mi(y,S,s),Rs(S,S.return);break;default:Mi(y,S,s)}l=l.sibling}}function Ym(r,l){var s=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==s&&(r!=null&&r.refCount++,s!=null&&_f(s))}function Sn(r,l){r=null,l.alternate!==null&&(r=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==r&&(l.refCount++,r!=null&&_f(r))}function zl(r,l,s,m){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Gm(r,l,s,m),l=l.sibling}function Gm(r,l,s,m){var y=l.flags;switch(l.tag){case 0:case 11:case 15:zl(r,l,s,m),y&2048&&Za(9,l);break;case 3:zl(r,l,s,m),y&2048&&(r=null,l.alternate!==null&&(r=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==r&&(l.refCount++,r!=null&&_f(r)));break;case 12:if(y&2048){zl(r,l,s,m),r=l.stateNode;try{var S=l.memoizedProps,M=S.id,$=S.onPostCommit;typeof $=="function"&&$(M,l.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(Z){ca(l,l.return,Z)}}else zl(r,l,s,m);break;case 23:break;case 22:S=l.stateNode,l.memoizedState!==null?S._visibility&4?zl(r,l,s,m):Hc(r,l):S._visibility&4?zl(r,l,s,m):(S._visibility|=4,Lc(r,l,s,m,(l.subtreeFlags&10256)!==0)),y&2048&&Ym(l.alternate,l);break;case 24:zl(r,l,s,m),y&2048&&Sn(l.alternate,l);break;default:zl(r,l,s,m)}}function Lc(r,l,s,m,y){for(y=y&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var S=r,M=l,$=s,Z=m,fe=M.flags;switch(M.tag){case 0:case 11:case 15:Lc(S,M,$,Z,y),Za(8,M);break;case 23:break;case 22:var $e=M.stateNode;M.memoizedState!==null?$e._visibility&4?Lc(S,M,$,Z,y):Hc(S,M):($e._visibility|=4,Lc(S,M,$,Z,y)),y&&fe&2048&&Ym(M.alternate,M);break;case 24:Lc(S,M,$,Z,y),y&&fe&2048&&Sn(M.alternate,M);break;default:Lc(S,M,$,Z,y)}l=l.sibling}}function Hc(r,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var s=r,m=l,y=m.flags;switch(m.tag){case 22:Hc(s,m),y&2048&&Ym(m.alternate,m);break;case 24:Hc(s,m),y&2048&&Sn(m.alternate,m);break;default:Hc(s,m)}l=l.sibling}}var xo=8192;function To(r){if(r.subtreeFlags&xo)for(r=r.child;r!==null;)Vc(r),r=r.sibling}function Vc(r){switch(r.tag){case 26:To(r),r.flags&xo&&r.memoizedState!==null&&Ty(Ni,r.memoizedState,r.memoizedProps);break;case 5:To(r);break;case 3:case 4:var l=Ni;Ni=dv(r.stateNode.containerInfo),To(r),Ni=l;break;case 22:r.memoizedState===null&&(l=r.alternate,l!==null&&l.memoizedState!==null?(l=xo,xo=16777216,To(r),xo=l):To(r));break;default:To(r)}}function Rp(r){var l=r.alternate;if(l!==null&&(r=l.child,r!==null)){l.child=null;do l=r.sibling,r.sibling=null,r=l;while(r!==null)}}function qc(r){var l=r.deletions;if(r.flags&16){if(l!==null)for(var s=0;s<l.length;s++){var m=l[s];$a=m,zu(m,r)}Rp(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)mr(r),r=r.sibling}function mr(r){switch(r.tag){case 0:case 11:case 15:qc(r),r.flags&2048&&Os(9,r,r.return);break;case 3:qc(r);break;case 12:qc(r);break;case 22:var l=r.stateNode;r.memoizedState!==null&&l._visibility&4&&(r.return===null||r.return.tag!==13)?(l._visibility&=-5,$m(r)):qc(r);break;default:qc(r)}}function $m(r){var l=r.deletions;if(r.flags&16){if(l!==null)for(var s=0;s<l.length;s++){var m=l[s];$a=m,zu(m,r)}Rp(r)}for(r=r.child;r!==null;){switch(l=r,l.tag){case 0:case 11:case 15:Os(8,l,l.return),$m(l);break;case 22:s=l.stateNode,s._visibility&4&&(s._visibility&=-5,$m(l));break;default:$m(l)}r=r.sibling}}function zu(r,l){for(;$a!==null;){var s=$a;switch(s.tag){case 0:case 11:case 15:Os(8,s,l);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var m=s.memoizedState.cachePool.pool;m!=null&&m.refCount++}break;case 24:_f(s.memoizedState.cache)}if(m=s.child,m!==null)m.return=s,$a=m;else e:for(s=r;$a!==null;){m=$a;var y=m.sibling,S=m.return;if(Op(m),m===s){$a=null;break e}if(y!==null){y.return=S,$a=y;break e}$a=S}}}function Bp(r,l,s,m){this.tag=r,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ir(r,l,s,m){return new Bp(r,l,s,m)}function Xm(r){return r=r.prototype,!(!r||!r.isReactComponent)}function il(r,l){var s=r.alternate;return s===null?(s=ir(r.tag,l,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s.alternate=r,r.alternate=s):(s.pendingProps=l,s.type=r.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=r.flags&31457280,s.childLanes=r.childLanes,s.lanes=r.lanes,s.child=r.child,s.memoizedProps=r.memoizedProps,s.memoizedState=r.memoizedState,s.updateQueue=r.updateQueue,l=r.dependencies,s.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},s.sibling=r.sibling,s.index=r.index,s.ref=r.ref,s.refCleanup=r.refCleanup,s}function ua(r,l){r.flags&=31457282;var s=r.alternate;return s===null?(r.childLanes=0,r.lanes=l,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=s.childLanes,r.lanes=s.lanes,r.child=s.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=s.memoizedProps,r.memoizedState=s.memoizedState,r.updateQueue=s.updateQueue,r.type=s.type,l=s.dependencies,r.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),r}function Yc(r,l,s,m,y,S){var M=0;if(m=r,typeof r=="function")Xm(r)&&(M=1);else if(typeof r=="string")M=ji(r,s,Ie.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case C:return _a(s.children,y,S,l);case A:M=8,y|=24;break;case O:return r=ir(12,s,l,y|2),r.elementType=O,r.lanes=S,r;case F:return r=ir(13,s,l,y),r.elementType=F,r.lanes=S,r;case x:return r=ir(19,s,l,y),r.elementType=x,r.lanes=S,r;case _:return i0(s,y,S,l);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case R:case z:M=10;break e;case N:M=9;break e;case U:M=11;break e;case H:M=14;break e;case B:M=16,m=null;break e}M=29,s=Error(o(130,r===null?"null":typeof r,"")),m=null}return l=ir(M,s,l,y),l.elementType=r,l.type=m,l.lanes=S,l}function _a(r,l,s,m){return r=ir(7,r,m,l),r.lanes=s,r}function i0(r,l,s,m){r=ir(22,r,m,l),r.elementType=_,r.lanes=s;var y={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var S=y._current;if(S===null)throw Error(o(456));if(!(y._pendingVisibility&2)){var M=Qi(S,2);M!==null&&(y._pendingVisibility|=2,ur(M,S,2))}},attach:function(){var S=y._current;if(S===null)throw Error(o(456));if(y._pendingVisibility&2){var M=Qi(S,2);M!==null&&(y._pendingVisibility&=-3,ur(M,S,2))}}};return r.stateNode=y,r}function Pm(r,l,s){return r=ir(6,r,null,l),r.lanes=s,r}function mh(r,l,s){return l=ir(4,r.children!==null?r.children:[],r.key,l),l.lanes=s,l.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},l}function Ul(r){r.flags|=4}function au(r,l){if(l.type!=="stylesheet"||l.state.loading&4)r.flags&=-16777217;else if(r.flags|=16777216,!js(l)){if(l=Ii.current,l!==null&&((Hn&4194176)===Hn?Pu!==null:(Hn&62914560)!==Hn&&!(Hn&536870912)||l!==Pu))throw Cc=io,us;r.flags|=8192}}function Kr(r,l){l!==null&&(r.flags|=4),r.flags&16384&&(l=r.tag!==22?Bn():536870912,r.lanes|=l,Ns|=l)}function Gc(r,l){if(!en)switch(r.tailMode){case"hidden":l=r.tail;for(var s=null;l!==null;)l.alternate!==null&&(s=l),l=l.sibling;s===null?r.tail=null:s.sibling=null;break;case"collapsed":s=r.tail;for(var m=null;s!==null;)s.alternate!==null&&(m=s),s=s.sibling;m===null?l||r.tail===null?r.tail=null:r.tail.sibling=null:m.sibling=null}}function xa(r){var l=r.alternate!==null&&r.alternate.child===r.child,s=0,m=0;if(l)for(var y=r.child;y!==null;)s|=y.lanes|y.childLanes,m|=y.subtreeFlags&31457280,m|=y.flags&31457280,y.return=r,y=y.sibling;else for(y=r.child;y!==null;)s|=y.lanes|y.childLanes,m|=y.subtreeFlags,m|=y.flags,y.return=r,y=y.sibling;return r.subtreeFlags|=m,r.childLanes=s,l}function Qm(r,l,s){var m=l.pendingProps;switch(Yd(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xa(l),null;case 1:return xa(l),null;case 3:return s=l.stateNode,m=null,r!==null&&(m=r.memoizedState.cache),l.memoizedState.cache!==m&&(l.flags|=2048),nl(hr),sn(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(r===null||r.child===null)&&(ro(l)?Ul(l):r===null||r.memoizedState.isDehydrated&&!(l.flags&256)||(l.flags|=1024,Cu!==null&&(td(Cu),Cu=null))),xa(l),null;case 26:return s=l.memoizedState,r===null?(Ul(l),s!==null?(xa(l),au(l,s)):(xa(l),l.flags&=-16777217)):s?s!==r.memoizedState?(Ul(l),xa(l),au(l,s)):(xa(l),l.flags&=-16777217):(r.memoizedProps!==m&&Ul(l),xa(l),l.flags&=-16777217),null;case 27:ln(l),s=At.current;var y=l.type;if(r!==null&&l.stateNode!=null)r.memoizedProps!==m&&Ul(l);else{if(!m){if(l.stateNode===null)throw Error(o(166));return xa(l),null}r=Ie.current,ro(l)?Gd(l):(r=sl(y,m,s),l.stateNode=r,Ul(l))}return xa(l),null;case 5:if(ln(l),s=l.type,r!==null&&l.stateNode!=null)r.memoizedProps!==m&&Ul(l);else{if(!m){if(l.stateNode===null)throw Error(o(166));return xa(l),null}if(r=Ie.current,ro(l))Gd(l);else{switch(y=Ah(At.current),r){case 1:r=y.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=y.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=y.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=y.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=y.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof m.is=="string"?y.createElement("select",{is:m.is}):y.createElement("select"),m.multiple?r.multiple=!0:m.size&&(r.size=m.size);break;default:r=typeof m.is=="string"?y.createElement(s,{is:m.is}):y.createElement(s)}}r[Kn]=l,r[bn]=m;e:for(y=l.child;y!==null;){if(y.tag===5||y.tag===6)r.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===l)break e;for(;y.sibling===null;){if(y.return===null||y.return===l)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}l.stateNode=r;e:switch(Sr(r,s,m),s){case"button":case"input":case"select":case"textarea":r=!!m.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Ul(l)}}return xa(l),l.flags&=-16777217,null;case 6:if(r&&l.stateNode!=null)r.memoizedProps!==m&&Ul(l);else{if(typeof m!="string"&&l.stateNode===null)throw Error(o(166));if(r=At.current,ro(l)){if(r=l.stateNode,s=l.memoizedProps,m=null,y=Nr,y!==null)switch(y.tag){case 27:case 5:m=y.memoizedProps}r[Kn]=l,r=!!(r.nodeValue===s||m!==null&&m.suppressHydrationWarning===!0||ht(r.nodeValue,s)),r||is(l)}else r=Ah(r).createTextNode(m),r[Kn]=l,l.stateNode=r}return xa(l),null;case 13:if(m=l.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(y=ro(l),m!==null&&m.dehydrated!==null){if(r===null){if(!y)throw Error(o(318));if(y=l.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(o(317));y[Kn]=l}else $u(),!(l.flags&128)&&(l.memoizedState=null),l.flags|=4;xa(l),y=!1}else Cu!==null&&(td(Cu),Cu=null),y=!0;if(!y)return l.flags&256?(Zu(l),l):(Zu(l),null)}if(Zu(l),l.flags&128)return l.lanes=s,l;if(s=m!==null,r=r!==null&&r.memoizedState!==null,s){m=l.child,y=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(y=m.alternate.memoizedState.cachePool.pool);var S=null;m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(S=m.memoizedState.cachePool.pool),S!==y&&(m.flags|=2048)}return s!==r&&s&&(l.child.flags|=8192),Kr(l,l.updateQueue),xa(l),null;case 4:return sn(),r===null&&ef(l.stateNode.containerInfo),xa(l),null;case 10:return nl(l.type),xa(l),null;case 19:if(we(nr),y=l.memoizedState,y===null)return xa(l),null;if(m=(l.flags&128)!==0,S=y.rendering,S===null)if(m)Gc(y,!1);else{if(Oa!==0||r!==null&&r.flags&128)for(r=l.child;r!==null;){if(S=Xd(r),S!==null){for(l.flags|=128,Gc(y,!1),r=S.updateQueue,l.updateQueue=r,Kr(l,r),l.subtreeFlags=0,r=s,s=l.child;s!==null;)ua(s,r),s=s.sibling;return Ze(nr,nr.current&1|2),l.child}r=r.sibling}y.tail!==null&&kt()>ph&&(l.flags|=128,m=!0,Gc(y,!1),l.lanes=4194304)}else{if(!m)if(r=Xd(S),r!==null){if(l.flags|=128,m=!0,r=r.updateQueue,l.updateQueue=r,Kr(l,r),Gc(y,!0),y.tail===null&&y.tailMode==="hidden"&&!S.alternate&&!en)return xa(l),null}else 2*kt()-y.renderingStartTime>ph&&s!==536870912&&(l.flags|=128,m=!0,Gc(y,!1),l.lanes=4194304);y.isBackwards?(S.sibling=l.child,l.child=S):(r=y.last,r!==null?r.sibling=S:l.child=S,y.last=S)}return y.tail!==null?(l=y.tail,y.rendering=l,y.tail=l.sibling,y.renderingStartTime=kt(),l.sibling=null,r=nr.current,Ze(nr,m?r&1|2:r&1),l):(xa(l),null);case 22:case 23:return Zu(l),$d(),m=l.memoizedState!==null,r!==null?r.memoizedState!==null!==m&&(l.flags|=8192):m&&(l.flags|=8192),m?s&536870912&&!(l.flags&128)&&(xa(l),l.subtreeFlags&6&&(l.flags|=8192)):xa(l),s=l.updateQueue,s!==null&&Kr(l,s.retryQueue),s=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),m=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(m=l.memoizedState.cachePool.pool),m!==s&&(l.flags|=2048),r!==null&&we(ss),null;case 24:return s=null,r!==null&&(s=r.memoizedState.cache),l.memoizedState.cache!==s&&(l.flags|=2048),nl(hr),xa(l),null;case 25:return null}throw Error(o(156,l.tag))}function Np(r,l){switch(Yd(l),l.tag){case 1:return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 3:return nl(hr),sn(),r=l.flags,r&65536&&!(r&128)?(l.flags=r&-65537|128,l):null;case 26:case 27:case 5:return ln(l),null;case 13:if(Zu(l),r=l.memoizedState,r!==null&&r.dehydrated!==null){if(l.alternate===null)throw Error(o(340));$u()}return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 19:return we(nr),null;case 4:return sn(),null;case 10:return nl(l.type),null;case 22:case 23:return Zu(l),$d(),r!==null&&we(ss),r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 24:return nl(hr),null;case 25:return null;default:return null}}function u0(r,l){switch(Yd(l),l.tag){case 3:nl(hr),sn();break;case 26:case 27:case 5:ln(l);break;case 4:sn();break;case 13:Zu(l);break;case 19:we(nr);break;case 10:nl(l.type);break;case 22:case 23:Zu(l),$d(),r!==null&&we(ss);break;case 24:nl(hr)}}var Zm={getCacheForType:function(r){var l=kr(hr),s=l.data.get(r);return s===void 0&&(s=r(),l.data.set(r,s)),s}},l0=typeof WeakMap=="function"?WeakMap:Map,Ta=0,ta=null,On=null,Hn=0,va=0,ru=null,jl=!1,If=!1,kp=!1,Oo=0,Oa=0,Bs=0,$c=0,Mp=0,Uu=0,Ns=0,vh=null,Ll=null,_i=!1,Wm=0,ph=1/0,gh=null,ul=null,yh=!1,Xc=null,Kf=0,_p=0,Jf=null,ed=0,Im=null;function Jr(){if(Ta&2&&Hn!==0)return Hn&-Hn;if(ue.T!==null){var r=co;return r!==0?r:rd()}return Hr()}function Pc(){Uu===0&&(Uu=!(Hn&536870912)||en?Gt():536870912);var r=Ii.current;return r!==null&&(r.flags|=32),Uu}function ur(r,l,s){(r===ta&&va===2||r.cancelPendingCommit!==null)&&(ks(r,0),Hl(r,Hn,Uu,!1)),dt(r,s),(!(Ta&2)||r!==ta)&&(r===ta&&(!(Ta&2)&&($c|=s),Oa===4&&Hl(r,Hn,Uu,!1)),Fi(r))}function Fp(r,l,s){if(Ta&6)throw Error(o(327));var m=!s&&(l&60)===0&&(l&r.expiredLanes)===0||Wt(r,l),y=m?Dy(r,l):jp(r,l,!0),S=m;do{if(y===0){If&&!m&&Hl(r,l,0,!1);break}else if(y===6)Hl(r,l,0,!jl);else{if(s=r.current.alternate,S&&!bh(s)){y=jp(r,l,!1),S=!1;continue}if(y===2){if(S=l,r.errorRecoveryDisabledLanes&S)var M=0;else M=r.pendingLanes&-536870913,M=M!==0?M:M&536870912?536870912:0;if(M!==0){l=M;e:{var $=r;y=vh;var Z=$.current.memoizedState.isDehydrated;if(Z&&(ks($,M).flags|=256),M=jp($,M,!1),M!==2){if(kp&&!Z){$.errorRecoveryDisabledLanes|=S,$c|=S,y=4;break e}S=Ll,Ll=y,S!==null&&td(S)}y=M}if(S=!1,y!==2)continue}}if(y===1){ks(r,0),Hl(r,l,0,!0);break}e:{switch(m=r,y){case 0:case 1:throw Error(o(345));case 4:if((l&4194176)===l){Hl(m,l,Uu,!jl);break e}break;case 2:Ll=null;break;case 3:case 5:break;default:throw Error(o(329))}if(m.finishedWork=s,m.finishedLanes=l,(l&62914560)===l&&(S=Wm+300-kt(),10<S)){if(Hl(m,l,Uu,!jl),Bt(m,0)!==0)break e;m.timeoutHandle=zi(Qc.bind(null,m,s,Ll,gh,_i,l,Uu,$c,Ns,jl,2,-0,0),S);break e}Qc(m,s,Ll,gh,_i,l,Uu,$c,Ns,jl,0,-0,0)}}break}while(!0);Fi(r)}function td(r){Ll===null?Ll=r:Ll.push.apply(Ll,r)}function Qc(r,l,s,m,y,S,M,$,Z,fe,$e,at,Ne){var Ge=l.subtreeFlags;if((Ge&8192||(Ge&16785408)===16785408)&&(rf={stylesheets:null,count:0,unsuspend:xy},Vc(l),l=v0(),l!==null)){r.cancelPendingCommit=l(Hp.bind(null,r,s,m,y,M,$,Z,1,at,Ne)),Hl(r,S,M,!fe);return}Hp(r,s,m,y,M,$,Z,$e,at,Ne)}function bh(r){for(var l=r;;){var s=l.tag;if((s===0||s===11||s===15)&&l.flags&16384&&(s=l.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var m=0;m<s.length;m++){var y=s[m],S=y.getSnapshot;y=y.value;try{if(!$r(S(),y))return!1}catch{return!1}}if(s=l.child,l.subtreeFlags&16384&&s!==null)s.return=l,l=s;else{if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Hl(r,l,s,m){l&=~Mp,l&=~$c,r.suspendedLanes|=l,r.pingedLanes&=~l,m&&(r.warmLanes|=l),m=r.expirationTimes;for(var y=l;0<y;){var S=31-un(y),M=1<<S;m[S]=-1,y&=~M}s!==0&&Jt(r,s,l)}function Zc(){return Ta&6?!0:(Ms(0),!1)}function Dh(){if(On!==null){if(va===0)var r=On.return;else r=On,ku=ws=null,ms(r),qa=null,Au=0,r=On;for(;r!==null;)u0(r.alternate,r),r=r.return;On=null}}function ks(r,l){r.finishedWork=null,r.finishedLanes=0;var s=r.timeoutHandle;s!==-1&&(r.timeoutHandle=-1,lr(s)),s=r.cancelPendingCommit,s!==null&&(r.cancelPendingCommit=null,s()),Dh(),ta=r,On=s=il(r.current,null),Hn=l,va=0,ru=null,jl=!1,If=Wt(r,l),kp=!1,Ns=Uu=Mp=$c=Bs=Oa=0,Ll=vh=null,_i=!1,l&8&&(l|=l&32);var m=r.entangledLanes;if(m!==0)for(r=r.entanglements,m&=l;0<m;){var y=31-un(m),S=1<<y;l|=r[y],m&=~S}return Oo=l,pm(),s}function zp(r,l){dn=null,ue.H=ea,l===Oi?(l=ls(),va=3):l===us?(l=ls(),va=4):va=l===zm?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,ru=l,On===null&&(Oa=1,Nl(r,Qa(l,r.current)))}function Up(){var r=ue.H;return ue.H=ea,r===null?ea:r}function o0(){var r=ue.A;return ue.A=Zm,r}function Km(){Oa=4,jl||(Hn&4194176)!==Hn&&Ii.current!==null||(If=!0),!(Bs&134217727)&&!($c&134217727)||ta===null||Hl(ta,Hn,Uu,!1)}function jp(r,l,s){var m=Ta;Ta|=2;var y=Up(),S=o0();(ta!==r||Hn!==l)&&(gh=null,ks(r,l)),l=!1;var M=Oa;e:do try{if(va!==0&&On!==null){var $=On,Z=ru;switch(va){case 8:Dh(),M=6;break e;case 3:case 2:case 6:Ii.current===null&&(l=!0);var fe=va;if(va=0,ru=null,Wc(r,$,Z,fe),s&&If){M=0;break e}break;default:fe=va,va=0,ru=null,Wc(r,$,Z,fe)}}by(),M=Oa;break}catch($e){zp(r,$e)}while(!0);return l&&r.shellSuspendCounter++,ku=ws=null,Ta=m,ue.H=y,ue.A=S,On===null&&(ta=null,Hn=0,pm()),M}function by(){for(;On!==null;)ev(On)}function Dy(r,l){var s=Ta;Ta|=2;var m=Up(),y=o0();ta!==r||Hn!==l?(gh=null,ph=kt()+500,ks(r,l)):If=Wt(r,l);e:do try{if(va!==0&&On!==null){l=On;var S=ru;t:switch(va){case 1:va=0,ru=null,Wc(r,l,S,1);break;case 2:if(e0(S)){va=0,ru=null,s0(l);break}l=function(){va===2&&ta===r&&(va=7),Fi(r)},S.then(l,l);break e;case 3:va=7;break e;case 4:va=5;break e;case 7:e0(S)?(va=0,ru=null,s0(l)):(va=0,ru=null,Wc(r,l,S,7));break;case 5:var M=null;switch(On.tag){case 26:M=On.memoizedState;case 5:case 27:var $=On;if(!M||js(M)){va=0,ru=null;var Z=$.sibling;if(Z!==null)On=Z;else{var fe=$.return;fe!==null?(On=fe,Eh(fe)):On=null}break t}}va=0,ru=null,Wc(r,l,S,5);break;case 6:va=0,ru=null,Wc(r,l,S,6);break;case 8:Dh(),Oa=6;break e;default:throw Error(o(462))}}Jm();break}catch($e){zp(r,$e)}while(!0);return ku=ws=null,ue.H=m,ue.A=y,Ta=s,On!==null?0:(ta=null,Hn=0,pm(),Oa)}function Jm(){for(;On!==null&&!rt();)ev(On)}function ev(r){var l=ma(r.alternate,r,Oo);r.memoizedProps=r.pendingProps,l===null?Eh(r):On=l}function s0(r){var l=r,s=l.alternate;switch(l.tag){case 15:case 0:l=Cs(s,l,l.pendingProps,l.type,void 0,Hn);break;case 11:l=Cs(s,l,l.pendingProps,l.type.render,l.ref,Hn);break;case 5:ms(l);default:u0(s,l),l=On=ua(l,Oo),l=ma(s,l,Oo)}r.memoizedProps=r.pendingProps,l===null?Eh(r):On=l}function Wc(r,l,s,m){ku=ws=null,ms(l),qa=null,Au=0;var y=l.return;try{if(Es(r,y,l,s,Hn)){Oa=1,Nl(r,Qa(s,r.current)),On=null;return}}catch(S){if(y!==null)throw On=y,S;Oa=1,Nl(r,Qa(s,r.current)),On=null;return}l.flags&32768?(en||m===1?r=!0:If||Hn&536870912?r=!1:(jl=r=!0,(m===2||m===3||m===6)&&(m=Ii.current,m!==null&&m.tag===13&&(m.flags|=16384))),Lp(l,r)):Eh(l)}function Eh(r){var l=r;do{if(l.flags&32768){Lp(l,jl);return}r=l.return;var s=Qm(l.alternate,l,Oo);if(s!==null){On=s;return}if(l=l.sibling,l!==null){On=l;return}On=l=r}while(l!==null);Oa===0&&(Oa=5)}function Lp(r,l){do{var s=Np(r.alternate,r);if(s!==null){s.flags&=32767,On=s;return}if(s=r.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!l&&(r=r.sibling,r!==null)){On=r;return}On=r=s}while(r!==null);Oa=6,On=null}function Hp(r,l,s,m,y,S,M,$,Z,fe){var $e=ue.T,at=Ye.p;try{Ye.p=2,ue.T=null,c0(r,l,s,m,at,y,S,M,$,Z,fe)}finally{ue.T=$e,Ye.p=at}}function c0(r,l,s,m,y,S,M,$){do Vl();while(Xc!==null);if(Ta&6)throw Error(o(327));var Z=r.finishedWork;if(m=r.finishedLanes,Z===null)return null;if(r.finishedWork=null,r.finishedLanes=0,Z===r.current)throw Error(o(177));r.callbackNode=null,r.callbackPriority=0,r.cancelPendingCommit=null;var fe=Z.lanes|Z.childLanes;if(fe|=Vd,Vt(r,m,fe,S,M,$),r===ta&&(On=ta=null,Hn=0),!(Z.subtreeFlags&10256)&&!(Z.flags&10256)||yh||(yh=!0,_p=fe,Jf=s,Gp(rn,function(){return Vl(),null})),s=(Z.flags&15990)!==0,Z.subtreeFlags&15990||s?(s=ue.T,ue.T=null,S=Ye.p,Ye.p=2,M=Ta,Ta|=4,xp(r,Z),hh(Z,r),fp(ov,r.containerInfo),od=!!lv,ov=lv=null,r.current=Z,Tp(r,Z.alternate,Z),ct(),Ta=M,Ye.p=S,ue.T=s):r.current=Z,yh?(yh=!1,Xc=r,Kf=m):Vp(r,fe),fe=r.pendingLanes,fe===0&&(ul=null),ut(Z.stateNode),Fi(r),l!==null)for(y=r.onRecoverableError,Z=0;Z<l.length;Z++)fe=l[Z],y(fe.value,{componentStack:fe.stack});return Kf&3&&Vl(),fe=r.pendingLanes,m&4194218&&fe&42?r===Im?ed++:(ed=0,Im=r):ed=0,Ms(0),null}function Vp(r,l){(r.pooledCacheLanes&=l)===0&&(l=r.pooledCache,l!=null&&(r.pooledCache=null,_f(l)))}function Vl(){if(Xc!==null){var r=Xc,l=_p;_p=0;var s=ja(Kf),m=ue.T,y=Ye.p;try{if(Ye.p=32>s?32:s,ue.T=null,Xc===null)var S=!1;else{s=Jf,Jf=null;var M=Xc,$=Kf;if(Xc=null,Kf=0,Ta&6)throw Error(o(331));var Z=Ta;if(Ta|=4,mr(M.current),Gm(M,M.current,$,s),Ta=Z,Ms(0,!1),De&&typeof De.onPostCommitFiberRoot=="function")try{De.onPostCommitFiberRoot(pe,M)}catch{}S=!0}return S}finally{Ye.p=y,ue.T=m,Vp(r,l)}}return!1}function tv(r,l,s){l=Qa(s,l),l=eu(r.stateNode,l,2),r=Bi(r,l,2),r!==null&&(dt(r,2),Fi(r))}function ca(r,l,s){if(r.tag===3)tv(r,r,s);else for(;l!==null;){if(l.tag===3){tv(l,r,s);break}else if(l.tag===1){var m=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(ul===null||!ul.has(m))){r=Qa(s,r),s=_m(2),m=Bi(l,s,2),m!==null&&(Fm(s,m,l,r),dt(m,2),Fi(m));break}}l=l.return}}function qp(r,l,s){var m=r.pingCache;if(m===null){m=r.pingCache=new l0;var y=new Set;m.set(l,y)}else y=m.get(l),y===void 0&&(y=new Set,m.set(l,y));y.has(s)||(kp=!0,y.add(s),r=Ey.bind(null,r,l,s),l.then(r,r))}function Ey(r,l,s){var m=r.pingCache;m!==null&&m.delete(l),r.pingedLanes|=r.suspendedLanes&s,r.warmLanes&=~s,ta===r&&(Hn&s)===s&&(Oa===4||Oa===3&&(Hn&62914560)===Hn&&300>kt()-Wm?!(Ta&2)&&ks(r,0):Mp|=s,Ns===Hn&&(Ns=0)),Fi(r)}function f0(r,l){l===0&&(l=Bn()),r=Qi(r,l),r!==null&&(dt(r,l),Fi(r))}function Sy(r){var l=r.memoizedState,s=0;l!==null&&(s=l.retryLane),f0(r,s)}function Yp(r,l){var s=0;switch(r.tag){case 13:var m=r.stateNode,y=r.memoizedState;y!==null&&(s=y.retryLane);break;case 19:m=r.stateNode;break;case 22:m=r.stateNode._retryCache;break;default:throw Error(o(314))}m!==null&&m.delete(l),f0(r,s)}function Gp(r,l){return yn(r,l)}var nd=null,Ic=null,nv=!1,ll=!1,$p=!1,Ro=0;function Fi(r){r!==Ic&&r.next===null&&(Ic===null?nd=Ic=r:Ic=Ic.next=r),ll=!0,nv||(nv=!0,Xp(d0))}function Ms(r,l){if(!$p&&ll){$p=!0;do for(var s=!1,m=nd;m!==null;){if(r!==0){var y=m.pendingLanes;if(y===0)var S=0;else{var M=m.suspendedLanes,$=m.pingedLanes;S=(1<<31-un(42|r)+1)-1,S&=y&~(M&~$),S=S&201326677?S&201326677|1:S?S|2:0}S!==0&&(s=!0,Kc(m,S))}else S=Hn,S=Bt(m,m===ta?S:0),!(S&3)||Wt(m,S)||(s=!0,Kc(m,S));m=m.next}while(s);$p=!1}}function d0(){ll=nv=!1;var r=0;Ro!==0&&(Na()&&(r=Ro),Ro=0);for(var l=kt(),s=null,m=nd;m!==null;){var y=m.next,S=ad(m,l);S===0?(m.next=null,s===null?nd=y:s.next=y,y===null&&(Ic=s)):(s=m,(r!==0||S&3)&&(ll=!0)),m=y}Ms(r)}function ad(r,l){for(var s=r.suspendedLanes,m=r.pingedLanes,y=r.expirationTimes,S=r.pendingLanes&-62914561;0<S;){var M=31-un(S),$=1<<M,Z=y[M];Z===-1?(!($&s)||$&m)&&(y[M]=gt($,l)):Z<=l&&(r.expiredLanes|=$),S&=~$}if(l=ta,s=Hn,s=Bt(r,r===l?s:0),m=r.callbackNode,s===0||r===l&&va===2||r.cancelPendingCommit!==null)return m!==null&&m!==null&&I(m),r.callbackNode=null,r.callbackPriority=0;if(!(s&3)||Wt(r,s)){if(l=s&-s,l===r.callbackPriority)return l;switch(m!==null&&I(m),ja(s)){case 2:case 8:s=St;break;case 32:s=rn;break;case 268435456:s=jn;break;default:s=rn}return m=av.bind(null,r),s=yn(s,m),r.callbackPriority=l,r.callbackNode=s,l}return m!==null&&m!==null&&I(m),r.callbackPriority=2,r.callbackNode=null,2}function av(r,l){var s=r.callbackNode;if(Vl()&&r.callbackNode!==s)return null;var m=Hn;return m=Bt(r,r===ta?m:0),m===0?null:(Fp(r,m,l),ad(r,kt()),r.callbackNode!=null&&r.callbackNode===s?av.bind(null,r):null)}function Kc(r,l){if(Vl())return null;Fp(r,l,!0)}function Xp(r){Xa(function(){Ta&6?yn(Mt,r):r()})}function rd(){return Ro===0&&(Ro=Gt()),Ro}function Pp(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:Fd(""+r)}function Ra(r,l){var s=l.ownerDocument.createElement("input");return s.name=l.name,s.value=l.value,r.id&&s.setAttribute("form",r.id),l.parentNode.insertBefore(s,l),r=new FormData(r),s.parentNode.removeChild(s),r}function id(r,l,s,m,y){if(l==="submit"&&s&&s.stateNode===y){var S=Pp((y[bn]||null).action),M=m.submitter;M&&(l=(l=M[bn]||null)?Pp(l.formAction):M.getAttribute("formAction"),l!==null&&(S=l,M=null));var $=new um("action","action",null,m,y);r.push({event:$,listeners:[{instance:null,listener:function(){if(m.defaultPrevented){if(Ro!==0){var Z=M?Ra(y,M):new FormData(y);Ku(s,{pending:!0,data:Z,method:y.method,action:S},null,Z)}}else typeof S=="function"&&($.preventDefault(),Z=M?Ra(y,M):new FormData(y),Ku(s,{pending:!0,data:Z,method:y.method,action:S},S,Z))},currentTarget:y}]})}}for(var Qp=0;Qp<Va.length;Qp++){var Zp=Va[Qp],ql=Zp.toLowerCase(),Jc=Zp[0].toUpperCase()+Zp.slice(1);xi(ql,"on"+Jc)}xi(Kg,"onAnimationEnd"),xi(fi,"onAnimationIteration"),xi(rs,"onAnimationStart"),xi("dblclick","onDoubleClick"),xi("focusin","onFocus"),xi("focusout","onBlur"),xi(Jg,"onTransitionRun"),xi(cn,"onTransitionStart"),xi(lt,"onTransitionCancel"),xi(Cl,"onTransitionEnd"),Po("onMouseEnter",["mouseout","mouseover"]),Po("onMouseLeave",["mouseout","mouseover"]),Po("onPointerEnter",["pointerout","pointerover"]),Po("onPointerLeave",["pointerout","pointerover"]),Xo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Xo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Xo("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Xo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Xo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yl="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(" "),rv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yl));function iv(r,l){l=(l&4)!==0;for(var s=0;s<r.length;s++){var m=r[s],y=m.event;m=m.listeners;e:{var S=void 0;if(l)for(var M=m.length-1;0<=M;M--){var $=m[M],Z=$.instance,fe=$.currentTarget;if($=$.listener,Z!==S&&y.isPropagationStopped())break e;S=$,y.currentTarget=fe;try{S(y)}catch($e){kc($e)}y.currentTarget=null,S=Z}else for(M=0;M<m.length;M++){if($=m[M],Z=$.instance,fe=$.currentTarget,$=$.listener,Z!==S&&y.isPropagationStopped())break e;S=$,y.currentTarget=fe;try{S(y)}catch($e){kc($e)}y.currentTarget=null,S=Z}}}}function _n(r,l){var s=l[Df];s===void 0&&(s=l[Df]=new Set);var m=r+"__bubble";s.has(m)||(uv(l,r,2,!1),s.add(m))}function Sh(r,l,s){var m=0;l&&(m|=4),uv(s,r,m,l)}var iu="_reactListening"+Math.random().toString(36).slice(2);function ef(r){if(!r[iu]){r[iu]=!0,Bd.forEach(function(s){s!=="selectionchange"&&(rv.has(s)||Sh(s,!1,r),Sh(s,!0,r))});var l=r.nodeType===9?r:r.ownerDocument;l===null||l[iu]||(l[iu]=!0,Sh("selectionchange",!1,l))}}function uv(r,l,s,m){switch(D0(l)){case 2:var y=y0;break;case 8:y=b0;break;default:y=vv}s=y.bind(null,l,s,r),y=void 0,!Io||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(y=!0),m?y!==void 0?r.addEventListener(l,s,{capture:!0,passive:y}):r.addEventListener(l,s,!0):y!==void 0?r.addEventListener(l,s,{passive:y}):r.addEventListener(l,s,!1)}function Ch(r,l,s,m,y){var S=m;if(!(l&1)&&!(l&2)&&m!==null)e:for(;;){if(m===null)return;var M=m.tag;if(M===3||M===4){var $=m.stateNode.containerInfo;if($===y||$.nodeType===8&&$.parentNode===y)break;if(M===4)for(M=m.return;M!==null;){var Z=M.tag;if((Z===3||Z===4)&&(Z=M.stateNode.containerInfo,Z===y||Z.nodeType===8&&Z.parentNode===y))return;M=M.return}for(;$!==null;){if(M=vu($),M===null)return;if(Z=M.tag,Z===5||Z===6||Z===26||Z===27){m=S=M;continue e}$=$.parentNode}}m=m.return}wf(function(){var fe=S,$e=Jv(s),at=[];e:{var Ne=Gn.get(r);if(Ne!==void 0){var Ge=um,Nt=r;switch(r){case"keypress":if(ra(s)===0)break e;case"keydown":case"keyup":Ge=Rf;break;case"focusin":Nt="focus",Ge=om;break;case"focusout":Nt="blur",Ge=om;break;case"beforeblur":case"afterblur":Ge=om;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ge=es;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ge=tp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ge=cm;break;case Kg:case fi:case rs:Ge=np;break;case Cl:Ge=up;break;case"scroll":case"scrollend":Ge=py;break;case"wheel":Ge=Zg;break;case"copy":case"cut":case"paste":Ge=rp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ge=Sa;break;case"toggle":case"beforetoggle":Ge=gu}var nn=(l&4)!==0,ga=!nn&&(r==="scroll"||r==="scrollend"),ge=nn?Ne!==null?Ne+"Capture":null:Ne;nn=[];for(var ce=fe,Ae;ce!==null;){var tt=ce;if(Ae=tt.stateNode,tt=tt.tag,tt!==5&&tt!==26&&tt!==27||Ae===null||ge===null||(tt=xf(ce,ge),tt!=null&&nn.push(_s(ce,tt,Ae))),ga)break;ce=ce.return}0<nn.length&&(Ne=new Ge(Ne,Nt,null,s,$e),at.push({event:Ne,listeners:nn}))}}if(!(l&7)){e:{if(Ne=r==="mouseover"||r==="pointerover",Ge=r==="mouseout"||r==="pointerout",Ne&&s!==Kv&&(Nt=s.relatedTarget||s.fromElement)&&(vu(Nt)||Nt[Vr]))break e;if((Ge||Ne)&&(Ne=$e.window===$e?$e:(Ne=$e.ownerDocument)?Ne.defaultView||Ne.parentWindow:window,Ge?(Nt=s.relatedTarget||s.toElement,Ge=fe,Nt=Nt?vu(Nt):null,Nt!==null&&(ga=be(Nt),nn=Nt.tag,Nt!==ga||nn!==5&&nn!==27&&nn!==6)&&(Nt=null)):(Ge=null,Nt=fe),Ge!==Nt)){if(nn=es,tt="onMouseLeave",ge="onMouseEnter",ce="mouse",(r==="pointerout"||r==="pointerover")&&(nn=Sa,tt="onPointerLeave",ge="onPointerEnter",ce="pointer"),ga=Ge==null?Ne:dr(Ge),Ae=Nt==null?Ne:dr(Nt),Ne=new nn(tt,ce+"leave",Ge,s,$e),Ne.target=ga,Ne.relatedTarget=Ae,tt=null,vu($e)===fe&&(nn=new nn(ge,ce+"enter",Nt,s,$e),nn.target=Ae,nn.relatedTarget=ga,tt=nn),ga=tt,Ge&&Nt)t:{for(nn=Ge,ge=Nt,ce=0,Ae=nn;Ae;Ae=tf(Ae))ce++;for(Ae=0,tt=ge;tt;tt=tf(tt))Ae++;for(;0<ce-Ae;)nn=tf(nn),ce--;for(;0<Ae-ce;)ge=tf(ge),Ae--;for(;ce--;){if(nn===ge||ge!==null&&nn===ge.alternate)break t;nn=tf(nn),ge=tf(ge)}nn=null}else nn=null;Ge!==null&&ju(at,Ne,Ge,nn,!1),Nt!==null&&ga!==null&&ju(at,ga,Nt,nn,!0)}}e:{if(Ne=fe?dr(fe):window,Ge=Ne.nodeName&&Ne.nodeName.toLowerCase(),Ge==="select"||Ge==="input"&&Ne.type==="file")var Rt=Bf;else if(El(Ne))if(Nf)Rt=Or;else{Rt=to;var pn=sp}else Ge=Ne.nodeName,!Ge||Ge.toLowerCase()!=="input"||Ne.type!=="checkbox"&&Ne.type!=="radio"?fe&&Wo(fe.elementType)&&(Rt=Bf):Rt=Ld;if(Rt&&(Rt=Rt(r,fe))){bu(at,Rt,s,$e);break e}pn&&pn(r,Ne,fe),r==="focusout"&&fe&&Ne.type==="number"&&fe.memoizedProps.value!=null&&Zv(Ne,"number",Ne.value)}switch(pn=fe?dr(fe):window,r){case"focusin":(El(pn)||pn.contentEditable==="true")&&(gr=pn,he=fe,He=null);break;case"focusout":He=he=gr=null;break;case"mousedown":Be=!0;break;case"contextmenu":case"mouseup":case"dragend":Be=!1,wt(at,s,$e);break;case"selectionchange":if(dp)break;case"keydown":case"keyup":wt(at,s,$e)}var zt;if(pc)e:{switch(r){case"compositionstart":var Xt="onCompositionStart";break e;case"compositionend":Xt="onCompositionEnd";break e;case"compositionupdate":Xt="onCompositionUpdate";break e}Xt=void 0}else Ai?Ud(r,s)&&(Xt="onCompositionEnd"):r==="keydown"&&s.keyCode===229&&(Xt="onCompositionStart");Xt&&(zd&&s.locale!=="ko"&&(Ai||Xt!=="onCompositionStart"?Xt==="onCompositionEnd"&&Ai&&(zt=im()):(Il=$e,qr="value"in Il?Il.value:Il.textContent,Ai=!0)),pn=ei(fe,Xt),0<pn.length&&(Xt=new Yr(Xt,r,null,s,$e),at.push({event:Xt,listeners:pn}),zt?Xt.data=zt:(zt=Gr(s),zt!==null&&(Xt.data=zt)))),(zt=dm?Wg(r,s):hm(r,s))&&(Xt=ei(fe,"onBeforeInput"),0<Xt.length&&(pn=new Yr("onBeforeInput","beforeinput",null,s,$e),at.push({event:pn,listeners:Xt}),pn.data=zt)),id(at,r,fe,s,$e)}iv(at,l)})}function _s(r,l,s){return{instance:r,listener:l,currentTarget:s}}function ei(r,l){for(var s=l+"Capture",m=[];r!==null;){var y=r,S=y.stateNode;y=y.tag,y!==5&&y!==26&&y!==27||S===null||(y=xf(r,s),y!=null&&m.unshift(_s(r,y,S)),y=xf(r,l),y!=null&&m.push(_s(r,y,S))),r=r.return}return m}function tf(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function ju(r,l,s,m,y){for(var S=l._reactName,M=[];s!==null&&s!==m;){var $=s,Z=$.alternate,fe=$.stateNode;if($=$.tag,Z!==null&&Z===m)break;$!==5&&$!==26&&$!==27||fe===null||(Z=fe,y?(fe=xf(s,S),fe!=null&&M.unshift(_s(s,fe,Z))):y||(fe=xf(s,S),fe!=null&&M.push(_s(s,fe,Z)))),s=s.return}M.length!==0&&r.push({event:l,listeners:M})}var h0=/\r\n?/g,Cy=/\u0000|\uFFFD/g;function _e(r){return(typeof r=="string"?r:""+r).replace(h0,`
751
+ `).replace(Cy,"")}function ht(r,l){return l=_e(l),_e(r)===l}function Fs(){}function hn(r,l,s,m,y,S){switch(s){case"children":typeof m=="string"?l==="body"||l==="textarea"&&m===""||oi(r,m):(typeof m=="number"||typeof m=="bigint")&&l!=="body"&&oi(r,""+m);break;case"className":sc(r,"class",m);break;case"tabIndex":sc(r,"tabindex",m);break;case"dir":case"role":case"viewBox":case"width":case"height":sc(r,s,m);break;case"style":Wv(r,m,S);break;case"data":if(l!=="object"){sc(r,"data",m);break}case"src":case"href":if(m===""&&(l!=="a"||s!=="href")){r.removeAttribute(s);break}if(m==null||typeof m=="function"||typeof m=="symbol"||typeof m=="boolean"){r.removeAttribute(s);break}m=Fd(""+m),r.setAttribute(s,m);break;case"action":case"formAction":if(typeof m=="function"){r.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof S=="function"&&(s==="formAction"?(l!=="input"&&hn(r,l,"name",y.name,y,null),hn(r,l,"formEncType",y.formEncType,y,null),hn(r,l,"formMethod",y.formMethod,y,null),hn(r,l,"formTarget",y.formTarget,y,null)):(hn(r,l,"encType",y.encType,y,null),hn(r,l,"method",y.method,y,null),hn(r,l,"target",y.target,y,null)));if(m==null||typeof m=="symbol"||typeof m=="boolean"){r.removeAttribute(s);break}m=Fd(""+m),r.setAttribute(s,m);break;case"onClick":m!=null&&(r.onclick=Fs);break;case"onScroll":m!=null&&_n("scroll",r);break;case"onScrollEnd":m!=null&&_n("scrollend",r);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(o(61));if(s=m.__html,s!=null){if(y.children!=null)throw Error(o(60));r.innerHTML=s}}break;case"multiple":r.multiple=m&&typeof m!="function"&&typeof m!="symbol";break;case"muted":r.muted=m&&typeof m!="function"&&typeof m!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(m==null||typeof m=="function"||typeof m=="boolean"||typeof m=="symbol"){r.removeAttribute("xlink:href");break}s=Fd(""+m),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":m!=null&&typeof m!="function"&&typeof m!="symbol"?r.setAttribute(s,""+m):r.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":m&&typeof m!="function"&&typeof m!="symbol"?r.setAttribute(s,""):r.removeAttribute(s);break;case"capture":case"download":m===!0?r.setAttribute(s,""):m!==!1&&m!=null&&typeof m!="function"&&typeof m!="symbol"?r.setAttribute(s,m):r.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":m!=null&&typeof m!="function"&&typeof m!="symbol"&&!isNaN(m)&&1<=m?r.setAttribute(s,m):r.removeAttribute(s);break;case"rowSpan":case"start":m==null||typeof m=="function"||typeof m=="symbol"||isNaN(m)?r.removeAttribute(s):r.setAttribute(s,m);break;case"popover":_n("beforetoggle",r),_n("toggle",r),oc(r,"popover",m);break;case"xlinkActuate":Ei(r,"http://www.w3.org/1999/xlink","xlink:actuate",m);break;case"xlinkArcrole":Ei(r,"http://www.w3.org/1999/xlink","xlink:arcrole",m);break;case"xlinkRole":Ei(r,"http://www.w3.org/1999/xlink","xlink:role",m);break;case"xlinkShow":Ei(r,"http://www.w3.org/1999/xlink","xlink:show",m);break;case"xlinkTitle":Ei(r,"http://www.w3.org/1999/xlink","xlink:title",m);break;case"xlinkType":Ei(r,"http://www.w3.org/1999/xlink","xlink:type",m);break;case"xmlBase":Ei(r,"http://www.w3.org/XML/1998/namespace","xml:base",m);break;case"xmlLang":Ei(r,"http://www.w3.org/XML/1998/namespace","xml:lang",m);break;case"xmlSpace":Ei(r,"http://www.w3.org/XML/1998/namespace","xml:space",m);break;case"is":oc(r,"is",m);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=Iv.get(s)||s,oc(r,s,m))}}function Ba(r,l,s,m,y,S){switch(s){case"style":Wv(r,m,S);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(o(61));if(s=m.__html,s!=null){if(y.children!=null)throw Error(o(60));r.innerHTML=s}}break;case"children":typeof m=="string"?oi(r,m):(typeof m=="number"||typeof m=="bigint")&&oi(r,""+m);break;case"onScroll":m!=null&&_n("scroll",r);break;case"onScrollEnd":m!=null&&_n("scrollend",r);break;case"onClick":m!=null&&(r.onclick=Fs);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!uc.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(y=s.endsWith("Capture"),l=s.slice(2,y?s.length-7:void 0),S=r[bn]||null,S=S!=null?S[s]:null,typeof S=="function"&&r.removeEventListener(l,S,y),typeof m=="function")){typeof S!="function"&&S!==null&&(s in r?r[s]=null:r.hasAttribute(s)&&r.removeAttribute(s)),r.addEventListener(l,m,y);break e}s in r?r[s]=m:m===!0?r.setAttribute(s,""):oc(r,s,m)}}}function Sr(r,l,s){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_n("error",r),_n("load",r);var m=!1,y=!1,S;for(S in s)if(s.hasOwnProperty(S)){var M=s[S];if(M!=null)switch(S){case"src":m=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:hn(r,l,S,M,s,null)}}y&&hn(r,l,"srcSet",s.srcSet,s,null),m&&hn(r,l,"src",s.src,s,null);return;case"input":_n("invalid",r);var $=S=M=y=null,Z=null,fe=null;for(m in s)if(s.hasOwnProperty(m)){var $e=s[m];if($e!=null)switch(m){case"name":y=$e;break;case"type":M=$e;break;case"checked":Z=$e;break;case"defaultChecked":fe=$e;break;case"value":S=$e;break;case"defaultValue":$=$e;break;case"children":case"dangerouslySetInnerHTML":if($e!=null)throw Error(o(137,l));break;default:hn(r,l,m,$e,s,null)}}_d(r,S,$,Z,fe,M,y,!1),kd(r);return;case"select":_n("invalid",r),m=M=S=null;for(y in s)if(s.hasOwnProperty(y)&&($=s[y],$!=null))switch(y){case"value":S=$;break;case"defaultValue":M=$;break;case"multiple":m=$;default:hn(r,l,y,$,s,null)}l=S,s=M,r.multiple=!!m,l!=null?Zo(r,!!m,l,!1):s!=null&&Zo(r,!!m,s,!0);return;case"textarea":_n("invalid",r),S=y=m=null;for(M in s)if(s.hasOwnProperty(M)&&($=s[M],$!=null))switch(M){case"value":m=$;break;case"defaultValue":y=$;break;case"children":S=$;break;case"dangerouslySetInnerHTML":if($!=null)throw Error(o(91));break;default:hn(r,l,M,$,s,null)}fc(r,m,y,S),kd(r);return;case"option":for(Z in s)if(s.hasOwnProperty(Z)&&(m=s[Z],m!=null))switch(Z){case"selected":r.selected=m&&typeof m!="function"&&typeof m!="symbol";break;default:hn(r,l,Z,m,s,null)}return;case"dialog":_n("cancel",r),_n("close",r);break;case"iframe":case"object":_n("load",r);break;case"video":case"audio":for(m=0;m<Yl.length;m++)_n(Yl[m],r);break;case"image":_n("error",r),_n("load",r);break;case"details":_n("toggle",r);break;case"embed":case"source":case"link":_n("error",r),_n("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(fe in s)if(s.hasOwnProperty(fe)&&(m=s[fe],m!=null))switch(fe){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:hn(r,l,fe,m,s,null)}return;default:if(Wo(l)){for($e in s)s.hasOwnProperty($e)&&(m=s[$e],m!==void 0&&Ba(r,l,$e,m,s,void 0));return}}for($ in s)s.hasOwnProperty($)&&(m=s[$],m!=null&&hn(r,l,$,m,s,null))}function Bo(r,l,s,m){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,S=null,M=null,$=null,Z=null,fe=null,$e=null;for(Ge in s){var at=s[Ge];if(s.hasOwnProperty(Ge)&&at!=null)switch(Ge){case"checked":break;case"value":break;case"defaultValue":Z=at;default:m.hasOwnProperty(Ge)||hn(r,l,Ge,null,m,at)}}for(var Ne in m){var Ge=m[Ne];if(at=s[Ne],m.hasOwnProperty(Ne)&&(Ge!=null||at!=null))switch(Ne){case"type":S=Ge;break;case"name":y=Ge;break;case"checked":fe=Ge;break;case"defaultChecked":$e=Ge;break;case"value":M=Ge;break;case"defaultValue":$=Ge;break;case"children":case"dangerouslySetInnerHTML":if(Ge!=null)throw Error(o(137,l));break;default:Ge!==at&&hn(r,l,Ne,Ge,m,at)}}Md(r,M,$,Z,fe,$e,S,y);return;case"select":Ge=M=$=Ne=null;for(S in s)if(Z=s[S],s.hasOwnProperty(S)&&Z!=null)switch(S){case"value":break;case"multiple":Ge=Z;default:m.hasOwnProperty(S)||hn(r,l,S,null,m,Z)}for(y in m)if(S=m[y],Z=s[y],m.hasOwnProperty(y)&&(S!=null||Z!=null))switch(y){case"value":Ne=S;break;case"defaultValue":$=S;break;case"multiple":M=S;default:S!==Z&&hn(r,l,y,S,m,Z)}l=$,s=M,m=Ge,Ne!=null?Zo(r,!!s,Ne,!1):!!m!=!!s&&(l!=null?Zo(r,!!s,l,!0):Zo(r,!!s,s?[]:"",!1));return;case"textarea":Ge=Ne=null;for($ in s)if(y=s[$],s.hasOwnProperty($)&&y!=null&&!m.hasOwnProperty($))switch($){case"value":break;case"children":break;default:hn(r,l,$,null,m,y)}for(M in m)if(y=m[M],S=s[M],m.hasOwnProperty(M)&&(y!=null||S!=null))switch(M){case"value":Ne=y;break;case"defaultValue":Ge=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(o(91));break;default:y!==S&&hn(r,l,M,y,m,S)}Af(r,Ne,Ge);return;case"option":for(var Nt in s)if(Ne=s[Nt],s.hasOwnProperty(Nt)&&Ne!=null&&!m.hasOwnProperty(Nt))switch(Nt){case"selected":r.selected=!1;break;default:hn(r,l,Nt,null,m,Ne)}for(Z in m)if(Ne=m[Z],Ge=s[Z],m.hasOwnProperty(Z)&&Ne!==Ge&&(Ne!=null||Ge!=null))switch(Z){case"selected":r.selected=Ne&&typeof Ne!="function"&&typeof Ne!="symbol";break;default:hn(r,l,Z,Ne,m,Ge)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var nn in s)Ne=s[nn],s.hasOwnProperty(nn)&&Ne!=null&&!m.hasOwnProperty(nn)&&hn(r,l,nn,null,m,Ne);for(fe in m)if(Ne=m[fe],Ge=s[fe],m.hasOwnProperty(fe)&&Ne!==Ge&&(Ne!=null||Ge!=null))switch(fe){case"children":case"dangerouslySetInnerHTML":if(Ne!=null)throw Error(o(137,l));break;default:hn(r,l,fe,Ne,m,Ge)}return;default:if(Wo(l)){for(var ga in s)Ne=s[ga],s.hasOwnProperty(ga)&&Ne!==void 0&&!m.hasOwnProperty(ga)&&Ba(r,l,ga,void 0,m,Ne);for($e in m)Ne=m[$e],Ge=s[$e],!m.hasOwnProperty($e)||Ne===Ge||Ne===void 0&&Ge===void 0||Ba(r,l,$e,Ne,m,Ge);return}}for(var ge in s)Ne=s[ge],s.hasOwnProperty(ge)&&Ne!=null&&!m.hasOwnProperty(ge)&&hn(r,l,ge,null,m,Ne);for(at in m)Ne=m[at],Ge=s[at],!m.hasOwnProperty(at)||Ne===Ge||Ne==null&&Ge==null||hn(r,l,at,Ne,m,Ge)}var lv=null,ov=null;function Ah(r){return r.nodeType===9?r:r.ownerDocument}function sv(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Wp(r,l){if(r===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&l==="foreignObject"?0:r}function nf(r,l){return r==="textarea"||r==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var wh=null;function Na(){var r=window.event;return r&&r.type==="popstate"?r===wh?!1:(wh=r,!0):(wh=null,!1)}var zi=typeof setTimeout=="function"?setTimeout:void 0,lr=typeof clearTimeout=="function"?clearTimeout:void 0,tn=typeof Promise=="function"?Promise:void 0,Xa=typeof queueMicrotask=="function"?queueMicrotask:typeof tn<"u"?function(r){return tn.resolve(null).then(r).catch(cv)}:zi;function cv(r){setTimeout(function(){throw r})}function xh(r,l){var s=l,m=0;do{var y=s.nextSibling;if(r.removeChild(s),y&&y.nodeType===8)if(s=y.data,s==="/$"){if(m===0){r.removeChild(y),dd(l);return}m--}else s!=="$"&&s!=="$?"&&s!=="$!"||m++;s=y}while(s);dd(l)}function ol(r){var l=r.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var s=l;switch(l=l.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":ol(s),ic(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}r.removeChild(s)}}function zs(r,l,s,m){for(;r.nodeType===1;){var y=s;if(r.nodeName.toLowerCase()!==l.toLowerCase()){if(!m&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(m){if(!r[bl])switch(l){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(S=r.getAttribute("rel"),S==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(S!==y.rel||r.getAttribute("href")!==(y.href==null?null:y.href)||r.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||r.getAttribute("title")!==(y.title==null?null:y.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(S=r.getAttribute("src"),(S!==(y.src==null?null:y.src)||r.getAttribute("type")!==(y.type==null?null:y.type)||r.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&S&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(l==="input"&&r.type==="hidden"){var S=y.name==null?null:""+y.name;if(y.type==="hidden"&&r.getAttribute("name")===S)return r}else return r;if(r=Cr(r.nextSibling),r===null)break}return null}function Th(r,l,s){if(l==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!s||(r=Cr(r.nextSibling),r===null))return null;return r}function Cr(r){for(;r!=null;r=r.nextSibling){var l=r.nodeType;if(l===1||l===3)break;if(l===8){if(l=r.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return r}function Oh(r){r=r.previousSibling;for(var l=0;r;){if(r.nodeType===8){var s=r.data;if(s==="$"||s==="$!"||s==="$?"){if(l===0)return r;l--}else s==="/$"&&l++}r=r.previousSibling}return null}function sl(r,l,s){switch(l=Ah(s),r){case"html":if(r=l.documentElement,!r)throw Error(o(452));return r;case"head":if(r=l.head,!r)throw Error(o(453));return r;case"body":if(r=l.body,!r)throw Error(o(454));return r;default:throw Error(o(451))}}var Ar=new Map,fv=new Set;function dv(r){return typeof r.getRootNode=="function"?r.getRootNode():r.ownerDocument}var Gl=Ye.d;Ye.d={f:uu,r:lu,D:ud,C:Ay,L:Ip,m:wy,X:Ui,S:m0,M:Yt};function uu(){var r=Gl.f(),l=Zc();return r||l}function lu(r){var l=xn(r);l!==null&&l.tag===5&&l.type==="form"?Ep(l):Gl.r(r)}var ou=typeof document>"u"?null:document;function hv(r,l,s){var m=ou;if(m&&typeof l=="string"&&l){var y=Si(l);y='link[rel="'+r+'"][href="'+y+'"]',typeof s=="string"&&(y+='[crossorigin="'+s+'"]'),fv.has(y)||(fv.add(y),r={rel:r,crossOrigin:s,href:l},m.querySelector(y)===null&&(l=m.createElement("link"),Sr(l,"link",r),la(l),m.head.appendChild(l)))}}function ud(r){Gl.D(r),hv("dns-prefetch",r,null)}function Ay(r,l){Gl.C(r,l),hv("preconnect",r,l)}function Ip(r,l,s){Gl.L(r,l,s);var m=ou;if(m&&r&&l){var y='link[rel="preload"][as="'+Si(l)+'"]';l==="image"&&s&&s.imageSrcSet?(y+='[imagesrcset="'+Si(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(y+='[imagesizes="'+Si(s.imageSizes)+'"]')):y+='[href="'+Si(r)+'"]';var S=y;switch(l){case"style":S=pa(r);break;case"script":S=ld(r)}Ar.has(S)||(r=xe({rel:"preload",href:l==="image"&&s&&s.imageSrcSet?void 0:r,as:l},s),Ar.set(S,r),m.querySelector(y)!==null||l==="style"&&m.querySelector(ti(S))||l==="script"&&m.querySelector(No(S))||(l=m.createElement("link"),Sr(l,"link",r),la(l),m.head.appendChild(l)))}}function wy(r,l){Gl.m(r,l);var s=ou;if(s&&r){var m=l&&typeof l.as=="string"?l.as:"script",y='link[rel="modulepreload"][as="'+Si(m)+'"][href="'+Si(r)+'"]',S=y;switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":S=ld(r)}if(!Ar.has(S)&&(r=xe({rel:"modulepreload",href:r},l),Ar.set(S,r),s.querySelector(y)===null)){switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(No(S)))return}m=s.createElement("link"),Sr(m,"link",r),la(m),s.head.appendChild(m)}}}function m0(r,l,s){Gl.S(r,l,s);var m=ou;if(m&&r){var y=li(m).hoistableStyles,S=pa(r);l=l||"default";var M=y.get(S);if(!M){var $={loading:0,preload:null};if(M=m.querySelector(ti(S)))$.loading=5;else{r=xe({rel:"stylesheet",href:r,"data-precedence":l},s),(s=Ar.get(S))&&Lu(r,s);var Z=M=m.createElement("link");la(Z),Sr(Z,"link",r),Z._p=new Promise(function(fe,$e){Z.onload=fe,Z.onerror=$e}),Z.addEventListener("load",function(){$.loading|=1}),Z.addEventListener("error",function(){$.loading|=2}),$.loading|=4,su(M,l,m)}M={type:"stylesheet",instance:M,count:1,state:$},y.set(S,M)}}}function Ui(r,l){Gl.X(r,l);var s=ou;if(s&&r){var m=li(s).hoistableScripts,y=ld(r),S=m.get(y);S||(S=s.querySelector(No(y)),S||(r=xe({src:r,async:!0},l),(l=Ar.get(y))&&cl(r,l),S=s.createElement("script"),la(S),Sr(S,"link",r),s.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},m.set(y,S))}}function Yt(r,l){Gl.M(r,l);var s=ou;if(s&&r){var m=li(s).hoistableScripts,y=ld(r),S=m.get(y);S||(S=s.querySelector(No(y)),S||(r=xe({src:r,async:!0,type:"module"},l),(l=Ar.get(y))&&cl(r,l),S=s.createElement("script"),la(S),Sr(S,"link",r),s.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},m.set(y,S))}}function Et(r,l,s,m){var y=(y=At.current)?dv(y):null;if(!y)throw Error(o(446));switch(r){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(l=pa(s.href),s=li(y).hoistableStyles,m=s.get(l),m||(m={type:"style",instance:null,count:0,state:null},s.set(l,m)),m):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){r=pa(s.href);var S=li(y).hoistableStyles,M=S.get(r);if(M||(y=y.ownerDocument||y,M={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},S.set(r,M),(S=y.querySelector(ti(r)))&&!S._p&&(M.instance=S,M.state.loading=5),Ar.has(r)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Ar.set(r,s),S||na(y,r,s,M.state))),l&&m===null)throw Error(o(528,""));return M}if(l&&m!==null)throw Error(o(529,""));return null;case"script":return l=s.async,s=s.src,typeof s=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=ld(s),s=li(y).hoistableScripts,m=s.get(l),m||(m={type:"script",instance:null,count:0,state:null},s.set(l,m)),m):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,r))}}function pa(r){return'href="'+Si(r)+'"'}function ti(r){return'link[rel="stylesheet"]['+r+"]"}function ni(r){return xe({},r,{"data-precedence":r.precedence,precedence:null})}function na(r,l,s,m){r.querySelector('link[rel="preload"][as="style"]['+l+"]")?m.loading=1:(l=r.createElement("link"),m.preload=l,l.addEventListener("load",function(){return m.loading|=1}),l.addEventListener("error",function(){return m.loading|=2}),Sr(l,"link",s),la(l),r.head.appendChild(l))}function ld(r){return'[src="'+Si(r)+'"]'}function No(r){return"script[async]"+r}function Us(r,l,s){if(l.count++,l.instance===null)switch(l.type){case"style":var m=r.querySelector('style[data-href~="'+Si(s.href)+'"]');if(m)return l.instance=m,la(m),m;var y=xe({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return m=(r.ownerDocument||r).createElement("style"),la(m),Sr(m,"style",y),su(m,s.precedence,r),l.instance=m;case"stylesheet":y=pa(s.href);var S=r.querySelector(ti(y));if(S)return l.state.loading|=4,l.instance=S,la(S),S;m=ni(s),(y=Ar.get(y))&&Lu(m,y),S=(r.ownerDocument||r).createElement("link"),la(S);var M=S;return M._p=new Promise(function($,Z){M.onload=$,M.onerror=Z}),Sr(S,"link",m),l.state.loading|=4,su(S,s.precedence,r),l.instance=S;case"script":return S=ld(s.src),(y=r.querySelector(No(S)))?(l.instance=y,la(y),y):(m=s,(y=Ar.get(S))&&(m=xe({},s),cl(m,y)),r=r.ownerDocument||r,y=r.createElement("script"),la(y),Sr(y,"link",m),r.head.appendChild(y),l.instance=y);case"void":return null;default:throw Error(o(443,l.type))}else l.type==="stylesheet"&&!(l.state.loading&4)&&(m=l.instance,l.state.loading|=4,su(m,s.precedence,r));return l.instance}function su(r,l,s){for(var m=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=m.length?m[m.length-1]:null,S=y,M=0;M<m.length;M++){var $=m[M];if($.dataset.precedence===l)S=$;else if(S!==y)break}S?S.parentNode.insertBefore(r,S.nextSibling):(l=s.nodeType===9?s.head:s,l.insertBefore(r,l.firstChild))}function Lu(r,l){r.crossOrigin==null&&(r.crossOrigin=l.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=l.referrerPolicy),r.title==null&&(r.title=l.title)}function cl(r,l){r.crossOrigin==null&&(r.crossOrigin=l.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=l.referrerPolicy),r.integrity==null&&(r.integrity=l.integrity)}var af=null;function ko(r,l,s){if(af===null){var m=new Map,y=af=new Map;y.set(s,m)}else y=af,m=y.get(s),m||(m=new Map,y.set(s,m));if(m.has(r))return m;for(m.set(r,null),s=s.getElementsByTagName(r),y=0;y<s.length;y++){var S=s[y];if(!(S[bl]||S[Kn]||r==="link"&&S.getAttribute("rel")==="stylesheet")&&S.namespaceURI!=="http://www.w3.org/2000/svg"){var M=S.getAttribute(l)||"";M=r+M;var $=m.get(M);$?$.push(S):m.set(M,[S])}}return m}function Fr(r,l,s){r=r.ownerDocument||r,r.head.insertBefore(s,l==="title"?r.querySelector("head > title"):null)}function ji(r,l,s){if(s===1||l.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return r=l.disabled,typeof l.precedence=="string"&&r==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function js(r){return!(r.type==="stylesheet"&&!(r.state.loading&3))}var rf=null;function xy(){}function Ty(r,l,s){if(rf===null)throw Error(o(475));var m=rf;if(l.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&!(l.state.loading&4)){if(l.instance===null){var y=pa(s.href),S=r.querySelector(ti(y));if(S){r=S._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(m.count++,m=Ls.bind(m),r.then(m,m)),l.state.loading|=4,l.instance=S,la(S);return}S=r.ownerDocument||r,s=ni(s),(y=Ar.get(y))&&Lu(s,y),S=S.createElement("link"),la(S);var M=S;M._p=new Promise(function($,Z){M.onload=$,M.onerror=Z}),Sr(S,"link",s),l.instance=S}m.stylesheets===null&&(m.stylesheets=new Map),m.stylesheets.set(l,r),(r=l.state.preload)&&!(l.state.loading&3)&&(m.count++,l=Ls.bind(m),r.addEventListener("load",l),r.addEventListener("error",l))}}function v0(){if(rf===null)throw Error(o(475));var r=rf;return r.stylesheets&&r.count===0&&Mo(r,r.stylesheets),0<r.count?function(l){var s=setTimeout(function(){if(r.stylesheets&&Mo(r,r.stylesheets),r.unsuspend){var m=r.unsuspend;r.unsuspend=null,m()}},6e4);return r.unsuspend=l,function(){r.unsuspend=null,clearTimeout(s)}}:null}function Ls(){if(this.count--,this.count===0){if(this.stylesheets)Mo(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var uf=null;function Mo(r,l){r.stylesheets=null,r.unsuspend!==null&&(r.count++,uf=new Map,l.forEach(Rh,r),uf=null,Ls.call(r))}function Rh(r,l){if(!(l.state.loading&4)){var s=uf.get(r);if(s)var m=s.get(null);else{s=new Map,uf.set(r,s);for(var y=r.querySelectorAll("link[data-precedence],style[data-precedence]"),S=0;S<y.length;S++){var M=y[S];(M.nodeName==="LINK"||M.getAttribute("media")!=="not all")&&(s.set(M.dataset.precedence,M),m=M)}m&&s.set(null,m)}y=l.instance,M=y.getAttribute("data-precedence"),S=s.get(M)||m,S===m&&s.set(null,y),s.set(M,y),this.count++,m=Ls.bind(this),y.addEventListener("load",m),y.addEventListener("error",m),S?S.parentNode.insertBefore(y,S.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(y,r.firstChild)),l.state.loading|=4}}var Li={$$typeof:z,Provider:null,Consumer:null,_currentValue:We,_currentValue2:We,_threadCount:0};function Oy(r,l,s,m,y,S,M,$){this.tag=1,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=fr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fr(0),this.hiddenUpdates=fr(null),this.identifierPrefix=m,this.onUncaughtError=y,this.onCaughtError=S,this.onRecoverableError=M,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=$,this.incompleteTransitions=new Map}function p0(r,l,s,m,y,S,M,$,Z,fe,$e,at){return r=new Oy(r,l,s,M,$,Z,fe,at),l=1,S===!0&&(l|=24),S=ir(3,null,null,l),r.current=S,S.stateNode=r,l=vp(),l.refCount++,r.pooledCache=l,l.refCount++,S.memoizedState={element:m,isDehydrated:s,cache:l},Fc(S),r}function or(r){return r?(r=Yu,r):Yu}function ai(r,l,s,m,y,S){y=or(y),m.context===null?m.context=y:m.pendingContext=y,m=Mu(l),m.payload={element:s},S=S===void 0?null:S,S!==null&&(m.callback=S),s=Bi(r,m,l),s!==null&&(ur(s,r,l),qt(s,r,l))}function g0(r,l){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<l?s:l}}function mv(r,l){g0(r,l),(r=r.alternate)&&g0(r,l)}function Kp(r){if(r.tag===13){var l=Qi(r,67108864);l!==null&&ur(l,r,67108864),mv(r,67108864)}}var od=!0;function y0(r,l,s,m){var y=ue.T;ue.T=null;var S=Ye.p;try{Ye.p=2,vv(r,l,s,m)}finally{Ye.p=S,ue.T=y}}function b0(r,l,s,m){var y=ue.T;ue.T=null;var S=Ye.p;try{Ye.p=8,vv(r,l,s,m)}finally{Ye.p=S,ue.T=y}}function vv(r,l,s,m){if(od){var y=Bh(m);if(y===null)Ch(r,l,m,Nh,s),eg(r,m);else if(Ry(y,r,l,s,m))m.stopPropagation();else if(eg(r,m),l&4&&-1<Jp.indexOf(r)){for(;y!==null;){var S=xn(y);if(S!==null)switch(S.tag){case 3:if(S=S.stateNode,S.current.memoizedState.isDehydrated){var M=Dt(S.pendingLanes);if(M!==0){var $=S;for($.pendingLanes|=2,$.entangledLanes|=2;M;){var Z=1<<31-un(M);$.entanglements[1]|=Z,M&=~Z}Fi(S),!(Ta&6)&&(ph=kt()+500,Ms(0))}}break;case 13:$=Qi(S,2),$!==null&&ur($,S,2),Zc(),mv(S,2)}if(S=Bh(m),S===null&&Ch(r,l,m,Nh,s),S===y)break;y=S}y!==null&&m.stopPropagation()}else Ch(r,l,m,null,s)}}function Bh(r){return r=Jv(r),pv(r)}var Nh=null;function pv(r){if(Nh=null,r=vu(r),r!==null){var l=be(r);if(l===null)r=null;else{var s=l.tag;if(s===13){if(r=qe(l),r!==null)return r;r=null}else if(s===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;r=null}else l!==r&&(r=null)}}return Nh=r,null}function D0(r){switch(r){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ft()){case Mt:return 2;case St:return 8;case rn:case Un:return 32;case jn:return 268435456;default:return 32}default:return 32}}var kh=!1,_o=null,Hs=null,Fo=null,Vs=new Map,qs=new Map,wr=[],Jp="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".split(" ");function eg(r,l){switch(r){case"focusin":case"focusout":_o=null;break;case"dragenter":case"dragleave":Hs=null;break;case"mouseover":case"mouseout":Fo=null;break;case"pointerover":case"pointerout":Vs.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":qs.delete(l.pointerId)}}function sd(r,l,s,m,y,S){return r===null||r.nativeEvent!==S?(r={blockedOn:l,domEventName:s,eventSystemFlags:m,nativeEvent:S,targetContainers:[y]},l!==null&&(l=xn(l),l!==null&&Kp(l)),r):(r.eventSystemFlags|=m,l=r.targetContainers,y!==null&&l.indexOf(y)===-1&&l.push(y),r)}function Ry(r,l,s,m,y){switch(l){case"focusin":return _o=sd(_o,r,l,s,m,y),!0;case"dragenter":return Hs=sd(Hs,r,l,s,m,y),!0;case"mouseover":return Fo=sd(Fo,r,l,s,m,y),!0;case"pointerover":var S=y.pointerId;return Vs.set(S,sd(Vs.get(S)||null,r,l,s,m,y)),!0;case"gotpointercapture":return S=y.pointerId,qs.set(S,sd(qs.get(S)||null,r,l,s,m,y)),!0}return!1}function E0(r){var l=vu(r.target);if(l!==null){var s=be(l);if(s!==null){if(l=s.tag,l===13){if(l=qe(s),l!==null){r.blockedOn=l,er(r.priority,function(){if(s.tag===13){var m=Jr(),y=Qi(s,m);y!==null&&ur(y,s,m),mv(s,m)}});return}}else if(l===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Mh(r){if(r.blockedOn!==null)return!1;for(var l=r.targetContainers;0<l.length;){var s=Bh(r.nativeEvent);if(s===null){s=r.nativeEvent;var m=new s.constructor(s.type,s);Kv=m,s.target.dispatchEvent(m),Kv=null}else return l=xn(s),l!==null&&Kp(l),r.blockedOn=s,!1;l.shift()}return!0}function gv(r,l,s){Mh(r)&&s.delete(l)}function cd(){kh=!1,_o!==null&&Mh(_o)&&(_o=null),Hs!==null&&Mh(Hs)&&(Hs=null),Fo!==null&&Mh(Fo)&&(Fo=null),Vs.forEach(gv),qs.forEach(gv)}function fd(r,l){r.blockedOn===l&&(r.blockedOn=null,kh||(kh=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,cd)))}var _h=null;function tg(r){_h!==r&&(_h=r,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){_h===r&&(_h=null);for(var l=0;l<r.length;l+=3){var s=r[l],m=r[l+1],y=r[l+2];if(typeof m!="function"){if(pv(m||s)===null)continue;break}var S=xn(s);S!==null&&(r.splice(l,3),l-=3,Ku(S,{pending:!0,data:y,method:s.method,action:m},m,y))}}))}function dd(r){function l(Z){return fd(Z,r)}_o!==null&&fd(_o,r),Hs!==null&&fd(Hs,r),Fo!==null&&fd(Fo,r),Vs.forEach(l),qs.forEach(l);for(var s=0;s<wr.length;s++){var m=wr[s];m.blockedOn===r&&(m.blockedOn=null)}for(;0<wr.length&&(s=wr[0],s.blockedOn===null);)E0(s),s.blockedOn===null&&wr.shift();if(s=(r.ownerDocument||r).$$reactFormReplay,s!=null)for(m=0;m<s.length;m+=3){var y=s[m],S=s[m+1],M=y[bn]||null;if(typeof S=="function")M||tg(s);else if(M){var $=null;if(S&&S.hasAttribute("formAction")){if(y=S,M=S[bn]||null)$=M.formAction;else if(pv(y)!==null)continue}else $=M.action;typeof $=="function"?s[m+1]=$:(s.splice(m,3),m-=3),tg(s)}}}function ng(r){this._internalRoot=r}lf.prototype.render=ng.prototype.render=function(r){var l=this._internalRoot;if(l===null)throw Error(o(409));var s=l.current,m=Jr();ai(s,m,r,l,null,null)},lf.prototype.unmount=ng.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var l=r.containerInfo;r.tag===0&&Vl(),ai(r.current,2,null,r,null,null),Zc(),l[Vr]=null}};function lf(r){this._internalRoot=r}lf.prototype.unstable_scheduleHydration=function(r){if(r){var l=Hr();r={blockedOn:null,target:r,priority:l};for(var s=0;s<wr.length&&l!==0&&l<wr[s].priority;s++);wr.splice(s,0,r),s===0&&E0(r)}};var ag=a.version;if(ag!=="19.0.0")throw Error(o(527,ag,"19.0.0"));Ye.findDOMNode=function(r){var l=r._reactInternals;if(l===void 0)throw typeof r.render=="function"?Error(o(188)):(r=Object.keys(r).join(","),Error(o(268,r)));return r=Se(l),r=r!==null?Xe(r):null,r=r===null?null:r.stateNode,r};var hd={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:ue,findFiberByHostInstance:vu,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yv.isDisabled&&yv.supportsFiber)try{pe=yv.inject(hd),De=yv}catch{}}return m1.createRoot=function(r,l){if(!d(r))throw Error(o(299));var s=!1,m="",y=So,S=el,M=Bl,$=null;return l!=null&&(l.unstable_strictMode===!0&&(s=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(y=l.onUncaughtError),l.onCaughtError!==void 0&&(S=l.onCaughtError),l.onRecoverableError!==void 0&&(M=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&($=l.unstable_transitionCallbacks)),l=p0(r,1,!1,null,null,s,m,y,S,M,$,null),r[Vr]=l.current,ef(r.nodeType===8?r.parentNode:r),new ng(l)},m1.hydrateRoot=function(r,l,s){if(!d(r))throw Error(o(299));var m=!1,y="",S=So,M=el,$=Bl,Z=null,fe=null;return s!=null&&(s.unstable_strictMode===!0&&(m=!0),s.identifierPrefix!==void 0&&(y=s.identifierPrefix),s.onUncaughtError!==void 0&&(S=s.onUncaughtError),s.onCaughtError!==void 0&&(M=s.onCaughtError),s.onRecoverableError!==void 0&&($=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(Z=s.unstable_transitionCallbacks),s.formState!==void 0&&(fe=s.formState)),l=p0(r,1,!0,l,s??null,m,y,S,M,$,Z,fe),l.context=or(null),s=l.current,m=Jr(),y=Mu(m),y.callback=null,Bi(s,y,m),l.current.lanes=m,dt(l,m),Fi(l),r[Vr]=l.current,ef(r),new lf(l)},m1.version="19.0.0",m1}var v1={};/**
752
+ * @license React
753
+ * react-dom-client.development.js
754
+ *
755
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
756
+ *
757
+ * This source code is licensed under the MIT license found in the
758
+ * LICENSE file in the root directory of this source tree.
759
+ */var jO;function Uz(){return jO||(jO=1,process.env.NODE_ENV!=="production"&&function(){function n(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function a(e,t,u,f){if(u>=t.length)return f;var v=t[u],g=lr(e)?e.slice():ht({},e);return g[v]=a(e[v],t,u+1,f),g}function i(e,t,u){if(t.length!==u.length)console.warn("copyWithRename() expects paths of the same length");else{for(var f=0;f<u.length-1;f++)if(t[f]!==u[f]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return o(e,t,u,0)}}function o(e,t,u,f){var v=t[f],g=lr(e)?e.slice():ht({},e);return f+1===t.length?(g[u[f]]=g[v],lr(g)?g.splice(v,1):delete g[v]):g[v]=o(e[v],t,u,f+1),g}function d(e,t,u){var f=t[u],v=lr(e)?e.slice():ht({},e);return u+1===t.length?(lr(v)?v.splice(f,1):delete v[f],v):(v[f]=d(e[f],t,u+1),v)}function p(){return!1}function b(){return null}function E(e,t,u,f){return new Ap(e,t,u,f)}function C(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function A(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function O(){}function R(){}function N(e){var t=[];return e.forEach(function(u){t.push(u)}),t.sort().join(", ")}function z(e,t){e.context===of&&(c0(t,e,null,null),gi())}function U(e,t){if(Gs!==null){var u=t.staleFamilies;t=t.updatedFamilies,Mr(),fm(e.current,t,u),gi()}}function F(e){Gs=e}function x(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function H(e){return e===null||typeof e!="object"?null:(e=h0&&e[h0]||e["@@iterator"],typeof e=="function"?e:null)}function B(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Cy?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Yl:return"Fragment";case Jc:return"Portal";case iv:return"Profiler";case rv:return"StrictMode";case uv:return"Suspense";case Ch:return"SuspenseList"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case iu:return(e.displayName||"Context")+".Provider";case Sh:return(e._context.displayName||"Context")+".Consumer";case ef:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _s:return t=e.displayName||null,t!==null?t:B(e.type)||"Memo";case ei:t=e._payload,e=e._init;try{return B(e(t))}catch{}}return null}function _(e){return typeof e.tag=="number"?V(e):typeof e.name=="string"?e.name:null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===rv?"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 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var u=t.length-1;0<=u;u--)if(typeof t[u].name=="string")return t[u].name}if(e.return!==null)return V(e.return)}return null}function q(){}function K(){if(Fs===0){hn=console.log,Ba=console.info,Sr=console.warn,Bo=console.error,lv=console.group,ov=console.groupCollapsed,Ah=console.groupEnd;var e={configurable:!0,enumerable:!0,value:q,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Fs++}function ie(){if(Fs--,Fs===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ht({},e,{value:hn}),info:ht({},e,{value:Ba}),warn:ht({},e,{value:Sr}),error:ht({},e,{value:Bo}),group:ht({},e,{value:lv}),groupCollapsed:ht({},e,{value:ov}),groupEnd:ht({},e,{value:Ah})})}0>Fs&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ee(e){if(sv===void 0)try{throw Error()}catch(u){var t=u.stack.trim().match(/\n( *(at )?)/);sv=t&&t[1]||"",Wp=-1<u.stack.indexOf(`
760
+ at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
761
+ `+sv+e+Wp}function ue(e,t){if(!e||nf)return"";var u=wh.get(e);if(u!==void 0)return u;nf=!0,u=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var f=null;f=_e.H,_e.H=null,K();try{var v={DetermineComponentFrameRoot:function(){try{if(t){var Re=function(){throw Error()};if(Object.defineProperty(Re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Re,[])}catch(jt){var nt=jt}Reflect.construct(e,[],Re)}else{try{Re.call()}catch(jt){nt=jt}e.call(Re.prototype)}}else{try{throw Error()}catch(jt){nt=jt}(Re=e())&&typeof Re.catch=="function"&&Re.catch(function(){})}}catch(jt){if(jt&&nt&&typeof jt.stack=="string")return[jt.stack,nt.stack]}return[null,null]}};v.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(v.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(v.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var w=v.DetermineComponentFrameRoot(),k=w[0],G=w[1];if(k&&G){var P=k.split(`
762
+ `),Oe=G.split(`
763
+ `);for(w=g=0;g<P.length&&!P[g].includes("DetermineComponentFrameRoot");)g++;for(;w<Oe.length&&!Oe[w].includes("DetermineComponentFrameRoot");)w++;if(g===P.length||w===Oe.length)for(g=P.length-1,w=Oe.length-1;1<=g&&0<=w&&P[g]!==Oe[w];)w--;for(;1<=g&&0<=w;g--,w--)if(P[g]!==Oe[w]){if(g!==1||w!==1)do if(g--,w--,0>w||P[g]!==Oe[w]){var Qe=`
764
+ `+P[g].replace(" at new "," at ");return e.displayName&&Qe.includes("<anonymous>")&&(Qe=Qe.replace("<anonymous>",e.displayName)),typeof e=="function"&&wh.set(e,Qe),Qe}while(1<=g&&0<=w);break}}}finally{nf=!1,_e.H=f,ie(),Error.prepareStackTrace=u}return P=(P=e?e.displayName||e.name:"")?Ee(P):"",typeof e=="function"&&wh.set(e,P),P}function xe(e){switch(e.tag){case 26:case 27:case 5:return Ee(e.type);case 16:return Ee("Lazy");case 13:return Ee("Suspense");case 19:return Ee("SuspenseList");case 0:case 15:return e=ue(e.type,!1),e;case 11:return e=ue(e.type.render,!1),e;case 1:return e=ue(e.type,!0),e;default:return""}}function ze(e){try{var t="";do{t+=xe(e);var u=e._debugInfo;if(u)for(var f=u.length-1;0<=f;f--){var v=u[f];if(typeof v.name=="string"){var g=t,w=v.env,k=Ee(v.name+(w?" ["+w+"]":""));t=g+k}}e=e.return}while(e);return t}catch(G){return`
765
+ Error generating stack: `+G.message+`
766
+ `+G.stack}}function ke(){if(Na===null)return null;var e=Na._debugOwner;return e!=null?_(e):null}function je(){return Na===null?"":ze(Na)}function le(e,t,u,f,v,g,w){var k=Na;_e.getCurrentStack=e===null?null:je,zi=!1,Na=e;try{return t(u,f,v,g,w)}finally{Na=k}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ve(e){var t=e,u=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(u=t.return),e=t.return;while(e)}return t.tag===3?u:null}function ne(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ve(e){if(Ve(e)!==e)throw Error("Unable to find node on an unmounted component.")}function be(e){var t=e.alternate;if(!t){if(t=Ve(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var u=e,f=t;;){var v=u.return;if(v===null)break;var g=v.alternate;if(g===null){if(f=v.return,f!==null){u=f;continue}break}if(v.child===g.child){for(g=v.child;g;){if(g===u)return ve(v),e;if(g===f)return ve(v),t;g=g.sibling}throw Error("Unable to find node on an unmounted component.")}if(u.return!==f.return)u=v,f=g;else{for(var w=!1,k=v.child;k;){if(k===u){w=!0,u=v,f=g;break}if(k===f){w=!0,f=v,u=g;break}k=k.sibling}if(!w){for(k=g.child;k;){if(k===u){w=!0,u=g,f=v;break}if(k===f){w=!0,f=g,u=v;break}k=k.sibling}if(!w)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==f)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==3)throw Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function qe(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=qe(e),t!==null)return t;e=e.sibling}return null}function oe(e){return{current:e}}function Se(e,t){0>ol?console.error("Unexpected pop."):(t!==xh[ol]&&console.error("Unexpected Fiber popped."),e.current=cv[ol],cv[ol]=null,xh[ol]=null,ol--)}function Xe(e,t,u){ol++,cv[ol]=e.current,xh[ol]=u,e.current=t}function Te(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Ye(e,t){Xe(Cr,t,e),Xe(Th,e,e),Xe(zs,null,e);var u=t.nodeType;switch(u){case 9:case 11:u=u===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?l0(t):Gh;break;default:if(t=u===8?t.parentNode:t,u=t.tagName,t=t.namespaceURI)t=l0(t),t=Ta(t,u);else switch(u){case"svg":t=G0;break;case"math":t=Ob;break;default:t=Gh}}u=u.toLowerCase(),u=Md(null,u),u={context:t,ancestorInfo:u},Se(zs,e),Xe(zs,u,e)}function We(e){Se(zs,e),Se(Th,e),Se(Cr,e)}function Q(){return Te(zs.current)}function Ue(e){e.memoizedState!==null&&Xe(Oh,e,e);var t=Te(zs.current),u=e.type,f=Ta(t.context,u);u=Md(t.ancestorInfo,u),f={context:f,ancestorInfo:u},t!==f&&(Xe(Th,e,e),Xe(zs,f,e))}function Ce(e){Th.current===e&&(Se(zs,e),Se(Th,e)),Oh.current===e&&(Se(Oh,e),o1._currentValue=xg)}function we(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Ze(e){try{return Ie(e),!1}catch{return!0}}function Ie(e){return""+e}function Me(e,t){if(Ze(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,we(e)),Ie(e)}function At(e,t){if(Ze(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,we(e)),Ie(e)}function pt(e){if(Ze(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",we(e)),Ie(e)}function Lt(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Ui=t.inject(e),Yt=t}catch(u){console.error("React instrumentation encountered an error: %s.",u)}return!!t.checkDCE}function sn(e,t){if(Yt&&typeof Yt.onCommitFiberRoot=="function")try{var u=(e.current.flags&128)===128;switch(t){case su:var f=ou;break;case Lu:f=hv;break;case cl:f=ud;break;case af:f=Ip;break;default:f=ud}Yt.onCommitFiberRoot(Ui,e,f,u)}catch(v){pa||(pa=!0,console.error("React instrumentation encountered an error: %s",v))}}function xt(e){if(typeof wy=="function"&&m0(e),Yt&&typeof Yt.setStrictMode=="function")try{Yt.setStrictMode(Ui,e)}catch(t){pa||(pa=!0,console.error("React instrumentation encountered an error: %s",t))}}function ln(e){Et=e}function Zt(){Et!==null&&typeof Et.markCommitStopped=="function"&&Et.markCommitStopped()}function yn(e){Et!==null&&typeof Et.markComponentRenderStarted=="function"&&Et.markComponentRenderStarted(e)}function I(){Et!==null&&typeof Et.markComponentRenderStopped=="function"&&Et.markComponentRenderStopped()}function rt(e){Et!==null&&typeof Et.markRenderStarted=="function"&&Et.markRenderStarted(e)}function ct(){Et!==null&&typeof Et.markRenderStopped=="function"&&Et.markRenderStopped()}function kt(e,t){Et!==null&&typeof Et.markStateUpdateScheduled=="function"&&Et.markStateUpdateScheduled(e,t)}function Ft(e){return e>>>=0,e===0?32:31-(na(e)/ld|0)|0}function Mt(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&64)return"TransitionHydration";if(e&4194176)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function St(e){var t=e&42;if(t!==0)return t;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:return 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 e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function rn(e,t){var u=e.pendingLanes;if(u===0)return 0;var f=0,v=e.suspendedLanes,g=e.pingedLanes,w=e.warmLanes;e=e.finishedLanes!==0;var k=u&134217727;return k!==0?(u=k&~v,u!==0?f=St(u):(g&=k,g!==0?f=St(g):e||(w=k&~w,w!==0&&(f=St(w))))):(k=u&~v,k!==0?f=St(k):g!==0?f=St(g):e||(w=u&~w,w!==0&&(f=St(w)))),f===0?0:t!==0&&t!==f&&!(t&v)&&(v=f&-f,w=t&-t,v>=w||v===32&&(w&4194176)!==0)?t:f}function Un(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function jn(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;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;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Ln(){var e=No;return No<<=1,!(No&4194176)&&(No=128),e}function de(){var e=Us;return Us<<=1,!(Us&62914560)&&(Us=4194304),e}function pe(e){for(var t=[],u=0;31>u;u++)t.push(e);return t}function De(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ut(e,t,u,f,v,g){var w=e.pendingLanes;e.pendingLanes=u,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=u,e.entangledLanes&=u,e.errorRecoveryDisabledLanes&=u,e.shellSuspendCounter=0;var k=e.entanglements,G=e.expirationTimes,P=e.hiddenUpdates;for(u=w&~u;0<u;){var Oe=31-ni(u),Qe=1<<Oe;k[Oe]=0,G[Oe]=-1;var Re=P[Oe];if(Re!==null)for(P[Oe]=null,Oe=0;Oe<Re.length;Oe++){var nt=Re[Oe];nt!==null&&(nt.lane&=-536870913)}u&=~Qe}f!==0&&Tt(e,f,0),g!==0&&v===0&&e.tag!==0&&(e.suspendedLanes|=g&~(w&~t))}function Tt(e,t,u){e.pendingLanes|=t,e.suspendedLanes&=~t;var f=31-ni(t);e.entangledLanes|=t,e.entanglements[f]=e.entanglements[f]|1073741824|u&4194218}function un(e,t){var u=e.entangledLanes|=t;for(e=e.entanglements;u;){var f=31-ni(u),v=1<<f;v&t|e[f]&t&&(e[f]|=t),u&=~v}}function In(e,t,u){if(ti)for(e=e.pendingUpdatersLaneMap;0<u;){var f=31-ni(u),v=1<<f;e[f].add(t),u&=~v}}function It(e,t){if(ti)for(var u=e.pendingUpdatersLaneMap,f=e.memoizedUpdaters;0<t;){var v=31-ni(t);e=1<<v,v=u[v],0<v.size&&(v.forEach(function(g){var w=g.alternate;w!==null&&f.has(w)||f.add(g)}),v.clear()),t&=~e}}function ft(e){return e&=-e,su<e?Lu<e?e&134217727?cl:af:Lu:su}function mt(){var e=tn.p;return e!==0?e:(e=window.event,e===void 0?cl:Ic(e.type))}function bt(e,t){var u=tn.p;try{return tn.p=e,t()}finally{tn.p=u}}function Dt(e){delete e[Fr],delete e[ji],delete e[rf],delete e[xy],delete e[Ty]}function Bt(e){var t=e[Fr];if(t)return t;for(var u=e.parentNode;u;){if(t=u[js]||u[Fr]){if(u=t.alternate,t.child!==null||u!==null&&u.child!==null)for(e=ul(e);e!==null;){if(u=e[Fr])return u;e=ul(e)}return t}e=u,u=e.parentNode}return null}function Wt(e){if(e=e[Fr]||e[js]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function gt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Gt(e){var t=e[v0];return t||(t=e[v0]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Bn(e){e[Ls]=!0}function fr(e,t){dt(e,t),dt(e+"Capture",t)}function dt(e,t){Mo[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Mo[e]=t;var u=e.toLowerCase();for(Rh[u]=e,e==="onDoubleClick"&&(Rh.ondblclick=e),e=0;e<t.length;e++)uf.add(t[e])}function Vt(e,t){Oy[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Jt(e){return sl.call(ai,e)?!0:sl.call(or,e)?!1:p0.test(e)?ai[e]=!0:(or[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Da(e,t,u){if(Jt(t)){if(!e.hasAttribute(t)){switch(typeof u){case"symbol":case"object":return u;case"function":return u;case"boolean":if(u===!1)return u}return u===void 0?void 0:null}return e=e.getAttribute(t),e===""&&u===!0?!0:(Me(u,t),e===""+u?u:e)}}function ja(e,t,u){if(Jt(t))if(u===null)e.removeAttribute(t);else{switch(typeof u){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var f=t.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){e.removeAttribute(t);return}}Me(u,t),e.setAttribute(t,""+u)}}function Hr(e,t,u){if(u===null)e.removeAttribute(t);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Me(u,t),e.setAttribute(t,""+u)}}function er(e,t,u,f){if(f===null)e.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(u);return}Me(f,u),e.setAttributeNS(t,u,""+f)}}function kn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return pt(e),e;default:return""}}function Kn(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bn(e){var t=Kn(e)?"checked":"value",u=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);pt(e[t]);var f=""+e[t];if(!e.hasOwnProperty(t)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var v=u.get,g=u.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return v.call(this)},set:function(w){pt(w),f=""+w,g.call(this,w)}}),Object.defineProperty(e,t,{enumerable:u.enumerable}),{getValue:function(){return f},setValue:function(w){pt(w),f=""+w},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vr(e){e._valueTracker||(e._valueTracker=bn(e))}function Df(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var u=t.getValue(),f="";return e&&(f=Kn(e)?e.checked?"true":"false":e.value),e=f,e!==u?(t.setValue(e),!0):!1}function rc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ui(e){return e.replace(g0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ef(e,t){t.checked===void 0||t.defaultChecked===void 0||Kp||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ke()||"A component",t.type),Kp=!0),t.value===void 0||t.defaultValue===void 0||mv||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ke()||"A component",t.type),mv=!0)}function bl(e,t,u,f,v,g,w,k){e.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?(Me(w,"type"),e.type=w):e.removeAttribute("type"),t!=null?w==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+kn(t)):e.value!==""+kn(t)&&(e.value=""+kn(t)):w!=="submit"&&w!=="reset"||e.removeAttribute("value"),t!=null?vu(e,w,kn(t)):u!=null?vu(e,w,kn(u)):f!=null&&e.removeAttribute("value"),v==null&&g!=null&&(e.defaultChecked=!!g),v!=null&&(e.checked=v&&typeof v!="function"&&typeof v!="symbol"),k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"?(Me(k,"name"),e.name=""+kn(k)):e.removeAttribute("name")}function ic(e,t,u,f,v,g,w,k){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(Me(g,"type"),e.type=g),t!=null||u!=null){if(!(g!=="submit"&&g!=="reset"||t!=null))return;u=u!=null?""+kn(u):"",t=t!=null?""+kn(t):u,k||t===e.value||(e.value=t),e.defaultValue=t}f=f??v,f=typeof f!="function"&&typeof f!="symbol"&&!!f,e.checked=k?e.checked:!!f,e.defaultChecked=!!f,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(Me(w,"name"),e.name=w)}function vu(e,t,u){t==="number"&&rc(e.ownerDocument)===e||e.defaultValue===""+u||(e.defaultValue=""+u)}function xn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?id.Children.forEach(t.children,function(u){u==null||typeof u=="string"||typeof u=="number"||typeof u=="bigint"||y0||(y0=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||b0||(b0=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||od||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),od=!0)}function dr(){var e=ke();return e?`
767
+
768
+ Check the render method of \``+e+"`.":""}function li(e,t,u,f){if(e=e.options,t){t={};for(var v=0;v<u.length;v++)t["$"+u[v]]=!0;for(u=0;u<e.length;u++)v=t.hasOwnProperty("$"+e[u].value),e[u].selected!==v&&(e[u].selected=v),v&&f&&(e[u].defaultSelected=!0)}else{for(u=""+kn(u),t=null,v=0;v<e.length;v++){if(e[v].value===u){e[v].selected=!0,f&&(e[v].defaultSelected=!0);return}t!==null||e[v].disabled||(t=e[v])}t!==null&&(t.selected=!0)}}function la(e,t){for(e=0;e<Bh.length;e++){var u=Bh[e];if(t[u]!=null){var f=lr(t[u]);t.multiple&&!f?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",u,dr()):!t.multiple&&f&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",u,dr())}}t.value===void 0||t.defaultValue===void 0||vv||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),vv=!0)}function Bd(e,t){t.value===void 0||t.defaultValue===void 0||Nh||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",ke()||"A component"),Nh=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function uc(e,t,u){if(t!=null&&(t=""+kn(t),t!==e.value&&(e.value=t),u==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=u!=null?""+kn(u):""}function Xo(e,t,u,f){if(t==null){if(f!=null){if(u!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(lr(f)){if(1<f.length)throw Error("<textarea> can only have at most one child.");f=f[0]}u=f}u==null&&(u=""),t=u}u=kn(t),e.defaultValue=u,f=e.textContent,f===u&&f!==""&&f!==null&&(e.value=f)}function Po(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Po(e.children[0],t):e}function La(e){return" "+" ".repeat(e)}function lc(e){return"+ "+" ".repeat(e)}function Qo(e){return"- "+" ".repeat(e)}function Pv(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Nd(e,t){return pv.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function oc(e,t,u){var f=120-2*u;if(t===null)return lc(u)+Nd(e,f)+`
769
+ `;if(typeof t=="string"){for(var v=0;v<t.length&&v<e.length&&t.charCodeAt(v)===e.charCodeAt(v);v++);return v>f-8&&10<v&&(e="..."+e.slice(v-8),t="..."+t.slice(v-8)),lc(u)+Nd(e,f)+`
770
+ `+Qo(u)+Nd(t,f)+`
771
+ `}return La(u)+Nd(e,f)+`
772
+ `}function sc(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,u){return u})}function Ei(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(lr(e))return"[...]";if(e.$$typeof===ql)return(t=B(e.type))?"<"+t+">":"<...>";var u=sc(e);if(u==="Object"){u="",t-=2;for(var f in e)if(e.hasOwnProperty(f)){var v=JSON.stringify(f);if(v!=='"'+f+'"'&&(f=v),t-=f.length-2,v=Ei(e[f],15>t?t:15),t-=v.length,0>t){u+=u===""?"...":", ...";break}u+=(u===""?"":",")+f+":"+v}return"{"+u+"}"}return u;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function pr(e,t){return typeof e!="string"||pv.test(e)?"{"+Ei(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Sf(e,t,u){var f=120-u.length-e.length,v=[],g;for(g in t)if(t.hasOwnProperty(g)&&g!=="children"){var w=pr(t[g],120-u.length-g.length-1);f-=g.length+w.length+2,v.push(g+"="+w)}return v.length===0?u+"<"+e+`>
773
+ `:0<f?u+"<"+e+" "+v.join(" ")+`>
774
+ `:u+"<"+e+`
775
+ `+u+" "+v.join(`
776
+ `+u+" ")+`
777
+ `+u+`>
778
+ `}function vy(e,t,u){var f="",v=ht({},t),g;for(g in e)if(e.hasOwnProperty(g)){delete v[g];var w=120-2*u-g.length-2,k=Ei(e[g],w);t.hasOwnProperty(g)?(w=Ei(t[g],w),f+=lc(u)+g+": "+k+`
779
+ `,f+=Qo(u)+g+": "+w+`
780
+ `):f+=lc(u)+g+": "+k+`
781
+ `}for(var G in v)v.hasOwnProperty(G)&&(e=Ei(v[G],120-2*u-G.length-2),f+=Qo(u)+G+": "+e+`
782
+ `);return f}function kd(e,t,u,f){var v="",g=new Map;for(P in u)u.hasOwnProperty(P)&&g.set(P.toLowerCase(),P);if(g.size===1&&g.has("children"))v+=Sf(e,t,La(f));else{for(var w in t)if(t.hasOwnProperty(w)&&w!=="children"){var k=120-2*(f+1)-w.length-1,G=g.get(w.toLowerCase());if(G!==void 0){g.delete(w.toLowerCase());var P=t[w];G=u[G];var Oe=pr(P,k);k=pr(G,k),typeof P=="object"&&P!==null&&typeof G=="object"&&G!==null&&sc(P)==="Object"&&sc(G)==="Object"&&(2<Object.keys(P).length||2<Object.keys(G).length||-1<Oe.indexOf("...")||-1<k.indexOf("..."))?v+=La(f+1)+w+`={{
783
+ `+vy(P,G,f+2)+La(f+1)+`}}
784
+ `:(v+=lc(f+1)+w+"="+Oe+`
785
+ `,v+=Qo(f+1)+w+"="+k+`
786
+ `)}else v+=La(f+1)+w+"="+pr(t[w],k)+`
787
+ `}g.forEach(function(Qe){if(Qe!=="children"){var Re=120-2*(f+1)-Qe.length-1;v+=Qo(f+1)+Qe+"="+pr(u[Qe],Re)+`
788
+ `}}),v=v===""?La(f)+"<"+e+`>
789
+ `:La(f)+"<"+e+`
790
+ `+v+La(f)+`>
791
+ `}return e=u.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(g="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(g=""+t),v+=oc(g,""+e,f+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(v=e==null?v+oc(""+t,null,f+1):v+oc(""+t,void 0,f+1)),v}function Cf(e,t){var u=Pv(e);if(u===null){for(u="",e=e.child;e;)u+=Cf(e,t),e=e.sibling;return u}return La(t)+"<"+u+`>
792
+ `}function cc(e,t){var u=Po(e,t);if(u!==e&&(e.children.length!==1||e.children[0]!==u))return La(t)+`...
793
+ `+cc(u,t+1);u="";var f=e.fiber._debugInfo;if(f)for(var v=0;v<f.length;v++){var g=f[v].name;typeof g=="string"&&(u+=La(t)+"<"+g+`>
794
+ `,t++)}if(f="",v=e.fiber.pendingProps,e.fiber.tag===6)f=oc(v,e.serverProps,t),t++;else if(g=Pv(e.fiber),g!==null)if(e.serverProps===void 0){f=t;var w=120-2*f-g.length-2,k="";for(P in v)if(v.hasOwnProperty(P)&&P!=="children"){var G=pr(v[P],15);if(w-=P.length+G.length+2,0>w){k+=" ...";break}k+=" "+P+"="+G}f=La(f)+"<"+g+k+`>
795
+ `,t++}else e.serverProps===null?(f=Sf(g,v,lc(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(f=kd(g,v,e.serverProps,t),t++);var P="";for(v=e.fiber.child,g=0;v&&g<e.children.length;)w=e.children[g],w.fiber===v?(P+=cc(w,t),g++):P+=Cf(v,t),v=v.sibling;for(v&&0<e.children.length&&(P+=La(t)+`...
796
+ `),v=e.serverTail,e.serverProps===null&&t--,e=0;e<v.length;e++)g=v[e],P=typeof g=="string"?P+(Qo(t)+Nd(g,120-2*t)+`
797
+ `):P+Sf(g.type,g.props,Qo(t));return u+f+P}function Qv(e){try{return`
798
+
799
+ `+cc(e,0)}catch{return""}}function Si(e,t,u){for(var f=t,v=null,g=0;f;)f===e&&(g=0),v={fiber:f,children:v!==null?[v]:[],serverProps:f===t?u:f===e?null:void 0,serverTail:[],distanceFromLeaf:g},g++,f=f.return;return v!==null?Qv(v).replaceAll(/^[+-]/gm,">"):""}function Md(e,t){e=ht({},e||Fo);var u={tag:t};return kh.indexOf(t)!==-1&&(e.aTagInScope=null,e.buttonTagInScope=null,e.nobrTagInScope=null),_o.indexOf(t)!==-1&&(e.pTagInButtonScope=null),D0.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(e.listItemTagAutoclosing=null,e.dlItemTagAutoclosing=null),e.current=u,t==="form"&&(e.formTag=u),t==="a"&&(e.aTagInScope=u),t==="button"&&(e.buttonTagInScope=u),t==="nobr"&&(e.nobrTagInScope=u),t==="p"&&(e.pTagInButtonScope=u),t==="li"&&(e.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(e.dlItemTagAutoclosing=u),t==="#document"||t==="html"?e.containerTagInScope=null:e.containerTagInScope||(e.containerTagInScope=u),e}function _d(e,t){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Hs.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0}function Zv(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Zo(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Af(e,t){t=t||Fo;var u=t.current;if(t=(u=_d(e,u&&u.tag)?null:u)?null:Zv(e,t),t=u||t,!t)return!0;t=t.tag;var f=String(!!u)+"|"+e+"|"+t;if(Vs[f])return!1;Vs[f]=!0;var v=(f=Na)?Zo(f.return,t):null;return f=f!==null&&v!==null?Si(v,f,null):"",v="<"+e+">",u?(u="",t==="table"&&e==="tr"&&(u+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
800
+ This will cause a hydration error.%s`,v,t,u,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
801
+ This will cause a hydration error.%s`,v,t,f),!1}function fc(e,t){if(_d("#text",t))return!0;var u="#text|"+t;if(Vs[u])return!1;Vs[u]=!0;var f=(u=Na)?Zo(u,t):null;return u=u!==null&&f!==null?Si(f,u,u.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
802
+ This will cause a hydration error.%s`,t,u):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
803
+ This will cause a hydration error.%s`,t,u),!1}function oi(e,t){if(t){var u=e.firstChild;if(u&&u===e.lastChild&&u.nodeType===3){u.nodeValue=t;return}}e.textContent=t}function Gg(e){return e.replace(Mh,function(t,u){return u.toUpperCase()})}function nm(e,t,u){var f=t.indexOf("--")===0;f||(-1<t.indexOf("-")?cd.hasOwnProperty(t)&&cd[t]||(cd[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Gg(t.replace(E0,"ms-")))):Ry.test(t)?cd.hasOwnProperty(t)&&cd[t]||(cd[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!gv.test(u)||fd.hasOwnProperty(u)&&fd[u]||(fd[u]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,u.replace(gv,""))),typeof u=="number"&&(isNaN(u)?_h||(_h=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(u)||tg||(tg=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),u==null||typeof u=="boolean"||u===""?f?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":f?e.setProperty(t,u):typeof u!="number"||u===0||dd.has(t)?t==="float"?e.cssFloat=u:(At(u,t),e[t]=(""+u).trim()):e[t]=u+"px"}function Wv(e,t,u){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,u!=null){if(t){var f={};if(u){for(var v in u)if(u.hasOwnProperty(v)&&!t.hasOwnProperty(v))for(var g=Jp[v]||[v],w=0;w<g.length;w++)f[g[w]]=v}for(var k in t)if(t.hasOwnProperty(k)&&(!u||u[k]!==t[k]))for(v=Jp[k]||[k],g=0;g<v.length;g++)f[v[g]]=k;k={};for(var G in t)for(v=Jp[G]||[G],g=0;g<v.length;g++)k[v[g]]=G;G={};for(var P in f)if(v=f[P],(g=k[P])&&v!==g&&(w=v+","+g,!G[w])){G[w]=!0,w=console;var Oe=t[v];w.error.call(w,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Oe==null||typeof Oe=="boolean"||Oe===""?"Removing":"Updating",v,g)}}for(var Qe in u)!u.hasOwnProperty(Qe)||t!=null&&t.hasOwnProperty(Qe)||(Qe.indexOf("--")===0?e.setProperty(Qe,""):Qe==="float"?e.cssFloat="":e[Qe]="");for(var Re in t)P=t[Re],t.hasOwnProperty(Re)&&u[Re]!==P&&nm(e,Re,P)}else for(f in t)t.hasOwnProperty(f)&&nm(e,f,t[f])}function Wo(e){if(e.indexOf("-")===-1)return!1;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}}function Iv(e){return ng.get(e)||e}function $g(e,t){if(sl.call(hd,t)&&hd[t])return!0;if(r.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=ag.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),hd[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),hd[t]=!0}if(yv.test(t)){if(e=t.toLowerCase(),e=ag.hasOwnProperty(e)?e:null,e==null)return hd[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),hd[t]=!0)}return!0}function Fd(e,t){var u=[],f;for(f in t)$g(e,f)||u.push(f);t=u.map(function(v){return"`"+v+"`"}).join(", "),u.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<u.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Kv(e,t,u,f){if(sl.call(s,t)&&s[t])return!0;var v=t.toLowerCase();if(v==="onfocusin"||v==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),s[t]=!0;if(typeof u=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(f!=null){if(e=f.possibleRegistrationNames,f.registrationNameDependencies.hasOwnProperty(t))return!0;if(f=e.hasOwnProperty(v)?e[v]:null,f!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,f),s[t]=!0;if(m.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),s[t]=!0}else if(m.test(t))return y.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),s[t]=!0;if(S.test(t)||M.test(t))return!0;if(v==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),s[t]=!0;if(v==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),s[t]=!0;if(v==="is"&&u!==null&&u!==void 0&&typeof u!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof u),s[t]=!0;if(typeof u=="number"&&isNaN(u))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),s[t]=!0;if(lf.hasOwnProperty(v)){if(v=lf[v],v!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,v),s[t]=!0}else if(t!==v)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,v),s[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof u){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return v=t.toLowerCase().slice(0,5),v==="data-"||v==="aria-"?!0:(u?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',u,t,t,u,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',u,t,t,u,t,t,t),s[t]=!0)}case"function":case"symbol":return s[t]=!0,!1;case"string":if(u==="false"||u==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",u,t,u==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,u),s[t]=!0}}return!0}function Jv(e,t,u){var f=[],v;for(v in t)Kv(e,v,t[v],u)||f.push(v);t=f.map(function(g){return"`"+g+"`"}).join(", "),f.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<f.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Dl(e){return $.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Wl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function ep(e){var t=Wt(e);if(t&&(e=t.stateNode)){var u=e[ji]||null;e:switch(e=t.stateNode,t.type){case"input":if(bl(e,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),t=u.name,u.type==="radio"&&t!=null){for(u=e;u.parentNode;)u=u.parentNode;for(Me(t,"name"),u=u.querySelectorAll('input[name="'+ui(""+t)+'"][type="radio"]'),t=0;t<u.length;t++){var f=u[t];if(f!==e&&f.form===e.form){var v=f[ji]||null;if(!v)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");bl(f,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(t=0;t<u.length;t++)f=u[t],f.form===e.form&&Df(f)}break e;case"textarea":uc(e,u.value,u.defaultValue);break e;case"select":t=u.value,t!=null&&li(e,!!u.multiple,t,!1)}}}function am(e,t,u){if(at)return e(t,u);at=!0;try{var f=e(t);return f}finally{if(at=!1,(fe!==null||$e!==null)&&(gi(),fe&&(t=fe,e=$e,$e=fe=null,ep(t),e)))for(t=0;t<e.length;t++)ep(e[t])}}function wf(e,t){var u=e.stateNode;if(u===null)return null;var f=u[ji]||null;if(f===null)return null;u=f[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":(f=!f.disabled)||(e=e.type,f=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!f;break e;default:e=!1}if(e)return null;if(u&&typeof u!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}function xf(){if(ga)return ga;var e,t=nn,u=t.length,f,v="value"in Nt?Nt.value:Nt.textContent,g=v.length;for(e=0;e<u&&t[e]===v[e];e++);var w=u-e;for(f=1;f<=w&&t[u-f]===v[g-f];f++);return ga=v.slice(e,1<f?1-f:void 0)}function Io(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ko(){return!0}function Il(){return!1}function qr(e){function t(u,f,v,g,w){this._reactName=u,this._targetInst=v,this.type=f,this.nativeEvent=g,this.target=w,this.currentTarget=null;for(var k in e)e.hasOwnProperty(k)&&(u=e[k],this[k]=u?u(g):g[k]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Ko:Il,this.isPropagationStopped=Il,this}return ht(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=Ko)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Ko)},persist:function(){},isPersistent:Ko}),t}function rm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ZD[e])?!!t[e]:!1}function im(){return rm}function ra(e,t){switch(e){case"keyup":return uE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Z1;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jn(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Xg(e,t){switch(e){case"compositionend":return Jn(t);case"keypress":return t.which!==I1?null:(J1=!0,K1);case"textInput":return e=t.data,e===K1&&J1?null:e;default:return null}}function Ci(e,t){if(bv)return e==="compositionend"||!Fy&&ra(e,t)?(e=xf(),ga=nn=Nt=null,bv=!1,e):null;switch(e){case"paste":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 W1&&t.locale!=="ko"?null:t.data;default:return null}}function Jo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!oE[e.type]:t==="textarea"}function um(e){if(!Li)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Tf(e,t,u,f){fe?$e?$e.push(f):$e=[f]:fe=f,t=To(t,"onChange"),0<t.length&&(u=new ce("onChange","change",null,u,f),e.push({event:u,listeners:t}))}function py(e){Ym(e,0)}function dc(e){var t=gt(e);if(Df(t))return e}function lm(e,t){if(e==="change")return t}function Ha(){ig&&(ig.detachEvent("onpropertychange",hc),ug=ig=null)}function hc(e){if(e.propertyName==="value"&&dc(ug)){var t=[];Tf(t,ug,e,Wl(e)),am(py,t)}}function es(e,t,u){e==="focusin"?(Ha(),ig=t,ug=u,ig.attachEvent("onpropertychange",hc)):e==="focusout"&&Ha()}function Pg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return dc(ug)}function tp(e,t){if(e==="click")return dc(t)}function pu(e,t){if(e==="input"||e==="change")return dc(t)}function om(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Of(e,t){if(h(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var u=Object.keys(e),f=Object.keys(t);if(u.length!==f.length)return!1;for(f=0;f<u.length;f++){var v=u[f];if(!sl.call(t,v)||!h(e[v],t[v]))return!1}return!0}function np(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ap(e,t){var u=np(e);e=0;for(var f;u;){if(u.nodeType===3){if(f=e+u.textContent.length,e<=t&&f>=t)return{node:u,offset:t-e};e=f}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=np(u)}}function rp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?rp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ip(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=rc(e.document);t instanceof e.HTMLIFrameElement;){try{var u=typeof t.contentWindow.location.href=="string"}catch{u=!1}if(u)e=t.contentWindow;else break;t=rc(e.document)}return t}function Yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function gy(e,t){var u=ip(t);t=e.focusedElem;var f=e.selectionRange;if(u!==t&&t&&t.ownerDocument&&rp(t.ownerDocument.documentElement,t)){if(f!==null&&Yr(t)){if(e=f.start,u=f.end,u===void 0&&(u=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(u,t.value.length);else if(u=(e=t.ownerDocument||document)&&e.defaultView||window,u.getSelection){u=u.getSelection();var v=t.textContent.length,g=Math.min(f.start,v);f=f.end===void 0?g:Math.min(f.end,v),!u.extend&&g>f&&(v=f,f=g,g=v),v=ap(t,g);var w=ap(t,f);v&&w&&(u.rangeCount!==1||u.anchorNode!==v.node||u.anchorOffset!==v.offset||u.focusNode!==w.node||u.focusOffset!==w.offset)&&(e=e.createRange(),e.setStart(v.node,v.offset),u.removeAllRanges(),g>f?(u.addRange(e),u.extend(w.node,w.offset)):(e.setEnd(w.node,w.offset),u.addRange(e)))}}for(e=[],u=t;u=u.parentNode;)u.nodeType===1&&e.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<e.length;t++)u=e[t],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}}function Xi(e,t,u){var f=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;W||T==null||T!==rc(f)||(f=T,"selectionStart"in f&&Yr(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),X&&Of(X,f)||(X=f,f=To(j,"onSelect"),0<f.length&&(t=new ce("onSelect","select",null,t,u),e.push({event:t,listeners:f}),t.target=T)))}function mc(e,t){var u={};return u[e.toLowerCase()]=t.toLowerCase(),u["Webkit"+e]="webkit"+t,u["Moz"+e]="moz"+t,u}function ts(e){if(ye[e])return ye[e];if(!ae[e])return e;var t=ae[e],u;for(u in t)if(t.hasOwnProperty(u)&&u in Je)return ye[e]=t[u];return e}function tr(e,t){Nn.set(e,t),fr(t,[e])}function vc(){for(var e=Vi,t=zo=Vi=0;t<e;){var u=aa[t];aa[t++]=null;var f=aa[t];aa[t++]=null;var v=aa[t];aa[t++]=null;var g=aa[t];if(aa[t++]=null,f!==null&&v!==null){var w=f.pending;w===null?v.next=v:(v.next=w.next,w.next=v),f.pending=v}g!==0&&sm(u,v,g)}}function Rf(e,t,u,f){aa[Vi++]=e,aa[Vi++]=t,aa[Vi++]=u,aa[Vi++]=f,zo|=f,e.lanes|=f,e=e.alternate,e!==null&&(e.lanes|=f)}function da(e,t,u,f){return Rf(e,t,u,f),cm(e)}function Sa(e,t){return Rf(e,null,null,t),cm(e)}function sm(e,t,u){e.lanes|=u;var f=e.alternate;f!==null&&(f.lanes|=u);for(var v=!1,g=e.return;g!==null;)g.childLanes|=u,f=g.alternate,f!==null&&(f.childLanes|=u),g.tag===22&&(e=g.stateNode,e===null||e._visibility&Hi||(v=!0)),e=g,g=g.return;v&&t!==null&&e.tag===3&&(g=e.stateNode,v=31-ni(u),g=g.hiddenUpdates,e=g[v],e===null?g[v]=[t]:e.push(t),t.lane=u|536870912)}function cm(e){if(a1>NR)throw Dg=a1=0,r1=UE=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Dg>kR&&(Dg=0,r1=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&e.flags&4098&&Op(e);for(var t=e,u=t.return;u!==null;)t.alternate===null&&t.flags&4098&&Op(e),t=u,u=t.return;return t.tag===3?t.stateNode:null}function Kl(e){if(Gs===null)return e;var t=Gs(e);return t===void 0?e:t.current}function up(e){if(Gs===null)return e;var t=Gs(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Kl(e.render),e.render!==t)?(t={$$typeof:ef,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Qg(e,t){if(Gs===null)return!1;var u=e.elementType;t=t.type;var f=!1,v=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(f=!0);break;case 0:(typeof t=="function"||v===ei)&&(f=!0);break;case 11:(v===ef||v===ei)&&(f=!0);break;case 14:case 15:(v===_s||v===ei)&&(f=!0);break;default:return!1}return!!(f&&(e=Gs(u),e!==void 0&&e===Gs(t)))}function Zg(e){Gs!==null&&typeof WeakSet=="function"&&(C0===null&&(C0=new WeakSet),C0.add(e))}function fm(e,t,u){var f=e.alternate,v=e.child,g=e.sibling,w=e.tag,k=e.type,G=null;switch(w){case 0:case 15:case 1:G=k;break;case 11:G=k.render}if(Gs===null)throw Error("Expected resolveFamily to be set during hot reload.");var P=!1;k=!1,G!==null&&(G=Gs(G),G!==void 0&&(u.has(G)?k=!0:t.has(G)&&(w===1?k=!0:P=!0))),C0!==null&&(C0.has(e)||f!==null&&C0.has(f))&&(k=!0),k&&(e._debugNeedsRemount=!0),(k||P)&&(f=Sa(e,2),f!==null&&sa(f,e,2)),v===null||k||fm(v,t,u),g!==null&&fm(g,t,u)}function gu(){var e=lg;return lg=0,e}function Jl(e){var t=lg;return lg=e,t}function pc(e){var t=lg;return lg+=e,t}function ns(e){$l=A0(),0>e.actualStartTime&&(e.actualStartTime=$l)}function dm(e){if(0<=$l){var t=A0()-$l;e.actualDuration+=t,e.selfBaseDuration=t,$l=-1}}function zd(e){if(0<=$l){var t=A0()-$l;e.actualDuration+=t,$l=-1}}function Pi(){if(0<=$l){var e=A0()-$l;$l=-1,lg+=e}}function yu(){$l=A0()}function Ud(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Gr(e,t){if(typeof e=="object"&&e!==null){var u=cE.get(e);return u!==void 0?u:(t={value:e,source:t,stack:ze(t)},cE.set(e,t),t)}return{value:e,source:t,stack:ze(t)}}function Ai(e,t){El(),w0[x0++]=ib,w0[x0++]=rb,rb=e,ib=t}function Wg(e,t,u){El(),$s[Xs++]=Fh,$s[Xs++]=zh,$s[Xs++]=sg,sg=e;var f=Fh;e=zh;var v=32-ni(f)-1;f&=~(1<<v),u+=1;var g=32-ni(t)+v;if(30<g){var w=v-v%5;g=(f&(1<<w)-1).toString(32),f>>=w,v-=w,Fh=1<<32-ni(t)+v|u<<v|f,zh=g+e}else Fh=1<<g|u<<v|f,zh=e}function hm(e){El(),e.return!==null&&(Ai(e,1),Wg(e,1,0))}function si(e){for(;e===rb;)rb=w0[--x0],w0[x0]=null,ib=w0[--x0],w0[x0]=null;for(;e===sg;)sg=$s[--Xs],$s[Xs]=null,zh=$s[--Xs],$s[Xs]=null,Fh=$s[--Xs],$s[Xs]=null}function El(){Wn||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function bu(e,t){if(e.return===null){if(Ps===null)Ps={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Ps.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Ps.distanceFromLeaf>t&&(Ps.distanceFromLeaf=t)}return Ps}var u=bu(e.return,t+1).children;return 0<u.length&&u[u.length-1].fiber===e?(u=u[u.length-1],u.distanceFromLeaf>t&&(u.distanceFromLeaf=t),u):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},u.push(t),t)}function as(e,t){Uh||(e=bu(e,0),e.serverProps=null,t!==null&&(t=Wm(t),e.serverTail.push(t)))}function Du(e){var t="",u=Ps;throw u!==null&&(Ps=null,t=Qv(u)),gc(Gr(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
804
+
805
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
806
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
807
+ - Date formatting in a user's locale which doesn't match the server.
808
+ - External changing data without sending a snapshot of it along with the HTML.
809
+ - Invalid HTML tag nesting.
810
+
811
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
812
+
813
+ https://react.dev/link/hydration-mismatch`+t),e)),fE}function Ig(e){var t=e.stateNode,u=e.type,f=e.memoizedProps;switch(t[Fr]=e,t[ji]=f,qc(u,f),u){case"dialog":Sn("cancel",t),Sn("close",t);break;case"iframe":case"object":case"embed":Sn("load",t);break;case"video":case"audio":for(u=0;u<i1.length;u++)Sn(i1[u],t);break;case"source":Sn("error",t);break;case"img":case"image":case"link":Sn("error",t),Sn("load",t);break;case"details":Sn("toggle",t);break;case"input":Vt("input",f),Sn("invalid",t),Ef(t,f),ic(t,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0),Vr(t);break;case"option":xn(t,f);break;case"select":Vt("select",f),Sn("invalid",t),la(t,f);break;case"textarea":Vt("textarea",f),Sn("invalid",t),Bd(t,f),Xo(t,f.value,f.defaultValue,f.children),Vr(t)}u=f.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||t.textContent===""+u||f.suppressHydrationWarning===!0||Xm(t.textContent,u)?(f.popover!=null&&(Sn("beforetoggle",t),Sn("toggle",t)),f.onScroll!=null&&Sn("scroll",t),f.onScrollEnd!=null&&Sn("scrollend",t),f.onClick!=null&&(t.onclick=il),t=!0):t=!1,t||Du(e)}function jd(e){for(fl=e.return;fl;)switch(fl.tag){case 3:case 27:md=!0;return;case 5:case 13:md=!1;return;default:fl=fl.return}}function Bf(e){if(e!==fl)return!1;if(!Wn)return jd(e),Wn=!0,!1;var t=!1,u;if((u=e.tag!==3&&e.tag!==27)&&((u=e.tag===5)&&(u=e.type,u=!(u!=="form"&&u!=="button")||ta(e.type,e.memoizedProps)),u=!u),u&&(t=!0),t&&fu){for(t=fu;t;){u=bu(e,0);var f=Wm(t);u.serverTail.push(f),t=f.type==="Suspense"?gh(t):_i(t.nextSibling)}Du(e)}if(jd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");fu=gh(e)}else fu=fl?_i(e.stateNode.nextSibling):null;return!0}function Nf(){fu=fl=null,Uh=Wn=!1}function gc(e){ff===null?ff=[e]:ff.push(e)}function eo(){var e=Ps;e!==null&&(Ps=null,e=Qv(e),console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
814
+
815
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
816
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
817
+ - Date formatting in a user's locale which doesn't match the server.
818
+ - External changing data without sending a snapshot of it along with the HTML.
819
+ - Invalid HTML tag nesting.
820
+
821
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
822
+
823
+ %s%s`,"https://react.dev/link/hydration-mismatch",e))}function lp(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function op(e){return e=e.status,e==="fulfilled"||e==="rejected"}function yc(){}function sp(e,t,u){_e.actQueue!==null&&(_e.didUsePromise=!0);var f=e.thenables;switch(u=f[u],u===void 0?f.push(t):u!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(yc,yc),t=u),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ld(e),e;default:if(typeof t.status=="string")t.then(yc,yc);else{if(e=Fa,e!==null&&100<e.shellSuspendCounter)throw Error("async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(v){if(t.status==="pending"){var g=t;g.status="fulfilled",g.value=v}},function(v){if(t.status==="pending"){var g=t;g.status="rejected",g.reason=v}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ld(e),e}throw qy=t,lb=!0,ub}}function to(){if(qy===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=qy;return qy=null,lb=!1,e}function Ld(e){if(e===ub)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Or(e){var t=Rn;return e!=null&&(Rn=t===null?e:t.concat(e)),t}function mm(e,t,u){for(var f=Object.keys(e.props),v=0;v<f.length;v++){var g=f[v];if(g!=="children"&&g!=="key"){t===null&&(t=Xf(e,u.mode,0),t._debugInfo=Rn,t.return=u),le(t,function(w){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",w)},g);break}}}function $r(e){var t=Yy;return Yy+=1,T0===null&&(T0=lp()),sp(T0,e,t)}function wi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ci(e,t){throw t.$$typeof===Zp?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
824
+ - Multiple copies of the "react" package is used.
825
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
826
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function kf(e,t){var u=V(e)||"Component";tA[u]||(tA[u]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
827
+ root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
828
+ <%s>{%s}</%s>`,t,t,u,t,u))}function Hd(e,t){var u=V(e)||"Component";nA[u]||(nA[u]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
829
+ root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
830
+ <%s>%s</%s>`,u,t,u))}function cp(e){function t(ee,J){if(e){var se=ee.deletions;se===null?(ee.deletions=[J],ee.flags|=16):se.push(J)}}function u(ee,J){if(!e)return null;for(;J!==null;)t(ee,J),J=J.sibling;return null}function f(ee){for(var J=new Map;ee!==null;)ee.key!==null?J.set(ee.key,ee):J.set(ee.index,ee),ee=ee.sibling;return J}function v(ee,J){return ee=tl(ee,J),ee.index=0,ee.sibling=null,ee}function g(ee,J,se){return ee.index=se,e?(se=ee.alternate,se!==null?(se=se.index,se<J?(ee.flags|=33554434,J):se):(ee.flags|=33554434,J)):(ee.flags|=1048576,J)}function w(ee){return e&&ee.alternate===null&&(ee.flags|=33554434),ee}function k(ee,J,se,Pe){return J===null||J.tag!==6?(J=_c(se,ee.mode,Pe),J.return=ee,J._debugOwner=ee,J._debugInfo=Rn,J):(J=v(J,se),J.return=ee,J._debugInfo=Rn,J)}function G(ee,J,se,Pe){var vt=se.type;return vt===Yl?(J=Oe(ee,J,se.props.children,Pe,se.key),mm(se,J,ee),J):J!==null&&(J.elementType===vt||Qg(J,se)||typeof vt=="object"&&vt!==null&&vt.$$typeof===ei&&Dv(vt)===J.type)?(J=v(J,se.props),wi(J,se),J.return=ee,J._debugOwner=se._owner,J._debugInfo=Rn,J):(J=Xf(se,ee.mode,Pe),wi(J,se),J.return=ee,J._debugInfo=Rn,J)}function P(ee,J,se,Pe){return J===null||J.tag!==4||J.stateNode.containerInfo!==se.containerInfo||J.stateNode.implementation!==se.implementation?(J=Pf(se,ee.mode,Pe),J.return=ee,J._debugInfo=Rn,J):(J=v(J,se.children||[]),J.return=ee,J._debugInfo=Rn,J)}function Oe(ee,J,se,Pe,vt){return J===null||J.tag!==7?(J=kl(se,ee.mode,Pe,vt),J.return=ee,J._debugOwner=ee,J._debugInfo=Rn,J):(J=v(J,se),J.return=ee,J._debugInfo=Rn,J)}function Qe(ee,J,se){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return J=_c(""+J,ee.mode,se),J.return=ee,J._debugOwner=ee,J._debugInfo=Rn,J;if(typeof J=="object"&&J!==null){switch(J.$$typeof){case ql:return se=Xf(J,ee.mode,se),wi(se,J),se.return=ee,ee=Or(J._debugInfo),se._debugInfo=Rn,Rn=ee,se;case Jc:return J=Pf(J,ee.mode,se),J.return=ee,J._debugInfo=Rn,J;case ei:var Pe=Or(J._debugInfo);return J=Dv(J),ee=Qe(ee,J,se),Rn=Pe,ee}if(lr(J)||H(J))return se=kl(J,ee.mode,se,null),se.return=ee,se._debugOwner=ee,ee=Or(J._debugInfo),se._debugInfo=Rn,Rn=ee,se;if(typeof J.then=="function")return Pe=Or(J._debugInfo),ee=Qe(ee,$r(J),se),Rn=Pe,ee;if(J.$$typeof===iu)return Qe(ee,Uf(ee,J),se);ci(ee,J)}return typeof J=="function"&&kf(ee,J),typeof J=="symbol"&&Hd(ee,J),null}function Re(ee,J,se,Pe){var vt=J!==null?J.key:null;if(typeof se=="string"&&se!==""||typeof se=="number"||typeof se=="bigint")return vt!==null?null:k(ee,J,""+se,Pe);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case ql:return se.key===vt?(vt=Or(se._debugInfo),ee=G(ee,J,se,Pe),Rn=vt,ee):null;case Jc:return se.key===vt?P(ee,J,se,Pe):null;case ei:return vt=Or(se._debugInfo),se=Dv(se),ee=Re(ee,J,se,Pe),Rn=vt,ee}if(lr(se)||H(se))return vt!==null?null:(vt=Or(se._debugInfo),ee=Oe(ee,J,se,Pe,null),Rn=vt,ee);if(typeof se.then=="function")return vt=Or(se._debugInfo),ee=Re(ee,J,$r(se),Pe),Rn=vt,ee;if(se.$$typeof===iu)return Re(ee,J,Uf(ee,se),Pe);ci(ee,se)}return typeof se=="function"&&kf(ee,se),typeof se=="symbol"&&Hd(ee,se),null}function nt(ee,J,se,Pe,vt){if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number"||typeof Pe=="bigint")return ee=ee.get(se)||null,k(J,ee,""+Pe,vt);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case ql:return se=ee.get(Pe.key===null?se:Pe.key)||null,ee=Or(Pe._debugInfo),J=G(J,se,Pe,vt),Rn=ee,J;case Jc:return ee=ee.get(Pe.key===null?se:Pe.key)||null,P(J,ee,Pe,vt);case ei:var gn=Or(Pe._debugInfo);return Pe=Dv(Pe),J=nt(ee,J,se,Pe,vt),Rn=gn,J}if(lr(Pe)||H(Pe))return se=ee.get(se)||null,ee=Or(Pe._debugInfo),J=Oe(J,se,Pe,vt,null),Rn=ee,J;if(typeof Pe.then=="function")return gn=Or(Pe._debugInfo),J=nt(ee,J,se,$r(Pe),vt),Rn=gn,J;if(Pe.$$typeof===iu)return nt(ee,J,se,Uf(J,Pe),vt);ci(J,Pe)}return typeof Pe=="function"&&kf(J,Pe),typeof Pe=="symbol"&&Hd(J,Pe),null}function jt(ee,J,se,Pe){if(typeof se!="object"||se===null)return Pe;switch(se.$$typeof){case ql:case Jc:R(ee,J,se);var vt=se.key;if(typeof vt!="string")break;if(Pe===null){Pe=new Set,Pe.add(vt);break}if(!Pe.has(vt)){Pe.add(vt);break}le(J,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",vt)});break;case ei:se=Dv(se),jt(ee,J,se,Pe)}return Pe}function An(ee,J,se,Pe){for(var vt=null,gn=null,Ut=null,Dn=J,wn=J=0,Ia=null;Dn!==null&&wn<se.length;wn++){Dn.index>wn?(Ia=Dn,Dn=null):Ia=Dn.sibling;var Lr=Re(ee,Dn,se[wn],Pe);if(Lr===null){Dn===null&&(Dn=Ia);break}vt=jt(ee,Lr,se[wn],vt),e&&Dn&&Lr.alternate===null&&t(ee,Dn),J=g(Lr,J,wn),Ut===null?gn=Lr:Ut.sibling=Lr,Ut=Lr,Dn=Ia}if(wn===se.length)return u(ee,Dn),Wn&&Ai(ee,wn),gn;if(Dn===null){for(;wn<se.length;wn++)Dn=Qe(ee,se[wn],Pe),Dn!==null&&(vt=jt(ee,Dn,se[wn],vt),J=g(Dn,J,wn),Ut===null?gn=Dn:Ut.sibling=Dn,Ut=Dn);return Wn&&Ai(ee,wn),gn}for(Dn=f(Dn);wn<se.length;wn++)Ia=nt(Dn,ee,wn,se[wn],Pe),Ia!==null&&(vt=jt(ee,Ia,se[wn],vt),e&&Ia.alternate!==null&&Dn.delete(Ia.key===null?wn:Ia.key),J=g(Ia,J,wn),Ut===null?gn=Ia:Ut.sibling=Ia,Ut=Ia);return e&&Dn.forEach(function(Xh){return t(ee,Xh)}),Wn&&Ai(ee,wn),gn}function jr(ee,J,se,Pe){if(se==null)throw Error("An iterable object provided no iterator.");for(var vt=null,gn=null,Ut=J,Dn=J=0,wn=null,Ia=null,Lr=se.next();Ut!==null&&!Lr.done;Dn++,Lr=se.next()){Ut.index>Dn?(wn=Ut,Ut=null):wn=Ut.sibling;var Xh=Re(ee,Ut,Lr.value,Pe);if(Xh===null){Ut===null&&(Ut=wn);break}Ia=jt(ee,Xh,Lr.value,Ia),e&&Ut&&Xh.alternate===null&&t(ee,Ut),J=g(Xh,J,Dn),gn===null?vt=Xh:gn.sibling=Xh,gn=Xh,Ut=wn}if(Lr.done)return u(ee,Ut),Wn&&Ai(ee,Dn),vt;if(Ut===null){for(;!Lr.done;Dn++,Lr=se.next())Ut=Qe(ee,Lr.value,Pe),Ut!==null&&(Ia=jt(ee,Ut,Lr.value,Ia),J=g(Ut,J,Dn),gn===null?vt=Ut:gn.sibling=Ut,gn=Ut);return Wn&&Ai(ee,Dn),vt}for(Ut=f(Ut);!Lr.done;Dn++,Lr=se.next())wn=nt(Ut,ee,Dn,Lr.value,Pe),wn!==null&&(Ia=jt(ee,wn,Lr.value,Ia),e&&wn.alternate!==null&&Ut.delete(wn.key===null?Dn:wn.key),J=g(wn,J,Dn),gn===null?vt=wn:gn.sibling=wn,gn=wn);return e&&Ut.forEach(function(GR){return t(ee,GR)}),Wn&&Ai(ee,Dn),vt}function fa(ee,J,se,Pe){if(typeof se=="object"&&se!==null&&se.type===Yl&&se.key===null&&(mm(se,null,ee),se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case ql:var vt=Or(se._debugInfo);e:{for(var gn=se.key;J!==null;){if(J.key===gn){if(gn=se.type,gn===Yl){if(J.tag===7){u(ee,J.sibling),Pe=v(J,se.props.children),Pe.return=ee,Pe._debugOwner=se._owner,Pe._debugInfo=Rn,mm(se,Pe,ee),ee=Pe;break e}}else if(J.elementType===gn||Qg(J,se)||typeof gn=="object"&&gn!==null&&gn.$$typeof===ei&&Dv(gn)===J.type){u(ee,J.sibling),Pe=v(J,se.props),wi(Pe,se),Pe.return=ee,Pe._debugOwner=se._owner,Pe._debugInfo=Rn,ee=Pe;break e}u(ee,J);break}else t(ee,J);J=J.sibling}se.type===Yl?(Pe=kl(se.props.children,ee.mode,Pe,se.key),Pe.return=ee,Pe._debugOwner=ee,Pe._debugInfo=Rn,mm(se,Pe,ee),ee=Pe):(Pe=Xf(se,ee.mode,Pe),wi(Pe,se),Pe.return=ee,Pe._debugInfo=Rn,ee=Pe)}return ee=w(ee),Rn=vt,ee;case Jc:e:{for(vt=se,se=vt.key;J!==null;){if(J.key===se)if(J.tag===4&&J.stateNode.containerInfo===vt.containerInfo&&J.stateNode.implementation===vt.implementation){u(ee,J.sibling),Pe=v(J,vt.children||[]),Pe.return=ee,ee=Pe;break e}else{u(ee,J);break}else t(ee,J);J=J.sibling}Pe=Pf(vt,ee.mode,Pe),Pe.return=ee,ee=Pe}return w(ee);case ei:return vt=Or(se._debugInfo),se=Dv(se),ee=fa(ee,J,se,Pe),Rn=vt,ee}if(lr(se))return vt=Or(se._debugInfo),ee=An(ee,J,se,Pe),Rn=vt,ee;if(H(se)){if(vt=Or(se._debugInfo),gn=H(se),typeof gn!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ut=gn.call(se);return Ut===se?(ee.tag!==0||Object.prototype.toString.call(ee.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ut)!=="[object Generator]")&&(JC||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),JC=!0):se.entries!==gn||vE||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vE=!0),ee=jr(ee,J,Ut,Pe),Rn=vt,ee}if(typeof se.then=="function")return vt=Or(se._debugInfo),ee=fa(ee,J,$r(se),Pe),Rn=vt,ee;if(se.$$typeof===iu)return fa(ee,J,Uf(ee,se),Pe);ci(ee,se)}return typeof se=="string"&&se!==""||typeof se=="number"||typeof se=="bigint"?(vt=""+se,J!==null&&J.tag===6?(u(ee,J.sibling),Pe=v(J,vt),Pe.return=ee,ee=Pe):(u(ee,J),Pe=_c(vt,ee.mode,Pe),Pe.return=ee,Pe._debugOwner=ee,Pe._debugInfo=Rn,ee=Pe),w(ee)):(typeof se=="function"&&kf(ee,se),typeof se=="symbol"&&Hd(ee,se),u(ee,J))}return function(ee,J,se,Pe){var vt=Rn;Rn=null;try{Yy=0;var gn=fa(ee,J,se,Pe);return T0=null,gn}catch(Ia){if(Ia===ub)throw Ia;var Ut=E(29,Ia,null,ee.mode);Ut.lanes=Pe,Ut.return=ee;var Dn=Ut._debugInfo=Rn;if(Ut._debugOwner=ee._debugOwner,Dn!=null){for(var wn=Dn.length-1;0<=wn;wn--)if(typeof Dn[wn].stack=="string"){Ut._debugOwner=Dn[wn];break}}return Ut}finally{Rn=vt}}}function vm(e,t){var u=gd;Xe(ob,u,e),Xe(O0,t,e),gd=u|t.baseLanes}function fp(e){Xe(ob,gd,e),Xe(O0,O0.current,e)}function dp(e){gd=ob.current,Se(O0,e),Se(ob,e)}function gr(e){var t=e.alternate;Xe(yi,yi.current&R0,e),Xe(Qs,e,e),vd===null&&(t===null||O0.current!==null||t.memoizedState!==null)&&(vd=e)}function he(e){if(e.tag===22){if(Xe(yi,yi.current,e),Xe(Qs,e,e),vd===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(vd=e)}}else He(e)}function He(e){Xe(yi,yi.current,e),Xe(Qs,Qs.current,e)}function Be(e){Se(Qs,e),vd===e&&(vd=null),Se(yi,e)}function wt(e){for(var t=e;t!==null;){if(t.tag===13){var u=t.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data===Cg||u.data===Ag))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Pt(){return{controller:new CR,data:new Map,refCount:0}}function fn(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Ea(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&AR(wR,function(){e.controller.abort()})}function oa(e,t){if($y===null){var u=$y=[];pE=0,fg=jc(),B0={status:"pending",value:void 0,then:function(f){u.push(f)}}}return pE++,t.then(Sl,Sl),t}function Sl(){if(--pE===0&&$y!==null){B0!==null&&(B0.status="fulfilled");var e=$y;$y=null,fg=0,B0=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Kg(e,t){var u=[],f={status:"pending",value:null,reason:null,then:function(v){u.push(v)}};return e.then(function(){f.status="fulfilled",f.value=t;for(var v=0;v<u.length;v++)(0,u[v])(t)},function(v){for(f.status="rejected",f.reason=v,v=0;v<u.length;v++)(0,u[v])(void 0)}),f}function fi(){var e=dg.current;return e!==null?e:Fa.pooledCache}function rs(e,t){t===null?Xe(dg,dg.current,e):Xe(dg,t.pool,e)}function Jg(){var e=fi();return e===null?null:{parent:Di._currentValue,pool:e}}function cn(){var e=Le;Is===null?Is=[e]:Is.push(e)}function lt(){var e=Le;if(Is!==null&&(Lh++,Is[Lh]!==e)){var t=V(mn);if(!iA.has(t)&&(iA.add(t),Is!==null)){for(var u="",f=0;f<=Lh;f++){var v=Is[f],g=f===Lh?e:v;for(v=f+1+". "+v;30>v.length;)v+=" ";v+=g+`
831
+ `,u+=v}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
832
+
833
+ Previous render Next render
834
+ ------------------------------------------------------
835
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
836
+ `,t,u)}}}function Cl(e){e==null||lr(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Le,typeof e)}function Gn(){var e=V(mn);lA.has(e)||(lA.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function Va(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
837
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
838
+ 2. You might be breaking the Rules of Hooks
839
+ 3. You might have more than one copy of React in the same app
840
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function xi(e,t){if(Py)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Le),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
841
+
842
+ Previous: %s
843
+ Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var u=0;u<t.length&&u<e.length;u++)if(!h(e[u],t[u]))return!1;return!0}function Rr(e,t,u,f,v,g){Ev=g,mn=t,Is=e!==null?e._debugHookTypes:null,Lh=-1,Py=e!==null&&e.type!==t.type,(Object.prototype.toString.call(u)==="[object AsyncFunction]"||Object.prototype.toString.call(u)==="[object AsyncGeneratorFunction]")&&(g=V(mn),gE.has(g)||(gE.add(g),console.error("async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,_e.H=e!==null&&e.memoizedState!==null?Cv:Is!==null?mg:Sv,hg=g=(t.mode&Hu)!==Pa;var w=hE(u,f,v);if(hg=!1,k0&&(w=Vd(t,u,f,v)),g){xt(!0);try{w=Vd(t,u,f,v)}finally{xt(!1)}}return bc(e,t),w}function bc(e,t){t._debugHookTypes=Is,t.dependencies===null?jh!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:jh}):t.dependencies._debugThenableState=jh,_e.H=pd;var u=ka!==null&&ka.next!==null;if(Ev=0,Is=Le=ri=ka=mn=null,Lh=-1,e!==null&&(e.flags&31457280)!==(t.flags&31457280)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),sb=!1,Xy=0,jh=null,u)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||qi||(e=e.dependencies,e!==null&&Kd(e)&&(qi=!0)),lb?(lb=!1,e=!0):e=!1,e&&(t=V(t)||"Unknown",uA.has(t)||gE.has(t)||(uA.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Vd(e,t,u,f){mn=e;var v=0;do{if(k0&&(jh=null),Xy=0,k0=!1,v>=TR)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(v+=1,Py=!1,ri=ka=null,e.updateQueue!=null){var g=e.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}Lh=-1,_e.H=vg,g=hE(t,u,f)}while(k0);return g}function pm(){var e=_e.H,t=e.useState()[0];return t=typeof t.then=="function"?Yu(t):t,e=e.useState()[0],(ka!==null?ka.memoizedState:null)!==e&&(mn.flags|=1024),t}function no(){var e=cb!==0;return cb=0,e}function Eu(e,t,u){t.updateQueue=e.updateQueue,t.flags=(t.mode&sf)!==Pa?t.flags&-201328645:t.flags&-2053,e.lanes&=~u}function Qi(e){if(sb){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}sb=!1}Ev=0,Is=ri=ka=mn=null,Lh=-1,Le=null,k0=!1,Xy=cb=0,jh=null}function Xr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ri===null?mn.memoizedState=ri=e:ri=ri.next=e,ri}function Mn(){if(ka===null){var e=mn.alternate;e=e!==null?e.memoizedState:null}else e=ka.next;var t=ri===null?mn.memoizedState:ri.next;if(t!==null)ri=t,ka=e;else{if(e===null)throw mn.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");ka=e,e={memoizedState:ka.memoizedState,baseState:ka.baseState,baseQueue:ka.baseQueue,queue:ka.queue,next:null},ri===null?mn.memoizedState=ri=e:ri=ri.next=e}return ri}function Yu(e){var t=Xy;return Xy+=1,jh===null&&(jh=lp()),e=sp(jh,e,t),t=mn,(ri===null?t.memoizedState:ri.next)===null&&(t=t.alternate,_e.H=t!==null&&t.memoizedState!==null?Cv:Sv),e}function Al(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Yu(e);if(e.$$typeof===iu)return ia(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Qa(e){var t=null,u=mn.updateQueue;if(u!==null&&(t=u.memoCache),t==null){var f=mn.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(t={data:f.data.map(function(v){return v.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),u===null&&(u=yE(),mn.updateQueue=u),u.memoCache=t,u=t.data[t.index],u===void 0||Py)for(u=t.data[t.index]=Array(e),f=0;f<e;f++)u[f]=ju;else u.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",u.length,e);return t.index++,u}function Br(e,t){return typeof t=="function"?t(e):t}function Su(e,t,u){var f=Xr();if(u!==void 0){var v=u(t);if(hg){xt(!0);try{u(t)}finally{xt(!1)}}}else v=t;return f.memoizedState=f.baseState=v,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:v},f.queue=e,e=e.dispatch=vp.bind(null,mn,e),[f.memoizedState,e]}function di(e){var t=Mn();return ao(t,ka,e)}function ao(e,t,u){var f=e.queue;if(f===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");f.lastRenderedReducer=u;var v=e.baseQueue,g=f.pending;if(g!==null){if(v!==null){var w=v.next;v.next=g.next,g.next=w}t.baseQueue!==v&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=v=g,f.pending=null}if(g=e.baseState,v===null)e.memoizedState=g;else{t=v.next;var k=w=null,G=null,P=t,Oe=!1;do{var Qe=P.lane&-536870913;if(Qe!==P.lane?(Yn&Qe)===Qe:(Ev&Qe)===Qe){var Re=P.revertLane;if(Re===0)G!==null&&(G=G.next={lane:0,revertLane:0,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),Qe===fg&&(Oe=!0);else if((Ev&Re)===Re){P=P.next,Re===fg&&(Oe=!0);continue}else Qe={lane:0,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},G===null?(k=G=Qe,w=g):G=G.next=Qe,mn.lanes|=Re,xv|=Re;Qe=P.action,hg&&u(g,Qe),g=P.hasEagerState?P.eagerState:u(g,Qe)}else Re={lane:Qe,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},G===null?(k=G=Re,w=g):G=G.next=Re,mn.lanes|=Qe,xv|=Qe;P=P.next}while(P!==null&&P!==t);if(G===null?w=g:G.next=k,!h(g,e.memoizedState)&&(qi=!0,Oe&&(u=B0,u!==null)))throw u;e.memoizedState=g,e.baseState=w,e.baseQueue=G,f.lastRenderedState=g}return v===null&&(f.lanes=0),[e.memoizedState,f.dispatch]}function Pr(e){var t=Mn(),u=t.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=e;var f=u.dispatch,v=u.pending,g=t.memoizedState;if(v!==null){u.pending=null;var w=v=v.next;do g=e(g,w.action),w=w.next;while(w!==v);h(g,t.memoizedState)||(qi=!0),t.memoizedState=g,t.baseQueue===null&&(t.baseState=g),u.lastRenderedState=g}return[g,f]}function Ti(e,t,u){var f=mn,v=Xr();if(Wn){if(u===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var g=u();N0||g===u()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),N0=!0)}else{if(g=t(),N0||(u=t(),h(g,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N0=!0)),Fa===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Yn&60||Zi(f,t,g)}return v.memoizedState=g,u={value:g,getSnapshot:t},v.queue=u,Au(xl.bind(null,f,u,e),[e]),f.flags|=2048,Sc(Ws|bi,Wi.bind(null,f,u,g,t),{destroy:void 0},null),g}function wl(e,t,u){var f=mn,v=Mn(),g=Wn;if(g){if(u===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");u=u()}else if(u=t(),!N0){var w=t();h(u,w)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),N0=!0)}(w=!h((ka||v).memoizedState,u))&&(v.memoizedState=u,qi=!0),v=v.queue;var k=xl.bind(null,f,v,e);if(qa(2048,bi,k,[e]),v.getSnapshot!==t||w||ri!==null&&ri.memoizedState.tag&Ws){if(f.flags|=2048,Sc(Ws|bi,Wi.bind(null,f,v,u,t),{destroy:void 0},null),Fa===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");g||Ev&60||Zi(f,t,u)}return u}function Zi(e,t,u){e.flags|=16384,e={getSnapshot:t,value:u},t=mn.updateQueue,t===null?(t=yE(),mn.updateQueue=t,t.stores=[e]):(u=t.stores,u===null?t.stores=[e]:u.push(e))}function Wi(e,t,u,f){t.value=u,t.getSnapshot=f,hp(t)&&qd(e)}function xl(e,t,u){return u(function(){hp(t)&&qd(e)})}function hp(e){var t=e.getSnapshot;e=e.value;try{var u=t();return!h(e,u)}catch{return!0}}function qd(e){var t=Sa(e,2);t!==null&&sa(t,e,2)}function Yd(e){var t=Xr();if(typeof e=="function"){var u=e;if(e=u(),hg){xt(!0);try{u()}finally{xt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Br,lastRenderedState:e},t}function Nr(e){e=Yd(e);var t=e.queue,u=_f.bind(null,mn,t);return t.dispatch=u,[e.memoizedState,u]}function Tn(e){var t=Xr();t.memoizedState=t.baseState=e;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=u,t=Iu.bind(null,mn,!0,u),u.dispatch=t,[e,t]}function en(e,t){var u=Mn();return Cu(u,ka,e,t)}function Cu(e,t,u,f){return e.baseState=u,ao(e,ka,typeof f=="function"?f:Br)}function Gu(e,t){var u=Mn();return ka!==null?Cu(u,ka,e,t):(u.baseState=e,[e,u.queue.dispatch])}function gm(e,t,u,f,v){if(co(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var g={payload:v,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){g.listeners.push(w)}};_e.T!==null?u(!0):g.isTransition=!1,f(g),u=t.pending,u===null?(g.next=t.pending=g,is(t,g)):(g.next=u.next,t.pending=u.next=g)}}function is(e,t){var u=t.action,f=t.payload,v=e.state;if(t.isTransition){var g=_e.T,w={};_e.T=w,_e.T._updatedFibers=new Set;try{var k=u(v,f),G=_e.S;G!==null&&G(w,k),Gd(e,t,k)}catch(P){ro(e,t,P)}finally{_e.T=g,g===null&&w._updatedFibers&&(e=w._updatedFibers.size,w._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{w=u(v,f),Gd(e,t,w)}catch(P){ro(e,t,P)}}function Gd(e,t,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?(u.then(function(f){Dc(e,t,f)},function(f){return ro(e,t,f)}),t.isTransition||console.error("An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an `action` prop, or dispatch manually inside `startTransition`")):Dc(e,t,u)}function Dc(e,t,u){t.status="fulfilled",t.value=u,$u(t),e.state=u,t=e.pending,t!==null&&(u=t.next,u===t?e.pending=null:(u=u.next,t.next=u,is(e,u)))}function ro(e,t,u){var f=e.pending;if(e.pending=null,f!==null){f=f.next;do t.status="rejected",t.reason=u,$u(t),t=t.next;while(t!==f)}e.action=null}function $u(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Tl(e,t){return t}function Oi(e,t){if(Wn){var u=Fa.formState;if(u!==null){e:{var f=mn;if(Wn){if(fu){t:{for(var v=fu,g=md;v.nodeType!==8;){if(!g){v=null;break t}if(v=_i(v.nextSibling),v===null){v=null;break t}}g=v.data,v=g===$E||g===PA?v:null}if(v){fu=_i(v.nextSibling),f=v.data===$E;break e}}Du(f)}f=!1}f&&(t=u[0])}}return u=Xr(),u.memoizedState=u.baseState=t,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tl,lastRenderedState:t},u.queue=f,u=_f.bind(null,mn,f),f.dispatch=u,f=Yd(!1),g=Iu.bind(null,mn,!1,f.queue),f=Xr(),v={state:t,dispatch:null,action:e,pending:null},f.queue=v,u=gm.bind(null,mn,v,g,u),v.dispatch=u,f.memoizedState=e,[t,u,!1]}function us(e){var t=Mn();return io(t,ka,e)}function io(e,t,u){t=ao(e,t,Tl)[0],e=di(Br)[0],t=typeof t=="object"&&t!==null&&typeof t.then=="function"?Yu(t):t;var f=Mn(),v=f.queue,g=v.dispatch;return u!==f.memoizedState&&(mn.flags|=2048,Sc(Ws|bi,e0.bind(null,v,u),{destroy:void 0},null)),[t,g,e]}function e0(e,t){e.action=t}function Ec(e){var t=Mn(),u=ka;if(u!==null)return io(t,u,e);Mn(),t=t.memoizedState,u=Mn();var f=u.queue.dispatch;return u.memoizedState=e,[t,f,!1]}function Sc(e,t,u,f){return e={tag:e,create:t,inst:u,deps:f,next:null},t=mn.updateQueue,t===null&&(t=yE(),mn.updateQueue=t),u=t.lastEffect,u===null?t.lastEffect=e.next=e:(f=u.next,u.next=e,e.next=f,t.lastEffect=e),e}function Cc(e){var t=Xr();return e={current:e},t.memoizedState=e}function ls(e,t,u,f){var v=Xr();mn.flags|=e,v.memoizedState=Sc(Ws|t,u,{destroy:void 0},f===void 0?null:f)}function qa(e,t,u,f){var v=Mn();f=f===void 0?null:f;var g=v.memoizedState.inst;ka!==null&&f!==null&&xi(f,ka.memoizedState.deps)?v.memoizedState=Sc(t,u,g,f):(mn.flags|=e,v.memoizedState=Sc(Ws|t,u,g,f))}function Au(e,t){(mn.mode&sf)!==Pa&&(mn.mode&jC)===Pa?ls(142608384,bi,e,t):ls(8390656,bi,e,t)}function Ac(e,t){var u=4194308;return(mn.mode&sf)!==Pa&&(u|=67108864),ls(u,du,e,t)}function Y(e,t){if(typeof t=="function"){e=e();var u=t(e);return function(){typeof u=="function"?u():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Xu(e,t,u){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),u=u!=null?u.concat([e]):null;var f=4194308;(mn.mode&sf)!==Pa&&(f|=67108864),ls(f,du,Y.bind(null,t,e),u)}function os(e,t,u){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),u=u!=null?u.concat([e]):null,qa(4,du,Y.bind(null,t,e),u)}function hi(e,t){return Xr().memoizedState=[e,t===void 0?null:t],e}function on(e,t){var u=Mn();t=t===void 0?null:t;var f=u.memoizedState;return t!==null&&xi(t,f[1])?f[0]:(u.memoizedState=[e,t],e)}function ym(e,t){var u=Xr();t=t===void 0?null:t;var f=e();if(hg){xt(!0);try{e()}finally{xt(!1)}}return u.memoizedState=[f,t],f}function uo(e,t){var u=Mn();t=t===void 0?null:t;var f=u.memoizedState;if(t!==null&&xi(t,f[1]))return f[0];if(f=e(),hg){xt(!0);try{e()}finally{xt(!1)}}return u.memoizedState=[f,t],f}function Mf(e,t){var u=Xr();return $d(u,e,t)}function lo(e,t){var u=Mn();return Ii(u,ka.memoizedState,e,t)}function bm(e,t){var u=Mn();return ka===null?$d(u,e,t):Ii(u,ka.memoizedState,e,t)}function $d(e,t,u){return u===void 0||Ev&1073741824?e.memoizedState=t:(e.memoizedState=u,e=oh(),mn.lanes|=e,xv|=e,u)}function Ii(e,t,u,f){return h(u,t)?u:O0.current!==null?(e=$d(e,u,f),h(e,t)||(qi=!0),e):Ev&42?(e=oh(),mn.lanes|=e,xv|=e,t):(qi=!0,e.memoizedState=u)}function Pu(e,t,u,f,v){var g=tn.p;tn.p=g!==0&&g<Lu?g:Lu;var w=_e.T,k={};_e.T=k,Iu(e,!1,t,u),k._updatedFibers=new Set;try{var G=v(),P=_e.S;if(P!==null&&P(k,G),G!==null&&typeof G=="object"&&typeof G.then=="function"){var Oe=Kg(G,f);so(e,t,Oe,Ma(e))}else so(e,t,f,Ma(e))}catch(Qe){so(e,t,{then:function(){},status:"rejected",reason:Qe},Ma(e))}finally{tn.p=g,_e.T=w,w===null&&k._updatedFibers&&(e=k._updatedFibers.size,k._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Ol(e,t,u,f){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var v=Qu(e).queue;Pu(e,v,t,xg,u===null?O:function(){return oo(e),u(f)})}function Qu(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:xg,baseState:xg,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Br,lastRenderedState:xg},next:null};var u={};return t.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Br,lastRenderedState:u},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function oo(e){_e.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Qu(e).next.queue;so(e,t,{},Ma(e))}function Zu(){var e=Yd(!1);return e=Pu.bind(null,mn,e.queue,!0,!1),Xr().memoizedState=e,[!1,e]}function nr(){var e=di(Br)[0],t=Mn().memoizedState;return[typeof e=="boolean"?e:Yu(e),t]}function Xd(){var e=Pr(Br)[0],t=Mn().memoizedState;return[typeof e=="boolean"?e:Yu(e),t]}function wc(){return ia(o1)}function Wu(){var e=Xr(),t=Fa.identifierPrefix;if(Wn){var u=zh,f=Fh;u=(f&~(1<<32-ni(f)-1)).toString(32)+u,t=":"+t+"R"+u,u=cb++,0<u&&(t+="H"+u.toString(32)),t+=":"}else u=xR++,t=":"+t+"r"+u.toString(32)+":";return e.memoizedState=t}function mp(){return Xr().memoizedState=hr.bind(null,mn)}function hr(e,t){for(var u=e.return;u!==null;){switch(u.tag){case 24:case 3:var f=Ma(u);e=Do(f);var v=Eo(u,e,f);v!==null&&(sa(v,u,f),eh(v,u,f)),u=Pt(),t!=null&&v!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:u};return}u=u.return}}function vp(e,t,u,f){typeof f=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),f=Ma(e),u={lane:f,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},co(e)?xc(t,u):(u=da(e,t,u,f),u!==null&&(sa(u,e,f),wu(u,t,f))),kt(e,f)}function _f(e,t,u,f){typeof f=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),f=Ma(e),so(e,t,u,f),kt(e,f)}function so(e,t,u,f){var v={lane:f,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(co(e))xc(t,v);else{var g=e.alternate;if(e.lanes===0&&(g===null||g.lanes===0)&&(g=t.lastRenderedReducer,g!==null)){var w=_e.H;_e.H=hl;try{var k=t.lastRenderedState,G=g(k,u);if(v.hasEagerState=!0,v.eagerState=G,h(G,k))return Rf(e,t,v,0),Fa===null&&vc(),!1}catch{}finally{_e.H=w}}if(u=da(e,t,v,f),u!==null)return sa(u,e,f),wu(u,t,f),!0}return!1}function Iu(e,t,u,f){if(_e.T===null&&fg===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),f={lane:2,revertLane:jc(),action:f,hasEagerState:!1,eagerState:null,next:null},co(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=da(e,u,f,2),t!==null&&sa(t,e,2);kt(e,2)}function co(e){var t=e.alternate;return e===mn||t!==null&&t===mn}function xc(e,t){k0=sb=!0;var u=e.pending;u===null?t.next=t:(t.next=u.next,u.next=t),e.pending=t}function wu(e,t,u){if(u&4194176){var f=t.lanes;f&=e.pendingLanes,u|=f,t.lanes=u,un(e,u)}}function Dm(e){if(e!==null&&typeof e!="function"){var t=String(e);yA.has(t)||(yA.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function pp(e,t,u,f){var v=e.memoizedState,g=u(f,v);if(e.mode&Hu){xt(!0);try{g=u(f,v)}finally{xt(!1)}}g===void 0&&(t=B(t)||"Component",mA.has(t)||(mA.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),v=g==null?v:ht({},v,g),e.memoizedState=v,e.lanes===0&&(e.updateQueue.baseState=v)}function gp(e,t,u,f,v,g,w){var k=e.stateNode;if(typeof k.shouldComponentUpdate=="function"){if(u=k.shouldComponentUpdate(f,g,w),e.mode&Hu){xt(!0);try{u=k.shouldComponentUpdate(f,g,w)}finally{xt(!1)}}return u===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",B(t)||"Component"),u}return t.prototype&&t.prototype.isPureReactComponent?!Of(u,f)||!Of(v,g):!0}function ss(e,t,u,f){var v=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(u,f),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(u,f),t.state!==v&&(e=V(e)||"Component",sA.has(e)||(sA.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),bE.enqueueReplaceState(t,t.state,null))}function fo(e,t){var u=t;if("ref"in t){u={};for(var f in t)f!=="ref"&&(u[f]=t[f])}if(e=e.defaultProps){u===t&&(u=ht({},u));for(var v in e)u[v]===void 0&&(u[v]=e[v])}return u}function Ff(e,t){fb(e),e=M0?"An error occurred in the <"+M0+"> component.":"An error occurred in one of your React components.";var u=_e.getCurrentStack,f=t.componentStack!=null?t.componentStack:"";_e.getCurrentStack=function(){return f};try{console.warn(`%s
844
+
845
+ %s
846
+ `,e,`Consider adding an error boundary to your tree to customize error handling behavior.
847
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}finally{_e.getCurrentStack=u}}function Em(e,t){var u=M0?"The above error occurred in the <"+M0+"> component.":"The above error occurred in one of your React components.",f="React will try to recreate this component tree from scratch using the error boundary you provided, "+((DE||"Anonymous")+"."),v=_e.getCurrentStack,g=t.componentStack!=null?t.componentStack:"";_e.getCurrentStack=function(){return g};try{typeof e=="object"&&e!==null&&typeof e.environmentName=="string"?Wc("error",[`%o
848
+
849
+ %s
850
+
851
+ %s
852
+ `,e,u,f],e.environmentName)():console.error(`%o
853
+
854
+ %s
855
+
856
+ %s
857
+ `,e,u,f)}finally{_e.getCurrentStack=v}}function ho(e){fb(e)}function dn(e,t){try{M0=t.source?V(t.source):null,DE=null;var u=t.value;if(_e.actQueue!==null)_e.thrownErrors.push(u);else{var f=e.onUncaughtError;f(u,{componentStack:t.stack})}}catch(v){setTimeout(function(){throw v})}}function Zn(e,t,u){try{M0=u.source?V(u.source):null,DE=V(t);var f=e.onCaughtError;f(u.value,{componentStack:u.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function ha(e,t,u){return u=Do(u),u.tag=wE,u.payload={element:null},u.callback=function(){le(t.source,dn,e,t)},u}function mo(e){return e=Do(e),e.tag=wE,e}function cs(e,t,u,f){var v=u.type.getDerivedStateFromError;if(typeof v=="function"){var g=f.value;e.payload=function(){return v(g)},e.callback=function(){Zg(u),le(f.source,Zn,t,u,f)}}var w=u.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(e.callback=function(){Zg(u),le(f.source,Zn,t,u,f),typeof v!="function"&&(Ov===null?Ov=new Set([this]):Ov.add(this)),DR(this,f),typeof v=="function"||!(u.lanes&2)&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",V(u)||"Unknown")})}function fs(e,t,u,f,v){if(u.flags|=32768,ti&&wa(e,v),f!==null&&typeof f=="object"&&typeof f.then=="function"){if(t=u.alternate,t!==null&&zf(t,u,v,!0),Wn&&(Uh=!0),u=Qs.current,u!==null){switch(u.tag){case 13:return vd===null?Ts():u.alternate===null&&Tr===qh&&(Tr=RE),u.flags&=-257,u.flags|=65536,u.lanes=v,f===dE?u.flags|=16384:(t=u.updateQueue,t===null?u.updateQueue=new Set([f]):t.add(f),al(e,f,v)),!1;case 22:return u.flags|=65536,f===dE?u.flags|=16384:(t=u.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([f])},u.updateQueue=t):(u=t.retryQueue,u===null?t.retryQueue=new Set([f]):u.add(f)),al(e,f,v)),!1}throw Error("Unexpected Suspense handler tag ("+u.tag+"). This is a bug in React.")}return al(e,f,v),Ts(),!1}if(Wn)return Uh=!0,t=Qs.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=v,f!==fE&&gc(Gr(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:f}),u))):(f!==fE&&gc(Gr(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:f}),u)),e=e.current.alternate,e.flags|=65536,v&=-v,e.lanes|=v,f=Gr(f,u),v=ha(e.stateNode,f,v),Lf(e,v),Tr!==pg&&(Tr=L0)),!1;var g=Gr(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:f}),u);if(e1===null?e1=[g]:e1.push(g),Tr!==pg&&(Tr=L0),t===null)return!0;f=Gr(f,u),u=t;do{switch(u.tag){case 3:return u.flags|=65536,e=v&-v,u.lanes|=e,e=ha(u.stateNode,f,e),Lf(u,e),!1;case 1:if(t=u.type,g=u.stateNode,(u.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Ov===null||!Ov.has(g))))return u.flags|=65536,v&=-v,u.lanes|=v,v=mo(v),cs(v,e,u,f),Lf(u,v),!1}u=u.return}while(u!==null);return!1}function ar(e,t,u,f){t.child=e===null?aA(t,null,u,f):cg(t,e.child,u,f)}function Ri(e,t,u,f,v){u=u.render;var g=t.ref;if("ref"in f){var w={};for(var k in f)k!=="ref"&&(w[k]=f[k])}else w=f;return ps(t),yn(t),f=Rr(e,t,u,w,g,v),k=no(),I(),e!==null&&!qi?(Eu(e,t,v),Tu(e,t,v)):(Wn&&k&&hm(t),t.flags|=1,ar(e,t,f,v),t.child)}function vo(e,t,u,f,v){if(e===null){var g=u.type;return typeof g=="function"&&!ih(g)&&g.defaultProps===void 0&&u.compare===null?(u=Kl(g),t.tag=15,t.type=u,Zd(t,g),ds(e,t,u,f,v)):(e=As(u.type,null,f,t,t.mode,v),e.ref=t.ref,e.return=t,t.child=e)}if(g=e.child,!yr(e,v)){var w=g.memoizedProps;if(u=u.compare,u=u!==null?u:Of,u(w,f)&&e.ref===t.ref)return Tu(e,t,v)}return t.flags|=1,e=tl(g,f),e.ref=t.ref,e.return=t,t.child=e}function ds(e,t,u,f,v){if(e!==null){var g=e.memoizedProps;if(Of(g,f)&&e.ref===t.ref&&t.type===e.type)if(qi=!1,t.pendingProps=f=g,yr(e,v))e.flags&131072&&(qi=!0);else return t.lanes=e.lanes,Tu(e,t,v)}return Pd(e,t,u,f,v)}function $n(e,t,u){var f=t.pendingProps,v=f.children,g=(t.stateNode._pendingVisibility&zr)!==0,w=e!==null?e.memoizedState:null;if(hs(e,t),f.mode==="hidden"||g){if(t.flags&128){if(f=w!==null?w.baseLanes|u:u,e!==null){for(v=t.child=e.child,g=0;v!==null;)g=g|v.lanes|v.childLanes,v=v.sibling;t.childLanes=g&~f}else t.childLanes=0,t.child=null;return Sm(e,t,f,u)}if(u&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&rs(t,w!==null?w.cachePool:null),w!==null?vm(t,w):fp(t),he(t);else return t.lanes=t.childLanes=536870912,Sm(e,t,w!==null?w.baseLanes|u:u,u)}else w!==null?(rs(t,w.cachePool),vm(t,w),He(t),t.memoizedState=null):(e!==null&&rs(t,null),fp(t),He(t));return ar(e,t,v,u),t.child}function Sm(e,t,u,f){var v=fi();return v=v===null?null:{parent:Di._currentValue,pool:v},t.memoizedState={baseLanes:u,cachePool:v},e!==null&&rs(t,null),fp(t),he(t),e!==null&&zf(e,t,f,!0),null}function hs(e,t){var u=t.ref;if(u===null)e!==null&&e.ref!==null&&(t.flags|=2097664);else{if(typeof u!="function"&&typeof u!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==u)&&(t.flags|=2097664)}}function Pd(e,t,u,f,v){if(u.prototype&&typeof u.prototype.render=="function"){var g=B(u)||"Unknown";DA[g]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",g,g),DA[g]=!0)}return t.mode&Hu&&cf.recordLegacyContextWarning(t,null),e===null&&(Zd(t,t.type),u.contextTypes&&(g=B(u)||"Unknown",SA[g]||(SA[g]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",g)))),ps(t),yn(t),u=Rr(e,t,u,f,void 0,v),f=no(),I(),e!==null&&!qi?(Eu(e,t,v),Tu(e,t,v)):(Wn&&f&&hm(t),t.flags|=1,ar(e,t,u,v),t.child)}function Tc(e,t,u,f,v,g){return ps(t),yn(t),Lh=-1,Py=e!==null&&e.type!==t.type,t.updateQueue=null,u=Vd(t,f,u,v),bc(e,t),f=no(),I(),e!==null&&!qi?(Eu(e,t,g),Tu(e,t,g)):(Wn&&f&&hm(t),t.flags|=1,ar(e,t,u,g),t.child)}function po(e,t,u,f,v){switch(b(t)){case!1:var g=t.stateNode,w=new t.type(t.memoizedProps,g.context).state;g.updater.enqueueSetState(g,w,null);break;case!0:t.flags|=128,t.flags|=65536,g=Error("Simulated error coming from DevTools");var k=v&-v;if(t.lanes|=k,w=Fa,w===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");k=mo(k),cs(k,w,t,Gr(g,t)),Lf(t,k)}if(ps(t),t.stateNode===null){if(w=of,g=u.contextType,"contextType"in u&&g!==null&&(g===void 0||g.$$typeof!==iu)&&!gA.has(u)&&(gA.add(u),k=g===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?" However, it is set to a "+typeof g+".":g.$$typeof===Sh?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",B(u)||"Component",k)),typeof g=="object"&&g!==null&&(w=ia(g)),g=new u(f,w),t.mode&Hu){xt(!0);try{g=new u(f,w)}finally{xt(!1)}}if(w=t.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=bE,t.stateNode=g,g._reactInternals=t,g._reactInternalInstance=oA,typeof u.getDerivedStateFromProps=="function"&&w===null&&(w=B(u)||"Component",cA.has(w)||(cA.add(w),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",w,g.state===null?"null":"undefined",w))),typeof u.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"){var G=k=w=null;if(typeof g.componentWillMount=="function"&&g.componentWillMount.__suppressDeprecationWarning!==!0?w="componentWillMount":typeof g.UNSAFE_componentWillMount=="function"&&(w="UNSAFE_componentWillMount"),typeof g.componentWillReceiveProps=="function"&&g.componentWillReceiveProps.__suppressDeprecationWarning!==!0?k="componentWillReceiveProps":typeof g.UNSAFE_componentWillReceiveProps=="function"&&(k="UNSAFE_componentWillReceiveProps"),typeof g.componentWillUpdate=="function"&&g.componentWillUpdate.__suppressDeprecationWarning!==!0?G="componentWillUpdate":typeof g.UNSAFE_componentWillUpdate=="function"&&(G="UNSAFE_componentWillUpdate"),w!==null||k!==null||G!==null){g=B(u)||"Component";var P=typeof u.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";dA.has(g)||(dA.add(g),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
858
+
859
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
860
+
861
+ The above lifecycles should be removed. Learn more about this warning here:
862
+ https://react.dev/link/unsafe-component-lifecycles`,g,P,w!==null?`
863
+ `+w:"",k!==null?`
864
+ `+k:"",G!==null?`
865
+ `+G:""))}}g=t.stateNode,w=B(u)||"Component",g.render||(u.prototype&&typeof u.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",w):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",w)),!g.getInitialState||g.getInitialState.isReactClassApproved||g.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",w),g.getDefaultProps&&!g.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",w),g.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",w),u.childContextTypes&&!pA.has(u)&&(pA.add(u),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",w)),u.contextTypes&&!vA.has(u)&&(vA.add(u),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",w)),typeof g.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",w),u.prototype&&u.prototype.isPureReactComponent&&typeof g.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",B(u)||"A pure component"),typeof g.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",w),typeof g.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",w),typeof g.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",w),typeof g.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",w),k=g.props!==f,g.props!==void 0&&k&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",w),g.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",w,w),typeof g.getSnapshotBeforeUpdate!="function"||typeof g.componentDidUpdate=="function"||fA.has(u)||(fA.add(u),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",B(u))),typeof g.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof g.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof u.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",w),(k=g.state)&&(typeof k!="object"||lr(k))&&console.error("%s.state: must be set to an object or null",w),typeof g.getChildContext=="function"&&typeof u.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",w),g=t.stateNode,g.props=f,g.state=t.memoizedState,g.refs={},jf(t),w=u.contextType,g.context=typeof w=="object"&&w!==null?ia(w):of,g.state===f&&(w=B(u)||"Component",hA.has(w)||(hA.add(w),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",w))),t.mode&Hu&&cf.recordLegacyContextWarning(t,g),cf.recordUnsafeLifecycleWarnings(t,g),g.state=t.memoizedState,w=u.getDerivedStateFromProps,typeof w=="function"&&(pp(t,u,w,f),g.state=t.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(w=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),w!==g.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",V(t)||"Component"),bE.enqueueReplaceState(g,g.state,null)),Hf(t,f,g,v),Ru(),g.state=t.memoizedState),typeof g.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&sf)!==Pa&&(t.flags|=67108864),g=!0}else if(e===null){g=t.stateNode;var Oe=t.memoizedProps;k=fo(u,Oe),g.props=k;var Qe=g.context;G=u.contextType,w=of,typeof G=="object"&&G!==null&&(w=ia(G)),P=u.getDerivedStateFromProps,G=typeof P=="function"||typeof g.getSnapshotBeforeUpdate=="function",Oe=t.pendingProps!==Oe,G||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(Oe||Qe!==w)&&ss(t,g,f,w),wv=!1;var Re=t.memoizedState;g.state=Re,Hf(t,f,g,v),Ru(),Qe=t.memoizedState,Oe||Re!==Qe||wv?(typeof P=="function"&&(pp(t,u,P,f),Qe=t.memoizedState),(k=wv||gp(t,u,k,f,Re,Qe,w))?(G||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&sf)!==Pa&&(t.flags|=67108864)):(typeof g.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&sf)!==Pa&&(t.flags|=67108864),t.memoizedProps=f,t.memoizedState=Qe),g.props=f,g.state=Qe,g.context=w,g=k):(typeof g.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&sf)!==Pa&&(t.flags|=67108864),g=!1)}else{g=t.stateNode,Jd(e,t),w=t.memoizedProps,G=fo(u,w),g.props=G,P=t.pendingProps,Re=g.context,Qe=u.contextType,k=of,typeof Qe=="object"&&Qe!==null&&(k=ia(Qe)),Oe=u.getDerivedStateFromProps,(Qe=typeof Oe=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(w!==P||Re!==k)&&ss(t,g,f,k),wv=!1,Re=t.memoizedState,g.state=Re,Hf(t,f,g,v),Ru();var nt=t.memoizedState;w!==P||Re!==nt||wv||e!==null&&e.dependencies!==null&&Kd(e.dependencies)?(typeof Oe=="function"&&(pp(t,u,Oe,f),nt=t.memoizedState),(G=wv||gp(t,u,G,f,Re,nt,k)||e!==null&&e.dependencies!==null&&Kd(e.dependencies))?(Qe||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(f,nt,k),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(f,nt,k)),typeof g.componentDidUpdate=="function"&&(t.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof g.componentDidUpdate!="function"||w===e.memoizedProps&&Re===e.memoizedState||(t.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&Re===e.memoizedState||(t.flags|=1024),t.memoizedProps=f,t.memoizedState=nt),g.props=f,g.state=nt,g.context=k,g=G):(typeof g.componentDidUpdate!="function"||w===e.memoizedProps&&Re===e.memoizedState||(t.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&Re===e.memoizedState||(t.flags|=1024),g=!1)}if(k=g,hs(e,t),w=(t.flags&128)!==0,k||w){if(k=t.stateNode,_e.getCurrentStack=t===null?null:je,zi=!1,Na=t,w&&typeof u.getDerivedStateFromError!="function")u=null,$l=-1;else{if(yn(t),u=YC(k),t.mode&Hu){xt(!0);try{YC(k)}finally{xt(!1)}}I()}t.flags|=1,e!==null&&w?(t.child=cg(t,e.child,null,v),t.child=cg(t,null,u,v)):ar(e,t,u,v),t.memoizedState=k.state,e=t.child}else e=Tu(e,t,v);return v=t.stateNode,g&&v.props!==f&&(_0||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",V(t)||"a component"),_0=!0),e}function Qd(e,t,u,f){return Nf(),t.flags|=256,ar(e,t,u,f),t.child}function Zd(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
866
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=B(t)||"Unknown",CA[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),CA[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=B(t)||"Unknown",EA[t]||(console.error("%s: Function components do not support contextType.",t),EA[t]=!0))}function ms(e){return{baseLanes:e,cachePool:Jg()}}function Qr(e,t,u){return e=e!==null?e.childLanes&~u:0,t&&(e|=Ho),e}function Ya(e,t,u){var f,v=t.pendingProps;p(t)&&(t.flags|=128);var g=!1,w=(t.flags&128)!==0;if((f=w)||(f=e!==null&&e.memoizedState===null?!1:(yi.current&Gy)!==0),f&&(g=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(Wn){if(g?gr(t):He(t),Wn){var k=fu,G;if(!(G=!k)){e:{var P=k;for(G=md;P.nodeType!==8;){if(!G){G=null;break e}if(P=_i(P.nextSibling),P===null){G=null;break e}}G=P}G!==null?(El(),t.memoizedState={dehydrated:G,treeContext:sg!==null?{id:Fh,overflow:zh}:null,retryLane:536870912},P=E(18,null,null,Pa),P.stateNode=G,P.return=t,t.child=P,fl=t,fu=null,G=!0):G=!1,G=!G}G&&(as(t,k),Du(t))}if(k=t.memoizedState,k!==null&&(k=k.dehydrated,k!==null))return k.data===Ag?t.lanes=16:t.lanes=536870912,null;Be(t)}return k=v.children,v=v.fallback,g?(He(t),g=t.mode,k=go({mode:"hidden",children:k},g),v=kl(v,g,u,null),k.return=t,v.return=t,k.sibling=v,t.child=k,g=t.child,g.memoizedState=ms(u),g.childLanes=Qr(e,f,u),t.memoizedState=SE,v):(gr(t),Ga(t,k))}var Oe=e.memoizedState;if(Oe!==null&&(k=Oe.dehydrated,k!==null)){if(w)t.flags&256?(gr(t),t.flags&=-257,t=Oc(e,t,u)):t.memoizedState!==null?(He(t),t.child=e.child,t.flags|=128,t=null):(He(t),g=v.fallback,k=t.mode,v=go({mode:"visible",children:v.children},k),g=kl(g,k,u,null),g.flags|=2,v.return=t,g.return=t,v.sibling=g,t.child=v,cg(t,e.child,null,u),v=t.child,v.memoizedState=ms(u),v.childLanes=Qr(e,f,u),t.memoizedState=SE,t=g);else if(gr(t),Wn&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),k.data===Ag){if(f=k.nextSibling&&k.nextSibling.dataset,f){G=f.dgst;var Qe=f.msg;P=f.stck;var Re=f.cstck}k=Qe,f=G,v=P,G=g=Re,g=Error(k||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),g.stack=v||"",g.digest=f,f=G===void 0?null:G,v={value:g,source:null,stack:f},typeof f=="string"&&cE.set(g,v),gc(v),t=Oc(e,t,u)}else if(qi||zf(e,t,u,!1),f=(u&e.childLanes)!==0,qi||f){if(f=Fa,f!==null){if(v=u&-u,v&42)v=1;else switch(v){case 2:v=1;break;case 8:v=4;break;case 32:v=16;break;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:v=64;break;case 268435456:v=134217728;break;default:v=0}if(v=v&(f.suspendedLanes|u)?0:v,v!==0&&v!==Oe.retryLane)throw Oe.retryLane=v,Sa(e,v),sa(f,e,v),bA}k.data===Cg||Ts(),t=Oc(e,t,u)}else k.data===Cg?(t.flags|=128,t.child=e.child,t=r0.bind(null,e),k._reactRetry=t,t=null):(e=Oe.treeContext,fu=_i(k.nextSibling),fl=t,Wn=!0,ff=null,Uh=!1,Ps=null,md=!1,e!==null&&(El(),$s[Xs++]=Fh,$s[Xs++]=zh,$s[Xs++]=sg,Fh=e.id,zh=e.overflow,sg=t),t=Ga(t,v.children),t.flags|=4096);return t}return g?(He(t),g=v.fallback,k=t.mode,G=e.child,P=G.sibling,v=tl(G,{mode:"hidden",children:v.children}),v.subtreeFlags=G.subtreeFlags&31457280,P!==null?g=tl(P,g):(g=kl(g,k,u,null),g.flags|=2),g.return=t,v.return=t,v.sibling=g,t.child=v,v=g,g=t.child,k=e.child.memoizedState,k===null?k=ms(u):(G=k.cachePool,G!==null?(P=Di._currentValue,G=G.parent!==P?{parent:P,pool:P}:G):G=Jg(),k={baseLanes:k.baseLanes|u,cachePool:G}),g.memoizedState=k,g.childLanes=Qr(e,f,u),t.memoizedState=SE,v):(gr(t),u=e.child,e=u.sibling,u=tl(u,{mode:"visible",children:v.children}),u.return=t,u.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=u,t.memoizedState=null,u)}function Ga(e,t){return t=go({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function go(e,t){return uh(e,t,0,null)}function Oc(e,t,u){return cg(t,e.child,null,u),e=Ga(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ki(e,t,u){e.lanes|=t;var f=e.alternate;f!==null&&(f.lanes|=t),Id(e.return,t,u)}function xu(e,t){var u=lr(e);return e=!u&&typeof H(e)=="function",u||e?(u=u?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,t,u),!1):!0}function yo(e,t,u,f,v){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:f,tail:u,tailMode:v}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=f,g.tail=u,g.tailMode=v)}function Rl(e,t,u){var f=t.pendingProps,v=f.revealOrder,g=f.tail;if(f=f.children,v!==void 0&&v!=="forwards"&&v!=="backwards"&&v!=="together"&&!AA[v])if(AA[v]=!0,typeof v=="string")switch(v.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',v,v.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',v,v.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',v)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',v);g===void 0||EE[g]||(g!=="collapsed"&&g!=="hidden"?(EE[g]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',g)):v!=="forwards"&&v!=="backwards"&&(EE[g]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',g)));e:if((v==="forwards"||v==="backwards")&&f!==void 0&&f!==null&&f!==!1)if(lr(f)){for(var w=0;w<f.length;w++)if(!xu(f[w],w))break e}else if(w=H(f),typeof w=="function"){if(w=w.call(f))for(var k=w.next(),G=0;!k.done;k=w.next()){if(!xu(k.value,G))break e;G++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',v);if(ar(e,t,f,u),f=yi.current,f&Gy)f=f&R0|Gy,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ki(e,u,t);else if(e.tag===19)Ki(e,u,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}f&=R0}switch(Xe(yi,f,t),v){case"forwards":for(u=t.child,v=null;u!==null;)e=u.alternate,e!==null&&wt(e)===null&&(v=u),u=u.sibling;u=v,u===null?(v=t.child,t.child=null):(v=u.sibling,u.sibling=null),yo(t,!1,v,u,g);break;case"backwards":for(u=null,v=t.child,t.child=null;v!==null;){if(e=v.alternate,e!==null&&wt(e)===null){t.child=v;break}e=v.sibling,v.sibling=u,u=v,v=e}yo(t,!0,u,null,g);break;case"together":yo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Tu(e,t,u){if(e!==null&&(t.dependencies=e.dependencies),$l=-1,xv|=t.lanes,!(u&t.childLanes))if(e!==null){if(zf(e,t,u,!1),(u&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,u=tl(e,e.pendingProps),t.child=u,u.return=t;e.sibling!==null;)e=e.sibling,u=u.sibling=tl(e,e.pendingProps),u.return=t;u.sibling=null}return t.child}function yr(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&Kd(e)))}function Cm(e,t,u){switch(t.tag){case 3:Ye(t,t.stateNode.containerInfo),bo(t,Di,e.memoizedState.cache),Nf();break;case 27:case 5:Ue(t);break;case 4:Ye(t,t.stateNode.containerInfo);break;case 10:bo(t,t.type,t.memoizedProps.value);break;case 12:u&t.childLanes&&(t.flags|=4),t.flags|=2048;var f=t.stateNode;f.effectDuration=-0,f.passiveEffectDuration=-0;break;case 13:if(f=t.memoizedState,f!==null)return f.dehydrated!==null?(gr(t),t.flags|=128,null):u&t.child.childLanes?Ya(e,t,u):(gr(t),e=Tu(e,t,u),e!==null?e.sibling:null);gr(t);break;case 19:var v=(e.flags&128)!==0;if(f=(u&t.childLanes)!==0,f||(zf(e,t,u,!1),f=(u&t.childLanes)!==0),v){if(f)return Rl(e,t,u);t.flags|=128}if(v=t.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Xe(yi,yi.current,t),f)break;return null;case 22:case 23:return t.lanes=0,$n(e,t,u);case 24:bo(t,Di,e.memoizedState.cache)}return Tu(e,t,u)}function Am(e,t,u){if(t._debugNeedsRemount&&e!==null){u=As(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes);var f=t.return;if(f===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,u.index=t.index,u.sibling=t.sibling,u.return=t.return,u.ref=t.ref,u._debugInfo=t._debugInfo,t===f.child)f.child=u;else{var v=f.child;if(v===null)throw Error("Expected parent to have a child.");for(;v.sibling!==t;)if(v=v.sibling,v===null)throw Error("Expected to find the previous sibling.");v.sibling=u}return t=f.deletions,t===null?(f.deletions=[e],f.flags|=16):t.push(e),u.flags|=2,u}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)qi=!0;else{if(!yr(e,u)&&!(t.flags&128))return qi=!1,Cm(e,t,u);qi=!!(e.flags&131072)}else qi=!1,(f=Wn)&&(El(),f=(t.flags&1048576)!==0),f&&(f=t.index,El(),Wg(t,ib,f));switch(t.lanes=0,t.tag){case 16:e:if(f=t.pendingProps,e=Dv(t.elementType),t.type=e,typeof e=="function")ih(e)?(f=fo(e,f),t.tag=1,t.type=e=Kl(e),t=po(null,t,e,f,u)):(t.tag=0,Zd(t,e),t.type=e=Kl(e),t=Pd(null,t,e,f,u));else{if(e!=null){if(v=e.$$typeof,v===ef){t.tag=11,t.type=e=up(e),t=Ri(null,t,e,f,u);break e}else if(v===_s){t.tag=14,t=vo(null,t,e,f,u);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===ei&&(t=" Did you wrap a component in React.lazy() more than once?"),e=B(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Pd(e,t,t.type,t.pendingProps,u);case 1:return f=t.type,v=fo(f,t.pendingProps),po(e,t,f,v,u);case 3:e:{if(Ye(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");var g=t.pendingProps;v=t.memoizedState,f=v.element,Jd(e,t),Hf(t,g,null,u);var w=t.memoizedState;if(g=w.cache,bo(t,Di,g),g!==v.cache&&vs(t,[Di],u,!0),Ru(),g=w.element,v.isDehydrated)if(v={element:g,isDehydrated:!1,cache:w.cache},t.updateQueue.baseState=v,t.memoizedState=v,t.flags&256){t=Qd(e,t,g,u);break e}else if(g!==f){f=Gr(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),gc(f),t=Qd(e,t,g,u);break e}else for(fu=_i(t.stateNode.containerInfo.firstChild),fl=t,Wn=!0,ff=null,Uh=!1,Ps=null,md=!0,e=aA(t,null,g,u),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling;else{if(Nf(),g===f){t=Tu(e,t,u);break e}ar(e,t,g,u)}t=t.child}return t;case 26:return hs(e,t),e===null?(e=Im(t.type,null,t.pendingProps,null))?t.memoizedState=e:Wn||(e=t.type,u=t.pendingProps,f=Te(Cr.current),f=Zm(f).createElement(e),f[Fr]=t,f[ji]=u,_a(f,e,u),Bn(f),t.stateNode=f):t.memoizedState=Im(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ue(t),e===null&&Wn&&(v=Te(Cr.current),f=Q(),v=t.stateNode=Kf(t.type,t.pendingProps,v,f,!1),Uh||(f=Np(v,t.type,t.pendingProps,f),f!==null&&(bu(t,0).serverProps=f)),fl=t,md=!0,fu=_i(v.firstChild)),f=t.pendingProps.children,e!==null||Wn?ar(e,t,f,u):t.child=cg(t,null,f,u),hs(e,t),t.child;case 5:return e===null&&Wn&&(g=Q(),f=Af(t.type,g.ancestorInfo),v=fu,(w=!v)||(w=vh(v,t.type,t.pendingProps,md),w!==null?(t.stateNode=w,Uh||(g=Np(w,t.type,t.pendingProps,g),g!==null&&(bu(t,0).serverProps=g)),fl=t,fu=_i(w.firstChild),md=!1,g=!0):g=!1,w=!g),w&&(f&&as(t,v),Du(t))),Ue(t),v=t.type,g=t.pendingProps,w=e!==null?e.memoizedProps:null,f=g.children,ta(v,g)?f=null:w!==null&&ta(v,w)&&(t.flags|=32),t.memoizedState!==null&&(v=Rr(e,t,pm,null,null,u),o1._currentValue=v),hs(e,t),ar(e,t,f,u),t.child;case 6:return e===null&&Wn&&(e=t.pendingProps,u=Q().ancestorInfo.current,e=u!=null?fc(e,u.tag):!0,u=fu,(f=!u)||(f=Ll(u,t.pendingProps,md),f!==null?(t.stateNode=f,fl=t,fu=null,f=!0):f=!1,f=!f),f&&(e&&as(t,u),Du(t))),null;case 13:return Ya(e,t,u);case 4:return Ye(t,t.stateNode.containerInfo),f=t.pendingProps,e===null?t.child=cg(t,null,f,u):ar(e,t,f,u),t.child;case 11:return Ri(e,t,t.type,t.pendingProps,u);case 7:return ar(e,t,t.pendingProps,u),t.child;case 8:return ar(e,t,t.pendingProps.children,u),t.child;case 12:return t.flags|=4,t.flags|=2048,f=t.stateNode,f.effectDuration=-0,f.passiveEffectDuration=-0,ar(e,t,t.pendingProps.children,u),t.child;case 10:return f=t.type,v=t.pendingProps,g=v.value,"value"in v||wA||(wA=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),bo(t,f,g),ar(e,t,v.children,u),t.child;case 9:return v=t.type._context,f=t.pendingProps.children,typeof f!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ps(t),v=ia(v),yn(t),f=hE(f,v,void 0),I(),t.flags|=1,ar(e,t,f,u),t.child;case 14:return vo(e,t,t.type,t.pendingProps,u);case 15:return ds(e,t,t.type,t.pendingProps,u);case 19:return Rl(e,t,u);case 22:return $n(e,t,u);case 24:return ps(t),f=ia(Di),e===null?(v=fi(),v===null&&(v=Fa,g=Pt(),v.pooledCache=g,fn(g),g!==null&&(v.pooledCacheLanes|=u),v=g),t.memoizedState={parent:f,cache:v},jf(t),bo(t,Di,v)):(e.lanes&u&&(Jd(e,t),Hf(t,null,null,u),Ru()),v=e.memoizedState,g=t.memoizedState,v.parent!==f?(v={parent:f,cache:f},t.memoizedState=v,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=v),bo(t,Di,f)):(f=g.cache,bo(t,Di,f),f!==v.cache&&vs(t,[Di],u,!0))),ar(e,t,t.pendingProps.children,u),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Wd(){F0=db=null,z0=!1}function bo(e,t,u){Xe(CE,t._currentValue,e),t._currentValue=u,Xe(AE,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==xA&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=xA}function Ou(e,t){e._currentValue=CE.current;var u=AE.current;Se(AE,t),e._currentRenderer=u,Se(CE,t)}function Id(e,t,u){for(;e!==null;){var f=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,f!==null&&(f.childLanes|=t)):f!==null&&(f.childLanes&t)!==t&&(f.childLanes|=t),e===u)break;e=e.return}e!==u&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function vs(e,t,u,f){var v=e.child;for(v!==null&&(v.return=e);v!==null;){var g=v.dependencies;if(g!==null){var w=v.child;g=g.firstContext;e:for(;g!==null;){var k=g;g=v;for(var G=0;G<t.length;G++)if(k.context===t[G]){g.lanes|=u,k=g.alternate,k!==null&&(k.lanes|=u),Id(g.return,u,e),f||(w=null);break e}g=k.next}}else if(v.tag===18){if(w=v.return,w===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");w.lanes|=u,g=w.alternate,g!==null&&(g.lanes|=u),Id(w,u,e),w=null}else w=v.child;if(w!==null)w.return=v;else for(w=v;w!==null;){if(w===e){w=null;break}if(v=w.sibling,v!==null){v.return=w.return,w=v;break}w=w.return}v=w}}function zf(e,t,u,f){e=null;for(var v=t,g=!1;v!==null;){if(!g){if(v.flags&524288)g=!0;else if(v.flags&262144)break}if(v.tag===10){var w=v.alternate;if(w===null)throw Error("Should have a current fiber. This is a bug in React.");if(w=w.memoizedProps,w!==null){var k=v.type;h(v.pendingProps.value,w.value)||(e!==null?e.push(k):e=[k])}}else if(v===Oh.current){if(w=v.alternate,w===null)throw Error("Should have a current fiber. This is a bug in React.");w.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(e!==null?e.push(o1):e=[o1])}v=v.return}e!==null&&vs(t,e,u,f),t.flags|=262144}function Kd(e){for(e=e.firstContext;e!==null;){if(!h(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ps(e){db=e,F0=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ia(e){return z0&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),yp(db,e)}function Uf(e,t){return db===null&&ps(e),yp(e,t)}function yp(e,t){var u=t._currentValue;if(t={context:t,memoizedValue:u,next:null},F0===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");F0=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else F0=F0.next=t;return u}function jf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Do(e){return{lane:e,tag:TA,payload:null,callback:null,next:null}}function Eo(e,t,u){var f=e.updateQueue;if(f===null)return null;if(f=f.shared,xE===f&&!BA){var v=V(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
867
+
868
+ Please update the following component: %s`,v),BA=!0}return(Wa&ml)!==jo?(v=f.pending,v===null?t.next=t:(t.next=v.next,v.next=t),f.pending=t,t=cm(e),sm(e,null,u),t):(Rf(e,f,t,u),cm(e))}function eh(e,t,u){if(t=t.updateQueue,t!==null&&(t=t.shared,(u&4194176)!==0)){var f=t.lanes;f&=e.pendingLanes,u|=f,t.lanes=u,un(e,u)}}function Lf(e,t){var u=e.updateQueue,f=e.alternate;if(f!==null&&(f=f.updateQueue,u===f)){var v=null,g=null;if(u=u.firstBaseUpdate,u!==null){do{var w={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};g===null?v=g=w:g=g.next=w,u=u.next}while(u!==null);g===null?v=g=t:g=g.next=t}else v=g=t;u={baseState:f.baseState,firstBaseUpdate:v,lastBaseUpdate:g,shared:f.shared,callbacks:f.callbacks},e.updateQueue=u;return}e=u.lastBaseUpdate,e===null?u.firstBaseUpdate=t:e.next=t,u.lastBaseUpdate=t}function Ru(){if(TE){var e=B0;if(e!==null)throw e}}function Hf(e,t,u,f){TE=!1;var v=e.updateQueue;wv=!1,xE=v.shared;var g=v.firstBaseUpdate,w=v.lastBaseUpdate,k=v.shared.pending;if(k!==null){v.shared.pending=null;var G=k,P=G.next;G.next=null,w===null?g=P:w.next=P,w=G;var Oe=e.alternate;Oe!==null&&(Oe=Oe.updateQueue,k=Oe.lastBaseUpdate,k!==w&&(k===null?Oe.firstBaseUpdate=P:k.next=P,Oe.lastBaseUpdate=G))}if(g!==null){var Qe=v.baseState;w=0,Oe=P=G=null,k=g;do{var Re=k.lane&-536870913,nt=Re!==k.lane;if(nt?(Yn&Re)===Re:(f&Re)===Re){Re!==0&&Re===fg&&(TE=!0),Oe!==null&&(Oe=Oe.next={lane:0,tag:k.tag,payload:k.payload,callback:null,next:null});e:{Re=e;var jt=k,An=t,jr=u;switch(jt.tag){case OA:if(jt=jt.payload,typeof jt=="function"){z0=!0;var fa=jt.call(jr,Qe,An);if(Re.mode&Hu){xt(!0);try{jt.call(jr,Qe,An)}finally{xt(!1)}}z0=!1,Qe=fa;break e}Qe=jt;break e;case wE:Re.flags=Re.flags&-65537|128;case TA:if(fa=jt.payload,typeof fa=="function"){if(z0=!0,jt=fa.call(jr,Qe,An),Re.mode&Hu){xt(!0);try{fa.call(jr,Qe,An)}finally{xt(!1)}}z0=!1}else jt=fa;if(jt==null)break e;Qe=ht({},Qe,jt);break e;case RA:wv=!0}}Re=k.callback,Re!==null&&(e.flags|=64,nt&&(e.flags|=8192),nt=v.callbacks,nt===null?v.callbacks=[Re]:nt.push(Re))}else nt={lane:Re,tag:k.tag,payload:k.payload,callback:k.callback,next:null},Oe===null?(P=Oe=nt,G=Qe):Oe=Oe.next=nt,w|=Re;if(k=k.next,k===null){if(k=v.shared.pending,k===null)break;nt=k,k=nt.next,nt.next=null,v.lastBaseUpdate=nt,v.shared.pending=null}}while(!0);Oe===null&&(G=Qe),v.baseState=G,v.firstBaseUpdate=P,v.lastBaseUpdate=Oe,g===null&&(v.shared.lanes=0),xv|=w,e.lanes=w,e.memoizedState=Qe}xE=null}function Rc(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function th(e,t){var u=e.shared.hiddenCallbacks;if(u!==null)for(e.shared.hiddenCallbacks=null,e=0;e<u.length;e++)Rc(u[e],t)}function wm(e,t){var u=e.callbacks;if(u!==null)for(e.callbacks=null,e=0;e<u.length;e++)Rc(u[e],t)}function Ji(e){return(e.mode&cu)!==Pa}function Vf(e,t){Ji(e)?(yu(),Bc(t,e),Pi()):Bc(t,e)}function xm(e,t,u){Ji(e)?(yu(),gs(u,e,t),Pi()):gs(u,e,t)}function Bc(e,t){try{var u=t.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var v=f.next;u=v;do{if((u.tag&e)===e&&((e&bi)!==Zs?Et!==null&&typeof Et.markComponentPassiveEffectMountStarted=="function"&&Et.markComponentPassiveEffectMountStarted(t):(e&du)!==Zs&&Et!==null&&typeof Et.markComponentLayoutEffectMountStarted=="function"&&Et.markComponentLayoutEffectMountStarted(t),f=void 0,(e&dl)!==Zs&&(q0=!0),f=le(t,ER,u),(e&dl)!==Zs&&(q0=!1),(e&bi)!==Zs?Et!==null&&typeof Et.markComponentPassiveEffectMountStopped=="function"&&Et.markComponentPassiveEffectMountStopped():(e&du)!==Zs&&Et!==null&&typeof Et.markComponentLayoutEffectMountStopped=="function"&&Et.markComponentLayoutEffectMountStopped(),f!==void 0&&typeof f!="function")){var g=void 0;g=u.tag&du?"useLayoutEffect":u.tag&dl?"useInsertionEffect":"useEffect";var w=void 0;w=f===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof f.then=="function"?`
869
+
870
+ It looks like you wrote `+g+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
871
+
872
+ `+g+`(() => {
873
+ async function fetchData() {
874
+ // You can await here
875
+ const response = await MyAPI.getData(someId);
876
+ // ...
877
+ }
878
+ fetchData();
879
+ }, [someId]); // Or [] if effect doesn't need props or state
880
+
881
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+f,le(t,function(k,G){console.error("%s must not return anything besides a function, which is used for clean-up.%s",k,G)},g,w)}u=u.next}while(u!==v)}}catch(k){Xn(t,t.return,k)}}function gs(e,t,u){try{var f=t.updateQueue,v=f!==null?f.lastEffect:null;if(v!==null){var g=v.next;f=g;do{if((f.tag&e)===e){var w=f.inst,k=w.destroy;k!==void 0&&(w.destroy=void 0,(e&bi)!==Zs?Et!==null&&typeof Et.markComponentPassiveEffectUnmountStarted=="function"&&Et.markComponentPassiveEffectUnmountStarted(t):(e&du)!==Zs&&Et!==null&&typeof Et.markComponentLayoutEffectUnmountStarted=="function"&&Et.markComponentLayoutEffectUnmountStarted(t),(e&dl)!==Zs&&(q0=!0),le(t,SR,t,u,k),(e&dl)!==Zs&&(q0=!1),(e&bi)!==Zs?Et!==null&&typeof Et.markComponentPassiveEffectUnmountStopped=="function"&&Et.markComponentPassiveEffectUnmountStopped():(e&du)!==Zs&&Et!==null&&typeof Et.markComponentLayoutEffectUnmountStopped=="function"&&Et.markComponentLayoutEffectUnmountStopped())}f=f.next}while(f!==g)}}catch(G){Xn(t,t.return,G)}}function Tm(e,t){Ji(e)?(yu(),Bc(t,e),Pi()):Bc(t,e)}function nh(e,t,u){Ji(e)?(yu(),gs(u,e,t),Pi()):gs(u,e,t)}function bp(e){var t=e.updateQueue;if(t!==null){var u=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||_0||(u.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",V(e)||"instance"),u.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",V(e)||"instance"));try{le(e,wm,t,u)}catch(f){Xn(e,e.return,f)}}}function ah(e,t,u){return e.getSnapshotBeforeUpdate(t,u)}function Dp(e,t){var u=t.memoizedProps,f=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||_0||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",V(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",V(e)||"instance"));try{var v=fo(e.type,u,e.elementType===e.type),g=le(e,ah,t,v,f);u=NA,g!==void 0||u.has(e.type)||(u.add(e.type),le(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",V(e))})),t.__reactInternalSnapshotBeforeUpdate=g}catch(w){Xn(e,e.return,w)}}function rh(e,t,u){u.props=fo(e.type,e.memoizedProps),u.state=e.memoizedState,Ji(e)?(yu(),le(e,ZC,e,t,u),Pi()):le(e,ZC,e,t,u)}function yy(e){var t=e.ref;if(t!==null){var u=e.stateNode;if(typeof t=="function")if(Ji(e))try{yu(),e.refCleanup=t(u)}finally{Pi()}else e.refCleanup=t(u);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",V(e)),t.current=u}}function Ku(e,t){try{le(e,yy,e)}catch(u){Xn(e,t,u)}}function Qt(e,t){var u=e.ref,f=e.refCleanup;if(u!==null)if(typeof f=="function")try{if(Ji(e))try{yu(),le(e,f)}finally{Pi(e)}else le(e,f)}catch(v){Xn(e,t,v)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof u=="function")try{if(Ji(e))try{yu(),le(e,u,null)}finally{Pi(e)}else le(e,u,null)}catch(v){Xn(e,t,v)}else u.current=null}function Ep(e,t,u,f){var v=e.memoizedProps,g=v.id,w=v.onCommit;v=v.onRender,t=t===null?"mount":"update",tb&&(t="nested-update"),typeof v=="function"&&v(g,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,u),typeof w=="function"&&w(e.memoizedProps.id,t,f,u)}function Sp(e,t,u,f){var v=e.memoizedProps;e=v.id,v=v.onPostCommit,t=t===null?"mount":"update",tb&&(t="nested-update"),typeof v=="function"&&v(e,t,f,u)}function Nc(e){var t=e.type,u=e.memoizedProps,f=e.stateNode;try{le(e,va,f,t,u,e)}catch(v){Xn(e,e.return,v)}}function Om(e,t,u){try{le(e,ru,e.stateNode,e.type,u,t,e)}catch(f){Xn(e,e.return,f)}}function t0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function Cp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||t0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function mi(e,t,u){var f=e.tag;if(f===5||f===6)e=e.stateNode,t?u.nodeType===8?u.parentNode.insertBefore(e,t):u.insertBefore(e,t):(u.nodeType===8?(t=u.parentNode,t.insertBefore(e,u)):(t=u,t.appendChild(e)),u=u._reactRootContainer,u!=null||t.onclick!==null||(t.onclick=il));else if(f!==4&&f!==27&&(e=e.child,e!==null))for(mi(e,t,u),e=e.sibling;e!==null;)mi(e,t,u),e=e.sibling}function ys(e,t,u){var f=e.tag;if(f===5||f===6)e=e.stateNode,t?u.insertBefore(e,t):u.appendChild(e);else if(f!==4&&f!==27&&(e=e.child,e!==null))for(ys(e,t,u),e=e.sibling;e!==null;)ys(e,t,u),e=e.sibling}function qf(e){if(e.tag!==27){e:{for(var t=e.return;t!==null;){if(t0(t)){var u=t;break e}t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}switch(u.tag){case 27:t=u.stateNode,u=Cp(e),ys(e,u,t);break;case 5:t=u.stateNode,u.flags&32&&(jl(t),u.flags&=-33),u=Cp(e),ys(e,u,t);break;case 3:case 4:t=u.stateNode.containerInfo,u=Cp(e),mi(e,u,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}}function Yf(e,t){if(e=e.containerInfo,XE=kb,e=ip(e),Yr(e)){if("selectionStart"in e)var u={start:e.selectionStart,end:e.selectionEnd};else e:{u=(u=e.ownerDocument)&&u.defaultView||window;var f=u.getSelection&&u.getSelection();if(f&&f.rangeCount!==0){u=f.anchorNode;var v=f.anchorOffset,g=f.focusNode;f=f.focusOffset;try{u.nodeType,g.nodeType}catch{u=null;break e}var w=0,k=-1,G=-1,P=0,Oe=0,Qe=e,Re=null;t:for(;;){for(var nt;Qe!==u||v!==0&&Qe.nodeType!==3||(k=w+v),Qe!==g||f!==0&&Qe.nodeType!==3||(G=w+f),Qe.nodeType===3&&(w+=Qe.nodeValue.length),(nt=Qe.firstChild)!==null;)Re=Qe,Qe=nt;for(;;){if(Qe===e)break t;if(Re===u&&++P===v&&(k=w),Re===g&&++Oe===f&&(G=w),(nt=Qe.nextSibling)!==null)break;Qe=Re,Re=Qe.parentNode}Qe=nt}u=k===-1||G===-1?null:{start:k,end:G}}else u=null}u=u||{start:0,end:0}}else u=null;for(PE={focusedElem:e,selectionRange:u},kb=!1,Yi=t;Yi!==null;)if(t=Yi,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Yi=e;else for(;Yi!==null;){switch(e=t=Yi,u=e.alternate,v=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:v&1024&&u!==null&&Dp(e,u);break;case 3:if(v&1024){if(e=e.stateNode.containerInfo,u=e.nodeType,u===9)Ns(e);else if(u===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ns(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(v&1024)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Yi=e;break}Yi=t.return}return t=MA,MA=!1,t}function Rm(e,t,u){var f=u.flags;switch(u.tag){case 0:case 11:case 15:el(e,u),f&4&&Vf(u,du|Ws);break;case 1:if(el(e,u),f&4)if(e=u.stateNode,t===null)u.type.defaultProps||"ref"in u.memoizedProps||_0||(e.props!==u.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",V(u)||"instance"),e.state!==u.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",V(u)||"instance")),Ji(u)?(yu(),le(u,mE,u,e),Pi()):le(u,mE,u,e);else{var v=fo(u.type,t.memoizedProps);t=t.memoizedState,u.type.defaultProps||"ref"in u.memoizedProps||_0||(e.props!==u.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",V(u)||"instance"),e.state!==u.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",V(u)||"instance")),Ji(u)?(yu(),le(u,XC,u,e,v,t,e.__reactInternalSnapshotBeforeUpdate),Pi()):le(u,XC,u,e,v,t,e.__reactInternalSnapshotBeforeUpdate)}f&64&&bp(u),f&512&&Ku(u,u.return);break;case 3:if(t=gu(),el(e,u),f&64&&(f=u.updateQueue,f!==null)){if(v=null,u.child!==null)switch(u.child.tag){case 27:case 5:v=u.child.stateNode;break;case 1:v=u.child.stateNode}try{le(u,wm,f,v)}catch(k){Xn(u,u.return,k)}}e.effectDuration+=Jl(t);break;case 26:el(e,u),f&512&&Ku(u,u.return);break;case 27:case 5:el(e,u),t===null&&f&4&&Nc(u),f&512&&Ku(u,u.return);break;case 12:if(f&4){f=gu(),el(e,u),e=u.stateNode,e.effectDuration+=pc(f);try{le(u,Ep,u,t,eb,e.effectDuration)}catch(k){Xn(u,u.return,k)}}else el(e,u);break;case 13:el(e,u),f&4&&Ju(e,u);break;case 22:if(v=u.memoizedState!==null||Hh,!v){t=t!==null&&t.memoizedState!==null||xr;var g=Hh,w=xr;Hh=v,(xr=t)&&!w?eu(e,u,(u.subtreeFlags&8772)!==0):el(e,u),Hh=g,xr=w}f&512&&(u.memoizedProps.mode==="manual"?Ku(u,u.return):Qt(u,u.return));break;default:el(e,u)}}function Bm(e){var t=e.alternate;t!==null&&(e.alternate=null,Bm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Dt(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ea(e,t,u){for(u=u.child;u!==null;)vi(e,t,u),u=u.sibling}function vi(e,t,u){if(Yt&&typeof Yt.onCommitFiberUnmount=="function")try{Yt.onCommitFiberUnmount(Ui,u)}catch(g){pa||(pa=!0,console.error("React instrumentation encountered an error: %s",g))}switch(u.tag){case 26:xr||Qt(u,t),ea(e,t,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:xr||Qt(u,t);var f=ii,v=Uo;for(ii=u.stateNode,ea(e,t,u),u=u.stateNode,e=u.attributes;e.length;)u.removeAttributeNode(e[0]);Dt(u),ii=f,Uo=v;break;case 5:xr||Qt(u,t);case 6:if(f=ii,v=Uo,ii=null,ea(e,t,u),ii=f,Uo=v,ii!==null)if(Uo)try{le(u,Oo,ii,u.stateNode)}catch(g){Xn(u,t,g)}else try{le(u,kp,ii,u.stateNode)}catch(g){Xn(u,t,g)}break;case 18:ii!==null&&(Uo?(e=ii,u=u.stateNode,e.nodeType===8?Oa(e.parentNode,u):e.nodeType===1&&Oa(e,u),Kc(e)):Oa(ii,u.stateNode));break;case 4:f=ii,v=Uo,ii=u.stateNode.containerInfo,Uo=!0,ea(e,t,u),ii=f,Uo=v;break;case 0:case 11:case 14:case 15:xr||gs(dl,u,t),xr||xm(u,t,du),ea(e,t,u);break;case 1:xr||(Qt(u,t),f=u.stateNode,typeof f.componentWillUnmount=="function"&&rh(u,t,f)),ea(e,t,u);break;case 21:ea(e,t,u);break;case 22:xr||Qt(u,t),xr=(f=xr)||u.memoizedState!==null,ea(e,t,u),xr=f;break;default:ea(e,t,u)}}function Ju(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{le(t,Xc,e)}catch(u){Xn(t,t.return,u)}}function bs(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new kA),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new kA),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Ds(e,t){var u=bs(e);t.forEach(function(f){var v=$a.bind(null,e,f);if(!u.has(f)){if(u.add(f),ti)if(U0!==null&&j0!==null)wa(j0,U0);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");f.then(v,v)}})}function Nm(e,t,u){U0=u,j0=e,km(t,e),j0=U0=null}function pi(e,t){var u=t.deletions;if(u!==null)for(var f=0;f<u.length;f++){var v=e,g=t,w=u[f],k=g;e:for(;k!==null;){switch(k.tag){case 27:case 5:ii=k.stateNode,Uo=!1;break e;case 3:ii=k.stateNode.containerInfo,Uo=!0;break e;case 4:ii=k.stateNode.containerInfo,Uo=!0;break e}k=k.return}if(ii===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");vi(v,g,w),ii=null,Uo=!1,v=w,g=v.alternate,g!==null&&(g.return=null),v.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)km(t,e),t=t.sibling}function km(e,t){var u=e.alternate,f=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:pi(t,e),rr(e),f&4&&(gs(dl|Ws,e,e.return),Bc(dl|Ws,e),xm(e,e.return,du|Ws));break;case 1:pi(t,e),rr(e),f&512&&(xr||u===null||Qt(u,u.return)),f&64&&Hh&&(e=e.updateQueue,e!==null&&(f=e.callbacks,f!==null&&(u=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=u===null?f:u.concat(f))));break;case 26:var v=df;if(pi(t,e),rr(e),f&512&&(xr||u===null||Qt(u,u.return)),f&4)if(t=u!==null?u.memoizedState:null,f=e.memoizedState,u===null)if(f===null)if(e.stateNode===null){e:{f=e.type,u=e.memoizedProps,t=v.ownerDocument||v;t:switch(f){case"title":v=t.getElementsByTagName("title")[0],(!v||v[Ls]||v[Fr]||v.namespaceURI===wr||v.hasAttribute("itemprop"))&&(v=t.createElement(f),t.head.insertBefore(v,t.querySelector("head > title"))),_a(v,f,u),v[Fr]=e,Bn(v),f=v;break e;case"link":var g=zp("link","href",t).get(f+(u.href||""));if(g){for(var w=0;w<g.length;w++)if(v=g[w],v.getAttribute("href")===(u.href==null?null:u.href)&&v.getAttribute("rel")===(u.rel==null?null:u.rel)&&v.getAttribute("title")===(u.title==null?null:u.title)&&v.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){g.splice(w,1);break t}}v=t.createElement(f),_a(v,f,u),t.head.appendChild(v);break;case"meta":if(g=zp("meta","content",t).get(f+(u.content||""))){for(w=0;w<g.length;w++)if(v=g[w],Me(u.content,"content"),v.getAttribute("content")===(u.content==null?null:""+u.content)&&v.getAttribute("name")===(u.name==null?null:u.name)&&v.getAttribute("property")===(u.property==null?null:u.property)&&v.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&v.getAttribute("charset")===(u.charSet==null?null:u.charSet)){g.splice(w,1);break t}}v=t.createElement(f),_a(v,f,u),t.head.appendChild(v);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+f+'". This is a bug in React.')}v[Fr]=e,Bn(v),f=v}e.stateNode=f}else Up(v,e.type,e.stateNode);else e.stateNode=Hl(v,f,e.memoizedProps);else t!==f?(t===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):t.count--,f===null?Up(v,e.type,e.stateNode):Hl(v,f,e.memoizedProps)):f===null&&e.stateNode!==null&&Om(e,e.memoizedProps,u.memoizedProps);break;case 27:if(f&4&&e.alternate===null){v=e.stateNode,g=e.memoizedProps;try{for(w=v.firstChild;w;){var k=w.nextSibling,G=w.nodeName;w[Ls]||G==="HEAD"||G==="BODY"||G==="SCRIPT"||G==="STYLE"||G==="LINK"&&w.rel.toLowerCase()==="stylesheet"||v.removeChild(w),w=k}le(e,_p,e.type,g,v,e)}catch(Oe){Xn(e,e.return,Oe)}}case 5:if(pi(t,e),rr(e),f&512&&(xr||u===null||Qt(u,u.return)),e.flags&32){t=e.stateNode;try{le(e,jl,t)}catch(Oe){Xn(e,e.return,Oe)}}f&4&&e.stateNode!=null&&(t=e.memoizedProps,Om(e,t,u!==null?u.memoizedProps:t)),f&1024&&(OE=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(pi(t,e),rr(e),f&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");f=e.memoizedProps,u=u!==null?u.memoizedProps:f,t=e.stateNode;try{le(e,If,t,u,f)}catch(Oe){Xn(e,e.return,Oe)}}break;case 3:if(v=gu(),Rb=null,g=df,df=Jf(t.containerInfo),pi(t,e),df=g,rr(e),f&4&&u!==null&&u.memoizedState.isDehydrated)try{le(e,yh,t.containerInfo)}catch(Oe){Xn(e,e.return,Oe)}OE&&(OE=!1,kc(e)),t.effectDuration+=Jl(v);break;case 4:f=df,df=Jf(e.stateNode.containerInfo),pi(t,e),rr(e),df=f;break;case 12:f=gu(),pi(t,e),rr(e),e.stateNode.effectDuration+=pc(f);break;case 13:pi(t,e),rr(e),e.child.flags&8192&&e.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(_E=uu()),f&4&&(f=e.updateQueue,f!==null&&(e.updateQueue=null,Ds(e,f)));break;case 22:f&512&&(xr||u===null||Qt(u,u.return)),w=e.memoizedState!==null,k=u!==null&&u.memoizedState!==null,G=Hh;var P=xr;if(Hh=G||w,xr=P||k,pi(t,e),xr=P,Hh=G,rr(e),t=e.stateNode,t._current=e,t._visibility&=-3,t._visibility|=t._pendingVisibility&zr,f&8192&&(t._visibility=w?t._visibility&-2:t._visibility|Hi,w&&(t=Hh||xr,u===null||k||t||Nl(e)),e.memoizedProps===null||e.memoizedProps.mode!=="manual"))e:for(u=null,t=e;;){if(t.tag===5||t.tag===26||t.tag===27){if(u===null){k=u=t;try{v=k.stateNode,w?le(k,Bs,v):le(k,Mp,k.stateNode,k.memoizedProps)}catch(Oe){Xn(k,k.return,Oe)}}}else if(t.tag===6){if(u===null){k=t;try{g=k.stateNode,w?le(k,$c,g):le(k,Uu,g,k.memoizedProps)}catch(Oe){Xn(k,k.return,Oe)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;u===t&&(u=null),t=t.return}u===t&&(u=null),t.sibling.return=t.return,t=t.sibling}f&4&&(f=e.updateQueue,f!==null&&(u=f.retryQueue,u!==null&&(f.retryQueue=null,Ds(e,u))));break;case 19:pi(t,e),rr(e),f&4&&(f=e.updateQueue,f!==null&&(e.updateQueue=null,Ds(e,f)));break;case 21:break;default:pi(t,e),rr(e)}}function rr(e){var t=e.flags;if(t&2){try{le(e,qf,e)}catch(u){Xn(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function kc(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;kc(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function So(e,t,u){U0=u,j0=t,Rm(t,e.alternate,e),j0=U0=null}function el(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Rm(e,t.alternate,t),t=t.sibling}function Bl(e){switch(e.tag){case 0:case 11:case 14:case 15:xm(e,e.return,du),Nl(e);break;case 1:Qt(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&rh(e,e.return,t),Nl(e);break;case 26:case 27:case 5:Qt(e,e.return),Nl(e);break;case 22:Qt(e,e.return),e.memoizedState===null&&Nl(e);break;default:Nl(e)}}function Nl(e){for(e=e.child;e!==null;)Bl(e),e=e.sibling}function Mm(e,t,u,f){var v=u.flags;switch(u.tag){case 0:case 11:case 15:eu(e,u,f),Vf(u,du);break;case 1:if(eu(e,u,f),t=u.stateNode,typeof t.componentDidMount=="function"&&le(u,mE,u,t),t=u.updateQueue,t!==null){e=u.stateNode;try{le(u,th,t,e)}catch(g){Xn(u,u.return,g)}}f&&v&64&&bp(u),Ku(u,u.return);break;case 26:case 27:case 5:eu(e,u,f),f&&t===null&&v&4&&Nc(u),Ku(u,u.return);break;case 12:if(f&&v&4){v=gu(),eu(e,u,f),f=u.stateNode,f.effectDuration+=pc(v);try{le(u,Ep,u,t,eb,f.effectDuration)}catch(g){Xn(u,u.return,g)}}else eu(e,u,f);break;case 13:eu(e,u,f),f&&v&4&&Ju(e,u);break;case 22:u.memoizedState===null&&eu(e,u,f),Ku(u,u.return);break;default:eu(e,u,f)}}function eu(e,t,u){for(u=u&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Mm(e,t.alternate,t,u),t=t.sibling}function _m(e,t){var u=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(u=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==u&&(e!=null&&fn(e),u!=null&&Ea(u))}function Fm(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(fn(t),e!=null&&Ea(e))}function Es(e,t,u,f){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)zm(e,t,u,f),t=t.sibling}function zm(e,t,u,f){var v=t.flags;switch(t.tag){case 0:case 11:case 15:Es(e,t,u,f),v&2048&&Tm(t,bi|Ws);break;case 3:var g=gu();Es(e,t,u,f),v&2048&&(u=null,t.alternate!==null&&(u=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==u&&(fn(t),u!=null&&Ea(u))),e.passiveEffectDuration+=Jl(g);break;case 12:if(v&2048){g=gu(),Es(e,t,u,f),e=t.stateNode,e.passiveEffectDuration+=pc(g);try{le(t,Sp,t,t.alternate,eb,e.passiveEffectDuration)}catch(w){Xn(t,t.return,w)}}else Es(e,t,u,f);break;case 23:break;case 22:g=t.stateNode,t.memoizedState!==null?g._visibility&Ur?Es(e,t,u,f):Mc(e,t):g._visibility&Ur?Es(e,t,u,f):(g._visibility|=Ur,Ca(e,t,u,f,(t.subtreeFlags&10256)!==0)),v&2048&&_m(t.alternate,t);break;case 24:Es(e,t,u,f),v&2048&&Fm(t.alternate,t);break;default:Es(e,t,u,f)}}function Ca(e,t,u,f,v){for(v=v&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)br(e,t,u,f,v),t=t.sibling}function br(e,t,u,f,v){var g=t.flags;switch(t.tag){case 0:case 11:case 15:Ca(e,t,u,f,v),Tm(t,bi);break;case 23:break;case 22:var w=t.stateNode;t.memoizedState!==null?w._visibility&Ur?Ca(e,t,u,f,v):Mc(e,t):(w._visibility|=Ur,Ca(e,t,u,f,v)),v&&g&2048&&_m(t.alternate,t);break;case 24:Ca(e,t,u,f,v),v&&g&2048&&Fm(t.alternate,t);break;default:Ca(e,t,u,f,v)}}function Mc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var u=e,f=t,v=f.flags;switch(f.tag){case 22:Mc(u,f),v&2048&&_m(f.alternate,f);break;case 24:Mc(u,f),v&2048&&Fm(f.alternate,f);break;default:Mc(u,f)}t=t.sibling}}function Ss(e){if(e.subtreeFlags&Qy)for(e=e.child;e!==null;)Zr(e),e=e.sibling}function Zr(e){switch(e.tag){case 26:Ss(e),e.flags&Qy&&e.memoizedState!==null&&by(df,e.memoizedState,e.memoizedProps);break;case 5:Ss(e);break;case 3:case 4:var t=df;df=Jf(e.stateNode.containerInfo),Ss(e),df=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Qy,Qy=16777216,Ss(e),Qy=t):Ss(e));break;default:Ss(e)}}function Bu(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Gf(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var u=0;u<t.length;u++){var f=t[u];Yi=f,Um(f,e)}Bu(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)$f(e),e=e.sibling}function $f(e){switch(e.tag){case 0:case 11:case 15:Gf(e),e.flags&2048&&nh(e,e.return,bi|Ws);break;case 3:var t=gu();Gf(e),e.stateNode.passiveEffectDuration+=Jl(t);break;case 12:t=gu(),Gf(e),e.stateNode.passiveEffectDuration+=pc(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&Ur&&(e.return===null||e.return.tag!==13)?(t._visibility&=-5,Co(e)):Gf(e);break;default:Gf(e)}}function Co(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var u=0;u<t.length;u++){var f=t[u];Yi=f,Um(f,e)}Bu(e)}for(e=e.child;e!==null;)Cs(e),e=e.sibling}function Cs(e){switch(e.tag){case 0:case 11:case 15:nh(e,e.return,bi),Co(e);break;case 22:var t=e.stateNode;t._visibility&Ur&&(t._visibility&=-5,Co(e));break;default:Co(e)}}function Um(e,t){for(;Yi!==null;){var u=Yi,f=u;switch(f.tag){case 0:case 11:case 15:nh(f,t,bi);break;case 23:case 22:f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(f=f.memoizedState.cachePool.pool,f!=null&&fn(f));break;case 24:Ea(f.memoizedState.cache)}if(f=u.child,f!==null)f.return=u,Yi=f;else e:for(u=e;Yi!==null;){f=Yi;var v=f.sibling,g=f.return;if(Bm(f),f===u){Yi=null;break e}if(v!==null){v.return=g,Yi=v;break e}Yi=g}}}function Ap(e,t,u,f){this.tag=e,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,_A||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ih(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tl(e,t){var u=e.alternate;switch(u===null?(u=E(e.tag,t,e.key,e.mode),u.elementType=e.elementType,u.type=e.type,u.stateNode=e.stateNode,u._debugOwner=e._debugOwner,u._debugHookTypes=e._debugHookTypes,u.alternate=e,e.alternate=u):(u.pendingProps=t,u.type=e.type,u.flags=0,u.subtreeFlags=0,u.deletions=null,u.actualDuration=-0,u.actualStartTime=-1.1),u.flags=e.flags&31457280,u.childLanes=e.childLanes,u.lanes=e.lanes,u.child=e.child,u.memoizedProps=e.memoizedProps,u.memoizedState=e.memoizedState,u.updateQueue=e.updateQueue,t=e.dependencies,u.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},u.sibling=e.sibling,u.index=e.index,u.ref=e.ref,u.refCleanup=e.refCleanup,u.selfBaseDuration=e.selfBaseDuration,u.treeBaseDuration=e.treeBaseDuration,u._debugInfo=e._debugInfo,u._debugNeedsRemount=e._debugNeedsRemount,u.tag){case 0:case 15:u.type=Kl(e.type);break;case 1:u.type=Kl(e.type);break;case 11:u.type=up(e.type)}return u}function Ao(e,t){e.flags&=31457282;var u=e.alternate;return u===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=u.childLanes,e.lanes=u.lanes,e.child=u.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=u.memoizedProps,e.memoizedState=u.memoizedState,e.updateQueue=u.updateQueue,e.type=u.type,t=u.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=u.selfBaseDuration,e.treeBaseDuration=u.treeBaseDuration),e}function As(e,t,u,f,v,g){var w=0,k=e;if(typeof e=="function")ih(e)&&(w=1),k=Kl(k);else if(typeof e=="string")w=Q(),w=o0(e,u,w)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Yl:return kl(u.children,v,g,t);case rv:w=8,v|=Hu,v|=sf;break;case iv:return e=u,f=v,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=E(12,e,t,f|cu),t.elementType=iv,t.lanes=g,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case uv:return t=E(13,u,t,v),t.elementType=uv,t.lanes=g,t;case Ch:return t=E(19,u,t,v),t.elementType=Ch,t.lanes=g,t;case tf:return uh(u,v,g,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _n:case iu:w=10;break e;case Sh:w=9;break e;case ef:w=11,k=up(k);break e;case _s:w=14;break e;case ei:w=16,k=null;break e}k="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(k+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?u="null":lr(e)?u="array":e!==void 0&&e.$$typeof===ql?(u="<"+(B(e.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,(w=f?_(f):null)&&(k+=`
882
+
883
+ Check the render method of \``+w+"`."),w=29,u=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(u+"."+k)),k=null}return t=E(w,u,t,v),t.elementType=e,t.type=k,t.lanes=g,t._debugOwner=f,t}function Xf(e,t,u){return t=As(e.type,e.key,e.props,e._owner,t,u),t._debugOwner=e._owner,t}function kl(e,t,u,f){return e=E(7,e,f,t),e.lanes=u,e}function uh(e,t,u,f){e=E(22,e,f,t),e.elementType=tf,e.lanes=u;var v={_visibility:Hi,_pendingVisibility:Hi,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var g=v,w=g._current;if(w===null)throw Error("Calling Offscreen.detach before instance handle has been set.");if(!(g._pendingVisibility&zr)){var k=Sa(w,2);k!==null&&(g._pendingVisibility|=zr,sa(k,w,2))}},attach:function(){var g=v,w=g._current;if(w===null)throw Error("Calling Offscreen.detach before instance handle has been set.");if(g._pendingVisibility&zr){var k=Sa(w,2);k!==null&&(g._pendingVisibility&=-3,sa(k,w,2))}}};return e.stateNode=v,e}function _c(e,t,u){return e=E(6,e,null,t),e.lanes=u,e}function Pf(e,t,u){return t=E(4,e.children!==null?e.children:[],e.key,t),t.lanes=u,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tu(e){e.flags|=4}function Nu(e,t){if(t.type!=="stylesheet"||(t.state.loading&Ks)!==wg)e.flags&=-16777217;else if(e.flags|=16777216,!Km(t)){if(t=Qs.current,t!==null&&((Yn&4194176)===Yn?vd!==null:(Yn&62914560)!==Yn&&!(Yn&536870912)||t!==vd))throw qy=dE,HC;e.flags|=8192}}function wo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?de():536870912,e.lanes|=t,yg|=t)}function lh(e,t){if(!Wn)switch(e.tailMode){case"hidden":t=e.tail;for(var u=null;t!==null;)t.alternate!==null&&(u=t),t=t.sibling;u===null?e.tail=null:u.sibling=null;break;case"collapsed":u=e.tail;for(var f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:f.sibling=null}}function ma(e){var t=e.alternate!==null&&e.alternate.child===e.child,u=0,f=0;if(t)if((e.mode&cu)!==Pa){for(var v=e.selfBaseDuration,g=e.child;g!==null;)u|=g.lanes|g.childLanes,f|=g.subtreeFlags&31457280,f|=g.flags&31457280,v+=g.treeBaseDuration,g=g.sibling;e.treeBaseDuration=v}else for(v=e.child;v!==null;)u|=v.lanes|v.childLanes,f|=v.subtreeFlags&31457280,f|=v.flags&31457280,v.return=e,v=v.sibling;else if((e.mode&cu)!==Pa){v=e.actualDuration,g=e.selfBaseDuration;for(var w=e.child;w!==null;)u|=w.lanes|w.childLanes,f|=w.subtreeFlags,f|=w.flags,v+=w.actualDuration,g+=w.treeBaseDuration,w=w.sibling;e.actualDuration=v,e.treeBaseDuration=g}else for(v=e.child;v!==null;)u|=v.lanes|v.childLanes,f|=v.subtreeFlags,f|=v.flags,v.return=e,v=v.sibling;return e.subtreeFlags|=f,e.childLanes=u,t}function Qf(e,t,u){var f=t.pendingProps;switch(si(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ma(t),null;case 1:return ma(t),null;case 3:return f=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),Ou(Di,t),We(t),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(e===null||e.child===null)&&(Bf(t)?(eo(),tu(t)):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ff!==null&&(Ml(ff),ff=null))),ma(t),null;case 26:return u=t.memoizedState,e===null?(tu(t),u!==null?(ma(t),Nu(t,u)):(ma(t),t.flags&=-16777217)):u?u!==e.memoizedState?(tu(t),ma(t),Nu(t,u)):(ma(t),t.flags&=-16777217):(e.memoizedProps!==f&&tu(t),ma(t),t.flags&=-16777217),null;case 27:Ce(t),u=Te(Cr.current);var v=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==f&&tu(t);else{if(!f){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ma(t),null}e=Q(),Bf(t)?Ig(t):(e=Kf(v,f,u,e,!0),t.stateNode=e,tu(t))}return ma(t),null;case 5:if(Ce(t),u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==f&&tu(t);else{if(!f){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ma(t),null}if(v=Q(),Bf(t))Ig(t);else{switch(e=Te(Cr.current),Af(u,v.ancestorInfo),v=v.context,e=Zm(e),v){case G0:e=e.createElementNS(wr,u);break;case Ob:e=e.createElementNS(qs,u);break;default:switch(u){case"svg":e=e.createElementNS(wr,u);break;case"math":e=e.createElementNS(qs,u);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof f.is=="string"?e.createElement("select",{is:f.is}):e.createElement("select"),f.multiple?e.multiple=!0:f.size&&(e.size=f.size);break;default:e=typeof f.is=="string"?e.createElement(u,{is:f.is}):e.createElement(u),u.indexOf("-")===-1&&(u!==u.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",u),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||sl.call(QA,u)||(QA[u]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",u)))}}e[Fr]=t,e[ji]=f;e:for(v=t.child;v!==null;){if(v.tag===5||v.tag===6)e.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===t)break e;for(;v.sibling===null;){if(v.return===null||v.return===t)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}t.stateNode=e;e:switch(_a(e,u,f),u){case"button":case"input":case"select":case"textarea":e=!!f.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&tu(t)}}return ma(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==f&&tu(t);else{if(typeof f!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Te(Cr.current),u=Q(),Bf(t)){e=t.stateNode,f=t.memoizedProps,v=!Uh,u=null;var g=fl;if(g!==null)switch(g.tag){case 3:v&&(v=ph(e,f,u),v!==null&&(bu(t,0).serverProps=v));break;case 27:case 5:u=g.memoizedProps,v&&(v=ph(e,f,u),v!==null&&(bu(t,0).serverProps=v))}e[Fr]=t,e=!!(e.nodeValue===f||u!==null&&u.suppressHydrationWarning===!0||Xm(e.nodeValue,f)),e||Du(t)}else u=u.ancestorInfo.current,u!=null&&fc(f,u.tag),e=Zm(e).createTextNode(f),e[Fr]=t,t.stateNode=e}return ma(t),null;case 13:if(f=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(v=Bf(t),f!==null&&f.dehydrated!==null){if(e===null){if(!v)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(v=t.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");v[Fr]=t,ma(t),(t.mode&cu)!==Pa&&f!==null&&(v=t.child,v!==null&&(t.treeBaseDuration-=v.treeBaseDuration))}else eo(),Nf(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4,ma(t),(t.mode&cu)!==Pa&&f!==null&&(v=t.child,v!==null&&(t.treeBaseDuration-=v.treeBaseDuration));v=!1}else ff!==null&&(Ml(ff),ff=null),v=!0;if(!v)return t.flags&256?(Be(t),t):(Be(t),null)}return Be(t),t.flags&128?(t.lanes=u,(t.mode&cu)!==Pa&&Ud(t),t):(f=f!==null,e=e!==null&&e.memoizedState!==null,f&&(u=t.child,v=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(v=u.alternate.memoizedState.cachePool.pool),g=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(g=u.memoizedState.cachePool.pool),g!==v&&(u.flags|=2048)),f!==e&&f&&(t.child.flags|=8192),wo(t,t.updateQueue),ma(t),(t.mode&cu)!==Pa&&f&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return We(t),e===null&&Gm(t.stateNode.containerInfo),ma(t),null;case 10:return Ou(t.type,t),ma(t),null;case 19:if(Se(yi,t),v=t.memoizedState,v===null)return ma(t),null;if(f=(t.flags&128)!==0,g=v.rendering,g===null)if(f)lh(v,!1);else{if(Tr!==qh||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(g=wt(e),g!==null){for(t.flags|=128,lh(v,!1),e=g.updateQueue,t.updateQueue=e,wo(t,e),t.subtreeFlags=0,e=u,f=t.child;f!==null;)Ao(f,e),f=f.sibling;return Xe(yi,yi.current&R0|Gy,t),t.child}e=e.sibling}v.tail!==null&&uu()>vb&&(t.flags|=128,f=!0,lh(v,!1),t.lanes=4194304)}else{if(!f)if(e=wt(g),e!==null){if(t.flags|=128,f=!0,e=e.updateQueue,t.updateQueue=e,wo(t,e),lh(v,!0),v.tail===null&&v.tailMode==="hidden"&&!g.alternate&&!Wn)return ma(t),null}else 2*uu()-v.renderingStartTime>vb&&u!==536870912&&(t.flags|=128,f=!0,lh(v,!1),t.lanes=4194304);v.isBackwards?(g.sibling=t.child,t.child=g):(e=v.last,e!==null?e.sibling=g:t.child=g,v.last=g)}return v.tail!==null?(e=v.tail,v.rendering=e,v.tail=e.sibling,v.renderingStartTime=uu(),e.sibling=null,u=yi.current,u=f?u&R0|Gy:u&R0,Xe(yi,u,t),e):(ma(t),null);case 22:case 23:return Be(t),dp(t),f=t.memoizedState!==null,e!==null?e.memoizedState!==null!==f&&(t.flags|=8192):f&&(t.flags|=8192),f?u&536870912&&!(t.flags&128)&&(ma(t),t.subtreeFlags&6&&(t.flags|=8192)):ma(t),f=t.updateQueue,f!==null&&wo(t,f.retryQueue),f=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(f=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==f&&(t.flags|=2048),e!==null&&Se(dg,t),null;case 24:return f=null,e!==null&&(f=e.memoizedState.cache),t.memoizedState.cache!==f&&(t.flags|=2048),Ou(Di,t),ma(t),null;case 25:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ws(e,t){switch(si(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cu)!==Pa&&Ud(t),t):null;case 3:return Ou(Di,t),We(t),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ce(t),null;case 13:if(Be(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Nf()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cu)!==Pa&&Ud(t),t):null;case 19:return Se(yi,t),null;case 4:return We(t),null;case 10:return Ou(t.type,t),null;case 22:case 23:return Be(t),dp(t),e!==null&&Se(dg,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&cu)!==Pa&&Ud(t),t):null;case 24:return Ou(Di,t),null;case 25:return null;default:return null}}function ku(e,t){switch(si(t),t.tag){case 3:Ou(Di,t),We(t);break;case 26:case 27:case 5:Ce(t);break;case 4:We(t);break;case 13:Be(t);break;case 19:Se(yi,t);break;case 10:Ou(t.type,t);break;case 22:case 23:Be(t),dp(t),e!==null&&Se(dg,t);break;case 24:Ou(Di,t)}}function xs(){RR.forEach(function(e){return e()})}function nl(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||_e.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Ma(e){if((Wa&ml)!==jo&&Yn!==0)return Yn&-Yn;var t=_e.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=fg,e!==0?e:jc()):mt()}function oh(){Ho===0&&(Ho=!(Yn&536870912)||Wn?Ln():536870912);var e=Qs.current;return e!==null&&(e.flags|=32),Ho}function sa(e,t,u){if(q0&&console.error("useInsertionEffect must not schedule updates."),jE&&(gb=!0),(e===Fa&&za===gg||e.cancelPendingCommit!==null)&&(_l(e,0),Dr(e,Yn,Ho,!1)),De(e,u),Wa&ml&&e===Fa){if(zi)switch(t.tag){case 0:case 11:case 15:e=Fn&&V(Fn)||"Unknown",qA.has(e)||(qA.add(e),t=V(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:VA||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),VA=!0)}}else ti&&In(e,t,u),Fl(t),e===Fa&&((Wa&ml)===jo&&(Tv|=u),Tr===pg&&Dr(e,Yn,Ho,!1)),Fu(e)}function sh(e,t,u){if((Wa&(ml|Vh))!==jo)throw Error("Should not already be working.");var f=!u&&(t&60)===0&&(t&e.expiredLanes)===0||Un(e,t),v=f?ch(e,t):zc(e,t,!0),g=f;do{if(v===qh){V0&&!f&&Dr(e,t,0,!1);break}else if(v===hb)Dr(e,t,0,!Yh);else{if(u=e.current.alternate,g&&!jm(u)){v=zc(e,t,!1),g=!1;continue}if(v===L0){if(g=t,e.errorRecoveryDisabledLanes&g)var w=0;else w=e.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){t=w;e:{v=e;var k=w;w=e1;var G=v.current.memoizedState.isDehydrated;if(G&&(_l(v,k).flags|=256),k=zc(v,k,!1),k!==L0){if(kE&&!G){v.errorRecoveryDisabledLanes|=g,Tv|=g,v=pg;break e}v=hf,hf=w,v!==null&&Ml(v)}v=k}if(g=!1,v!==L0)continue}}if(v===Wy){_l(e,0),Dr(e,t,0,!0);break}e:{switch(f=e,v){case qh:case Wy:throw Error("Root did not complete. This is a bug in React.");case pg:if((t&4194176)===t){Dr(f,t,Ho,!Yh);break e}break;case L0:hf=null;break;case RE:case zA:break;default:throw Error("Unknown root exit status.")}if(f.finishedWork=u,f.finishedLanes=t,_e.actQueue!==null)Wr(f,hf,t1,mb,Ho,Tv,yg,HA,sE,0);else{if((t&62914560)===t&&(v=_E+jA-uu(),10<v)){if(Dr(f,t,Ho,!Yh),rn(f,0)!==0)break e;f.timeoutHandle=ZA(kr.bind(null,f,u,hf,t1,mb,t,Ho,Tv,yg,Yh,_R,sE,0),v);break e}kr(f,u,hf,t1,mb,t,Ho,Tv,yg,Yh,HA,sE,0)}}}break}while(!0);Fu(e)}function Ml(e){hf===null?hf=e:hf.push.apply(hf,e)}function kr(e,t,u,f,v,g,w,k,G,P,Oe,Qe,Re){var nt=t.subtreeFlags;if((nt&8192||(nt&16785408)===16785408)&&(l1={stylesheets:null,count:0,unsuspend:jp},Zr(t),t=Dy(),t!==null)){e.cancelPendingCommit=t(Wr.bind(null,e,u,f,v,w,k,G,MR,Qe,Re)),Dr(e,g,w,!P);return}Wr(e,u,f,v,w,k,G,Oe,Qe,Re)}function jm(e){for(var t=e;;){var u=t.tag;if((u===0||u===11||u===15)&&t.flags&16384&&(u=t.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var f=0;f<u.length;f++){var v=u[f],g=v.getSnapshot;v=v.value;try{if(!h(g(),v))return!1}catch{return!1}}if(u=t.child,t.subtreeFlags&16384&&u!==null)u.return=t,t=u;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Dr(e,t,u,f){t&=~ME,t&=~Tv,e.suspendedLanes|=t,e.pingedLanes&=~t,f&&(e.warmLanes|=t),f=e.expirationTimes;for(var v=t;0<v;){var g=31-ni(v),w=1<<g;f[g]=-1,v&=~w}u!==0&&Tt(e,u,t)}function gi(){return(Wa&(ml|Vh))===jo?(Wf(0),!1):!0}function Fc(){if(Fn!==null){if(za===Pl)var e=Fn.return;else e=Fn,Wd(),Qi(e),T0=null,Yy=0,e=Fn;for(;e!==null;)ku(e.alternate,e),e=e.return;Fn=null}}function _l(e,t){e.finishedWork=null,e.finishedLanes=0;var u=e.timeoutHandle;u!==ZE&&(e.timeoutHandle=ZE,VR(u)),u=e.cancelPendingCommit,u!==null&&(e.cancelPendingCommit=null,u()),Fc(),Fa=e,Fn=u=tl(e.current,null),Yn=t,za=Pl,Lo=null,Yh=!1,V0=Un(e,t),kE=!1,Tr=qh,yg=Ho=ME=Tv=xv=0,hf=e1=null,mb=!1,t&8&&(t|=t&32);var f=e.entangledLanes;if(f!==0)for(e=e.entanglements,f&=t;0<f;){var v=31-ni(f),g=1<<v;t|=e[v],f&=~g}return gd=t,vc(),cf.discardPendingWarnings(),u}function Mu(e,t){mn=null,_e.H=pd,_e.getCurrentStack=null,zi=!1,Na=null,t===ub?(t=to(),za=Ky):t===HC?(t=to(),za=UA):za=t===bA?NE:t!==null&&typeof t=="object"&&typeof t.then=="function"?H0:Iy,Lo=t;var u=Fn;if(u===null)Tr=Wy,dn(e,Gr(t,e.current));else switch(u.mode&cu&&dm(u),I(),za){case Iy:Et!==null&&typeof Et.markComponentErrored=="function"&&Et.markComponentErrored(u,t,Yn);break;case gg:case Ky:case H0:case Jy:Et!==null&&typeof Et.markComponentSuspended=="function"&&Et.markComponentSuspended(u,t,Yn)}}function Bi(){var e=_e.H;return _e.H=pd,e===null?pd:e}function qt(){var e=_e.A;return _e.A=OR,e}function Ts(){Tr=pg,Yh||(Yn&4194176)!==Yn&&Qs.current!==null||(V0=!0),!(xv&134217727)&&!(Tv&134217727)||Fa===null||Dr(Fa,Yn,Ho,!1)}function zc(e,t,u){var f=Wa;Wa|=ml;var v=Bi(),g=qt();if(Fa!==e||Yn!==t){if(ti){var w=e.memoizedUpdaters;0<w.size&&(wa(e,Yn),w.clear()),It(e,t)}t1=null,_l(e,t)}rt(t),t=!1,w=Tr;e:do try{if(za!==Pl&&Fn!==null){var k=Fn,G=Lo;switch(za){case NE:Fc(),w=hb;break e;case Ky:case gg:case H0:Qs.current===null&&(t=!0);var P=za;if(za=Pl,Lo=null,Uc(e,k,G,P),u&&V0){w=qh;break e}break;default:P=za,za=Pl,Lo=null,Uc(e,k,G,P)}}_u(),w=Tr;break}catch(Oe){Mu(e,Oe)}while(!0);return t&&e.shellSuspendCounter++,Wd(),Wa=f,_e.H=v,_e.A=g,ct(),Fn===null&&(Fa=null,Yn=0,vc()),w}function _u(){for(;Fn!==null;)Hm(Fn)}function ch(e,t){var u=Wa;Wa|=ml;var f=Bi(),v=qt();if(Fa!==e||Yn!==t){if(ti){var g=e.memoizedUpdaters;0<g.size&&(wa(e,Yn),g.clear()),It(e,t)}t1=null,vb=uu()+LA,_l(e,t)}else V0=Un(e,t);rt(t);e:do try{if(za!==Pl&&Fn!==null)t:switch(t=Fn,g=Lo,za){case Iy:za=Pl,Lo=null,Uc(e,t,g,Iy);break;case gg:if(op(g)){za=Pl,Lo=null,Za(t);break}t=function(){za===gg&&Fa===e&&(za=Jy),Fu(e)},g.then(t,t);break e;case Ky:za=Jy;break e;case UA:za=BE;break e;case Jy:op(g)?(za=Pl,Lo=null,Za(t)):(za=Pl,Lo=null,Uc(e,t,g,Jy));break;case BE:var w=null;switch(Fn.tag){case 26:w=Fn.memoizedState;case 5:case 27:var k=Fn;if(!w||Km(w)){za=Pl,Lo=null;var G=k.sibling;if(G!==null)Fn=G;else{var P=k.return;P!==null?(Fn=P,Zf(P)):Fn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}za=Pl,Lo=null,Uc(e,t,g,BE);break;case H0:za=Pl,Lo=null,Uc(e,t,g,H0);break;case NE:Fc(),Tr=hb;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}_e.actQueue!==null?_u():Lm();break}catch(Oe){Mu(e,Oe)}while(!0);return Wd(),_e.H=f,_e.A=v,Wa=u,Fn!==null?(Et!==null&&typeof Et.markRenderYielded=="function"&&Et.markRenderYielded(),qh):(ct(),Fa=null,Yn=0,vc(),Tr)}function Lm(){for(;Fn!==null&&!dv();)Hm(Fn)}function Hm(e){var t=e.alternate;(e.mode&cu)!==Pa?(ns(e),t=le(e,Am,t,e,gd),dm(e)):t=le(e,Am,t,e,gd),e.memoizedProps=e.pendingProps,t===null?Zf(e):Fn=t}function Za(e){var t=le(e,Os,e);e.memoizedProps=e.pendingProps,t===null?Zf(e):Fn=t}function Os(e){var t=e.alternate,u=(e.mode&cu)!==Pa;switch(u&&ns(e),e.tag){case 15:case 0:t=Tc(t,e,e.pendingProps,e.type,void 0,Yn);break;case 11:t=Tc(t,e,e.pendingProps,e.type.render,e.ref,Yn);break;case 5:Qi(e);default:ku(t,e),e=Fn=Ao(e,gd),t=Am(t,e,gd)}return u&&dm(e),t}function Uc(e,t,u,f){Wd(),Qi(t),T0=null,Yy=0;var v=t.return;try{if(fs(e,v,t,u,Yn)){Tr=Wy,dn(e,Gr(u,e.current)),Fn=null;return}}catch(g){if(v!==null)throw Fn=v,g;Tr=Wy,dn(e,Gr(u,e.current)),Fn=null;return}t.flags&32768?(Wn||f===Iy?e=!0:V0||Yn&536870912?e=!1:(Yh=e=!0,(f===gg||f===Ky||f===H0)&&(f=Qs.current,f!==null&&f.tag===13&&(f.flags|=16384))),Rs(t,e)):Zf(t)}function Zf(e){var t=e;do{if(t.flags&32768){Rs(t,Yh);return}var u=t.alternate;if(e=t.return,ns(t),u=le(t,Qf,u,t,gd),(t.mode&cu)!==Pa&&zd(t),u!==null){Fn=u;return}if(t=t.sibling,t!==null){Fn=t;return}Fn=t=e}while(t!==null);Tr===qh&&(Tr=zA)}function Rs(e,t){do{var u=ws(e.alternate,e);if(u!==null){u.flags&=32767,Fn=u;return}if((e.mode&cu)!==Pa){zd(e),u=e.actualDuration;for(var f=e.child;f!==null;)u+=f.actualDuration,f=f.sibling;e.actualDuration=u}if(u=e.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!t&&(e=e.sibling,e!==null)){Fn=e;return}Fn=e=u}while(e!==null);Tr=hb,Fn=null}function Wr(e,t,u,f,v,g,w,k,G,P){var Oe=_e.T,Qe=tn.p;try{tn.p=su,_e.T=null,n0(e,t,u,f,Qe,v,g,w,k,G,P)}finally{_e.T=Oe,tn.p=Qe}}function n0(e,t,u,f,v,g,w,k){do Mr();while(bg!==null);if(cf.flushLegacyContextWarning(),cf.flushPendingUnsafeLifecycleWarnings(),(Wa&(ml|Vh))!==jo)throw Error("Should not already be working.");var G=e.finishedWork;if(f=e.finishedLanes,Et!==null&&typeof Et.markCommitStarted=="function"&&Et.markCommitStarted(f),G===null)return Zt(),null;if(f===0&&console.error("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=0,G===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var P=G.lanes|G.childLanes;if(P|=zo,ut(e,f,P,g,w,k),e===Fa&&(Fn=Fa=null,Yn=0),!(G.subtreeFlags&10256)&&!(G.flags&10256)||pb||(pb=!0,FE=P,zE=u,nu(ud,function(){return Mr(),null})),eb=A0(),u=(G.flags&15990)!==0,G.subtreeFlags&15990||u?(u=_e.T,_e.T=null,g=tn.p,tn.p=su,w=Wa,Wa|=Vh,Yf(e,G),Nm(e,G,f),gy(PE,e.containerInfo),kb=!!XE,PE=XE=null,e.current=G,Et!==null&&typeof Et.markLayoutEffectsStarted=="function"&&Et.markLayoutEffectsStarted(f),So(G,e,f),Et!==null&&typeof Et.markLayoutEffectsStopped=="function"&&Et.markLayoutEffectsStopped(),Gl(),Wa=w,tn.p=g,_e.T=u):e.current=G,(u=pb)?(pb=!1,bg=e,n1=f):(wp(e,P),Dg=0,r1=null),P=e.pendingLanes,P===0&&(Ov=null),u||Tp(e),sn(G.stateNode,v),ti&&e.memoizedUpdaters.clear(),xs(),Fu(e),t!==null)for(v=e.onRecoverableError,G=0;G<t.length;G++)P=t[G],u=a0(P.stack),le(P.source,v,P.value,u);return n1&3&&Mr(),P=e.pendingLanes,f&4194218&&P&42?(nb=!0,e===UE?a1++:(a1=0,UE=e)):a1=0,Wf(0),Zt(),null}function a0(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function wp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ea(t)))}function Mr(){if(bg!==null){var e=bg,t=FE;FE=0;var u=ft(n1),f=cl>u?cl:u;u=_e.T;var v=tn.p;try{if(tn.p=f,_e.T=null,bg===null)var g=!1;else{f=zE,zE=null;var w=bg,k=n1;if(bg=null,n1=0,(Wa&(ml|Vh))!==jo)throw Error("Cannot flush passive effects while already rendering.");jE=!0,gb=!1,Et!==null&&typeof Et.markPassiveEffectsStarted=="function"&&Et.markPassiveEffectsStarted(k);var G=Wa;if(Wa|=Vh,$f(w.current),zm(w,w.current,k,f),Et!==null&&typeof Et.markPassiveEffectsStopped=="function"&&Et.markPassiveEffectsStopped(),Tp(w),Wa=G,Wf(0,!1),gb?w===r1?Dg++:(Dg=0,r1=w):Dg=0,gb=jE=!1,Yt&&typeof Yt.onPostCommitFiberRoot=="function")try{Yt.onPostCommitFiberRoot(Ui,w)}catch(Oe){pa||(pa=!0,console.error("React instrumentation encountered an error: %s",Oe))}var P=w.current.stateNode;P.effectDuration=0,P.passiveEffectDuration=0,g=!0}return g}finally{tn.p=v,_e.T=u,wp(e,t)}}return!1}function Er(e,t,u){t=Gr(u,t),t=ha(e.stateNode,t,2),e=Eo(e,t,2),e!==null&&(De(e,2),Fu(e))}function Xn(e,t,u){if(q0=!1,e.tag===3)Er(e,e,u);else{for(;t!==null;){if(t.tag===3){Er(t,e,u);return}if(t.tag===1){var f=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Ov===null||!Ov.has(f))){e=Gr(u,e),u=mo(2),f=Eo(t,u,2),f!==null&&(cs(u,f,t,e),De(f,2),Fu(f));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
884
+
885
+ Error message:
886
+
887
+ %s`,u)}}function al(e,t,u){var f=e.pingCache;if(f===null){f=e.pingCache=new BR;var v=new Set;f.set(t,v)}else v=f.get(t),v===void 0&&(v=new Set,f.set(t,v));v.has(u)||(kE=!0,v.add(u),f=Aa.bind(null,e,t,u),ti&&wa(e,u),t.then(f,f))}function Aa(e,t,u){var f=e.pingCache;f!==null&&f.delete(t),e.pingedLanes|=e.suspendedLanes&u,e.warmLanes&=~u,nl()&&_e.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
888
+
889
+ When testing, code that resolves suspended data should be wrapped into act(...):
890
+
891
+ act(() => {
892
+ /* finish loading suspended data */
893
+ });
894
+ /* assert on the output */
895
+
896
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Fa===e&&(Yn&u)===u&&(Tr===pg||Tr===RE&&(Yn&62914560)===Yn&&uu()-_E<jA?(Wa&ml)===jo&&_l(e,0):ME|=u,yg===Yn&&(yg=0)),Fu(e)}function Vm(e,t){t===0&&(t=de()),e=Sa(e,t),e!==null&&(De(e,t),Fu(e))}function r0(e){var t=e.memoizedState,u=0;t!==null&&(u=t.retryLane),Vm(e,u)}function $a(e,t){var u=0;switch(e.tag){case 13:var f=e.stateNode,v=e.memoizedState;v!==null&&(u=v.retryLane);break;case 19:f=e.stateNode;break;case 22:f=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}f!==null&&f.delete(t),Vm(e,u)}function fh(e,t,u){if(t.subtreeFlags&33562624)for(t=t.child;t!==null;){var f=e,v=t,g=v.type===rv;g=u||g,v.tag!==22?v.flags&33554432?g&&le(v,xp,f,v,(v.mode&jC)===Pa):fh(f,v,g):v.memoizedState===null&&(g&&v.flags&8192?le(v,xp,f,v):v.subtreeFlags&33554432&&le(v,fh,f,v,g)),t=t.sibling}}function xp(e,t){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;xt(!0);try{Bl(t),u&&Cs(t),Mm(e,t.alternate,t,!1),u&&br(e,t,0,null,!1)}finally{xt(!1)}}function Tp(e){var t=!0;e.current.mode&(Hu|sf)||(t=!1),fh(e,e.current,t)}function Op(e){if((Wa&ml)===jo){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=V(e)||"ReactComponent",yb!==null){if(yb.has(t))return;yb.add(t)}else yb=new Set([t]);le(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function wa(e,t){ti&&e.memoizedUpdaters.forEach(function(u){In(e,u,t)})}function nu(e,t){var u=_e.actQueue;return u!==null?(u.push(t),FR):Ar(e,t)}function Fl(e){nl()&&_e.actQueue===null&&le(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
897
+
898
+ When testing, code that causes React state updates should be wrapped into act(...):
899
+
900
+ act(() => {
901
+ /* fire events that update state */
902
+ });
903
+ /* assert on the output */
904
+
905
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,V(e))})}function Fu(e){e!==Y0&&e.next===null&&(Y0===null?bb=Y0=e:Y0=Y0.next=e),Db=!0,_e.actQueue!==null?HE||(HE=!0,ki(qm)):LE||(LE=!0,ki(qm))}function Wf(e,t){if(!VE&&Db){VE=!0;do for(var u=!1,f=bb;f!==null;){if(e!==0){var v=f.pendingLanes;if(v===0)var g=0;else{var w=f.suspendedLanes,k=f.pingedLanes;g=(1<<31-ni(42|e)+1)-1,g&=v&~(w&~k),g=g&201326677?g&201326677|1:g?g|2:0}g!==0&&(u=!0,Ni(f,g))}else g=Yn,g=rn(f,f===Fa?g:0),!(g&3)||Un(f,g)||(u=!0,Ni(f,g));f=f.next}while(u);VE=!1}}function qm(){Db=HE=LE=!1;var e=0;Eg!==0&&(On()&&(e=Eg),Eg=0);for(var t=uu(),u=null,f=bb;f!==null;){var v=f.next,g=dh(f,t);g===0?(f.next=null,u===null?bb=v:u.next=v,v===null&&(Y0=u)):(u=f,(e!==0||g&3)&&(Db=!0)),f=v}Wf(e)}function dh(e,t){for(var u=e.suspendedLanes,f=e.pingedLanes,v=e.expirationTimes,g=e.pendingLanes&-62914561;0<g;){var w=31-ni(g),k=1<<w,G=v[w];G===-1?(!(k&u)||k&f)&&(v[w]=jn(k,t)):G<=t&&(e.expiredLanes|=k),g&=~k}if(t=Fa,u=Yn,u=rn(e,e===t?u:0),f=e.callbackNode,u===0||e===t&&za===gg||e.cancelPendingCommit!==null)return f!==null&&hh(f),e.callbackNode=null,e.callbackPriority=0;if(!(u&3)||Un(e,u)){if(t=u&-u,t!==e.callbackPriority||_e.actQueue!==null&&f!==qE)hh(f);else return t;switch(ft(u)){case su:case Lu:u=hv;break;case cl:u=ud;break;case af:u=Ip;break;default:u=ud}return f=_r.bind(null,e),_e.actQueue!==null?(_e.actQueue.push(f),u=qE):u=Ar(u,f),e.callbackPriority=t,e.callbackNode=u,t}return f!==null&&hh(f),e.callbackPriority=2,e.callbackNode=null,2}function _r(e,t){nb=tb=!1;var u=e.callbackNode;if(Mr()&&e.callbackNode!==u)return null;var f=Yn;return f=rn(e,e===Fa?f:0),f===0?null:(sh(e,f,t),dh(e,uu()),e.callbackNode!=null&&e.callbackNode===u?_r.bind(null,e):null)}function Ni(e,t){if(Mr())return null;tb=nb,nb=!1,sh(e,t,!0)}function hh(e){e!==qE&&e!==null&&fv(e)}function ki(e){_e.actQueue!==null&&_e.actQueue.push(function(){return e(),null}),qR(function(){(Wa&(ml|Vh))!==jo?Ar(ou,e):e()})}function jc(){return Eg===0&&(Eg=Ln()),Eg}function rl(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Me(e,"action"),Dl(""+e))}function Ir(e,t){var u=t.ownerDocument.createElement("input");return u.name=t.name,u.value=t.value,e.id&&u.setAttribute("form",e.id),t.parentNode.insertBefore(u,t),e=new FormData(e),u.parentNode.removeChild(u),e}function Mi(e,t,u,f,v){if(t==="submit"&&u&&u.stateNode===v){var g=rl((v[ji]||null).action),w=f.submitter;w&&(t=(t=w[ji]||null)?rl(t.formAction):w.getAttribute("formAction"),t!==null&&(g=t,w=null));var k=new ce("action","action",null,f,v);e.push({event:k,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(Eg!==0){var G=w?Ir(v,w):new FormData(v),P={pending:!0,data:G,method:v.method,action:g};Object.freeze(P),Ol(u,P,null,G)}}else typeof g=="function"&&(k.preventDefault(),G=w?Ir(v,w):new FormData(v),P={pending:!0,data:G,method:v.method,action:g},Object.freeze(P),Ol(u,P,g,G))},currentTarget:v}]})}}function Ym(e,t){t=(t&4)!==0;for(var u=0;u<e.length;u++){var f=e[u];e:{var v=void 0,g=f.event;if(f=f.listeners,t)for(var w=f.length-1;0<=w;w--){var k=f[w],G=k.instance,P=k.currentTarget;if(k=k.listener,G!==v&&g.isPropagationStopped())break e;v=g,v.currentTarget=P;try{k(v)}catch(Oe){fb(Oe)}v.currentTarget=null,v=G}else for(w=0;w<f.length;w++){if(k=f[w],G=k.instance,P=k.currentTarget,k=k.listener,G!==v&&g.isPropagationStopped())break e;v=g,v.currentTarget=P;try{k(v)}catch(Oe){fb(Oe)}v.currentTarget=null,v=G}}}}function Sn(e,t){YE.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var u=t[rf];u===void 0&&(u=t[rf]=new Set);var f=e+"__bubble";u.has(f)||(Lc(t,e,2,!1),u.add(f))}function zl(e,t,u){YE.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var f=0;t&&(f|=4),Lc(u,e,f,t)}function Gm(e){if(!e[Eb]){e[Eb]=!0,uf.forEach(function(u){u!=="selectionchange"&&(YE.has(u)||zl(u,!1,e),zl(u,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Eb]||(t[Eb]=!0,zl("selectionchange",!1,t))}}function Lc(e,t,u,f){switch(Ic(t)){case su:var v=f0;break;case Lu:v=Sy;break;default:v=Yp}u=v.bind(null,t,u,e),v=void 0,!Ne||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(v=!0),f?v!==void 0?e.addEventListener(t,u,{capture:!0,passive:v}):e.addEventListener(t,u,!0):v!==void 0?e.addEventListener(t,u,{passive:v}):e.addEventListener(t,u,!1)}function Hc(e,t,u,f,v){var g=f;if(!(t&1)&&!(t&2)&&f!==null)e:for(;;){if(f===null)return;var w=f.tag;if(w===3||w===4){var k=f.stateNode.containerInfo;if(k===v||k.nodeType===8&&k.parentNode===v)break;if(w===4)for(w=f.return;w!==null;){var G=w.tag;if((G===3||G===4)&&(G=w.stateNode.containerInfo,G===v||G.nodeType===8&&G.parentNode===v))return;w=w.return}for(;k!==null;){if(w=Bt(k),w===null)return;if(G=w.tag,G===5||G===6||G===26||G===27){f=g=w;continue e}k=k.parentNode}}f=f.return}am(function(){var P=g,Oe=Wl(u),Qe=[];e:{var Re=Nn.get(e);if(Re!==void 0){var nt=ce,jt=e;switch(e){case"keypress":if(Io(u)===0)break e;case"keydown":case"keyup":nt=ID;break;case"focusin":jt="focus",nt=Ny;break;case"focusout":jt="blur",nt=Ny;break;case"beforeblur":case"afterblur":nt=Ny;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":nt=Qn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":nt=Ys;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":nt=JD;break;case et:case it:case Ct:nt=ky;break;case Kt:nt=tE;break;case"scroll":case"scrollend":nt=tt;break;case"wheel":nt=aE;break;case"copy":case"cut":case"paste":nt=My;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":nt=S0;break;case"toggle":case"beforetoggle":nt=iE}var An=(t&4)!==0,jr=!An&&(e==="scroll"||e==="scrollend"),fa=An?Re!==null?Re+"Capture":null:Re;An=[];for(var ee=P,J;ee!==null;){var se=ee;if(J=se.stateNode,se=se.tag,se!==5&&se!==26&&se!==27||J===null||fa===null||(se=wf(ee,fa),se!=null&&An.push(xo(ee,se,J))),jr)break;ee=ee.return}0<An.length&&(Re=new nt(Re,jt,null,u,Oe),Qe.push({event:Re,listeners:An}))}}if(!(t&7)){e:{if(Re=e==="mouseover"||e==="pointerover",nt=e==="mouseout"||e==="pointerout",Re&&u!==Z&&(jt=u.relatedTarget||u.fromElement)&&(Bt(jt)||jt[js]))break e;if((nt||Re)&&(Re=Oe.window===Oe?Oe:(Re=Oe.ownerDocument)?Re.defaultView||Re.parentWindow:window,nt?(jt=u.relatedTarget||u.toElement,nt=P,jt=jt?Bt(jt):null,jt!==null&&(jr=Ve(jt),An=jt.tag,jt!==jr||An!==5&&An!==27&&An!==6)&&(jt=null)):(nt=null,jt=P),nt!==jt)){if(An=Qn,se="onMouseLeave",fa="onMouseEnter",ee="mouse",(e==="pointerout"||e==="pointerover")&&(An=S0,se="onPointerLeave",fa="onPointerEnter",ee="pointer"),jr=nt==null?Re:gt(nt),J=jt==null?Re:gt(jt),Re=new An(se,ee+"leave",nt,u,Oe),Re.target=jr,Re.relatedTarget=J,se=null,Bt(Oe)===P&&(An=new An(fa,ee+"enter",jt,u,Oe),An.target=J,An.relatedTarget=jr,se=An),jr=se,nt&&jt)t:{for(An=nt,fa=jt,ee=0,J=An;J;J=Vc(J))ee++;for(J=0,se=fa;se;se=Vc(se))J++;for(;0<ee-J;)An=Vc(An),ee--;for(;0<J-ee;)fa=Vc(fa),J--;for(;ee--;){if(An===fa||fa!==null&&An===fa.alternate)break t;An=Vc(An),fa=Vc(fa)}An=null}else An=null;nt!==null&&Rp(Qe,Re,nt,An,!1),jt!==null&&jr!==null&&Rp(Qe,jr,jt,An,!0)}}e:{if(Re=P?gt(P):window,nt=Re.nodeName&&Re.nodeName.toLowerCase(),nt==="select"||nt==="input"&&Re.type==="file")var Pe=lm;else if(Jo(Re))if(c)Pe=pu;else{Pe=Pg;var vt=es}else nt=Re.nodeName,!nt||nt.toLowerCase()!=="input"||Re.type!=="checkbox"&&Re.type!=="radio"?P&&Wo(P.elementType)&&(Pe=lm):Pe=tp;if(Pe&&(Pe=Pe(e,P))){Tf(Qe,Pe,u,Oe);break e}vt&&vt(e,Re,P),e==="focusout"&&P&&Re.type==="number"&&P.memoizedProps.value!=null&&vu(Re,"number",Re.value)}switch(vt=P?gt(P):window,e){case"focusin":(Jo(vt)||vt.contentEditable==="true")&&(T=vt,j=P,X=null);break;case"focusout":X=j=T=null;break;case"mousedown":W=!0;break;case"contextmenu":case"mouseup":case"dragend":W=!1,Xi(Qe,u,Oe);break;case"selectionchange":if(D)break;case"keydown":case"keyup":Xi(Qe,u,Oe)}var gn;if(Fy)e:{switch(e){case"compositionstart":var Ut="onCompositionStart";break e;case"compositionend":Ut="onCompositionEnd";break e;case"compositionupdate":Ut="onCompositionUpdate";break e}Ut=void 0}else bv?ra(e,u)&&(Ut="onCompositionEnd"):e==="keydown"&&u.keyCode===Z1&&(Ut="onCompositionStart");Ut&&(W1&&u.locale!=="ko"&&(bv||Ut!=="onCompositionStart"?Ut==="onCompositionEnd"&&bv&&(gn=xf()):(Nt=Oe,nn="value"in Nt?Nt.value:Nt.textContent,bv=!0)),vt=To(P,Ut),0<vt.length&&(Ut=new P1(Ut,e,null,u,Oe),Qe.push({event:Ut,listeners:vt}),gn?Ut.data=gn:(gn=Jn(u),gn!==null&&(Ut.data=gn)))),(gn=lE?Xg(e,u):Ci(e,u))&&(Ut=To(P,"onBeforeInput"),0<Ut.length&&(vt=new PD("onBeforeInput","beforeinput",null,u,Oe),Qe.push({event:vt,listeners:Ut}),vt.data=gn)),Mi(Qe,e,P,u,Oe)}Ym(Qe,t)})}function xo(e,t,u){return{instance:e,listener:t,currentTarget:u}}function To(e,t){for(var u=t+"Capture",f=[];e!==null;){var v=e,g=v.stateNode;v=v.tag,v!==5&&v!==26&&v!==27||g===null||(v=wf(e,u),v!=null&&f.unshift(xo(e,v,g)),v=wf(e,t),v!=null&&f.push(xo(e,v,g))),e=e.return}return f}function Vc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Rp(e,t,u,f,v){for(var g=t._reactName,w=[];u!==null&&u!==f;){var k=u,G=k.alternate,P=k.stateNode;if(k=k.tag,G!==null&&G===f)break;k!==5&&k!==26&&k!==27||P===null||(G=P,v?(P=wf(u,g),P!=null&&w.unshift(xo(u,P,G))):v||(P=wf(u,g),P!=null&&w.push(xo(u,P,G)))),u=u.return}w.length!==0&&e.push({event:t,listeners:w})}function qc(e,t){Fd(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||l||(l=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var u={registrationNameDependencies:Mo,possibleRegistrationNames:Rh};Wo(e)||typeof t.is=="string"||Jv(e,t,u),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function mr(e,t,u,f){t!==u&&(u=ir(u),ir(t)!==u&&(f[e]=t))}function $m(e,t,u){t.forEach(function(f){u[Pm(f)]=f==="style"?mh(e):e.getAttribute(f)})}function zu(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Bp(e,t){return e=e.namespaceURI===qs||e.namespaceURI===wr?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function ir(e){return Ze(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",we(e)),Ie(e)),(typeof e=="string"?e:""+e).replace(zR,`
906
+ `).replace(UR,"")}function Xm(e,t){return t=ir(t),ir(e)===t}function il(){}function ua(e,t,u,f,v,g){switch(u){case"children":typeof f=="string"?(fc(f,t),t==="body"||t==="textarea"&&f===""||oi(e,f)):(typeof f=="number"||typeof f=="bigint")&&(fc(""+f,t),t!=="body"&&oi(e,""+f));break;case"className":Hr(e,"class",f);break;case"tabIndex":Hr(e,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Hr(e,u,f);break;case"style":Wv(e,f,g);break;case"data":if(t!=="object"){Hr(e,"data",f);break}case"src":case"href":if(f===""&&(t!=="a"||u!=="href")){console.error(u==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',u,u),e.removeAttribute(u);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){e.removeAttribute(u);break}Me(f,u),f=Dl(""+f),e.setAttribute(u,f);break;case"action":case"formAction":if(f!=null&&(t==="form"?u==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof f=="function"&&(v.encType==null&&v.method==null||Ab||(Ab=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),v.target==null||Cb||(Cb=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?u==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||v.type==="submit"||v.type==="image"||Sb?t!=="button"||v.type==null||v.type==="submit"||Sb?typeof f=="function"&&(v.name==null||$A||($A=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),v.formEncType==null&&v.formMethod==null||Ab||(Ab=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),v.formTarget==null||Cb||(Cb=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Sb=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Sb=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(u==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof f=="function"){e.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(u==="formAction"?(t!=="input"&&ua(e,t,"name",v.name,v,null),ua(e,t,"formEncType",v.formEncType,v,null),ua(e,t,"formMethod",v.formMethod,v,null),ua(e,t,"formTarget",v.formTarget,v,null)):(ua(e,t,"encType",v.encType,v,null),ua(e,t,"method",v.method,v,null),ua(e,t,"target",v.target,v,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){e.removeAttribute(u);break}Me(f,u),f=Dl(""+f),e.setAttribute(u,f);break;case"onClick":f!=null&&(typeof f!="function"&&zu(u,f),e.onclick=il);break;case"onScroll":f!=null&&(typeof f!="function"&&zu(u,f),Sn("scroll",e));break;case"onScrollEnd":f!=null&&(typeof f!="function"&&zu(u,f),Sn("scrollend",e));break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(u=f.__html,u!=null){if(v.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=u}}break;case"multiple":e.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":e.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){e.removeAttribute("xlink:href");break}Me(f,u),u=Dl(""+f),e.setAttributeNS(Sg,"xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?(Me(f,u),e.setAttribute(u,""+f)):e.removeAttribute(u);break;case"inert":f!==""||wb[u]||(wb[u]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",u));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":f&&typeof f!="function"&&typeof f!="symbol"?e.setAttribute(u,""):e.removeAttribute(u);break;case"capture":case"download":f===!0?e.setAttribute(u,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?(Me(f,u),e.setAttribute(u,f)):e.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?(Me(f,u),e.setAttribute(u,f)):e.removeAttribute(u);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?e.removeAttribute(u):(Me(f,u),e.setAttribute(u,f));break;case"popover":Sn("beforetoggle",e),Sn("toggle",e),ja(e,"popover",f);break;case"xlinkActuate":er(e,Sg,"xlink:actuate",f);break;case"xlinkArcrole":er(e,Sg,"xlink:arcrole",f);break;case"xlinkRole":er(e,Sg,"xlink:role",f);break;case"xlinkShow":er(e,Sg,"xlink:show",f);break;case"xlinkTitle":er(e,Sg,"xlink:title",f);break;case"xlinkType":er(e,Sg,"xlink:type",f);break;case"xmlBase":er(e,GE,"xml:base",f);break;case"xmlLang":er(e,GE,"xml:lang",f);break;case"xmlSpace":er(e,GE,"xml:space",f);break;case"is":g!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),ja(e,"is",f);break;case"innerText":case"textContent":break;case"popoverTarget":XA||f==null||typeof f!="object"||(XA=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",f));default:!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N"?(u=Iv(u),ja(e,u,f)):Mo.hasOwnProperty(u)&&f!=null&&typeof f!="function"&&zu(u,f)}}function Yc(e,t,u,f,v,g){switch(u){case"style":Wv(e,f,g);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(u=f.__html,u!=null){if(v.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=u}}break;case"children":typeof f=="string"?oi(e,f):(typeof f=="number"||typeof f=="bigint")&&oi(e,""+f);break;case"onScroll":f!=null&&(typeof f!="function"&&zu(u,f),Sn("scroll",e));break;case"onScrollEnd":f!=null&&(typeof f!="function"&&zu(u,f),Sn("scrollend",e));break;case"onClick":f!=null&&(typeof f!="function"&&zu(u,f),e.onclick=il);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Mo.hasOwnProperty(u))f!=null&&typeof f!="function"&&zu(u,f);else e:{if(u[0]==="o"&&u[1]==="n"&&(v=u.endsWith("Capture"),t=u.slice(2,v?u.length-7:void 0),g=e[ji]||null,g=g!=null?g[u]:null,typeof g=="function"&&e.removeEventListener(t,g,v),typeof f=="function")){typeof g!="function"&&g!==null&&(u in e?e[u]=null:e.hasAttribute(u)&&e.removeAttribute(u)),e.addEventListener(t,f,v);break e}u in e?e[u]=f:f===!0?e.setAttribute(u,""):ja(e,u,f)}}}function _a(e,t,u){switch(qc(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Sn("error",e),Sn("load",e);var f=!1,v=!1,g;for(g in u)if(u.hasOwnProperty(g)){var w=u[g];if(w!=null)switch(g){case"src":f=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ua(e,t,g,w,u,null)}}v&&ua(e,t,"srcSet",u.srcSet,u,null),f&&ua(e,t,"src",u.src,u,null);return;case"input":Vt("input",u),Sn("invalid",e);var k=g=w=v=null,G=null,P=null;for(f in u)if(u.hasOwnProperty(f)){var Oe=u[f];if(Oe!=null)switch(f){case"name":v=Oe;break;case"type":w=Oe;break;case"checked":G=Oe;break;case"defaultChecked":P=Oe;break;case"value":g=Oe;break;case"defaultValue":k=Oe;break;case"children":case"dangerouslySetInnerHTML":if(Oe!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:ua(e,t,f,Oe,u,null)}}Ef(e,u),ic(e,g,k,G,P,w,v,!1),Vr(e);return;case"select":Vt("select",u),Sn("invalid",e),f=w=g=null;for(v in u)if(u.hasOwnProperty(v)&&(k=u[v],k!=null))switch(v){case"value":g=k;break;case"defaultValue":w=k;break;case"multiple":f=k;default:ua(e,t,v,k,u,null)}la(e,u),t=g,u=w,e.multiple=!!f,t!=null?li(e,!!f,t,!1):u!=null&&li(e,!!f,u,!0);return;case"textarea":Vt("textarea",u),Sn("invalid",e),g=v=f=null;for(w in u)if(u.hasOwnProperty(w)&&(k=u[w],k!=null))switch(w){case"value":f=k;break;case"defaultValue":v=k;break;case"children":g=k;break;case"dangerouslySetInnerHTML":if(k!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:ua(e,t,w,k,u,null)}Bd(e,u),Xo(e,f,v,g),Vr(e);return;case"option":xn(e,u);for(G in u)if(u.hasOwnProperty(G)&&(f=u[G],f!=null))switch(G){case"selected":e.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:ua(e,t,G,f,u,null)}return;case"dialog":Sn("cancel",e),Sn("close",e);break;case"iframe":case"object":Sn("load",e);break;case"video":case"audio":for(f=0;f<i1.length;f++)Sn(i1[f],e);break;case"image":Sn("error",e),Sn("load",e);break;case"details":Sn("toggle",e);break;case"embed":case"source":case"link":Sn("error",e),Sn("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in u)if(u.hasOwnProperty(P)&&(f=u[P],f!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ua(e,t,P,f,u,null)}return;default:if(Wo(t)){for(Oe in u)u.hasOwnProperty(Oe)&&(f=u[Oe],f!==void 0&&Yc(e,t,Oe,f,u,void 0));return}}for(k in u)u.hasOwnProperty(k)&&(f=u[k],f!=null&&ua(e,t,k,f,u,null))}function i0(e,t,u,f){switch(qc(t,f),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,g=null,w=null,k=null,G=null,P=null,Oe=null;for(nt in u){var Qe=u[nt];if(u.hasOwnProperty(nt)&&Qe!=null)switch(nt){case"checked":break;case"value":break;case"defaultValue":G=Qe;default:f.hasOwnProperty(nt)||ua(e,t,nt,null,f,Qe)}}for(var Re in f){var nt=f[Re];if(Qe=u[Re],f.hasOwnProperty(Re)&&(nt!=null||Qe!=null))switch(Re){case"type":g=nt;break;case"name":v=nt;break;case"checked":P=nt;break;case"defaultChecked":Oe=nt;break;case"value":w=nt;break;case"defaultValue":k=nt;break;case"children":case"dangerouslySetInnerHTML":if(nt!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:nt!==Qe&&ua(e,t,Re,nt,f,Qe)}}t=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,f=f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null,t||!f||GA||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),GA=!0),!t||f||YA||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),YA=!0),bl(e,w,k,G,P,Oe,g,v);return;case"select":nt=w=k=Re=null;for(g in u)if(G=u[g],u.hasOwnProperty(g)&&G!=null)switch(g){case"value":break;case"multiple":nt=G;default:f.hasOwnProperty(g)||ua(e,t,g,null,f,G)}for(v in f)if(g=f[v],G=u[v],f.hasOwnProperty(v)&&(g!=null||G!=null))switch(v){case"value":Re=g;break;case"defaultValue":k=g;break;case"multiple":w=g;default:g!==G&&ua(e,t,v,g,f,G)}f=k,t=w,u=nt,Re!=null?li(e,!!t,Re,!1):!!u!=!!t&&(f!=null?li(e,!!t,f,!0):li(e,!!t,t?[]:"",!1));return;case"textarea":nt=Re=null;for(k in u)if(v=u[k],u.hasOwnProperty(k)&&v!=null&&!f.hasOwnProperty(k))switch(k){case"value":break;case"children":break;default:ua(e,t,k,null,f,v)}for(w in f)if(v=f[w],g=u[w],f.hasOwnProperty(w)&&(v!=null||g!=null))switch(w){case"value":Re=v;break;case"defaultValue":nt=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:v!==g&&ua(e,t,w,v,f,g)}uc(e,Re,nt);return;case"option":for(var jt in u)if(Re=u[jt],u.hasOwnProperty(jt)&&Re!=null&&!f.hasOwnProperty(jt))switch(jt){case"selected":e.selected=!1;break;default:ua(e,t,jt,null,f,Re)}for(G in f)if(Re=f[G],nt=u[G],f.hasOwnProperty(G)&&Re!==nt&&(Re!=null||nt!=null))switch(G){case"selected":e.selected=Re&&typeof Re!="function"&&typeof Re!="symbol";break;default:ua(e,t,G,Re,f,nt)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var An in u)Re=u[An],u.hasOwnProperty(An)&&Re!=null&&!f.hasOwnProperty(An)&&ua(e,t,An,null,f,Re);for(P in f)if(Re=f[P],nt=u[P],f.hasOwnProperty(P)&&Re!==nt&&(Re!=null||nt!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(Re!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:ua(e,t,P,Re,f,nt)}return;default:if(Wo(t)){for(var jr in u)Re=u[jr],u.hasOwnProperty(jr)&&Re!==void 0&&!f.hasOwnProperty(jr)&&Yc(e,t,jr,void 0,f,Re);for(Oe in f)Re=f[Oe],nt=u[Oe],!f.hasOwnProperty(Oe)||Re===nt||Re===void 0&&nt===void 0||Yc(e,t,Oe,Re,f,nt);return}}for(var fa in u)Re=u[fa],u.hasOwnProperty(fa)&&Re!=null&&!f.hasOwnProperty(fa)&&ua(e,t,fa,null,f,Re);for(Qe in f)Re=f[Qe],nt=u[Qe],!f.hasOwnProperty(Qe)||Re===nt||Re==null&&nt==null||ua(e,t,Qe,Re,f,nt)}function Pm(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function mh(e){var t={};e=e.style;for(var u=0;u<e.length;u++){var f=e[u];t[f]=e.getPropertyValue(f)}return t}function Ul(e,t,u){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var f,v=f="",g;for(g in t)if(t.hasOwnProperty(g)){var w=t[g];w!=null&&typeof w!="boolean"&&w!==""&&(g.indexOf("--")===0?(At(w,g),f+=v+g+":"+(""+w).trim()):typeof w!="number"||w===0||dd.has(g)?(At(w,g),f+=v+g.replace(eg,"-$1").toLowerCase().replace(sd,"-ms-")+":"+(""+w).trim()):f+=v+g.replace(eg,"-$1").toLowerCase().replace(sd,"-ms-")+":"+w+"px",v=";")}f=f||null,t=e.getAttribute("style"),t!==f&&(f=ir(f),ir(t)!==f&&(u.style=mh(e)))}}function au(e,t,u,f,v,g){if(v.delete(u),e=e.getAttribute(u),e===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(Me(f,t),e===""+f)return}mr(t,e,f,g)}function Kr(e,t,u,f,v,g){if(v.delete(u),e=e.getAttribute(u),e===null){switch(typeof f){case"function":case"symbol":return}if(!f)return}else switch(typeof f){case"function":case"symbol":break;default:if(f)return}mr(t,e,f,g)}function Gc(e,t,u,f,v,g){if(v.delete(u),e=e.getAttribute(u),e===null)switch(typeof f){case"undefined":case"function":case"symbol":return}else if(f!=null)switch(typeof f){case"function":case"symbol":break;default:if(Me(f,u),e===""+f)return}mr(t,e,f,g)}function xa(e,t,u,f,v,g){if(v.delete(u),e=e.getAttribute(u),e===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(f))return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(!isNaN(f)&&(Me(f,t),e===""+f))return}mr(t,e,f,g)}function Qm(e,t,u,f,v,g){if(v.delete(u),e=e.getAttribute(u),e===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(Me(f,t),u=Dl(""+f),e===u)return}mr(t,e,f,g)}function Np(e,t,u,f){for(var v={},g=new Set,w=e.attributes,k=0;k<w.length;k++)switch(w[k].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:g.add(w[k].name)}if(Wo(t)){for(var G in u)if(u.hasOwnProperty(G)){var P=u[G];if(P!=null){if(Mo.hasOwnProperty(G))typeof P!="function"&&zu(G,P);else if(u.suppressHydrationWarning!==!0)switch(G){case"children":typeof P!="string"&&typeof P!="number"||mr("children",e.textContent,P,v);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":w=e.innerHTML,P=P?P.__html:void 0,P!=null&&(P=Bp(e,P),mr(G,w,P,v));continue;case"style":g.delete(G),Ul(e,P,v);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":g.delete(G.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",G);continue;case"className":g.delete("class"),w=Da(e,"class",P),mr("className",w,P,v);continue;default:f.context===Gh&&t!=="svg"&&t!=="math"?g.delete(G.toLowerCase()):g.delete(G),w=Da(e,G,P),mr(G,w,P,v)}}}}else for(P in u)if(u.hasOwnProperty(P)&&(G=u[P],G!=null)){if(Mo.hasOwnProperty(P))typeof G!="function"&&zu(P,G);else if(u.suppressHydrationWarning!==!0)switch(P){case"children":typeof G!="string"&&typeof G!="number"||mr("children",e.textContent,G,v);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":w=e.innerHTML,G=G?G.__html:void 0,G!=null&&(G=Bp(e,G),w!==G&&(v[P]={__html:w}));continue;case"className":au(e,P,"class",G,g,v);continue;case"tabIndex":au(e,P,"tabindex",G,g,v);continue;case"style":g.delete(P),Ul(e,G,v);continue;case"multiple":g.delete(P),mr(P,e.multiple,G,v);continue;case"muted":g.delete(P),mr(P,e.muted,G,v);continue;case"autoFocus":g.delete("autofocus"),mr(P,e.autofocus,G,v);continue;case"data":if(t!=="object"){g.delete(P),w=e.getAttribute("data"),mr(P,w,G,v);continue}case"src":case"href":if(!(G!==""||t==="a"&&P==="href"||t==="object"&&P==="data")){console.error(P==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',P,P),Qm(e,P,P,null,g,v);continue}Qm(e,P,P,G,g,v);continue;case"action":case"formAction":if(w=e.getAttribute(P),typeof G=="function"){g.delete(P.toLowerCase()),P==="formAction"?(g.delete("name"),g.delete("formenctype"),g.delete("formmethod"),g.delete("formtarget")):(g.delete("enctype"),g.delete("method"),g.delete("target"));continue}else if(w===jR){g.delete(P.toLowerCase()),mr(P,"function",G,v);continue}Qm(e,P,P.toLowerCase(),G,g,v);continue;case"xlinkHref":Qm(e,P,"xlink:href",G,g,v);continue;case"contentEditable":Gc(e,P,"contenteditable",G,g,v);continue;case"spellCheck":Gc(e,P,"spellcheck",G,g,v);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Gc(e,P,P,G,g,v);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Kr(e,P,P.toLowerCase(),G,g,v);continue;case"capture":case"download":e:{k=e;var Oe=w=P,Qe=v;if(g.delete(Oe),k=k.getAttribute(Oe),k===null)switch(typeof G){case"undefined":case"function":case"symbol":break e;default:if(G===!1)break e}else if(G!=null)switch(typeof G){case"function":case"symbol":break;case"boolean":if(G===!0&&k==="")break e;break;default:if(Me(G,w),k===""+G)break e}mr(w,k,G,Qe)}continue;case"cols":case"rows":case"size":case"span":e:{if(k=e,Oe=w=P,Qe=v,g.delete(Oe),k=k.getAttribute(Oe),k===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(G)||1>G)break e}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(G)||1>G)&&(Me(G,w),k===""+G))break e}mr(w,k,G,Qe)}continue;case"rowSpan":xa(e,P,"rowspan",G,g,v);continue;case"start":xa(e,P,P,G,g,v);continue;case"xHeight":au(e,P,"x-height",G,g,v);continue;case"xlinkActuate":au(e,P,"xlink:actuate",G,g,v);continue;case"xlinkArcrole":au(e,P,"xlink:arcrole",G,g,v);continue;case"xlinkRole":au(e,P,"xlink:role",G,g,v);continue;case"xlinkShow":au(e,P,"xlink:show",G,g,v);continue;case"xlinkTitle":au(e,P,"xlink:title",G,g,v);continue;case"xlinkType":au(e,P,"xlink:type",G,g,v);continue;case"xmlBase":au(e,P,"xml:base",G,g,v);continue;case"xmlLang":au(e,P,"xml:lang",G,g,v);continue;case"xmlSpace":au(e,P,"xml:space",G,g,v);continue;case"inert":G!==""||wb[P]||(wb[P]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",P)),Kr(e,P,P,G,g,v);continue;default:if(!(2<P.length)||P[0]!=="o"&&P[0]!=="O"||P[1]!=="n"&&P[1]!=="N"){k=Iv(P),w=!1,f.context===Gh&&t!=="svg"&&t!=="math"?g.delete(k.toLowerCase()):(Oe=P.toLowerCase(),Oe=lf.hasOwnProperty(Oe)&&lf[Oe]||null,Oe!==null&&Oe!==P&&(w=!0,g.delete(Oe)),g.delete(k));e:if(Oe=e,Qe=k,k=G,Jt(Qe))if(Oe.hasAttribute(Qe))Oe=Oe.getAttribute(Qe),Me(k,Qe),k=Oe===""+k?k:Oe;else{switch(typeof k){case"function":case"symbol":break e;case"boolean":if(Oe=Qe.toLowerCase().slice(0,5),Oe!=="data-"&&Oe!=="aria-")break e}k=k===void 0?void 0:null}else k=void 0;w||mr(P,k,G,v)}}}return 0<g.size&&u.suppressHydrationWarning!==!0&&$m(e,g,v),Object.keys(v).length===0?null:v}function u0(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Zm(e){return e.nodeType===9?e:e.ownerDocument}function l0(e){switch(e){case wr:return G0;case qs:return Ob;default:return Gh}}function Ta(e,t){if(e===Gh)switch(t){case"svg":return G0;case"math":return Ob;default:return Gh}return e===G0&&t==="foreignObject"?Gh:e}function ta(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function On(){var e=window.event;return e&&e.type==="popstate"?e===QE?!1:(QE=e,!0):(QE=null,!1)}function Hn(e){setTimeout(function(){throw e})}function va(e,t,u){switch(t){case"button":case"input":case"select":case"textarea":u.autoFocus&&e.focus();break;case"img":u.src?e.src=u.src:u.srcSet&&(e.srcset=u.srcSet)}}function ru(e,t,u,f){i0(e,t,u,f),e[ji]=f}function jl(e){oi(e,"")}function If(e,t,u){e.nodeValue=u}function kp(e,t){e.removeChild(t)}function Oo(e,t){e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)}function Oa(e,t){var u=t,f=0;do{var v=u.nextSibling;if(e.removeChild(u),v&&v.nodeType===8)if(u=v.data,u===Tb){if(f===0){e.removeChild(v),Kc(t);return}f--}else u!==xb&&u!==Cg&&u!==Ag||f++;u=v}while(u);Kc(t)}function Bs(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function $c(e){e.nodeValue=""}function Mp(e,t){t=t[HR],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Uu(e,t){e.nodeValue=t}function Ns(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var u=t;switch(t=t.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Ns(u),Dt(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}e.removeChild(u)}}function vh(e,t,u,f){for(;e.nodeType===1;){var v=u;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!f&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(f){if(!e[Ls])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(g=e.getAttribute("rel"),g==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(g!==v.rel||e.getAttribute("href")!==(v.href==null?null:v.href)||e.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||e.getAttribute("title")!==(v.title==null?null:v.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(g=e.getAttribute("src"),(g!==(v.src==null?null:v.src)||e.getAttribute("type")!==(v.type==null?null:v.type)||e.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&g&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Me(v.name,"name");var g=v.name==null?null:""+v.name;if(v.type==="hidden"&&e.getAttribute("name")===g)return e}else return e;if(e=_i(e.nextSibling),e===null)break}return null}function Ll(e,t,u){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!u||(e=_i(e.nextSibling),e===null))return null;return e}function _i(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===xb||t===Ag||t===Cg||t===$E||t===PA)break;if(t===Tb)return null}}return e}function Wm(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),u={},f=e.attributes,v=0;v<f.length;v++){var g=f[v];u[Pm(g.name)]=g.name.toLowerCase()==="style"?mh(e):g.value}return{type:t,props:u}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function ph(e,t,u){return u===null||u[LR]!==!0?(e.nodeValue===t?e=null:(t=ir(t),e=ir(e.nodeValue)===t?null:e.nodeValue),e):null}function gh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var u=e.data;if(u===Tb){if(t===0)return _i(e.nextSibling);t--}else u!==xb&&u!==Ag&&u!==Cg||t++}e=e.nextSibling}return null}function ul(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var u=e.data;if(u===xb||u===Ag||u===Cg){if(t===0)return e;t--}else u===Tb&&t++}e=e.previousSibling}return null}function yh(e){Kc(e)}function Xc(e){Kc(e)}function Kf(e,t,u,f,v){switch(v&&Af(e,f.ancestorInfo),t=Zm(u),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function _p(e,t,u,f){if(Wt(u)){var v=u.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",v,v,v)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(v=u.attributes;v.length;)u.removeAttributeNode(v[0]);_a(u,e,t),u[Fr]=f,u[ji]=t}function Jf(e){return typeof e.getRootNode=="function"?e.getRootNode():e.ownerDocument}function ed(e,t,u){var f=$0;if(f&&typeof t=="string"&&t){var v=ui(t);v='link[rel="'+e+'"][href="'+v+'"]',typeof u=="string"&&(v+='[crossorigin="'+u+'"]'),JA.has(v)||(JA.add(v),e={rel:e,crossOrigin:u,href:t},f.querySelector(v)===null&&(t=f.createElement("link"),_a(t,"link",e),Bn(t),f.head.appendChild(t)))}}function Im(e,t,u,f){var v=(v=Cr.current)?Jf(v):null;if(!v)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(u=Pc(u.href),t=Gt(v).hoistableStyles,f=t.get(u),f||(f={type:"style",instance:null,count:0,state:null},t.set(u,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){e=Pc(u.href);var g=Gt(v).hoistableStyles,w=g.get(e);if(!w&&(v=v.ownerDocument||v,w={type:"stylesheet",instance:null,count:0,state:{loading:wg,preload:null}},g.set(e,w),(g=v.querySelector(ur(e)))&&!g._p&&(w.instance=g,w.state.loading=u1|Ks),!Js.has(e))){var k={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy};Js.set(e,k),g||td(v,e,k,w.state)}if(t&&f===null)throw u=`
907
+
908
+ - `+Jr(t)+`
909
+ + `+Jr(u),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+u);return w}if(t&&f!==null)throw u=`
910
+
911
+ - `+Jr(t)+`
912
+ + `+Jr(u),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+u);return null;case"script":return t=u.async,u=u.src,typeof u=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(u=Qc(u),t=Gt(v).hoistableScripts,f=t.get(u),f||(f={type:"script",instance:null,count:0,state:null},t.set(u,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Jr(e){var t=0,u="<link";return typeof e.rel=="string"?(t++,u+=' rel="'+e.rel+'"'):sl.call(e,"rel")&&(t++,u+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,u+=' href="'+e.href+'"'):sl.call(e,"href")&&(t++,u+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,u+=' precedence="'+e.precedence+'"'):sl.call(e,"precedence")&&(t++,u+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(u+=" ..."),u+" />"}function Pc(e){return'href="'+ui(e)+'"'}function ur(e){return'link[rel="stylesheet"]['+e+"]"}function Fp(e){return ht({},e,{"data-precedence":e.precedence,precedence:null})}function td(e,t,u,f){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?f.loading=u1:(t=e.createElement("link"),f.preload=t,t.addEventListener("load",function(){return f.loading|=u1}),t.addEventListener("error",function(){return f.loading|=IA}),_a(t,"link",u),Bn(t),e.head.appendChild(t))}function Qc(e){return'[src="'+ui(e)+'"]'}function bh(e){return"script[async]"+e}function Hl(e,t,u){if(t.count++,t.instance===null)switch(t.type){case"style":var f=e.querySelector('style[data-href~="'+ui(u.href)+'"]');if(f)return t.instance=f,Bn(f),f;var v=ht({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return f=(e.ownerDocument||e).createElement("style"),Bn(f),_a(f,"style",v),Zc(f,u.precedence,e),t.instance=f;case"stylesheet":v=Pc(u.href);var g=e.querySelector(ur(v));if(g)return t.state.loading|=Ks,t.instance=g,Bn(g),g;f=Fp(u),(v=Js.get(v))&&Dh(f,v),g=(e.ownerDocument||e).createElement("link"),Bn(g);var w=g;return w._p=new Promise(function(k,G){w.onload=k,w.onerror=G}),_a(g,"link",f),t.state.loading|=Ks,Zc(g,u.precedence,e),t.instance=g;case"script":return g=Qc(u.src),(v=e.querySelector(bh(g)))?(t.instance=v,Bn(v),v):(f=u,(v=Js.get(g))&&(f=ht({},u),ks(f,v)),e=e.ownerDocument||e,v=e.createElement("script"),Bn(v),_a(v,"link",f),e.head.appendChild(v),t.instance=v);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Ks)===wg&&(f=t.instance,t.state.loading|=Ks,Zc(f,u.precedence,e));return t.instance}function Zc(e,t,u){for(var f=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=f.length?f[f.length-1]:null,g=v,w=0;w<f.length;w++){var k=f[w];if(k.dataset.precedence===t)g=k;else if(g!==v)break}g?g.parentNode.insertBefore(e,g.nextSibling):(t=u.nodeType===9?u.head:u,t.insertBefore(e,t.firstChild))}function Dh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ks(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function zp(e,t,u){if(Rb===null){var f=new Map,v=Rb=new Map;v.set(u,f)}else v=Rb,f=v.get(u),f||(f=new Map,v.set(u,f));if(f.has(e))return f;for(f.set(e,null),u=u.getElementsByTagName(e),v=0;v<u.length;v++){var g=u[v];if(!(g[Ls]||g[Fr]||e==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!==wr){var w=g.getAttribute(t)||"";w=e+w;var k=f.get(w);k?k.push(g):f.set(w,[g])}}return f}function Up(e,t,u){e=e.ownerDocument||e,e.head.insertBefore(u,t==="title"?e.querySelector("head > title"):null)}function o0(e,t,u){var f=!u.ancestorInfo.containerTagInScope;if(u.context===G0||t.itemProp!=null)return!f||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){f&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflic with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`, or move the <style> to the <style> tag.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var v=t.onError,g=t.disabled;u=[],t.onLoad&&u.push("`onLoad`"),v&&u.push("`onError`"),g!=null&&u.push("`disabled`"),v=u0(u,"and"),v+=u.length===1?" prop":" props",g=u.length===1?"an "+v:"the "+v,u.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,g,v)}f&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&f&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){f&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":f&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Km(e){return!(e.type==="stylesheet"&&(e.state.loading&KA)===wg)}function jp(){}function by(e,t,u){if(l1===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var f=l1;if(t.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(t.state.loading&Ks)===wg){if(t.instance===null){var v=Pc(u.href),g=e.querySelector(ur(v));if(g){e=g._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(f.count++,f=Jm.bind(f),e.then(f,f)),t.state.loading|=Ks,t.instance=g,Bn(g);return}g=e.ownerDocument||e,u=Fp(u),(v=Js.get(v))&&Dh(u,v),g=g.createElement("link"),Bn(g);var w=g;w._p=new Promise(function(k,G){w.onload=k,w.onerror=G}),_a(g,"link",u),t.instance=g}f.stylesheets===null&&(f.stylesheets=new Map),f.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&KA)===wg&&(f.count++,t=Jm.bind(f),e.addEventListener("load",t),e.addEventListener("error",t))}}function Dy(){if(l1===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=l1;return e.stylesheets&&e.count===0&&ev(e,e.stylesheets),0<e.count?function(t){var u=setTimeout(function(){if(e.stylesheets&&ev(e,e.stylesheets),e.unsuspend){var f=e.unsuspend;e.unsuspend=null,f()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(u)}}:null}function Jm(){if(this.count--,this.count===0){if(this.stylesheets)ev(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function ev(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Bb=new Map,t.forEach(s0,e),Bb=null,Jm.call(e))}function s0(e,t){if(!(t.state.loading&Ks)){var u=Bb.get(e);if(u)var f=u.get(WE);else{u=new Map,Bb.set(e,u);for(var v=e.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<v.length;g++){var w=v[g];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(u.set(w.dataset.precedence,w),f=w)}f&&u.set(WE,f)}v=t.instance,w=v.getAttribute("data-precedence"),g=u.get(w)||f,g===f&&u.set(WE,v),u.set(w,v),this.count++,f=Jm.bind(this),v.addEventListener("load",f),v.addEventListener("error",f),g?g.parentNode.insertBefore(v,g.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(v,e.firstChild)),t.state.loading|=Ks}}function Wc(e,t,u){var f=0;switch(e){case"dir":case"dirxml":case"groupEnd":case"table":return aw.apply(console[e],[console].concat(t));case"assert":f=1}return t=t.slice(0),typeof t[f]=="string"?t.splice(f,1,ew+t[f],tw,Nb+u+Nb,nw):t.splice(f,0,ew,tw,Nb+u+Nb,nw),t.unshift(console),aw.apply(console[e],t)}function Eh(e,t,u,f,v,g,w,k){for(this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ZE,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=pe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pe(0),this.hiddenUpdates=pe(null),this.identifierPrefix=f,this.onUncaughtError=v,this.onCaughtError=g,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=k,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=u?"hydrateRoot()":"createRoot()"}function Lp(e,t,u,f,v,g,w,k,G,P,Oe,Qe){return e=new Eh(e,t,u,w,k,G,P,Qe),t=bR,g===!0&&(t|=Hu|sf),ti&&(t|=cu),g=E(3,null,null,t),e.current=g,g.stateNode=e,t=Pt(),fn(t),e.pooledCache=t,fn(t),g.memoizedState={element:f,isDehydrated:u,cache:t},jf(g),e}function Hp(e){return e?(e=of,e):of}function c0(e,t,u,f){return t.tag===0&&Mr(),Vp(t.current,2,e,t,u,f),2}function Vp(e,t,u,f,v,g){if(Yt&&typeof Yt.onScheduleFiberRoot=="function")try{Yt.onScheduleFiberRoot(Ui,f,u)}catch(w){pa||(pa=!0,console.error("React instrumentation encountered an error: %s",w))}Et!==null&&typeof Et.markRenderScheduled=="function"&&Et.markRenderScheduled(t),v=Hp(v),f.context===null?f.context=v:f.pendingContext=v,zi&&Na!==null&&!rw&&(rw=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
913
+
914
+ Check the render method of %s.`,V(Na)||"Unknown")),f=Do(t),f.payload={element:u},g=g===void 0?null:g,g!==null&&(typeof g!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",g),f.callback=g),u=Eo(e,f,t),u!==null&&(sa(u,e,t),eh(u,e,t))}function Vl(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var u=e.retryLane;e.retryLane=u!==0&&u<t?u:t}}function tv(e,t){Vl(e,t),(e=e.alternate)&&Vl(e,t)}function ca(e){if(e.tag===13){var t=Sa(e,67108864);t!==null&&sa(t,e,67108864),tv(e,67108864)}}function qp(){return Na}function Ey(){for(var e=new Map,t=1,u=0;31>u;u++){var f=Mt(t);e.set(t,f),t*=2}return e}function f0(e,t,u,f){var v=_e.T;_e.T=null;var g=tn.p;try{tn.p=su,Yp(e,t,u,f)}finally{tn.p=g,_e.T=v}}function Sy(e,t,u,f){var v=_e.T;_e.T=null;var g=tn.p;try{tn.p=Lu,Yp(e,t,u,f)}finally{tn.p=g,_e.T=v}}function Yp(e,t,u,f){if(kb){var v=Gp(f);if(v===null)Hc(e,t,f,Mb,u),nv(e,f);else if($p(v,e,t,u,f))f.stopPropagation();else if(nv(e,f),t&4&&-1<YR.indexOf(e)){for(;v!==null;){var g=Wt(v);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var w=St(g.pendingLanes);if(w!==0){var k=g;for(k.pendingLanes|=2,k.entangledLanes|=2;w;){var G=1<<31-ni(w);k.entanglements[1]|=G,w&=~G}Fu(g),(Wa&(ml|Vh))===jo&&(vb=uu()+LA,Wf(0))}}break;case 13:k=Sa(g,2),k!==null&&sa(k,g,2),gi(),tv(g,2)}if(g=Gp(f),g===null&&Hc(e,t,f,Mb,u),g===v)break;v=g}v!==null&&f.stopPropagation()}else Hc(e,t,f,null,u)}}function Gp(e){return e=Wl(e),nd(e)}function nd(e){if(Mb=null,e=Bt(e),e!==null){var t=Ve(e);if(t===null)e=null;else{var u=t.tag;if(u===13){if(e=ne(t),e!==null)return e;e=null}else if(u===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Mb=e,null}function Ic(e){switch(e){case"beforetoggle":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"toggle":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 su;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Lu;case"message":switch(lu()){case ou:return su;case hv:return Lu;case ud:case Ay:return cl;case Ip:return af;default:return cl}default:return cl}}function nv(e,t){switch(e){case"focusin":case"focusout":Rv=null;break;case"dragenter":case"dragleave":Bv=null;break;case"mouseover":case"mouseout":Nv=null;break;case"pointerover":case"pointerout":s1.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":c1.delete(t.pointerId)}}function ll(e,t,u,f,v,g){return e===null||e.nativeEvent!==g?(e={blockedOn:t,domEventName:u,eventSystemFlags:f,nativeEvent:g,targetContainers:[v]},t!==null&&(t=Wt(t),t!==null&&ca(t)),e):(e.eventSystemFlags|=f,t=e.targetContainers,v!==null&&t.indexOf(v)===-1&&t.push(v),e)}function $p(e,t,u,f,v){switch(t){case"focusin":return Rv=ll(Rv,e,t,u,f,v),!0;case"dragenter":return Bv=ll(Bv,e,t,u,f,v),!0;case"mouseover":return Nv=ll(Nv,e,t,u,f,v),!0;case"pointerover":var g=v.pointerId;return s1.set(g,ll(s1.get(g)||null,e,t,u,f,v)),!0;case"gotpointercapture":return g=v.pointerId,c1.set(g,ll(c1.get(g)||null,e,t,u,f,v)),!0}return!1}function Ro(e){var t=Bt(e.target);if(t!==null){var u=Ve(t);if(u!==null){if(t=u.tag,t===13){if(t=ne(u),t!==null){e.blockedOn=t,bt(e.priority,function(){if(u.tag===13){var f=Ma(u),v=Sa(u,f);v!==null&&sa(v,u,f),tv(u,f)}});return}}else if(t===3&&u.stateNode.current.memoizedState.isDehydrated){e.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Fi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var u=Gp(e.nativeEvent);if(u===null){u=e.nativeEvent;var f=new u.constructor(u.type,u),v=f;Z!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Z=v,u.target.dispatchEvent(f),Z===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Z=null}else return t=Wt(u),t!==null&&ca(t),e.blockedOn=u,!1;t.shift()}return!0}function Ms(e,t,u){Fi(e)&&u.delete(t)}function d0(){IE=!1,Rv!==null&&Fi(Rv)&&(Rv=null),Bv!==null&&Fi(Bv)&&(Bv=null),Nv!==null&&Fi(Nv)&&(Nv=null),s1.forEach(Ms),c1.forEach(Ms)}function ad(e,t){e.blockedOn===t&&(e.blockedOn=null,IE||(IE=!0,Ra.unstable_scheduleCallback(Ra.unstable_NormalPriority,d0)))}function av(e){_b!==e&&(_b=e,Ra.unstable_scheduleCallback(Ra.unstable_NormalPriority,function(){_b===e&&(_b=null);for(var t=0;t<e.length;t+=3){var u=e[t],f=e[t+1],v=e[t+2];if(typeof f!="function"){if(nd(f||u)===null)continue;break}var g=Wt(u);g!==null&&(e.splice(t,3),t-=3,u={pending:!0,data:v,method:u.method,action:f},Object.freeze(u),Ol(g,u,f,v))}}))}function Kc(e){function t(G){return ad(G,e)}Rv!==null&&ad(Rv,e),Bv!==null&&ad(Bv,e),Nv!==null&&ad(Nv,e),s1.forEach(t),c1.forEach(t);for(var u=0;u<kv.length;u++){var f=kv[u];f.blockedOn===e&&(f.blockedOn=null)}for(;0<kv.length&&(u=kv[0],u.blockedOn===null);)Ro(u),u.blockedOn===null&&kv.shift();if(u=(e.ownerDocument||e).$$reactFormReplay,u!=null)for(f=0;f<u.length;f+=3){var v=u[f],g=u[f+1],w=v[ji]||null;if(typeof g=="function")w||av(u);else if(w){var k=null;if(g&&g.hasAttribute("formAction")){if(v=g,w=g[ji]||null)k=w.formAction;else if(nd(v)!==null)continue}else k=w.action;typeof k=="function"?u[f+1]=k:(u.splice(f,3),f-=3),av(u)}}}function Xp(e){this._internalRoot=e}function rd(e){this._internalRoot=e}function Pp(e){e[js]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ra=yR(),id=te,Qp=Q2,Zp=Symbol.for("react.element"),ql=Symbol.for("react.transitional.element"),Jc=Symbol.for("react.portal"),Yl=Symbol.for("react.fragment"),rv=Symbol.for("react.strict_mode"),iv=Symbol.for("react.profiler"),_n=Symbol.for("react.provider"),Sh=Symbol.for("react.consumer"),iu=Symbol.for("react.context"),ef=Symbol.for("react.forward_ref"),uv=Symbol.for("react.suspense"),Ch=Symbol.for("react.suspense_list"),_s=Symbol.for("react.memo"),ei=Symbol.for("react.lazy"),tf=Symbol.for("react.offscreen"),ju=Symbol.for("react.memo_cache_sentinel"),h0=Symbol.iterator,Cy=Symbol.for("react.client.reference"),_e=id.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ht=Object.assign,Fs=0,hn,Ba,Sr,Bo,lv,ov,Ah;q.__reactDisabledLog=!0;var sv,Wp,nf=!1,wh=new(typeof WeakMap=="function"?WeakMap:Map),Na=null,zi=!1,lr=Array.isArray,tn=Qp.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Xa=Object.freeze({pending:!1,data:null,method:null,action:null}),cv=[],xh=[],ol=-1,zs=oe(null),Th=oe(null),Cr=oe(null),Oh=oe(null),sl=Object.prototype.hasOwnProperty,Ar=Ra.unstable_scheduleCallback,fv=Ra.unstable_cancelCallback,dv=Ra.unstable_shouldYield,Gl=Ra.unstable_requestPaint,uu=Ra.unstable_now,lu=Ra.unstable_getCurrentPriorityLevel,ou=Ra.unstable_ImmediatePriority,hv=Ra.unstable_UserBlockingPriority,ud=Ra.unstable_NormalPriority,Ay=Ra.unstable_LowPriority,Ip=Ra.unstable_IdlePriority,wy=Ra.log,m0=Ra.unstable_setDisableYieldValue,Ui=null,Yt=null,Et=null,pa=!1,ti=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ni=Math.clz32?Math.clz32:Ft,na=Math.log,ld=Math.LN2,No=128,Us=4194304,su=2,Lu=8,cl=32,af=268435456,ko=Math.random().toString(36).slice(2),Fr="__reactFiber$"+ko,ji="__reactProps$"+ko,js="__reactContainer$"+ko,rf="__reactEvents$"+ko,xy="__reactListeners$"+ko,Ty="__reactHandles$"+ko,v0="__reactResources$"+ko,Ls="__reactMarker$"+ko,uf=new Set,Mo={},Rh={},Li=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Oy={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},p0=RegExp("^[: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]*$"),or={},ai={},g0=/[\n"\\]/g,mv=!1,Kp=!1,od=!1,y0=!1,b0=!1,vv=!1,Bh=["value","defaultValue"],Nh=!1,pv=/["'&<>\n\t]|^\s|\s$/,D0="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),kh="applet caption html table td th marquee object template foreignObject desc title".split(" "),_o=kh.concat(["button"]),Hs="dd dt li option optgroup p rp rt".split(" "),Fo={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null},Vs={},qs="http://www.w3.org/1998/Math/MathML",wr="http://www.w3.org/2000/svg",Jp={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},eg=/([A-Z])/g,sd=/^ms-/,Ry=/^(?:webkit|moz|o)[A-Z]/,E0=/^-ms-/,Mh=/-(.)/g,gv=/;\s*$/,cd={},fd={},_h=!1,tg=!1,dd=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),ng=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),lf={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},ag={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},hd={},yv=RegExp("^(aria)-[: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]*$"),r=RegExp("^(aria)[A-Z][: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]*$"),l=!1,s={},m=/^on./,y=/^on[^A-Z]/,S=RegExp("^(aria)-[: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]*$"),M=RegExp("^(aria)[A-Z][: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]*$"),$=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Z=null,fe=null,$e=null,at=!1,Ne=!1;if(Li)try{var Ge={};Object.defineProperty(Ge,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Ge,Ge),window.removeEventListener("test",Ge,Ge)}catch{Ne=!1}var Nt=null,nn=null,ga=null,ge={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ce=qr(ge),Ae=ht({},ge,{view:0,detail:0}),tt=qr(Ae),Rt,pn,zt,Xt=ht({},Ae,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:im,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==zt&&(zt&&e.type==="mousemove"?(Rt=e.screenX-zt.screenX,pn=e.screenY-zt.screenY):pn=Rt=0,zt=e),Rt)},movementY:function(e){return"movementY"in e?e.movementY:pn}}),Qn=qr(Xt),Vn=ht({},Xt,{dataTransfer:0}),Ys=qr(Vn),By=ht({},Ae,{relatedTarget:0}),Ny=qr(By),GD=ht({},ge,{animationName:0,elapsedTime:0,pseudoElement:0}),ky=qr(GD),$D=ht({},ge,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),My=qr($D),XD=ht({},ge,{data:0}),P1=qr(XD),PD=P1,QD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Q1={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"},ZD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},WD=ht({},Ae,{key:function(e){if(e.key){var t=QD[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Io(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Q1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:im,charCode:function(e){return e.type==="keypress"?Io(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Io(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ID=qr(WD),_y=ht({},Xt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),S0=qr(_y),KD=ht({},Ae,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:im}),JD=qr(KD),eE=ht({},ge,{propertyName:0,elapsedTime:0,pseudoElement:0}),tE=qr(eE),nE=ht({},Xt,{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}),aE=qr(nE),rE=ht({},ge,{newState:0,oldState:0}),iE=qr(rE),uE=[9,13,27,32],Z1=229,Fy=Li&&"CompositionEvent"in window,rg=null;Li&&"documentMode"in document&&(rg=document.documentMode);var lE=Li&&"TextEvent"in window&&!rg,W1=Li&&(!Fy||rg&&8<rg&&11>=rg),I1=32,K1=String.fromCharCode(I1),J1=!1,bv=!1,oE={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},ig=null,ug=null,c=!1;Li&&(c=um("input")&&(!document.documentMode||9<document.documentMode));var h=typeof Object.is=="function"?Object.is:om,D=Li&&"documentMode"in document&&11>=document.documentMode,T=null,j=null,X=null,W=!1,ae={animationend:mc("Animation","AnimationEnd"),animationiteration:mc("Animation","AnimationIteration"),animationstart:mc("Animation","AnimationStart"),transitionrun:mc("Transition","TransitionRun"),transitionstart:mc("Transition","TransitionStart"),transitioncancel:mc("Transition","TransitionCancel"),transitionend:mc("Transition","TransitionEnd")},ye={},Je={};Li&&(Je=document.createElement("div").style,"AnimationEvent"in window||(delete ae.animationend.animation,delete ae.animationiteration.animation,delete ae.animationstart.animation),"TransitionEvent"in window||delete ae.transitionend.transition);var et=ts("animationend"),it=ts("animationiteration"),Ct=ts("animationstart"),Ht=ts("transitionrun"),an=ts("transitionstart"),Cn=ts("transitioncancel"),Kt=ts("transitionend"),Nn=new Map,qn="abort auxClick beforeToggle 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 scrollEnd toggle touchMove waiting wheel".split(" "),Hi=1,zr=2,Ur=4,aa=[],Vi=0,zo=0,of={};Object.freeze(of);var Gs=null,C0=null,Pa=0,bR=1,cu=2,Hu=8,sf=16,jC=64,A0=Ra.unstable_now,sE=-0,eb=-0,$l=-1.1,lg=-0,tb=!1,nb=!1,cf={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},zy=[],Uy=[],jy=[],Ly=[],Hy=[],Vy=[],og=new Set;cf.recordUnsafeLifecycleWarnings=function(e,t){og.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&zy.push(e),e.mode&Hu&&typeof t.UNSAFE_componentWillMount=="function"&&Uy.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&jy.push(e),e.mode&Hu&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Ly.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Hy.push(e),e.mode&Hu&&typeof t.UNSAFE_componentWillUpdate=="function"&&Vy.push(e))},cf.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<zy.length&&(zy.forEach(function(k){e.add(V(k)||"Component"),og.add(k.type)}),zy=[]);var t=new Set;0<Uy.length&&(Uy.forEach(function(k){t.add(V(k)||"Component"),og.add(k.type)}),Uy=[]);var u=new Set;0<jy.length&&(jy.forEach(function(k){u.add(V(k)||"Component"),og.add(k.type)}),jy=[]);var f=new Set;0<Ly.length&&(Ly.forEach(function(k){f.add(V(k)||"Component"),og.add(k.type)}),Ly=[]);var v=new Set;0<Hy.length&&(Hy.forEach(function(k){v.add(V(k)||"Component"),og.add(k.type)}),Hy=[]);var g=new Set;if(0<Vy.length&&(Vy.forEach(function(k){g.add(V(k)||"Component"),og.add(k.type)}),Vy=[]),0<t.size){var w=N(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
915
+
916
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
917
+
918
+ Please update the following components: %s`,w)}0<f.size&&(w=N(f),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
919
+
920
+ * Move data fetching code or side effects to componentDidUpdate.
921
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
922
+
923
+ Please update the following components: %s`,w)),0<g.size&&(w=N(g),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
924
+
925
+ * Move data fetching code or side effects to componentDidUpdate.
926
+
927
+ Please update the following components: %s`,w)),0<e.size&&(w=N(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
928
+
929
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
930
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
931
+
932
+ Please update the following components: %s`,w)),0<u.size&&(w=N(u),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
933
+
934
+ * Move data fetching code or side effects to componentDidUpdate.
935
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
936
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
937
+
938
+ Please update the following components: %s`,w)),0<v.size&&(w=N(v),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
939
+
940
+ * Move data fetching code or side effects to componentDidUpdate.
941
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
942
+
943
+ Please update the following components: %s`,w))};var ab=new Map,LC=new Set;cf.recordLegacyContextWarning=function(e,t){for(var u=null,f=e;f!==null;)f.mode&Hu&&(u=f),f=f.return;u===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!LC.has(e.type)&&(f=ab.get(u),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(f===void 0&&(f=[],ab.set(u,f)),f.push(e))},cf.flushLegacyContextWarning=function(){ab.forEach(function(e){if(e.length!==0){var t=e[0],u=new Set;e.forEach(function(v){u.add(V(v)||"Component"),LC.add(v.type)});var f=N(u);le(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
944
+
945
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
946
+
947
+ Please update the following components: %s
948
+
949
+ Learn more about this warning here: https://react.dev/link/legacy-context`,f)})}})},cf.discardPendingWarnings=function(){zy=[],Uy=[],jy=[],Ly=[],Hy=[],Vy=[],ab=new Map};var cE=new WeakMap,w0=[],x0=0,rb=null,ib=0,$s=[],Xs=0,sg=null,Fh=1,zh="",fl=null,fu=null,Wn=!1,Uh=!1,Ps=null,ff=null,md=!1,fE=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),ub=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"),HC=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),dE={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},qy=null,lb=!1,VC={"react-stack-bottom-frame":function(e,t,u){var f=zi;zi=!0;try{return e(t,u)}finally{zi=f}}},hE=VC["react-stack-bottom-frame"].bind(VC),qC={"react-stack-bottom-frame":function(e){var t=zi;zi=!0;try{return e.render()}finally{zi=t}}},YC=qC["react-stack-bottom-frame"].bind(qC),GC={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(u){Xn(e,e.return,u)}}},mE=GC["react-stack-bottom-frame"].bind(GC),$C={"react-stack-bottom-frame":function(e,t,u,f,v){try{t.componentDidUpdate(u,f,v)}catch(g){Xn(e,e.return,g)}}},XC=$C["react-stack-bottom-frame"].bind($C),PC={"react-stack-bottom-frame":function(e,t){var u=t.stack;e.componentDidCatch(t.value,{componentStack:u!==null?u:""})}},DR=PC["react-stack-bottom-frame"].bind(PC),QC={"react-stack-bottom-frame":function(e,t,u){try{u.componentWillUnmount()}catch(f){Xn(e,t,f)}}},ZC=QC["react-stack-bottom-frame"].bind(QC),WC={"react-stack-bottom-frame":function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},ER=WC["react-stack-bottom-frame"].bind(WC),IC={"react-stack-bottom-frame":function(e,t,u){try{u()}catch(f){Xn(e,t,f)}}},SR=IC["react-stack-bottom-frame"].bind(IC),KC={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},Dv=KC["react-stack-bottom-frame"].bind(KC),T0=null,Yy=0,Rn=null,vE,JC=vE=!1,eA={},tA={},nA={};R=function(e,t,u){if(u!==null&&typeof u=="object"&&u._store&&(!u._store.validated&&u.key==null||u._store.validated===2)){if(typeof u._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");u._store.validated=1;var f=V(e),v=f||"null";if(!eA[v]){eA[v]=!0,u=u._owner,e=e._debugOwner;var g="";e&&typeof e.tag=="number"&&(v=V(e))&&(g=`
950
+
951
+ Check the render method of \``+v+"`."),g||f&&(g=`
952
+
953
+ Check the top-level render call using <`+f+">.");var w="";u!=null&&e!==u&&(f=null,typeof u.tag=="number"?f=V(u):typeof u.name=="string"&&(f=u.name),f&&(w=" It was passed a child from "+f+".")),le(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',g,w)})}}};var cg=cp(!0),aA=cp(!1),O0=oe(null),ob=oe(0),Qs=oe(null),vd=null,R0=1,Gy=2,yi=oe(0),Zs=0,Ws=1,dl=2,du=4,bi=8,CR=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(u,f){e.push(f)}};this.abort=function(){t.aborted=!0,e.forEach(function(u){return u()})}},AR=Ra.unstable_scheduleCallback,wR=Ra.unstable_NormalPriority,Di={$$typeof:iu,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},$y=null,pE=0,fg=0,B0=null,rA=_e.S;_e.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&oa(e,t),rA!==null&&rA(e,t)};var dg=oe(null),N0,iA=new Set,uA=new Set,gE=new Set,lA=new Set,Ev=0,mn=null,ka=null,ri=null,sb=!1,k0=!1,hg=!1,cb=0,Xy=0,jh=null,xR=0,TR=25,Le=null,Is=null,Lh=-1,Py=!1,yE=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}},pd={readContext:ia,use:Al,useCallback:Va,useContext:Va,useEffect:Va,useImperativeHandle:Va,useLayoutEffect:Va,useInsertionEffect:Va,useMemo:Va,useReducer:Va,useRef:Va,useState:Va,useDebugValue:Va,useDeferredValue:Va,useTransition:Va,useSyncExternalStore:Va,useId:Va};pd.useCacheRefresh=Va,pd.useMemoCache=Va,pd.useHostTransitionStatus=Va,pd.useFormState=Va,pd.useActionState=Va,pd.useOptimistic=Va;var Sv=null,mg=null,Cv=null,vg=null,Xl=null,hl=null,Av=null;Sv={readContext:function(e){return ia(e)},use:Al,useCallback:function(e,t){return Le="useCallback",cn(),Cl(t),hi(e,t)},useContext:function(e){return Le="useContext",cn(),ia(e)},useEffect:function(e,t){return Le="useEffect",cn(),Cl(t),Au(e,t)},useImperativeHandle:function(e,t,u){return Le="useImperativeHandle",cn(),Cl(u),Xu(e,t,u)},useInsertionEffect:function(e,t){Le="useInsertionEffect",cn(),Cl(t),ls(4,dl,e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",cn(),Cl(t),Ac(e,t)},useMemo:function(e,t){Le="useMemo",cn(),Cl(t);var u=_e.H;_e.H=Xl;try{return ym(e,t)}finally{_e.H=u}},useReducer:function(e,t,u){Le="useReducer",cn();var f=_e.H;_e.H=Xl;try{return Su(e,t,u)}finally{_e.H=f}},useRef:function(e){return Le="useRef",cn(),Cc(e)},useState:function(e){Le="useState",cn();var t=_e.H;_e.H=Xl;try{return Nr(e)}finally{_e.H=t}},useDebugValue:function(){Le="useDebugValue",cn()},useDeferredValue:function(e,t){return Le="useDeferredValue",cn(),Mf(e,t)},useTransition:function(){return Le="useTransition",cn(),Zu()},useSyncExternalStore:function(e,t,u){return Le="useSyncExternalStore",cn(),Ti(e,t,u)},useId:function(){return Le="useId",cn(),Wu()},useCacheRefresh:function(){return Le="useCacheRefresh",cn(),mp()}},Sv.useMemoCache=Qa,Sv.useHostTransitionStatus=wc,Sv.useFormState=function(e,t){return Le="useFormState",cn(),Gn(),Oi(e,t)},Sv.useActionState=function(e,t){return Le="useActionState",cn(),Oi(e,t)},Sv.useOptimistic=function(e){return Le="useOptimistic",cn(),Tn(e)},mg={readContext:function(e){return ia(e)},use:Al,useCallback:function(e,t){return Le="useCallback",lt(),hi(e,t)},useContext:function(e){return Le="useContext",lt(),ia(e)},useEffect:function(e,t){return Le="useEffect",lt(),Au(e,t)},useImperativeHandle:function(e,t,u){return Le="useImperativeHandle",lt(),Xu(e,t,u)},useInsertionEffect:function(e,t){Le="useInsertionEffect",lt(),ls(4,dl,e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",lt(),Ac(e,t)},useMemo:function(e,t){Le="useMemo",lt();var u=_e.H;_e.H=Xl;try{return ym(e,t)}finally{_e.H=u}},useReducer:function(e,t,u){Le="useReducer",lt();var f=_e.H;_e.H=Xl;try{return Su(e,t,u)}finally{_e.H=f}},useRef:function(e){return Le="useRef",lt(),Cc(e)},useState:function(e){Le="useState",lt();var t=_e.H;_e.H=Xl;try{return Nr(e)}finally{_e.H=t}},useDebugValue:function(){Le="useDebugValue",lt()},useDeferredValue:function(e,t){return Le="useDeferredValue",lt(),Mf(e,t)},useTransition:function(){return Le="useTransition",lt(),Zu()},useSyncExternalStore:function(e,t,u){return Le="useSyncExternalStore",lt(),Ti(e,t,u)},useId:function(){return Le="useId",lt(),Wu()},useCacheRefresh:function(){return Le="useCacheRefresh",lt(),mp()}},mg.useMemoCache=Qa,mg.useHostTransitionStatus=wc,mg.useFormState=function(e,t){return Le="useFormState",lt(),Gn(),Oi(e,t)},mg.useActionState=function(e,t){return Le="useActionState",lt(),Oi(e,t)},mg.useOptimistic=function(e){return Le="useOptimistic",lt(),Tn(e)},Cv={readContext:function(e){return ia(e)},use:Al,useCallback:function(e,t){return Le="useCallback",lt(),on(e,t)},useContext:function(e){return Le="useContext",lt(),ia(e)},useEffect:function(e,t){Le="useEffect",lt(),qa(2048,bi,e,t)},useImperativeHandle:function(e,t,u){return Le="useImperativeHandle",lt(),os(e,t,u)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",lt(),qa(4,dl,e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",lt(),qa(4,du,e,t)},useMemo:function(e,t){Le="useMemo",lt();var u=_e.H;_e.H=hl;try{return uo(e,t)}finally{_e.H=u}},useReducer:function(e,t,u){Le="useReducer",lt();var f=_e.H;_e.H=hl;try{return di(e,t,u)}finally{_e.H=f}},useRef:function(){return Le="useRef",lt(),Mn().memoizedState},useState:function(){Le="useState",lt();var e=_e.H;_e.H=hl;try{return di(Br)}finally{_e.H=e}},useDebugValue:function(){Le="useDebugValue",lt()},useDeferredValue:function(e,t){return Le="useDeferredValue",lt(),lo(e,t)},useTransition:function(){return Le="useTransition",lt(),nr()},useSyncExternalStore:function(e,t,u){return Le="useSyncExternalStore",lt(),wl(e,t,u)},useId:function(){return Le="useId",lt(),Mn().memoizedState},useCacheRefresh:function(){return Le="useCacheRefresh",lt(),Mn().memoizedState}},Cv.useMemoCache=Qa,Cv.useHostTransitionStatus=wc,Cv.useFormState=function(e){return Le="useFormState",lt(),Gn(),us(e)},Cv.useActionState=function(e){return Le="useActionState",lt(),us(e)},Cv.useOptimistic=function(e,t){return Le="useOptimistic",lt(),en(e,t)},vg={readContext:function(e){return ia(e)},use:Al,useCallback:function(e,t){return Le="useCallback",lt(),on(e,t)},useContext:function(e){return Le="useContext",lt(),ia(e)},useEffect:function(e,t){Le="useEffect",lt(),qa(2048,bi,e,t)},useImperativeHandle:function(e,t,u){return Le="useImperativeHandle",lt(),os(e,t,u)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",lt(),qa(4,dl,e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",lt(),qa(4,du,e,t)},useMemo:function(e,t){Le="useMemo",lt();var u=_e.H;_e.H=Av;try{return uo(e,t)}finally{_e.H=u}},useReducer:function(e,t,u){Le="useReducer",lt();var f=_e.H;_e.H=Av;try{return Pr(e,t,u)}finally{_e.H=f}},useRef:function(){return Le="useRef",lt(),Mn().memoizedState},useState:function(){Le="useState",lt();var e=_e.H;_e.H=Av;try{return Pr(Br)}finally{_e.H=e}},useDebugValue:function(){Le="useDebugValue",lt()},useDeferredValue:function(e,t){return Le="useDeferredValue",lt(),bm(e,t)},useTransition:function(){return Le="useTransition",lt(),Xd()},useSyncExternalStore:function(e,t,u){return Le="useSyncExternalStore",lt(),wl(e,t,u)},useId:function(){return Le="useId",lt(),Mn().memoizedState},useCacheRefresh:function(){return Le="useCacheRefresh",lt(),Mn().memoizedState}},vg.useMemoCache=Qa,vg.useHostTransitionStatus=wc,vg.useFormState=function(e){return Le="useFormState",lt(),Gn(),Ec(e)},vg.useActionState=function(e){return Le="useActionState",lt(),Ec(e)},vg.useOptimistic=function(e,t){return Le="useOptimistic",lt(),Gu(e,t)},Xl={readContext:function(e){return A(),ia(e)},use:function(e){return C(),Al(e)},useCallback:function(e,t){return Le="useCallback",C(),cn(),hi(e,t)},useContext:function(e){return Le="useContext",C(),cn(),ia(e)},useEffect:function(e,t){return Le="useEffect",C(),cn(),Au(e,t)},useImperativeHandle:function(e,t,u){return Le="useImperativeHandle",C(),cn(),Xu(e,t,u)},useInsertionEffect:function(e,t){Le="useInsertionEffect",C(),cn(),ls(4,dl,e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",C(),cn(),Ac(e,t)},useMemo:function(e,t){Le="useMemo",C(),cn();var u=_e.H;_e.H=Xl;try{return ym(e,t)}finally{_e.H=u}},useReducer:function(e,t,u){Le="useReducer",C(),cn();var f=_e.H;_e.H=Xl;try{return Su(e,t,u)}finally{_e.H=f}},useRef:function(e){return Le="useRef",C(),cn(),Cc(e)},useState:function(e){Le="useState",C(),cn();var t=_e.H;_e.H=Xl;try{return Nr(e)}finally{_e.H=t}},useDebugValue:function(){Le="useDebugValue",C(),cn()},useDeferredValue:function(e,t){return Le="useDeferredValue",C(),cn(),Mf(e,t)},useTransition:function(){return Le="useTransition",C(),cn(),Zu()},useSyncExternalStore:function(e,t,u){return Le="useSyncExternalStore",C(),cn(),Ti(e,t,u)},useId:function(){return Le="useId",C(),cn(),Wu()},useCacheRefresh:function(){return Le="useCacheRefresh",cn(),mp()},useMemoCache:function(e){return C(),Qa(e)}},Xl.useHostTransitionStatus=wc,Xl.useFormState=function(e,t){return Le="useFormState",C(),cn(),Oi(e,t)},Xl.useActionState=function(e,t){return Le="useActionState",C(),cn(),Oi(e,t)},Xl.useOptimistic=function(e){return Le="useOptimistic",C(),cn(),Tn(e)},hl={readContext:function(e){return A(),ia(e)},use:function(e){return C(),Al(e)},useCallback:function(e,t){return Le="useCallback",C(),lt(),on(e,t)},useContext:function(e){return Le="useContext",C(),lt(),ia(e)},useEffect:function(e,t){Le="useEffect",C(),lt(),qa(2048,bi,e,t)},useImperativeHandle:function(e,t,u){return Le="useImperativeHandle",C(),lt(),os(e,t,u)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",C(),lt(),qa(4,dl,e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",C(),lt(),qa(4,du,e,t)},useMemo:function(e,t){Le="useMemo",C(),lt();var u=_e.H;_e.H=hl;try{return uo(e,t)}finally{_e.H=u}},useReducer:function(e,t,u){Le="useReducer",C(),lt();var f=_e.H;_e.H=hl;try{return di(e,t,u)}finally{_e.H=f}},useRef:function(){return Le="useRef",C(),lt(),Mn().memoizedState},useState:function(){Le="useState",C(),lt();var e=_e.H;_e.H=hl;try{return di(Br)}finally{_e.H=e}},useDebugValue:function(){Le="useDebugValue",C(),lt()},useDeferredValue:function(e,t){return Le="useDeferredValue",C(),lt(),lo(e,t)},useTransition:function(){return Le="useTransition",C(),lt(),nr()},useSyncExternalStore:function(e,t,u){return Le="useSyncExternalStore",C(),lt(),wl(e,t,u)},useId:function(){return Le="useId",C(),lt(),Mn().memoizedState},useCacheRefresh:function(){return Le="useCacheRefresh",lt(),Mn().memoizedState},useMemoCache:function(e){return C(),Qa(e)}},hl.useHostTransitionStatus=wc,hl.useFormState=function(e){return Le="useFormState",C(),lt(),us(e)},hl.useActionState=function(e){return Le="useActionState",C(),lt(),us(e)},hl.useOptimistic=function(e,t){return Le="useOptimistic",C(),lt(),en(e,t)},Av={readContext:function(e){return A(),ia(e)},use:function(e){return C(),Al(e)},useCallback:function(e,t){return Le="useCallback",C(),lt(),on(e,t)},useContext:function(e){return Le="useContext",C(),lt(),ia(e)},useEffect:function(e,t){Le="useEffect",C(),lt(),qa(2048,bi,e,t)},useImperativeHandle:function(e,t,u){return Le="useImperativeHandle",C(),lt(),os(e,t,u)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",C(),lt(),qa(4,dl,e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",C(),lt(),qa(4,du,e,t)},useMemo:function(e,t){Le="useMemo",C(),lt();var u=_e.H;_e.H=hl;try{return uo(e,t)}finally{_e.H=u}},useReducer:function(e,t,u){Le="useReducer",C(),lt();var f=_e.H;_e.H=hl;try{return Pr(e,t,u)}finally{_e.H=f}},useRef:function(){return Le="useRef",C(),lt(),Mn().memoizedState},useState:function(){Le="useState",C(),lt();var e=_e.H;_e.H=hl;try{return Pr(Br)}finally{_e.H=e}},useDebugValue:function(){Le="useDebugValue",C(),lt()},useDeferredValue:function(e,t){return Le="useDeferredValue",C(),lt(),bm(e,t)},useTransition:function(){return Le="useTransition",C(),lt(),Xd()},useSyncExternalStore:function(e,t,u){return Le="useSyncExternalStore",C(),lt(),wl(e,t,u)},useId:function(){return Le="useId",C(),lt(),Mn().memoizedState},useCacheRefresh:function(){return Le="useCacheRefresh",lt(),Mn().memoizedState},useMemoCache:function(e){return C(),Qa(e)}},Av.useHostTransitionStatus=wc,Av.useFormState=function(e){return Le="useFormState",C(),lt(),Ec(e)},Av.useActionState=function(e){return Le="useActionState",C(),lt(),Ec(e)},Av.useOptimistic=function(e,t){return Le="useOptimistic",C(),lt(),Gu(e,t)};var oA={},sA=new Set,cA=new Set,fA=new Set,dA=new Set,hA=new Set,mA=new Set,vA=new Set,pA=new Set,gA=new Set,yA=new Set;Object.freeze(oA);var bE={isMounted:function(e){var t=Na;if(t!==null&&zi&&t.tag===1){var u=t.stateNode;u._warnedAboutRefsInRender||console.error("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",V(t)||"A component"),u._warnedAboutRefsInRender=!0}return(e=e._reactInternals)?Ve(e)===e:!1},enqueueSetState:function(e,t,u){e=e._reactInternals;var f=Ma(e),v=Do(f);v.payload=t,u!=null&&(Dm(u),v.callback=u),t=Eo(e,v,f),t!==null&&(sa(t,e,f),eh(t,e,f)),kt(e,f)},enqueueReplaceState:function(e,t,u){e=e._reactInternals;var f=Ma(e),v=Do(f);v.tag=OA,v.payload=t,u!=null&&(Dm(u),v.callback=u),t=Eo(e,v,f),t!==null&&(sa(t,e,f),eh(t,e,f)),kt(e,f)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var u=Ma(e),f=Do(u);f.tag=RA,t!=null&&(Dm(t),f.callback=t),t=Eo(e,f,u),t!==null&&(sa(t,e,u),eh(t,e,u)),Et!==null&&typeof Et.markForceUpdateScheduled=="function"&&Et.markForceUpdateScheduled(e,u)}},fb=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},M0=null,DE=null,bA=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),qi=!1,DA={},EA={},SA={},CA={},_0=!1,AA={},EE={},SE={dehydrated:null,treeContext:null,retryLane:0},wA=!1,CE=oe(null),AE=oe(null),xA={},db=null,F0=null,z0=!1,TA=0,OA=1,RA=2,wE=3,wv=!1,BA=!1,xE=null,TE=!1,NA=null;NA=new Set;var Hh=!1,xr=!1,OE=!1,kA=typeof WeakSet=="function"?WeakSet:Set,Yi=null,U0=null,j0=null,MA=!1,ii=null,Uo=!1,df=null,Qy=8192,_A=!1;try{var FA=Object.preventExtensions({})}catch{_A=!0}var OR={getCacheForType:function(e){var t=ia(Di),u=t.data.get(e);return u===void 0&&(u=e(),t.data.set(e,u)),u},getOwner:function(){return Na}};if(typeof Symbol=="function"&&Symbol.for){var Zy=Symbol.for;Zy("selector.component"),Zy("selector.has_pseudo_class"),Zy("selector.role"),Zy("selector.test_id"),Zy("selector.text")}var RR=[],BR=typeof WeakMap=="function"?WeakMap:Map,jo=0,ml=2,Vh=4,qh=0,Wy=1,L0=2,RE=3,pg=4,zA=5,hb=6,Wa=jo,Fa=null,Fn=null,Yn=0,Pl=0,Iy=1,gg=2,Ky=3,UA=4,BE=5,H0=6,Jy=7,NE=8,za=Pl,Lo=null,Yh=!1,V0=!1,kE=!1,gd=0,Tr=qh,xv=0,Tv=0,ME=0,Ho=0,yg=0,e1=null,hf=null,mb=!1,_E=0,jA=300,vb=1/0,LA=500,t1=null,Ov=null,pb=!1,bg=null,n1=0,FE=0,zE=null,NR=50,a1=0,UE=null,jE=!1,gb=!1,kR=50,Dg=0,r1=null,q0=!1,HA=0,MR=1,_R=2,yb=null,VA=!1,qA=new Set,FR={},bb=null,Y0=null,LE=!1,HE=!1,Db=!1,VE=!1,Eg=0,qE={};(function(){for(var e=0;e<qn.length;e++){var t=qn[e],u=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),tr(u,"on"+t)}tr(et,"onAnimationEnd"),tr(it,"onAnimationIteration"),tr(Ct,"onAnimationStart"),tr("dblclick","onDoubleClick"),tr("focusin","onFocus"),tr("focusout","onBlur"),tr(Ht,"onTransitionRun"),tr(an,"onTransitionStart"),tr(Cn,"onTransitionCancel"),tr(Kt,"onTransitionEnd")})(),dt("onMouseEnter",["mouseout","mouseover"]),dt("onMouseLeave",["mouseout","mouseover"]),dt("onPointerEnter",["pointerout","pointerover"]),dt("onPointerLeave",["pointerout","pointerover"]),fr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fr("onBeforeInput",["compositionend","keypress","textInput","paste"]),fr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var i1="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(" "),YE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(i1)),Eb="_reactListening"+Math.random().toString(36).slice(2),YA=!1,GA=!1,Sb=!1,$A=!1,Cb=!1,Ab=!1,XA=!1,wb={},zR=/\r\n?/g,UR=/\u0000|\uFFFD/g,Sg="http://www.w3.org/1999/xlink",GE="http://www.w3.org/XML/1998/namespace",jR="javascript:throw new Error('React form unexpectedly submitted.')",LR="suppressHydrationWarning",xb="$",Tb="/$",Cg="$?",Ag="$!",$E="F!",PA="F",HR="style",Gh=0,G0=1,Ob=2,XE=null,PE=null,QA={dialog:!0,webview:!0},QE=null,ZA=typeof setTimeout=="function"?setTimeout:void 0,VR=typeof clearTimeout=="function"?clearTimeout:void 0,ZE=-1,WA=typeof Promise=="function"?Promise:void 0,qR=typeof queueMicrotask=="function"?queueMicrotask:typeof WA<"u"?function(e){return WA.resolve(null).then(e).catch(Hn)}:ZA,wg=0,u1=1,IA=2,KA=3,Ks=4,Js=new Map,JA=new Set,$h=tn.d;tn.d={f:function(){var e=$h.f(),t=gi();return e||t},r:function(e){var t=Wt(e);t!==null&&t.tag===5&&t.type==="form"?oo(t):$h.r(e)},D:function(e){$h.D(e),ed("dns-prefetch",e,null)},C:function(e,t){$h.C(e,t),ed("preconnect",e,t)},L:function(e,t,u){$h.L(e,t,u);var f=$0;if(f&&e&&t){var v='link[rel="preload"][as="'+ui(t)+'"]';t==="image"&&u&&u.imageSrcSet?(v+='[imagesrcset="'+ui(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(v+='[imagesizes="'+ui(u.imageSizes)+'"]')):v+='[href="'+ui(e)+'"]';var g=v;switch(t){case"style":g=Pc(e);break;case"script":g=Qc(e)}Js.has(g)||(e=ht({rel:"preload",href:t==="image"&&u&&u.imageSrcSet?void 0:e,as:t},u),Js.set(g,e),f.querySelector(v)!==null||t==="style"&&f.querySelector(ur(g))||t==="script"&&f.querySelector(bh(g))||(t=f.createElement("link"),_a(t,"link",e),Bn(t),f.head.appendChild(t)))}},m:function(e,t){$h.m(e,t);var u=$0;if(u&&e){var f=t&&typeof t.as=="string"?t.as:"script",v='link[rel="modulepreload"][as="'+ui(f)+'"][href="'+ui(e)+'"]',g=v;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Qc(e)}if(!Js.has(g)&&(e=ht({rel:"modulepreload",href:e},t),Js.set(g,e),u.querySelector(v)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(bh(g)))return}f=u.createElement("link"),_a(f,"link",e),Bn(f),u.head.appendChild(f)}}},X:function(e,t){$h.X(e,t);var u=$0;if(u&&e){var f=Gt(u).hoistableScripts,v=Qc(e),g=f.get(v);g||(g=u.querySelector(bh(v)),g||(e=ht({src:e,async:!0},t),(t=Js.get(v))&&ks(e,t),g=u.createElement("script"),Bn(g),_a(g,"link",e),u.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},f.set(v,g))}},S:function(e,t,u){$h.S(e,t,u);var f=$0;if(f&&e){var v=Gt(f).hoistableStyles,g=Pc(e);t=t||"default";var w=v.get(g);if(!w){var k={loading:wg,preload:null};if(w=f.querySelector(ur(g)))k.loading=u1|Ks;else{e=ht({rel:"stylesheet",href:e,"data-precedence":t},u),(u=Js.get(g))&&Dh(e,u);var G=w=f.createElement("link");Bn(G),_a(G,"link",e),G._p=new Promise(function(P,Oe){G.onload=P,G.onerror=Oe}),G.addEventListener("load",function(){k.loading|=u1}),G.addEventListener("error",function(){k.loading|=IA}),k.loading|=Ks,Zc(w,t,f)}w={type:"stylesheet",instance:w,count:1,state:k},v.set(g,w)}}},M:function(e,t){$h.M(e,t);var u=$0;if(u&&e){var f=Gt(u).hoistableScripts,v=Qc(e),g=f.get(v);g||(g=u.querySelector(bh(v)),g||(e=ht({src:e,async:!0,type:"module"},t),(t=Js.get(v))&&ks(e,t),g=u.createElement("script"),Bn(g),_a(g,"link",e),u.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},f.set(v,g))}}};var $0=typeof document>"u"?null:document,Rb=null,l1=null,WE=null,Bb=null,xg=Xa,o1={$$typeof:iu,Provider:null,Consumer:null,_currentValue:xg,_currentValue2:xg,_threadCount:0},ew="%c%s%c ",tw="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",nw="",Nb=" ",aw=Function.prototype.bind,rw=!1,iw=null,uw=null,lw=null,ow=null,sw=null,cw=null,fw=null,dw=null,hw=null;iw=function(e,t,u,f){t=n(e,t),t!==null&&(u=a(t.memoizedState,u,0,f),t.memoizedState=u,t.baseState=u,e.memoizedProps=ht({},e.memoizedProps),u=Sa(e,2),u!==null&&sa(u,e,2))},uw=function(e,t,u){t=n(e,t),t!==null&&(u=d(t.memoizedState,u,0),t.memoizedState=u,t.baseState=u,e.memoizedProps=ht({},e.memoizedProps),u=Sa(e,2),u!==null&&sa(u,e,2))},lw=function(e,t,u,f){t=n(e,t),t!==null&&(u=i(t.memoizedState,u,f),t.memoizedState=u,t.baseState=u,e.memoizedProps=ht({},e.memoizedProps),u=Sa(e,2),u!==null&&sa(u,e,2))},ow=function(e,t,u){e.pendingProps=a(e.memoizedProps,t,0,u),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Sa(e,2),t!==null&&sa(t,e,2)},sw=function(e,t){e.pendingProps=d(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Sa(e,2),t!==null&&sa(t,e,2)},cw=function(e,t,u){e.pendingProps=i(e.memoizedProps,t,u),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Sa(e,2),t!==null&&sa(t,e,2)},fw=function(e){var t=Sa(e,2);t!==null&&sa(t,e,2)},dw=function(e){b=e},hw=function(e){p=e};var kb=!0,Mb=null,IE=!1,Rv=null,Bv=null,Nv=null,s1=new Map,c1=new Map,kv=[],YR="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".split(" "),_b=null;if(rd.prototype.render=Xp.prototype.render=function(e,t){var u=this._internalRoot;if(u===null)throw Error("Cannot update an unmounted root.");typeof t=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):x(t)?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof t<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),t=u.current;var f=Ma(t);Vp(t,f,e,u,null,null)},rd.prototype.unmount=Xp.prototype.unmount=function(e){if(typeof e=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Wa&(ml|Vh))!==jo&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),c0(null,e,null,null),gi(),t[js]=null}},rd.prototype.unstable_scheduleHydration=function(e){if(e){var t=mt();e={blockedOn:null,target:e,priority:t};for(var u=0;u<kv.length&&t!==0&&t<kv[u].priority;u++);kv.splice(u,0,e),u===0&&Ro(e)}},function(){var e=id.version;if(e!=="19.0.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
954
+ - react: `+(e+`
955
+ - react-dom: 19.0.0
956
+ Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),tn.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=be(t),e=e!==null?qe(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:_e,findFiberByHostInstance:Bt,reconcilerVersion:"19.0.0"};return e.overrideHookState=iw,e.overrideHookStateDeletePath=uw,e.overrideHookStateRenamePath=lw,e.overrideProps=ow,e.overridePropsDeletePath=sw,e.overridePropsRenamePath=cw,e.scheduleUpdate=fw,e.setErrorHandler=dw,e.setSuspenseHandler=hw,e.scheduleRefresh=U,e.scheduleRoot=z,e.setRefreshHandler=F,e.getCurrentFiber=qp,e.getLaneLabelMap=Ey,e.injectProfilingHooks=ln,Lt(e)}()&&Li&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var mw=window.location.protocol;/^(https?|file):$/.test(mw)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(mw==="file:"?`
957
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}v1.createRoot=function(e,t){if(!x(e))throw Error("Target container is not a DOM element.");Pp(e);var u=!1,f="",v=Ff,g=Em,w=ho,k=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ql&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
958
+
959
+ let root = createRoot(domContainer);
960
+ root.render(<App />);`),t.unstable_strictMode===!0&&(u=!0),t.identifierPrefix!==void 0&&(f=t.identifierPrefix),t.onUncaughtError!==void 0&&(v=t.onUncaughtError),t.onCaughtError!==void 0&&(g=t.onCaughtError),t.onRecoverableError!==void 0&&(w=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(k=t.unstable_transitionCallbacks)),t=Lp(e,1,!1,null,null,u,f,v,g,w,k,null),e[js]=t.current,Gm(e.nodeType===8?e.parentNode:e),new Xp(t)},v1.hydrateRoot=function(e,t,u){if(!x(e))throw Error("Target container is not a DOM element.");Pp(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var f=!1,v="",g=Ff,w=Em,k=ho,G=null,P=null;return u!=null&&(u.unstable_strictMode===!0&&(f=!0),u.identifierPrefix!==void 0&&(v=u.identifierPrefix),u.onUncaughtError!==void 0&&(g=u.onUncaughtError),u.onCaughtError!==void 0&&(w=u.onCaughtError),u.onRecoverableError!==void 0&&(k=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(G=u.unstable_transitionCallbacks),u.formState!==void 0&&(P=u.formState)),t=Lp(e,1,!0,t,u??null,f,v,g,w,k,G,P),t.context=Hp(null),u=t.current,f=Ma(u),v=Do(f),v.callback=null,Eo(u,v,f),t.current.lanes=f,De(t,f),Fu(t),e[js]=t.current,Gm(e),new rd(t)},v1.version="19.0.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),v1}var LO;function jz(){if(LO)return nD.exports;LO=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}}return process.env.NODE_ENV==="production"?(n(),nD.exports=zz()):nD.exports=Uz(),nD.exports}var Lz=jz();class Hz{constructor(a,i,o,d){this.uuid=i,this.context=d,this.client=o,Ed.dispatch(ly({uuid:i})),this.root=Lz.createRoot(a)}render(){this.root.render(me.jsx("div",{children:me.jsx(PF,{client:this.client,children:me.jsx(c7,{store:Ed,children:me.jsx(Mz,{uuid:this.uuid,context:this.context})})})}))}}const hu=[];for(let n=0;n<256;++n)hu.push((n+256).toString(16).slice(1));function Vz(n,a=0){return(hu[n[a+0]]+hu[n[a+1]]+hu[n[a+2]]+hu[n[a+3]]+"-"+hu[n[a+4]]+hu[n[a+5]]+"-"+hu[n[a+6]]+hu[n[a+7]]+"-"+hu[n[a+8]]+hu[n[a+9]]+"-"+hu[n[a+10]]+hu[n[a+11]]+hu[n[a+12]]+hu[n[a+13]]+hu[n[a+14]]+hu[n[a+15]]).toLowerCase()}let KS;const qz=new Uint8Array(16);function Yz(){if(!KS){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");KS=crypto.getRandomValues.bind(crypto)}return KS(qz)}const Gz=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),HO={randomUUID:Gz};function $z(n,a,i){var d;if(HO.randomUUID&&!n)return HO.randomUUID();n=n||{};const o=n.random??((d=n.rng)==null?void 0:d.call(n))??Yz();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=o[6]&15|64,o[8]=o[8]&63|128,Vz(o)}const Xz=["id"],Pz=X0.defineComponent({__name:"DeltaSlateEditor",props:X0.mergeModels({uuid:{default:()=>$z()},initialValue:{default:()=>[{type:"paragraph",children:[{text:""}]}]},context:{},client:{}},{tree:{},treeModifiers:{}}),emits:["update:tree"],setup(n,{expose:a}){let i;const o=n,d=X0.useModel(n,"tree");a({setValue:E=>{Ed.dispatch(ly({uuid:o.uuid,state:{value:E,initialValue:E}}))},setInitialValue:E=>{Ed.dispatch(mk({uuid:o.uuid,initialValue:E}))}});function p(){const E=gR(()=>m2(Ed.getState(),o.uuid).value);Ed.subscribe(E(C=>{d.value=C}))}function b(){i=new Hz(document.getElementById(o.uuid),o.uuid,o.client,o.context),i.render(),Ed.dispatch(ly({uuid:o.uuid,state:{initialValue:o.initialValue,value:o.initialValue}})),p()}return X0.onMounted(()=>{b()}),(E,C)=>(X0.openBlock(),X0.createElementBlock("div",{id:E.uuid},null,8,Xz))}}),Qz={install(n){n.component("DeltaSlateEditor",Pz)}};exports.smartText=Qz;