@fmfi-uk-1-ain-412/structure-explorer 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -0
- package/dist/App.d.ts +2 -0
- package/dist/AppComponent.d.ts +18 -0
- package/dist/__tests__/Formula.test.d.ts +1 -0
- package/dist/app/hooks.d.ts +4 -0
- package/dist/app/store.d.ts +16 -0
- package/dist/components_helper/ChoiceBubble.d.ts +8 -0
- package/dist/components_helper/ErrorFeedback.d.ts +7 -0
- package/dist/components_helper/InputGroupTitle.d.ts +14 -0
- package/dist/components_helper/MessageBubble.d.ts +13 -0
- package/dist/components_helper/SelectBubble.d.ts +10 -0
- package/dist/components_helper/TooltipButton.d.ts +6 -0
- package/dist/features/formulas/FormulaCard.d.ts +1 -0
- package/dist/features/formulas/FormulaComponent.d.ts +7 -0
- package/dist/features/formulas/formulasSlice.d.ts +12373 -0
- package/dist/features/game/GameComponent.d.ts +8 -0
- package/dist/features/game/GameControls.d.ts +5 -0
- package/dist/features/game/GameHistory.d.ts +5 -0
- package/dist/features/import/importThunk.d.ts +2 -0
- package/dist/features/language/LanguageComponent.d.ts +1 -0
- package/dist/features/language/languageSlice.d.ts +588 -0
- package/dist/features/structure/InterpretationInput.d.ts +14 -0
- package/dist/features/structure/StructureComponent.d.ts +1 -0
- package/dist/features/structure/structureSlice.d.ts +886 -0
- package/dist/features/variables/VariablesComponent.d.ts +1 -0
- package/dist/features/variables/variablesSlice.d.ts +719 -0
- package/dist/index.d.ts +1 -0
- package/dist/logicContext.d.ts +27 -0
- package/dist/main.d.ts +6 -0
- package/dist/model/Expression.d.ts +8 -0
- package/dist/model/Language.d.ts +32 -0
- package/dist/model/Structure.d.ts +19 -0
- package/dist/model/formula/Formula.Conjunction.d.ts +30 -0
- package/dist/model/formula/Formula.Disjunction.d.ts +30 -0
- package/dist/model/formula/Formula.EqualityAtom.d.ts +36 -0
- package/dist/model/formula/Formula.Equivalence.d.ts +35 -0
- package/dist/model/formula/Formula.ExistentialQuant.d.ts +29 -0
- package/dist/model/formula/Formula.Implication.d.ts +35 -0
- package/dist/model/formula/Formula.Negation.d.ts +35 -0
- package/dist/model/formula/Formula.PredicateAtom.d.ts +37 -0
- package/dist/model/formula/Formula.UniversalQuant.d.ts +29 -0
- package/dist/model/formula/Formula.d.ts +37 -0
- package/dist/model/formula/QuantifiedFormula.d.ts +18 -0
- package/dist/model/term/Term.Constant.d.ts +32 -0
- package/dist/model/term/Term.FunctionTerm.d.ts +34 -0
- package/dist/model/term/Term.Variable.d.ts +33 -0
- package/dist/model/term/Term.d.ts +15 -0
- package/dist/structure-explorer.css +5 -0
- package/dist/structure-explorer.es.js +25155 -0
- package/dist/structure-explorer.umd.js +920 -0
- package/dist/vite.svg +1 -0
- package/package.json +55 -0
|
@@ -0,0 +1,920 @@
|
|
|
1
|
+
(function(X,Rr){typeof exports=="object"&&typeof module<"u"?module.exports=Rr(require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["react","react-dom"],Rr):(X=typeof globalThis<"u"?globalThis:X||self,X.StructureExplorer=Rr(X.React,X.ReactDOM))})(this,function(X,Rr){"use strict";function gp(r){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const o in r)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}return n.default=r,Object.freeze(n)}const Be=gp(X);function Ki(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ji={exports:{}},j0={};/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/var mo,Sf;function go(){if(Sf)return mo;Sf=1;var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function f(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var p={},b=0;b<10;b++)p["_"+String.fromCharCode(b)]=b;var C=Object.getOwnPropertyNames(p).map(function(E){return p[E]});if(C.join("")!=="0123456789")return!1;var w={};return"abcdefghijklmnopqrst".split("").forEach(function(E){w[E]=E}),Object.keys(Object.assign({},w)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return mo=f()?Object.assign:function(e,p){for(var b,C=i(e),w,E=1;E<arguments.length;E++){b=Object(arguments[E]);for(var B in b)n.call(b,B)&&(C[B]=b[B]);if(r){w=r(b);for(var M=0;M<w.length;M++)o.call(b,w[M])&&(C[w[M]]=b[w[M]])}}return C},mo}/** @license React v17.0.2
|
|
6
|
+
* react-jsx-runtime.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/var Ff;function yp(){if(Ff)return j0;Ff=1,go();var r=X,n=60103;if(j0.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var o=Symbol.for;n=o("react.element"),j0.Fragment=o("react.fragment")}var i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f=Object.prototype.hasOwnProperty,e={key:!0,ref:!0,__self:!0,__source:!0};function p(b,C,w){var E,B={},M=null,j=null;w!==void 0&&(M=""+w),C.key!==void 0&&(M=""+C.key),C.ref!==void 0&&(j=C.ref);for(E in C)f.call(C,E)&&!e.hasOwnProperty(E)&&(B[E]=C[E]);if(b&&b.defaultProps)for(E in C=b.defaultProps,C)B[E]===void 0&&(B[E]=C[E]);return{$$typeof:n,type:b,key:M,ref:j,props:B,_owner:i.current}}return j0.jsx=p,j0.jsxs=p,j0}var yo={};/** @license React v17.0.2
|
|
13
|
+
* react-jsx-runtime.development.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/var Df;function bp(){return Df||(Df=1,function(r){process.env.NODE_ENV!=="production"&&function(){var n=X,o=go(),i=60103,f=60106;r.Fragment=60107;var e=60108,p=60114,b=60109,C=60110,w=60112,E=60113,B=60120,M=60115,j=60116,Y=60121,J=60122,I=60117,_=60129,V=60131;if(typeof Symbol=="function"&&Symbol.for){var te=Symbol.for;i=te("react.element"),f=te("react.portal"),r.Fragment=te("react.fragment"),e=te("react.strict_mode"),p=te("react.profiler"),b=te("react.provider"),C=te("react.context"),w=te("react.forward_ref"),E=te("react.suspense"),B=te("react.suspense_list"),M=te("react.memo"),j=te("react.lazy"),Y=te("react.block"),J=te("react.server.block"),I=te("react.fundamental"),te("react.scope"),te("react.opaque.id"),_=te("react.debug_trace_mode"),te("react.offscreen"),V=te("react.legacy_hidden")}var Z=typeof Symbol=="function"&&Symbol.iterator,z="@@iterator";function le(W){if(W===null||typeof W!="object")return null;var ge=Z&&W[Z]||W[z];return typeof ge=="function"?ge:null}var pe=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function be(W){{for(var ge=arguments.length,De=new Array(ge>1?ge-1:0),ze=1;ze<ge;ze++)De[ze-1]=arguments[ze];xe("error",W,De)}}function xe(W,ge,De){{var ze=pe.ReactDebugCurrentFrame,Ve=ze.getStackAddendum();Ve!==""&&(ge+="%s",De=De.concat([Ve]));var g=De.map(function(v){return""+v});g.unshift("Warning: "+ge),Function.prototype.apply.call(console[W],console,g)}}var $e=!1;function Se(W){return!!(typeof W=="string"||typeof W=="function"||W===r.Fragment||W===p||W===_||W===e||W===E||W===B||W===V||$e||typeof W=="object"&&W!==null&&(W.$$typeof===j||W.$$typeof===M||W.$$typeof===b||W.$$typeof===C||W.$$typeof===w||W.$$typeof===I||W.$$typeof===Y||W[0]===J))}function Me(W,ge,De){var ze=ge.displayName||ge.name||"";return W.displayName||(ze!==""?De+"("+ze+")":De)}function oe(W){return W.displayName||"Context"}function Te(W){if(W==null)return null;if(typeof W.tag=="number"&&be("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof W=="function")return W.displayName||W.name||null;if(typeof W=="string")return W;switch(W){case r.Fragment:return"Fragment";case f:return"Portal";case p:return"Profiler";case e:return"StrictMode";case E:return"Suspense";case B:return"SuspenseList"}if(typeof W=="object")switch(W.$$typeof){case C:var ge=W;return oe(ge)+".Consumer";case b:var De=W;return oe(De._context)+".Provider";case w:return Me(W,W.render,"ForwardRef");case M:return Te(W.type);case Y:return Te(W._render);case j:{var ze=W,Ve=ze._payload,g=ze._init;try{return Te(g(Ve))}catch{return null}}}return null}var Xe=0,et,lt,Pt,Dt,ce,ue,je;function Le(){}Le.__reactDisabledLog=!0;function _e(){{if(Xe===0){et=console.log,lt=console.info,Pt=console.warn,Dt=console.error,ce=console.group,ue=console.groupCollapsed,je=console.groupEnd;var W={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:W,log:W,warn:W,error:W,group:W,groupCollapsed:W,groupEnd:W})}Xe++}}function qe(){{if(Xe--,Xe===0){var W={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:o({},W,{value:et}),info:o({},W,{value:lt}),warn:o({},W,{value:Pt}),error:o({},W,{value:Dt}),group:o({},W,{value:ce}),groupCollapsed:o({},W,{value:ue}),groupEnd:o({},W,{value:je})})}Xe<0&&be("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pe=pe.ReactCurrentDispatcher,Ie;function Oe(W,ge,De){{if(Ie===void 0)try{throw Error()}catch(Ve){var ze=Ve.stack.trim().match(/\n( *(at )?)/);Ie=ze&&ze[1]||""}return`
|
|
20
|
+
`+Ie+W}}var Ke=!1,Ue;{var we=typeof WeakMap=="function"?WeakMap:Map;Ue=new we}function ae(W,ge){if(!W||Ke)return"";{var De=Ue.get(W);if(De!==void 0)return De}var ze;Ke=!0;var Ve=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=Pe.current,Pe.current=null,_e();try{if(ge){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(ke){ze=ke}Reflect.construct(W,[],v)}else{try{v.call()}catch(ke){ze=ke}W.call(v.prototype)}}else{try{throw Error()}catch(ke){ze=ke}W()}}catch(ke){if(ke&&ze&&typeof ke.stack=="string"){for(var ie=ke.stack.split(`
|
|
21
|
+
`),F=ze.stack.split(`
|
|
22
|
+
`),R=ie.length-1,Ye=F.length-1;R>=1&&Ye>=0&&ie[R]!==F[Ye];)Ye--;for(;R>=1&&Ye>=0;R--,Ye--)if(ie[R]!==F[Ye]){if(R!==1||Ye!==1)do if(R--,Ye--,Ye<0||ie[R]!==F[Ye]){var Ee=`
|
|
23
|
+
`+ie[R].replace(" at new "," at ");return typeof W=="function"&&Ue.set(W,Ee),Ee}while(R>=1&&Ye>=0);break}}}finally{Ke=!1,Pe.current=g,qe(),Error.prepareStackTrace=Ve}var Ot=W?W.displayName||W.name:"",hr=Ot?Oe(Ot):"";return typeof W=="function"&&Ue.set(W,hr),hr}function vt(W,ge,De){return ae(W,!1)}function It(W){var ge=W.prototype;return!!(ge&&ge.isReactComponent)}function Jt(W,ge,De){if(W==null)return"";if(typeof W=="function")return ae(W,It(W));if(typeof W=="string")return Oe(W);switch(W){case E:return Oe("Suspense");case B:return Oe("SuspenseList")}if(typeof W=="object")switch(W.$$typeof){case w:return vt(W.render);case M:return Jt(W.type,ge,De);case Y:return vt(W._render);case j:{var ze=W,Ve=ze._payload,g=ze._init;try{return Jt(g(Ve),ge,De)}catch{}}}return""}var Zr={},En=pe.ReactDebugCurrentFrame;function fr(W){if(W){var ge=W._owner,De=Jt(W.type,W._source,ge?ge.type:null);En.setExtraStackFrame(De)}else En.setExtraStackFrame(null)}function Zt(W,ge,De,ze,Ve){{var g=Function.call.bind(Object.prototype.hasOwnProperty);for(var v in W)if(g(W,v)){var ie=void 0;try{if(typeof W[v]!="function"){var F=Error((ze||"React class")+": "+De+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof W[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}ie=W[v](ge,v,ze,De,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){ie=R}ie&&!(ie instanceof Error)&&(fr(Ve),be("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ze||"React class",De,v,typeof ie),fr(null)),ie instanceof Error&&!(ie.message in Zr)&&(Zr[ie.message]=!0,fr(Ve),be("Failed %s type: %s",De,ie.message),fr(null))}}}var Yt=pe.ReactCurrentOwner,Ar=Object.prototype.hasOwnProperty,Gn={key:!0,ref:!0,__self:!0,__source:!0},zr,$r;function Xn(W){if(Ar.call(W,"ref")){var ge=Object.getOwnPropertyDescriptor(W,"ref").get;if(ge&&ge.isReactWarning)return!1}return W.ref!==void 0}function Kn(W){if(Ar.call(W,"key")){var ge=Object.getOwnPropertyDescriptor(W,"key").get;if(ge&&ge.isReactWarning)return!1}return W.key!==void 0}function xn(W,ge){typeof W.ref=="string"&&Yt.current}function Qr(W,ge){{var De=function(){zr||(zr=!0,be("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ge))};De.isReactWarning=!0,Object.defineProperty(W,"key",{get:De,configurable:!0})}}function Er(W,ge){{var De=function(){$r||($r=!0,be("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ge))};De.isReactWarning=!0,Object.defineProperty(W,"ref",{get:De,configurable:!0})}}var Zs=function(W,ge,De,ze,Ve,g,v){var ie={$$typeof:i,type:W,key:ge,ref:De,props:v,_owner:g};return ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ie,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ze}),Object.defineProperty(ie,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ve}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie};function wn(W,ge,De,ze,Ve){{var g,v={},ie=null,F=null;De!==void 0&&(ie=""+De),Kn(ge)&&(ie=""+ge.key),Xn(ge)&&(F=ge.ref,xn(ge,Ve));for(g in ge)Ar.call(ge,g)&&!Gn.hasOwnProperty(g)&&(v[g]=ge[g]);if(W&&W.defaultProps){var R=W.defaultProps;for(g in R)v[g]===void 0&&(v[g]=R[g])}if(ie||F){var Ye=typeof W=="function"?W.displayName||W.name||"Unknown":W;ie&&Qr(v,Ye),F&&Er(v,Ye)}return Zs(W,ie,F,Ve,ze,Yt.current,v)}}var Cn=pe.ReactCurrentOwner,b0=pe.ReactDebugCurrentFrame;function ft(W){if(W){var ge=W._owner,De=Jt(W.type,W._source,ge?ge.type:null);b0.setExtraStackFrame(De)}else b0.setExtraStackFrame(null)}var ve;ve=!1;function dr(W){return typeof W=="object"&&W!==null&&W.$$typeof===i}function Sn(){{if(Cn.current){var W=Te(Cn.current.type);if(W)return`
|
|
24
|
+
|
|
25
|
+
Check the render method of \``+W+"`."}return""}}function Jn(W){return""}var v0={};function es(W){{var ge=Sn();if(!ge){var De=typeof W=="string"?W:W.displayName||W.name;De&&(ge=`
|
|
26
|
+
|
|
27
|
+
Check the top-level render call using <`+De+">.")}return ge}}function Ir(W,ge){{if(!W._store||W._store.validated||W.key!=null)return;W._store.validated=!0;var De=es(ge);if(v0[De])return;v0[De]=!0;var ze="";W&&W._owner&&W._owner!==Cn.current&&(ze=" It was passed a child from "+Te(W._owner.type)+"."),ft(W),be('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',De,ze),ft(null)}}function Zn(W,ge){{if(typeof W!="object")return;if(Array.isArray(W))for(var De=0;De<W.length;De++){var ze=W[De];dr(ze)&&Ir(ze,ge)}else if(dr(W))W._store&&(W._store.validated=!0);else if(W){var Ve=le(W);if(typeof Ve=="function"&&Ve!==W.entries)for(var g=Ve.call(W),v;!(v=g.next()).done;)dr(v.value)&&Ir(v.value,ge)}}}function ts(W){{var ge=W.type;if(ge==null||typeof ge=="string")return;var De;if(typeof ge=="function")De=ge.propTypes;else if(typeof ge=="object"&&(ge.$$typeof===w||ge.$$typeof===M))De=ge.propTypes;else return;if(De){var ze=Te(ge);Zt(De,W.props,"prop",ze,W)}else if(ge.PropTypes!==void 0&&!ve){ve=!0;var Ve=Te(ge);be("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ve||"Unknown")}typeof ge.getDefaultProps=="function"&&!ge.getDefaultProps.isReactClassApproved&&be("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qs(W){{for(var ge=Object.keys(W.props),De=0;De<ge.length;De++){var ze=ge[De];if(ze!=="children"&&ze!=="key"){ft(W),be("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ze),ft(null);break}}W.ref!==null&&(ft(W),be("Invalid attribute `ref` supplied to `React.Fragment`."),ft(null))}}function Gt(W,ge,De,ze,Ve,g){{var v=Se(W);if(!v){var ie="";(W===void 0||typeof W=="object"&&W!==null&&Object.keys(W).length===0)&&(ie+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var F=Jn();F?ie+=F:ie+=Sn();var R;W===null?R="null":Array.isArray(W)?R="array":W!==void 0&&W.$$typeof===i?(R="<"+(Te(W.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):R=typeof W,be("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,ie)}var Ye=wn(W,ge,De,Ve,g);if(Ye==null)return Ye;if(v){var Ee=ge.children;if(Ee!==void 0)if(ze)if(Array.isArray(Ee)){for(var Ot=0;Ot<Ee.length;Ot++)Zn(Ee[Ot],W);Object.freeze&&Object.freeze(Ee)}else be("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 Zn(Ee,W)}return W===r.Fragment?Qs(Ye):ts(Ye),Ye}}function xr(W,ge,De){return Gt(W,ge,De,!0)}function wr(W,ge,De){return Gt(W,ge,De,!1)}var A0=wr,Qn=xr;r.jsx=A0,r.jsxs=Qn}()}(yo)),yo}var Bf;function vp(){return Bf||(Bf=1,process.env.NODE_ENV==="production"?Ji.exports=yp():Ji.exports=bp()),Ji.exports}var k=vp(),bo={exports:{}};/*!
|
|
28
|
+
Copyright (c) 2018 Jed Watson.
|
|
29
|
+
Licensed under the MIT License (MIT), see
|
|
30
|
+
http://jedwatson.github.io/classnames
|
|
31
|
+
*/var kf;function Ap(){return kf||(kf=1,function(r){(function(){var n={}.hasOwnProperty;function o(){for(var e="",p=0;p<arguments.length;p++){var b=arguments[p];b&&(e=f(e,i(b)))}return e}function i(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var p="";for(var b in e)n.call(e,b)&&e[b]&&(p=f(p,b));return p}function f(e,p){return p?e?e+" "+p:e+p:e}r.exports?(o.default=o,r.exports=o):window.classNames=o})()}(bo)),bo.exports}var Ep=Ap();const Je=Ki(Ep);function vo(){return vo=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)({}).hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},vo.apply(null,arguments)}function Tf(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)!==-1)continue;o[i]=r[i]}return o}var Ao,$f;function xp(){if($f)return Ao;$f=1;var r=function(n,o,i,f,e,p,b,C){if(process.env.NODE_ENV!=="production"&&o===void 0)throw new Error("invariant requires an error message argument");if(!n){var w;if(o===void 0)w=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var E=[i,f,e,p,b,C],B=0;w=new Error(o.replace(/%s/g,function(){return E[B++]})),w.name="Invariant Violation"}throw w.framesToPop=1,w}};return Ao=r,Ao}var wp=xp();const Mf=Ki(wp);function Of(r){return"default"+r.charAt(0).toUpperCase()+r.substr(1)}function Cp(r){var n=Sp(r,"string");return typeof n=="symbol"?n:String(n)}function Sp(r,n){if(typeof r!="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var i=o.call(r,n);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function Nf(r,n,o){var i=X.useRef(r!==void 0),f=X.useState(n),e=f[0],p=f[1],b=r!==void 0,C=i.current;return i.current=b,!b&&C&&e!==n&&p(n),[b?r:e,X.useCallback(function(w){for(var E=arguments.length,B=new Array(E>1?E-1:0),M=1;M<E;M++)B[M-1]=arguments[M];o&&o.apply(void 0,[w].concat(B)),p(w)},[o])]}function Fp(r,n){return Object.keys(n).reduce(function(o,i){var f,e=o,p=e[Of(i)],b=e[i],C=Tf(e,[Of(i),i].map(Cp)),w=n[i],E=Nf(b,p,r[w]),B=E[0],M=E[1];return vo({},C,(f={},f[i]=B,f[w]=M,f))},r)}function Eo(r,n){return Eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},Eo(r,n)}function Dp(r,n){r.prototype=Object.create(n.prototype),r.prototype.constructor=r,Eo(r,n)}const Bp=["xxl","xl","lg","md","sm","xs"],ws=Be.createContext({prefixes:{},breakpoints:Bp,minBreakpoint:"xs"}),{Consumer:nv,Provider:sv}=ws;function Qe(r,n){const{prefixes:o}=X.useContext(ws);return r||o[n]||n}function _f(){const{breakpoints:r}=X.useContext(ws);return r}function Pf(){const{minBreakpoint:r}=X.useContext(ws);return r}function xo(){const{dir:r}=X.useContext(ws);return r==="rtl"}function Zi(r){return r&&r.ownerDocument||document}function kp(r){var n=Zi(r);return n&&n.defaultView||window}function Tp(r,n){return kp(r).getComputedStyle(r,n)}var $p=/([A-Z])/g;function Mp(r){return r.replace($p,"-$1").toLowerCase()}var Op=/^ms-/;function Qi(r){return Mp(r).replace(Op,"-ms-")}var Np=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function _p(r){return!!(r&&Np.test(r))}function Rf(r,n){var o="",i="";if(typeof n=="string")return r.style.getPropertyValue(Qi(n))||Tp(r).getPropertyValue(Qi(n));Object.keys(n).forEach(function(f){var e=n[f];!e&&e!==0?r.style.removeProperty(Qi(f)):_p(f)?i+=f+"("+e+") ":o+=Qi(f)+": "+e+";"}),i&&(o+="transform: "+i+";"),r.style.cssText+=";"+o}var ea={exports:{}},ta={exports:{}},pt={};/** @license React v16.13.1
|
|
32
|
+
* react-is.production.min.js
|
|
33
|
+
*
|
|
34
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
35
|
+
*
|
|
36
|
+
* This source code is licensed under the MIT license found in the
|
|
37
|
+
* LICENSE file in the root directory of this source tree.
|
|
38
|
+
*/var jf;function Pp(){if(jf)return pt;jf=1;var r=typeof Symbol=="function"&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,e=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,b=r?Symbol.for("react.context"):60110,C=r?Symbol.for("react.async_mode"):60111,w=r?Symbol.for("react.concurrent_mode"):60111,E=r?Symbol.for("react.forward_ref"):60112,B=r?Symbol.for("react.suspense"):60113,M=r?Symbol.for("react.suspense_list"):60120,j=r?Symbol.for("react.memo"):60115,Y=r?Symbol.for("react.lazy"):60116,J=r?Symbol.for("react.block"):60121,I=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,V=r?Symbol.for("react.scope"):60119;function te(z){if(typeof z=="object"&&z!==null){var le=z.$$typeof;switch(le){case n:switch(z=z.type,z){case C:case w:case i:case e:case f:case B:return z;default:switch(z=z&&z.$$typeof,z){case b:case E:case Y:case j:case p:return z;default:return le}}case o:return le}}}function Z(z){return te(z)===w}return pt.AsyncMode=C,pt.ConcurrentMode=w,pt.ContextConsumer=b,pt.ContextProvider=p,pt.Element=n,pt.ForwardRef=E,pt.Fragment=i,pt.Lazy=Y,pt.Memo=j,pt.Portal=o,pt.Profiler=e,pt.StrictMode=f,pt.Suspense=B,pt.isAsyncMode=function(z){return Z(z)||te(z)===C},pt.isConcurrentMode=Z,pt.isContextConsumer=function(z){return te(z)===b},pt.isContextProvider=function(z){return te(z)===p},pt.isElement=function(z){return typeof z=="object"&&z!==null&&z.$$typeof===n},pt.isForwardRef=function(z){return te(z)===E},pt.isFragment=function(z){return te(z)===i},pt.isLazy=function(z){return te(z)===Y},pt.isMemo=function(z){return te(z)===j},pt.isPortal=function(z){return te(z)===o},pt.isProfiler=function(z){return te(z)===e},pt.isStrictMode=function(z){return te(z)===f},pt.isSuspense=function(z){return te(z)===B},pt.isValidElementType=function(z){return typeof z=="string"||typeof z=="function"||z===i||z===w||z===e||z===f||z===B||z===M||typeof z=="object"&&z!==null&&(z.$$typeof===Y||z.$$typeof===j||z.$$typeof===p||z.$$typeof===b||z.$$typeof===E||z.$$typeof===I||z.$$typeof===_||z.$$typeof===V||z.$$typeof===J)},pt.typeOf=te,pt}var mt={};/** @license React v16.13.1
|
|
39
|
+
* react-is.development.js
|
|
40
|
+
*
|
|
41
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the MIT license found in the
|
|
44
|
+
* LICENSE file in the root directory of this source tree.
|
|
45
|
+
*/var zf;function Rp(){return zf||(zf=1,process.env.NODE_ENV!=="production"&&function(){var r=typeof Symbol=="function"&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,e=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,b=r?Symbol.for("react.context"):60110,C=r?Symbol.for("react.async_mode"):60111,w=r?Symbol.for("react.concurrent_mode"):60111,E=r?Symbol.for("react.forward_ref"):60112,B=r?Symbol.for("react.suspense"):60113,M=r?Symbol.for("react.suspense_list"):60120,j=r?Symbol.for("react.memo"):60115,Y=r?Symbol.for("react.lazy"):60116,J=r?Symbol.for("react.block"):60121,I=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,V=r?Symbol.for("react.scope"):60119;function te(ae){return typeof ae=="string"||typeof ae=="function"||ae===i||ae===w||ae===e||ae===f||ae===B||ae===M||typeof ae=="object"&&ae!==null&&(ae.$$typeof===Y||ae.$$typeof===j||ae.$$typeof===p||ae.$$typeof===b||ae.$$typeof===E||ae.$$typeof===I||ae.$$typeof===_||ae.$$typeof===V||ae.$$typeof===J)}function Z(ae){if(typeof ae=="object"&&ae!==null){var vt=ae.$$typeof;switch(vt){case n:var It=ae.type;switch(It){case C:case w:case i:case e:case f:case B:return It;default:var Jt=It&&It.$$typeof;switch(Jt){case b:case E:case Y:case j:case p:return Jt;default:return vt}}case o:return vt}}}var z=C,le=w,pe=b,be=p,xe=n,$e=E,Se=i,Me=Y,oe=j,Te=o,Xe=e,et=f,lt=B,Pt=!1;function Dt(ae){return Pt||(Pt=!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.")),ce(ae)||Z(ae)===C}function ce(ae){return Z(ae)===w}function ue(ae){return Z(ae)===b}function je(ae){return Z(ae)===p}function Le(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===n}function _e(ae){return Z(ae)===E}function qe(ae){return Z(ae)===i}function Pe(ae){return Z(ae)===Y}function Ie(ae){return Z(ae)===j}function Oe(ae){return Z(ae)===o}function Ke(ae){return Z(ae)===e}function Ue(ae){return Z(ae)===f}function we(ae){return Z(ae)===B}mt.AsyncMode=z,mt.ConcurrentMode=le,mt.ContextConsumer=pe,mt.ContextProvider=be,mt.Element=xe,mt.ForwardRef=$e,mt.Fragment=Se,mt.Lazy=Me,mt.Memo=oe,mt.Portal=Te,mt.Profiler=Xe,mt.StrictMode=et,mt.Suspense=lt,mt.isAsyncMode=Dt,mt.isConcurrentMode=ce,mt.isContextConsumer=ue,mt.isContextProvider=je,mt.isElement=Le,mt.isForwardRef=_e,mt.isFragment=qe,mt.isLazy=Pe,mt.isMemo=Ie,mt.isPortal=Oe,mt.isProfiler=Ke,mt.isStrictMode=Ue,mt.isSuspense=we,mt.isValidElementType=te,mt.typeOf=Z}()),mt}var If;function Lf(){return If||(If=1,process.env.NODE_ENV==="production"?ta.exports=Pp():ta.exports=Rp()),ta.exports}var wo,qf;function Co(){if(qf)return wo;qf=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return wo=r,wo}var So,Vf;function Hf(){return Vf||(Vf=1,So=Function.call.bind(Object.prototype.hasOwnProperty)),So}var Fo,Wf;function jp(){if(Wf)return Fo;Wf=1;var r=function(){};if(process.env.NODE_ENV!=="production"){var n=Co(),o={},i=Hf();r=function(e){var p="Warning: "+e;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function f(e,p,b,C,w){if(process.env.NODE_ENV!=="production"){for(var E in e)if(i(e,E)){var B;try{if(typeof e[E]!="function"){var M=Error((C||"React class")+": "+b+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}B=e[E](p,E,C,b,null,n)}catch(Y){B=Y}if(B&&!(B instanceof Error)&&r((C||"React class")+": type specification of "+b+" `"+E+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof B+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),B instanceof Error&&!(B.message in o)){o[B.message]=!0;var j=w?w():"";r("Failed "+b+" type: "+B.message+(j??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(o={})},Fo=f,Fo}var Do,Uf;function zp(){if(Uf)return Do;Uf=1;var r=Lf(),n=go(),o=Co(),i=Hf(),f=jp(),e=function(){};process.env.NODE_ENV!=="production"&&(e=function(b){var C="Warning: "+b;typeof console<"u"&&console.error(C);try{throw new Error(C)}catch{}});function p(){return null}return Do=function(b,C){var w=typeof Symbol=="function"&&Symbol.iterator,E="@@iterator";function B(ce){var ue=ce&&(w&&ce[w]||ce[E]);if(typeof ue=="function")return ue}var M="<<anonymous>>",j={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:V(),arrayOf:te,element:Z(),elementType:z(),instanceOf:le,node:$e(),objectOf:be,oneOf:pe,oneOfType:xe,shape:Me,exact:oe};function Y(ce,ue){return ce===ue?ce!==0||1/ce===1/ue:ce!==ce&&ue!==ue}function J(ce,ue){this.message=ce,this.data=ue&&typeof ue=="object"?ue:{},this.stack=""}J.prototype=Error.prototype;function I(ce){if(process.env.NODE_ENV!=="production")var ue={},je=0;function Le(qe,Pe,Ie,Oe,Ke,Ue,we){if(Oe=Oe||M,Ue=Ue||Ie,we!==o){if(C){var ae=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 ae.name="Invariant Violation",ae}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var vt=Oe+":"+Ie;!ue[vt]&&je<3&&(e("You are manually calling a React.PropTypes validation function for the `"+Ue+"` prop on `"+Oe+"`. 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."),ue[vt]=!0,je++)}}return Pe[Ie]==null?qe?Pe[Ie]===null?new J("The "+Ke+" `"+Ue+"` is marked as required "+("in `"+Oe+"`, but its value is `null`.")):new J("The "+Ke+" `"+Ue+"` is marked as required in "+("`"+Oe+"`, but its value is `undefined`.")):null:ce(Pe,Ie,Oe,Ke,Ue)}var _e=Le.bind(null,!1);return _e.isRequired=Le.bind(null,!0),_e}function _(ce){function ue(je,Le,_e,qe,Pe,Ie){var Oe=je[Le],Ke=et(Oe);if(Ke!==ce){var Ue=lt(Oe);return new J("Invalid "+qe+" `"+Pe+"` of type "+("`"+Ue+"` supplied to `"+_e+"`, expected ")+("`"+ce+"`."),{expectedType:ce})}return null}return I(ue)}function V(){return I(p)}function te(ce){function ue(je,Le,_e,qe,Pe){if(typeof ce!="function")return new J("Property `"+Pe+"` of component `"+_e+"` has invalid PropType notation inside arrayOf.");var Ie=je[Le];if(!Array.isArray(Ie)){var Oe=et(Ie);return new J("Invalid "+qe+" `"+Pe+"` of type "+("`"+Oe+"` supplied to `"+_e+"`, expected an array."))}for(var Ke=0;Ke<Ie.length;Ke++){var Ue=ce(Ie,Ke,_e,qe,Pe+"["+Ke+"]",o);if(Ue instanceof Error)return Ue}return null}return I(ue)}function Z(){function ce(ue,je,Le,_e,qe){var Pe=ue[je];if(!b(Pe)){var Ie=et(Pe);return new J("Invalid "+_e+" `"+qe+"` of type "+("`"+Ie+"` supplied to `"+Le+"`, expected a single ReactElement."))}return null}return I(ce)}function z(){function ce(ue,je,Le,_e,qe){var Pe=ue[je];if(!r.isValidElementType(Pe)){var Ie=et(Pe);return new J("Invalid "+_e+" `"+qe+"` of type "+("`"+Ie+"` supplied to `"+Le+"`, expected a single ReactElement type."))}return null}return I(ce)}function le(ce){function ue(je,Le,_e,qe,Pe){if(!(je[Le]instanceof ce)){var Ie=ce.name||M,Oe=Dt(je[Le]);return new J("Invalid "+qe+" `"+Pe+"` of type "+("`"+Oe+"` supplied to `"+_e+"`, expected ")+("instance of `"+Ie+"`."))}return null}return I(ue)}function pe(ce){if(!Array.isArray(ce))return process.env.NODE_ENV!=="production"&&(arguments.length>1?e("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])."):e("Invalid argument supplied to oneOf, expected an array.")),p;function ue(je,Le,_e,qe,Pe){for(var Ie=je[Le],Oe=0;Oe<ce.length;Oe++)if(Y(Ie,ce[Oe]))return null;var Ke=JSON.stringify(ce,function(we,ae){var vt=lt(ae);return vt==="symbol"?String(ae):ae});return new J("Invalid "+qe+" `"+Pe+"` of value `"+String(Ie)+"` "+("supplied to `"+_e+"`, expected one of "+Ke+"."))}return I(ue)}function be(ce){function ue(je,Le,_e,qe,Pe){if(typeof ce!="function")return new J("Property `"+Pe+"` of component `"+_e+"` has invalid PropType notation inside objectOf.");var Ie=je[Le],Oe=et(Ie);if(Oe!=="object")return new J("Invalid "+qe+" `"+Pe+"` of type "+("`"+Oe+"` supplied to `"+_e+"`, expected an object."));for(var Ke in Ie)if(i(Ie,Ke)){var Ue=ce(Ie,Ke,_e,qe,Pe+"."+Ke,o);if(Ue instanceof Error)return Ue}return null}return I(ue)}function xe(ce){if(!Array.isArray(ce))return process.env.NODE_ENV!=="production"&&e("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var ue=0;ue<ce.length;ue++){var je=ce[ue];if(typeof je!="function")return e("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Pt(je)+" at index "+ue+"."),p}function Le(_e,qe,Pe,Ie,Oe){for(var Ke=[],Ue=0;Ue<ce.length;Ue++){var we=ce[Ue],ae=we(_e,qe,Pe,Ie,Oe,o);if(ae==null)return null;ae.data&&i(ae.data,"expectedType")&&Ke.push(ae.data.expectedType)}var vt=Ke.length>0?", expected one of type ["+Ke.join(", ")+"]":"";return new J("Invalid "+Ie+" `"+Oe+"` supplied to "+("`"+Pe+"`"+vt+"."))}return I(Le)}function $e(){function ce(ue,je,Le,_e,qe){return Te(ue[je])?null:new J("Invalid "+_e+" `"+qe+"` supplied to "+("`"+Le+"`, expected a ReactNode."))}return I(ce)}function Se(ce,ue,je,Le,_e){return new J((ce||"React class")+": "+ue+" type `"+je+"."+Le+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+_e+"`.")}function Me(ce){function ue(je,Le,_e,qe,Pe){var Ie=je[Le],Oe=et(Ie);if(Oe!=="object")return new J("Invalid "+qe+" `"+Pe+"` of type `"+Oe+"` "+("supplied to `"+_e+"`, expected `object`."));for(var Ke in ce){var Ue=ce[Ke];if(typeof Ue!="function")return Se(_e,qe,Pe,Ke,lt(Ue));var we=Ue(Ie,Ke,_e,qe,Pe+"."+Ke,o);if(we)return we}return null}return I(ue)}function oe(ce){function ue(je,Le,_e,qe,Pe){var Ie=je[Le],Oe=et(Ie);if(Oe!=="object")return new J("Invalid "+qe+" `"+Pe+"` of type `"+Oe+"` "+("supplied to `"+_e+"`, expected `object`."));var Ke=n({},je[Le],ce);for(var Ue in Ke){var we=ce[Ue];if(i(ce,Ue)&&typeof we!="function")return Se(_e,qe,Pe,Ue,lt(we));if(!we)return new J("Invalid "+qe+" `"+Pe+"` key `"+Ue+"` supplied to `"+_e+"`.\nBad object: "+JSON.stringify(je[Le],null," ")+`
|
|
46
|
+
Valid keys: `+JSON.stringify(Object.keys(ce),null," "));var ae=we(Ie,Ue,_e,qe,Pe+"."+Ue,o);if(ae)return ae}return null}return I(ue)}function Te(ce){switch(typeof ce){case"number":case"string":case"undefined":return!0;case"boolean":return!ce;case"object":if(Array.isArray(ce))return ce.every(Te);if(ce===null||b(ce))return!0;var ue=B(ce);if(ue){var je=ue.call(ce),Le;if(ue!==ce.entries){for(;!(Le=je.next()).done;)if(!Te(Le.value))return!1}else for(;!(Le=je.next()).done;){var _e=Le.value;if(_e&&!Te(_e[1]))return!1}}else return!1;return!0;default:return!1}}function Xe(ce,ue){return ce==="symbol"?!0:ue?ue["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ue instanceof Symbol:!1}function et(ce){var ue=typeof ce;return Array.isArray(ce)?"array":ce instanceof RegExp?"object":Xe(ue,ce)?"symbol":ue}function lt(ce){if(typeof ce>"u"||ce===null)return""+ce;var ue=et(ce);if(ue==="object"){if(ce instanceof Date)return"date";if(ce instanceof RegExp)return"regexp"}return ue}function Pt(ce){var ue=lt(ce);switch(ue){case"array":case"object":return"an "+ue;case"boolean":case"date":case"regexp":return"a "+ue;default:return ue}}function Dt(ce){return!ce.constructor||!ce.constructor.name?M:ce.constructor.name}return j.checkPropTypes=f,j.resetWarningCache=f.resetWarningCache,j.PropTypes=j,j},Do}var Bo,Yf;function Ip(){if(Yf)return Bo;Yf=1;var r=Co();function n(){}function o(){}return o.resetWarningCache=n,Bo=function(){function i(p,b,C,w,E,B){if(B!==r){var M=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 M.name="Invariant Violation",M}}i.isRequired=i;function f(){return i}var e={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:f,element:i,elementType:i,instanceOf:f,node:i,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:o,resetWarningCache:n};return e.PropTypes=e,e},Bo}var Gf;function Xf(){if(Gf)return ea.exports;if(Gf=1,process.env.NODE_ENV!=="production"){var r=Lf(),n=!0;ea.exports=zp()(r.isElement,n)}else ea.exports=Ip()();return ea.exports}var Lp=Xf();const fe=Ki(Lp),Kf={disabled:!1};var qp=process.env.NODE_ENV!=="production"?fe.oneOfType([fe.number,fe.shape({enter:fe.number,exit:fe.number,appear:fe.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&fe.oneOfType([fe.string,fe.shape({enter:fe.string,exit:fe.string,active:fe.string}),fe.shape({enter:fe.string,enterDone:fe.string,enterActive:fe.string,exit:fe.string,exitDone:fe.string,exitActive:fe.string})]);const Jf=X.createContext(null);var Vp=function(n){return n.scrollTop},Cs="unmounted",a0="exited",Nn="entering",u0="entered",ko="exiting",fn=function(r){Dp(n,r);function n(i,f){var e;e=r.call(this,i,f)||this;var p=f,b=p&&!p.isMounting?i.enter:i.appear,C;return e.appearStatus=null,i.in?b?(C=a0,e.appearStatus=Nn):C=u0:i.unmountOnExit||i.mountOnEnter?C=Cs:C=a0,e.state={status:C},e.nextCallback=null,e}n.getDerivedStateFromProps=function(f,e){var p=f.in;return p&&e.status===Cs?{status:a0}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(f){var e=null;if(f!==this.props){var p=this.state.status;this.props.in?p!==Nn&&p!==u0&&(e=Nn):(p===Nn||p===u0)&&(e=ko)}this.updateStatus(!1,e)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var f=this.props.timeout,e,p,b;return e=p=b=f,f!=null&&typeof f!="number"&&(e=f.exit,p=f.enter,b=f.appear!==void 0?f.appear:p),{exit:e,enter:p,appear:b}},o.updateStatus=function(f,e){if(f===void 0&&(f=!1),e!==null)if(this.cancelNextCallback(),e===Nn){if(this.props.unmountOnExit||this.props.mountOnEnter){var p=this.props.nodeRef?this.props.nodeRef.current:Rr.findDOMNode(this);p&&Vp(p)}this.performEnter(f)}else this.performExit();else this.props.unmountOnExit&&this.state.status===a0&&this.setState({status:Cs})},o.performEnter=function(f){var e=this,p=this.props.enter,b=this.context?this.context.isMounting:f,C=this.props.nodeRef?[b]:[Rr.findDOMNode(this),b],w=C[0],E=C[1],B=this.getTimeouts(),M=b?B.appear:B.enter;if(!f&&!p||Kf.disabled){this.safeSetState({status:u0},function(){e.props.onEntered(w)});return}this.props.onEnter(w,E),this.safeSetState({status:Nn},function(){e.props.onEntering(w,E),e.onTransitionEnd(M,function(){e.safeSetState({status:u0},function(){e.props.onEntered(w,E)})})})},o.performExit=function(){var f=this,e=this.props.exit,p=this.getTimeouts(),b=this.props.nodeRef?void 0:Rr.findDOMNode(this);if(!e||Kf.disabled){this.safeSetState({status:a0},function(){f.props.onExited(b)});return}this.props.onExit(b),this.safeSetState({status:ko},function(){f.props.onExiting(b),f.onTransitionEnd(p.exit,function(){f.safeSetState({status:a0},function(){f.props.onExited(b)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(f,e){e=this.setNextCallback(e),this.setState(f,e)},o.setNextCallback=function(f){var e=this,p=!0;return this.nextCallback=function(b){p&&(p=!1,e.nextCallback=null,f(b))},this.nextCallback.cancel=function(){p=!1},this.nextCallback},o.onTransitionEnd=function(f,e){this.setNextCallback(e);var p=this.props.nodeRef?this.props.nodeRef.current:Rr.findDOMNode(this),b=f==null&&!this.props.addEndListener;if(!p||b){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var C=this.props.nodeRef?[this.nextCallback]:[p,this.nextCallback],w=C[0],E=C[1];this.props.addEndListener(w,E)}f!=null&&setTimeout(this.nextCallback,f)},o.render=function(){var f=this.state.status;if(f===Cs)return null;var e=this.props,p=e.children;e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef;var b=Tf(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return X.createElement(Jf.Provider,{value:null},typeof p=="function"?p(f,b):X.cloneElement(X.Children.only(p),b))},n}(X.Component);fn.contextType=Jf,fn.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:fe.shape({current:typeof Element>"u"?fe.any:function(r,n,o,i,f,e){var p=r[n];return fe.instanceOf(p&&"ownerDocument"in p?p.ownerDocument.defaultView.Element:Element)(r,n,o,i,f,e)}}),children:fe.oneOfType([fe.func.isRequired,fe.element.isRequired]).isRequired,in:fe.bool,mountOnEnter:fe.bool,unmountOnExit:fe.bool,appear:fe.bool,enter:fe.bool,exit:fe.bool,timeout:function(n){var o=qp;n.addEndListener||(o=o.isRequired);for(var i=arguments.length,f=new Array(i>1?i-1:0),e=1;e<i;e++)f[e-1]=arguments[e];return o.apply(void 0,[n].concat(f))},addEndListener:fe.func,onEnter:fe.func,onEntering:fe.func,onEntered:fe.func,onExit:fe.func,onExiting:fe.func,onExited:fe.func}:{};function z0(){}fn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:z0,onEntering:z0,onEntered:z0,onExit:z0,onExiting:z0,onExited:z0},fn.UNMOUNTED=Cs,fn.EXITED=a0,fn.ENTERING=Nn,fn.ENTERED=u0,fn.EXITING=ko;function Hp(r){return r.code==="Escape"||r.keyCode===27}function Wp(){const r=Be.version.split(".");return{major:+r[0],minor:+r[1],patch:+r[2]}}function Ss(r){if(!r||typeof r=="function")return null;const{major:n}=Wp();return n>=19?r.props.ref:r.ref}const To=!!(typeof window<"u"&&window.document&&window.document.createElement);var $o=!1,Mo=!1;try{var Oo={get passive(){return $o=!0},get once(){return Mo=$o=!0}};To&&(window.addEventListener("test",Oo,Oo),window.removeEventListener("test",Oo,!0))}catch{}function Zf(r,n,o,i){if(i&&typeof i!="boolean"&&!Mo){var f=i.once,e=i.capture,p=o;!Mo&&f&&(p=o.__once||function b(C){this.removeEventListener(n,b,e),o.call(this,C)},o.__once=p),r.addEventListener(n,p,$o?i:e)}r.addEventListener(n,o,i)}function Up(r,n,o,i){var f=i&&typeof i!="boolean"?i.capture:i;r.removeEventListener(n,o,f),o.__once&&r.removeEventListener(n,o.__once,f)}function o0(r,n,o,i){return Zf(r,n,o,i),function(){Up(r,n,o,i)}}function Yp(r,n,o,i){if(i===void 0&&(i=!0),r){var f=document.createEvent("HTMLEvents");f.initEvent(n,o,i),r.dispatchEvent(f)}}function Gp(r){var n=Rf(r,"transitionDuration")||"",o=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*o}function Xp(r,n,o){o===void 0&&(o=5);var i=!1,f=setTimeout(function(){i||Yp(r,"transitionend",!0)},n+o),e=o0(r,"transitionend",function(){i=!0},{once:!0});return function(){clearTimeout(f),e()}}function Kp(r,n,o,i){o==null&&(o=Gp(r)||0);var f=Xp(r,o,i),e=o0(r,"transitionend",n);return function(){f(),e()}}function Qf(r,n){const o=Rf(r,n)||"",i=o.indexOf("ms")===-1?1e3:1;return parseFloat(o)*i}function Jp(r,n){const o=Qf(r,"transitionDuration"),i=Qf(r,"transitionDelay"),f=Kp(r,e=>{e.target===r&&(f(),n(e))},o+i)}function Zp(r){r.offsetHeight}const e1=r=>!r||typeof r=="function"?r:n=>{r.current=n};function Qp(r,n){const o=e1(r),i=e1(n);return f=>{o&&o(f),i&&i(f)}}function I0(r,n){return X.useMemo(()=>Qp(r,n),[r,n])}function ra(r){return r&&"setState"in r?Rr.findDOMNode(r):r??null}const em=X.forwardRef(({onEnter:r,onEntering:n,onEntered:o,onExit:i,onExiting:f,onExited:e,addEndListener:p,children:b,childRef:C,...w},E)=>{const B=X.useRef(null),M=I0(B,C),j=le=>{M(ra(le))},Y=le=>pe=>{le&&B.current&&le(B.current,pe)},J=X.useCallback(Y(r),[r]),I=X.useCallback(Y(n),[n]),_=X.useCallback(Y(o),[o]),V=X.useCallback(Y(i),[i]),te=X.useCallback(Y(f),[f]),Z=X.useCallback(Y(e),[e]),z=X.useCallback(Y(p),[p]);return k.jsx(fn,{ref:E,...w,onEnter:J,onEntered:_,onEntering:I,onExit:V,onExited:Z,onExiting:te,addEndListener:z,nodeRef:B,children:typeof b=="function"?(le,pe)=>b(le,{...pe,ref:j}):X.cloneElement(b,{ref:j})})});function tm(r){const n=X.useRef(r);return X.useEffect(()=>{n.current=r},[r]),n}function t1(r){const n=tm(r);return X.useCallback(function(...o){return n.current&&n.current(...o)},[n])}const r1=r=>Be.forwardRef((n,o)=>k.jsx("div",{...n,ref:o,className:Je(n.className,r)}));function No(){return X.useState(null)}function rm(r){const n=X.useRef(r);return X.useEffect(()=>{n.current=r},[r]),n}function jr(r){const n=rm(r);return X.useCallback(function(...o){return n.current&&n.current(...o)},[n])}function nm(r,n,o,i=!1){const f=jr(o);X.useEffect(()=>{const e=typeof r=="function"?r():r;return e.addEventListener(n,f,i),()=>e.removeEventListener(n,f,i)},[r])}function sm(){const r=X.useRef(!0),n=X.useRef(()=>r.current);return X.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),n.current}function im(r){const n=X.useRef(null);return X.useEffect(()=>{n.current=r}),n.current}const am=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",n1=typeof document<"u"||am?X.useLayoutEffect:X.useEffect,um=["as","disabled"];function om(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}function lm(r){return!r||r.trim()==="#"}function _o({tagName:r,disabled:n,href:o,target:i,rel:f,role:e,onClick:p,tabIndex:b=0,type:C}){r||(o!=null||i!=null||f!=null?r="a":r="button");const w={tagName:r};if(r==="button")return[{type:C||"button",disabled:n},w];const E=M=>{if((n||r==="a"&&lm(o))&&M.preventDefault(),n){M.stopPropagation();return}p==null||p(M)},B=M=>{M.key===" "&&(M.preventDefault(),E(M))};return r==="a"&&(o||(o="#"),n&&(o=void 0)),[{role:e??"button",disabled:void 0,tabIndex:n?void 0:b,href:o,target:r==="a"?i:void 0,"aria-disabled":n||void 0,rel:r==="a"?f:void 0,onClick:E,onKeyDown:B},w]}const s1=Be.forwardRef((r,n)=>{let{as:o,disabled:i}=r,f=om(r,um);const[e,{tagName:p}]=_o(Object.assign({tagName:o,disabled:i},f));return k.jsx(p,Object.assign({},f,e,{ref:n}))});s1.displayName="Button";const cm=["onKeyDown"];function fm(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}function dm(r){return!r||r.trim()==="#"}const i1=Be.forwardRef((r,n)=>{let{onKeyDown:o}=r,i=fm(r,cm);const[f]=_o(Object.assign({tagName:"a"},i)),e=jr(p=>{f.onKeyDown(p),o==null||o(p)});return dm(i.href)||i.role==="button"?k.jsx("a",Object.assign({ref:n},i,f,{onKeyDown:e})):k.jsx("a",Object.assign({ref:n},i,{onKeyDown:o}))});i1.displayName="Anchor";const hm={[Nn]:"show",[u0]:"show"},Po=Be.forwardRef(({className:r,children:n,transitionClasses:o={},onEnter:i,...f},e)=>{const p={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...f},b=X.useCallback((C,w)=>{Zp(C),i==null||i(C,w)},[i]);return k.jsx(em,{ref:e,addEndListener:Jp,...p,onEnter:b,childRef:Ss(n),children:(C,w)=>Be.cloneElement(n,{...w,className:Je("fade",r,n.props.className,hm[C],o[C])})})});Po.displayName="Fade";const _n=Be.forwardRef(({as:r,bsPrefix:n,variant:o="primary",size:i,active:f=!1,disabled:e=!1,className:p,...b},C)=>{const w=Qe(n,"btn"),[E,{tagName:B}]=_o({tagName:r,disabled:e,...b}),M=B;return k.jsx(M,{...E,...b,ref:C,disabled:e,className:Je(p,w,f&&"active",o&&`${w}-${o}`,i&&`${w}-${i}`,b.href&&e&&"disabled")})});_n.displayName="Button";const Ro=Be.forwardRef(({className:r,bsPrefix:n,as:o="div",...i},f)=>(n=Qe(n,"card-body"),k.jsx(o,{ref:f,className:Je(r,n),...i})));Ro.displayName="CardBody";const a1=Be.forwardRef(({className:r,bsPrefix:n,as:o="div",...i},f)=>(n=Qe(n,"card-footer"),k.jsx(o,{ref:f,className:Je(r,n),...i})));a1.displayName="CardFooter";const u1=Be.createContext(null);u1.displayName="CardHeaderContext";const o1=Be.forwardRef(({bsPrefix:r,className:n,as:o="div",...i},f)=>{const e=Qe(r,"card-header"),p=X.useMemo(()=>({cardHeaderBsPrefix:e}),[e]);return k.jsx(u1.Provider,{value:p,children:k.jsx(o,{ref:f,...i,className:Je(n,e)})})});o1.displayName="CardHeader";const l1=Be.forwardRef(({bsPrefix:r,className:n,variant:o,as:i="img",...f},e)=>{const p=Qe(r,"card-img");return k.jsx(i,{ref:e,className:Je(o?`${p}-${o}`:p,n),...f})});l1.displayName="CardImg";const c1=Be.forwardRef(({className:r,bsPrefix:n,as:o="div",...i},f)=>(n=Qe(n,"card-img-overlay"),k.jsx(o,{ref:f,className:Je(r,n),...i})));c1.displayName="CardImgOverlay";const f1=Be.forwardRef(({className:r,bsPrefix:n,as:o="a",...i},f)=>(n=Qe(n,"card-link"),k.jsx(o,{ref:f,className:Je(r,n),...i})));f1.displayName="CardLink";const pm=r1("h6"),d1=Be.forwardRef(({className:r,bsPrefix:n,as:o=pm,...i},f)=>(n=Qe(n,"card-subtitle"),k.jsx(o,{ref:f,className:Je(r,n),...i})));d1.displayName="CardSubtitle";const h1=Be.forwardRef(({className:r,bsPrefix:n,as:o="p",...i},f)=>(n=Qe(n,"card-text"),k.jsx(o,{ref:f,className:Je(r,n),...i})));h1.displayName="CardText";const mm=r1("h5"),p1=Be.forwardRef(({className:r,bsPrefix:n,as:o=mm,...i},f)=>(n=Qe(n,"card-title"),k.jsx(o,{ref:f,className:Je(r,n),...i})));p1.displayName="CardTitle";const m1=Be.forwardRef(({bsPrefix:r,className:n,bg:o,text:i,border:f,body:e=!1,children:p,as:b="div",...C},w)=>{const E=Qe(r,"card");return k.jsx(b,{ref:w,...C,className:Je(n,E,o&&`bg-${o}`,i&&`text-${i}`,f&&`border-${f}`),children:e?k.jsx(Ro,{children:p}):p})});m1.displayName="Card";const ur=Object.assign(m1,{Img:l1,Title:p1,Subtitle:d1,Body:Ro,Link:f1,Text:h1,Header:o1,Footer:a1,ImgOverlay:c1});function gm(){const r=X.useRef(!0),n=X.useRef(()=>r.current);return X.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),n.current}function ym(r){const n=X.useRef(r);return n.current=r,n}function bm(r){const n=ym(r);X.useEffect(()=>()=>n.current(),[])}const jo=2**31-1;function g1(r,n,o){const i=o-Date.now();r.current=i<=jo?setTimeout(n,i):setTimeout(()=>g1(r,n,o),jo)}function vm(){const r=gm(),n=X.useRef();return bm(()=>clearTimeout(n.current)),X.useMemo(()=>{const o=()=>clearTimeout(n.current);function i(f,e=0){r()&&(o(),e<=jo?n.current=setTimeout(f,e):g1(n,f,Date.now()+e))}return{set:i,clear:o,handleRef:n}},[])}function Am(r,n){return Be.Children.toArray(r).some(o=>Be.isValidElement(o)&&o.type===n)}function Em({as:r,bsPrefix:n,className:o,...i}){n=Qe(n,"col");const f=_f(),e=Pf(),p=[],b=[];return f.forEach(C=>{const w=i[C];delete i[C];let E,B,M;typeof w=="object"&&w!=null?{span:E,offset:B,order:M}=w:E=w;const j=C!==e?`-${C}`:"";E&&p.push(E===!0?`${n}${j}`:`${n}${j}-${E}`),M!=null&&b.push(`order${j}-${M}`),B!=null&&b.push(`offset${j}-${B}`)}),[{...i,className:Je(o,...p,...b)},{as:r,bsPrefix:n,spans:p}]}const nr=Be.forwardRef((r,n)=>{const[{className:o,...i},{as:f="div",bsPrefix:e,spans:p}]=Em(r);return k.jsx(f,{...i,ref:n,className:Je(o,!p.length&&e)})});nr.displayName="Col";const y1=Be.forwardRef(({bsPrefix:r,fluid:n=!1,as:o="div",className:i,...f},e)=>{const p=Qe(r,"container"),b=typeof n=="string"?`-${n}`:"-fluid";return k.jsx(o,{ref:e,...f,className:Je(i,n?`${p}${b}`:p)})});y1.displayName="Container";var xm=Function.prototype.bind.call(Function.prototype.call,[].slice);function b1(r,n){return xm(r.querySelectorAll(n))}function wm(r,n,o){const i=X.useRef(r!==void 0),[f,e]=X.useState(n),p=r!==void 0,b=i.current;return i.current=p,!p&&b&&f!==n&&e(n),[p?r:f,X.useCallback((...C)=>{const[w,...E]=C;let B=o==null?void 0:o(w,...E);return e(w),B},[o])]}function Cm(){const[,r]=X.useReducer(n=>n+1,0);return r}const na=Be.createContext(null);var v1=Object.prototype.hasOwnProperty;function A1(r,n,o){for(o of r.keys())if(Fs(o,n))return o}function Fs(r,n){var o,i,f;if(r===n)return!0;if(r&&n&&(o=r.constructor)===n.constructor){if(o===Date)return r.getTime()===n.getTime();if(o===RegExp)return r.toString()===n.toString();if(o===Array){if((i=r.length)===n.length)for(;i--&&Fs(r[i],n[i]););return i===-1}if(o===Set){if(r.size!==n.size)return!1;for(i of r)if(f=i,f&&typeof f=="object"&&(f=A1(n,f),!f)||!n.has(f))return!1;return!0}if(o===Map){if(r.size!==n.size)return!1;for(i of r)if(f=i[0],f&&typeof f=="object"&&(f=A1(n,f),!f)||!Fs(i[1],n.get(f)))return!1;return!0}if(o===ArrayBuffer)r=new Uint8Array(r),n=new Uint8Array(n);else if(o===DataView){if((i=r.byteLength)===n.byteLength)for(;i--&&r.getInt8(i)===n.getInt8(i););return i===-1}if(ArrayBuffer.isView(r)){if((i=r.byteLength)===n.byteLength)for(;i--&&r[i]===n[i];);return i===-1}if(!o||typeof r=="object"){i=0;for(o in r)if(v1.call(r,o)&&++i&&!v1.call(n,o)||!(o in n)||!Fs(r[o],n[o]))return!1;return Object.keys(n).length===i}}return r!==r&&n!==n}function Sm(r){const n=sm();return[r[0],X.useCallback(o=>{if(n())return r[1](o)},[n,r[1]])]}var or="top",kr="bottom",Tr="right",lr="left",zo="auto",Ds=[or,kr,Tr,lr],L0="start",Bs="end",Fm="clippingParents",E1="viewport",ks="popper",Dm="reference",x1=Ds.reduce(function(r,n){return r.concat([n+"-"+L0,n+"-"+Bs])},[]),w1=[].concat(Ds,[zo]).reduce(function(r,n){return r.concat([n,n+"-"+L0,n+"-"+Bs])},[]),Bm="beforeRead",km="read",Tm="afterRead",$m="beforeMain",Mm="main",Om="afterMain",Nm="beforeWrite",_m="write",Pm="afterWrite",Rm=[Bm,km,Tm,$m,Mm,Om,Nm,_m,Pm];function Yr(r){return r.split("-")[0]}function gr(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var n=r.ownerDocument;return n&&n.defaultView||window}return r}function l0(r){var n=gr(r).Element;return r instanceof n||r instanceof Element}function Gr(r){var n=gr(r).HTMLElement;return r instanceof n||r instanceof HTMLElement}function Io(r){if(typeof ShadowRoot>"u")return!1;var n=gr(r).ShadowRoot;return r instanceof n||r instanceof ShadowRoot}var c0=Math.max,sa=Math.min,q0=Math.round;function Lo(){var r=navigator.userAgentData;return r!=null&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function C1(){return!/^((?!chrome|android).)*safari/i.test(Lo())}function V0(r,n,o){n===void 0&&(n=!1),o===void 0&&(o=!1);var i=r.getBoundingClientRect(),f=1,e=1;n&&Gr(r)&&(f=r.offsetWidth>0&&q0(i.width)/r.offsetWidth||1,e=r.offsetHeight>0&&q0(i.height)/r.offsetHeight||1);var p=l0(r)?gr(r):window,b=p.visualViewport,C=!C1()&&o,w=(i.left+(C&&b?b.offsetLeft:0))/f,E=(i.top+(C&&b?b.offsetTop:0))/e,B=i.width/f,M=i.height/e;return{width:B,height:M,top:E,right:w+B,bottom:E+M,left:w,x:w,y:E}}function qo(r){var n=V0(r),o=r.offsetWidth,i=r.offsetHeight;return Math.abs(n.width-o)<=1&&(o=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:r.offsetLeft,y:r.offsetTop,width:o,height:i}}function S1(r,n){var o=n.getRootNode&&n.getRootNode();if(r.contains(n))return!0;if(o&&Io(o)){var i=n;do{if(i&&r.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Pn(r){return r?(r.nodeName||"").toLowerCase():null}function dn(r){return gr(r).getComputedStyle(r)}function jm(r){return["table","td","th"].indexOf(Pn(r))>=0}function Rn(r){return((l0(r)?r.ownerDocument:r.document)||window.document).documentElement}function ia(r){return Pn(r)==="html"?r:r.assignedSlot||r.parentNode||(Io(r)?r.host:null)||Rn(r)}function F1(r){return!Gr(r)||dn(r).position==="fixed"?null:r.offsetParent}function zm(r){var n=/firefox/i.test(Lo()),o=/Trident/i.test(Lo());if(o&&Gr(r)){var i=dn(r);if(i.position==="fixed")return null}var f=ia(r);for(Io(f)&&(f=f.host);Gr(f)&&["html","body"].indexOf(Pn(f))<0;){var e=dn(f);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||n&&e.willChange==="filter"||n&&e.filter&&e.filter!=="none")return f;f=f.parentNode}return null}function Ts(r){for(var n=gr(r),o=F1(r);o&&jm(o)&&dn(o).position==="static";)o=F1(o);return o&&(Pn(o)==="html"||Pn(o)==="body"&&dn(o).position==="static")?n:o||zm(r)||n}function Vo(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function $s(r,n,o){return c0(r,sa(n,o))}function Im(r,n,o){var i=$s(r,n,o);return i>o?o:i}function D1(){return{top:0,right:0,bottom:0,left:0}}function B1(r){return Object.assign({},D1(),r)}function k1(r,n){return n.reduce(function(o,i){return o[i]=r,o},{})}var Lm=function(n,o){return n=typeof n=="function"?n(Object.assign({},o.rects,{placement:o.placement})):n,B1(typeof n!="number"?n:k1(n,Ds))};function qm(r){var n,o=r.state,i=r.name,f=r.options,e=o.elements.arrow,p=o.modifiersData.popperOffsets,b=Yr(o.placement),C=Vo(b),w=[lr,Tr].indexOf(b)>=0,E=w?"height":"width";if(!(!e||!p)){var B=Lm(f.padding,o),M=qo(e),j=C==="y"?or:lr,Y=C==="y"?kr:Tr,J=o.rects.reference[E]+o.rects.reference[C]-p[C]-o.rects.popper[E],I=p[C]-o.rects.reference[C],_=Ts(e),V=_?C==="y"?_.clientHeight||0:_.clientWidth||0:0,te=J/2-I/2,Z=B[j],z=V-M[E]-B[Y],le=V/2-M[E]/2+te,pe=$s(Z,le,z),be=C;o.modifiersData[i]=(n={},n[be]=pe,n.centerOffset=pe-le,n)}}function Vm(r){var n=r.state,o=r.options,i=o.element,f=i===void 0?"[data-popper-arrow]":i;f!=null&&(typeof f=="string"&&(f=n.elements.popper.querySelector(f),!f)||S1(n.elements.popper,f)&&(n.elements.arrow=f))}const Hm={name:"arrow",enabled:!0,phase:"main",fn:qm,effect:Vm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function H0(r){return r.split("-")[1]}var Wm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Um(r,n){var o=r.x,i=r.y,f=n.devicePixelRatio||1;return{x:q0(o*f)/f||0,y:q0(i*f)/f||0}}function T1(r){var n,o=r.popper,i=r.popperRect,f=r.placement,e=r.variation,p=r.offsets,b=r.position,C=r.gpuAcceleration,w=r.adaptive,E=r.roundOffsets,B=r.isFixed,M=p.x,j=M===void 0?0:M,Y=p.y,J=Y===void 0?0:Y,I=typeof E=="function"?E({x:j,y:J}):{x:j,y:J};j=I.x,J=I.y;var _=p.hasOwnProperty("x"),V=p.hasOwnProperty("y"),te=lr,Z=or,z=window;if(w){var le=Ts(o),pe="clientHeight",be="clientWidth";if(le===gr(o)&&(le=Rn(o),dn(le).position!=="static"&&b==="absolute"&&(pe="scrollHeight",be="scrollWidth")),le=le,f===or||(f===lr||f===Tr)&&e===Bs){Z=kr;var xe=B&&le===z&&z.visualViewport?z.visualViewport.height:le[pe];J-=xe-i.height,J*=C?1:-1}if(f===lr||(f===or||f===kr)&&e===Bs){te=Tr;var $e=B&&le===z&&z.visualViewport?z.visualViewport.width:le[be];j-=$e-i.width,j*=C?1:-1}}var Se=Object.assign({position:b},w&&Wm),Me=E===!0?Um({x:j,y:J},gr(o)):{x:j,y:J};if(j=Me.x,J=Me.y,C){var oe;return Object.assign({},Se,(oe={},oe[Z]=V?"0":"",oe[te]=_?"0":"",oe.transform=(z.devicePixelRatio||1)<=1?"translate("+j+"px, "+J+"px)":"translate3d("+j+"px, "+J+"px, 0)",oe))}return Object.assign({},Se,(n={},n[Z]=V?J+"px":"",n[te]=_?j+"px":"",n.transform="",n))}function Ym(r){var n=r.state,o=r.options,i=o.gpuAcceleration,f=i===void 0?!0:i,e=o.adaptive,p=e===void 0?!0:e,b=o.roundOffsets,C=b===void 0?!0:b,w={placement:Yr(n.placement),variation:H0(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:f,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,T1(Object.assign({},w,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:p,roundOffsets:C})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,T1(Object.assign({},w,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:C})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}const Gm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ym,data:{}};var aa={passive:!0};function Xm(r){var n=r.state,o=r.instance,i=r.options,f=i.scroll,e=f===void 0?!0:f,p=i.resize,b=p===void 0?!0:p,C=gr(n.elements.popper),w=[].concat(n.scrollParents.reference,n.scrollParents.popper);return e&&w.forEach(function(E){E.addEventListener("scroll",o.update,aa)}),b&&C.addEventListener("resize",o.update,aa),function(){e&&w.forEach(function(E){E.removeEventListener("scroll",o.update,aa)}),b&&C.removeEventListener("resize",o.update,aa)}}const Km={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xm,data:{}};var Jm={left:"right",right:"left",bottom:"top",top:"bottom"};function ua(r){return r.replace(/left|right|bottom|top/g,function(n){return Jm[n]})}var Zm={start:"end",end:"start"};function $1(r){return r.replace(/start|end/g,function(n){return Zm[n]})}function Ho(r){var n=gr(r),o=n.pageXOffset,i=n.pageYOffset;return{scrollLeft:o,scrollTop:i}}function Wo(r){return V0(Rn(r)).left+Ho(r).scrollLeft}function Qm(r,n){var o=gr(r),i=Rn(r),f=o.visualViewport,e=i.clientWidth,p=i.clientHeight,b=0,C=0;if(f){e=f.width,p=f.height;var w=C1();(w||!w&&n==="fixed")&&(b=f.offsetLeft,C=f.offsetTop)}return{width:e,height:p,x:b+Wo(r),y:C}}function e3(r){var n,o=Rn(r),i=Ho(r),f=(n=r.ownerDocument)==null?void 0:n.body,e=c0(o.scrollWidth,o.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),p=c0(o.scrollHeight,o.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),b=-i.scrollLeft+Wo(r),C=-i.scrollTop;return dn(f||o).direction==="rtl"&&(b+=c0(o.clientWidth,f?f.clientWidth:0)-e),{width:e,height:p,x:b,y:C}}function Uo(r){var n=dn(r),o=n.overflow,i=n.overflowX,f=n.overflowY;return/auto|scroll|overlay|hidden/.test(o+f+i)}function M1(r){return["html","body","#document"].indexOf(Pn(r))>=0?r.ownerDocument.body:Gr(r)&&Uo(r)?r:M1(ia(r))}function Ms(r,n){var o;n===void 0&&(n=[]);var i=M1(r),f=i===((o=r.ownerDocument)==null?void 0:o.body),e=gr(i),p=f?[e].concat(e.visualViewport||[],Uo(i)?i:[]):i,b=n.concat(p);return f?b:b.concat(Ms(ia(p)))}function Yo(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function t3(r,n){var o=V0(r,!1,n==="fixed");return o.top=o.top+r.clientTop,o.left=o.left+r.clientLeft,o.bottom=o.top+r.clientHeight,o.right=o.left+r.clientWidth,o.width=r.clientWidth,o.height=r.clientHeight,o.x=o.left,o.y=o.top,o}function O1(r,n,o){return n===E1?Yo(Qm(r,o)):l0(n)?t3(n,o):Yo(e3(Rn(r)))}function r3(r){var n=Ms(ia(r)),o=["absolute","fixed"].indexOf(dn(r).position)>=0,i=o&&Gr(r)?Ts(r):r;return l0(i)?n.filter(function(f){return l0(f)&&S1(f,i)&&Pn(f)!=="body"}):[]}function n3(r,n,o,i){var f=n==="clippingParents"?r3(r):[].concat(n),e=[].concat(f,[o]),p=e[0],b=e.reduce(function(C,w){var E=O1(r,w,i);return C.top=c0(E.top,C.top),C.right=sa(E.right,C.right),C.bottom=sa(E.bottom,C.bottom),C.left=c0(E.left,C.left),C},O1(r,p,i));return b.width=b.right-b.left,b.height=b.bottom-b.top,b.x=b.left,b.y=b.top,b}function N1(r){var n=r.reference,o=r.element,i=r.placement,f=i?Yr(i):null,e=i?H0(i):null,p=n.x+n.width/2-o.width/2,b=n.y+n.height/2-o.height/2,C;switch(f){case or:C={x:p,y:n.y-o.height};break;case kr:C={x:p,y:n.y+n.height};break;case Tr:C={x:n.x+n.width,y:b};break;case lr:C={x:n.x-o.width,y:b};break;default:C={x:n.x,y:n.y}}var w=f?Vo(f):null;if(w!=null){var E=w==="y"?"height":"width";switch(e){case L0:C[w]=C[w]-(n[E]/2-o[E]/2);break;case Bs:C[w]=C[w]+(n[E]/2-o[E]/2);break}}return C}function Os(r,n){n===void 0&&(n={});var o=n,i=o.placement,f=i===void 0?r.placement:i,e=o.strategy,p=e===void 0?r.strategy:e,b=o.boundary,C=b===void 0?Fm:b,w=o.rootBoundary,E=w===void 0?E1:w,B=o.elementContext,M=B===void 0?ks:B,j=o.altBoundary,Y=j===void 0?!1:j,J=o.padding,I=J===void 0?0:J,_=B1(typeof I!="number"?I:k1(I,Ds)),V=M===ks?Dm:ks,te=r.rects.popper,Z=r.elements[Y?V:M],z=n3(l0(Z)?Z:Z.contextElement||Rn(r.elements.popper),C,E,p),le=V0(r.elements.reference),pe=N1({reference:le,element:te,placement:f}),be=Yo(Object.assign({},te,pe)),xe=M===ks?be:le,$e={top:z.top-xe.top+_.top,bottom:xe.bottom-z.bottom+_.bottom,left:z.left-xe.left+_.left,right:xe.right-z.right+_.right},Se=r.modifiersData.offset;if(M===ks&&Se){var Me=Se[f];Object.keys($e).forEach(function(oe){var Te=[Tr,kr].indexOf(oe)>=0?1:-1,Xe=[or,kr].indexOf(oe)>=0?"y":"x";$e[oe]+=Me[Xe]*Te})}return $e}function s3(r,n){n===void 0&&(n={});var o=n,i=o.placement,f=o.boundary,e=o.rootBoundary,p=o.padding,b=o.flipVariations,C=o.allowedAutoPlacements,w=C===void 0?w1:C,E=H0(i),B=E?b?x1:x1.filter(function(Y){return H0(Y)===E}):Ds,M=B.filter(function(Y){return w.indexOf(Y)>=0});M.length===0&&(M=B);var j=M.reduce(function(Y,J){return Y[J]=Os(r,{placement:J,boundary:f,rootBoundary:e,padding:p})[Yr(J)],Y},{});return Object.keys(j).sort(function(Y,J){return j[Y]-j[J]})}function i3(r){if(Yr(r)===zo)return[];var n=ua(r);return[$1(r),n,$1(n)]}function a3(r){var n=r.state,o=r.options,i=r.name;if(!n.modifiersData[i]._skip){for(var f=o.mainAxis,e=f===void 0?!0:f,p=o.altAxis,b=p===void 0?!0:p,C=o.fallbackPlacements,w=o.padding,E=o.boundary,B=o.rootBoundary,M=o.altBoundary,j=o.flipVariations,Y=j===void 0?!0:j,J=o.allowedAutoPlacements,I=n.options.placement,_=Yr(I),V=_===I,te=C||(V||!Y?[ua(I)]:i3(I)),Z=[I].concat(te).reduce(function(_e,qe){return _e.concat(Yr(qe)===zo?s3(n,{placement:qe,boundary:E,rootBoundary:B,padding:w,flipVariations:Y,allowedAutoPlacements:J}):qe)},[]),z=n.rects.reference,le=n.rects.popper,pe=new Map,be=!0,xe=Z[0],$e=0;$e<Z.length;$e++){var Se=Z[$e],Me=Yr(Se),oe=H0(Se)===L0,Te=[or,kr].indexOf(Me)>=0,Xe=Te?"width":"height",et=Os(n,{placement:Se,boundary:E,rootBoundary:B,altBoundary:M,padding:w}),lt=Te?oe?Tr:lr:oe?kr:or;z[Xe]>le[Xe]&&(lt=ua(lt));var Pt=ua(lt),Dt=[];if(e&&Dt.push(et[Me]<=0),b&&Dt.push(et[lt]<=0,et[Pt]<=0),Dt.every(function(_e){return _e})){xe=Se,be=!1;break}pe.set(Se,Dt)}if(be)for(var ce=Y?3:1,ue=function(qe){var Pe=Z.find(function(Ie){var Oe=pe.get(Ie);if(Oe)return Oe.slice(0,qe).every(function(Ke){return Ke})});if(Pe)return xe=Pe,"break"},je=ce;je>0;je--){var Le=ue(je);if(Le==="break")break}n.placement!==xe&&(n.modifiersData[i]._skip=!0,n.placement=xe,n.reset=!0)}}const u3={name:"flip",enabled:!0,phase:"main",fn:a3,requiresIfExists:["offset"],data:{_skip:!1}};function _1(r,n,o){return o===void 0&&(o={x:0,y:0}),{top:r.top-n.height-o.y,right:r.right-n.width+o.x,bottom:r.bottom-n.height+o.y,left:r.left-n.width-o.x}}function P1(r){return[or,Tr,kr,lr].some(function(n){return r[n]>=0})}function o3(r){var n=r.state,o=r.name,i=n.rects.reference,f=n.rects.popper,e=n.modifiersData.preventOverflow,p=Os(n,{elementContext:"reference"}),b=Os(n,{altBoundary:!0}),C=_1(p,i),w=_1(b,f,e),E=P1(C),B=P1(w);n.modifiersData[o]={referenceClippingOffsets:C,popperEscapeOffsets:w,isReferenceHidden:E,hasPopperEscaped:B},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":E,"data-popper-escaped":B})}const l3={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:o3};function c3(r,n,o){var i=Yr(r),f=[lr,or].indexOf(i)>=0?-1:1,e=typeof o=="function"?o(Object.assign({},n,{placement:r})):o,p=e[0],b=e[1];return p=p||0,b=(b||0)*f,[lr,Tr].indexOf(i)>=0?{x:b,y:p}:{x:p,y:b}}function f3(r){var n=r.state,o=r.options,i=r.name,f=o.offset,e=f===void 0?[0,0]:f,p=w1.reduce(function(E,B){return E[B]=c3(B,n.rects,e),E},{}),b=p[n.placement],C=b.x,w=b.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=C,n.modifiersData.popperOffsets.y+=w),n.modifiersData[i]=p}const d3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:f3};function h3(r){var n=r.state,o=r.name;n.modifiersData[o]=N1({reference:n.rects.reference,element:n.rects.popper,placement:n.placement})}const p3={name:"popperOffsets",enabled:!0,phase:"read",fn:h3,data:{}};function m3(r){return r==="x"?"y":"x"}function g3(r){var n=r.state,o=r.options,i=r.name,f=o.mainAxis,e=f===void 0?!0:f,p=o.altAxis,b=p===void 0?!1:p,C=o.boundary,w=o.rootBoundary,E=o.altBoundary,B=o.padding,M=o.tether,j=M===void 0?!0:M,Y=o.tetherOffset,J=Y===void 0?0:Y,I=Os(n,{boundary:C,rootBoundary:w,padding:B,altBoundary:E}),_=Yr(n.placement),V=H0(n.placement),te=!V,Z=Vo(_),z=m3(Z),le=n.modifiersData.popperOffsets,pe=n.rects.reference,be=n.rects.popper,xe=typeof J=="function"?J(Object.assign({},n.rects,{placement:n.placement})):J,$e=typeof xe=="number"?{mainAxis:xe,altAxis:xe}:Object.assign({mainAxis:0,altAxis:0},xe),Se=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,Me={x:0,y:0};if(le){if(e){var oe,Te=Z==="y"?or:lr,Xe=Z==="y"?kr:Tr,et=Z==="y"?"height":"width",lt=le[Z],Pt=lt+I[Te],Dt=lt-I[Xe],ce=j?-be[et]/2:0,ue=V===L0?pe[et]:be[et],je=V===L0?-be[et]:-pe[et],Le=n.elements.arrow,_e=j&&Le?qo(Le):{width:0,height:0},qe=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:D1(),Pe=qe[Te],Ie=qe[Xe],Oe=$s(0,pe[et],_e[et]),Ke=te?pe[et]/2-ce-Oe-Pe-$e.mainAxis:ue-Oe-Pe-$e.mainAxis,Ue=te?-pe[et]/2+ce+Oe+Ie+$e.mainAxis:je+Oe+Ie+$e.mainAxis,we=n.elements.arrow&&Ts(n.elements.arrow),ae=we?Z==="y"?we.clientTop||0:we.clientLeft||0:0,vt=(oe=Se==null?void 0:Se[Z])!=null?oe:0,It=lt+Ke-vt-ae,Jt=lt+Ue-vt,Zr=$s(j?sa(Pt,It):Pt,lt,j?c0(Dt,Jt):Dt);le[Z]=Zr,Me[Z]=Zr-lt}if(b){var En,fr=Z==="x"?or:lr,Zt=Z==="x"?kr:Tr,Yt=le[z],Ar=z==="y"?"height":"width",Gn=Yt+I[fr],zr=Yt-I[Zt],$r=[or,lr].indexOf(_)!==-1,Xn=(En=Se==null?void 0:Se[z])!=null?En:0,Kn=$r?Gn:Yt-pe[Ar]-be[Ar]-Xn+$e.altAxis,xn=$r?Yt+pe[Ar]+be[Ar]-Xn-$e.altAxis:zr,Qr=j&&$r?Im(Kn,Yt,xn):$s(j?Kn:Gn,Yt,j?xn:zr);le[z]=Qr,Me[z]=Qr-Yt}n.modifiersData[i]=Me}}const y3={name:"preventOverflow",enabled:!0,phase:"main",fn:g3,requiresIfExists:["offset"]};function b3(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function v3(r){return r===gr(r)||!Gr(r)?Ho(r):b3(r)}function A3(r){var n=r.getBoundingClientRect(),o=q0(n.width)/r.offsetWidth||1,i=q0(n.height)/r.offsetHeight||1;return o!==1||i!==1}function E3(r,n,o){o===void 0&&(o=!1);var i=Gr(n),f=Gr(n)&&A3(n),e=Rn(n),p=V0(r,f,o),b={scrollLeft:0,scrollTop:0},C={x:0,y:0};return(i||!i&&!o)&&((Pn(n)!=="body"||Uo(e))&&(b=v3(n)),Gr(n)?(C=V0(n,!0),C.x+=n.clientLeft,C.y+=n.clientTop):e&&(C.x=Wo(e))),{x:p.left+b.scrollLeft-C.x,y:p.top+b.scrollTop-C.y,width:p.width,height:p.height}}function x3(r){var n=new Map,o=new Set,i=[];r.forEach(function(e){n.set(e.name,e)});function f(e){o.add(e.name);var p=[].concat(e.requires||[],e.requiresIfExists||[]);p.forEach(function(b){if(!o.has(b)){var C=n.get(b);C&&f(C)}}),i.push(e)}return r.forEach(function(e){o.has(e.name)||f(e)}),i}function w3(r){var n=x3(r);return Rm.reduce(function(o,i){return o.concat(n.filter(function(f){return f.phase===i}))},[])}function C3(r){var n;return function(){return n||(n=new Promise(function(o){Promise.resolve().then(function(){n=void 0,o(r())})})),n}}function S3(r){var n=r.reduce(function(o,i){var f=o[i.name];return o[i.name]=f?Object.assign({},f,i,{options:Object.assign({},f.options,i.options),data:Object.assign({},f.data,i.data)}):i,o},{});return Object.keys(n).map(function(o){return n[o]})}var R1={placement:"bottom",modifiers:[],strategy:"absolute"};function j1(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return!n.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function F3(r){r===void 0&&(r={});var n=r,o=n.defaultModifiers,i=o===void 0?[]:o,f=n.defaultOptions,e=f===void 0?R1:f;return function(b,C,w){w===void 0&&(w=e);var E={placement:"bottom",orderedModifiers:[],options:Object.assign({},R1,e),modifiersData:{},elements:{reference:b,popper:C},attributes:{},styles:{}},B=[],M=!1,j={state:E,setOptions:function(_){var V=typeof _=="function"?_(E.options):_;J(),E.options=Object.assign({},e,E.options,V),E.scrollParents={reference:l0(b)?Ms(b):b.contextElement?Ms(b.contextElement):[],popper:Ms(C)};var te=w3(S3([].concat(i,E.options.modifiers)));return E.orderedModifiers=te.filter(function(Z){return Z.enabled}),Y(),j.update()},forceUpdate:function(){if(!M){var _=E.elements,V=_.reference,te=_.popper;if(j1(V,te)){E.rects={reference:E3(V,Ts(te),E.options.strategy==="fixed"),popper:qo(te)},E.reset=!1,E.placement=E.options.placement,E.orderedModifiers.forEach(function($e){return E.modifiersData[$e.name]=Object.assign({},$e.data)});for(var Z=0;Z<E.orderedModifiers.length;Z++){if(E.reset===!0){E.reset=!1,Z=-1;continue}var z=E.orderedModifiers[Z],le=z.fn,pe=z.options,be=pe===void 0?{}:pe,xe=z.name;typeof le=="function"&&(E=le({state:E,options:be,name:xe,instance:j})||E)}}}},update:C3(function(){return new Promise(function(I){j.forceUpdate(),I(E)})}),destroy:function(){J(),M=!0}};if(!j1(b,C))return j;j.setOptions(w).then(function(I){!M&&w.onFirstUpdate&&w.onFirstUpdate(I)});function Y(){E.orderedModifiers.forEach(function(I){var _=I.name,V=I.options,te=V===void 0?{}:V,Z=I.effect;if(typeof Z=="function"){var z=Z({state:E,name:_,instance:j,options:te}),le=function(){};B.push(z||le)}})}function J(){B.forEach(function(I){return I()}),B=[]}return j}}const D3=F3({defaultModifiers:[l3,p3,Gm,Km,d3,u3,y3,Hm]}),B3=["enabled","placement","strategy","modifiers"];function k3(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}const T3={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},$3={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:r})=>()=>{const{reference:n,popper:o}=r.elements;if("removeAttribute"in n){const i=(n.getAttribute("aria-describedby")||"").split(",").filter(f=>f.trim()!==o.id);i.length?n.setAttribute("aria-describedby",i.join(",")):n.removeAttribute("aria-describedby")}},fn:({state:r})=>{var n;const{popper:o,reference:i}=r.elements,f=(n=o.getAttribute("role"))==null?void 0:n.toLowerCase();if(o.id&&f==="tooltip"&&"setAttribute"in i){const e=i.getAttribute("aria-describedby");if(e&&e.split(",").indexOf(o.id)!==-1)return;i.setAttribute("aria-describedby",e?`${e},${o.id}`:o.id)}}},M3=[];function z1(r,n,o={}){let{enabled:i=!0,placement:f="bottom",strategy:e="absolute",modifiers:p=M3}=o,b=k3(o,B3);const C=X.useRef(p),w=X.useRef(),E=X.useCallback(()=>{var I;(I=w.current)==null||I.update()},[]),B=X.useCallback(()=>{var I;(I=w.current)==null||I.forceUpdate()},[]),[M,j]=Sm(X.useState({placement:f,update:E,forceUpdate:B,attributes:{},styles:{popper:{},arrow:{}}})),Y=X.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:I})=>{const _={},V={};Object.keys(I.elements).forEach(te=>{_[te]=I.styles[te],V[te]=I.attributes[te]}),j({state:I,styles:_,attributes:V,update:E,forceUpdate:B,placement:I.placement})}}),[E,B,j]),J=X.useMemo(()=>(Fs(C.current,p)||(C.current=p),C.current),[p]);return X.useEffect(()=>{!w.current||!i||w.current.setOptions({placement:f,strategy:e,modifiers:[...J,Y,T3]})},[e,f,Y,i,J]),X.useEffect(()=>{if(!(!i||r==null||n==null))return w.current=D3(r,n,Object.assign({},b,{placement:f,strategy:e,modifiers:[...J,$3,Y]})),()=>{w.current!=null&&(w.current.destroy(),w.current=void 0,j(I=>Object.assign({},I,{attributes:{},styles:{popper:{}}})))}},[i,r,n]),M}function Go(r,n){if(r.contains)return r.contains(n);if(r.compareDocumentPosition)return r===n||!!(r.compareDocumentPosition(n)&16)}var Xo,I1;function O3(){if(I1)return Xo;I1=1;var r=process.env.NODE_ENV!=="production",n=function(){};if(r){var o=function(f,e){var p=arguments.length;e=new Array(p>1?p-1:0);for(var b=1;b<p;b++)e[b-1]=arguments[b];var C=0,w="Warning: "+f.replace(/%s/g,function(){return e[C++]});typeof console<"u"&&console.error(w);try{throw new Error(w)}catch{}};n=function(i,f,e){var p=arguments.length;e=new Array(p>2?p-2:0);for(var b=2;b<p;b++)e[b-2]=arguments[b];if(f===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");i||o.apply(null,[f].concat(e))}}return Xo=n,Xo}var N3=O3();const Ns=Ki(N3),L1=()=>{};function _3(r){return r.button===0}function P3(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}const oa=r=>r&&("current"in r?r.current:r),q1={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function V1(r,n=L1,{disabled:o,clickTrigger:i="click"}={}){const f=X.useRef(!1),e=X.useRef(!1),p=X.useCallback(w=>{const E=oa(r);Ns(!!E,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),f.current=!E||P3(w)||!_3(w)||!!Go(E,w.target)||e.current,e.current=!1},[r]),b=jr(w=>{const E=oa(r);E&&Go(E,w.target)?e.current=!0:e.current=!1}),C=jr(w=>{f.current||n(w)});X.useEffect(()=>{var w,E;if(o||r==null)return;const B=Zi(oa(r)),M=B.defaultView||window;let j=(w=M.event)!=null?w:(E=M.parent)==null?void 0:E.event,Y=null;q1[i]&&(Y=o0(B,q1[i],b,!0));const J=o0(B,i,p,!0),I=o0(B,i,V=>{if(V===j){j=void 0;return}C(V)});let _=[];return"ontouchstart"in B.documentElement&&(_=[].slice.call(B.body.children).map(V=>o0(V,"mousemove",L1))),()=>{Y==null||Y(),J(),I(),_.forEach(V=>V())}},[r,o,i,p,b,C])}function R3(r){const n={};return Array.isArray(r)?(r==null||r.forEach(o=>{n[o.name]=o}),n):r||n}function j3(r={}){return Array.isArray(r)?r:Object.keys(r).map(n=>(r[n].name=n,r[n]))}function H1({enabled:r,enableEvents:n,placement:o,flip:i,offset:f,fixed:e,containerPadding:p,arrowElement:b,popperConfig:C={}}){var w,E,B,M,j;const Y=R3(C.modifiers);return Object.assign({},C,{placement:o,enabled:r,strategy:e?"fixed":C.strategy,modifiers:j3(Object.assign({},Y,{eventListeners:{enabled:n,options:(w=Y.eventListeners)==null?void 0:w.options},preventOverflow:Object.assign({},Y.preventOverflow,{options:p?Object.assign({padding:p},(E=Y.preventOverflow)==null?void 0:E.options):(B=Y.preventOverflow)==null?void 0:B.options}),offset:{options:Object.assign({offset:f},(M=Y.offset)==null?void 0:M.options)},arrow:Object.assign({},Y.arrow,{enabled:!!b,options:Object.assign({},(j=Y.arrow)==null?void 0:j.options,{element:b})}),flip:Object.assign({enabled:!!i},Y.flip)}))})}const z3=["children","usePopper"];function I3(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}const L3=()=>{};function W1(r={}){const n=X.useContext(na),[o,i]=No(),f=X.useRef(!1),{flip:e,offset:p,rootCloseEvent:b,fixed:C=!1,placement:w,popperConfig:E={},enableEventListeners:B=!0,usePopper:M=!!n}=r,j=(n==null?void 0:n.show)==null?!!r.show:n.show;j&&!f.current&&(f.current=!0);const Y=le=>{n==null||n.toggle(!1,le)},{placement:J,setMenu:I,menuElement:_,toggleElement:V}=n||{},te=z1(V,_,H1({placement:w||J||"bottom-start",enabled:M,enableEvents:B??j,offset:p,flip:e,fixed:C,arrowElement:o,popperConfig:E})),Z=Object.assign({ref:I||L3,"aria-labelledby":V==null?void 0:V.id},te.attributes.popper,{style:te.styles.popper}),z={show:j,placement:J,hasShown:f.current,toggle:n==null?void 0:n.toggle,popper:M?te:null,arrowProps:M?Object.assign({ref:i},te.attributes.arrow,{style:te.styles.arrow}):{}};return V1(_,Y,{clickTrigger:b,disabled:!j}),[Z,z]}function U1(r){let{children:n,usePopper:o=!0}=r,i=I3(r,z3);const[f,e]=W1(Object.assign({},i,{usePopper:o}));return k.jsx(k.Fragment,{children:n(f,e)})}U1.displayName="DropdownMenu";const la={prefix:String(Math.round(Math.random()*1e10)),current:0},Y1=X.createContext(la),q3=X.createContext(!1);let V3=!!(typeof window<"u"&&window.document&&window.document.createElement),Ko=new WeakMap;function H3(r=!1){let n=X.useContext(Y1),o=X.useRef(null);if(o.current===null&&!r){var i,f;let e=(f=X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||f===void 0||(i=f.ReactCurrentOwner)===null||i===void 0?void 0:i.current;if(e){let p=Ko.get(e);p==null?Ko.set(e,{id:n.current,state:e.memoizedState}):e.memoizedState!==p.state&&(n.current=p.id,Ko.delete(e))}o.current=++n.current}return o.current}function W3(r){let n=X.useContext(Y1);n===la&&!V3&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let o=H3(!!r),i=n===la&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${n.prefix}`;return r||`${i}-${o}`}function U3(r){let n=X.useId(),[o]=X.useState(J3()),i=o||process.env.NODE_ENV==="test"?"react-aria":`react-aria${la.prefix}`;return r||`${i}-${n}`}const Y3=typeof X.useId=="function"?U3:W3;function G3(){return!1}function X3(){return!0}function K3(r){return()=>{}}function J3(){return typeof X.useSyncExternalStore=="function"?X.useSyncExternalStore(K3,G3,X3):X.useContext(q3)}const G1=r=>{var n;return((n=r.getAttribute("role"))==null?void 0:n.toLowerCase())==="menu"},X1=()=>{};function K1(){const r=Y3(),{show:n=!1,toggle:o=X1,setToggle:i,menuElement:f}=X.useContext(na)||{},e=X.useCallback(b=>{o(!n,b)},[n,o]),p={id:r,ref:i||X1,onClick:e,"aria-expanded":!!n};return f&&G1(f)&&(p["aria-haspopup"]=!0),[p,{show:n,toggle:o}]}function J1({children:r}){const[n,o]=K1();return k.jsx(k.Fragment,{children:r(n,o)})}J1.displayName="DropdownToggle";const Jo=Be.createContext(null),Z1=(r,n=null)=>r!=null?String(r):n||null,Q1=Be.createContext(null);Q1.displayName="NavContext";const Z3="data-rr-ui-";function ed(r){return`${Z3}${r}`}const Q3=["eventKey","disabled","onClick","active","as"];function e6(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}function td({key:r,href:n,active:o,disabled:i,onClick:f}){const e=X.useContext(Jo),p=X.useContext(Q1),{activeKey:b}=p||{},C=Z1(r,n),w=o==null&&r!=null?Z1(b)===C:o;return[{onClick:jr(B=>{i||(f==null||f(B),e&&!B.isPropagationStopped()&&e(C,B))}),"aria-disabled":i||void 0,"aria-selected":w,[ed("dropdown-item")]:""},{isActive:w}]}const rd=Be.forwardRef((r,n)=>{let{eventKey:o,disabled:i,onClick:f,active:e,as:p=s1}=r,b=e6(r,Q3);const[C]=td({key:o,href:b.href,disabled:i,onClick:f,active:e});return k.jsx(p,Object.assign({},b,{ref:n},C))});rd.displayName="DropdownItem";const nd=X.createContext(To?window:void 0);nd.Provider;function sd(){return X.useContext(nd)}function id(){const r=Cm(),n=X.useRef(null),o=X.useCallback(i=>{n.current=i,r()},[r]);return[n,o]}function _s({defaultShow:r,show:n,onSelect:o,onToggle:i,itemSelector:f=`* [${ed("dropdown-item")}]`,focusFirstItemOnShow:e,placement:p="bottom-start",children:b}){const C=sd(),[w,E]=wm(n,r,i),[B,M]=id(),j=B.current,[Y,J]=id(),I=Y.current,_=im(w),V=X.useRef(null),te=X.useRef(!1),Z=X.useContext(Jo),z=X.useCallback((Se,Me,oe=Me==null?void 0:Me.type)=>{E(Se,{originalEvent:Me,source:oe})},[E]),le=jr((Se,Me)=>{o==null||o(Se,Me),z(!1,Me,"select"),Me.isPropagationStopped()||Z==null||Z(Se,Me)}),pe=X.useMemo(()=>({toggle:z,placement:p,show:w,menuElement:j,toggleElement:I,setMenu:M,setToggle:J}),[z,p,w,j,I,M,J]);j&&_&&!w&&(te.current=j.contains(j.ownerDocument.activeElement));const be=jr(()=>{I&&I.focus&&I.focus()}),xe=jr(()=>{const Se=V.current;let Me=e;if(Me==null&&(Me=B.current&&G1(B.current)?"keyboard":!1),Me===!1||Me==="keyboard"&&!/^key.+$/.test(Se))return;const oe=b1(B.current,f)[0];oe&&oe.focus&&oe.focus()});X.useEffect(()=>{w?xe():te.current&&(te.current=!1,be())},[w,te,be,xe]),X.useEffect(()=>{V.current=null});const $e=(Se,Me)=>{if(!B.current)return null;const oe=b1(B.current,f);let Te=oe.indexOf(Se)+Me;return Te=Math.max(0,Math.min(Te,oe.length)),oe[Te]};return nm(X.useCallback(()=>C.document,[C]),"keydown",Se=>{var Me,oe;const{key:Te}=Se,Xe=Se.target,et=(Me=B.current)==null?void 0:Me.contains(Xe),lt=(oe=Y.current)==null?void 0:oe.contains(Xe);if(/input|textarea/i.test(Xe.tagName)&&(Te===" "||Te!=="Escape"&&et||Te==="Escape"&&Xe.type==="search")||!et&&!lt||Te==="Tab"&&(!B.current||!w))return;V.current=Se.type;const Dt={originalEvent:Se,source:Se.type};switch(Te){case"ArrowUp":{const ce=$e(Xe,-1);ce&&ce.focus&&ce.focus(),Se.preventDefault();return}case"ArrowDown":if(Se.preventDefault(),!w)E(!0,Dt);else{const ce=$e(Xe,1);ce&&ce.focus&&ce.focus()}return;case"Tab":Zf(Xe.ownerDocument,"keyup",ce=>{var ue;(ce.key==="Tab"&&!ce.target||!((ue=B.current)!=null&&ue.contains(ce.target)))&&E(!1,Dt)},{once:!0});break;case"Escape":Te==="Escape"&&(Se.preventDefault(),Se.stopPropagation()),E(!1,Dt);break}}),k.jsx(Jo.Provider,{value:le,children:k.jsx(na.Provider,{value:pe,children:b})})}_s.displayName="Dropdown",_s.Menu=U1,_s.Toggle=J1,_s.Item=rd;const Zo=Be.createContext({});Zo.displayName="DropdownContext";const ad=Be.forwardRef(({className:r,bsPrefix:n,as:o="hr",role:i="separator",...f},e)=>(n=Qe(n,"dropdown-divider"),k.jsx(o,{ref:e,className:Je(r,n),role:i,...f})));ad.displayName="DropdownDivider";const ud=Be.forwardRef(({className:r,bsPrefix:n,as:o="div",role:i="heading",...f},e)=>(n=Qe(n,"dropdown-header"),k.jsx(o,{ref:e,className:Je(r,n),role:i,...f})));ud.displayName="DropdownHeader";const od=Be.forwardRef(({bsPrefix:r,className:n,eventKey:o,disabled:i=!1,onClick:f,active:e,as:p=i1,...b},C)=>{const w=Qe(r,"dropdown-item"),[E,B]=td({key:o,href:b.href,disabled:i,onClick:f,active:e});return k.jsx(p,{...b,...E,ref:C,className:Je(n,w,B.isActive&&"active",i&&"disabled")})});od.displayName="DropdownItem";const ld=Be.forwardRef(({className:r,bsPrefix:n,as:o="span",...i},f)=>(n=Qe(n,"dropdown-item-text"),k.jsx(o,{ref:f,className:Je(r,n),...i})));ld.displayName="DropdownItemText";const t6=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",cd=typeof document<"u"||t6?X.useLayoutEffect:X.useEffect,ca=Be.createContext(null);ca.displayName="InputGroupContext";const fd=Be.createContext(null);fd.displayName="NavbarContext";function dd(r,n){if(process.env.NODE_ENV==="production")return r;const o=X.useCallback(i=>{i==null||!i.isReactComponent||(process.env.NODE_ENV!=="production"?Mf(!1,`${n} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`):Mf(!1))},[n]);return I0(o,r)}const W0=fe.oneOf(["start","end"]),r6=fe.oneOfType([W0,fe.shape({sm:W0}),fe.shape({md:W0}),fe.shape({lg:W0}),fe.shape({xl:W0}),fe.shape({xxl:W0}),fe.object]);function hd(r,n,o){const i=o?"top-end":"top-start",f=o?"top-start":"top-end",e=o?"bottom-end":"bottom-start",p=o?"bottom-start":"bottom-end",b=o?"right-start":"left-start",C=o?"right-end":"left-end",w=o?"left-start":"right-start",E=o?"left-end":"right-end";let B=r?p:e;return n==="up"?B=r?f:i:n==="end"?B=r?E:w:n==="start"?B=r?C:b:n==="down-centered"?B="bottom":n==="up-centered"&&(B="top"),B}const Qo=Be.forwardRef(({bsPrefix:r,className:n,align:o,rootCloseEvent:i,flip:f=!0,show:e,renderOnMount:p,as:b="div",popperConfig:C,variant:w,...E},B)=>{let M=!1;const j=X.useContext(fd),Y=Qe(r,"dropdown-menu"),{align:J,drop:I,isRTL:_}=X.useContext(Zo);o=o||J;const V=X.useContext(ca),te=[];if(o)if(typeof o=="object"){const Se=Object.keys(o);if(process.env.NODE_ENV!=="production"&&Ns(Se.length===1,"There should only be 1 breakpoint when passing an object to `align`"),Se.length){const Me=Se[0],oe=o[Me];M=oe==="start",te.push(`${Y}-${Me}-${oe}`)}}else o==="end"&&(M=!0);const Z=hd(M,I,_),[z,{hasShown:le,popper:pe,show:be,toggle:xe}]=W1({flip:f,rootCloseEvent:i,show:e,usePopper:!j&&te.length===0,offset:[0,2],popperConfig:C,placement:Z});if(z.ref=I0(dd(B,"DropdownMenu"),z.ref),cd(()=>{be&&(pe==null||pe.update())},[be]),!le&&!p&&!V)return null;typeof b!="string"&&(z.show=be,z.close=()=>xe==null?void 0:xe(!1),z.align=o);let $e=E.style;return pe!=null&&pe.placement&&($e={...E.style,...z.style},E["x-placement"]=pe.placement),k.jsx(b,{...E,...z,style:$e,...(te.length||j)&&{"data-bs-popper":"static"},className:Je(n,Y,be&&"show",M&&`${Y}-end`,w&&`${Y}-${w}`,...te)})});Qo.displayName="DropdownMenu";const el=Be.forwardRef(({bsPrefix:r,split:n,className:o,childBsPrefix:i,as:f=_n,...e},p)=>{const b=Qe(r,"dropdown-toggle"),C=X.useContext(na);i!==void 0&&(e.bsPrefix=i);const[w]=K1();return w.ref=I0(w.ref,dd(p,"DropdownToggle")),k.jsx(f,{className:Je(o,b,n&&`${b}-split`,(C==null?void 0:C.show)&&"show"),...w,...e})});el.displayName="DropdownToggle";const pd=Be.forwardRef((r,n)=>{const{bsPrefix:o,drop:i="down",show:f,className:e,align:p="start",onSelect:b,onToggle:C,focusFirstItemOnShow:w,as:E="div",navbar:B,autoClose:M=!0,...j}=Fp(r,{show:"onToggle"}),Y=X.useContext(ca),J=Qe(o,"dropdown"),I=xo(),_=pe=>M===!1?pe==="click":M==="inside"?pe!=="rootClose":M==="outside"?pe!=="select":!0,V=t1((pe,be)=>{var xe;!((xe=be.originalEvent)==null||(xe=xe.target)==null)&&xe.classList.contains("dropdown-toggle")&&be.source==="mousedown"||(be.originalEvent.currentTarget===document&&(be.source!=="keydown"||be.originalEvent.key==="Escape")&&(be.source="rootClose"),_(be.source)&&(C==null||C(pe,be)))}),Z=hd(p==="end",i,I),z=X.useMemo(()=>({align:p,drop:i,isRTL:I}),[p,i,I]),le={down:J,"down-centered":`${J}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return k.jsx(Zo.Provider,{value:z,children:k.jsx(_s,{placement:Z,show:f,onSelect:b,onToggle:V,focusFirstItemOnShow:w,itemSelector:`.${J}-item:not(.disabled):not(:disabled)`,children:Y?j.children:k.jsx(E,{...j,ref:n,className:Je(e,f&&"show",le[i])})})})});pd.displayName="Dropdown";const md=Object.assign(pd,{Toggle:el,Menu:Qo,Item:od,ItemText:ld,Divider:ad,Header:ud}),n6={id:fe.string,href:fe.string,onClick:fe.func,title:fe.node.isRequired,disabled:fe.bool,align:r6,menuRole:fe.string,renderMenuOnMount:fe.bool,rootCloseEvent:fe.string,menuVariant:fe.oneOf(["dark"]),flip:fe.bool,bsPrefix:fe.string,variant:fe.string,size:fe.string},tl=Be.forwardRef(({title:r,children:n,bsPrefix:o,rootCloseEvent:i,variant:f,size:e,menuRole:p,renderMenuOnMount:b,disabled:C,href:w,id:E,menuVariant:B,flip:M,...j},Y)=>k.jsxs(md,{ref:Y,...j,children:[k.jsx(el,{id:E,href:w,size:e,variant:f,disabled:C,childBsPrefix:o,children:r}),k.jsx(Qo,{role:p,renderOnMount:b,rootCloseEvent:i,variant:B,flip:M,children:n})]}));tl.displayName="DropdownButton",tl.propTypes=n6;const s6={type:fe.string,tooltip:fe.bool,as:fe.elementType},fa=Be.forwardRef(({as:r="div",className:n,type:o="valid",tooltip:i=!1,...f},e)=>k.jsx(r,{...f,ref:e,className:Je(n,`${o}-${i?"tooltip":"feedback"}`)}));fa.displayName="Feedback",fa.propTypes=s6;const hn=Be.createContext({}),Ps=Be.forwardRef(({id:r,bsPrefix:n,className:o,type:i="checkbox",isValid:f=!1,isInvalid:e=!1,as:p="input",...b},C)=>{const{controlId:w}=X.useContext(hn);return n=Qe(n,"form-check-input"),k.jsx(p,{...b,ref:C,type:i,id:r||w,className:Je(o,n,f&&"is-valid",e&&"is-invalid")})});Ps.displayName="FormCheckInput";const da=Be.forwardRef(({bsPrefix:r,className:n,htmlFor:o,...i},f)=>{const{controlId:e}=X.useContext(hn);return r=Qe(r,"form-check-label"),k.jsx("label",{...i,ref:f,htmlFor:o||e,className:Je(n,r)})});da.displayName="FormCheckLabel";const gd=Be.forwardRef(({id:r,bsPrefix:n,bsSwitchPrefix:o,inline:i=!1,reverse:f=!1,disabled:e=!1,isValid:p=!1,isInvalid:b=!1,feedbackTooltip:C=!1,feedback:w,feedbackType:E,className:B,style:M,title:j="",type:Y="checkbox",label:J,children:I,as:_="input",...V},te)=>{n=Qe(n,"form-check"),o=Qe(o,"form-switch");const{controlId:Z}=X.useContext(hn),z=X.useMemo(()=>({controlId:r||Z}),[Z,r]),le=!I&&J!=null&&J!==!1||Am(I,da),pe=k.jsx(Ps,{...V,type:Y==="switch"?"checkbox":Y,ref:te,isValid:p,isInvalid:b,disabled:e,as:_});return k.jsx(hn.Provider,{value:z,children:k.jsx("div",{style:M,className:Je(B,le&&n,i&&`${n}-inline`,f&&`${n}-reverse`,Y==="switch"&&o),children:I||k.jsxs(k.Fragment,{children:[pe,le&&k.jsx(da,{title:j,children:J}),w&&k.jsx(fa,{type:E,tooltip:C,children:w})]})})})});gd.displayName="FormCheck";const ha=Object.assign(gd,{Input:Ps,Label:da}),yd=Be.forwardRef(({bsPrefix:r,type:n,size:o,htmlSize:i,id:f,className:e,isValid:p=!1,isInvalid:b=!1,plaintext:C,readOnly:w,as:E="input",...B},M)=>{const{controlId:j}=X.useContext(hn);return r=Qe(r,"form-control"),process.env.NODE_ENV!=="production"&&Ns(j==null||!f,"`controlId` is ignored on `<FormControl>` when `id` is specified."),k.jsx(E,{...B,type:n,size:i,ref:M,readOnly:w,id:f||j,className:Je(e,C?`${r}-plaintext`:r,o&&`${r}-${o}`,n==="color"&&`${r}-color`,p&&"is-valid",b&&"is-invalid")})});yd.displayName="FormControl";const i6=Object.assign(yd,{Feedback:fa}),bd=Be.forwardRef(({className:r,bsPrefix:n,as:o="div",...i},f)=>(n=Qe(n,"form-floating"),k.jsx(o,{ref:f,className:Je(r,n),...i})));bd.displayName="FormFloating";const rl=Be.forwardRef(({controlId:r,as:n="div",...o},i)=>{const f=X.useMemo(()=>({controlId:r}),[r]);return k.jsx(hn.Provider,{value:f,children:k.jsx(n,{...o,ref:i})})});rl.displayName="FormGroup";const vd=Be.forwardRef(({as:r="label",bsPrefix:n,column:o=!1,visuallyHidden:i=!1,className:f,htmlFor:e,...p},b)=>{const{controlId:C}=X.useContext(hn);n=Qe(n,"form-label");let w="col-form-label";typeof o=="string"&&(w=`${w} ${w}-${o}`);const E=Je(f,n,i&&"visually-hidden",o&&w);return process.env.NODE_ENV!=="production"&&Ns(C==null||!e,"`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."),e=e||C,o?k.jsx(nr,{ref:b,as:"label",className:E,htmlFor:e,...p}):k.jsx(r,{ref:b,className:E,htmlFor:e,...p})});vd.displayName="FormLabel";const Ad=Be.forwardRef(({bsPrefix:r,className:n,id:o,...i},f)=>{const{controlId:e}=X.useContext(hn);return r=Qe(r,"form-range"),k.jsx("input",{...i,type:"range",ref:f,className:Je(n,r),id:o||e})});Ad.displayName="FormRange";const Ed=Be.forwardRef(({bsPrefix:r,size:n,htmlSize:o,className:i,isValid:f=!1,isInvalid:e=!1,id:p,...b},C)=>{const{controlId:w}=X.useContext(hn);return r=Qe(r,"form-select"),k.jsx("select",{...b,size:o,ref:C,className:Je(i,r,n&&`${r}-${n}`,f&&"is-valid",e&&"is-invalid"),id:p||w})});Ed.displayName="FormSelect";const xd=Be.forwardRef(({bsPrefix:r,className:n,as:o="small",muted:i,...f},e)=>(r=Qe(r,"form-text"),k.jsx(o,{...f,ref:e,className:Je(n,r,i&&"text-muted")})));xd.displayName="FormText";const wd=Be.forwardRef((r,n)=>k.jsx(ha,{...r,ref:n,type:"switch"}));wd.displayName="Switch";const a6=Object.assign(wd,{Input:ha.Input,Label:ha.Label}),Cd=Be.forwardRef(({bsPrefix:r,className:n,children:o,controlId:i,label:f,...e},p)=>(r=Qe(r,"form-floating"),k.jsxs(rl,{ref:p,className:Je(n,r),controlId:i,...e,children:[o,k.jsx("label",{htmlFor:i,children:f})]})));Cd.displayName="FloatingLabel";const u6={_ref:fe.any,validated:fe.bool,as:fe.elementType},nl=Be.forwardRef(({className:r,validated:n,as:o="form",...i},f)=>k.jsx(o,{...i,ref:f,className:Je(r,n&&"was-validated")}));nl.displayName="Form",nl.propTypes=u6;const jn=Object.assign(nl,{Group:rl,Control:i6,Floating:bd,Check:ha,Switch:a6,Label:vd,Text:xd,Range:Ad,Select:Ed,FloatingLabel:Cd}),pa=Be.forwardRef(({className:r,bsPrefix:n,as:o="span",...i},f)=>(n=Qe(n,"input-group-text"),k.jsx(o,{ref:f,className:Je(r,n),...i})));pa.displayName="InputGroupText";const o6=r=>k.jsx(pa,{children:k.jsx(Ps,{type:"checkbox",...r})}),l6=r=>k.jsx(pa,{children:k.jsx(Ps,{type:"radio",...r})}),Sd=Be.forwardRef(({bsPrefix:r,size:n,hasValidation:o,className:i,as:f="div",...e},p)=>{r=Qe(r,"input-group");const b=X.useMemo(()=>({}),[]);return k.jsx(ca.Provider,{value:b,children:k.jsx(f,{ref:p,...e,className:Je(i,r,n&&`${r}-${n}`,o&&"has-validation")})})});Sd.displayName="InputGroup";const zn=Object.assign(Sd,{Text:pa,Radio:l6,Checkbox:o6}),Fd=r=>!r||typeof r=="function"?r:n=>{r.current=n};function c6(r,n){const o=Fd(r),i=Fd(n);return f=>{o&&o(f),i&&i(f)}}function ma(r,n){return X.useMemo(()=>c6(r,n),[r,n])}const sl=(r,n)=>To?r==null?(n||Zi()).body:(typeof r=="function"&&(r=r()),r&&"current"in r&&(r=r.current),r&&("nodeType"in r||r.getBoundingClientRect)?r:null):null;function Dd(r,n){const o=sd(),[i,f]=X.useState(()=>sl(r,o==null?void 0:o.document));if(!i){const e=sl(r);e&&f(e)}return X.useEffect(()=>{},[n,i]),X.useEffect(()=>{const e=sl(r);e!==i&&f(e)},[r,i]),i}function f6({children:r,in:n,onExited:o,mountOnEnter:i,unmountOnExit:f}){const e=X.useRef(null),p=X.useRef(n),b=jr(o);X.useEffect(()=>{n?p.current=!0:b(e.current)},[n,b]);const C=ma(e,Ss(r)),w=X.cloneElement(r,{ref:C});return n?w:f||!p.current&&i?null:w}const d6=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function h6(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}function p6(r){let{onEnter:n,onEntering:o,onEntered:i,onExit:f,onExiting:e,onExited:p,addEndListener:b,children:C}=r,w=h6(r,d6);const E=X.useRef(null),B=ma(E,Ss(C)),M=Z=>z=>{Z&&E.current&&Z(E.current,z)},j=X.useCallback(M(n),[n]),Y=X.useCallback(M(o),[o]),J=X.useCallback(M(i),[i]),I=X.useCallback(M(f),[f]),_=X.useCallback(M(e),[e]),V=X.useCallback(M(p),[p]),te=X.useCallback(M(b),[b]);return Object.assign({},w,{nodeRef:E},n&&{onEnter:j},o&&{onEntering:Y},i&&{onEntered:J},f&&{onExit:I},e&&{onExiting:_},p&&{onExited:V},b&&{addEndListener:te},{children:typeof C=="function"?(Z,z)=>C(Z,Object.assign({},z,{ref:B})):X.cloneElement(C,{ref:B})})}const m6=["component"];function g6(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}const y6=Be.forwardRef((r,n)=>{let{component:o}=r,i=g6(r,m6);const f=p6(i);return k.jsx(o,Object.assign({ref:n},f))});function b6({in:r,onTransition:n}){const o=X.useRef(null),i=X.useRef(!0),f=jr(n);return n1(()=>{if(!o.current)return;let e=!1;return f({in:r,element:o.current,initial:i.current,isStale:()=>e}),()=>{e=!0}},[r,f]),n1(()=>(i.current=!1,()=>{i.current=!0}),[]),o}function v6({children:r,in:n,onExited:o,onEntered:i,transition:f}){const[e,p]=X.useState(!n);n&&e&&p(!1);const b=b6({in:!!n,onTransition:w=>{const E=()=>{w.isStale()||(w.in?i==null||i(w.element,w.initial):(p(!0),o==null||o(w.element)))};Promise.resolve(f(w)).then(E,B=>{throw w.in||p(!0),B})}}),C=ma(b,Ss(r));return e&&!n?null:X.cloneElement(r,{ref:C})}function A6(r,n,o){return r?k.jsx(y6,Object.assign({},o,{component:r})):n?k.jsx(v6,Object.assign({},o,{transition:n})):k.jsx(f6,Object.assign({},o))}function Bd(r,n){return r.classList?!!n&&r.classList.contains(n):(" "+(r.className.baseVal||r.className)+" ").indexOf(" "+n+" ")!==-1}const E6=()=>{};function x6(r,n,{disabled:o,clickTrigger:i}={}){const f=n||E6;V1(r,f,{disabled:o,clickTrigger:i});const e=jr(p=>{Hp(p)&&f(p)});X.useEffect(()=>{if(o||r==null)return;const p=Zi(oa(r));let b=(p.defaultView||window).event;const C=o0(p,"keyup",w=>{if(w===b){b=void 0;return}e(w)});return()=>{C()}},[r,o,e])}const kd=Be.forwardRef((r,n)=>{const{flip:o,offset:i,placement:f,containerPadding:e,popperConfig:p={},transition:b,runTransition:C}=r,[w,E]=No(),[B,M]=No(),j=ma(E,n),Y=Dd(r.container),J=Dd(r.target),[I,_]=X.useState(!r.show),V=z1(J,w,H1({placement:f,enableEvents:!!r.show,containerPadding:e||5,flip:o,offset:i,arrowElement:B,popperConfig:p}));r.show&&I&&_(!1);const te=(...Se)=>{_(!0),r.onExited&&r.onExited(...Se)},Z=r.show||!I;if(x6(w,r.onHide,{disabled:!r.rootClose||r.rootCloseDisabled,clickTrigger:r.rootCloseEvent}),!Z)return null;const{onExit:z,onExiting:le,onEnter:pe,onEntering:be,onEntered:xe}=r;let $e=r.children(Object.assign({},V.attributes.popper,{style:V.styles.popper,ref:j}),{popper:V,placement:f,show:!!r.show,arrowProps:Object.assign({},V.attributes.arrow,{style:V.styles.arrow,ref:M})});return $e=A6(b,C,{in:!!r.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:$e,onExit:z,onExiting:le,onExited:te,onEnter:pe,onEntering:be,onEntered:xe}),Y?Rr.createPortal($e,Y):null});kd.displayName="Overlay";const Td=Be.forwardRef(({className:r,bsPrefix:n,as:o="div",...i},f)=>(n=Qe(n,"popover-header"),k.jsx(o,{ref:f,className:Je(r,n),...i})));Td.displayName="PopoverHeader";const il=Be.forwardRef(({className:r,bsPrefix:n,as:o="div",...i},f)=>(n=Qe(n,"popover-body"),k.jsx(o,{ref:f,className:Je(r,n),...i})));il.displayName="PopoverBody";function $d(r,n){let o=r;return r==="left"?o=n?"end":"start":r==="right"&&(o=n?"start":"end"),o}function Md(r="absolute"){return{position:r,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const al=Object.assign(Be.forwardRef(({bsPrefix:r,placement:n="right",className:o,style:i,children:f,body:e,arrowProps:p,hasDoneInitialMeasure:b,popper:C,show:w,...E},B)=>{const M=Qe(r,"popover"),j=xo(),[Y]=(n==null?void 0:n.split("-"))||[],J=$d(Y,j);let I=i;return w&&!b&&(I={...i,...Md(C==null?void 0:C.strategy)}),k.jsxs("div",{ref:B,role:"tooltip",style:I,"x-placement":Y,className:Je(o,M,Y&&`bs-popover-${J}`),...E,children:[k.jsx("div",{className:"popover-arrow",...p}),e?k.jsx(il,{children:f}):f]})}),{Header:Td,Body:il,POPPER_OFFSET:[0,8]}),Od=Be.forwardRef(({bsPrefix:r,placement:n="right",className:o,style:i,children:f,arrowProps:e,hasDoneInitialMeasure:p,popper:b,show:C,...w},E)=>{r=Qe(r,"tooltip");const B=xo(),[M]=(n==null?void 0:n.split("-"))||[],j=$d(M,B);let Y=i;return C&&!p&&(Y={...i,...Md(b==null?void 0:b.strategy)}),k.jsxs("div",{ref:E,style:Y,role:"tooltip","x-placement":M,className:Je(o,r,`bs-tooltip-${j}`),...w,children:[k.jsx("div",{className:"tooltip-arrow",...e}),k.jsx("div",{className:`${r}-inner`,children:f})]})});Od.displayName="Tooltip";const w6=Object.assign(Od,{TOOLTIP_OFFSET:[0,6]});function C6(r){const n=X.useRef(null),o=Qe(void 0,"popover"),i=Qe(void 0,"tooltip"),f=X.useMemo(()=>({name:"offset",options:{offset:()=>{if(r)return r;if(n.current){if(Bd(n.current,o))return al.POPPER_OFFSET;if(Bd(n.current,i))return w6.TOOLTIP_OFFSET}return[0,0]}}}),[r,o,i]);return[n,[f]]}function S6(r,n){const{ref:o}=r,{ref:i}=n;r.ref=o.__wrapped||(o.__wrapped=f=>o(ra(f))),n.ref=i.__wrapped||(i.__wrapped=f=>i(ra(f)))}const Nd=Be.forwardRef(({children:r,transition:n=Po,popperConfig:o={},rootClose:i=!1,placement:f="top",show:e=!1,...p},b)=>{const C=X.useRef({}),[w,E]=X.useState(null),[B,M]=C6(p.offset),j=I0(b,B),Y=n===!0?Po:n||void 0,J=t1(I=>{E(I),o==null||o.onFirstUpdate==null||o.onFirstUpdate(I)});return cd(()=>{w&&p.target&&(C.current.scheduleUpdate==null||C.current.scheduleUpdate())},[w,p.target]),X.useEffect(()=>{e||E(null)},[e]),k.jsx(kd,{...p,ref:j,popperConfig:{...o,modifiers:M.concat(o.modifiers||[]),onFirstUpdate:J},transition:Y,rootClose:i,placement:f,show:e,children:(I,{arrowProps:_,popper:V,show:te})=>{var Z;S6(I,_);const z=V==null?void 0:V.placement,le=Object.assign(C.current,{state:V==null?void 0:V.state,scheduleUpdate:V==null?void 0:V.update,placement:z,outOfBoundaries:(V==null||(Z=V.state)==null||(Z=Z.modifiersData.hide)==null?void 0:Z.isReferenceHidden)||!1,strategy:o.strategy}),pe=!!w;return typeof r=="function"?r({...I,placement:z,show:te,...!n&&te&&{className:"show"},popper:le,arrowProps:_,hasDoneInitialMeasure:pe}):Be.cloneElement(r,{...I,placement:z,arrowProps:_,popper:le,hasDoneInitialMeasure:pe,className:Je(r.props.className,!n&&te&&"show"),style:{...r.props.style,...I.style}})}})});Nd.displayName="Overlay";function F6(r){return r&&typeof r=="object"?r:{show:r,hide:r}}function _d(r,n,o){const[i]=n,f=i.currentTarget,e=i.relatedTarget||i.nativeEvent[o];(!e||e!==f)&&!Go(f,e)&&r(...n)}fe.oneOf(["click","hover","focus"]);const D6=({trigger:r=["hover","focus"],overlay:n,children:o,popperConfig:i={},show:f,defaultShow:e=!1,onToggle:p,delay:b,placement:C,flip:w=C&&C.indexOf("auto")!==-1,...E})=>{const B=X.useRef(null),M=I0(B,Ss(o)),j=vm(),Y=X.useRef(""),[J,I]=Nf(f,e,p),_=F6(b),{onFocus:V,onBlur:te,onClick:Z}=typeof o!="function"?Be.Children.only(o).props:{},z=Xe=>{M(ra(Xe))},le=X.useCallback(()=>{if(j.clear(),Y.current="show",!_.show){I(!0);return}j.set(()=>{Y.current==="show"&&I(!0)},_.show)},[_.show,I,j]),pe=X.useCallback(()=>{if(j.clear(),Y.current="hide",!_.hide){I(!1);return}j.set(()=>{Y.current==="hide"&&I(!1)},_.hide)},[_.hide,I,j]),be=X.useCallback((...Xe)=>{le(),V==null||V(...Xe)},[le,V]),xe=X.useCallback((...Xe)=>{pe(),te==null||te(...Xe)},[pe,te]),$e=X.useCallback((...Xe)=>{I(!J),Z==null||Z(...Xe)},[Z,I,J]),Se=X.useCallback((...Xe)=>{_d(le,Xe,"fromElement")},[le]),Me=X.useCallback((...Xe)=>{_d(pe,Xe,"toElement")},[pe]),oe=r==null?[]:[].concat(r),Te={ref:z};return oe.indexOf("click")!==-1&&(Te.onClick=$e),oe.indexOf("focus")!==-1&&(Te.onFocus=be,Te.onBlur=xe),oe.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&Ns(oe.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),Te.onMouseOver=Se,Te.onMouseOut=Me),k.jsxs(k.Fragment,{children:[typeof o=="function"?o(Te):X.cloneElement(o,Te),k.jsx(Nd,{...E,show:J,onHide:pe,flip:w,placement:C,popperConfig:i,target:B.current,children:n})]})},In=Be.forwardRef(({bsPrefix:r,className:n,as:o="div",...i},f)=>{const e=Qe(r,"row"),p=_f(),b=Pf(),C=`${e}-cols`,w=[];return p.forEach(E=>{const B=i[E];delete i[E];let M;B!=null&&typeof B=="object"?{cols:M}=B:M=B;const j=E!==b?`-${E}`:"";M!=null&&w.push(`${C}${j}-${M}`)}),k.jsx(o,{ref:f,...i,className:Je(n,e,...w)})});In.displayName="Row";const B6=Be.forwardRef(({bsPrefix:r,className:n,striped:o,bordered:i,borderless:f,hover:e,size:p,variant:b,responsive:C,...w},E)=>{const B=Qe(r,"table"),M=Je(n,B,b&&`${B}-${b}`,p&&`${B}-${p}`,o&&`${B}-${typeof o=="string"?`striped-${o}`:"striped"}`,i&&`${B}-bordered`,f&&`${B}-borderless`,e&&`${B}-hover`),j=k.jsx("table",{...w,className:M,ref:E});if(C){let Y=`${B}-responsive`;return typeof C=="string"&&(Y=`${Y}-${C}`),k.jsx("div",{className:Y,children:j})}return j});function Ht(r){return`Minified Redux error #${r}; visit https://redux.js.org/Errors?code=${r} for the full message or use the non-minified dev environment for full errors. `}var k6=typeof Symbol=="function"&&Symbol.observable||"@@observable",Pd=k6,ul=()=>Math.random().toString(36).substring(7).split("").join("."),T6={INIT:`@@redux/INIT${ul()}`,REPLACE:`@@redux/REPLACE${ul()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ul()}`},f0=T6;function Rs(r){if(typeof r!="object"||r===null)return!1;let n=r;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(r)===n||Object.getPrototypeOf(r)===null}function $6(r){if(r===void 0)return"undefined";if(r===null)return"null";const n=typeof r;switch(n){case"boolean":case"string":case"number":case"symbol":case"function":return n}if(Array.isArray(r))return"array";if(N6(r))return"date";if(O6(r))return"error";const o=M6(r);switch(o){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return o}return Object.prototype.toString.call(r).slice(8,-1).toLowerCase().replace(/\s/g,"")}function M6(r){return typeof r.constructor=="function"?r.constructor.name:null}function O6(r){return r instanceof Error||typeof r.message=="string"&&r.constructor&&typeof r.constructor.stackTraceLimit=="number"}function N6(r){return r instanceof Date?!0:typeof r.toDateString=="function"&&typeof r.getDate=="function"&&typeof r.setDate=="function"}function Ln(r){let n=typeof r;return process.env.NODE_ENV!=="production"&&(n=$6(r)),n}function Rd(r,n,o){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Ht(2):`Expected the root reducer to be a function. Instead, received: '${Ln(r)}'`);if(typeof n=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Ht(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 n=="function"&&typeof o>"u"&&(o=n,n=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(process.env.NODE_ENV==="production"?Ht(1):`Expected the enhancer to be a function. Instead, received: '${Ln(o)}'`);return o(Rd)(r,n)}let i=r,f=n,e=new Map,p=e,b=0,C=!1;function w(){p===e&&(p=new Map,e.forEach((I,_)=>{p.set(_,I)}))}function E(){if(C)throw new Error(process.env.NODE_ENV==="production"?Ht(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 f}function B(I){if(typeof I!="function")throw new Error(process.env.NODE_ENV==="production"?Ht(4):`Expected the listener to be a function. Instead, received: '${Ln(I)}'`);if(C)throw new Error(process.env.NODE_ENV==="production"?Ht(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 _=!0;w();const V=b++;return p.set(V,I),function(){if(_){if(C)throw new Error(process.env.NODE_ENV==="production"?Ht(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.");_=!1,w(),p.delete(V),e=null}}}function M(I){if(!Rs(I))throw new Error(process.env.NODE_ENV==="production"?Ht(7):`Actions must be plain objects. Instead, the actual type was: '${Ln(I)}'. 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 I.type>"u")throw new Error(process.env.NODE_ENV==="production"?Ht(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof I.type!="string")throw new Error(process.env.NODE_ENV==="production"?Ht(17):`Action "type" property must be a string. Instead, the actual type was: '${Ln(I.type)}'. Value was: '${I.type}' (stringified)`);if(C)throw new Error(process.env.NODE_ENV==="production"?Ht(9):"Reducers may not dispatch actions.");try{C=!0,f=i(f,I)}finally{C=!1}return(e=p).forEach(V=>{V()}),I}function j(I){if(typeof I!="function")throw new Error(process.env.NODE_ENV==="production"?Ht(10):`Expected the nextReducer to be a function. Instead, received: '${Ln(I)}`);i=I,M({type:f0.REPLACE})}function Y(){const I=B;return{subscribe(_){if(typeof _!="object"||_===null)throw new Error(process.env.NODE_ENV==="production"?Ht(11):`Expected the observer to be an object. Instead, received: '${Ln(_)}'`);function V(){const Z=_;Z.next&&Z.next(E())}return V(),{unsubscribe:I(V)}},[Pd](){return this}}}return M({type:f0.INIT}),{dispatch:M,subscribe:B,getState:E,replaceReducer:j,[Pd]:Y}}function jd(r){typeof console<"u"&&typeof console.error=="function"&&console.error(r);try{throw new Error(r)}catch{}}function _6(r,n,o,i){const f=Object.keys(n),e=o&&o.type===f0.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(f.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(!Rs(r))return`The ${e} has unexpected type of "${Ln(r)}". Expected argument to be an object with the following keys: "${f.join('", "')}"`;const p=Object.keys(r).filter(b=>!n.hasOwnProperty(b)&&!i[b]);if(p.forEach(b=>{i[b]=!0}),!(o&&o.type===f0.REPLACE)&&p.length>0)return`Unexpected ${p.length>1?"keys":"key"} "${p.join('", "')}" found in ${e}. Expected to find one of the known reducer keys instead: "${f.join('", "')}". Unexpected keys will be ignored.`}function P6(r){Object.keys(r).forEach(n=>{const o=r[n];if(typeof o(void 0,{type:f0.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Ht(12):`The slice reducer for key "${n}" 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 o(void 0,{type:f0.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Ht(13):`The slice reducer for key "${n}" returned undefined when probed with a random type. Don't try to handle '${f0.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 R6(r){const n=Object.keys(r),o={};for(let p=0;p<n.length;p++){const b=n[p];process.env.NODE_ENV!=="production"&&typeof r[b]>"u"&&jd(`No reducer provided for key "${b}"`),typeof r[b]=="function"&&(o[b]=r[b])}const i=Object.keys(o);let f;process.env.NODE_ENV!=="production"&&(f={});let e;try{P6(o)}catch(p){e=p}return function(b={},C){if(e)throw e;if(process.env.NODE_ENV!=="production"){const B=_6(b,o,C,f);B&&jd(B)}let w=!1;const E={};for(let B=0;B<i.length;B++){const M=i[B],j=o[M],Y=b[M],J=j(Y,C);if(typeof J>"u"){const I=C&&C.type;throw new Error(process.env.NODE_ENV==="production"?Ht(14):`When called with an action of type ${I?`"${String(I)}"`:"(unknown type)"}, the slice reducer for key "${M}" 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.`)}E[M]=J,w=w||J!==Y}return w=w||i.length!==Object.keys(b).length,w?E:b}}function ga(...r){return r.length===0?n=>n:r.length===1?r[0]:r.reduce((n,o)=>(...i)=>n(o(...i)))}function j6(...r){return n=>(o,i)=>{const f=n(o,i);let e=()=>{throw new Error(process.env.NODE_ENV==="production"?Ht(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const p={getState:f.getState,dispatch:(C,...w)=>e(C,...w)},b=r.map(C=>C(p));return e=ga(...b)(f.dispatch),{...f,dispatch:e}}}function zd(r){return Rs(r)&&"type"in r&&typeof r.type=="string"}var Id=Symbol.for("immer-nothing"),Ld=Symbol.for("immer-draftable"),yr=Symbol.for("immer-state"),z6=process.env.NODE_ENV!=="production"?[function(r){return`The plugin for '${r}' has not been loaded into Immer. To enable the plugin, import and call \`enable${r}()\` when initializing your application.`},function(r){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 '${r}'`},"This object has been frozen and should not be mutated",function(r){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+r},"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(r){return`'current' expects a draft, got: ${r}`},"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(r){return`'original' expects a draft, got: ${r}`}]:[];function cr(r,...n){if(process.env.NODE_ENV!=="production"){const o=z6[r],i=typeof o=="function"?o.apply(null,n):o;throw new Error(`[Immer] ${i}`)}throw new Error(`[Immer] minified error nr: ${r}. Full error at: https://bit.ly/3cXEKWf`)}var U0=Object.getPrototypeOf;function d0(r){return!!r&&!!r[yr]}function pn(r){var n;return r?qd(r)||Array.isArray(r)||!!r[Ld]||!!((n=r.constructor)!=null&&n[Ld])||va(r)||Aa(r):!1}var I6=Object.prototype.constructor.toString();function qd(r){if(!r||typeof r!="object")return!1;const n=U0(r);if(n===null)return!0;const o=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return o===Object?!0:typeof o=="function"&&Function.toString.call(o)===I6}function ya(r,n){ba(r)===0?Reflect.ownKeys(r).forEach(o=>{n(o,r[o],r)}):r.forEach((o,i)=>n(i,o,r))}function ba(r){const n=r[yr];return n?n.type_:Array.isArray(r)?1:va(r)?2:Aa(r)?3:0}function ol(r,n){return ba(r)===2?r.has(n):Object.prototype.hasOwnProperty.call(r,n)}function Vd(r,n,o){const i=ba(r);i===2?r.set(n,o):i===3?r.add(o):r[n]=o}function L6(r,n){return r===n?r!==0||1/r===1/n:r!==r&&n!==n}function va(r){return r instanceof Map}function Aa(r){return r instanceof Set}function h0(r){return r.copy_||r.base_}function ll(r,n){if(va(r))return new Map(r);if(Aa(r))return new Set(r);if(Array.isArray(r))return Array.prototype.slice.call(r);const o=qd(r);if(n===!0||n==="class_only"&&!o){const i=Object.getOwnPropertyDescriptors(r);delete i[yr];let f=Reflect.ownKeys(i);for(let e=0;e<f.length;e++){const p=f[e],b=i[p];b.writable===!1&&(b.writable=!0,b.configurable=!0),(b.get||b.set)&&(i[p]={configurable:!0,writable:!0,enumerable:b.enumerable,value:r[p]})}return Object.create(U0(r),i)}else{const i=U0(r);if(i!==null&&o)return{...r};const f=Object.create(i);return Object.assign(f,r)}}function cl(r,n=!1){return Ea(r)||d0(r)||!pn(r)||(ba(r)>1&&(r.set=r.add=r.clear=r.delete=q6),Object.freeze(r),n&&Object.entries(r).forEach(([o,i])=>cl(i,!0))),r}function q6(){cr(2)}function Ea(r){return Object.isFrozen(r)}var V6={};function p0(r){const n=V6[r];return n||cr(0,r),n}var js;function Hd(){return js}function H6(r,n){return{drafts_:[],parent_:r,immer_:n,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Wd(r,n){n&&(p0("Patches"),r.patches_=[],r.inversePatches_=[],r.patchListener_=n)}function fl(r){dl(r),r.drafts_.forEach(W6),r.drafts_=null}function dl(r){r===js&&(js=r.parent_)}function Ud(r){return js=H6(js,r)}function W6(r){const n=r[yr];n.type_===0||n.type_===1?n.revoke_():n.revoked_=!0}function Yd(r,n){n.unfinalizedDrafts_=n.drafts_.length;const o=n.drafts_[0];return r!==void 0&&r!==o?(o[yr].modified_&&(fl(n),cr(4)),pn(r)&&(r=xa(n,r),n.parent_||wa(n,r)),n.patches_&&p0("Patches").generateReplacementPatches_(o[yr].base_,r,n.patches_,n.inversePatches_)):r=xa(n,o,[]),fl(n),n.patches_&&n.patchListener_(n.patches_,n.inversePatches_),r!==Id?r:void 0}function xa(r,n,o){if(Ea(n))return n;const i=n[yr];if(!i)return ya(n,(f,e)=>Gd(r,i,n,f,e,o)),n;if(i.scope_!==r)return n;if(!i.modified_)return wa(r,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const f=i.copy_;let e=f,p=!1;i.type_===3&&(e=new Set(f),f.clear(),p=!0),ya(e,(b,C)=>Gd(r,i,f,b,C,o,p)),wa(r,f,!1),o&&r.patches_&&p0("Patches").generatePatches_(i,o,r.patches_,r.inversePatches_)}return i.copy_}function Gd(r,n,o,i,f,e,p){if(process.env.NODE_ENV!=="production"&&f===o&&cr(5),d0(f)){const b=e&&n&&n.type_!==3&&!ol(n.assigned_,i)?e.concat(i):void 0,C=xa(r,f,b);if(Vd(o,i,C),d0(C))r.canAutoFreeze_=!1;else return}else p&&o.add(f);if(pn(f)&&!Ea(f)){if(!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1)return;xa(r,f),(!n||!n.scope_.parent_)&&typeof i!="symbol"&&Object.prototype.propertyIsEnumerable.call(o,i)&&wa(r,f)}}function wa(r,n,o=!1){!r.parent_&&r.immer_.autoFreeze_&&r.canAutoFreeze_&&cl(n,o)}function U6(r,n){const o=Array.isArray(r),i={type_:o?1:0,scope_:n?n.scope_:Hd(),modified_:!1,finalized_:!1,assigned_:{},parent_:n,base_:r,draft_:null,copy_:null,revoke_:null,isManual_:!1};let f=i,e=hl;o&&(f=[i],e=zs);const{revoke:p,proxy:b}=Proxy.revocable(f,e);return i.draft_=b,i.revoke_=p,b}var hl={get(r,n){if(n===yr)return r;const o=h0(r);if(!ol(o,n))return Y6(r,o,n);const i=o[n];return r.finalized_||!pn(i)?i:i===pl(r.base_,n)?(gl(r),r.copy_[n]=yl(i,r)):i},has(r,n){return n in h0(r)},ownKeys(r){return Reflect.ownKeys(h0(r))},set(r,n,o){const i=Xd(h0(r),n);if(i!=null&&i.set)return i.set.call(r.draft_,o),!0;if(!r.modified_){const f=pl(h0(r),n),e=f==null?void 0:f[yr];if(e&&e.base_===o)return r.copy_[n]=o,r.assigned_[n]=!1,!0;if(L6(o,f)&&(o!==void 0||ol(r.base_,n)))return!0;gl(r),ml(r)}return r.copy_[n]===o&&(o!==void 0||n in r.copy_)||Number.isNaN(o)&&Number.isNaN(r.copy_[n])||(r.copy_[n]=o,r.assigned_[n]=!0),!0},deleteProperty(r,n){return pl(r.base_,n)!==void 0||n in r.base_?(r.assigned_[n]=!1,gl(r),ml(r)):delete r.assigned_[n],r.copy_&&delete r.copy_[n],!0},getOwnPropertyDescriptor(r,n){const o=h0(r),i=Reflect.getOwnPropertyDescriptor(o,n);return i&&{writable:!0,configurable:r.type_!==1||n!=="length",enumerable:i.enumerable,value:o[n]}},defineProperty(){cr(11)},getPrototypeOf(r){return U0(r.base_)},setPrototypeOf(){cr(12)}},zs={};ya(hl,(r,n)=>{zs[r]=function(){return arguments[0]=arguments[0][0],n.apply(this,arguments)}}),zs.deleteProperty=function(r,n){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(n))&&cr(13),zs.set.call(this,r,n,void 0)},zs.set=function(r,n,o){return process.env.NODE_ENV!=="production"&&n!=="length"&&isNaN(parseInt(n))&&cr(14),hl.set.call(this,r[0],n,o,r[0])};function pl(r,n){const o=r[yr];return(o?h0(o):r)[n]}function Y6(r,n,o){var f;const i=Xd(n,o);return i?"value"in i?i.value:(f=i.get)==null?void 0:f.call(r.draft_):void 0}function Xd(r,n){if(!(n in r))return;let o=U0(r);for(;o;){const i=Object.getOwnPropertyDescriptor(o,n);if(i)return i;o=U0(o)}}function ml(r){r.modified_||(r.modified_=!0,r.parent_&&ml(r.parent_))}function gl(r){r.copy_||(r.copy_=ll(r.base_,r.scope_.immer_.useStrictShallowCopy_))}var G6=class{constructor(r){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(n,o,i)=>{if(typeof n=="function"&&typeof o!="function"){const e=o;o=n;const p=this;return function(C=e,...w){return p.produce(C,E=>o.call(this,E,...w))}}typeof o!="function"&&cr(6),i!==void 0&&typeof i!="function"&&cr(7);let f;if(pn(n)){const e=Ud(this),p=yl(n,void 0);let b=!0;try{f=o(p),b=!1}finally{b?fl(e):dl(e)}return Wd(e,i),Yd(f,e)}else if(!n||typeof n!="object"){if(f=o(n),f===void 0&&(f=n),f===Id&&(f=void 0),this.autoFreeze_&&cl(f,!0),i){const e=[],p=[];p0("Patches").generateReplacementPatches_(n,f,e,p),i(e,p)}return f}else cr(1,n)},this.produceWithPatches=(n,o)=>{if(typeof n=="function")return(p,...b)=>this.produceWithPatches(p,C=>n(C,...b));let i,f;return[this.produce(n,o,(p,b)=>{i=p,f=b}),i,f]},typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze),typeof(r==null?void 0:r.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(r.useStrictShallowCopy)}createDraft(r){pn(r)||cr(8),d0(r)&&(r=X6(r));const n=Ud(this),o=yl(r,void 0);return o[yr].isManual_=!0,dl(n),o}finishDraft(r,n){const o=r&&r[yr];(!o||!o.isManual_)&&cr(9);const{scope_:i}=o;return Wd(i,n),Yd(void 0,i)}setAutoFreeze(r){this.autoFreeze_=r}setUseStrictShallowCopy(r){this.useStrictShallowCopy_=r}applyPatches(r,n){let o;for(o=n.length-1;o>=0;o--){const f=n[o];if(f.path.length===0&&f.op==="replace"){r=f.value;break}}o>-1&&(n=n.slice(o+1));const i=p0("Patches").applyPatches_;return d0(r)?i(r,n):this.produce(r,f=>i(f,n))}};function yl(r,n){const o=va(r)?p0("MapSet").proxyMap_(r,n):Aa(r)?p0("MapSet").proxySet_(r,n):U6(r,n);return(n?n.scope_:Hd()).drafts_.push(o),o}function X6(r){return d0(r)||cr(10,r),Kd(r)}function Kd(r){if(!pn(r)||Ea(r))return r;const n=r[yr];let o;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,o=ll(r,n.scope_.immer_.useStrictShallowCopy_)}else o=ll(r,!0);return ya(o,(i,f)=>{Vd(o,i,Kd(f))}),n&&(n.finalized_=!1),o}var br=new G6,Jd=br.produce;br.produceWithPatches.bind(br),br.setAutoFreeze.bind(br),br.setUseStrictShallowCopy.bind(br),br.applyPatches.bind(br),br.createDraft.bind(br),br.finishDraft.bind(br);var K6=(r,n,o)=>{if(n.length===1&&n[0]===o){let i=!1;try{const f={};r(f)===f&&(i=!0)}catch{}if(i){let f;try{throw new Error}catch(e){({stack:f}=e)}console.warn(`The result function returned its own inputs without modification. e.g
|
|
47
|
+
\`createSelector([state => state.todos], todos => todos)\`
|
|
48
|
+
This could lead to inefficient memoization and unnecessary re-renders.
|
|
49
|
+
Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:f})}}},J6=(r,n,o)=>{const{memoize:i,memoizeOptions:f}=n,{inputSelectorResults:e,inputSelectorResultsCopy:p}=r,b=i(()=>({}),...f);if(!(b.apply(null,e)===b.apply(null,p))){let w;try{throw new Error}catch(E){({stack:w}=E)}console.warn(`An input selector returned a different result when passed same arguments.
|
|
50
|
+
This means your output selector will likely run more frequently than intended.
|
|
51
|
+
Avoid returning a new reference inside your input selector, e.g.
|
|
52
|
+
\`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:o,firstInputs:e,secondInputs:p,stack:w})}},Z6={inputStabilityCheck:"once",identityFunctionCheck:"once"};function Q6(r,n=`expected a function, instead received ${typeof r}`){if(typeof r!="function")throw new TypeError(n)}function e5(r,n=`expected an object, instead received ${typeof r}`){if(typeof r!="object")throw new TypeError(n)}function t5(r,n="expected all items to be functions, instead received the following types: "){if(!r.every(o=>typeof o=="function")){const o=r.map(i=>typeof i=="function"?`function ${i.name||"unnamed"}()`:typeof i).join(", ");throw new TypeError(`${n}[${o}]`)}}var Zd=r=>Array.isArray(r)?r:[r];function r5(r){const n=Array.isArray(r[0])?r[0]:r;return t5(n,"createSelector expects all input-selectors to be functions, but received the following types: "),n}function Qd(r,n){const o=[],{length:i}=r;for(let f=0;f<i;f++)o.push(r[f].apply(null,n));return o}var n5=(r,n)=>{const{identityFunctionCheck:o,inputStabilityCheck:i}={...Z6,...n};return{identityFunctionCheck:{shouldRun:o==="always"||o==="once"&&r,run:K6},inputStabilityCheck:{shouldRun:i==="always"||i==="once"&&r,run:J6}}},s5=class{constructor(r){this.value=r}deref(){return this.value}},i5=typeof WeakRef<"u"?WeakRef:s5,a5=0,e4=1;function Ca(){return{s:a5,v:void 0,o:null,p:null}}function t4(r,n={}){let o=Ca();const{resultEqualityCheck:i}=n;let f,e=0;function p(){var B;let b=o;const{length:C}=arguments;for(let M=0,j=C;M<j;M++){const Y=arguments[M];if(typeof Y=="function"||typeof Y=="object"&&Y!==null){let J=b.o;J===null&&(b.o=J=new WeakMap);const I=J.get(Y);I===void 0?(b=Ca(),J.set(Y,b)):b=I}else{let J=b.p;J===null&&(b.p=J=new Map);const I=J.get(Y);I===void 0?(b=Ca(),J.set(Y,b)):b=I}}const w=b;let E;if(b.s===e4)E=b.v;else if(E=r.apply(null,arguments),e++,i){const M=((B=f==null?void 0:f.deref)==null?void 0:B.call(f))??f;M!=null&&i(M,E)&&(E=M,e!==0&&e--),f=typeof E=="object"&&E!==null||typeof E=="function"?new i5(E):E}return w.s=e4,w.v=E,E}return p.clearCache=()=>{o=Ca(),p.resetResultsCount()},p.resultsCount=()=>e,p.resetResultsCount=()=>{e=0},p}function u5(r,...n){const o=typeof r=="function"?{memoize:r,memoizeOptions:n}:r,i=(...f)=>{let e=0,p=0,b,C={},w=f.pop();typeof w=="object"&&(C=w,w=f.pop()),Q6(w,`createSelector expects an output function after the inputs, but received: [${typeof w}]`);const E={...o,...C},{memoize:B,memoizeOptions:M=[],argsMemoize:j=t4,argsMemoizeOptions:Y=[],devModeChecks:J={}}=E,I=Zd(M),_=Zd(Y),V=r5(f),te=B(function(){return e++,w.apply(null,arguments)},...I);let Z=!0;const z=j(function(){p++;const pe=Qd(V,arguments);if(b=te.apply(null,pe),process.env.NODE_ENV!=="production"){const{identityFunctionCheck:be,inputStabilityCheck:xe}=n5(Z,J);if(be.shouldRun&&be.run(w,pe,b),xe.shouldRun){const $e=Qd(V,arguments);xe.run({inputSelectorResults:pe,inputSelectorResultsCopy:$e},{memoize:B,memoizeOptions:I},arguments)}Z&&(Z=!1)}return b},..._);return Object.assign(z,{resultFunc:w,memoizedResultFunc:te,dependencies:V,dependencyRecomputations:()=>p,resetDependencyRecomputations:()=>{p=0},lastResult:()=>b,recomputations:()=>e,resetRecomputations:()=>{e=0},memoize:B,argsMemoize:j})};return Object.assign(i,{withTypes:()=>i}),i}var zt=u5(t4),o5=Object.assign((r,n=zt)=>{e5(r,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof r}`);const o=Object.keys(r),i=o.map(e=>r[e]);return n(i,(...e)=>e.reduce((p,b,C)=>(p[o[C]]=b,p),{}))},{withTypes:()=>o5});function r4(r){return({dispatch:o,getState:i})=>f=>e=>typeof e=="function"?e(o,i,r):f(e)}var l5=r4(),c5=r4,f5=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ga:ga.apply(null,arguments)},d5=r=>r&&typeof r.match=="function";function n4(r,n){function o(...i){if(n){let f=n(...i);if(!f)throw new Error(process.env.NODE_ENV==="production"?Ft(0):"prepareAction did not return an object");return{type:r,payload:f.payload,..."meta"in f&&{meta:f.meta},..."error"in f&&{error:f.error}}}return{type:r,payload:i[0]}}return o.toString=()=>`${r}`,o.type=r,o.match=i=>zd(i)&&i.type===r,o}function h5(r){return typeof r=="function"&&"type"in r&&d5(r)}function p5(r){const n=r?`${r}`.split("/"):[],o=n[n.length-1]||"actionCreator";return`Detected an action creator with type "${r||"unknown"}" being dispatched.
|
|
53
|
+
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${o}())\` instead of \`dispatch(${o})\`. This is necessary even if the action has no payload.`}function m5(r={}){if(process.env.NODE_ENV==="production")return()=>o=>i=>o(i);const{isActionCreator:n=h5}=r;return()=>o=>i=>(n(i)&&console.warn(p5(i.type)),o(i))}function s4(r,n){let o=0;return{measureTime(i){const f=Date.now();try{return i()}finally{const e=Date.now();o+=e-f}},warnIfExceeded(){o>r&&console.warn(`${n} took ${o}ms, which is more than the warning threshold of ${r}ms.
|
|
54
|
+
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.
|
|
55
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var i4=class Xi extends Array{constructor(...n){super(...n),Object.setPrototypeOf(this,Xi.prototype)}static get[Symbol.species](){return Xi}concat(...n){return super.concat.apply(this,n)}prepend(...n){return n.length===1&&Array.isArray(n[0])?new Xi(...n[0].concat(this)):new Xi(...n.concat(this))}};function a4(r){return pn(r)?Jd(r,()=>{}):r}function Sa(r,n,o){return r.has(n)?r.get(n):r.set(n,o(n)).get(n)}function g5(r){return typeof r!="object"||r==null||Object.isFrozen(r)}function y5(r,n,o){const i=u4(r,n,o);return{detectMutations(){return o4(r,n,i,o)}}}function u4(r,n=[],o,i="",f=new Set){const e={value:o};if(!r(o)&&!f.has(o)){f.add(o),e.children={};for(const p in o){const b=i?i+"."+p:p;n.length&&n.indexOf(b)!==-1||(e.children[p]=u4(r,n,o[p],b))}}return e}function o4(r,n=[],o,i,f=!1,e=""){const p=o?o.value:void 0,b=p===i;if(f&&!b&&!Number.isNaN(i))return{wasMutated:!0,path:e};if(r(p)||r(i))return{wasMutated:!1};const C={};for(let E in o.children)C[E]=!0;for(let E in i)C[E]=!0;const w=n.length>0;for(let E in C){const B=e?e+"."+E:E;if(w&&n.some(Y=>Y instanceof RegExp?Y.test(B):B===Y))continue;const M=o4(r,n,o.children[E],i[E],b,B);if(M.wasMutated)return M}return{wasMutated:!1}}function b5(r={}){if(process.env.NODE_ENV==="production")return()=>n=>o=>n(o);{let n=function(b,C,w,E){return JSON.stringify(b,o(C,E),w)},o=function(b,C){let w=[],E=[];return C||(C=function(B,M){return w[0]===M?"[Circular ~]":"[Circular ~."+E.slice(0,w.indexOf(M)).join(".")+"]"}),function(B,M){if(w.length>0){var j=w.indexOf(this);~j?w.splice(j+1):w.push(this),~j?E.splice(j,1/0,B):E.push(B),~w.indexOf(M)&&(M=C.call(this,B,M))}else w.push(M);return b==null?M:b.call(this,B,M)}},{isImmutable:i=g5,ignoredPaths:f,warnAfter:e=32}=r;const p=y5.bind(null,i,f);return({getState:b})=>{let C=b(),w=p(C),E;return B=>M=>{const j=s4(e,"ImmutableStateInvariantMiddleware");j.measureTime(()=>{if(C=b(),E=w.detectMutations(),w=p(C),E.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Ft(19):`A state mutation was detected between dispatches, in the path '${E.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const Y=B(M);return j.measureTime(()=>{if(C=b(),E=w.detectMutations(),w=p(C),E.wasMutated)throw new Error(process.env.NODE_ENV==="production"?Ft(20):`A state mutation was detected inside a dispatch, in the path: ${E.path||""}. Take a look at the reducer(s) handling the action ${n(M)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),j.warnIfExceeded(),Y}}}}function l4(r){const n=typeof r;return r==null||n==="string"||n==="boolean"||n==="number"||Array.isArray(r)||Rs(r)}function bl(r,n="",o=l4,i,f=[],e){let p;if(!o(r))return{keyPath:n||"<root>",value:r};if(typeof r!="object"||r===null||e!=null&&e.has(r))return!1;const b=i!=null?i(r):Object.entries(r),C=f.length>0;for(const[w,E]of b){const B=n?n+"."+w:w;if(!(C&&f.some(j=>j instanceof RegExp?j.test(B):B===j))){if(!o(E))return{keyPath:B,value:E};if(typeof E=="object"&&(p=bl(E,B,o,i,f,e),p))return p}}return e&&c4(r)&&e.add(r),!1}function c4(r){if(!Object.isFrozen(r))return!1;for(const n of Object.values(r))if(!(typeof n!="object"||n===null)&&!c4(n))return!1;return!0}function v5(r={}){if(process.env.NODE_ENV==="production")return()=>n=>o=>n(o);{const{isSerializable:n=l4,getEntries:o,ignoredActions:i=[],ignoredActionPaths:f=["meta.arg","meta.baseQueryMeta"],ignoredPaths:e=[],warnAfter:p=32,ignoreState:b=!1,ignoreActions:C=!1,disableCache:w=!1}=r,E=!w&&WeakSet?new WeakSet:void 0;return B=>M=>j=>{if(!zd(j))return M(j);const Y=M(j),J=s4(p,"SerializableStateInvariantMiddleware");return!C&&!(i.length&&i.indexOf(j.type)!==-1)&&J.measureTime(()=>{const I=bl(j,"",n,o,f,E);if(I){const{keyPath:_,value:V}=I;console.error(`A non-serializable value was detected in an action, in the path: \`${_}\`. Value:`,V,`
|
|
56
|
+
Take a look at the logic that dispatched this action: `,j,`
|
|
57
|
+
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
58
|
+
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),b||(J.measureTime(()=>{const I=B.getState(),_=bl(I,"",n,o,e,E);if(_){const{keyPath:V,value:te}=_;console.error(`A non-serializable value was detected in the state, in the path: \`${V}\`. Value:`,te,`
|
|
59
|
+
Take a look at the reducer(s) handling this action type: ${j.type}.
|
|
60
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),J.warnIfExceeded()),Y}}}function Fa(r){return typeof r=="boolean"}var A5=()=>function(n){const{thunk:o=!0,immutableCheck:i=!0,serializableCheck:f=!0,actionCreatorCheck:e=!0}=n??{};let p=new i4;if(o&&(Fa(o)?p.push(l5):p.push(c5(o.extraArgument))),process.env.NODE_ENV!=="production"){if(i){let b={};Fa(i)||(b=i),p.unshift(b5(b))}if(f){let b={};Fa(f)||(b=f),p.push(v5(b))}if(e){let b={};Fa(e)||(b=e),p.unshift(m5(b))}}return p},E5="RTK_autoBatch",f4=r=>n=>{setTimeout(n,r)},x5=(r={type:"raf"})=>n=>(...o)=>{const i=n(...o);let f=!0,e=!1,p=!1;const b=new Set,C=r.type==="tick"?queueMicrotask:r.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:f4(10):r.type==="callback"?r.queueNotification:f4(r.timeout),w=()=>{p=!1,e&&(e=!1,b.forEach(E=>E()))};return Object.assign({},i,{subscribe(E){const B=()=>f&&E(),M=i.subscribe(B);return b.add(E),()=>{M(),b.delete(E)}},dispatch(E){var B;try{return f=!((B=E==null?void 0:E.meta)!=null&&B[E5]),e=!f,e&&(p||(p=!0,C(w))),i.dispatch(E)}finally{f=!0}}})},w5=r=>function(o){const{autoBatch:i=!0}=o??{};let f=new i4(r);return i&&f.push(x5(typeof i=="object"?i:void 0)),f};function C5(r){const n=A5(),{reducer:o=void 0,middleware:i,devTools:f=!0,duplicateMiddlewareCheck:e=!0,preloadedState:p=void 0,enhancers:b=void 0}=r||{};let C;if(typeof o=="function")C=o;else if(Rs(o))C=R6(o);else throw new Error(process.env.NODE_ENV==="production"?Ft(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"&&i&&typeof i!="function")throw new Error(process.env.NODE_ENV==="production"?Ft(2):"`middleware` field must be a callback");let w;if(typeof i=="function"){if(w=i(n),process.env.NODE_ENV!=="production"&&!Array.isArray(w))throw new Error(process.env.NODE_ENV==="production"?Ft(3):"when using a middleware builder function, an array of middleware must be returned")}else w=n();if(process.env.NODE_ENV!=="production"&&w.some(J=>typeof J!="function"))throw new Error(process.env.NODE_ENV==="production"?Ft(4):"each middleware provided to configureStore must be a function");if(process.env.NODE_ENV!=="production"&&e){let J=new Set;w.forEach(I=>{if(J.has(I))throw new Error(process.env.NODE_ENV==="production"?Ft(42):"Duplicate middleware references found when creating the store. Ensure that each middleware is only included once.");J.add(I)})}let E=ga;f&&(E=f5({trace:process.env.NODE_ENV!=="production",...typeof f=="object"&&f}));const B=j6(...w),M=w5(B);if(process.env.NODE_ENV!=="production"&&b&&typeof b!="function")throw new Error(process.env.NODE_ENV==="production"?Ft(5):"`enhancers` field must be a callback");let j=typeof b=="function"?b(M):M();if(process.env.NODE_ENV!=="production"&&!Array.isArray(j))throw new Error(process.env.NODE_ENV==="production"?Ft(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&j.some(J=>typeof J!="function"))throw new Error(process.env.NODE_ENV==="production"?Ft(7):"each enhancer provided to configureStore must be a function");process.env.NODE_ENV!=="production"&&w.length&&!j.includes(B)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const Y=E(...j);return Rd(C,p,Y)}function d4(r){const n={},o=[];let i;const f={addCase(e,p){if(process.env.NODE_ENV!=="production"){if(o.length>0)throw new Error(process.env.NODE_ENV==="production"?Ft(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(i)throw new Error(process.env.NODE_ENV==="production"?Ft(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const b=typeof e=="string"?e:e.type;if(!b)throw new Error(process.env.NODE_ENV==="production"?Ft(28):"`builder.addCase` cannot be called with an empty action type");if(b in n)throw new Error(process.env.NODE_ENV==="production"?Ft(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${b}'`);return n[b]=p,f},addMatcher(e,p){if(process.env.NODE_ENV!=="production"&&i)throw new Error(process.env.NODE_ENV==="production"?Ft(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return o.push({matcher:e,reducer:p}),f},addDefaultCase(e){if(process.env.NODE_ENV!=="production"&&i)throw new Error(process.env.NODE_ENV==="production"?Ft(31):"`builder.addDefaultCase` can only be called once");return i=e,f}};return r(f),[n,o,i]}function S5(r){return typeof r=="function"}function F5(r,n){if(process.env.NODE_ENV!=="production"&&typeof n=="object")throw new Error(process.env.NODE_ENV==="production"?Ft(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[o,i,f]=d4(n),e;if(S5(r))e=()=>a4(r());else{const b=a4(r);e=()=>b}function p(b=e(),C){let w=[o[C.type],...i.filter(({matcher:E})=>E(C)).map(({reducer:E})=>E)];return w.filter(E=>!!E).length===0&&(w=[f]),w.reduce((E,B)=>{if(B)if(d0(E)){const j=B(E,C);return j===void 0?E:j}else{if(pn(E))return Jd(E,M=>B(M,C));{const M=B(E,C);if(M===void 0){if(E===null)return E;throw Error("A case reducer on a non-draftable value must not return undefined")}return M}}return E},b)}return p.getInitialState=e,p}var D5=Symbol.for("rtk-slice-createasyncthunk");function B5(r,n){return`${r}/${n}`}function k5({creators:r}={}){var o;const n=(o=r==null?void 0:r.asyncThunk)==null?void 0:o[D5];return function(f){const{name:e,reducerPath:p=e}=f;if(!e)throw new Error(process.env.NODE_ENV==="production"?Ft(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&f.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const b=(typeof f.reducers=="function"?f.reducers($5()):f.reducers)||{},C=Object.keys(b),w={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},E={addCase(Z,z){const le=typeof Z=="string"?Z:Z.type;if(!le)throw new Error(process.env.NODE_ENV==="production"?Ft(12):"`context.addCase` cannot be called with an empty action type");if(le in w.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?Ft(13):"`context.addCase` cannot be called with two reducers for the same action type: "+le);return w.sliceCaseReducersByType[le]=z,E},addMatcher(Z,z){return w.sliceMatchers.push({matcher:Z,reducer:z}),E},exposeAction(Z,z){return w.actionCreators[Z]=z,E},exposeCaseReducer(Z,z){return w.sliceCaseReducersByName[Z]=z,E}};C.forEach(Z=>{const z=b[Z],le={reducerName:Z,type:B5(e,Z),createNotation:typeof f.reducers=="function"};O5(z)?_5(le,z,E,n):M5(le,z,E)});function B(){if(process.env.NODE_ENV!=="production"&&typeof f.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?Ft(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[Z={},z=[],le=void 0]=typeof f.extraReducers=="function"?d4(f.extraReducers):[f.extraReducers],pe={...Z,...w.sliceCaseReducersByType};return F5(f.initialState,be=>{for(let xe in pe)be.addCase(xe,pe[xe]);for(let xe of w.sliceMatchers)be.addMatcher(xe.matcher,xe.reducer);for(let xe of z)be.addMatcher(xe.matcher,xe.reducer);le&&be.addDefaultCase(le)})}const M=Z=>Z,j=new Map,Y=new WeakMap;let J;function I(Z,z){return J||(J=B()),J(Z,z)}function _(){return J||(J=B()),J.getInitialState()}function V(Z,z=!1){function le(be){let xe=be[Z];if(typeof xe>"u"){if(z)xe=Sa(Y,le,_);else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Ft(15):"selectSlice returned undefined for an uninjected slice reducer")}return xe}function pe(be=M){const xe=Sa(j,z,()=>new WeakMap);return Sa(xe,be,()=>{const $e={};for(const[Se,Me]of Object.entries(f.selectors??{}))$e[Se]=T5(Me,be,()=>Sa(Y,be,_),z);return $e})}return{reducerPath:Z,getSelectors:pe,get selectors(){return pe(le)},selectSlice:le}}const te={name:e,reducer:I,actions:w.actionCreators,caseReducers:w.sliceCaseReducersByName,getInitialState:_,...V(p),injectInto(Z,{reducerPath:z,...le}={}){const pe=z??p;return Z.inject({reducerPath:pe,reducer:I},le),{...te,...V(pe,!0)}}};return te}}function T5(r,n,o,i){function f(e,...p){let b=n(e);if(typeof b>"u"){if(i)b=o();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Ft(16):"selectState returned undefined for an uninjected slice reducer")}return r(b,...p)}return f.unwrapped=r,f}var Da=k5();function $5(){function r(n,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:n,...o}}return r.withTypes=()=>r,{reducer(n){return Object.assign({[n.name](...o){return n(...o)}}[n.name],{_reducerDefinitionType:"reducer"})},preparedReducer(n,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:n,reducer:o}},asyncThunk:r}}function M5({type:r,reducerName:n,createNotation:o},i,f){let e,p;if("reducer"in i){if(o&&!N5(i))throw new Error(process.env.NODE_ENV==="production"?Ft(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");e=i.reducer,p=i.prepare}else e=i;f.addCase(r,e).exposeCaseReducer(n,e).exposeAction(n,p?n4(r,p):n4(r))}function O5(r){return r._reducerDefinitionType==="asyncThunk"}function N5(r){return r._reducerDefinitionType==="reducerWithPrepare"}function _5({type:r,reducerName:n},o,i,f){if(!f)throw new Error(process.env.NODE_ENV==="production"?Ft(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:e,fulfilled:p,pending:b,rejected:C,settled:w,options:E}=o,B=f(r,e,E);i.exposeAction(n,B),p&&i.addCase(B.fulfilled,p),b&&i.addCase(B.pending,b),C&&i.addCase(B.rejected,C),w&&i.addMatcher(B.settled,w),i.exposeCaseReducer(n,{fulfilled:p||Ba,pending:b||Ba,rejected:C||Ba,settled:w||Ba})}function Ba(){}function Ft(r){return`Minified Redux Toolkit error #${r}; visit https://redux-toolkit.js.org/Errors?code=${r} for the full message or use the non-minified dev environment for full errors. `}var vl={},Al={exports:{}},h4;function P5(){return h4||(h4=1,function(r){function n(o){return o&&o.__esModule?o:{default:o}}r.exports=n,r.exports.__esModule=!0,r.exports.default=r.exports}(Al)),Al.exports}var El,p4;function R5(){if(p4)return El;p4=1;function r(i,f){function e(){this.constructor=i}e.prototype=f.prototype,i.prototype=new e}function n(i,f,e,p){this.message=i,this.expected=f,this.found=e,this.location=p,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n)}r(n,Error),n.buildMessage=function(i,f){var e={literal:function(E){return'"'+b(E.text)+'"'},class:function(E){var B="",M;for(M=0;M<E.parts.length;M++)B+=E.parts[M]instanceof Array?C(E.parts[M][0])+"-"+C(E.parts[M][1]):C(E.parts[M]);return"["+(E.inverted?"^":"")+B+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(E){return E.description}};function p(E){return E.charCodeAt(0).toString(16).toUpperCase()}function b(E){return E.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(B){return"\\x0"+p(B)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(B){return"\\x"+p(B)})}function C(E){return E.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(B){return"\\x0"+p(B)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(B){return"\\x"+p(B)})}function w(E){return e[E.type](E)}return"Expected "+function(E){var B=new Array(E.length),M,j;for(M=0;M<E.length;M++)B[M]=w(E[M]);if(B.sort(),B.length>0){for(M=1,j=1;M<B.length;M++)B[M-1]!==B[M]&&(B[j]=B[M],j++);B.length=j}switch(B.length){case 1:return B[0];case 2:return B[0]+" or "+B[1];default:return B.slice(0,-1).join(", ")+", or "+B[B.length-1]}}(i)+" but "+function(E){return E?'"'+b(E)+'"':"end of input"}(f)+" found."};function o(i,f){f=f!==void 0?f:{};var e={},p={Term:Tn,FormulaStrict:_0,FormulaWithPrecedence:D2,Clause:vy,Constants:Fy,Predicates:By,Functions:Ty,Domain:Ny,Tuples:Py,Valuation:jy,Substitution:Iy,tff:qy},b=Tn,C=function(t){return t},w=ht("term"),E="(",B=de("(",!1),M=")",j=de(")",!1),Y=function(t,u){return We.functionApplication(t,u,Ge)},J=function(t){return We.constant(t,Ge)},I=function(t){return We.variable(t,Ge)},_=",",V=de(",",!1),te=function(t,u){return u},Z=function(t,u){return[t].concat(u)},z=function(t,u){return{predicate:t,arguments:u}},le=function(t,u,h){return u(t,h,Ge)},pe=function(t){return We.predicateAtom(t.predicate,t.arguments,Ge)},be=function(t){return We.predicateAtom(t,[],Ge)},xe=function(){return We.equalityAtom},$e=function(){return(t,u,h)=>We.negation(We.equalityAtom(t,u,h),h)},Se=ht("formula"),Me=function(t){return t},oe=function(t,u,h){return u(t,h,Ge)},Te=function(t,u){return We.existentialQuant(t,u,Ge)},Xe=function(t,u){return We.universalQuant(t,u,Ge)},et=function(t){return We.negation(t,Ge)},lt=ht("binary connective"),Pt=function(){return We.conjunction},Dt=function(){return We.disjunction},ce=function(){return We.implication},ue=function(){return We.equivalence},je=function(t,u){return u(t)},Le=function(t){return u=>We.implication(u,t,Ge)},_e="",qe=function(){return t=>t},Pe=function(t){return t},Ie=function(t){return u=>[u,...t].reduceRight((h,y)=>We.equivalence(y,h,Ge))},Oe=function(t,u){return u},Ke=function(t,u){return[t,...u].reduce((h,y)=>We.disjunction(h,y,Ge))},Ue=function(t,u){return[t,...u].reduce((h,y)=>We.conjunction(h,y,Ge))},we=function(t){return We.literal(!0,t.predicate,t.arguments,Ge)},ae=function(t){return We.literal(!1,t.predicate,t.arguments,Ge)},vt=function(t){return t},It=function(){return We.clause([],Ge)},Jt=function(t){return We.clause(t,Ge)},Zr=function(t,u){return[t,...u].flat()},En=function(t){return[t]},fr=function(t){return t},Zt=ht("variable symbol"),Yt=function(t){return po.isVariable(t)},Ar=ht("individual constant symbol"),Gn=function(t){return po.isConstant(t)},zr=ht("function symbol"),$r=function(t){return po.isFunction(t)},Xn=ht("predicate symbol"),Kn=function(t){return po.isPredicate(t)},xn=ht("equality symbol"),Qr="==",Er=de("==",!1),Zs=de("≐",!1),wn="=",Cn=de("=",!1),b0=ht("conjunction symbol"),ft=de("∧",!1),ve="&&",dr=de("&&",!1),Sn="&",Jn=de("&",!1),v0="/\\",es=de("/\\",!1),Ir="\\land",Zn=de("\\land",!1),ts="\\wedge",Qs=de("\\wedge",!1),Gt=ht("disjunction symbol"),xr=de("∨",!1),wr="||",A0=de("||",!1),Qn="|",W=de("|",!1),ge="\\/",De=de("\\/",!1),ze="\\lor",Ve=de("\\lor",!1),g="\\vee",v=de("\\vee",!1),ie=ht("implication symbol"),F=de("→",!1),R=de("⇒",!1),Ye=de("⟶",!1),Ee=de("⟹",!1),Ot=de("⊃",!1),hr="->",ke=de("->",!1),Tt="=>",Qt=de("=>",!1),Fn="-->",L=de("-->",!1),Mr="==>",G=de("==>",!1),ei="\\limpl",Xa=de("\\limpl",!1),ti="\\implies",rs=de("\\implies",!1),He="\\rightarrow",ri=de("\\rightarrow",!1),E0="\\to",Ka=de("\\to",!1),gc=ht("equivalence symbol"),x0="↔︎",Cr=de("↔︎",!1),yc=de("↔",!1),bc=de("⟷",!1),vc=de("⇔",!1),Ac=de("⟺",!1),Ec=de("≡",!1),ns="<->",er=de("<->",!1),ni="<-->",xc=de("<-->",!1),ss="<=>",si=de("<=>",!1),Ja="<==>",wc=de("<==>",!1),Za="===",Cc=de("===",!1),w0="\\lequiv",Qa=de("\\lequiv",!1),ii="\\leftrightarrow",c2=de("\\leftrightarrow",!1),re="\\equivalent",$t=de("\\equivalent",!1),en="\\equiv",Lr=de("\\equiv",!1),Sc=ht("existential quantifier"),Fc=de("∃",!1),ai="\\e",is=de("\\e",!1),as=de("x",!1),Ce="ists",Dn=de("ists",!1),C0="\\E",_t=de("\\E",!1),qr=ht("universal quantifier"),Dc=de("∀",!1),eu="\\forall",Bc=de("\\forall",!1),tu="\\all",Rt=de("\\all",!1),us="\\a",ru=de("\\a",!1),os="\\A",ui=de("\\A",!1),S0=ht("negation symbol"),it=de("¬",!1),ls=de("-",!1),cs="!",oi=de("!",!1),tr="~",Sr=de("~",!1),nu="\\neg",me=de("\\neg",!1),sr="\\lnot",li=de("\\lnot",!1),ci=ht("non-equality symbol"),fi=de("≠",!1),Vt="!=",Vr=de("!=",!1),bt="<>",su=de("<>",!1),di="/=",iu=de("/=",!1),au="\\neq",kc=de("\\neq",!1),Tc=ht("empty clause symbol"),$c=de("□",!1),uu="▫︎",Mc=de("▫︎",!1),Oc="◽︎",f2=de("◽︎",!1),Or="◻︎",Ze=de("◻︎",!1),fs="⬜︎",ds=de("⬜︎",!1),hi=de("▢",!1),ou=de("⊥",!1),lu="[]",hs=de("[]",!1),cu="_|_",fu=de("_|_",!1),pi="\\square",ps=de("\\square",!1),du="\\Box",hu=de("\\Box",!1),mi="\\qed",Nc=de("\\qed",!1),_c=function(t){return t},pu=function(t,u){return u},mu=function(t,u){return[t].concat(u)},ms=function(t){return t},tn=function(t,u){return u},gi=function(t,u){return[t].concat(u)},Pc=function(t){return t},yi=function(t,u){return u},F0=function(t,u){return[t].concat(u)},bi=ht("arity of the predicate symbol (non-negative integer)"),gu=ht("arity of the function symbol (positive integer)"),Rc=function(t){return t>0},yu=function(t){return t},gs=/^[0-9]/,D0=ut([["0","9"]],!1,!1),vi=function(t){return parseInt(t,10)},Ai=ht("predicate identifier/non-negative arity"),e0="/",Ei=de("/",!1),bu=function(t,u){return{name:t,arity:u}},vu=ht("function identifier/positive arity"),xi=function(t){return t},t0=function(t,u){return u},ys=function(t,u){return[t].concat(u)},jc=ht("domain element (any string not containing white space, comma, or parentheses)"),wi=/^[^,()\t\n\r\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Au=ut([",","(",")"," ",`
|
|
61
|
+
`,"\r","\v","\f"," "," "," ",[" "," "]," "," "," "],!0,!1),Eu=function(t){return t},r0=function(t,u){return u},zc=ht("domain element or n-tuple of domain elements"),Ic=function(t){return[t]},xu=function(t,u){return[t,u]},wu=function(t,u){return[t,...u]},Cu=function(t,u){return[t,u]},Su=ht('a maps-to symbol ("->", "|->", "↦", "⟼", or "\\mapsto")'),Ci="|->",d2=de("|->",!1),Hr=ut(["↦","⟼"],!1,!1),Si="\\mapsto",Lc=de("\\mapsto",!1),B0="tff(",Fu=de("tff(",!1),bs=").",Fi=de(").",!1),Du=function(t,u,h){return{name:t,type:u,formula:h}},Fr="axiom",Bu=de("axiom",!1),$=function(){return"axiom"},rr="type",pr=de("type",!1),ku=function(){return"type"},k0="%",vs=de("%",!1),Dr=/^[\t -~]/,n0=ut([" ",[" ","~"]],!1,!1),ir=/^[\n\r\x0B\f]/,As=ut([`
|
|
62
|
+
`,"\r","\v","\f"],!1,!1),Nr=function(){return"comment"},Tu=function(t){return t},h2=function(t){return t},$u=function(t){return t},Mu=function(t){return t},Bn=function(t){return t},Ou=function(t){return t},Nu=function(t){return t},Di=function(t){return t},Bi=function(t){return t},_u=function(t){return t},Pu=function(t){return t},Ru=function(t){return t},ki=function(t){return t},Wr="[",rn=de("[",!1),nn="]",sn=de("]",!1),Ur=":",an=de(":",!1),qc=function(t,u,h){return t(u.variable,u.type,h,Ge)},Vc=de("?",!1),ju=function(){return(t,u,h)=>We.existentialQuant(t,u,h,Ge)},p2=function(){return(t,u,h)=>We.universalQuant(t,u,h,Ge)},zu=function(t,u){return[t,...u]},Ti=/^[A-Za-z0-9_$]/,Hc=ut([["A","Z"],["a","z"],["0","9"],"_","$"],!1,!1),Iu=function(t){return We.variable(t,Ge)},Wc=function(t,u){return{variable:t,type:u}},_r=function(t){return t},T0=function(t){return t},$0=function(t){return t},Lu=function(t){return t},qu=function(t,u){return t(u)},Vu=function(t,u,h){return u(t,h,Ge)},Uc=function(){return t=>We.negation(t,Ge)},s0=function(t){return t},kn=function(t){return t},m2=function(){return(t,u)=>We.negation(We.equalityAtom(t,u,Ge),Ge)},un=function(){return[]},$i=function(t){return We.constant(t,Ge)},Yc=function(t){return We.constant(t,Ge)},Gc=function(t){return`"${t.join("")}"`},Hu=/^[\\]/,Wu=ut(["\\"],!1,!1),Mi=ut(['"',"\\"],!1,!1),Xc=function(t){return t},Kc=ut([[" ","!"],["#","["],["]","~"]],!1,!1),Uu=de('"',!1),Jc=function(t){return t.join("")},g2=ut(["'","\\"],!1,!1),M0=function(t){return t},Yu=ut([[" ","&"],["0","["],["]","~"]],!1,!1),Oi=de("'",!1),Gu=function(t){return t},Ni=function(t,u,h){return u(t,h,Ge)},Xu=function(){return(t,u)=>We.equivalence(t,u,Ge)},Ku=function(){return(t,u)=>We.implication(t,u,Ge)},_i="<=",Zc=de("<=",!1),Ju=function(){return(t,u)=>We.implication(u,t,Ge)},O0="<~>",Pi=de("<~>",!1),Zu=function(){return(t,u)=>We.negation(We.equivalence(t,u,Ge),Ge)},N0="~|",y2=de("~|",!1),Ri=function(){return(t,u)=>We.negation(We.disjunction(t,u,Ge),Ge)},ji="~&",Qc=de("~&",!1),ef=function(){return(t,u)=>We.negation(We.conjunction(t,u,Ge),Ge)},Qu=function(t){return t},zi=function(t){return t},b2=function(t,u,h){return We.functionApplication(t,[u,h])},v2=function(t,u){return We.equalityAtom(t,u,Ge)},A2=function(t,u){return[t,...u].reduce((h,y)=>We.conjunction(h,y,Ge))},tf=function(t,u){return[t,...u].reduce((h,y)=>We.disjunction(h,y,Ge))},rf=function(t,u){return{kind:"atom typing",atom:t,type:u}},l=de(">",!1),a="$",c=de("$",!1),d="!>",m=de("!>",!1),A="*",S=de("*",!1),T=function(t){return t},N=function(t,u){return We.predicateAtom(t,u,Ge)},q=function(t){return t},K=function(t,u){return We.predicateAtom(t,u,Ge)},ee="$ite",ne=de("$ite",!1),he="$let",Fe=de("$let",!1),Ne=function(t,u,h){return u(t,h)},nt=function(t){return[t]},tt=function(t,u){return[t,...u]},st=":=",ct=de(":=",!1),wt=function(){return(t,u)=>We.equalityAtom(t,u,Ge)},Xt=function(){return null},jt=function(){return null},ar="<<",i0=de("<<",!1),at=function(t){return We.constant(t,Ge)},dt=ut(["+","-"],!1,!1),St=ut(["."],!1,!1),Bt=ut(["E","e"],!1,!1),Nt=ut(["0"],!1,!1),Mt=ut([["1","9"]],!1,!1),mr=ut([["a","z"]],!1,!1),nf=ut([["A","Z"]],!1,!1),eo=ut(["_"],!1,!1),to=function(t){return We.constant(t,Ge)},ro=function(t){return t},Es=function(t,u){return We.implication(t,u,Ge)},_9=function(t){return[...t]},P9=ht("white space"),E2=/^[\t\n\r\x0B\f]/,x2=ut([" ",`
|
|
63
|
+
`,"\r","\v","\f"],!1,!1),R9=function(){return[]},j9=ht("identifier"),z9=ht("constant identifier"),I9=de("_",!1),L9=de("",!1),q9=de("",!1),V9=ut(["\uD835"],!1,!1),H9=ut([["\uDC00","\uDFFF"]],!1,!1),W9=ut(["‒","ℇ",["ℊ","ℓ"],"ℕ",["℘","ℝ"],"ℤ","ℨ","ℬ","ℭ",["ℯ","ℱ"],["ℳ","ℸ"],["ℼ","⅀"],["ⅅ","ⅉ"]],!1,!1),U9=ut([["₀","₉"]],!1,!1),Y9=ut(["⁰","¹","²","³",["⁴","⁹"]],!1,!1),G9=ht("letter"),X9=ht("combining mark"),K9=ht("digit"),J9=ut([["a","z"],"µ",["ß","ö"],["ø","ÿ"],"ā","ă","ą","ć","ĉ","ċ","č","ď","đ","ē","ĕ","ė","ę","ě","ĝ","ğ","ġ","ģ","ĥ","ħ","ĩ","ī","ĭ","į","ı","ij","ĵ",["ķ","ĸ"],"ĺ","ļ","ľ","ŀ","ł","ń","ņ",["ň","ʼn"],"ŋ","ō","ŏ","ő","œ","ŕ","ŗ","ř","ś","ŝ","ş","š","ţ","ť","ŧ","ũ","ū","ŭ","ů","ű","ų","ŵ","ŷ","ź","ż",["ž","ƀ"],"ƃ","ƅ","ƈ",["ƌ","ƍ"],"ƒ","ƕ",["ƙ","ƛ"],"ƞ","ơ","ƣ","ƥ","ƨ",["ƪ","ƫ"],"ƭ","ư","ƴ","ƶ",["ƹ","ƺ"],["ƽ","ƿ"],"dž","lj","nj","ǎ","ǐ","ǒ","ǔ","ǖ","ǘ","ǚ",["ǜ","ǝ"],"ǟ","ǡ","ǣ","ǥ","ǧ","ǩ","ǫ","ǭ",["ǯ","ǰ"],"dz","ǵ","ǹ","ǻ","ǽ","ǿ","ȁ","ȃ","ȅ","ȇ","ȉ","ȋ","ȍ","ȏ","ȑ","ȓ","ȕ","ȗ","ș","ț","ȝ","ȟ","ȡ","ȣ","ȥ","ȧ","ȩ","ȫ","ȭ","ȯ","ȱ",["ȳ","ȹ"],"ȼ",["ȿ","ɀ"],"ɂ","ɇ","ɉ","ɋ","ɍ",["ɏ","ʓ"],["ʕ","ʯ"],"ͱ","ͳ","ͷ",["ͻ","ͽ"],"ΐ",["ά","ώ"],["ϐ","ϑ"],["ϕ","ϗ"],"ϙ","ϛ","ϝ","ϟ","ϡ","ϣ","ϥ","ϧ","ϩ","ϫ","ϭ",["ϯ","ϳ"],"ϵ","ϸ",["ϻ","ϼ"],["а","џ"],"ѡ","ѣ","ѥ","ѧ","ѩ","ѫ","ѭ","ѯ","ѱ","ѳ","ѵ","ѷ","ѹ","ѻ","ѽ","ѿ","ҁ","ҋ","ҍ","ҏ","ґ","ғ","ҕ","җ","ҙ","қ","ҝ","ҟ","ҡ","ң","ҥ","ҧ","ҩ","ҫ","ҭ","ү","ұ","ҳ","ҵ","ҷ","ҹ","һ","ҽ","ҿ","ӂ","ӄ","ӆ","ӈ","ӊ","ӌ",["ӎ","ӏ"],"ӑ","ӓ","ӕ","ӗ","ә","ӛ","ӝ","ӟ","ӡ","ӣ","ӥ","ӧ","ө","ӫ","ӭ","ӯ","ӱ","ӳ","ӵ","ӷ","ӹ","ӻ","ӽ","ӿ","ԁ","ԃ","ԅ","ԇ","ԉ","ԋ","ԍ","ԏ","ԑ","ԓ","ԕ","ԗ","ԙ","ԛ","ԝ","ԟ","ԡ","ԣ","ԥ","ԧ","ԩ","ԫ","ԭ","ԯ",["ա","և"],["ᏸ","ᏽ"],["ᴀ","ᴫ"],["ᵫ","ᵷ"],["ᵹ","ᶚ"],"ḁ","ḃ","ḅ","ḇ","ḉ","ḋ","ḍ","ḏ","ḑ","ḓ","ḕ","ḗ","ḙ","ḛ","ḝ","ḟ","ḡ","ḣ","ḥ","ḧ","ḩ","ḫ","ḭ","ḯ","ḱ","ḳ","ḵ","ḷ","ḹ","ḻ","ḽ","ḿ","ṁ","ṃ","ṅ","ṇ","ṉ","ṋ","ṍ","ṏ","ṑ","ṓ","ṕ","ṗ","ṙ","ṛ","ṝ","ṟ","ṡ","ṣ","ṥ","ṧ","ṩ","ṫ","ṭ","ṯ","ṱ","ṳ","ṵ","ṷ","ṹ","ṻ","ṽ","ṿ","ẁ","ẃ","ẅ","ẇ","ẉ","ẋ","ẍ","ẏ","ẑ","ẓ",["ẕ","ẝ"],"ẟ","ạ","ả","ấ","ầ","ẩ","ẫ","ậ","ắ","ằ","ẳ","ẵ","ặ","ẹ","ẻ","ẽ","ế","ề","ể","ễ","ệ","ỉ","ị","ọ","ỏ","ố","ồ","ổ","ỗ","ộ","ớ","ờ","ở","ỡ","ợ","ụ","ủ","ứ","ừ","ử","ữ","ự","ỳ","ỵ","ỷ","ỹ","ỻ","ỽ",["ỿ","ἇ"],["ἐ","ἕ"],["ἠ","ἧ"],["ἰ","ἷ"],["ὀ","ὅ"],["ὐ","ὗ"],["ὠ","ὧ"],["ὰ","ώ"],["ᾀ","ᾇ"],["ᾐ","ᾗ"],["ᾠ","ᾧ"],["ᾰ","ᾴ"],["ᾶ","ᾷ"],"ι",["ῂ","ῄ"],["ῆ","ῇ"],["ῐ","ΐ"],["ῖ","ῗ"],["ῠ","ῧ"],["ῲ","ῴ"],["ῶ","ῷ"],"ℊ",["ℎ","ℏ"],"ℓ","ℯ","ℴ","ℹ",["ℼ","ℽ"],["ⅆ","ⅉ"],"ⅎ","ↄ",["ⰰ","ⱞ"],"ⱡ",["ⱥ","ⱦ"],"ⱨ","ⱪ","ⱬ","ⱱ",["ⱳ","ⱴ"],["ⱶ","ⱻ"],"ⲁ","ⲃ","ⲅ","ⲇ","ⲉ","ⲋ","ⲍ","ⲏ","ⲑ","ⲓ","ⲕ","ⲗ","ⲙ","ⲛ","ⲝ","ⲟ","ⲡ","ⲣ","ⲥ","ⲧ","ⲩ","ⲫ","ⲭ","ⲯ","ⲱ","ⲳ","ⲵ","ⲷ","ⲹ","ⲻ","ⲽ","ⲿ","ⳁ","ⳃ","ⳅ","ⳇ","ⳉ","ⳋ","ⳍ","ⳏ","ⳑ","ⳓ","ⳕ","ⳗ","ⳙ","ⳛ","ⳝ","ⳟ","ⳡ",["ⳣ","ⳤ"],"ⳬ","ⳮ","ⳳ",["ⴀ","ⴥ"],"ⴧ","ⴭ","ꙁ","ꙃ","ꙅ","ꙇ","ꙉ","ꙋ","ꙍ","ꙏ","ꙑ","ꙓ","ꙕ","ꙗ","ꙙ","ꙛ","ꙝ","ꙟ","ꙡ","ꙣ","ꙥ","ꙧ","ꙩ","ꙫ","ꙭ","ꚁ","ꚃ","ꚅ","ꚇ","ꚉ","ꚋ","ꚍ","ꚏ","ꚑ","ꚓ","ꚕ","ꚗ","ꚙ","ꚛ","ꜣ","ꜥ","ꜧ","ꜩ","ꜫ","ꜭ",["ꜯ","ꜱ"],"ꜳ","ꜵ","ꜷ","ꜹ","ꜻ","ꜽ","ꜿ","ꝁ","ꝃ","ꝅ","ꝇ","ꝉ","ꝋ","ꝍ","ꝏ","ꝑ","ꝓ","ꝕ","ꝗ","ꝙ","ꝛ","ꝝ","ꝟ","ꝡ","ꝣ","ꝥ","ꝧ","ꝩ","ꝫ","ꝭ","ꝯ",["ꝱ","ꝸ"],"ꝺ","ꝼ","ꝿ","ꞁ","ꞃ","ꞅ","ꞇ","ꞌ","ꞎ","ꞑ",["ꞓ","ꞕ"],"ꞗ","ꞙ","ꞛ","ꞝ","ꞟ","ꞡ","ꞣ","ꞥ","ꞧ","ꞩ","ꞵ","ꞷ","ꟺ",["ꬰ","ꭚ"],["ꭠ","ꭥ"],["ꭰ","ꮿ"],["ff","st"],["ﬓ","ﬗ"],["a","z"]],!1,!1),Z9=ut([["ʰ","ˁ"],["ˆ","ˑ"],["ˠ","ˤ"],"ˬ","ˮ","ʹ","ͺ","ՙ","ـ",["ۥ","ۦ"],["ߴ","ߵ"],"ߺ","ࠚ","ࠤ","ࠨ","ॱ","ๆ","ໆ","ჼ","ៗ","ᡃ","ᪧ",["ᱸ","ᱽ"],["ᴬ","ᵪ"],"ᵸ",["ᶛ","ᶿ"],"ⁱ","ⁿ",["ₐ","ₜ"],["ⱼ","ⱽ"],"ⵯ","ⸯ","々",["〱","〵"],"〻",["ゝ","ゞ"],["ー","ヾ"],"ꀕ",["ꓸ","ꓽ"],"ꘌ","ꙿ",["ꚜ","ꚝ"],["ꜗ","ꜟ"],"ꝰ","ꞈ",["ꟸ","ꟹ"],"ꧏ","ꧦ","ꩰ","ꫝ",["ꫳ","ꫴ"],["ꭜ","ꭟ"],"ー",["゙","゚"]],!1,!1),Q9=ut(["ª","º","ƻ",["ǀ","ǃ"],"ʔ",["א","ת"],["װ","ײ"],["ؠ","ؿ"],["ف","ي"],["ٮ","ٯ"],["ٱ","ۓ"],"ە",["ۮ","ۯ"],["ۺ","ۼ"],"ۿ","ܐ",["ܒ","ܯ"],["ݍ","ޥ"],"ޱ",["ߊ","ߪ"],["ࠀ","ࠕ"],["ࡀ","ࡘ"],["ࢠ","ࢴ"],["ऄ","ह"],"ऽ","ॐ",["क़","ॡ"],["ॲ","ঀ"],["অ","ঌ"],["এ","ঐ"],["ও","ন"],["প","র"],"ল",["শ","হ"],"ঽ","ৎ",["ড়","ঢ়"],["য়","ৡ"],["ৰ","ৱ"],["ਅ","ਊ"],["ਏ","ਐ"],["ਓ","ਨ"],["ਪ","ਰ"],["ਲ","ਲ਼"],["ਵ","ਸ਼"],["ਸ","ਹ"],["ਖ਼","ੜ"],"ਫ਼",["ੲ","ੴ"],["અ","ઍ"],["એ","ઑ"],["ઓ","ન"],["પ","ર"],["લ","ળ"],["વ","હ"],"ઽ","ૐ",["ૠ","ૡ"],"ૹ",["ଅ","ଌ"],["ଏ","ଐ"],["ଓ","ନ"],["ପ","ର"],["ଲ","ଳ"],["ଵ","ହ"],"ଽ",["ଡ଼","ଢ଼"],["ୟ","ୡ"],"ୱ","ஃ",["அ","ஊ"],["எ","ஐ"],["ஒ","க"],["ங","ச"],"ஜ",["ஞ","ட"],["ண","த"],["ந","ப"],["ம","ஹ"],"ௐ",["అ","ఌ"],["ఎ","ఐ"],["ఒ","న"],["ప","హ"],"ఽ",["ౘ","ౚ"],["ౠ","ౡ"],["ಅ","ಌ"],["ಎ","ಐ"],["ಒ","ನ"],["ಪ","ಳ"],["ವ","ಹ"],"ಽ","ೞ",["ೠ","ೡ"],["ೱ","ೲ"],["അ","ഌ"],["എ","ഐ"],["ഒ","ഺ"],"ഽ","ൎ",["ൟ","ൡ"],["ൺ","ൿ"],["අ","ඖ"],["ක","න"],["ඳ","ර"],"ල",["ව","ෆ"],["ก","ะ"],["า","ำ"],["เ","ๅ"],["ກ","ຂ"],"ຄ",["ງ","ຈ"],"ຊ","ຍ",["ດ","ທ"],["ນ","ຟ"],["ມ","ຣ"],"ລ","ວ",["ສ","ຫ"],["ອ","ະ"],["າ","ຳ"],"ຽ",["ເ","ໄ"],["ໜ","ໟ"],"ༀ",["ཀ","ཇ"],["ཉ","ཬ"],["ྈ","ྌ"],["က","ဪ"],"ဿ",["ၐ","ၕ"],["ၚ","ၝ"],"ၡ",["ၥ","ၦ"],["ၮ","ၰ"],["ၵ","ႁ"],"ႎ",["ა","ჺ"],["ჽ","ቈ"],["ቊ","ቍ"],["ቐ","ቖ"],"ቘ",["ቚ","ቝ"],["በ","ኈ"],["ኊ","ኍ"],["ነ","ኰ"],["ኲ","ኵ"],["ኸ","ኾ"],"ዀ",["ዂ","ዅ"],["ወ","ዖ"],["ዘ","ጐ"],["ጒ","ጕ"],["ጘ","ፚ"],["ᎀ","ᎏ"],["ᐁ","ᙬ"],["ᙯ","ᙿ"],["ᚁ","ᚚ"],["ᚠ","ᛪ"],["ᛱ","ᛸ"],["ᜀ","ᜌ"],["ᜎ","ᜑ"],["ᜠ","ᜱ"],["ᝀ","ᝑ"],["ᝠ","ᝬ"],["ᝮ","ᝰ"],["ក","ឳ"],"ៜ",["ᠠ","ᡂ"],["ᡄ","ᡷ"],["ᢀ","ᢨ"],"ᢪ",["ᢰ","ᣵ"],["ᤀ","ᤞ"],["ᥐ","ᥭ"],["ᥰ","ᥴ"],["ᦀ","ᦫ"],["ᦰ","ᧉ"],["ᨀ","ᨖ"],["ᨠ","ᩔ"],["ᬅ","ᬳ"],["ᭅ","ᭋ"],["ᮃ","ᮠ"],["ᮮ","ᮯ"],["ᮺ","ᯥ"],["ᰀ","ᰣ"],["ᱍ","ᱏ"],["ᱚ","ᱷ"],["ᳩ","ᳬ"],["ᳮ","ᳱ"],["ᳵ","ᳶ"],["ℵ","ℸ"],["ⴰ","ⵧ"],["ⶀ","ⶖ"],["ⶠ","ⶦ"],["ⶨ","ⶮ"],["ⶰ","ⶶ"],["ⶸ","ⶾ"],["ⷀ","ⷆ"],["ⷈ","ⷎ"],["ⷐ","ⷖ"],["ⷘ","ⷞ"],"〆","〼",["ぁ","ゖ"],"ゟ",["ァ","ヺ"],"ヿ",["ㄅ","ㄭ"],["ㄱ","ㆎ"],["ㆠ","ㆺ"],["ㇰ","ㇿ"],["㐀","䶵"],["一","鿕"],["ꀀ","ꀔ"],["ꀖ","ꒌ"],["ꓐ","ꓷ"],["ꔀ","ꘋ"],["ꘐ","ꘟ"],["ꘪ","ꘫ"],"ꙮ",["ꚠ","ꛥ"],"ꞏ","ꟷ",["ꟻ","ꠁ"],["ꠃ","ꠅ"],["ꠇ","ꠊ"],["ꠌ","ꠢ"],["ꡀ","ꡳ"],["ꢂ","ꢳ"],["ꣲ","ꣷ"],"ꣻ","ꣽ",["ꤊ","ꤥ"],["ꤰ","ꥆ"],["ꥠ","ꥼ"],["ꦄ","ꦲ"],["ꧠ","ꧤ"],["ꧧ","ꧯ"],["ꧺ","ꧾ"],["ꨀ","ꨨ"],["ꩀ","ꩂ"],["ꩄ","ꩋ"],["ꩠ","ꩯ"],["ꩱ","ꩶ"],"ꩺ",["ꩾ","ꪯ"],"ꪱ",["ꪵ","ꪶ"],["ꪹ","ꪽ"],"ꫀ","ꫂ",["ꫛ","ꫜ"],["ꫠ","ꫪ"],"ꫲ",["ꬁ","ꬆ"],["ꬉ","ꬎ"],["ꬑ","ꬖ"],["ꬠ","ꬦ"],["ꬨ","ꬮ"],["ꯀ","ꯢ"],["가","힣"],["ힰ","ퟆ"],["ퟋ","ퟻ"],["豈","舘"],["並","龎"],"יִ",["ײַ","ﬨ"],["שׁ","זּ"],["טּ","לּ"],"מּ",["נּ","סּ"],["ףּ","פּ"],["צּ","ﮱ"],["ﯓ","ﴽ"],["ﵐ","ﶏ"],["ﶒ","ﷇ"],["ﷰ","ﷻ"],["ﹰ","ﹴ"],["ﹶ","ﻼ"],["ヲ","ッ"],["ア","ン"],["ᅠ","ᄒ"],["ᅡ","ᅦ"],["ᅧ","ᅬ"],["ᅭ","ᅲ"],["ᅳ","ᅵ"]],!1,!1),ey=ut(["Dž","Lj","Nj","Dz",["ᾈ","ᾏ"],["ᾘ","ᾟ"],["ᾨ","ᾯ"],"ᾼ","ῌ","ῼ"],!1,!1),ty=ut([["A","Z"],["À","Ö"],["Ø","Þ"],"Ā","Ă","Ą","Ć","Ĉ","Ċ","Č","Ď","Đ","Ē","Ĕ","Ė","Ę","Ě","Ĝ","Ğ","Ġ","Ģ","Ĥ","Ħ","Ĩ","Ī","Ĭ","Į","İ","IJ","Ĵ","Ķ","Ĺ","Ļ","Ľ","Ŀ","Ł","Ń","Ņ","Ň","Ŋ","Ō","Ŏ","Ő","Œ","Ŕ","Ŗ","Ř","Ś","Ŝ","Ş","Š","Ţ","Ť","Ŧ","Ũ","Ū","Ŭ","Ů","Ű","Ų","Ŵ","Ŷ",["Ÿ","Ź"],"Ż","Ž",["Ɓ","Ƃ"],"Ƅ",["Ɔ","Ƈ"],["Ɖ","Ƌ"],["Ǝ","Ƒ"],["Ɠ","Ɣ"],["Ɩ","Ƙ"],["Ɯ","Ɲ"],["Ɵ","Ơ"],"Ƣ","Ƥ",["Ʀ","Ƨ"],"Ʃ","Ƭ",["Ʈ","Ư"],["Ʊ","Ƴ"],"Ƶ",["Ʒ","Ƹ"],"Ƽ","DŽ","LJ","NJ","Ǎ","Ǐ","Ǒ","Ǔ","Ǖ","Ǘ","Ǚ","Ǜ","Ǟ","Ǡ","Ǣ","Ǥ","Ǧ","Ǩ","Ǫ","Ǭ","Ǯ","DZ","Ǵ",["Ƕ","Ǹ"],"Ǻ","Ǽ","Ǿ","Ȁ","Ȃ","Ȅ","Ȇ","Ȉ","Ȋ","Ȍ","Ȏ","Ȑ","Ȓ","Ȕ","Ȗ","Ș","Ț","Ȝ","Ȟ","Ƞ","Ȣ","Ȥ","Ȧ","Ȩ","Ȫ","Ȭ","Ȯ","Ȱ","Ȳ",["Ⱥ","Ȼ"],["Ƚ","Ⱦ"],"Ɂ",["Ƀ","Ɇ"],"Ɉ","Ɋ","Ɍ","Ɏ","Ͱ","Ͳ","Ͷ","Ϳ","Ά",["Έ","Ί"],"Ό",["Ύ","Ώ"],["Α","Ρ"],["Σ","Ϋ"],"Ϗ",["ϒ","ϔ"],"Ϙ","Ϛ","Ϝ","Ϟ","Ϡ","Ϣ","Ϥ","Ϧ","Ϩ","Ϫ","Ϭ","Ϯ","ϴ","Ϸ",["Ϲ","Ϻ"],["Ͻ","Я"],"Ѡ","Ѣ","Ѥ","Ѧ","Ѩ","Ѫ","Ѭ","Ѯ","Ѱ","Ѳ","Ѵ","Ѷ","Ѹ","Ѻ","Ѽ","Ѿ","Ҁ","Ҋ","Ҍ","Ҏ","Ґ","Ғ","Ҕ","Җ","Ҙ","Қ","Ҝ","Ҟ","Ҡ","Ң","Ҥ","Ҧ","Ҩ","Ҫ","Ҭ","Ү","Ұ","Ҳ","Ҵ","Ҷ","Ҹ","Һ","Ҽ","Ҿ",["Ӏ","Ӂ"],"Ӄ","Ӆ","Ӈ","Ӊ","Ӌ","Ӎ","Ӑ","Ӓ","Ӕ","Ӗ","Ә","Ӛ","Ӝ","Ӟ","Ӡ","Ӣ","Ӥ","Ӧ","Ө","Ӫ","Ӭ","Ӯ","Ӱ","Ӳ","Ӵ","Ӷ","Ӹ","Ӻ","Ӽ","Ӿ","Ԁ","Ԃ","Ԅ","Ԇ","Ԉ","Ԋ","Ԍ","Ԏ","Ԑ","Ԓ","Ԕ","Ԗ","Ԙ","Ԛ","Ԝ","Ԟ","Ԡ","Ԣ","Ԥ","Ԧ","Ԩ","Ԫ","Ԭ","Ԯ",["Ա","Ֆ"],["Ⴀ","Ⴥ"],"Ⴧ","Ⴭ",["Ꭰ","Ᏽ"],"Ḁ","Ḃ","Ḅ","Ḇ","Ḉ","Ḋ","Ḍ","Ḏ","Ḑ","Ḓ","Ḕ","Ḗ","Ḙ","Ḛ","Ḝ","Ḟ","Ḡ","Ḣ","Ḥ","Ḧ","Ḩ","Ḫ","Ḭ","Ḯ","Ḱ","Ḳ","Ḵ","Ḷ","Ḹ","Ḻ","Ḽ","Ḿ","Ṁ","Ṃ","Ṅ","Ṇ","Ṉ","Ṋ","Ṍ","Ṏ","Ṑ","Ṓ","Ṕ","Ṗ","Ṙ","Ṛ","Ṝ","Ṟ","Ṡ","Ṣ","Ṥ","Ṧ","Ṩ","Ṫ","Ṭ","Ṯ","Ṱ","Ṳ","Ṵ","Ṷ","Ṹ","Ṻ","Ṽ","Ṿ","Ẁ","Ẃ","Ẅ","Ẇ","Ẉ","Ẋ","Ẍ","Ẏ","Ẑ","Ẓ","Ẕ","ẞ","Ạ","Ả","Ấ","Ầ","Ẩ","Ẫ","Ậ","Ắ","Ằ","Ẳ","Ẵ","Ặ","Ẹ","Ẻ","Ẽ","Ế","Ề","Ể","Ễ","Ệ","Ỉ","Ị","Ọ","Ỏ","Ố","Ồ","Ổ","Ỗ","Ộ","Ớ","Ờ","Ở","Ỡ","Ợ","Ụ","Ủ","Ứ","Ừ","Ử","Ữ","Ự","Ỳ","Ỵ","Ỷ","Ỹ","Ỻ","Ỽ","Ỿ",["Ἀ","Ἇ"],["Ἐ","Ἕ"],["Ἠ","Ἧ"],["Ἰ","Ἷ"],["Ὀ","Ὅ"],"Ὑ","Ὓ","Ὕ","Ὗ",["Ὠ","Ὧ"],["Ᾰ","Ά"],["Ὲ","Ή"],["Ῐ","Ί"],["Ῠ","Ῥ"],["Ὸ","Ώ"],"ℂ","ℇ",["ℋ","ℍ"],["ℐ","ℒ"],"ℕ",["ℙ","ℝ"],"ℤ","Ω","ℨ",["K","ℭ"],["ℰ","ℳ"],["ℾ","ℿ"],"ⅅ","Ↄ",["Ⰰ","Ⱞ"],"Ⱡ",["Ɫ","Ɽ"],"Ⱨ","Ⱪ","Ⱬ",["Ɑ","Ɒ"],"Ⱳ","Ⱶ",["Ȿ","Ⲁ"],"Ⲃ","Ⲅ","Ⲇ","Ⲉ","Ⲋ","Ⲍ","Ⲏ","Ⲑ","Ⲓ","Ⲕ","Ⲗ","Ⲙ","Ⲛ","Ⲝ","Ⲟ","Ⲡ","Ⲣ","Ⲥ","Ⲧ","Ⲩ","Ⲫ","Ⲭ","Ⲯ","Ⲱ","Ⲳ","Ⲵ","Ⲷ","Ⲹ","Ⲻ","Ⲽ","Ⲿ","Ⳁ","Ⳃ","Ⳅ","Ⳇ","Ⳉ","Ⳋ","Ⳍ","Ⳏ","Ⳑ","Ⳓ","Ⳕ","Ⳗ","Ⳙ","Ⳛ","Ⳝ","Ⳟ","Ⳡ","Ⳣ","Ⳬ","Ⳮ","Ⳳ","Ꙁ","Ꙃ","Ꙅ","Ꙇ","Ꙉ","Ꙋ","Ꙍ","Ꙏ","Ꙑ","Ꙓ","Ꙕ","Ꙗ","Ꙙ","Ꙛ","Ꙝ","Ꙟ","Ꙡ","Ꙣ","Ꙥ","Ꙧ","Ꙩ","Ꙫ","Ꙭ","Ꚁ","Ꚃ","Ꚅ","Ꚇ","Ꚉ","Ꚋ","Ꚍ","Ꚏ","Ꚑ","Ꚓ","Ꚕ","Ꚗ","Ꚙ","Ꚛ","Ꜣ","Ꜥ","Ꜧ","Ꜩ","Ꜫ","Ꜭ","Ꜯ","Ꜳ","Ꜵ","Ꜷ","Ꜹ","Ꜻ","Ꜽ","Ꜿ","Ꝁ","Ꝃ","Ꝅ","Ꝇ","Ꝉ","Ꝋ","Ꝍ","Ꝏ","Ꝑ","Ꝓ","Ꝕ","Ꝗ","Ꝙ","Ꝛ","Ꝝ","Ꝟ","Ꝡ","Ꝣ","Ꝥ","Ꝧ","Ꝩ","Ꝫ","Ꝭ","Ꝯ","Ꝺ","Ꝼ",["Ᵹ","Ꝿ"],"Ꞁ","Ꞃ","Ꞅ","Ꞇ","Ꞌ","Ɥ","Ꞑ","Ꞓ","Ꞗ","Ꞙ","Ꞛ","Ꞝ","Ꞟ","Ꞡ","Ꞣ","Ꞥ","Ꞧ","Ꞩ",["Ɦ","Ɬ"],["Ʞ","Ꞵ"],"Ꞷ",["A","Z"]],!1,!1),ry=ut(["ः","ऻ",["ा","ी"],["ॉ","ौ"],["ॎ","ॏ"],["ং","ঃ"],["া","ী"],["ে","ৈ"],["ো","ৌ"],"ৗ","ਃ",["ਾ","ੀ"],"ઃ",["ા","ી"],"ૉ",["ો","ૌ"],["ଂ","ଃ"],"ା","ୀ",["େ","ୈ"],["ୋ","ୌ"],"ୗ",["ா","ி"],["ு","ூ"],["ெ","ை"],["ொ","ௌ"],"ௗ",["ఁ","ః"],["ు","ౄ"],["ಂ","ಃ"],"ಾ",["ೀ","ೄ"],["ೇ","ೈ"],["ೊ","ೋ"],["ೕ","ೖ"],["ം","ഃ"],["ാ","ീ"],["െ","ൈ"],["ൊ","ൌ"],"ൗ",["ං","ඃ"],["ා","ෑ"],["ෘ","ෟ"],["ෲ","ෳ"],["༾","༿"],"ཿ",["ါ","ာ"],"ေ","း",["ျ","ြ"],["ၖ","ၗ"],["ၢ","ၤ"],["ၧ","ၭ"],["ႃ","ႄ"],["ႇ","ႌ"],"ႏ",["ႚ","ႜ"],"ា",["ើ","ៅ"],["ះ","ៈ"],["ᤣ","ᤦ"],["ᤩ","ᤫ"],["ᤰ","ᤱ"],["ᤳ","ᤸ"],["ᨙ","ᨚ"],"ᩕ","ᩗ","ᩡ",["ᩣ","ᩤ"],["ᩭ","ᩲ"],"ᬄ","ᬵ","ᬻ",["ᬽ","ᭁ"],["ᭃ","᭄"],"ᮂ","ᮡ",["ᮦ","ᮧ"],"᮪","ᯧ",["ᯪ","ᯬ"],"ᯮ",["᯲","᯳"],["ᰤ","ᰫ"],["ᰴ","ᰵ"],"᳡",["ᳲ","ᳳ"],["〮","〯"],["ꠣ","ꠤ"],"ꠧ",["ꢀ","ꢁ"],["ꢴ","ꣃ"],["ꥒ","꥓"],"ꦃ",["ꦴ","ꦵ"],["ꦺ","ꦻ"],["ꦽ","꧀"],["ꨯ","ꨰ"],["ꨳ","ꨴ"],"ꩍ","ꩻ","ꩽ","ꫫ",["ꫮ","ꫯ"],"ꫵ",["ꯣ","ꯤ"],["ꯦ","ꯧ"],["ꯩ","ꯪ"],"꯬"],!1,!1),ny=ut([["̀","ͯ"],["҃","҇"],["֑","ֽ"],"ֿ",["ׁ","ׂ"],["ׄ","ׅ"],"ׇ",["ؐ","ؚ"],["ً","ٟ"],"ٰ",["ۖ","ۜ"],["۟","ۤ"],["ۧ","ۨ"],["۪","ۭ"],"ܑ",["ܰ","݊"],["ަ","ް"],["߫","߳"],["ࠖ","࠙"],["ࠛ","ࠣ"],["ࠥ","ࠧ"],["ࠩ","࠭"],["࡙","࡛"],["ࣣ","ं"],"ऺ","़",["ु","ै"],"्",["॑","ॗ"],["ॢ","ॣ"],"ঁ","়",["ু","ৄ"],"্",["ৢ","ৣ"],["ਁ","ਂ"],"਼",["ੁ","ੂ"],["ੇ","ੈ"],["ੋ","੍"],"ੑ",["ੰ","ੱ"],"ੵ",["ઁ","ં"],"઼",["ુ","ૅ"],["ે","ૈ"],"્",["ૢ","ૣ"],"ଁ","଼","ି",["ୁ","ୄ"],"୍","ୖ",["ୢ","ୣ"],"ஂ","ீ","்","ఀ",["ా","ీ"],["ె","ై"],["ొ","్"],["ౕ","ౖ"],["ౢ","ౣ"],"ಁ","಼","ಿ","ೆ",["ೌ","್"],["ೢ","ೣ"],"ഁ",["ു","ൄ"],"്",["ൢ","ൣ"],"්",["ි","ු"],"ූ","ั",["ิ","ฺ"],["็","๎"],"ັ",["ິ","ູ"],["ົ","ຼ"],["່","ໍ"],["༘","༙"],"༵","༷","༹",["ཱ","ཾ"],["ྀ","྄"],["྆","྇"],["ྍ","ྗ"],["ྙ","ྼ"],"࿆",["ိ","ူ"],["ဲ","့"],["္","်"],["ွ","ှ"],["ၘ","ၙ"],["ၞ","ၠ"],["ၱ","ၴ"],"ႂ",["ႅ","ႆ"],"ႍ","ႝ",["፝","፟"],["ᜒ","᜔"],["ᜲ","᜴"],["ᝒ","ᝓ"],["ᝲ","ᝳ"],["឴","឵"],["ិ","ួ"],"ំ",["៉","៓"],"៝",["᠋","᠍"],"ᢩ",["ᤠ","ᤢ"],["ᤧ","ᤨ"],"ᤲ",["᤹","᤻"],["ᨗ","ᨘ"],"ᨛ","ᩖ",["ᩘ","ᩞ"],"᩠","ᩢ",["ᩥ","ᩬ"],["ᩳ","᩼"],"᩿",["᪰","᪽"],["ᬀ","ᬃ"],"᬴",["ᬶ","ᬺ"],"ᬼ","ᭂ",["᭫","᭳"],["ᮀ","ᮁ"],["ᮢ","ᮥ"],["ᮨ","ᮩ"],["᮫","ᮭ"],"᯦",["ᯨ","ᯩ"],"ᯭ",["ᯯ","ᯱ"],["ᰬ","ᰳ"],["ᰶ","᰷"],["᳐","᳒"],["᳔","᳠"],["᳢","᳨"],"᳭","᳴",["᳸","᳹"],["᷀","᷵"],["᷼","᷿"],["⃐","⃜"],"⃡",["⃥","⃰"],["⳯","⳱"],"⵿",["ⷠ","ⷿ"],["〪","〭"],["゙","゚"],"꙯",["ꙴ","꙽"],["ꚞ","ꚟ"],["꛰","꛱"],"ꠂ","꠆","ꠋ",["ꠥ","ꠦ"],"꣄",["꣠","꣱"],["ꤦ","꤭"],["ꥇ","ꥑ"],["ꦀ","ꦂ"],"꦳",["ꦶ","ꦹ"],"ꦼ","ꧥ",["ꨩ","ꨮ"],["ꨱ","ꨲ"],["ꨵ","ꨶ"],"ꩃ","ꩌ","ꩼ","ꪰ",["ꪲ","ꪴ"],["ꪷ","ꪸ"],["ꪾ","꪿"],"꫁",["ꫬ","ꫭ"],"꫶","ꯥ","ꯨ","꯭","ﬞ",["︀","️"],["︠","︯"]],!1,!1),sy=ut([["0","9"],["٠","٩"],["۰","۹"],["߀","߉"],["०","९"],["০","৯"],["੦","੯"],["૦","૯"],["୦","୯"],["௦","௯"],["౦","౯"],["೦","೯"],["൦","൯"],["෦","෯"],["๐","๙"],["໐","໙"],["༠","༩"],["၀","၉"],["႐","႙"],["០","៩"],["᠐","᠙"],["᥆","᥏"],["᧐","᧙"],["᪀","᪉"],["᪐","᪙"],["᭐","᭙"],["᮰","᮹"],["᱀","᱉"],["᱐","᱙"],["꘠","꘩"],["꣐","꣙"],["꤀","꤉"],["꧐","꧙"],["꧰","꧹"],["꩐","꩙"],["꯰","꯹"],["0","9"]],!1,!1),iy=ut([["ᛮ","ᛰ"],["Ⅰ","ↂ"],["ↅ","ↈ"],"〇",["〡","〩"],["〸","〺"],["ꛦ","ꛯ"]],!1,!1),ay=ut([" "," "," ",[" "," "]," "," "," "],!1,!1),s=0,H=0,no=[{line:1,column:1}],on=0,sf=[],D=0,so;if("startRule"in f){if(!(f.startRule in p))throw new Error(`Can't start parsing from rule "`+f.startRule+'".');b=p[f.startRule]}function uy(t,u){throw u=u!==void 0?u:io(H,s),C2([ht(t)],i.substring(H,s),u)}function oy(t,u){throw u=u!==void 0?u:io(H,s),cy(t,u)}function de(t,u){return{type:"literal",text:t,ignoreCase:u}}function ut(t,u,h){return{type:"class",parts:t,inverted:u,ignoreCase:h}}function ly(){return{type:"end"}}function ht(t){return{type:"other",description:t}}function w2(t){var u=no[t],h;if(u)return u;for(h=t-1;!no[h];)h--;for(u=no[h],u={line:u.line,column:u.column};h<t;)i.charCodeAt(h)===10?(u.line++,u.column=1):u.column++,h++;return no[t]=u,u}function io(t,u){var h=w2(t),y=w2(u);return{start:{offset:t,line:h.line,column:h.column},end:{offset:u,line:y.line,column:y.column}}}function O(t){s<on||(s>on&&(on=s,sf=[]),sf.push(t))}function cy(t,u){return new n(t,null,null,u)}function C2(t,u,h){return new n(n.buildMessage(t,u),t,u,h)}function Tn(){var t,u,h,y;return t=s,u=U(),u!==e?(h=fy(),h!==e?(y=U(),y!==e?(H=t,u=C(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function fy(){var t,u,h,y,x,P;return D++,t=s,u=xy(),u!==e?(h=U(),h!==e?(i.charCodeAt(s)===40?(y=E,s++):(y=e,D===0&&O(B)),y!==e?(x=S2(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(H=t,u=Y(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=Ey(),u!==e&&(H=t,u=J(u)),t=u,t===e&&(t=s,u=$n(),u!==e&&(H=t,u=I(u)),t=u)),D--,t===e&&(u=e,D===0&&O(w)),t}function S2(){var t,u,h,y,x,P;if(t=s,u=Tn(),u!==e){for(h=[],y=s,i.charCodeAt(s)===44?(x=_,s++):(x=e,D===0&&O(V)),x!==e?(P=Tn(),P!==e?(H=y,x=te(u,P),y=x):(s=y,y=e)):(s=y,y=e);y!==e;)h.push(y),y=s,i.charCodeAt(s)===44?(x=_,s++):(x=e,D===0&&O(V)),x!==e?(P=Tn(),P!==e?(H=y,x=te(u,P),y=x):(s=y,y=e)):(s=y,y=e);h!==e?(H=t,u=Z(u,h),t=u):(s=t,t=e)}else s=t,t=e;return t}function af(){var t,u,h,y,x,P;return t=s,u=T2(),u!==e?(h=U(),h!==e?(i.charCodeAt(s)===40?(y=E,s++):(y=e,D===0&&O(B)),y!==e?(x=S2(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(H=t,u=z(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function F2(){var t,u,h,y;return t=s,u=Tn(),u!==e?(h=dy(),h!==e?(y=Tn(),y!==e?(H=t,u=le(u,h,y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=af(),u!==e&&(H=t,u=pe(u)),t=u,t===e&&(t=s,u=T2(),u!==e&&(H=t,u=be(u)),t=u)),t}function dy(){var t,u;return t=s,u=wy(),u!==e&&(H=t,u=xe()),t=u,t===e&&(t=s,u=Cy(),u!==e&&(H=t,u=$e()),t=u),t}function _0(){var t,u,h,y;return D++,t=s,u=U(),u!==e?(h=hy(),h!==e?(y=U(),y!==e?(H=t,u=Me(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),D--,t===e&&(u=e,D===0&&O(Se)),t}function hy(){var t,u,h,y,x,P;return t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=_0(),h!==e?(y=py(),y!==e?(x=_0(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(H=t,u=oe(h,y,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=M2(),u!==e?(h=U(),h!==e?(y=$n(),y!==e?(x=_0(),x!==e?(H=t,u=Te(y,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=O2(),u!==e?(h=U(),h!==e?(y=$n(),y!==e?(x=_0(),x!==e?(H=t,u=Xe(y,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=df(),u!==e?(h=_0(),h!==e?(H=t,u=et(h),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=F2(),u!==e&&(H=t,u=Me(u)),t=u,t===e&&(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=_0(),h!==e?(i.charCodeAt(s)===41?(y=M,s++):(y=e,D===0&&O(j)),y!==e?(H=t,u=Me(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)))))),t}function py(){var t,u;return D++,t=s,u=cf(),u!==e&&(H=t,u=Pt()),t=u,t===e&&(t=s,u=Ii(),u!==e&&(H=t,u=Dt()),t=u,t===e&&(t=s,u=$2(),u!==e&&(H=t,u=ce()),t=u,t===e&&(t=s,u=ff(),u!==e&&(H=t,u=ue()),t=u))),D--,t===e&&(u=e,D===0&&O(lt)),t}function D2(){var t,u,h,y;return t=s,u=U(),u!==e?(h=B2(),h!==e?(y=U(),y!==e?(H=t,u=Me(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function B2(){var t,u,h,y;return t=s,u=uf(),u!==e?(h=U(),h!==e?(y=my(),y!==e?(H=t,u=je(u,y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function my(){var t,u,h,y;return t=s,u=$2(),u!==e?(h=U(),h!==e?(y=B2(),y!==e?(H=t,u=Le(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=gy(),t===e&&(t=s,u=_e,u!==e&&(H=t,u=qe()),t=u)),t}function gy(){var t,u,h,y,x,P,Q;if(t=s,u=[],h=s,y=ff(),y!==e?(x=U(),x!==e?(P=uf(),P!==e?(Q=U(),Q!==e?(H=h,y=Pe(P),h=y):(s=h,h=e)):(s=h,h=e)):(s=h,h=e)):(s=h,h=e),h!==e)for(;h!==e;)u.push(h),h=s,y=ff(),y!==e?(x=U(),x!==e?(P=uf(),P!==e?(Q=U(),Q!==e?(H=h,y=Pe(P),h=y):(s=h,h=e)):(s=h,h=e)):(s=h,h=e)):(s=h,h=e);else u=e;return u!==e&&(H=t,u=Ie(u)),t=u,t}function uf(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,u=of(),u!==e)if(h=U(),h!==e){for(y=[],x=s,P=Ii(),P!==e?(Q=U(),Q!==e?(se=of(),se!==e?(Ae=U(),Ae!==e?(H=x,P=Oe(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);x!==e;)y.push(x),x=s,P=Ii(),P!==e?(Q=U(),Q!==e?(se=of(),se!==e?(Ae=U(),Ae!==e?(H=x,P=Oe(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);y!==e?(H=t,u=Ke(u,y),t=u):(s=t,t=e)}else s=t,t=e;else s=t,t=e;return t}function of(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,u=xs(),u!==e)if(h=U(),h!==e){for(y=[],x=s,P=cf(),P!==e?(Q=U(),Q!==e?(se=xs(),se!==e?(Ae=U(),Ae!==e?(H=x,P=Oe(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);x!==e;)y.push(x),x=s,P=cf(),P!==e?(Q=U(),Q!==e?(se=xs(),se!==e?(Ae=U(),Ae!==e?(H=x,P=Oe(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);y!==e?(H=t,u=Ue(u,y),t=u):(s=t,t=e)}else s=t,t=e;else s=t,t=e;return t}function xs(){var t,u,h,y,x,P;return t=s,u=df(),u!==e?(h=U(),h!==e?(y=xs(),y!==e?(H=t,u=et(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=M2(),u!==e?(h=U(),h!==e?(y=$n(),y!==e?(x=U(),x!==e?(P=xs(),P!==e?(H=t,u=Te(y,P),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=O2(),u!==e?(h=U(),h!==e?(y=$n(),y!==e?(x=U(),x!==e?(P=xs(),P!==e?(H=t,u=Xe(y,P),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=yy()))),t}function yy(){var t,u,h,y;return t=F2(),t===e&&(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=D2(),h!==e?(i.charCodeAt(s)===41?(y=M,s++):(y=e,D===0&&O(j)),y!==e?(H=t,u=Me(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function by(){var t,u,h,y;return t=s,u=df(),u!==e?(h=U(),h!==e?(y=af(),y!==e?(H=t,u=we(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=af(),u!==e&&(H=t,u=ae(u)),t=u),t}function vy(){var t,u,h;return t=s,u=U(),u!==e?(h=Ay(),h!==e?(H=t,u=vt(h),t=u):(s=t,t=e)):(s=t,t=e),t}function Ay(){var t,u,h;return t=s,u=Sy(),u!==e?(h=U(),h!==e?(H=t,u=It(),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=k2(),u!==e?(h=U(),h!==e?(H=t,u=Jt(u),t=u):(s=t,t=e)):(s=t,t=e)),t}function k2(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,u=lf(),u!==e)if(h=U(),h!==e){for(y=[],x=s,P=Ii(),P===e&&(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V))),P!==e?(Q=U(),Q!==e?(se=lf(),se!==e?(Ae=U(),Ae!==e?(H=x,P=Oe(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);x!==e;)y.push(x),x=s,P=Ii(),P===e&&(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V))),P!==e?(Q=U(),Q!==e?(se=lf(),se!==e?(Ae=U(),Ae!==e?(H=x,P=Oe(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);y!==e?(H=t,u=Zr(u,y),t=u):(s=t,t=e)}else s=t,t=e;else s=t,t=e;return t}function lf(){var t,u,h,y,x,P;return t=s,u=by(),u!==e&&(H=t,u=En(u)),t=u,t===e&&(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=k2(),y!==e?(x=U(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(H=t,u=fr(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function $n(){var t,u,h,y;return D++,t=s,u=s,h=Gi(),h!==e?(H=s,y=Yt(h),y?y=void 0:y=e,y!==e?(h=[h,y],u=h):(s=u,u=e)):(s=u,u=e),u!==e?t=i.substring(t,s):t=u,D--,t===e&&(u=e,D===0&&O(Zt)),t}function Ey(){var t,u,h,y;return D++,t=s,u=s,h=ho(),h!==e?(H=s,y=Gn(h),y?y=void 0:y=e,y!==e?(h=[h,y],u=h):(s=u,u=e)):(s=u,u=e),u!==e?t=i.substring(t,s):t=u,D--,t===e&&(u=e,D===0&&O(Ar)),t}function xy(){var t,u,h,y;return D++,t=s,u=s,h=Gi(),h!==e?(H=s,y=$r(h),y?y=void 0:y=e,y!==e?(h=[h,y],u=h):(s=u,u=e)):(s=u,u=e),u!==e?t=i.substring(t,s):t=u,D--,t===e&&(u=e,D===0&&O(zr)),t}function T2(){var t,u,h,y;return D++,t=s,u=s,h=Gi(),h!==e?(H=s,y=Kn(h),y?y=void 0:y=e,y!==e?(h=[h,y],u=h):(s=u,u=e)):(s=u,u=e),u!==e?t=i.substring(t,s):t=u,D--,t===e&&(u=e,D===0&&O(Xn)),t}function wy(){var t;return D++,i.substr(s,2)===Qr?(t=Qr,s+=2):(t=e,D===0&&O(Er)),t===e&&(i.charCodeAt(s)===8784?(t="≐",s++):(t=e,D===0&&O(Zs)),t===e&&(i.charCodeAt(s)===61?(t=wn,s++):(t=e,D===0&&O(Cn)))),D--,t===e&&D===0&&O(xn),t}function cf(){var t,u,h,y;return D++,i.charCodeAt(s)===8743?(t="∧",s++):(t=e,D===0&&O(ft)),t===e&&(i.substr(s,2)===ve?(t=ve,s+=2):(t=e,D===0&&O(dr)),t===e&&(i.charCodeAt(s)===38?(t=Sn,s++):(t=e,D===0&&O(Jn)),t===e&&(i.substr(s,2)===v0?(t=v0,s+=2):(t=e,D===0&&O(es)),t===e&&(t=s,i.substr(s,5)===Ir?(u=Ir,s+=5):(u=e,D===0&&O(Zn)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,6)===ts?(u=ts,s+=6):(u=e,D===0&&O(Qs)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e)))))),D--,t===e&&(u=e,D===0&&O(b0)),t}function Ii(){var t,u,h,y;return D++,i.charCodeAt(s)===8744?(t="∨",s++):(t=e,D===0&&O(xr)),t===e&&(i.substr(s,2)===wr?(t=wr,s+=2):(t=e,D===0&&O(A0)),t===e&&(i.charCodeAt(s)===124?(t=Qn,s++):(t=e,D===0&&O(W)),t===e&&(i.substr(s,2)===ge?(t=ge,s+=2):(t=e,D===0&&O(De)),t===e&&(t=s,i.substr(s,4)===ze?(u=ze,s+=4):(u=e,D===0&&O(Ve)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,4)===g?(u=g,s+=4):(u=e,D===0&&O(v)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e)))))),D--,t===e&&(u=e,D===0&&O(Gt)),t}function $2(){var t,u,h,y;return D++,i.charCodeAt(s)===8594?(t="→",s++):(t=e,D===0&&O(F)),t===e&&(i.charCodeAt(s)===8658?(t="⇒",s++):(t=e,D===0&&O(R)),t===e&&(i.charCodeAt(s)===10230?(t="⟶",s++):(t=e,D===0&&O(Ye)),t===e&&(i.charCodeAt(s)===10233?(t="⟹",s++):(t=e,D===0&&O(Ee)),t===e&&(i.charCodeAt(s)===8835?(t="⊃",s++):(t=e,D===0&&O(Ot)),t===e&&(i.substr(s,2)===hr?(t=hr,s+=2):(t=e,D===0&&O(ke)),t===e&&(i.substr(s,2)===Tt?(t=Tt,s+=2):(t=e,D===0&&O(Qt)),t===e&&(i.substr(s,3)===Fn?(t=Fn,s+=3):(t=e,D===0&&O(L)),t===e&&(i.substr(s,3)===Mr?(t=Mr,s+=3):(t=e,D===0&&O(G)),t===e&&(t=s,i.substr(s,6)===ei?(u=ei,s+=6):(u=e,D===0&&O(Xa)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,8)===ti?(u=ti,s+=8):(u=e,D===0&&O(rs)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,11)===He?(u=He,s+=11):(u=e,D===0&&O(ri)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,3)===E0?(u=E0,s+=3):(u=e,D===0&&O(Ka)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e))))))))))))),D--,t===e&&(u=e,D===0&&O(ie)),t}function ff(){var t,u,h,y;return D++,i.substr(s,2)===x0?(t=x0,s+=2):(t=e,D===0&&O(Cr)),t===e&&(i.charCodeAt(s)===8596?(t="↔",s++):(t=e,D===0&&O(yc)),t===e&&(i.charCodeAt(s)===10231?(t="⟷",s++):(t=e,D===0&&O(bc)),t===e&&(i.charCodeAt(s)===8660?(t="⇔",s++):(t=e,D===0&&O(vc)),t===e&&(i.charCodeAt(s)===10234?(t="⟺",s++):(t=e,D===0&&O(Ac)),t===e&&(i.charCodeAt(s)===8801?(t="≡",s++):(t=e,D===0&&O(Ec)),t===e&&(i.substr(s,3)===ns?(t=ns,s+=3):(t=e,D===0&&O(er)),t===e&&(i.substr(s,4)===ni?(t=ni,s+=4):(t=e,D===0&&O(xc)),t===e&&(i.substr(s,3)===ss?(t=ss,s+=3):(t=e,D===0&&O(si)),t===e&&(i.substr(s,4)===Ja?(t=Ja,s+=4):(t=e,D===0&&O(wc)),t===e&&(i.substr(s,3)===Za?(t=Za,s+=3):(t=e,D===0&&O(Cc)),t===e&&(t=s,i.substr(s,7)===w0?(u=w0,s+=7):(u=e,D===0&&O(Qa)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,15)===ii?(u=ii,s+=15):(u=e,D===0&&O(c2)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,11)===re?(u=re,s+=11):(u=e,D===0&&O($t)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,6)===en?(u=en,s+=6):(u=e,D===0&&O(Lr)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e))))))))))))))),D--,t===e&&(u=e,D===0&&O(gc)),t}function M2(){var t,u,h,y,x;return D++,i.charCodeAt(s)===8707?(t="∃",s++):(t=e,D===0&&O(Fc)),t===e&&(t=s,i.substr(s,2)===ai?(u=ai,s+=2):(u=e,D===0&&O(is)),u!==e?(h=s,i.charCodeAt(s)===120?(y="x",s++):(y=e,D===0&&O(as)),y!==e?(i.substr(s,4)===Ce?(x=Ce,s+=4):(x=e,D===0&&O(Dn)),x===e&&(x=null),x!==e?(y=[y,x],h=y):(s=h,h=e)):(s=h,h=e),h===e&&(h=null),h!==e?(y=s,D++,x=At(),D--,x===e?y=void 0:(s=y,y=e),y!==e?(u=[u,h,y],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,2)===C0?(u=C0,s+=2):(u=e,D===0&&O(_t)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e))),D--,t===e&&(u=e,D===0&&O(Sc)),t}function O2(){var t,u,h,y;return D++,i.charCodeAt(s)===8704?(t="∀",s++):(t=e,D===0&&O(Dc)),t===e&&(t=s,i.substr(s,7)===eu?(u=eu,s+=7):(u=e,D===0&&O(Bc)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,4)===tu?(u=tu,s+=4):(u=e,D===0&&O(Rt)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,2)===us?(u=us,s+=2):(u=e,D===0&&O(ru)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,2)===os?(u=os,s+=2):(u=e,D===0&&O(ui)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e))))),D--,t===e&&(u=e,D===0&&O(qr)),t}function df(){var t,u,h,y;return D++,i.charCodeAt(s)===172?(t="¬",s++):(t=e,D===0&&O(it)),t===e&&(i.charCodeAt(s)===45?(t="-",s++):(t=e,D===0&&O(ls)),t===e&&(i.charCodeAt(s)===33?(t=cs,s++):(t=e,D===0&&O(oi)),t===e&&(i.charCodeAt(s)===126?(t=tr,s++):(t=e,D===0&&O(Sr)),t===e&&(t=s,i.substr(s,4)===nu?(u=nu,s+=4):(u=e,D===0&&O(me)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,5)===sr?(u=sr,s+=5):(u=e,D===0&&O(li)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e)))))),D--,t===e&&(u=e,D===0&&O(S0)),t}function Cy(){var t,u,h,y;return D++,i.charCodeAt(s)===8800?(t="≠",s++):(t=e,D===0&&O(fi)),t===e&&(i.substr(s,2)===Vt?(t=Vt,s+=2):(t=e,D===0&&O(Vr)),t===e&&(i.substr(s,2)===bt?(t=bt,s+=2):(t=e,D===0&&O(su)),t===e&&(i.substr(s,2)===di?(t=di,s+=2):(t=e,D===0&&O(iu)),t===e&&(t=s,i.substr(s,4)===au?(u=au,s+=4):(u=e,D===0&&O(kc)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e))))),D--,t===e&&(u=e,D===0&&O(ci)),t}function Sy(){var t,u,h,y;return D++,i.charCodeAt(s)===9633?(t="□",s++):(t=e,D===0&&O($c)),t===e&&(i.substr(s,2)===uu?(t=uu,s+=2):(t=e,D===0&&O(Mc)),t===e&&(i.substr(s,2)===Oc?(t=Oc,s+=2):(t=e,D===0&&O(f2)),t===e&&(i.substr(s,2)===Or?(t=Or,s+=2):(t=e,D===0&&O(Ze)),t===e&&(i.substr(s,2)===fs?(t=fs,s+=2):(t=e,D===0&&O(ds)),t===e&&(i.charCodeAt(s)===9634?(t="▢",s++):(t=e,D===0&&O(hi)),t===e&&(i.charCodeAt(s)===8869?(t="⊥",s++):(t=e,D===0&&O(ou)),t===e&&(i.substr(s,2)===lu?(t=lu,s+=2):(t=e,D===0&&O(hs)),t===e&&(i.substr(s,3)===cu?(t=cu,s+=3):(t=e,D===0&&O(fu)),t===e&&(t=s,i.substr(s,7)===pi?(u=pi,s+=7):(u=e,D===0&&O(ps)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,4)===du?(u=du,s+=4):(u=e,D===0&&O(hu)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,4)===mi?(u=mi,s+=4):(u=e,D===0&&O(Nc)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e)))))))))))),D--,t===e&&(u=e,D===0&&O(Tc)),t}function Fy(){var t,u,h;return t=s,u=U(),u!==e?(h=Dy(),h===e&&(h=R0()),h!==e?(H=t,u=_c(h),t=u):(s=t,t=e)):(s=t,t=e),t}function Dy(){var t,u,h,y,x,P,Q,se;if(t=s,u=ho(),u!==e){for(h=[],y=s,x=U(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=ho(),se!==e?(H=y,x=pu(u,se),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);y!==e;)h.push(y),y=s,x=U(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=ho(),se!==e?(H=y,x=pu(u,se),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);h!==e?(y=U(),y!==e?(H=t,u=mu(u,h),t=u):(s=t,t=e)):(s=t,t=e)}else s=t,t=e;return t}function By(){var t,u,h;return t=s,u=U(),u!==e?(h=ky(),h===e&&(h=R0()),h!==e?(H=t,u=ms(h),t=u):(s=t,t=e)):(s=t,t=e),t}function ky(){var t,u,h,y,x,P,Q,se;if(t=s,u=hf(),u!==e){for(h=[],y=s,x=U(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=hf(),se!==e?(H=y,x=tn(u,se),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);y!==e;)h.push(y),y=s,x=U(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=hf(),se!==e?(H=y,x=tn(u,se),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);h!==e?(y=U(),y!==e?(H=t,u=gi(u,h),t=u):(s=t,t=e)):(s=t,t=e)}else s=t,t=e;return t}function Ty(){var t,u,h;return t=s,u=U(),u!==e?(h=$y(),h===e&&(h=R0()),h!==e?(H=t,u=Pc(h),t=u):(s=t,t=e)):(s=t,t=e),t}function $y(){var t,u,h,y,x,P,Q,se;if(t=s,u=pf(),u!==e){for(h=[],y=s,x=U(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=pf(),se!==e?(H=y,x=yi(u,se),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);y!==e;)h.push(y),y=s,x=U(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=pf(),se!==e?(H=y,x=yi(u,se),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);h!==e?(y=U(),y!==e?(H=t,u=F0(u,h),t=u):(s=t,t=e)):(s=t,t=e)}else s=t,t=e;return t}function My(){var t;return D++,t=N2(),D--,t===e&&D===0&&O(bi),t}function Oy(){var t,u,h;return D++,t=s,u=N2(),u!==e?(H=s,h=Rc(u),h?h=void 0:h=e,h!==e?(H=t,u=yu(u),t=u):(s=t,t=e)):(s=t,t=e),D--,t===e&&(u=e,D===0&&O(gu)),t}function N2(){var t,u,h;if(t=s,u=[],gs.test(i.charAt(s))?(h=i.charAt(s),s++):(h=e,D===0&&O(D0)),h!==e)for(;h!==e;)u.push(h),gs.test(i.charAt(s))?(h=i.charAt(s),s++):(h=e,D===0&&O(D0));else u=e;return u!==e&&(H=t,u=vi(u)),t=u,t}function hf(){var t,u,h,y,x,P,Q,se;return D++,t=s,u=U(),u!==e?(h=Gi(),h!==e?(y=U(),y!==e?(i.charCodeAt(s)===47?(x=e0,s++):(x=e,D===0&&O(Ei)),x!==e?(P=U(),P!==e?(Q=My(),Q!==e?(se=U(),se!==e?(H=t,u=bu(h,Q),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),D--,t===e&&(u=e,D===0&&O(Ai)),t}function pf(){var t,u,h,y,x,P,Q,se;return D++,t=s,u=U(),u!==e?(h=Gi(),h!==e?(y=U(),y!==e?(i.charCodeAt(s)===47?(x=e0,s++):(x=e,D===0&&O(Ei)),x!==e?(P=U(),P!==e?(Q=Oy(),Q!==e?(se=U(),se!==e?(H=t,u=bu(h,Q),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),D--,t===e&&(u=e,D===0&&O(vu)),t}function Ny(){var t,u,h;return t=s,u=U(),u!==e?(h=_y(),h===e&&(h=R0()),h!==e?(H=t,u=xi(h),t=u):(s=t,t=e)):(s=t,t=e),t}function _y(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,u=Mn(),u!==e)if(h=U(),h!==e){for(y=[],x=s,i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=Mn(),se!==e?(Ae=U(),Ae!==e?(H=x,P=t0(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);x!==e;)y.push(x),x=s,i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=Mn(),se!==e?(Ae=U(),Ae!==e?(H=x,P=t0(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);y!==e?(H=t,u=ys(u,y),t=u):(s=t,t=e)}else s=t,t=e;else s=t,t=e;return t}function Mn(){var t,u,h;if(D++,t=s,u=[],wi.test(i.charAt(s))?(h=i.charAt(s),s++):(h=e,D===0&&O(Au)),h!==e)for(;h!==e;)u.push(h),wi.test(i.charAt(s))?(h=i.charAt(s),s++):(h=e,D===0&&O(Au));else u=e;return u!==e?t=i.substring(t,s):t=u,D--,t===e&&(u=e,D===0&&O(jc)),t}function Py(){var t,u,h;return t=s,u=U(),u!==e?(h=Ry(),h===e&&(h=R0()),h!==e?(H=t,u=Eu(h),t=u):(s=t,t=e)):(s=t,t=e),t}function Ry(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,u=mf(),u!==e)if(h=U(),h!==e){for(y=[],x=s,i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=mf(),se!==e?(Ae=U(),Ae!==e?(H=x,P=r0(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);x!==e;)y.push(x),x=s,i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=mf(),se!==e?(Ae=U(),Ae!==e?(H=x,P=r0(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);y!==e?(H=t,u=Z(u,y),t=u):(s=t,t=e)}else s=t,t=e;else s=t,t=e;return t}function mf(){var t,u,h,y,x,P,Q,se,Ae,rt,Lt;if(D++,t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e)if(h=U(),h!==e)if(y=Mn(),y!==e)if(x=U(),x!==e){if(P=[],Q=s,i.charCodeAt(s)===44?(se=_,s++):(se=e,D===0&&O(V)),se!==e?(Ae=U(),Ae!==e?(rt=Mn(),rt!==e?(Lt=U(),Lt!==e?(H=Q,se=t0(y,rt),Q=se):(s=Q,Q=e)):(s=Q,Q=e)):(s=Q,Q=e)):(s=Q,Q=e),Q!==e)for(;Q!==e;)P.push(Q),Q=s,i.charCodeAt(s)===44?(se=_,s++):(se=e,D===0&&O(V)),se!==e?(Ae=U(),Ae!==e?(rt=Mn(),rt!==e?(Lt=U(),Lt!==e?(H=Q,se=t0(y,rt),Q=se):(s=Q,Q=e)):(s=Q,Q=e)):(s=Q,Q=e)):(s=Q,Q=e);else P=e;P!==e?(i.charCodeAt(s)===41?(Q=M,s++):(Q=e,D===0&&O(j)),Q!==e?(H=t,u=ys(y,P),t=u):(s=t,t=e)):(s=t,t=e)}else s=t,t=e;else s=t,t=e;else s=t,t=e;else s=t,t=e;return t===e&&(t=s,u=Mn(),u!==e&&(H=t,u=Ic(u)),t=u),D--,t===e&&(u=e,D===0&&O(zc)),t}function jy(){var t,u,h;return t=s,u=U(),u!==e?(h=zy(),h===e&&(h=R0()),h!==e?(H=t,u=ms(h),t=u):(s=t,t=e)):(s=t,t=e),t}function zy(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,u=gf(),u!==e)if(h=U(),h!==e){for(y=[],x=s,i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=gf(),se!==e?(Ae=U(),Ae!==e?(H=x,P=tn(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);x!==e;)y.push(x),x=s,i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=gf(),se!==e?(Ae=U(),Ae!==e?(H=x,P=tn(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);y!==e?(H=t,u=gi(u,y),t=u):(s=t,t=e)}else s=t,t=e;else s=t,t=e;return t}function gf(){var t,u,h,y,x,P,Q,se,Ae,rt;return t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=$n(),y!==e?(x=U(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=Mn(),se!==e?(Ae=U(),Ae!==e?(i.charCodeAt(s)===41?(rt=M,s++):(rt=e,D===0&&O(j)),rt!==e?(H=t,u=xu(y,se),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=$n(),u!==e?(h=U(),h!==e?(y=_2(),y!==e?(x=U(),x!==e?(P=Mn(),P!==e?(H=t,u=xu(u,P),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function Iy(){var t,u,h;return t=s,u=U(),u!==e?(h=Ly(),h===e&&(h=R0()),h!==e?(H=t,u=ms(h),t=u):(s=t,t=e)):(s=t,t=e),t}function Ly(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,u=yf(),u!==e)if(h=U(),h!==e){for(y=[],x=s,i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=yf(),se!==e?(Ae=U(),Ae!==e?(H=x,P=tn(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);x!==e;)y.push(x),x=s,i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=yf(),se!==e?(Ae=U(),Ae!==e?(H=x,P=tn(u,se),x=P):(s=x,x=e)):(s=x,x=e)):(s=x,x=e)):(s=x,x=e);y!==e?(H=t,u=wu(u,y),t=u):(s=t,t=e)}else s=t,t=e;else s=t,t=e;return t}function yf(){var t,u,h,y,x,P,Q,se,Ae,rt;return t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=$n(),y!==e?(x=U(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=U(),Q!==e?(se=Tn(),se!==e?(Ae=U(),Ae!==e?(i.charCodeAt(s)===41?(rt=M,s++):(rt=e,D===0&&O(j)),rt!==e?(H=t,u=Cu(y,se),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=$n(),u!==e?(h=U(),h!==e?(y=_2(),y!==e?(x=U(),x!==e?(P=Tn(),P!==e?(H=t,u=Cu(u,P),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function _2(){var t,u,h,y;return D++,i.substr(s,2)===hr?(t=hr,s+=2):(t=e,D===0&&O(ke)),t===e&&(i.substr(s,3)===Ci?(t=Ci,s+=3):(t=e,D===0&&O(d2)),t===e&&(/^[\u21A6\u27FC]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Hr)),t===e&&(t=s,i.substr(s,7)===Si?(u=Si,s+=7):(u=e,D===0&&O(Lc)),u!==e?(h=s,D++,y=At(),D--,y===e?h=void 0:(s=h,h=e),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e)))),D--,t===e&&(u=e,D===0&&O(Su)),t}function qy(){var t,u,h,y,x,P,Q,se,Ae,rt,Lt,ln,Br,cn;return t=s,u=U(),u!==e?(i.substr(s,4)===B0?(h=B0,s+=4):(h=e,D===0&&O(Fu)),h!==e?(y=ot(),y!==e?(x=Vy(),x!==e?(i.charCodeAt(s)===44?(P=_,s++):(P=e,D===0&&O(V)),P!==e?(Q=ot(),Q!==e?(se=Hy(),se!==e?(i.charCodeAt(s)===44?(Ae=_,s++):(Ae=e,D===0&&O(V)),Ae!==e?(rt=ot(),rt!==e?(Lt=Wy(),Lt!==e?(ln=U(),ln!==e?(i.substr(s,2)===bs?(Br=bs,s+=2):(Br=e,D===0&&O(Fi)),Br!==e?(cn=U(),cn!==e?(H=t,u=Du(x,se,Lt),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function Vy(){var t=uo();return t===e&&(t=ap()),t}function Hy(){var t,u;return t=s,i.substr(s,5)===Fr?(u=Fr,s+=5):(u=e,D===0&&O(Bu)),u!==e&&(H=t,u=$()),t=u,t===e&&(t=s,i.substr(s,4)===rr?(u=rr,s+=4):(u=e,D===0&&O(pr)),u!==e&&(H=t,u=ku()),t=u),t}function ot(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,u=[],h=s,y=U(),y!==e)if(i.charCodeAt(s)===37?(x=k0,s++):(x=e,D===0&&O(vs)),x!==e)if(P=U(),P!==e){for(Q=[],Dr.test(i.charAt(s))?(se=i.charAt(s),s++):(se=e,D===0&&O(n0));se!==e;)Q.push(se),Dr.test(i.charAt(s))?(se=i.charAt(s),s++):(se=e,D===0&&O(n0));if(Q!==e){if(se=[],ir.test(i.charAt(s))?(Ae=i.charAt(s),s++):(Ae=e,D===0&&O(As)),Ae!==e)for(;Ae!==e;)se.push(Ae),ir.test(i.charAt(s))?(Ae=i.charAt(s),s++):(Ae=e,D===0&&O(As));else se=e;se!==e?(y=[y,x,P,Q,se],h=y):(s=h,h=e)}else s=h,h=e}else s=h,h=e;else s=h,h=e;else s=h,h=e;if(h!==e)for(;h!==e;)if(u.push(h),h=s,y=U(),y!==e)if(i.charCodeAt(s)===37?(x=k0,s++):(x=e,D===0&&O(vs)),x!==e)if(P=U(),P!==e){for(Q=[],Dr.test(i.charAt(s))?(se=i.charAt(s),s++):(se=e,D===0&&O(n0));se!==e;)Q.push(se),Dr.test(i.charAt(s))?(se=i.charAt(s),s++):(se=e,D===0&&O(n0));if(Q!==e){if(se=[],ir.test(i.charAt(s))?(Ae=i.charAt(s),s++):(Ae=e,D===0&&O(As)),Ae!==e)for(;Ae!==e;)se.push(Ae),ir.test(i.charAt(s))?(Ae=i.charAt(s),s++):(Ae=e,D===0&&O(As));else se=e;se!==e?(y=[y,x,P,Q,se],h=y):(s=h,h=e)}else s=h,h=e}else s=h,h=e;else s=h,h=e;else s=h,h=e;else u=e;return u!==e?(h=U(),h!==e?(H=t,u=Nr(),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=U()),t}function Wy(){var t,u,h,y;return t=s,u=Wi(),u!==e?(h=ot(),h!==e?(H=t,u=Tu(u),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=Li(),u!==e?(h=ot(),h!==e?(H=t,u=h2(u),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=ot(),u!==e?(h=xb(),h!==e?(y=ot(),y!==e?(H=t,u=$u(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=ot(),u!==e?(h=hp(),h!==e?(y=ot(),y!==e?(H=t,u=Mu(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=ot(),u!==e&&(H=t,u=Bn(u)),t=u)))),t}function Li(){var t,u;return t=s,u=rb(),u!==e&&(H=t,u=Ou(u)),t=u,t===e&&(t=s,u=R2(),u!==e&&(H=t,u=Nu(u)),t=u,t===e&&(t=s,u=H2(),u!==e&&(H=t,u=Di(u)),t=u,t===e&&(t=s,u=bf(),u!==e&&(H=t,u=Bi(u)),t=u))),t}function bf(){var t,u,h,y,x,P;return t=s,u=Yy(),u!==e&&(H=t,u=_u(u)),t=u,t===e&&(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=Li(),y!==e?(i.charCodeAt(s)===41?(x=M,s++):(x=e,D===0&&O(j)),x!==e?(P=ot(),P!==e?(H=t,u=Pu(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=J2(),u!==e&&(H=t,u=yu(u)),t=u,t===e&&(t=s,u=Uy(),u!==e&&(H=t,u=Ru(u)),t=u))),t}function Uy(){var t,u,h;return t=s,u=qi(),u!==e?(h=ot(),h!==e?(H=t,u=ki(u),t=u):(s=t,t=e)):(s=t,t=e),t}function Yy(){var t,u,h,y,x,P,Q,se,Ae,rt;return t=s,u=Gy(),u!==e?(i.charCodeAt(s)===91?(h=Wr,s++):(h=e,D===0&&O(rn)),h!==e?(y=U(),y!==e?(x=vf(),x!==e?(i.charCodeAt(s)===93?(P=nn,s++):(P=e,D===0&&O(sn)),P!==e?(Q=U(),Q!==e?(i.charCodeAt(s)===58?(se=Ur,s++):(se=e,D===0&&O(an)),se!==e?(Ae=U(),Ae!==e?(rt=On(),rt!==e?(H=t,u=qc(u,x,rt),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function Gy(){var t,u,h;return t=s,i.charCodeAt(s)===63?(u="?",s++):(u=e,D===0&&O(Vc)),u!==e?(h=U(),h!==e?(H=t,u=ju(),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.charCodeAt(s)===33?(u=cs,s++):(u=e,D===0&&O(oi)),u!==e?(h=U(),h!==e?(H=t,u=p2(),t=u):(s=t,t=e)):(s=t,t=e)),t}function vf(){var t,u,h,y,x;return t=s,u=P2(),u!==e?(i.charCodeAt(s)===44?(h=_,s++):(h=e,D===0&&O(V)),h!==e?(y=U(),y!==e?(x=vf(),x!==e?(H=t,u=zu(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=P2(),u!==e&&(H=t,u=ki(u)),t=u),t}function P2(){var t,u;return t=s,u=Xy(),u!==e&&(H=t,u=Bn(u)),t=u,t===e&&(t=s,u=qi(),u!==e&&(H=t,u=ki(u)),t=u),t}function qi(){var t,u,h,y;for(t=s,u=s,h=[],Ti.test(i.charAt(s))?(y=i.charAt(s),s++):(y=e,D===0&&O(Hc));y!==e;)h.push(y),Ti.test(i.charAt(s))?(y=i.charAt(s),s++):(y=e,D===0&&O(Hc));return h!==e?u=i.substring(u,s):u=h,u!==e?(h=U(),h!==e?(H=t,u=Iu(u),t=u):(s=t,t=e)):(s=t,t=e),t}function Xy(){var t,u,h,y,x;return t=s,u=qi(),u!==e?(i.charCodeAt(s)===58?(h=Ur,s++):(h=e,D===0&&O(an)),h!==e?(y=U(),y!==e?(x=Pr(),x!==e?(H=t,u=Wc(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function On(){var t,u,h;return t=s,u=H2(),u!==e?(h=ot(),h!==e?(H=t,u=_r(u),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=R2(),u!==e?(h=ot(),h!==e?(H=t,u=Bn(u),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=bf(),u!==e?(h=ot(),h!==e?(H=t,u=T0(u),t=u):(s=t,t=e)):(s=t,t=e))),t}function R2(){var t,u;return t=s,u=j2(),u!==e&&(H=t,u=$0(u)),t=u,t===e&&(t=s,u=Ky(),u!==e&&(H=t,u=Lu(u)),t=u),t}function j2(){var t,u,h;return t=s,u=Jy(),u!==e?(h=Qy(),h!==e?(H=t,u=qu(u,h),t=u):(s=t,t=e)):(s=t,t=e),t}function Ky(){var t,u,h,y;return t=s,u=ao(),u!==e?(h=Zy(),h!==e?(y=ao(),y!==e?(H=t,u=Vu(u,h,y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function Jy(){var t,u,h;return t=s,i.charCodeAt(s)===126?(u=tr,s++):(u=e,D===0&&O(Sr)),u!==e?(h=U(),h!==e?(H=t,u=Uc(),t=u):(s=t,t=e)):(s=t,t=e),t}function ao(){var t,u,h,y,x,P;return t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=Li(),y!==e?(i.charCodeAt(s)===41?(x=M,s++):(x=e,D===0&&O(j)),x!==e?(P=U(),P!==e?(H=t,u=s0(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=J2(),u!==e&&(H=t,u=kn(u)),t=u,t===e&&(t=s,u=z2(),u!==e&&(H=t,u=_r(u)),t=u,t===e&&(t=s,u=Vi(),u!==e&&(H=t,u=Bn(u)),t=u,t===e&&(t=s,u=qi(),u!==e&&(H=t,u=ki(u)),t=u)))),t}function Zy(){var t,u,h;return t=s,i.substr(s,2)===Vt?(u=Vt,s+=2):(u=e,D===0&&O(Vr)),u!==e?(h=U(),h!==e?(H=t,u=m2(),t=u):(s=t,t=e)):(s=t,t=e),t}function Qy(){var t,u;return t=s,u=bf(),u!==e&&(H=t,u=T0(u)),t=u,t===e&&(t=s,u=j2(),u!==e&&(H=t,u=$0(u)),t=u),t}function Vi(){var t,u,h,y,x,P;return t=s,i.charCodeAt(s)===91?(u=Wr,s++):(u=e,D===0&&O(rn)),u!==e?(h=U(),h!==e?(i.charCodeAt(s)===93?(y=nn,s++):(y=e,D===0&&O(sn)),y!==e?(x=U(),x!==e?(H=t,u=un(),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.charCodeAt(s)===91?(u=Wr,s++):(u=e,D===0&&O(rn)),u!==e?(h=U(),h!==e?(y=Hi(),y!==e?(i.charCodeAt(s)===93?(x=nn,s++):(x=e,D===0&&O(sn)),x!==e?(P=U(),P!==e?(H=t,u=kn(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function Hi(){var t,u,h,y,x,P,Q;if(t=s,u=P0(),u!==e){for(h=[],y=s,i.charCodeAt(s)===44?(x=_,s++):(x=e,D===0&&O(V)),x!==e?(P=U(),P!==e?(Q=P0(),Q!==e?(H=y,x=te(u,Q),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);y!==e;)h.push(y),y=s,i.charCodeAt(s)===44?(x=_,s++):(x=e,D===0&&O(V)),x!==e?(P=U(),P!==e?(Q=P0(),Q!==e?(H=y,x=te(u,Q),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);h!==e?(H=t,u=Z(u,h),t=u):(s=t,t=e)}else s=t,t=e;return t}function P0(){var t,u;return t=s,u=z2(),u!==e&&(H=t,u=_r(u)),t=u,t===e&&(t=s,u=Li(),u!==e&&(H=t,u=s0(u)),t=u,t===e&&(t=s,u=Vi(),u!==e&&(H=t,u=Bn(u)),t=u)),t}function z2(){var t,u,h;return t=s,u=s,h=Sb(),h!==e?u=i.substring(u,s):u=h,u!==e?(h=U(),h!==e?(H=t,u=$i(u),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=eb(),u!==e&&(H=t,u=Yc(u)),t=u),t}function eb(){var t,u,h,y,x;if(t=s,u=L2(),u!==e){for(h=[],y=I2();y!==e;)h.push(y),y=I2();h!==e?(y=L2(),y!==e?(x=U(),x!==e?(H=t,u=Gc(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)}else s=t,t=e;return t}function I2(){var t,u,h;return t=s,Hu.test(i.charAt(s))?(u=i.charAt(s),s++):(u=e,D===0&&O(Wu)),u!==e?(/^["\\]/.test(i.charAt(s))?(h=i.charAt(s),s++):(h=e,D===0&&O(Mi)),h!==e?(H=t,u=Xc(h),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(/^[ -!#-[\]-~]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Kc))),t}function L2(){var t;return i.charCodeAt(s)===34?(t='"',s++):(t=e,D===0&&O(Uu)),t}function tb(){var t,u,h,y,x;if(t=s,u=V2(),u!==e){if(h=[],y=q2(),y!==e)for(;y!==e;)h.push(y),y=q2();else h=e;h!==e?(y=V2(),y!==e?(x=U(),x!==e?(H=t,u=Jc(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)}else s=t,t=e;return t}function q2(){var t,u,h;return t=s,Hu.test(i.charAt(s))?(u=i.charAt(s),s++):(u=e,D===0&&O(Wu)),u!==e?(/^['\\]/.test(i.charAt(s))?(h=i.charAt(s),s++):(h=e,D===0&&O(g2)),h!==e?(H=t,u=M0(h),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(/^[ -&0-[\]-~]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Yu))),t}function V2(){var t;return i.charCodeAt(s)===39?(t="'",s++):(t=e,D===0&&O(Oi)),t}function rb(){var t,u,h;return t=s,u=ib(),u!==e?(h=ot(),h!==e?(H=t,u=kn(u),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=nb(),u!==e?(h=ot(),h!==e?(H=t,u=Gu(u),t=u):(s=t,t=e)):(s=t,t=e)),t}function nb(){var t,u,h,y;return t=s,u=On(),u!==e?(h=sb(),h!==e?(y=On(),y!==e?(H=t,u=Ni(u,h,y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function sb(){var t,u,h;return t=s,i.substr(s,3)===ss?(u=ss,s+=3):(u=e,D===0&&O(si)),u!==e?(h=ot(),h!==e?(H=t,u=Xu(),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,2)===Tt?(u=Tt,s+=2):(u=e,D===0&&O(Qt)),u!==e?(h=ot(),h!==e?(H=t,u=Ku(),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,2)===_i?(u=_i,s+=2):(u=e,D===0&&O(Zc)),u!==e?(h=ot(),h!==e?(H=t,u=Ju(),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,3)===O0?(u=O0,s+=3):(u=e,D===0&&O(Pi)),u!==e?(h=ot(),h!==e?(H=t,u=Zu(),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,2)===N0?(u=N0,s+=2):(u=e,D===0&&O(y2)),u!==e?(h=ot(),h!==e?(H=t,u=Ri(),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.substr(s,2)===ji?(u=ji,s+=2):(u=e,D===0&&O(Qc)),u!==e?(h=ot(),h!==e?(H=t,u=ef(),t=u):(s=t,t=e)):(s=t,t=e)))))),t}function ib(){var t,u;return t=s,u=ab(),u!==e&&(H=t,u=Qu(u)),t=u,t===e&&(t=s,u=ub(),u!==e&&(H=t,u=zi(u)),t=u),t}function H2(){var t,u,h,y,x,P,Q,se,Ae,rt;return t=s,u=Q2(),u!==e?(i.charCodeAt(s)===40?(h=E,s++):(h=e,D===0&&O(B)),h!==e?(y=U(),y!==e?(x=Hi(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(Q=U(),Q!==e?(i.charCodeAt(s)===61?(se=wn,s++):(se=e,D===0&&O(Cn)),se!==e?(Ae=U(),Ae!==e?(rt=wf(),rt!==e?(H=t,u=b2(u,x,rt),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=ao(),u!==e?(i.charCodeAt(s)===61?(h=wn,s++):(h=e,D===0&&O(Cn)),h!==e?(y=U(),y!==e?(x=ao(),x!==e?(H=t,u=v2(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function ab(){var t,u,h,y,x,P,Q;if(t=s,u=On(),u!==e){if(h=[],y=s,i.charCodeAt(s)===38?(x=Sn,s++):(x=e,D===0&&O(Jn)),x!==e?(P=ot(),P!==e?(Q=On(),Q!==e?(H=y,x=Oe(u,Q),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e),y!==e)for(;y!==e;)h.push(y),y=s,i.charCodeAt(s)===38?(x=Sn,s++):(x=e,D===0&&O(Jn)),x!==e?(P=ot(),P!==e?(Q=On(),Q!==e?(H=y,x=Oe(u,Q),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);else h=e;h!==e?(H=t,u=A2(u,h),t=u):(s=t,t=e)}else s=t,t=e;return t}function ub(){var t,u,h,y,x,P,Q;if(t=s,u=On(),u!==e){if(h=[],y=s,i.charCodeAt(s)===124?(x=Qn,s++):(x=e,D===0&&O(W)),x!==e?(P=ot(),P!==e?(Q=On(),Q!==e?(H=y,x=Oe(u,Q),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e),y!==e)for(;y!==e;)h.push(y),y=s,i.charCodeAt(s)===124?(x=Qn,s++):(x=e,D===0&&O(W)),x!==e?(P=ot(),P!==e?(Q=On(),Q!==e?(H=y,x=Oe(u,Q),y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);else h=e;h!==e?(H=t,u=tf(u,h),t=u):(s=t,t=e)}else s=t,t=e;return t}function Wi(){var t,u,h,y,x,P;return t=s,u=xf(),u!==e?(i.charCodeAt(s)===58?(h=Ur,s++):(h=e,D===0&&O(an)),h!==e?(y=U(),y!==e?(x=s,P=Ef(),P!==e?x=i.substring(x,s):x=P,x!==e?(H=t,u=rf(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=Wi(),y!==e?(i.charCodeAt(s)===41?(x=M,s++):(x=e,D===0&&O(j)),x!==e?(P=U(),P!==e?(u=[u,h,y,x,P],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function Pr(){var t,u,h,y,x,P,Q;return t=s,u=X2(),u!==e?(i.charCodeAt(s)===40?(h=E,s++):(h=e,D===0&&O(B)),h!==e?(y=U(),y!==e?(x=G2(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(Q=U(),Q!==e?(u=[u,h,y,x,P,Q],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=Pr(),y!==e?(i.charCodeAt(s)===41?(x=M,s++):(x=e,D===0&&O(j)),x!==e?(P=U(),P!==e?(u=[u,h,y,x,P],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=lb(),u!==e&&(H=t,u=_r(u)),t=u,t===e&&(t=cb(),t===e&&(t=qi(),t===e&&(t=ob()))))),t}function W2(){var t,u,h,y,x,P,Q,se;return t=s,u=U(),u!==e?(h=U2(),h!==e?(y=U(),y!==e?(u=[u,h,y],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=U(),u!==e?(i.charCodeAt(s)===40?(h=E,s++):(h=e,D===0&&O(B)),h!==e?(y=U(),y!==e?(x=W2(),x!==e?(P=U(),P!==e?(i.charCodeAt(s)===41?(Q=M,s++):(Q=e,D===0&&O(j)),Q!==e?(se=U(),se!==e?(u=[u,h,y,x,P,Q,se],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=U(),u!==e?(h=K2(),h!==e?(y=U(),y!==e?(u=[u,h,y],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e))),t}function U2(){var t,u,h,y,x;return t=s,u=db(),u!==e?(i.charCodeAt(s)===62?(h=">",s++):(h=e,D===0&&O(l)),h!==e?(y=U(),y!==e?(x=Pr(),x!==e?(u=[u,h,y,x],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function ob(){var t,u,h,y,x,P;return t=s,i.charCodeAt(s)===91?(u=Wr,s++):(u=e,D===0&&O(rn)),u!==e?(h=U(),h!==e?(y=Y2(),y!==e?(i.charCodeAt(s)===93?(x=nn,s++):(x=e,D===0&&O(sn)),x!==e?(P=U(),P!==e?(u=[u,h,y,x,P],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function Y2(){var t,u,h,y,x;return t=s,u=Ef(),u!==e?(i.charCodeAt(s)===44?(h=_,s++):(h=e,D===0&&O(V)),h!==e?(y=U(),y!==e?(x=Y2(),x!==e?(u=[u,h,y,x],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=Ef()),t}function G2(){var t,u,h,y,x;return t=s,u=Pr(),u!==e?(i.charCodeAt(s)===44?(h=_,s++):(h=e,D===0&&O(V)),h!==e?(y=U(),y!==e?(x=G2(),x!==e?(u=[u,h,y,x],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=Pr()),t}function X2(){var t=uo();return t}function uo(){var t=co();return t===e&&(t=tb()),t}function lb(){var t,u,h;return t=s,i.charCodeAt(s)===36?(u=a,s++):(u=e,D===0&&O(c)),u!==e?(h=co(),h!==e?(H=t,u=s0(h),t=u):(s=t,t=e)):(s=t,t=e),t}function cb(){var t=X2();return t}function K2(){var t,u,h,y,x,P,Q,se,Ae,rt,Lt;return t=s,i.substr(s,2)===d?(u=d,s+=2):(u=e,D===0&&O(m)),u!==e?(h=U(),h!==e?(i.charCodeAt(s)===91?(y=Wr,s++):(y=e,D===0&&O(rn)),y!==e?(x=U(),x!==e?(P=vf(),P!==e?(i.charCodeAt(s)===93?(Q=nn,s++):(Q=e,D===0&&O(sn)),Q!==e?(se=U(),se!==e?(i.charCodeAt(s)===58?(Ae=Ur,s++):(Ae=e,D===0&&O(an)),Ae!==e?(rt=U(),rt!==e?(Lt=fb(),Lt!==e?(u=[u,h,y,x,P,Q,se,Ae,rt,Lt],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function fb(){var t,u,h,y,x,P;return t=Pr(),t===e&&(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=U2(),y!==e?(i.charCodeAt(s)===41?(x=M,s++):(x=e,D===0&&O(j)),x!==e?(P=U(),P!==e?(u=[u,h,y,x,P],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=K2())),t}function db(){var t,u,h,y,x,P;return t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=Ui(),y!==e?(i.charCodeAt(s)===41?(x=M,s++):(x=e,D===0&&O(j)),x!==e?(P=U(),P!==e?(u=[u,h,y,x,P],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=Ui(),t===e&&(t=Pr())),t}function Ui(){var t,u,h,y,x,P,Q,se,Ae;if(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=Ui(),y!==e?(i.charCodeAt(s)===41?(x=M,s++):(x=e,D===0&&O(j)),x!==e?(P=U(),P!==e?(i.charCodeAt(s)===42?(Q=A,s++):(Q=e,D===0&&O(S)),Q!==e?(se=U(),se!==e?(Ae=Pr(),Ae!==e?(u=[u,h,y,x,P,Q,se,Ae],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e){if(t=s,u=Pr(),u!==e){for(h=[],y=s,i.charCodeAt(s)===42?(x=A,s++):(x=e,D===0&&O(S)),x!==e?(P=U(),P!==e?(Q=Ui(),Q!==e?(x=[x,P,Q],y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);y!==e;)h.push(y),y=s,i.charCodeAt(s)===42?(x=A,s++):(x=e,D===0&&O(S)),x!==e?(P=U(),P!==e?(Q=Ui(),Q!==e?(x=[x,P,Q],y=x):(s=y,y=e)):(s=y,y=e)):(s=y,y=e);h!==e?(u=[u,h],t=u):(s=t,t=e)}else s=t,t=e;t===e&&(t=s,u=Pr(),u!==e?(i.charCodeAt(s)===42?(h=A,s++):(h=e,D===0&&O(S)),h!==e?(y=U(),y!==e?(x=Pr(),x!==e?(u=[u,h,y,x],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e))}return t}function J2(){var t,u;return t=s,u=Z2(),u!==e&&(H=t,u=$0(u)),t=u,t===e&&(t=s,u=hb(),u!==e&&(H=t,u=_r(u)),t=u,t===e&&(t=s,u=mb(),u!==e&&(H=t,u=T(u)),t=u)),t}function Z2(){var t,u,h,y,x,P,Q;return t=s,u=Q2(),u!==e?(i.charCodeAt(s)===40?(h=E,s++):(h=e,D===0&&O(B)),h!==e?(y=U(),y!==e?(x=Hi(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(Q=ot(),Q!==e?(H=t,u=N(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=wf(),u!==e?(h=ot(),h!==e?(H=t,u=M0(u),t=u):(s=t,t=e)):(s=t,t=e)),t}function Q2(){var t,u;return t=s,u=uo(),u!==e&&(H=t,u=q(u)),t=u,t}function hb(){var t,u,h;return t=s,u=pb(),u!==e?(h=ot(),h!==e?(H=t,u=_r(u),t=u):(s=t,t=e)):(s=t,t=e),t}function pb(){var t,u,h,y,x,P;return t=s,u=fp(),u!==e&&(H=t,u=_r(u)),t=u,t===e&&(t=s,u=cp(),u!==e?(i.charCodeAt(s)===40?(h=E,s++):(h=e,D===0&&O(B)),h!==e?(y=U(),y!==e?(x=Hi(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(H=t,u=K(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=gb(),u!==e&&(H=t,u=M0(u)),t=u,t===e&&(t=s,u=yb(),u!==e&&(H=t,u=s0(u)),t=u))),t}function mb(){var t,u,h,y,x,P,Q;return t=s,u=dp(),u!==e?(h=ot(),h!==e?(H=t,u=M0(u),t=u):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,u=rp(),u!==e?(i.charCodeAt(s)===40?(h=E,s++):(h=e,D===0&&O(B)),h!==e?(y=U(),y!==e?(x=Hi(),x!==e?(i.charCodeAt(s)===41?(P=M,s++):(P=e,D===0&&O(j)),P!==e?(Q=ot(),Q!==e?(H=t,u=K(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function gb(){var t,u,h,y,x,P,Q,se,Ae,rt,Lt,ln,Br,cn;return t=s,i.substr(s,4)===ee?(u=ee,s+=4):(u=e,D===0&&O(ne)),u!==e?(h=U(),h!==e?(i.charCodeAt(s)===40?(y=E,s++):(y=e,D===0&&O(B)),y!==e?(x=U(),x!==e?(P=Li(),P!==e?(i.charCodeAt(s)===44?(Q=_,s++):(Q=e,D===0&&O(V)),Q!==e?(se=U(),se!==e?(Ae=P0(),Ae!==e?(i.charCodeAt(s)===44?(rt=_,s++):(rt=e,D===0&&O(V)),rt!==e?(Lt=U(),Lt!==e?(ln=P0(),ln!==e?(i.charCodeAt(s)===41?(Br=M,s++):(Br=e,D===0&&O(j)),Br!==e?(cn=ot(),cn!==e?(u=[u,h,y,x,P,Q,se,Ae,rt,Lt,ln,Br,cn],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function yb(){var t,u,h,y,x,P,Q,se,Ae,rt,Lt,ln,Br,cn;return t=s,i.substr(s,4)===he?(u=he,s+=4):(u=e,D===0&&O(Fe)),u!==e?(h=U(),h!==e?(i.charCodeAt(s)===40?(y=E,s++):(y=e,D===0&&O(B)),y!==e?(x=U(),x!==e?(P=bb(),P!==e?(i.charCodeAt(s)===44?(Q=_,s++):(Q=e,D===0&&O(V)),Q!==e?(se=U(),se!==e?(Ae=vb(),Ae!==e?(i.charCodeAt(s)===44?(rt=_,s++):(rt=e,D===0&&O(V)),rt!==e?(Lt=U(),Lt!==e?(ln=P0(),ln!==e?(i.charCodeAt(s)===41?(Br=M,s++):(Br=e,D===0&&O(j)),Br!==e?(cn=ot(),cn!==e?(u=[u,h,y,x,P,Q,se,Ae,rt,Lt,ln,Br,cn],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function bb(){var t,u,h,y,x,P;return t=Wi(),t===e&&(t=s,i.charCodeAt(s)===91?(u=Wr,s++):(u=e,D===0&&O(rn)),u!==e?(h=U(),h!==e?(y=ep(),y!==e?(i.charCodeAt(s)===93?(x=nn,s++):(x=e,D===0&&O(sn)),x!==e?(P=U(),P!==e?(u=[u,h,y,x,P],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function ep(){var t,u,h,y,x;return t=Wi(),t===e&&(t=s,u=Wi(),u!==e?(i.charCodeAt(s)===44?(h=_,s++):(h=e,D===0&&O(V)),h!==e?(y=U(),y!==e?(x=ep(),x!==e?(u=[u,h,y,x],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function vb(){var t,u,h,y,x,P;return t=s,u=Af(),u!==e&&(H=t,u=_r(u)),t=u,t===e&&(t=s,i.charCodeAt(s)===91?(u=Wr,s++):(u=e,D===0&&O(rn)),u!==e?(h=U(),h!==e?(y=tp(),y!==e?(i.charCodeAt(s)===93?(x=nn,s++):(x=e,D===0&&O(sn)),x!==e?(P=U(),P!==e?(H=t,u=s0(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function Af(){var t,u,h,y;return t=s,u=Ab(),u!==e?(h=Eb(),h!==e?(y=P0(),y!==e?(H=t,u=Ne(u,h,y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function tp(){var t,u,h,y,x;return t=s,u=Af(),u!==e&&(H=t,u=nt(u)),t=u,t===e&&(t=s,u=Af(),u!==e?(i.charCodeAt(s)===44?(h=_,s++):(h=e,D===0&&O(V)),h!==e?(y=U(),y!==e?(x=tp(),x!==e?(H=t,u=tt(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function Ab(){var t,u;return t=s,u=Z2(),u!==e&&(H=t,u=kn(u)),t=u,t===e&&(t=s,u=Vi(),u!==e&&(H=t,u=Bn(u)),t=u),t}function Eb(){var t,u,h;return t=s,i.substr(s,2)===st?(u=st,s+=2):(u=e,D===0&&O(ct)),u!==e?(h=U(),h!==e?(H=t,u=wt(),t=u):(s=t,t=e)):(s=t,t=e),t}function Ef(){var t,u;return t=s,u=W2(),u!==e&&(H=t,u=Xt()),t=u,t===e&&(t=s,u=Pr(),u!==e&&(H=t,u=jt()),t=u),t}function xb(){var t,u,h,y;return t=s,u=xf(),u!==e?(h=wb(),h!==e?(y=Lb(),y!==e?(u=[u,h,y],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function xf(){var t,u;return t=s,u=wf(),u!==e&&(H=t,u=M0(u)),t=u,t===e&&(t=s,u=dp(),u!==e&&(H=t,u=T(u)),t=u),t}function wb(){var t,u,h;return t=s,i.substr(s,2)===ar?(u=ar,s+=2):(u=e,D===0&&O(i0)),u!==e?(h=U(),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t}function rp(){var t,u;return t=s,u=Cb(),u!==e&&(H=t,u=kn(u)),t=u,t}function Cb(){var t,u,h,y,x;return t=s,i.charCodeAt(s)===36?(u=a,s++):(u=e,D===0&&O(c)),u!==e?(i.charCodeAt(s)===36?(h=a,s++):(h=e,D===0&&O(c)),h!==e?(y=co(),y!==e?(x=U(),x!==e?(H=t,u=at(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function Sb(){var t=ap();return t===e&&(t=$b(),t===e&&(t=Fb())),t}function Fb(){var t=Db();return t===e&&(t=np()),t}function Db(){var t,u,h;return t=s,u=fo(),u!==e?(h=np(),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t}function np(){var t=sp();return t===e&&(t=Bb()),t}function Bb(){var t,u,h,y;return t=s,u=lo(),u===e&&(u=sp()),u!==e?(h=Pb(),h!==e?(y=kb(),y!==e?(u=[u,h,y],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function sp(){var t,u,h,y;return t=s,u=oo(),u!==e?(h=_b(),h!==e?(y=lo(),y!==e?(u=[u,h,y],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function kb(){var t=Tb();return t===e&&(t=lo()),t}function Tb(){var t,u,h;return t=s,u=fo(),u!==e?(h=lo(),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t}function $b(){var t=Mb();return t===e&&(t=ip()),t}function Mb(){var t,u,h;return t=s,u=fo(),u!==e?(h=ip(),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t}function ip(){var t,u,h,y;return t=s,u=oo(),u!==e?(h=Nb(),h!==e?(y=up(),y!==e?(u=[u,h,y],t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function ap(){var t,u;return t=s,u=Ob(),u!==e?t=i.substring(t,s):t=u,t===e&&(t=s,u=oo(),u!==e?t=i.substring(t,s):t=u),t}function Ob(){var t,u,h;return t=s,u=s,h=fo(),h!==e?u=i.substring(u,s):u=h,u!==e?(h=oo(),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t}function oo(){var t,u;return t=s,u=Rb(),u!==e?t=i.substring(t,s):t=u,t===e&&(t=s,u=up(),u!==e?t=i.substring(t,s):t=u),t}function up(){var t,u,h,y;if(t=s,u=s,h=jb(),h!==e?u=i.substring(u,s):u=h,u!==e){for(h=[],y=Yi();y!==e;)h.push(y),y=Yi();h!==e?(u=[u,h],t=u):(s=t,t=e)}else s=t,t=e;return t}function lo(){var t,u,h;if(t=s,u=[],h=Yi(),h!==e)for(;h!==e;)u.push(h),h=Yi();else u=e;return u!==e?t=i.substring(t,s):t=u,t}function Nb(){var t;return i.charCodeAt(s)===47?(t=e0,s++):(t=e,D===0&&O(Ei)),t}function co(){var t,u,h,y,x,P;if(t=s,u=s,h=s,y=op(),y!==e){for(x=[],P=lp();P!==e;)x.push(P),P=lp();x!==e?(y=[y,x],h=y):(s=h,h=e)}else s=h,h=e;return h!==e?u=i.substring(u,s):u=h,u!==e?(h=U(),h!==e?(H=t,u=kn(u),t=u):(s=t,t=e)):(s=t,t=e),t}function fo(){var t;return/^[+\-]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(dt)),t}function _b(){var t;return/^[.]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(St)),t}function Pb(){var t;return/^[Ee]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Bt)),t}function Rb(){var t;return/^[0]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Nt)),t}function jb(){var t;return/^[1-9]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Mt)),t}function Yi(){var t;return gs.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(D0)),t}function op(){var t;return/^[a-z]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(mr)),t}function zb(){var t;return/^[A-Z]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(nf)),t}function Ib(){var t;return/^[_]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(eo)),t}function lp(){var t=op();return t===e&&(t=zb(),t===e&&(t=Yi(),t===e&&(t=Ib()))),t}function cp(){var t,u,h,y;return t=s,i.charCodeAt(s)===36?(u=a,s++):(u=e,D===0&&O(c)),u!==e?(h=co(),h!==e?(y=U(),y!==e?(H=t,u=to(h),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t}function fp(){var t,u;return t=s,u=cp(),u!==e&&(H=t,u=ro(u)),t=u,t}function wf(){var t,u;return t=s,u=uo(),u!==e&&(H=t,u=$i(u)),t=u,t}function dp(){var t,u;return t=s,u=rp(),u!==e&&(H=t,u=ro(u)),t=u,t}function Lb(){var t,u;return t=s,u=xf(),u!==e&&(H=t,u=T0(u)),t=u,t===e&&(t=s,u=fp(),u!==e&&(H=t,u=_r(u)),t=u),t}function hp(){var t,u,h,y,x,P;return t=s,u=Vi(),u!==e?(i.substr(s,3)===Fn?(h=Fn,s+=3):(h=e,D===0&&O(L)),h!==e?(y=U(),y!==e?(x=Vi(),x!==e?(H=t,u=Es(u,x),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e),t===e&&(t=s,i.charCodeAt(s)===40?(u=E,s++):(u=e,D===0&&O(B)),u!==e?(h=U(),h!==e?(y=hp(),y!==e?(i.charCodeAt(s)===41?(x=M,s++):(x=e,D===0&&O(j)),x!==e?(P=U(),P!==e?(H=t,u=_9(y),t=u):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)):(s=t,t=e)),t}function U(){var t,u;for(D++,t=[],u=mp(),u===e&&(E2.test(i.charAt(s))?(u=i.charAt(s),s++):(u=e,D===0&&O(x2)));u!==e;)t.push(u),u=mp(),u===e&&(E2.test(i.charAt(s))?(u=i.charAt(s),s++):(u=e,D===0&&O(x2)));return D--,t===e&&(u=e,D===0&&O(P9)),t}function R0(){var t,u;return t=s,u=_e,u!==e&&(H=t,u=R9()),t=u,t}function Gi(){var t,u,h,y,x;if(D++,t=s,u=s,h=Cf(),h!==e){for(y=[],x=At();x!==e;)y.push(x),x=At();y!==e?(h=[h,y],u=h):(s=u,u=e)}else s=u,u=e;return u!==e?t=i.substring(t,s):t=u,D--,t===e&&(u=e,D===0&&O(j9)),t}function ho(){var t,u,h,y,x;if(D++,t=s,u=s,h=Cf(),h===e&&(h=pp()),h!==e){for(y=[],x=At();x!==e;)y.push(x),x=At();y!==e?(h=[h,y],u=h):(s=u,u=e)}else s=u,u=e;return u!==e?t=i.substring(t,s):t=u,D--,t===e&&(u=e,D===0&&O(z9)),t}function Cf(){var t=Wb();return t===e&&(t=qb(),t===e&&(i.charCodeAt(s)===36?(t=a,s++):(t=e,D===0&&O(c)),t===e&&(i.charCodeAt(s)===95?(t="_",s++):(t=e,D===0&&O(I9))))),t}function At(){var t=Cf();return t===e&&(t=Ub(),t===e&&(t=pp(),t===e&&(t=Vb(),t===e&&(t=Hb(),t===e&&(i.charCodeAt(s)===8204?(t="",s++):(t=e,D===0&&O(L9)),t===e&&(i.charCodeAt(s)===8205?(t="",s++):(t=e,D===0&&O(q9)))))))),t}function qb(){var t,u,h;return t=s,/^[\uD835]/.test(i.charAt(s))?(u=i.charAt(s),s++):(u=e,D===0&&O(V9)),u!==e?(/^[\uDC00-\uDFFF]/.test(i.charAt(s))?(h=i.charAt(s),s++):(h=e,D===0&&O(H9)),h!==e?(u=[u,h],t=u):(s=t,t=e)):(s=t,t=e),t===e&&(/^[\u2012\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2128\u212C\u212D\u212F-\u2131\u2133-\u2138\u213C-\u2140\u2145-\u2149]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(W9))),t}function Vb(){var t;return/^[\u2080-\u2089]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(U9)),t}function Hb(){var t;return/^[\u2070\xB9\xB2\xB3\u2074-\u2079]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Y9)),t}function Wb(){var t;return D++,t=Jb(),t===e&&(t=Yb(),t===e&&(t=Kb(),t===e&&(t=Gb(),t===e&&(t=Xb(),t===e&&(t=tv()))))),D--,t===e&&D===0&&O(G9),t}function Ub(){var t;return D++,t=Qb(),t===e&&(t=Zb()),D--,t===e&&D===0&&O(X9),t}function pp(){var t;return D++,t=ev(),D--,t===e&&D===0&&O(K9),t}function Yb(){var t;return/^[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137-\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148-\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C-\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA-\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9-\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC-\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF-\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F-\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0-\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB-\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE-\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6-\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FC7\u1FD0-\u1FD3\u1FD6-\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6-\u1FF7\u210A\u210E-\u210F\u2113\u212F\u2134\u2139\u213C-\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65-\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73-\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3-\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(J9)),t}function Gb(){var t;return/^[\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5-\u06E6\u07F4-\u07F5\u07FA\u081A\u0824\u0828\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C-\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D-\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA69C-\uA69D\uA717-\uA71F\uA770\uA788\uA7F8-\uA7F9\uA9CF\uA9E6\uAA70\uAADD\uAAF3-\uAAF4\uAB5C-\uAB5F\uFF70\uFF9E-\uFF9F]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Z9)),t}function Xb(){var t;return/^[\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05F0-\u05F2\u0620-\u063F\u0641-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A-\uA62B\uA66E\uA6A0-\uA6E5\uA78F\uA7F7\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(Q9)),t}function Kb(){var t;return/^[\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(ey)),t}function Jb(){var t;return/^[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178-\u0179\u017B\u017D\u0181-\u0182\u0184\u0186-\u0187\u0189-\u018B\u018E-\u0191\u0193-\u0194\u0196-\u0198\u019C-\u019D\u019F-\u01A0\u01A2\u01A4\u01A6-\u01A7\u01A9\u01AC\u01AE-\u01AF\u01B1-\u01B3\u01B5\u01B7-\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A-\u023B\u023D-\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E-\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9-\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0-\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E-\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D-\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(ty)),t}function Zb(){var t;return/^[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E-\u094F\u0982-\u0983\u09BE-\u09C0\u09C7-\u09C8\u09CB-\u09CC\u09D7\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB-\u0ACC\u0B02-\u0B03\u0B3E\u0B40\u0B47-\u0B48\u0B4B-\u0B4C\u0B57\u0BBE-\u0BBF\u0BC1-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD7\u0C01-\u0C03\u0C41-\u0C44\u0C82-\u0C83\u0CBE\u0CC0-\u0CC4\u0CC7-\u0CC8\u0CCA-\u0CCB\u0CD5-\u0CD6\u0D02-\u0D03\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D57\u0D82-\u0D83\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DF2-\u0DF3\u0F3E-\u0F3F\u0F7F\u102B-\u102C\u1031\u1038\u103B-\u103C\u1056-\u1057\u1062-\u1064\u1067-\u106D\u1083-\u1084\u1087-\u108C\u108F\u109A-\u109C\u17B6\u17BE-\u17C5\u17C7-\u17C8\u1923-\u1926\u1929-\u192B\u1930-\u1931\u1933-\u1938\u1A19-\u1A1A\u1A55\u1A57\u1A61\u1A63-\u1A64\u1A6D-\u1A72\u1B04\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B44\u1B82\u1BA1\u1BA6-\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2-\u1BF3\u1C24-\u1C2B\u1C34-\u1C35\u1CE1\u1CF2-\u1CF3\u302E-\u302F\uA823-\uA824\uA827\uA880-\uA881\uA8B4-\uA8C3\uA952-\uA953\uA983\uA9B4-\uA9B5\uA9BA-\uA9BB\uA9BD-\uA9C0\uAA2F-\uAA30\uAA33-\uAA34\uAA4D\uAA7B\uAA7D\uAAEB\uAAEE-\uAAEF\uAAF5\uABE3-\uABE4\uABE6-\uABE7\uABE9-\uABEA\uABEC]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(ry)),t}function Qb(){var t;return/^[\u0300-\u036F\u0483-\u0487\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\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962-\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2-\u09E3\u0A01-\u0A02\u0A3C\u0A41-\u0A42\u0A47-\u0A48\u0A4B-\u0A4D\u0A51\u0A70-\u0A71\u0A75\u0A81-\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7-\u0AC8\u0ACD\u0AE2-\u0AE3\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62-\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55-\u0C56\u0C62-\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC-\u0CCD\u0CE2-\u0CE3\u0D01\u0D41-\u0D44\u0D4D\u0D62-\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0EC8-\u0ECD\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-\u1734\u1752-\u1753\u1772-\u1773\u17B4-\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193B\u1A17-\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1B00-\u1B03\u1B34\u1B36-\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-\u1DF5\u1DFC-\u1DFF\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099-\u309A\uA66F\uA674-\uA67D\uA69E-\uA69F\uA6F0-\uA6F1\uA802\uA806\uA80B\uA825-\uA826\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\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]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(ny)),t}function ev(){var t;return/^[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(sy)),t}function tv(){var t;return/^[\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(iy)),t}function mp(){var t;return/^[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/.test(i.charAt(s))?(t=i.charAt(s),s++):(t=e,D===0&&O(ay)),t}const{startRule:gv,language:po,factories:We}=f,Ge={expected:uy,error:oy};if(so=b(),so!==e&&s===i.length)return so;throw so!==e&&s<i.length&&O(ly()),C2(sf,on<i.length?i.charAt(on):null,on<i.length?io(on,on+1):io(on,on))}return El={SyntaxError:n,parse:o},El}var xl,m4;function j5(){if(m4)return xl;m4=1;const r="Term",n="FormulaStrict",o="FormulaWithPrecedence",i="Clause",f="Constants",e="Predicates",p="Functions",b="Domain",C="Tuples",w="Valuation",E="Substitution",B="tff";return xl={Term:r,FormulaStrict:n,FormulaWithPrecedence:o,Clause:i,Constants:f,Predicates:e,Functions:p,Domain:b,Tuples:C,Valuation:w,Substitution:E,Tff:B,default:[r,n,o,i,f,e,p,b,C,w,E,B]},xl}var g4;function z5(){return g4||(g4=1,function(r){var n=P5();Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return o.parse}}),Object.defineProperty(r,"SyntaxError",{enumerable:!0,get:function(){return o.SyntaxError}}),r.parseTff=r.parseSubstitution=r.parseValuation=r.parseTuples=r.parseDomain=r.parseFunctions=r.parsePredicates=r.parseConstants=r.parseClause=r.parseFormulaWithPrecedence=r.parseFormulaStrict=r.parseTerm=void 0;var o=R5(),i=n(j5());const f=(I,_,V)=>(0,o.parse)(I,{startRule:i.default.Term,language:_,factories:V});r.parseTerm=f;const e=(I,_,V)=>(0,o.parse)(I,{startRule:i.default.FormulaStrict,language:_,factories:V});r.parseFormulaStrict=e;const p=(I,_,V)=>(0,o.parse)(I,{startRule:i.default.FormulaWithPrecedence,language:_,factories:V});r.parseFormulaWithPrecedence=p;const b=(I,_,V)=>(0,o.parse)(I,{startRule:i.default.Clause,language:_,factories:V});r.parseClause=b;const C=I=>(0,o.parse)(I,{startRule:i.default.Constants,language:null,factories:null});r.parseConstants=C;const w=I=>(0,o.parse)(I,{startRule:i.default.Predicates,language:null,factories:null});r.parsePredicates=w;const E=I=>(0,o.parse)(I,{startRule:i.default.Functions,language:null,factories:null});r.parseFunctions=E;const B=I=>(0,o.parse)(I,{startRule:i.default.Domain,language:null,factories:null});r.parseDomain=B;const M=I=>(0,o.parse)(I,{startRule:i.default.Tuples,language:null,factories:null});r.parseTuples=M;const j=(I,_)=>(0,o.parse)(I,{startRule:i.default.Valuation,language:_,factories:null});r.parseValuation=j;const Y=(I,_,V)=>(0,o.parse)(I,{startRule:i.default.Substitution,language:_,factories:V});r.parseSubstitution=Y;const J=(I,_)=>(0,o.parse)(I,{startRule:i.default.Tff,factories:_});r.parseTff=J}(vl)),vl}var Wt=z5();class y4{}class wl extends y4{}class I5{constructor(n,o,i){this.constants=n,this.predicates=o,this.functions=i}getParserLanguage(){let n=new Set([...this.constants,...this.functions.keys(),...this.predicates.keys()]);return console.log(n),{isConstant:o=>this.constants.has(o),isFunction:o=>this.functions.has(o),isPredicate:o=>this.predicates.has(o),isVariable:o=>!n.has(o)}}checkFunctionArity(n,o,i){const f=this.functions.get(n);o.length!==f&&i.expected(`${f} argument${f==1?"":"s"} to ${n}`)}checkPredicateArity(n,o,i){const f=this.predicates.get(n);o.length!==f&&i.expected(`${f} argument${f==1?"":"s"} to ${n}`)}hasConstant(n){return this.constants.has(n)}hasPredicate(n){return this.predicates.has(n)}hasFunction(n){return this.functions.has(n)}getPredicate(n){return this.predicates.get(n)}}class L5{constructor(n,o,i,f,e){this.language=n,this.domain=o,this.iC=i,this.iP=f,this.iF=e}iPHas(n,o){const i=this.iP.get(n);if(!i)return!1;let f=!1;return i.forEach(e=>{if(JSON.stringify(e)===JSON.stringify(o))return f=!0,!0}),f}iFHas(n,o){const i=this.iF.get(n);if(!i)return!1;let f=!1;return i.forEach((e,p)=>{if(JSON.stringify(p)===JSON.stringify(o))return f=!0,!0}),f}iFGet(n,o){const i=this.iF.get(n);if(!i)return;let f="";return i.forEach((e,p)=>{if(JSON.stringify(p)===JSON.stringify(o))return f=e,!0}),f}}class q5 extends wl{constructor(n){super(),this.name=n}eval(n,o){const i=n.iC.get(this.name);if(i===void 0||i==="")throw new Error(`The interpretation of the constant ${this.name} is not defined`);return i}toString(){return this.name}getVariables(){return new Set}}class Cl extends wl{constructor(n){super(),this.name=n}eval(n,o){const i=o.get(this.name);if(i===void 0)throw new Error(`The variable ${this.name} is free,
|
|
64
|
+
but it is not assigned any value by the variable assignment 𝑒.`);return i}toString(){return this.name}createCopy(){return new Cl(this.name)}getVariables(){return new Set([this.name])}}var qt=(r=>(r.ALPHA="alpha",r.BETA="beta",r.GAMMA="gamma",r.DELTA="delta",r))(qt||{});class qn extends y4{constructor(n,o){super(),this.subFormulas=n,this.connective=o}getSubFormulas(){return this.subFormulas}toString(){return`(${this.getSubFormulas().join(this.connective)})`}gameDepth(n){return Math.max(...this.getSignedSubFormulas(n).map(({formula:o})=>o.gameDepth(n)))+this.getSignedType(n)==="beta"||this.getSignedType(n)==="delta"?2:1}signedFormulaToString(n){return`${n===!0?"T":"F"} ${this.toString()}`}depth(){return Math.max(...this.subFormulas.map(n=>n.depth()))+1}winningSubformulas(n,o,i){const f=this.getSignedSubFormulas(n);let e,p=[];for(const{sign:b,formula:C}of f){let w={sign:b,formula:C};C.eval(o,i)!==b&&(e||(e=w,p.push(e)),e.formula.gameDepth(e.sign)>C.gameDepth(b)?(e=w,p=[e]):e.formula.gameDepth(e.sign)===C.gameDepth(b)&&p.push(w))}return p.length===0?f:p}getVariables(){const n=new Set;return this.subFormulas.forEach(o=>o.getVariables().forEach(i=>n.add(i))),n}}class V5 extends wl{constructor(n,o){super(),this.name=n,this.terms=o}eval(n,o){let i=[];if(this.terms.forEach(p=>{i.push(p.eval(n,o))}),n.iF.get(this.name)===void 0)throw new Error(`The interpretation of the function symbol ${this.name} is not defined.`);const e=n.iFGet(this.name,i);if(e===void 0)throw new Error(`The interpretation of the function symbol ${this.name} for ${i.length>1?`(${i})`:i} is not defined`);return e}toString(){let n=this.name+"(";for(let o=0;o<this.terms.length;o++)o>0&&(n+=", "),n+=this.terms[o].toString();return n+=")",n}getVariables(){const n=new Set;return this.terms.forEach(o=>o.getVariables().forEach(i=>n.add(i))),n}}class Sl extends qn{constructor(n,o=[]){super([],""),this.name=n,this.terms=o}depth(){return 1}eval(n,o){let i=[];try{i=this.terms.map(e=>e.eval(n,o))}catch(e){throw e}if(n.iP.get(this.name)===void 0)throw new Error(`The interpretation of the predicate symbol ${this.name} is not defined`);return n.iPHas(this.name,i)}toString(){return`${this.name}(${this.terms.join(", ")})`}getSubFormulas(){return[]}getSignedType(n){return qt.ALPHA}getSignedSubFormulas(n){return[]}}class H5 extends qn{constructor(n,o){super([],", "),this.subLeft=n,this.subRight=o}eval(n,o){return this.subLeft.eval(n,o)===this.subRight.eval(n,o)}toString(){return`${this.subLeft.toString()} = ${this.subRight.toString()}`}getSubFormulas(){return[]}getSignedType(n){throw new Error("Method not implemented.")}getSignedSubFormulas(n){throw new Error("Method not implemented.")}}class W5 extends qn{constructor(n){super([n],", "),this.subFormula=n,this.subFormula=n}eval(n,o){return!this.subFormula.eval(n,o)}toString(){return`¬${this.subFormula.toString()}`}getSubFormulas(){return[this.subFormula]}getVariables(){return this.subFormula.getVariables()}getSignedType(n){return qt.ALPHA}getSignedSubFormulas(n){return[{sign:!n,formula:this.subFormula}]}}class U5 extends qn{constructor(n,o){super([n,o]," ∧ "),this.subLeft=n,this.subRight=o}eval(n,o){const i=this.subLeft.eval(n,o),f=this.subRight.eval(n,o);return i&&f}getSubFormulas(){return[this.subLeft,this.subRight]}getSignedType(n){return n?qt.ALPHA:qt.BETA}getSignedSubFormulas(n){return[{sign:n,formula:this.subLeft},{sign:n,formula:this.subRight}]}}class Y5 extends qn{constructor(n,o){super([n,o]," ∨ "),this.subLeft=n,this.subRight=o}eval(n,o){const i=this.subLeft.eval(n,o),f=this.subRight.eval(n,o);return i||f}getSubFormulas(){return[this.subLeft,this.subRight]}getSignedType(n){return n?qt.BETA:qt.ALPHA}getSignedSubFormulas(n){return[{sign:n,formula:this.subLeft},{sign:n,formula:this.subRight}]}}class Is extends qn{constructor(n,o){super([n,o],", "),this.subLeft=n,this.subRight=o,this.subLeft=n,this.subRight=o}eval(n,o){const i=this.subLeft.eval(n,o),f=this.subRight.eval(n,o);return!i||f}toString(){return`(${this.subLeft.toString()} → ${this.subRight.toString()})`}getSubFormulas(){return[this.subLeft,this.subRight]}getSignedType(n){return n?qt.BETA:qt.ALPHA}getSignedSubFormulas(n){return[{sign:!n,formula:this.subLeft},{sign:n,formula:this.subRight}]}}class G5 extends qn{constructor(n,o){super([n,o],", "),this.subLeft=n,this.subRight=o}eval(n,o){const i=this.subLeft.eval(n,o),f=this.subRight.eval(n,o);return i===f}toString(){return`(${this.subLeft.toString()} ↔ ${this.subRight.toString()})`}getSubFormulas(){const n=new Is(this.subLeft,this.subRight),o=new Is(this.subRight,this.subLeft);return[n,o]}getSignedType(n){return n?qt.ALPHA:qt.BETA}getSignedSubFormulas(n){const o=new Is(this.subLeft,this.subRight),i=new Is(this.subRight,this.subLeft);return[{sign:n,formula:i},{sign:n,formula:o}]}}class mn extends qn{constructor(n,o,i){super([o],i),this.variableName=n,this.subFormula=o,this.connective=i}getSignedSubFormulas(n){return[{sign:n,formula:this.subFormula}]}toString(){return`${this.connective}${this.variableName} ${this.subFormula.toString()}`}getVariableName(){return this.variableName}winningElements(n,o,i){const f=this.getSignedSubFormulas(n)[0];let e=new Map(i),p=[];for(const b of o.domain)e.set(this.variableName,b),f.formula.eval(o,e)!==f.sign&&p.push(b);return p.length===0&&(p=Array.from(o.domain)),p}getVariables(){let n=this.subFormula.getVariables();return n.add(this.variableName),n}getSubFormulas(){return[this.subFormula]}}class X5 extends mn{constructor(n,o){super(n,o,"∃"),this.variableName=n,this.subFormula=o}eval(n,o){let i=new Map(o);for(let f of n.domain){i.set(this.variableName,f);try{if(this.subFormula.eval(n,i))return!0}catch(e){throw e}}return!1}getSignedType(n){return n?qt.DELTA:qt.GAMMA}}const b4=Da({name:"language",initialState:{constants:"",predicates:"",functions:""},reducers:{importLanguageState:(r,n)=>JSON.parse(n.payload),updateConstants:(r,n)=>{r.constants=n.payload},updatePredicates:(r,n)=>{r.predicates=n.payload},updateFunctions:(r,n)=>{r.functions=n.payload}}}),{updateConstants:K5,updatePredicates:J5,updateFunctions:Z5,importLanguageState:Q5}=b4.actions,e7=b4.reducer,v4=r=>r.language.constants,A4=r=>r.language.predicates,E4=r=>r.language.functions,ka=zt([v4],r=>{try{const n=Wt.parseConstants(r);return n.forEach(o=>{if(n.filter(i=>o===i).length>1)throw new Error(`Constant ${o} is already defined`)}),{parsed:new Set(n)}}catch(n){if(n instanceof Wt.SyntaxError||n instanceof Error)return{error:n};throw n}}),Ls=zt([A4],r=>{try{const n=Wt.parsePredicates(r);return n.forEach(o=>{if(n.filter(i=>o.name===i.name).length>1)throw new Error(`Predicate ${o.name} is already defined`)}),{parsed:new Map(n.map(({name:o,arity:i})=>[o,i]))}}catch(n){if(n instanceof Wt.SyntaxError||n instanceof Error)return{error:n};throw n}}),qs=zt([E4],r=>{try{const n=Wt.parseFunctions(r);return n.forEach(o=>{if(n.filter(i=>o.name===i.name).length>1)throw new Error(`Function ${o.name} is already defined`)}),{parsed:new Map(n.map(({name:o,arity:i})=>[o,i]))}}catch(n){if(n instanceof Wt.SyntaxError||n instanceof Error)return{error:n};throw n}}),t7=zt([ka,Ls,qs],(r,n,o)=>{let i;if(!r.parsed||!n.parsed||!o.parsed)return"";const f=r.parsed,e=new Set(n.parsed.keys()),p=new Set(o.parsed.keys());return f.forEach(b=>{n.parsed.has(b)&&(i=`Constant ${b} is also defined in predicates`),o.parsed.has(b)&&(i=`Constant ${b} is also defined in functions`)}),e.forEach(b=>{p.has(b)&&(i=`Predicate ${b} is also defined in functions`)}),i}),Fl=zt([ka,Ls,qs],(r,n,o)=>new I5(r.parsed??new Set,n.parsed??new Map,o.parsed??new Map)),x4=Da({name:"structure",initialState:{domain:"",iC:{},iP:{},iF:{}},reducers:{importStructureState:(r,n)=>JSON.parse(n.payload),updateDomain:(r,n)=>{r.domain=n.payload},updateInterpretationConstants:(r,n)=>{const{key:o,value:i}=n.payload;r.iC[o]={text:i}},updateInterpretationPredicates:(r,n)=>{const{key:o,value:i}=n.payload;r.iP[o]={text:i}},updateFunctionSymbols:(r,n)=>{const{key:o,value:i}=n.payload;r.iF[o]={text:i}}}}),{updateDomain:r7,updateInterpretationConstants:n7,updateInterpretationPredicates:s7,updateFunctionSymbols:i7,importStructureState:a7}=x4.actions,w4=r=>r.structure.domain,C4=(r,n)=>r.structure.iC[n],S4=(r,n)=>r.structure.iP[n],F4=(r,n)=>r.structure.iF[n],gn=zt([w4],r=>{try{let n=Wt.parseDomain(r);return n.length===0?{error:new Error("Domain cannot be empty")}:{parsed:n}}catch(n){if(n instanceof Wt.SyntaxError)return{error:n};throw n}}),D4=zt([C4,gn],(r,n)=>r===void 0||r.text===""?{error:new Error("Interpretation must be defined")}:n.parsed===void 0||n.parsed.includes(r.text)===!1?{error:new Error("This element is not in domain.")}:{parsed:r.text}),B4=zt([S4,gn,Ls,(r,n)=>n],(r,n,o,i)=>{if(!o.parsed)return{};if(!n.parsed)return{};if(!r)return{};try{const f=r.text,e=o.parsed.get(i),p=Wt.parseTuples(f),b=e===1?"single":`${e}-tuple`;let C;return p.forEach(w=>{if(w.length!==e){const E=w.length===1?"single":`${e}-tuple`;C=new Error(`(${w}) is a ${E}, but should be a ${b}, becasue aritiy of ${i} is ${e}`);return}w.forEach(E=>{if(n.parsed.includes(E)===!1){C=new Error(`Element ${E} is not in domain.`);return}}),p.forEach(E=>{if(JSON.stringify(w)===JSON.stringify(E)&&w!=E){C=new Error(`${b} (${w}) is already in predicate.`);return}})}),{error:C,parsed:p}}catch(f){if(f instanceof Error||f instanceof Wt.SyntaxError)return{error:f};throw f}});function u7(r,n){const o=[],i=f=>{if(f.length===n){o.push([...f]);return}for(let e=0;e<r.length;e++)f.push(r[e]),i(f),f.pop()};return i([]),o}const k4=zt([F4,gn,qs,(r,n)=>n],(r,n,o,i)=>{if(!o.parsed)return{};if(!n.parsed)return{};try{const f=o.parsed.get(i)??0;let e=u7(n.parsed,f),p=e.slice(0,3).map(B=>`(${B.join(",")})`);if(!r){const B=e.length<=3?`${p}`:`${p}...`,M=e[0].length===1?"singles":`${f}-tuples`;return{error:new Error(`Function is not fully defined, for example these ${M} do not have assigned value: ${B}`)}}const b=r.text,C=Wt.parseTuples(b),w=f===1?"single":`${f+1}-tuple`;let E;if(C.forEach(B=>{if(f!==void 0&&B.length!=f+1){const M=B.length===1?"single":`${f}-tuple`;E=new Error(`(${B}) is a ${M}, but should be a ${w}, becasue aritiy of ${i} is ${f}. Format is: (n-elements,mapped_element)`);return}B.forEach(M=>{if(n.parsed.includes(M)===!1){E=new Error(`Element ${M} is not in domain.`);return}}),C.forEach(M=>{if(JSON.stringify(B.slice(0,-1))===JSON.stringify(M.slice(0,-1))&&B!=M){B=B.slice(0,-1);const j=B.length===1?"single":`${f}-tuple`;E=new Error(`${j} (${B}) has already defined value.`)}}),e.filter(M=>JSON.stringify(M)===JSON.stringify(B.slice(0,-1))).length===1&&(e=e.filter(M=>JSON.stringify(M)!==JSON.stringify(B.slice(0,-1))),p=e.slice(0,3).map(M=>`(${M.join(",")})`))}),E===void 0&&e.length!==0){const B=e.length<=3?`${p}`:`${p}...`,M=e[0].length===1?"singles":`${f}-tuples`;E=new Error(`Function is not fully defined, for example these ${M} do not have assigned value: ${B}`)}else E!==void 0&&e.length==0&&(E=void 0);return{error:E,parsed:C}}catch(f){if(f instanceof Error||f instanceof Wt.SyntaxError)return{error:f};throw f}}),Y0=zt([r=>r,Fl,gn],(r,n,o)=>{const i=n.constants,f=n.predicates,e=n.functions;let p=new Map,b=new Map,C=new Map;return i.forEach(w=>{const E=D4(r,w).parsed??"";p.set(w,E)}),f.forEach((w,E)=>{const B=B4(r,E).parsed??[[]];b.set(E,new Set(B))}),e.forEach((w,E)=>{const B=k4(r,E).parsed??[[]];let M=new Map;B.forEach(j=>{M.set(j.slice(0,-1),j.slice(-1)[0])}),C.set(E,M)}),new L5(n,new Set(o.parsed??[]),p,b,C)}),o7=x4.reducer;class l7 extends mn{constructor(n,o){super(n,o,"∀"),this.variableName=n,this.subFormula=o}eval(n,o){let i=new Map(o);for(let f of n.domain){i.set(this.variableName,f);try{if(!this.subFormula.eval(n,i))return!1}catch(e){throw e}}return!0}getSignedType(n){return n?qt.GAMMA:qt.DELTA}}const T4=Da({name:"variables",initialState:{text:""},reducers:{importVariablesState:(r,n)=>JSON.parse(n.payload),updateVariables:(r,n)=>{r.text=n.payload}}}),{updateVariables:c7,importVariablesState:f7}=T4.actions,d7=T4.reducer,$4=r=>r.variables.text,M4=zt([$4,Fl,gn],(r,n,o)=>{try{const i=Wt.parseValuation(r,n.getParserLanguage());let f;const e=i.map(([p,b])=>((o.parsed&&o.parsed.includes(b)==!1||!o.parsed)&&(f=new Error(`${b} is not an element of domain`)),{from:p,to:b}));return f?{error:f}:{parsed:e}}catch(i){if(i instanceof Wt.SyntaxError)return{error:i};throw i}}),Ta=zt([M4],r=>r.parsed===void 0?new Map:new Map(r.parsed.map(({from:n,to:o})=>[n,o]))),h7={allFormulas:[]};function p7(){return{text:"",guess:null,gameChoices:[]}}const O4=Da({name:"formulas",initialState:h7,reducers:{importFormulasState:(r,n)=>JSON.parse(n.payload),addFormula:r=>{r.allFormulas.push(p7())},clearChoices:(r,n)=>{r.allFormulas[n.payload].gameChoices=[]},gameGoBack:(r,n)=>{const{id:o,index:i}=n.payload;r.allFormulas[o].gameChoices.splice(i)},addAlpha:(r,n)=>{const{id:o,formula:i}=n.payload;r.allFormulas[o].gameChoices.push({formula:i,type:"alpha"})},addBeta:(r,n)=>{const{id:o,formula:i}=n.payload;r.allFormulas[o].gameChoices.push({formula:i,type:"beta"})},addGamma:(r,n)=>{const{id:o,element:i}=n.payload;r.allFormulas[o].gameChoices.push({element:i,type:"gamma"})},addDelta:(r,n)=>{const{id:o,element:i}=n.payload;r.allFormulas[o].gameChoices.push({element:i,type:"delta"})},removeFormula:(r,n)=>{r.allFormulas.splice(n.payload,1)},updateText:(r,n)=>{const{id:o,text:i}=n.payload;r.allFormulas[o].text=i,r.allFormulas[o].gameChoices=[]},updateGuess:(r,n)=>{const{id:o,guess:i}=n.payload;r.allFormulas[o].guess=i,r.allFormulas[o].gameChoices=[]}},extraReducers:r=>{}}),{addFormula:m7,removeFormula:g7,clearChoices:fv,gameGoBack:N4,addAlpha:y7,addBeta:b7,addGamma:v7,addDelta:A7,updateText:E7,updateGuess:x7,importFormulasState:w7}=O4.actions,Dl=(r,n)=>Bl(r,n).guess,$a=(r,n)=>Bl(r,n).gameChoices,C7=r=>r.formulas.allFormulas,Bl=(r,n)=>r.formulas.allFormulas[n],Ma=zt([Fl,Y0,Bl,Ta],(r,n,o,i)=>{const f={variable:(e,p)=>new Cl(e),constant:(e,p)=>new q5(e),functionApplication:(e,p,b)=>(r.checkFunctionArity(e,p,b),new V5(e,p)),predicateAtom:(e,p,b)=>(r.checkPredicateArity(e,p,b),new Sl(e,p)),equalityAtom:(e,p,b)=>new H5(e,p),negation:(e,p)=>new W5(e),conjunction:(e,p,b)=>new U5(e,p),disjunction:(e,p,b)=>new Y5(e,p),implication:(e,p,b)=>new Is(e,p),equivalence:(e,p,b)=>new G5(e,p),existentialQuant:(e,p,b)=>new X5(e,p),universalQuant:(e,p,b)=>new l7(e,p)};try{const e=Wt.parseFormulaWithPrecedence(o.text,r.getParserLanguage(),f);return{evaluated:e.eval(n,i),formula:e}}catch(e){if(e instanceof Error)return{error:e};if(e instanceof Wt.SyntaxError)return{error:e}}return{}}),_4=zt([$a,Ma,Dl],(r,{formula:n},o)=>{let i={sign:o,formula:n};for(const{formula:f,type:e}of r){if(i.formula.getSignedSubFormulas(i.sign).length===0)return i;(e==="alpha"||e==="beta")&&(i=i.formula.getSignedSubFormulas(i.sign)[f]),(e==="delta"||e==="gamma")&&(i=i.formula.getSignedSubFormulas(i.sign)[0])}return i}),S7=zt([$a,Ma,Ta,Dl,gn],(r,{formula:n},o,i,{parsed:f})=>{let e={sign:i,formula:n},p=new Map(o);if(f===void 0)return p;for(const{formula:b,element:C,type:w}of r)if(e.formula.getSignedSubFormulas(e.sign).length!==0&&((w==="alpha"||w==="beta")&&(e=e.formula.getSignedSubFormulas(e.sign)[b]),w==="delta"||w==="gamma")){let E=e.formula;E instanceof mn&&(p.set(E.getVariableName(),C),e=e.formula.getSignedSubFormulas(e.sign)[0])}return p}),F7=zt([_4,gn,Y0,S7],({sign:r,formula:n},{parsed:o},i,f)=>{if(console.log(`${r===!0?"T":"F"} ${n.toString()}`),n.getSignedSubFormulas(r).length!==0){if(console.log(n.getSignedType(r)),n.getSignedType(r)===qt.DELTA&&n instanceof mn)return{values:o??[],elements:o??[],type:"delta",variableName:n.variableName};if(n.getSignedType(r)===qt.BETA)return{values:n.getSignedSubFormulas(r).map(({formula:e,sign:p})=>`M ${p===!0?"⊨":"⊭"} ${e.toString()}[𝑒]`),subformulas:n.getSignedSubFormulas(r),type:"beta"};if(n.getSignedType(r)===qt.ALPHA){let e=n.winningSubformulas(r,i,f);return e.length===0&&(e=n.getSignedSubFormulas(r)),{values:["Continue"],subformulas:e,type:"alpha"}}if(n.getSignedType(r)===qt.GAMMA&&n instanceof mn){let p=n.winningElements(r,i,f);return p.length===0&&(p=o??["domain error"]),{values:["Continue"],elements:p,type:"gamma"}}}}),kl=zt([$a,Ma,Dl,Ta,Y0],(r,{formula:n},o,i,f)=>{const e=[];if(!n)return[];let p=new Map(i),b={sign:o,formula:n},{formula:C,sign:w}=b;const E=()=>{const B=C.getSignedType(w),M={sf:b,valuation:new Map(p),type:B};B==="alpha"?M.winFormula=C.winningSubformulas(w,f,p)[0]:B==="gamma"&&C instanceof mn&&(M.winElement=C.winningElements(w,f,p)[0]),e.push(M)};E();for(const{formula:B,element:M,type:j}of r){if(j==="alpha"||j==="beta")b=C.getSignedSubFormulas(w)[B],C=b.formula,w=b.sign;else if((j==="gamma"||j==="delta")&&C instanceof mn){const Y=C.getVariableName();p.set(Y,M),b=C.getSignedSubFormulas(w)[0],C=b.formula,w=b.sign}E()}return e}),D7=zt([kl,Y0],(r,n)=>{if(r.length===0)return!1;const o=r.at(-1);return o===void 0?!1:o.sf.formula instanceof Sl&&o.sf.formula.eval(n,o.valuation)===o.sf.sign}),B7=zt([kl,Y0],(r,n)=>{if(r.length===0)return 0;let o=0;for(const{sf:i}of r){let f=r[o-1];if(f===void 0){o++;continue}const e=f.type==="alpha"||f.type==="beta"?f.sf.formula.winningSubformulas(f.sf.sign,n,f.valuation)[0]:void 0,p=e?e.formula.signedFormulaToString(e.sign):void 0,b=i.formula.signedFormulaToString(i.sign);if(p!==b&&f.sf.formula.eval(n,f.valuation)!==f.sf.sign&&f.type==="alpha")return o-1;o++}return o}),k7=O4.reducer;var yn=X.createContext(null);process.env.NODE_ENV!=="production"&&(yn.displayName="ReactRedux");function T7(r){r()}var P4=T7,$7=function(n){return P4=n},M7=function(){return P4};function O7(){var r=M7(),n=null,o=null;return{clear:function(){n=null,o=null},notify:function(){r(function(){for(var f=n;f;)f.callback(),f=f.next})},get:function(){for(var f=[],e=n;e;)f.push(e),e=e.next;return f},subscribe:function(f){var e=!0,p=o={callback:f,next:null,prev:o};return p.prev?p.prev.next=p:n=p,function(){!e||n===null||(e=!1,p.next?p.next.prev=p.prev:o=p.prev,p.prev?p.prev.next=p.next:n=p.next)}}}}var R4={notify:function(){},get:function(){return[]}};function j4(r,n){var o,i=R4;function f(B){return C(),i.subscribe(B)}function e(){i.notify()}function p(){E.onStateChange&&E.onStateChange()}function b(){return!!o}function C(){o||(o=n?n.addNestedSub(p):r.subscribe(p),i=O7())}function w(){o&&(o(),o=void 0,i.clear(),i=R4)}var E={addNestedSub:f,notifyNestedSubs:e,handleChangeWrapper:p,isSubscribed:b,trySubscribe:C,tryUnsubscribe:w,getListeners:function(){return i}};return E}var Tl=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?X.useLayoutEffect:X.useEffect;function z4(r){var n=r.store,o=r.context,i=r.children,f=X.useMemo(function(){var b=j4(n);return{store:n,subscription:b}},[n]),e=X.useMemo(function(){return n.getState()},[n]);Tl(function(){var b=f.subscription;return b.onStateChange=b.notifyNestedSubs,b.trySubscribe(),e!==n.getState()&&b.notifyNestedSubs(),function(){b.tryUnsubscribe(),b.onStateChange=null}},[f,e]);var p=o||yn;return X.createElement(p.Provider,{value:f},i)}process.env.NODE_ENV!=="production"&&(z4.propTypes={store:fe.shape({subscribe:fe.func.isRequired,dispatch:fe.func.isRequired,getState:fe.func.isRequired}),context:fe.object,children:fe.any});var Oa={exports:{}},gt={};/** @license React v16.13.1
|
|
65
|
+
* react-is.production.min.js
|
|
66
|
+
*
|
|
67
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the MIT license found in the
|
|
70
|
+
* LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/var I4;function N7(){if(I4)return gt;I4=1;var r=typeof Symbol=="function"&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,e=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,b=r?Symbol.for("react.context"):60110,C=r?Symbol.for("react.async_mode"):60111,w=r?Symbol.for("react.concurrent_mode"):60111,E=r?Symbol.for("react.forward_ref"):60112,B=r?Symbol.for("react.suspense"):60113,M=r?Symbol.for("react.suspense_list"):60120,j=r?Symbol.for("react.memo"):60115,Y=r?Symbol.for("react.lazy"):60116,J=r?Symbol.for("react.block"):60121,I=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,V=r?Symbol.for("react.scope"):60119;function te(z){if(typeof z=="object"&&z!==null){var le=z.$$typeof;switch(le){case n:switch(z=z.type,z){case C:case w:case i:case e:case f:case B:return z;default:switch(z=z&&z.$$typeof,z){case b:case E:case Y:case j:case p:return z;default:return le}}case o:return le}}}function Z(z){return te(z)===w}return gt.AsyncMode=C,gt.ConcurrentMode=w,gt.ContextConsumer=b,gt.ContextProvider=p,gt.Element=n,gt.ForwardRef=E,gt.Fragment=i,gt.Lazy=Y,gt.Memo=j,gt.Portal=o,gt.Profiler=e,gt.StrictMode=f,gt.Suspense=B,gt.isAsyncMode=function(z){return Z(z)||te(z)===C},gt.isConcurrentMode=Z,gt.isContextConsumer=function(z){return te(z)===b},gt.isContextProvider=function(z){return te(z)===p},gt.isElement=function(z){return typeof z=="object"&&z!==null&&z.$$typeof===n},gt.isForwardRef=function(z){return te(z)===E},gt.isFragment=function(z){return te(z)===i},gt.isLazy=function(z){return te(z)===Y},gt.isMemo=function(z){return te(z)===j},gt.isPortal=function(z){return te(z)===o},gt.isProfiler=function(z){return te(z)===e},gt.isStrictMode=function(z){return te(z)===f},gt.isSuspense=function(z){return te(z)===B},gt.isValidElementType=function(z){return typeof z=="string"||typeof z=="function"||z===i||z===w||z===e||z===f||z===B||z===M||typeof z=="object"&&z!==null&&(z.$$typeof===Y||z.$$typeof===j||z.$$typeof===p||z.$$typeof===b||z.$$typeof===E||z.$$typeof===I||z.$$typeof===_||z.$$typeof===V||z.$$typeof===J)},gt.typeOf=te,gt}var yt={};/** @license React v16.13.1
|
|
72
|
+
* react-is.development.js
|
|
73
|
+
*
|
|
74
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
75
|
+
*
|
|
76
|
+
* This source code is licensed under the MIT license found in the
|
|
77
|
+
* LICENSE file in the root directory of this source tree.
|
|
78
|
+
*/var L4;function _7(){return L4||(L4=1,process.env.NODE_ENV!=="production"&&function(){var r=typeof Symbol=="function"&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,e=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,b=r?Symbol.for("react.context"):60110,C=r?Symbol.for("react.async_mode"):60111,w=r?Symbol.for("react.concurrent_mode"):60111,E=r?Symbol.for("react.forward_ref"):60112,B=r?Symbol.for("react.suspense"):60113,M=r?Symbol.for("react.suspense_list"):60120,j=r?Symbol.for("react.memo"):60115,Y=r?Symbol.for("react.lazy"):60116,J=r?Symbol.for("react.block"):60121,I=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,V=r?Symbol.for("react.scope"):60119;function te(ae){return typeof ae=="string"||typeof ae=="function"||ae===i||ae===w||ae===e||ae===f||ae===B||ae===M||typeof ae=="object"&&ae!==null&&(ae.$$typeof===Y||ae.$$typeof===j||ae.$$typeof===p||ae.$$typeof===b||ae.$$typeof===E||ae.$$typeof===I||ae.$$typeof===_||ae.$$typeof===V||ae.$$typeof===J)}function Z(ae){if(typeof ae=="object"&&ae!==null){var vt=ae.$$typeof;switch(vt){case n:var It=ae.type;switch(It){case C:case w:case i:case e:case f:case B:return It;default:var Jt=It&&It.$$typeof;switch(Jt){case b:case E:case Y:case j:case p:return Jt;default:return vt}}case o:return vt}}}var z=C,le=w,pe=b,be=p,xe=n,$e=E,Se=i,Me=Y,oe=j,Te=o,Xe=e,et=f,lt=B,Pt=!1;function Dt(ae){return Pt||(Pt=!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.")),ce(ae)||Z(ae)===C}function ce(ae){return Z(ae)===w}function ue(ae){return Z(ae)===b}function je(ae){return Z(ae)===p}function Le(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===n}function _e(ae){return Z(ae)===E}function qe(ae){return Z(ae)===i}function Pe(ae){return Z(ae)===Y}function Ie(ae){return Z(ae)===j}function Oe(ae){return Z(ae)===o}function Ke(ae){return Z(ae)===e}function Ue(ae){return Z(ae)===f}function we(ae){return Z(ae)===B}yt.AsyncMode=z,yt.ConcurrentMode=le,yt.ContextConsumer=pe,yt.ContextProvider=be,yt.Element=xe,yt.ForwardRef=$e,yt.Fragment=Se,yt.Lazy=Me,yt.Memo=oe,yt.Portal=Te,yt.Profiler=Xe,yt.StrictMode=et,yt.Suspense=lt,yt.isAsyncMode=Dt,yt.isConcurrentMode=ce,yt.isContextConsumer=ue,yt.isContextProvider=je,yt.isElement=Le,yt.isForwardRef=_e,yt.isFragment=qe,yt.isLazy=Pe,yt.isMemo=Ie,yt.isPortal=Oe,yt.isProfiler=Ke,yt.isStrictMode=Ue,yt.isSuspense=we,yt.isValidElementType=te,yt.typeOf=Z}()),yt}var q4;function P7(){return q4||(q4=1,process.env.NODE_ENV==="production"?Oa.exports=N7():Oa.exports=_7()),Oa.exports}var $l,V4;function R7(){if(V4)return $l;V4=1;var r=P7(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},e={};e[r.ForwardRef]=i,e[r.Memo]=f;function p(Y){return r.isMemo(Y)?f:e[Y.$$typeof]||n}var b=Object.defineProperty,C=Object.getOwnPropertyNames,w=Object.getOwnPropertySymbols,E=Object.getOwnPropertyDescriptor,B=Object.getPrototypeOf,M=Object.prototype;function j(Y,J,I){if(typeof J!="string"){if(M){var _=B(J);_&&_!==M&&j(Y,_,I)}var V=C(J);w&&(V=V.concat(w(J)));for(var te=p(Y),Z=p(J),z=0;z<V.length;++z){var le=V[z];if(!o[le]&&!(I&&I[le])&&!(Z&&Z[le])&&!(te&&te[le])){var pe=E(J,le);try{b(Y,le,pe)}catch{}}}}return Y}return $l=j,$l}R7();var Na={exports:{}},Et={};/** @license React v17.0.2
|
|
79
|
+
* react-is.production.min.js
|
|
80
|
+
*
|
|
81
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
82
|
+
*
|
|
83
|
+
* This source code is licensed under the MIT license found in the
|
|
84
|
+
* LICENSE file in the root directory of this source tree.
|
|
85
|
+
*/var H4;function j7(){if(H4)return Et;H4=1;var r=60103,n=60106,o=60107,i=60108,f=60114,e=60109,p=60110,b=60112,C=60113,w=60120,E=60115,B=60116,M=60121,j=60122,Y=60117,J=60129,I=60131;if(typeof Symbol=="function"&&Symbol.for){var _=Symbol.for;r=_("react.element"),n=_("react.portal"),o=_("react.fragment"),i=_("react.strict_mode"),f=_("react.profiler"),e=_("react.provider"),p=_("react.context"),b=_("react.forward_ref"),C=_("react.suspense"),w=_("react.suspense_list"),E=_("react.memo"),B=_("react.lazy"),M=_("react.block"),j=_("react.server.block"),Y=_("react.fundamental"),J=_("react.debug_trace_mode"),I=_("react.legacy_hidden")}function V(oe){if(typeof oe=="object"&&oe!==null){var Te=oe.$$typeof;switch(Te){case r:switch(oe=oe.type,oe){case o:case f:case i:case C:case w:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case p:case b:case B:case E:case e:return oe;default:return Te}}case n:return Te}}}var te=e,Z=r,z=b,le=o,pe=B,be=E,xe=n,$e=f,Se=i,Me=C;return Et.ContextConsumer=p,Et.ContextProvider=te,Et.Element=Z,Et.ForwardRef=z,Et.Fragment=le,Et.Lazy=pe,Et.Memo=be,Et.Portal=xe,Et.Profiler=$e,Et.StrictMode=Se,Et.Suspense=Me,Et.isAsyncMode=function(){return!1},Et.isConcurrentMode=function(){return!1},Et.isContextConsumer=function(oe){return V(oe)===p},Et.isContextProvider=function(oe){return V(oe)===e},Et.isElement=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===r},Et.isForwardRef=function(oe){return V(oe)===b},Et.isFragment=function(oe){return V(oe)===o},Et.isLazy=function(oe){return V(oe)===B},Et.isMemo=function(oe){return V(oe)===E},Et.isPortal=function(oe){return V(oe)===n},Et.isProfiler=function(oe){return V(oe)===f},Et.isStrictMode=function(oe){return V(oe)===i},Et.isSuspense=function(oe){return V(oe)===C},Et.isValidElementType=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===o||oe===f||oe===J||oe===i||oe===C||oe===w||oe===I||typeof oe=="object"&&oe!==null&&(oe.$$typeof===B||oe.$$typeof===E||oe.$$typeof===e||oe.$$typeof===p||oe.$$typeof===b||oe.$$typeof===Y||oe.$$typeof===M||oe[0]===j)},Et.typeOf=V,Et}var xt={};/** @license React v17.0.2
|
|
86
|
+
* react-is.development.js
|
|
87
|
+
*
|
|
88
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
89
|
+
*
|
|
90
|
+
* This source code is licensed under the MIT license found in the
|
|
91
|
+
* LICENSE file in the root directory of this source tree.
|
|
92
|
+
*/var W4;function z7(){return W4||(W4=1,process.env.NODE_ENV!=="production"&&function(){var r=60103,n=60106,o=60107,i=60108,f=60114,e=60109,p=60110,b=60112,C=60113,w=60120,E=60115,B=60116,M=60121,j=60122,Y=60117,J=60129,I=60131;if(typeof Symbol=="function"&&Symbol.for){var _=Symbol.for;r=_("react.element"),n=_("react.portal"),o=_("react.fragment"),i=_("react.strict_mode"),f=_("react.profiler"),e=_("react.provider"),p=_("react.context"),b=_("react.forward_ref"),C=_("react.suspense"),w=_("react.suspense_list"),E=_("react.memo"),B=_("react.lazy"),M=_("react.block"),j=_("react.server.block"),Y=_("react.fundamental"),_("react.scope"),_("react.opaque.id"),J=_("react.debug_trace_mode"),_("react.offscreen"),I=_("react.legacy_hidden")}var V=!1;function te(we){return!!(typeof we=="string"||typeof we=="function"||we===o||we===f||we===J||we===i||we===C||we===w||we===I||V||typeof we=="object"&&we!==null&&(we.$$typeof===B||we.$$typeof===E||we.$$typeof===e||we.$$typeof===p||we.$$typeof===b||we.$$typeof===Y||we.$$typeof===M||we[0]===j))}function Z(we){if(typeof we=="object"&&we!==null){var ae=we.$$typeof;switch(ae){case r:var vt=we.type;switch(vt){case o:case f:case i:case C:case w:return vt;default:var It=vt&&vt.$$typeof;switch(It){case p:case b:case B:case E:case e:return It;default:return ae}}case n:return ae}}}var z=p,le=e,pe=r,be=b,xe=o,$e=B,Se=E,Me=n,oe=f,Te=i,Xe=C,et=!1,lt=!1;function Pt(we){return et||(et=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Dt(we){return lt||(lt=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ce(we){return Z(we)===p}function ue(we){return Z(we)===e}function je(we){return typeof we=="object"&&we!==null&&we.$$typeof===r}function Le(we){return Z(we)===b}function _e(we){return Z(we)===o}function qe(we){return Z(we)===B}function Pe(we){return Z(we)===E}function Ie(we){return Z(we)===n}function Oe(we){return Z(we)===f}function Ke(we){return Z(we)===i}function Ue(we){return Z(we)===C}xt.ContextConsumer=z,xt.ContextProvider=le,xt.Element=pe,xt.ForwardRef=be,xt.Fragment=xe,xt.Lazy=$e,xt.Memo=Se,xt.Portal=Me,xt.Profiler=oe,xt.StrictMode=Te,xt.Suspense=Xe,xt.isAsyncMode=Pt,xt.isConcurrentMode=Dt,xt.isContextConsumer=ce,xt.isContextProvider=ue,xt.isElement=je,xt.isForwardRef=Le,xt.isFragment=_e,xt.isLazy=qe,xt.isMemo=Pe,xt.isPortal=Ie,xt.isProfiler=Oe,xt.isStrictMode=Ke,xt.isSuspense=Ue,xt.isValidElementType=te,xt.typeOf=Z}()),xt}var U4;function I7(){return U4||(U4=1,process.env.NODE_ENV==="production"?Na.exports=j7():Na.exports=z7()),Na.exports}I7();function Y4(){var r=X.useContext(yn);if(process.env.NODE_ENV!=="production"&&!r)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return r}function G4(r){r===void 0&&(r=yn);var n=r===yn?Y4:function(){return X.useContext(r)};return function(){var i=n(),f=i.store;return f}}var L7=G4();function q7(r){r===void 0&&(r=yn);var n=r===yn?L7:G4(r);return function(){var i=n();return i.dispatch}}var V7=q7(),H7=function(n,o){return n===o};function W7(r,n,o,i){var f=X.useReducer(function(Y){return Y+1},0),e=f[1],p=X.useMemo(function(){return j4(o,i)},[o,i]),b=X.useRef(),C=X.useRef(),w=X.useRef(),E=X.useRef(),B=o.getState(),M;try{if(r!==C.current||B!==w.current||b.current){var j=r(B);E.current===void 0||!n(j,E.current)?M=j:M=E.current}else M=E.current}catch(Y){throw b.current&&(Y.message+=`
|
|
93
|
+
The error may be correlated with this previous error:
|
|
94
|
+
`+b.current.stack+`
|
|
95
|
+
|
|
96
|
+
`),Y}return Tl(function(){C.current=r,w.current=B,E.current=M,b.current=void 0}),Tl(function(){function Y(){try{var J=o.getState();if(J===w.current)return;var I=C.current(J);if(n(I,E.current))return;E.current=I,w.current=J}catch(_){b.current=_}e()}return p.onStateChange=Y,p.trySubscribe(),Y(),function(){return p.tryUnsubscribe()}},[o,p]),M}function U7(r){r===void 0&&(r=yn);var n=r===yn?Y4:function(){return X.useContext(r)};return function(i,f){if(f===void 0&&(f=H7),process.env.NODE_ENV!=="production"){if(!i)throw new Error("You must pass a selector to useSelector");if(typeof i!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof f!="function")throw new Error("You must pass a function as an equality function to useSelector")}var e=n(),p=e.store,b=e.subscription,C=W7(i,f,p,b);return X.useDebugValue(C),C}}var Y7=U7();$7(Rr.unstable_batchedUpdates);const Vn=V7,Ct=Y7;var Vs={exports:{}},_a={exports:{}},G7=_a.exports,X4;function X7(){return X4||(X4=1,function(r,n){(function(i,f){r.exports=f()})(typeof self<"u"?self:G7,function(){return function(){var o={};(function(){o.d=function(l,a){for(var c in a)o.o(a,c)&&!o.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:a[c]})}})(),function(){o.o=function(l,a){return Object.prototype.hasOwnProperty.call(l,a)}}();var i={};o.d(i,{default:function(){return rf}});class f{constructor(a,c){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let d="KaTeX parse error: "+a,m,A;const S=c&&c.loc;if(S&&S.start<=S.end){const N=S.lexer.input;m=S.start,A=S.end,m===N.length?d+=" at end of input: ":d+=" at position "+(m+1)+": ";const q=N.slice(m,A).replace(/[^]/g,"$&̲");let K;m>15?K="…"+N.slice(m-15,m):K=N.slice(0,m);let ee;A+15<N.length?ee=N.slice(A,A+15)+"…":ee=N.slice(A),d+=K+q+ee}const T=new Error(d);return T.name="ParseError",T.__proto__=f.prototype,T.position=m,m!=null&&A!=null&&(T.length=A-m),T.rawMessage=a,T}}f.prototype.__proto__=Error.prototype;var e=f;const p=function(l,a){return l.indexOf(a)!==-1},b=function(l,a){return l===void 0?a:l},C=/([A-Z])/g,w=function(l){return l.replace(C,"-$1").toLowerCase()},E={"&":"&",">":">","<":"<",'"':""","'":"'"},B=/[&><"']/g;function M(l){return String(l).replace(B,a=>E[a])}const j=function(l){return l.type==="ordgroup"||l.type==="color"?l.body.length===1?j(l.body[0]):l:l.type==="font"?j(l.body):l},Y=function(l){const a=j(l);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},J=function(l){if(!l)throw new Error("Expected non-null, but got "+String(l));return l};var _={contains:p,deflt:b,escape:M,hyphenate:w,getBaseElem:j,isCharacterBox:Y,protocolFromUrl:function(l){const a=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(l);return a?a[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(a[1])?null:a[1].toLowerCase():"_relative"}};const V={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:l=>"#"+l},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(l,a)=>(a.push(l),a)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:l=>Math.max(0,l),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:l=>Math.max(0,l),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:l=>Math.max(0,l),cli:"-e, --max-expand <n>",cliProcessor:l=>l==="Infinity"?1/0:parseInt(l)},globalGroup:{type:"boolean",cli:!1}};function te(l){if(l.default)return l.default;const a=l.type,c=Array.isArray(a)?a[0]:a;if(typeof c!="string")return c.enum[0];switch(c){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Z{constructor(a){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,a=a||{};for(const c in V)if(V.hasOwnProperty(c)){const d=V[c];this[c]=a[c]!==void 0?d.processor?d.processor(a[c]):a[c]:te(d)}}reportNonstrict(a,c,d){let m=this.strict;if(typeof m=="function"&&(m=m(a,c,d)),!(!m||m==="ignore")){if(m===!0||m==="error")throw new e("LaTeX-incompatible input and strict mode is set to 'error': "+(c+" ["+a+"]"),d);m==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(c+" ["+a+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+c+" ["+a+"]"))}}useStrictBehavior(a,c,d){let m=this.strict;if(typeof m=="function")try{m=m(a,c,d)}catch{m="error"}return!m||m==="ignore"?!1:m===!0||m==="error"?!0:m==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(c+" ["+a+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+c+" ["+a+"]")),!1)}isTrusted(a){if(a.url&&!a.protocol){const d=_.protocolFromUrl(a.url);if(d==null)return!1;a.protocol=d}return!!(typeof this.trust=="function"?this.trust(a):this.trust)}}class z{constructor(a,c,d){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=a,this.size=c,this.cramped=d}sup(){return Te[Xe[this.id]]}sub(){return Te[et[this.id]]}fracNum(){return Te[lt[this.id]]}fracDen(){return Te[Pt[this.id]]}cramp(){return Te[Dt[this.id]]}text(){return Te[ce[this.id]]}isTight(){return this.size>=2}}const le=0,pe=1,be=2,xe=3,$e=4,Se=5,Me=6,oe=7,Te=[new z(le,0,!1),new z(pe,0,!0),new z(be,1,!1),new z(xe,1,!0),new z($e,2,!1),new z(Se,2,!0),new z(Me,3,!1),new z(oe,3,!0)],Xe=[$e,Se,$e,Se,Me,oe,Me,oe],et=[Se,Se,Se,Se,oe,oe,oe,oe],lt=[be,xe,$e,Se,Me,oe,Me,oe],Pt=[xe,xe,Se,Se,oe,oe,oe,oe],Dt=[pe,pe,xe,xe,Se,Se,oe,oe],ce=[le,pe,be,xe,be,xe,be,xe];var ue={DISPLAY:Te[le],TEXT:Te[be],SCRIPT:Te[$e],SCRIPTSCRIPT:Te[Me]};const je=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Le(l){for(let a=0;a<je.length;a++){const c=je[a];for(let d=0;d<c.blocks.length;d++){const m=c.blocks[d];if(l>=m[0]&&l<=m[1])return c.name}}return null}const _e=[];je.forEach(l=>l.blocks.forEach(a=>_e.push(...a)));function qe(l){for(let a=0;a<_e.length;a+=2)if(l>=_e[a]&&l<=_e[a+1])return!0;return!1}const Pe=80,Ie=function(l,a){return"M95,"+(622+l+a)+`
|
|
97
|
+
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
98
|
+
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
99
|
+
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
100
|
+
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
101
|
+
c69,-144,104.5,-217.7,106.5,-221
|
|
102
|
+
l`+l/2.075+" -"+l+`
|
|
103
|
+
c5.3,-9.3,12,-14,20,-14
|
|
104
|
+
H400000v`+(40+l)+`H845.2724
|
|
105
|
+
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
106
|
+
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
107
|
+
M`+(834+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},Oe=function(l,a){return"M263,"+(601+l+a)+`c0.7,0,18,39.7,52,119
|
|
108
|
+
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
109
|
+
c340,-704.7,510.7,-1060.3,512,-1067
|
|
110
|
+
l`+l/2.084+" -"+l+`
|
|
111
|
+
c4.7,-7.3,11,-11,19,-11
|
|
112
|
+
H40000v`+(40+l)+`H1012.3
|
|
113
|
+
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
114
|
+
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
115
|
+
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
116
|
+
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
117
|
+
M`+(1001+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},Ke=function(l,a){return"M983 "+(10+l+a)+`
|
|
118
|
+
l`+l/3.13+" -"+l+`
|
|
119
|
+
c4,-6.7,10,-10,18,-10 H400000v`+(40+l)+`
|
|
120
|
+
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
121
|
+
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
122
|
+
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
123
|
+
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
124
|
+
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
125
|
+
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
126
|
+
M`+(1001+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},Ue=function(l,a){return"M424,"+(2398+l+a)+`
|
|
127
|
+
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
128
|
+
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
129
|
+
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
130
|
+
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
131
|
+
l`+l/4.223+" -"+l+`c4,-6.7,10,-10,18,-10 H400000
|
|
132
|
+
v`+(40+l)+`H1014.6
|
|
133
|
+
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
134
|
+
c-2,6,-10,9,-24,9
|
|
135
|
+
c-8,0,-12,-0.7,-12,-2z M`+(1001+l)+" "+a+`
|
|
136
|
+
h400000v`+(40+l)+"h-400000z"},we=function(l,a){return"M473,"+(2713+l+a)+`
|
|
137
|
+
c339.3,-1799.3,509.3,-2700,510,-2702 l`+l/5.298+" -"+l+`
|
|
138
|
+
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+l)+`H1017.7
|
|
139
|
+
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
140
|
+
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
141
|
+
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
142
|
+
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
143
|
+
606zM`+(1001+l)+" "+a+"h400000v"+(40+l)+"H1017.7z"},ae=function(l){const a=l/2;return"M400000 "+l+" H0 L"+a+" 0 l65 45 L145 "+(l-80)+" H400000z"},vt=function(l,a,c){const d=c-54-a-l;return"M702 "+(l+a)+"H400000"+(40+l)+`
|
|
144
|
+
H742v`+d+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
145
|
+
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
146
|
+
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
147
|
+
219 661 l218 661zM702 `+a+"H400000v"+(40+l)+"H742z"},It=function(l,a,c){a=1e3*a;let d="";switch(l){case"sqrtMain":d=Ie(a,Pe);break;case"sqrtSize1":d=Oe(a,Pe);break;case"sqrtSize2":d=Ke(a,Pe);break;case"sqrtSize3":d=Ue(a,Pe);break;case"sqrtSize4":d=we(a,Pe);break;case"sqrtTall":d=vt(a,Pe,c)}return d},Jt=function(l,a){switch(l){case"⎜":return"M291 0 H417 V"+a+" H291z M291 0 H417 V"+a+" H291z";case"∣":return"M145 0 H188 V"+a+" H145z M145 0 H188 V"+a+" H145z";case"∥":return"M145 0 H188 V"+a+" H145z M145 0 H188 V"+a+" H145z"+("M367 0 H410 V"+a+" H367z M367 0 H410 V"+a+" H367z");case"⎟":return"M457 0 H583 V"+a+" H457z M457 0 H583 V"+a+" H457z";case"⎢":return"M319 0 H403 V"+a+" H319z M319 0 H403 V"+a+" H319z";case"⎥":return"M263 0 H347 V"+a+" H263z M263 0 H347 V"+a+" H263z";case"⎪":return"M384 0 H504 V"+a+" H384z M384 0 H504 V"+a+" H384z";case"⏐":return"M312 0 H355 V"+a+" H312z M312 0 H355 V"+a+" H312z";case"‖":return"M257 0 H300 V"+a+" H257z M257 0 H300 V"+a+" H257z"+("M478 0 H521 V"+a+" H478z M478 0 H521 V"+a+" H478z");default:return""}},Zr={doubleleftarrow:`M262 157
|
|
148
|
+
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
149
|
+
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
150
|
+
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
151
|
+
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
152
|
+
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
153
|
+
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
154
|
+
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
155
|
+
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
156
|
+
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
157
|
+
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
158
|
+
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
159
|
+
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
160
|
+
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
161
|
+
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
162
|
+
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
163
|
+
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
164
|
+
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
165
|
+
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
166
|
+
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
167
|
+
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
168
|
+
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
169
|
+
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
170
|
+
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
171
|
+
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
172
|
+
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
173
|
+
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
174
|
+
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
175
|
+
435 0h399565z`,leftgroupunder:`M400000 262
|
|
176
|
+
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
177
|
+
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
178
|
+
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
179
|
+
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
180
|
+
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
181
|
+
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
182
|
+
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
183
|
+
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
184
|
+
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
185
|
+
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
186
|
+
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
187
|
+
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
188
|
+
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
189
|
+
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
190
|
+
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
191
|
+
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
192
|
+
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
193
|
+
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
194
|
+
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
195
|
+
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
196
|
+
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
197
|
+
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
198
|
+
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
199
|
+
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
200
|
+
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
201
|
+
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
202
|
+
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
203
|
+
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
204
|
+
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
205
|
+
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
206
|
+
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
207
|
+
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
208
|
+
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
209
|
+
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
210
|
+
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
211
|
+
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
212
|
+
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
213
|
+
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
214
|
+
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
215
|
+
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
216
|
+
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
217
|
+
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
218
|
+
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
219
|
+
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
220
|
+
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
221
|
+
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
222
|
+
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
223
|
+
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
224
|
+
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
225
|
+
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
226
|
+
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
227
|
+
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
228
|
+
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
229
|
+
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
230
|
+
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
231
|
+
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
232
|
+
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
233
|
+
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
234
|
+
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
235
|
+
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
236
|
+
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
237
|
+
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
238
|
+
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
239
|
+
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
240
|
+
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
241
|
+
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
242
|
+
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
243
|
+
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
244
|
+
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
245
|
+
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
246
|
+
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
247
|
+
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
248
|
+
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
249
|
+
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
250
|
+
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
251
|
+
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
252
|
+
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
253
|
+
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
254
|
+
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
255
|
+
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
256
|
+
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
257
|
+
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
258
|
+
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
259
|
+
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
260
|
+
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
261
|
+
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
262
|
+
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
263
|
+
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
264
|
+
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
265
|
+
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
266
|
+
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
267
|
+
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
268
|
+
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
269
|
+
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
270
|
+
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
271
|
+
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
272
|
+
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
273
|
+
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
274
|
+
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
275
|
+
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
276
|
+
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
277
|
+
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
278
|
+
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
279
|
+
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
280
|
+
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
281
|
+
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
282
|
+
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
283
|
+
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
284
|
+
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
285
|
+
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
286
|
+
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
287
|
+
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
288
|
+
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
289
|
+
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
290
|
+
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
291
|
+
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
292
|
+
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
293
|
+
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
294
|
+
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
295
|
+
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
296
|
+
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
297
|
+
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
298
|
+
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
299
|
+
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
300
|
+
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
301
|
+
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
302
|
+
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
303
|
+
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
304
|
+
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
305
|
+
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
306
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
307
|
+
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
308
|
+
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
309
|
+
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
310
|
+
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
311
|
+
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
312
|
+
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
313
|
+
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
314
|
+
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
315
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
316
|
+
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
317
|
+
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
318
|
+
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
319
|
+
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
320
|
+
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
321
|
+
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
322
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},En=function(l,a){switch(l){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v1759 h347 v-84
|
|
323
|
+
H403z M403 1759 V0 H319 V1759 v`+a+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v1759 H0 v84 H347z
|
|
324
|
+
M347 1759 V0 H263 V1759 v`+a+" v1759 h84z";case"vert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15
|
|
325
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
326
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+" v585 h43z";case"doublevert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15
|
|
327
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
328
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+` v585 h43z
|
|
329
|
+
M367 15 v585 v`+a+` v585 c2.667,10,9.667,15,21,15
|
|
330
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
331
|
+
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+a+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+a+` v1715 h263 v84 H319z
|
|
332
|
+
MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+a+` v1799 H0 v-84 H319z
|
|
333
|
+
MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v602 h84z
|
|
334
|
+
M403 1759 V0 H319 V1759 v`+a+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v602 h84z
|
|
335
|
+
M347 1759 V0 h-84 V1759 v`+a+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
336
|
+
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
337
|
+
-36,557 l0,`+(a+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
338
|
+
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
339
|
+
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
340
|
+
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
341
|
+
l0,-`+(a+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
342
|
+
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
343
|
+
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
344
|
+
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(a+9)+`
|
|
345
|
+
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
346
|
+
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
347
|
+
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
348
|
+
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
349
|
+
l0,-`+(a+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
350
|
+
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class fr{constructor(a){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=a,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(a){return _.contains(this.classes,a)}toNode(){const a=document.createDocumentFragment();for(let c=0;c<this.children.length;c++)a.appendChild(this.children[c].toNode());return a}toMarkup(){let a="";for(let c=0;c<this.children.length;c++)a+=this.children[c].toMarkup();return a}toText(){const a=c=>c.toText();return this.children.map(a).join("")}}var Zt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const Yt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ar={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Gn(l,a){Zt[l]=a}function zr(l,a,c){if(!Zt[a])throw new Error("Font metrics not found for font: "+a+".");let d=l.charCodeAt(0),m=Zt[a][d];if(!m&&l[0]in Ar&&(d=Ar[l[0]].charCodeAt(0),m=Zt[a][d]),!m&&c==="text"&&qe(d)&&(m=Zt[a][77]),m)return{depth:m[0],height:m[1],italic:m[2],skew:m[3],width:m[4]}}const $r={};function Xn(l){let a;if(l>=5?a=0:l>=3?a=1:a=2,!$r[a]){const c=$r[a]={cssEmPerMu:Yt.quad[a]/18};for(const d in Yt)Yt.hasOwnProperty(d)&&(c[d]=Yt[d][a])}return $r[a]}const Kn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],xn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Qr=function(l,a){return a.size<2?l:Kn[l-1][a.size-1]};class Er{constructor(a){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=a.style,this.color=a.color,this.size=a.size||Er.BASESIZE,this.textSize=a.textSize||this.size,this.phantom=!!a.phantom,this.font=a.font||"",this.fontFamily=a.fontFamily||"",this.fontWeight=a.fontWeight||"",this.fontShape=a.fontShape||"",this.sizeMultiplier=xn[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}extend(a){const c={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);return new Er(c)}havingStyle(a){return this.style===a?this:this.extend({style:a,size:Qr(this.textSize,a)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(a){return this.size===a&&this.textSize===a?this:this.extend({style:this.style.text(),size:a,textSize:a,sizeMultiplier:xn[a-1]})}havingBaseStyle(a){a=a||this.style.text();const c=Qr(Er.BASESIZE,a);return this.size===c&&this.textSize===Er.BASESIZE&&this.style===a?this:this.extend({style:a,size:c})}havingBaseSizing(){let a;switch(this.style.id){case 4:case 5:a=3;break;case 6:case 7:a=1;break;default:a=6}return this.extend({style:this.style.text(),size:a})}withColor(a){return this.extend({color:a})}withPhantom(){return this.extend({phantom:!0})}withFont(a){return this.extend({font:a})}withTextFontFamily(a){return this.extend({fontFamily:a,font:""})}withTextFontWeight(a){return this.extend({fontWeight:a,font:""})}withTextFontShape(a){return this.extend({fontShape:a,font:""})}sizingClasses(a){return a.size!==this.size?["sizing","reset-size"+a.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Er.BASESIZE?["sizing","reset-size"+this.size,"size"+Er.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Xn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Er.BASESIZE=6;var Zs=Er;const wn={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Cn={ex:!0,em:!0,mu:!0},b0=function(l){return typeof l!="string"&&(l=l.unit),l in wn||l in Cn||l==="ex"},ft=function(l,a){let c;if(l.unit in wn)c=wn[l.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(l.unit==="mu")c=a.fontMetrics().cssEmPerMu;else{let d;if(a.style.isTight()?d=a.havingStyle(a.style.text()):d=a,l.unit==="ex")c=d.fontMetrics().xHeight;else if(l.unit==="em")c=d.fontMetrics().quad;else throw new e("Invalid unit: '"+l.unit+"'");d!==a&&(c*=d.sizeMultiplier/a.sizeMultiplier)}return Math.min(l.number*c,a.maxSize)},ve=function(l){return+l.toFixed(4)+"em"},dr=function(l){return l.filter(a=>a).join(" ")},Sn=function(l,a,c){if(this.classes=l||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=c||{},a){a.style.isTight()&&this.classes.push("mtight");const d=a.getColor();d&&(this.style.color=d)}},Jn=function(l){const a=document.createElement(l);a.className=dr(this.classes);for(const c in this.style)this.style.hasOwnProperty(c)&&(a.style[c]=this.style[c]);for(const c in this.attributes)this.attributes.hasOwnProperty(c)&&a.setAttribute(c,this.attributes[c]);for(let c=0;c<this.children.length;c++)a.appendChild(this.children[c].toNode());return a},v0=/[\s"'>/=\x00-\x1f]/,es=function(l){let a="<"+l;this.classes.length&&(a+=' class="'+_.escape(dr(this.classes))+'"');let c="";for(const d in this.style)this.style.hasOwnProperty(d)&&(c+=_.hyphenate(d)+":"+this.style[d]+";");c&&(a+=' style="'+_.escape(c)+'"');for(const d in this.attributes)if(this.attributes.hasOwnProperty(d)){if(v0.test(d))throw new e("Invalid attribute name '"+d+"'");a+=" "+d+'="'+_.escape(this.attributes[d])+'"'}a+=">";for(let d=0;d<this.children.length;d++)a+=this.children[d].toMarkup();return a+="</"+l+">",a};class Ir{constructor(a,c,d,m){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Sn.call(this,a,d,m),this.children=c||[]}setAttribute(a,c){this.attributes[a]=c}hasClass(a){return _.contains(this.classes,a)}toNode(){return Jn.call(this,"span")}toMarkup(){return es.call(this,"span")}}class Zn{constructor(a,c,d,m){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Sn.call(this,c,m),this.children=d||[],this.setAttribute("href",a)}setAttribute(a,c){this.attributes[a]=c}hasClass(a){return _.contains(this.classes,a)}toNode(){return Jn.call(this,"a")}toMarkup(){return es.call(this,"a")}}class ts{constructor(a,c,d){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=c,this.src=a,this.classes=["mord"],this.style=d}hasClass(a){return _.contains(this.classes,a)}toNode(){const a=document.createElement("img");a.src=this.src,a.alt=this.alt,a.className="mord";for(const c in this.style)this.style.hasOwnProperty(c)&&(a.style[c]=this.style[c]);return a}toMarkup(){let a='<img src="'+_.escape(this.src)+'"'+(' alt="'+_.escape(this.alt)+'"'),c="";for(const d in this.style)this.style.hasOwnProperty(d)&&(c+=_.hyphenate(d)+":"+this.style[d]+";");return c&&(a+=' style="'+_.escape(c)+'"'),a+="'/>",a}}const Qs={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Gt{constructor(a,c,d,m,A,S,T,N){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=a,this.height=c||0,this.depth=d||0,this.italic=m||0,this.skew=A||0,this.width=S||0,this.classes=T||[],this.style=N||{},this.maxFontSize=0;const q=Le(this.text.charCodeAt(0));q&&this.classes.push(q+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Qs[this.text])}hasClass(a){return _.contains(this.classes,a)}toNode(){const a=document.createTextNode(this.text);let c=null;this.italic>0&&(c=document.createElement("span"),c.style.marginRight=ve(this.italic)),this.classes.length>0&&(c=c||document.createElement("span"),c.className=dr(this.classes));for(const d in this.style)this.style.hasOwnProperty(d)&&(c=c||document.createElement("span"),c.style[d]=this.style[d]);return c?(c.appendChild(a),c):a}toMarkup(){let a=!1,c="<span";this.classes.length&&(a=!0,c+=' class="',c+=_.escape(dr(this.classes)),c+='"');let d="";this.italic>0&&(d+="margin-right:"+this.italic+"em;");for(const A in this.style)this.style.hasOwnProperty(A)&&(d+=_.hyphenate(A)+":"+this.style[A]+";");d&&(a=!0,c+=' style="'+_.escape(d)+'"');const m=_.escape(this.text);return a?(c+=">",c+=m,c+="</span>",c):m}}class xr{constructor(a,c){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=c||{}}toNode(){const c=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const d in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,d)&&c.setAttribute(d,this.attributes[d]);for(let d=0;d<this.children.length;d++)c.appendChild(this.children[d].toNode());return c}toMarkup(){let a='<svg xmlns="http://www.w3.org/2000/svg"';for(const c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&(a+=" "+c+'="'+_.escape(this.attributes[c])+'"');a+=">";for(let c=0;c<this.children.length;c++)a+=this.children[c].toMarkup();return a+="</svg>",a}}class wr{constructor(a,c){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=c}toNode(){const c=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?c.setAttribute("d",this.alternate):c.setAttribute("d",Zr[this.pathName]),c}toMarkup(){return this.alternate?'<path d="'+_.escape(this.alternate)+'"/>':'<path d="'+_.escape(Zr[this.pathName])+'"/>'}}class A0{constructor(a){this.attributes=void 0,this.attributes=a||{}}toNode(){const c=document.createElementNS("http://www.w3.org/2000/svg","line");for(const d in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,d)&&c.setAttribute(d,this.attributes[d]);return c}toMarkup(){let a="<line";for(const c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&(a+=" "+c+'="'+_.escape(this.attributes[c])+'"');return a+="/>",a}}function Qn(l){if(l instanceof Gt)return l;throw new Error("Expected symbolNode but got "+String(l)+".")}function W(l){if(l instanceof Ir)return l;throw new Error("Expected span<HtmlDomNode> but got "+String(l)+".")}const ge={bin:1,close:1,inner:1,open:1,punct:1,rel:1},De={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ze={math:{},text:{}};var Ve=ze;function g(l,a,c,d,m,A){ze[l][m]={font:a,group:c,replace:d},A&&d&&(ze[l][d]=ze[l][m])}const v="math",ie="text",F="main",R="ams",Ye="accent-token",Ee="bin",Ot="close",hr="inner",ke="mathord",Tt="op-token",Qt="open",Fn="punct",L="rel",Mr="spacing",G="textord";g(v,F,L,"≡","\\equiv",!0),g(v,F,L,"≺","\\prec",!0),g(v,F,L,"≻","\\succ",!0),g(v,F,L,"∼","\\sim",!0),g(v,F,L,"⊥","\\perp"),g(v,F,L,"⪯","\\preceq",!0),g(v,F,L,"⪰","\\succeq",!0),g(v,F,L,"≃","\\simeq",!0),g(v,F,L,"∣","\\mid",!0),g(v,F,L,"≪","\\ll",!0),g(v,F,L,"≫","\\gg",!0),g(v,F,L,"≍","\\asymp",!0),g(v,F,L,"∥","\\parallel"),g(v,F,L,"⋈","\\bowtie",!0),g(v,F,L,"⌣","\\smile",!0),g(v,F,L,"⊑","\\sqsubseteq",!0),g(v,F,L,"⊒","\\sqsupseteq",!0),g(v,F,L,"≐","\\doteq",!0),g(v,F,L,"⌢","\\frown",!0),g(v,F,L,"∋","\\ni",!0),g(v,F,L,"∝","\\propto",!0),g(v,F,L,"⊢","\\vdash",!0),g(v,F,L,"⊣","\\dashv",!0),g(v,F,L,"∋","\\owns"),g(v,F,Fn,".","\\ldotp"),g(v,F,Fn,"⋅","\\cdotp"),g(v,F,G,"#","\\#"),g(ie,F,G,"#","\\#"),g(v,F,G,"&","\\&"),g(ie,F,G,"&","\\&"),g(v,F,G,"ℵ","\\aleph",!0),g(v,F,G,"∀","\\forall",!0),g(v,F,G,"ℏ","\\hbar",!0),g(v,F,G,"∃","\\exists",!0),g(v,F,G,"∇","\\nabla",!0),g(v,F,G,"♭","\\flat",!0),g(v,F,G,"ℓ","\\ell",!0),g(v,F,G,"♮","\\natural",!0),g(v,F,G,"♣","\\clubsuit",!0),g(v,F,G,"℘","\\wp",!0),g(v,F,G,"♯","\\sharp",!0),g(v,F,G,"♢","\\diamondsuit",!0),g(v,F,G,"ℜ","\\Re",!0),g(v,F,G,"♡","\\heartsuit",!0),g(v,F,G,"ℑ","\\Im",!0),g(v,F,G,"♠","\\spadesuit",!0),g(v,F,G,"§","\\S",!0),g(ie,F,G,"§","\\S"),g(v,F,G,"¶","\\P",!0),g(ie,F,G,"¶","\\P"),g(v,F,G,"†","\\dag"),g(ie,F,G,"†","\\dag"),g(ie,F,G,"†","\\textdagger"),g(v,F,G,"‡","\\ddag"),g(ie,F,G,"‡","\\ddag"),g(ie,F,G,"‡","\\textdaggerdbl"),g(v,F,Ot,"⎱","\\rmoustache",!0),g(v,F,Qt,"⎰","\\lmoustache",!0),g(v,F,Ot,"⟯","\\rgroup",!0),g(v,F,Qt,"⟮","\\lgroup",!0),g(v,F,Ee,"∓","\\mp",!0),g(v,F,Ee,"⊖","\\ominus",!0),g(v,F,Ee,"⊎","\\uplus",!0),g(v,F,Ee,"⊓","\\sqcap",!0),g(v,F,Ee,"∗","\\ast"),g(v,F,Ee,"⊔","\\sqcup",!0),g(v,F,Ee,"◯","\\bigcirc",!0),g(v,F,Ee,"∙","\\bullet",!0),g(v,F,Ee,"‡","\\ddagger"),g(v,F,Ee,"≀","\\wr",!0),g(v,F,Ee,"⨿","\\amalg"),g(v,F,Ee,"&","\\And"),g(v,F,L,"⟵","\\longleftarrow",!0),g(v,F,L,"⇐","\\Leftarrow",!0),g(v,F,L,"⟸","\\Longleftarrow",!0),g(v,F,L,"⟶","\\longrightarrow",!0),g(v,F,L,"⇒","\\Rightarrow",!0),g(v,F,L,"⟹","\\Longrightarrow",!0),g(v,F,L,"↔","\\leftrightarrow",!0),g(v,F,L,"⟷","\\longleftrightarrow",!0),g(v,F,L,"⇔","\\Leftrightarrow",!0),g(v,F,L,"⟺","\\Longleftrightarrow",!0),g(v,F,L,"↦","\\mapsto",!0),g(v,F,L,"⟼","\\longmapsto",!0),g(v,F,L,"↗","\\nearrow",!0),g(v,F,L,"↩","\\hookleftarrow",!0),g(v,F,L,"↪","\\hookrightarrow",!0),g(v,F,L,"↘","\\searrow",!0),g(v,F,L,"↼","\\leftharpoonup",!0),g(v,F,L,"⇀","\\rightharpoonup",!0),g(v,F,L,"↙","\\swarrow",!0),g(v,F,L,"↽","\\leftharpoondown",!0),g(v,F,L,"⇁","\\rightharpoondown",!0),g(v,F,L,"↖","\\nwarrow",!0),g(v,F,L,"⇌","\\rightleftharpoons",!0),g(v,R,L,"≮","\\nless",!0),g(v,R,L,"","\\@nleqslant"),g(v,R,L,"","\\@nleqq"),g(v,R,L,"⪇","\\lneq",!0),g(v,R,L,"≨","\\lneqq",!0),g(v,R,L,"","\\@lvertneqq"),g(v,R,L,"⋦","\\lnsim",!0),g(v,R,L,"⪉","\\lnapprox",!0),g(v,R,L,"⊀","\\nprec",!0),g(v,R,L,"⋠","\\npreceq",!0),g(v,R,L,"⋨","\\precnsim",!0),g(v,R,L,"⪹","\\precnapprox",!0),g(v,R,L,"≁","\\nsim",!0),g(v,R,L,"","\\@nshortmid"),g(v,R,L,"∤","\\nmid",!0),g(v,R,L,"⊬","\\nvdash",!0),g(v,R,L,"⊭","\\nvDash",!0),g(v,R,L,"⋪","\\ntriangleleft"),g(v,R,L,"⋬","\\ntrianglelefteq",!0),g(v,R,L,"⊊","\\subsetneq",!0),g(v,R,L,"","\\@varsubsetneq"),g(v,R,L,"⫋","\\subsetneqq",!0),g(v,R,L,"","\\@varsubsetneqq"),g(v,R,L,"≯","\\ngtr",!0),g(v,R,L,"","\\@ngeqslant"),g(v,R,L,"","\\@ngeqq"),g(v,R,L,"⪈","\\gneq",!0),g(v,R,L,"≩","\\gneqq",!0),g(v,R,L,"","\\@gvertneqq"),g(v,R,L,"⋧","\\gnsim",!0),g(v,R,L,"⪊","\\gnapprox",!0),g(v,R,L,"⊁","\\nsucc",!0),g(v,R,L,"⋡","\\nsucceq",!0),g(v,R,L,"⋩","\\succnsim",!0),g(v,R,L,"⪺","\\succnapprox",!0),g(v,R,L,"≆","\\ncong",!0),g(v,R,L,"","\\@nshortparallel"),g(v,R,L,"∦","\\nparallel",!0),g(v,R,L,"⊯","\\nVDash",!0),g(v,R,L,"⋫","\\ntriangleright"),g(v,R,L,"⋭","\\ntrianglerighteq",!0),g(v,R,L,"","\\@nsupseteqq"),g(v,R,L,"⊋","\\supsetneq",!0),g(v,R,L,"","\\@varsupsetneq"),g(v,R,L,"⫌","\\supsetneqq",!0),g(v,R,L,"","\\@varsupsetneqq"),g(v,R,L,"⊮","\\nVdash",!0),g(v,R,L,"⪵","\\precneqq",!0),g(v,R,L,"⪶","\\succneqq",!0),g(v,R,L,"","\\@nsubseteqq"),g(v,R,Ee,"⊴","\\unlhd"),g(v,R,Ee,"⊵","\\unrhd"),g(v,R,L,"↚","\\nleftarrow",!0),g(v,R,L,"↛","\\nrightarrow",!0),g(v,R,L,"⇍","\\nLeftarrow",!0),g(v,R,L,"⇏","\\nRightarrow",!0),g(v,R,L,"↮","\\nleftrightarrow",!0),g(v,R,L,"⇎","\\nLeftrightarrow",!0),g(v,R,L,"△","\\vartriangle"),g(v,R,G,"ℏ","\\hslash"),g(v,R,G,"▽","\\triangledown"),g(v,R,G,"◊","\\lozenge"),g(v,R,G,"Ⓢ","\\circledS"),g(v,R,G,"®","\\circledR"),g(ie,R,G,"®","\\circledR"),g(v,R,G,"∡","\\measuredangle",!0),g(v,R,G,"∄","\\nexists"),g(v,R,G,"℧","\\mho"),g(v,R,G,"Ⅎ","\\Finv",!0),g(v,R,G,"⅁","\\Game",!0),g(v,R,G,"‵","\\backprime"),g(v,R,G,"▲","\\blacktriangle"),g(v,R,G,"▼","\\blacktriangledown"),g(v,R,G,"■","\\blacksquare"),g(v,R,G,"⧫","\\blacklozenge"),g(v,R,G,"★","\\bigstar"),g(v,R,G,"∢","\\sphericalangle",!0),g(v,R,G,"∁","\\complement",!0),g(v,R,G,"ð","\\eth",!0),g(ie,F,G,"ð","ð"),g(v,R,G,"╱","\\diagup"),g(v,R,G,"╲","\\diagdown"),g(v,R,G,"□","\\square"),g(v,R,G,"□","\\Box"),g(v,R,G,"◊","\\Diamond"),g(v,R,G,"¥","\\yen",!0),g(ie,R,G,"¥","\\yen",!0),g(v,R,G,"✓","\\checkmark",!0),g(ie,R,G,"✓","\\checkmark"),g(v,R,G,"ℶ","\\beth",!0),g(v,R,G,"ℸ","\\daleth",!0),g(v,R,G,"ℷ","\\gimel",!0),g(v,R,G,"ϝ","\\digamma",!0),g(v,R,G,"ϰ","\\varkappa"),g(v,R,Qt,"┌","\\@ulcorner",!0),g(v,R,Ot,"┐","\\@urcorner",!0),g(v,R,Qt,"└","\\@llcorner",!0),g(v,R,Ot,"┘","\\@lrcorner",!0),g(v,R,L,"≦","\\leqq",!0),g(v,R,L,"⩽","\\leqslant",!0),g(v,R,L,"⪕","\\eqslantless",!0),g(v,R,L,"≲","\\lesssim",!0),g(v,R,L,"⪅","\\lessapprox",!0),g(v,R,L,"≊","\\approxeq",!0),g(v,R,Ee,"⋖","\\lessdot"),g(v,R,L,"⋘","\\lll",!0),g(v,R,L,"≶","\\lessgtr",!0),g(v,R,L,"⋚","\\lesseqgtr",!0),g(v,R,L,"⪋","\\lesseqqgtr",!0),g(v,R,L,"≑","\\doteqdot"),g(v,R,L,"≓","\\risingdotseq",!0),g(v,R,L,"≒","\\fallingdotseq",!0),g(v,R,L,"∽","\\backsim",!0),g(v,R,L,"⋍","\\backsimeq",!0),g(v,R,L,"⫅","\\subseteqq",!0),g(v,R,L,"⋐","\\Subset",!0),g(v,R,L,"⊏","\\sqsubset",!0),g(v,R,L,"≼","\\preccurlyeq",!0),g(v,R,L,"⋞","\\curlyeqprec",!0),g(v,R,L,"≾","\\precsim",!0),g(v,R,L,"⪷","\\precapprox",!0),g(v,R,L,"⊲","\\vartriangleleft"),g(v,R,L,"⊴","\\trianglelefteq"),g(v,R,L,"⊨","\\vDash",!0),g(v,R,L,"⊪","\\Vvdash",!0),g(v,R,L,"⌣","\\smallsmile"),g(v,R,L,"⌢","\\smallfrown"),g(v,R,L,"≏","\\bumpeq",!0),g(v,R,L,"≎","\\Bumpeq",!0),g(v,R,L,"≧","\\geqq",!0),g(v,R,L,"⩾","\\geqslant",!0),g(v,R,L,"⪖","\\eqslantgtr",!0),g(v,R,L,"≳","\\gtrsim",!0),g(v,R,L,"⪆","\\gtrapprox",!0),g(v,R,Ee,"⋗","\\gtrdot"),g(v,R,L,"⋙","\\ggg",!0),g(v,R,L,"≷","\\gtrless",!0),g(v,R,L,"⋛","\\gtreqless",!0),g(v,R,L,"⪌","\\gtreqqless",!0),g(v,R,L,"≖","\\eqcirc",!0),g(v,R,L,"≗","\\circeq",!0),g(v,R,L,"≜","\\triangleq",!0),g(v,R,L,"∼","\\thicksim"),g(v,R,L,"≈","\\thickapprox"),g(v,R,L,"⫆","\\supseteqq",!0),g(v,R,L,"⋑","\\Supset",!0),g(v,R,L,"⊐","\\sqsupset",!0),g(v,R,L,"≽","\\succcurlyeq",!0),g(v,R,L,"⋟","\\curlyeqsucc",!0),g(v,R,L,"≿","\\succsim",!0),g(v,R,L,"⪸","\\succapprox",!0),g(v,R,L,"⊳","\\vartriangleright"),g(v,R,L,"⊵","\\trianglerighteq"),g(v,R,L,"⊩","\\Vdash",!0),g(v,R,L,"∣","\\shortmid"),g(v,R,L,"∥","\\shortparallel"),g(v,R,L,"≬","\\between",!0),g(v,R,L,"⋔","\\pitchfork",!0),g(v,R,L,"∝","\\varpropto"),g(v,R,L,"◀","\\blacktriangleleft"),g(v,R,L,"∴","\\therefore",!0),g(v,R,L,"∍","\\backepsilon"),g(v,R,L,"▶","\\blacktriangleright"),g(v,R,L,"∵","\\because",!0),g(v,R,L,"⋘","\\llless"),g(v,R,L,"⋙","\\gggtr"),g(v,R,Ee,"⊲","\\lhd"),g(v,R,Ee,"⊳","\\rhd"),g(v,R,L,"≂","\\eqsim",!0),g(v,F,L,"⋈","\\Join"),g(v,R,L,"≑","\\Doteq",!0),g(v,R,Ee,"∔","\\dotplus",!0),g(v,R,Ee,"∖","\\smallsetminus"),g(v,R,Ee,"⋒","\\Cap",!0),g(v,R,Ee,"⋓","\\Cup",!0),g(v,R,Ee,"⩞","\\doublebarwedge",!0),g(v,R,Ee,"⊟","\\boxminus",!0),g(v,R,Ee,"⊞","\\boxplus",!0),g(v,R,Ee,"⋇","\\divideontimes",!0),g(v,R,Ee,"⋉","\\ltimes",!0),g(v,R,Ee,"⋊","\\rtimes",!0),g(v,R,Ee,"⋋","\\leftthreetimes",!0),g(v,R,Ee,"⋌","\\rightthreetimes",!0),g(v,R,Ee,"⋏","\\curlywedge",!0),g(v,R,Ee,"⋎","\\curlyvee",!0),g(v,R,Ee,"⊝","\\circleddash",!0),g(v,R,Ee,"⊛","\\circledast",!0),g(v,R,Ee,"⋅","\\centerdot"),g(v,R,Ee,"⊺","\\intercal",!0),g(v,R,Ee,"⋒","\\doublecap"),g(v,R,Ee,"⋓","\\doublecup"),g(v,R,Ee,"⊠","\\boxtimes",!0),g(v,R,L,"⇢","\\dashrightarrow",!0),g(v,R,L,"⇠","\\dashleftarrow",!0),g(v,R,L,"⇇","\\leftleftarrows",!0),g(v,R,L,"⇆","\\leftrightarrows",!0),g(v,R,L,"⇚","\\Lleftarrow",!0),g(v,R,L,"↞","\\twoheadleftarrow",!0),g(v,R,L,"↢","\\leftarrowtail",!0),g(v,R,L,"↫","\\looparrowleft",!0),g(v,R,L,"⇋","\\leftrightharpoons",!0),g(v,R,L,"↶","\\curvearrowleft",!0),g(v,R,L,"↺","\\circlearrowleft",!0),g(v,R,L,"↰","\\Lsh",!0),g(v,R,L,"⇈","\\upuparrows",!0),g(v,R,L,"↿","\\upharpoonleft",!0),g(v,R,L,"⇃","\\downharpoonleft",!0),g(v,F,L,"⊶","\\origof",!0),g(v,F,L,"⊷","\\imageof",!0),g(v,R,L,"⊸","\\multimap",!0),g(v,R,L,"↭","\\leftrightsquigarrow",!0),g(v,R,L,"⇉","\\rightrightarrows",!0),g(v,R,L,"⇄","\\rightleftarrows",!0),g(v,R,L,"↠","\\twoheadrightarrow",!0),g(v,R,L,"↣","\\rightarrowtail",!0),g(v,R,L,"↬","\\looparrowright",!0),g(v,R,L,"↷","\\curvearrowright",!0),g(v,R,L,"↻","\\circlearrowright",!0),g(v,R,L,"↱","\\Rsh",!0),g(v,R,L,"⇊","\\downdownarrows",!0),g(v,R,L,"↾","\\upharpoonright",!0),g(v,R,L,"⇂","\\downharpoonright",!0),g(v,R,L,"⇝","\\rightsquigarrow",!0),g(v,R,L,"⇝","\\leadsto"),g(v,R,L,"⇛","\\Rrightarrow",!0),g(v,R,L,"↾","\\restriction"),g(v,F,G,"‘","`"),g(v,F,G,"$","\\$"),g(ie,F,G,"$","\\$"),g(ie,F,G,"$","\\textdollar"),g(v,F,G,"%","\\%"),g(ie,F,G,"%","\\%"),g(v,F,G,"_","\\_"),g(ie,F,G,"_","\\_"),g(ie,F,G,"_","\\textunderscore"),g(v,F,G,"∠","\\angle",!0),g(v,F,G,"∞","\\infty",!0),g(v,F,G,"′","\\prime"),g(v,F,G,"△","\\triangle"),g(v,F,G,"Γ","\\Gamma",!0),g(v,F,G,"Δ","\\Delta",!0),g(v,F,G,"Θ","\\Theta",!0),g(v,F,G,"Λ","\\Lambda",!0),g(v,F,G,"Ξ","\\Xi",!0),g(v,F,G,"Π","\\Pi",!0),g(v,F,G,"Σ","\\Sigma",!0),g(v,F,G,"Υ","\\Upsilon",!0),g(v,F,G,"Φ","\\Phi",!0),g(v,F,G,"Ψ","\\Psi",!0),g(v,F,G,"Ω","\\Omega",!0),g(v,F,G,"A","Α"),g(v,F,G,"B","Β"),g(v,F,G,"E","Ε"),g(v,F,G,"Z","Ζ"),g(v,F,G,"H","Η"),g(v,F,G,"I","Ι"),g(v,F,G,"K","Κ"),g(v,F,G,"M","Μ"),g(v,F,G,"N","Ν"),g(v,F,G,"O","Ο"),g(v,F,G,"P","Ρ"),g(v,F,G,"T","Τ"),g(v,F,G,"X","Χ"),g(v,F,G,"¬","\\neg",!0),g(v,F,G,"¬","\\lnot"),g(v,F,G,"⊤","\\top"),g(v,F,G,"⊥","\\bot"),g(v,F,G,"∅","\\emptyset"),g(v,R,G,"∅","\\varnothing"),g(v,F,ke,"α","\\alpha",!0),g(v,F,ke,"β","\\beta",!0),g(v,F,ke,"γ","\\gamma",!0),g(v,F,ke,"δ","\\delta",!0),g(v,F,ke,"ϵ","\\epsilon",!0),g(v,F,ke,"ζ","\\zeta",!0),g(v,F,ke,"η","\\eta",!0),g(v,F,ke,"θ","\\theta",!0),g(v,F,ke,"ι","\\iota",!0),g(v,F,ke,"κ","\\kappa",!0),g(v,F,ke,"λ","\\lambda",!0),g(v,F,ke,"μ","\\mu",!0),g(v,F,ke,"ν","\\nu",!0),g(v,F,ke,"ξ","\\xi",!0),g(v,F,ke,"ο","\\omicron",!0),g(v,F,ke,"π","\\pi",!0),g(v,F,ke,"ρ","\\rho",!0),g(v,F,ke,"σ","\\sigma",!0),g(v,F,ke,"τ","\\tau",!0),g(v,F,ke,"υ","\\upsilon",!0),g(v,F,ke,"ϕ","\\phi",!0),g(v,F,ke,"χ","\\chi",!0),g(v,F,ke,"ψ","\\psi",!0),g(v,F,ke,"ω","\\omega",!0),g(v,F,ke,"ε","\\varepsilon",!0),g(v,F,ke,"ϑ","\\vartheta",!0),g(v,F,ke,"ϖ","\\varpi",!0),g(v,F,ke,"ϱ","\\varrho",!0),g(v,F,ke,"ς","\\varsigma",!0),g(v,F,ke,"φ","\\varphi",!0),g(v,F,Ee,"∗","*",!0),g(v,F,Ee,"+","+"),g(v,F,Ee,"−","-",!0),g(v,F,Ee,"⋅","\\cdot",!0),g(v,F,Ee,"∘","\\circ",!0),g(v,F,Ee,"÷","\\div",!0),g(v,F,Ee,"±","\\pm",!0),g(v,F,Ee,"×","\\times",!0),g(v,F,Ee,"∩","\\cap",!0),g(v,F,Ee,"∪","\\cup",!0),g(v,F,Ee,"∖","\\setminus",!0),g(v,F,Ee,"∧","\\land"),g(v,F,Ee,"∨","\\lor"),g(v,F,Ee,"∧","\\wedge",!0),g(v,F,Ee,"∨","\\vee",!0),g(v,F,G,"√","\\surd"),g(v,F,Qt,"⟨","\\langle",!0),g(v,F,Qt,"∣","\\lvert"),g(v,F,Qt,"∥","\\lVert"),g(v,F,Ot,"?","?"),g(v,F,Ot,"!","!"),g(v,F,Ot,"⟩","\\rangle",!0),g(v,F,Ot,"∣","\\rvert"),g(v,F,Ot,"∥","\\rVert"),g(v,F,L,"=","="),g(v,F,L,":",":"),g(v,F,L,"≈","\\approx",!0),g(v,F,L,"≅","\\cong",!0),g(v,F,L,"≥","\\ge"),g(v,F,L,"≥","\\geq",!0),g(v,F,L,"←","\\gets"),g(v,F,L,">","\\gt",!0),g(v,F,L,"∈","\\in",!0),g(v,F,L,"","\\@not"),g(v,F,L,"⊂","\\subset",!0),g(v,F,L,"⊃","\\supset",!0),g(v,F,L,"⊆","\\subseteq",!0),g(v,F,L,"⊇","\\supseteq",!0),g(v,R,L,"⊈","\\nsubseteq",!0),g(v,R,L,"⊉","\\nsupseteq",!0),g(v,F,L,"⊨","\\models"),g(v,F,L,"←","\\leftarrow",!0),g(v,F,L,"≤","\\le"),g(v,F,L,"≤","\\leq",!0),g(v,F,L,"<","\\lt",!0),g(v,F,L,"→","\\rightarrow",!0),g(v,F,L,"→","\\to"),g(v,R,L,"≱","\\ngeq",!0),g(v,R,L,"≰","\\nleq",!0),g(v,F,Mr," ","\\ "),g(v,F,Mr," ","\\space"),g(v,F,Mr," ","\\nobreakspace"),g(ie,F,Mr," ","\\ "),g(ie,F,Mr," "," "),g(ie,F,Mr," ","\\space"),g(ie,F,Mr," ","\\nobreakspace"),g(v,F,Mr,null,"\\nobreak"),g(v,F,Mr,null,"\\allowbreak"),g(v,F,Fn,",",","),g(v,F,Fn,";",";"),g(v,R,Ee,"⊼","\\barwedge",!0),g(v,R,Ee,"⊻","\\veebar",!0),g(v,F,Ee,"⊙","\\odot",!0),g(v,F,Ee,"⊕","\\oplus",!0),g(v,F,Ee,"⊗","\\otimes",!0),g(v,F,G,"∂","\\partial",!0),g(v,F,Ee,"⊘","\\oslash",!0),g(v,R,Ee,"⊚","\\circledcirc",!0),g(v,R,Ee,"⊡","\\boxdot",!0),g(v,F,Ee,"△","\\bigtriangleup"),g(v,F,Ee,"▽","\\bigtriangledown"),g(v,F,Ee,"†","\\dagger"),g(v,F,Ee,"⋄","\\diamond"),g(v,F,Ee,"⋆","\\star"),g(v,F,Ee,"◃","\\triangleleft"),g(v,F,Ee,"▹","\\triangleright"),g(v,F,Qt,"{","\\{"),g(ie,F,G,"{","\\{"),g(ie,F,G,"{","\\textbraceleft"),g(v,F,Ot,"}","\\}"),g(ie,F,G,"}","\\}"),g(ie,F,G,"}","\\textbraceright"),g(v,F,Qt,"{","\\lbrace"),g(v,F,Ot,"}","\\rbrace"),g(v,F,Qt,"[","\\lbrack",!0),g(ie,F,G,"[","\\lbrack",!0),g(v,F,Ot,"]","\\rbrack",!0),g(ie,F,G,"]","\\rbrack",!0),g(v,F,Qt,"(","\\lparen",!0),g(v,F,Ot,")","\\rparen",!0),g(ie,F,G,"<","\\textless",!0),g(ie,F,G,">","\\textgreater",!0),g(v,F,Qt,"⌊","\\lfloor",!0),g(v,F,Ot,"⌋","\\rfloor",!0),g(v,F,Qt,"⌈","\\lceil",!0),g(v,F,Ot,"⌉","\\rceil",!0),g(v,F,G,"\\","\\backslash"),g(v,F,G,"∣","|"),g(v,F,G,"∣","\\vert"),g(ie,F,G,"|","\\textbar",!0),g(v,F,G,"∥","\\|"),g(v,F,G,"∥","\\Vert"),g(ie,F,G,"∥","\\textbardbl"),g(ie,F,G,"~","\\textasciitilde"),g(ie,F,G,"\\","\\textbackslash"),g(ie,F,G,"^","\\textasciicircum"),g(v,F,L,"↑","\\uparrow",!0),g(v,F,L,"⇑","\\Uparrow",!0),g(v,F,L,"↓","\\downarrow",!0),g(v,F,L,"⇓","\\Downarrow",!0),g(v,F,L,"↕","\\updownarrow",!0),g(v,F,L,"⇕","\\Updownarrow",!0),g(v,F,Tt,"∐","\\coprod"),g(v,F,Tt,"⋁","\\bigvee"),g(v,F,Tt,"⋀","\\bigwedge"),g(v,F,Tt,"⨄","\\biguplus"),g(v,F,Tt,"⋂","\\bigcap"),g(v,F,Tt,"⋃","\\bigcup"),g(v,F,Tt,"∫","\\int"),g(v,F,Tt,"∫","\\intop"),g(v,F,Tt,"∬","\\iint"),g(v,F,Tt,"∭","\\iiint"),g(v,F,Tt,"∏","\\prod"),g(v,F,Tt,"∑","\\sum"),g(v,F,Tt,"⨂","\\bigotimes"),g(v,F,Tt,"⨁","\\bigoplus"),g(v,F,Tt,"⨀","\\bigodot"),g(v,F,Tt,"∮","\\oint"),g(v,F,Tt,"∯","\\oiint"),g(v,F,Tt,"∰","\\oiiint"),g(v,F,Tt,"⨆","\\bigsqcup"),g(v,F,Tt,"∫","\\smallint"),g(ie,F,hr,"…","\\textellipsis"),g(v,F,hr,"…","\\mathellipsis"),g(ie,F,hr,"…","\\ldots",!0),g(v,F,hr,"…","\\ldots",!0),g(v,F,hr,"⋯","\\@cdots",!0),g(v,F,hr,"⋱","\\ddots",!0),g(v,F,G,"⋮","\\varvdots"),g(ie,F,G,"⋮","\\varvdots"),g(v,F,Ye,"ˊ","\\acute"),g(v,F,Ye,"ˋ","\\grave"),g(v,F,Ye,"¨","\\ddot"),g(v,F,Ye,"~","\\tilde"),g(v,F,Ye,"ˉ","\\bar"),g(v,F,Ye,"˘","\\breve"),g(v,F,Ye,"ˇ","\\check"),g(v,F,Ye,"^","\\hat"),g(v,F,Ye,"⃗","\\vec"),g(v,F,Ye,"˙","\\dot"),g(v,F,Ye,"˚","\\mathring"),g(v,F,ke,"","\\@imath"),g(v,F,ke,"","\\@jmath"),g(v,F,G,"ı","ı"),g(v,F,G,"ȷ","ȷ"),g(ie,F,G,"ı","\\i",!0),g(ie,F,G,"ȷ","\\j",!0),g(ie,F,G,"ß","\\ss",!0),g(ie,F,G,"æ","\\ae",!0),g(ie,F,G,"œ","\\oe",!0),g(ie,F,G,"ø","\\o",!0),g(ie,F,G,"Æ","\\AE",!0),g(ie,F,G,"Œ","\\OE",!0),g(ie,F,G,"Ø","\\O",!0),g(ie,F,Ye,"ˊ","\\'"),g(ie,F,Ye,"ˋ","\\`"),g(ie,F,Ye,"ˆ","\\^"),g(ie,F,Ye,"˜","\\~"),g(ie,F,Ye,"ˉ","\\="),g(ie,F,Ye,"˘","\\u"),g(ie,F,Ye,"˙","\\."),g(ie,F,Ye,"¸","\\c"),g(ie,F,Ye,"˚","\\r"),g(ie,F,Ye,"ˇ","\\v"),g(ie,F,Ye,"¨",'\\"'),g(ie,F,Ye,"˝","\\H"),g(ie,F,Ye,"◯","\\textcircled");const ei={"--":!0,"---":!0,"``":!0,"''":!0};g(ie,F,G,"–","--",!0),g(ie,F,G,"–","\\textendash"),g(ie,F,G,"—","---",!0),g(ie,F,G,"—","\\textemdash"),g(ie,F,G,"‘","`",!0),g(ie,F,G,"‘","\\textquoteleft"),g(ie,F,G,"’","'",!0),g(ie,F,G,"’","\\textquoteright"),g(ie,F,G,"“","``",!0),g(ie,F,G,"“","\\textquotedblleft"),g(ie,F,G,"”","''",!0),g(ie,F,G,"”","\\textquotedblright"),g(v,F,G,"°","\\degree",!0),g(ie,F,G,"°","\\degree"),g(ie,F,G,"°","\\textdegree",!0),g(v,F,G,"£","\\pounds"),g(v,F,G,"£","\\mathsterling",!0),g(ie,F,G,"£","\\pounds"),g(ie,F,G,"£","\\textsterling",!0),g(v,R,G,"✠","\\maltese"),g(ie,R,G,"✠","\\maltese");const Xa='0123456789/@."';for(let l=0;l<Xa.length;l++){const a=Xa.charAt(l);g(v,F,G,a,a)}const ti='0123456789!@*()-=+";:?/.,';for(let l=0;l<ti.length;l++){const a=ti.charAt(l);g(ie,F,G,a,a)}const rs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let l=0;l<rs.length;l++){const a=rs.charAt(l);g(v,F,ke,a,a),g(ie,F,G,a,a)}g(v,R,G,"C","ℂ"),g(ie,R,G,"C","ℂ"),g(v,R,G,"H","ℍ"),g(ie,R,G,"H","ℍ"),g(v,R,G,"N","ℕ"),g(ie,R,G,"N","ℕ"),g(v,R,G,"P","ℙ"),g(ie,R,G,"P","ℙ"),g(v,R,G,"Q","ℚ"),g(ie,R,G,"Q","ℚ"),g(v,R,G,"R","ℝ"),g(ie,R,G,"R","ℝ"),g(v,R,G,"Z","ℤ"),g(ie,R,G,"Z","ℤ"),g(v,F,ke,"h","ℎ"),g(ie,F,ke,"h","ℎ");let He="";for(let l=0;l<rs.length;l++){const a=rs.charAt(l);He=String.fromCharCode(55349,56320+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56372+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56424+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56580+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56684+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56736+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56788+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56840+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56944+l),g(v,F,ke,a,He),g(ie,F,G,a,He),l<26&&(He=String.fromCharCode(55349,56632+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,56476+l),g(v,F,ke,a,He),g(ie,F,G,a,He))}He="𝕜",g(v,F,ke,"k",He),g(ie,F,G,"k",He);for(let l=0;l<10;l++){const a=l.toString();He=String.fromCharCode(55349,57294+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,57314+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,57324+l),g(v,F,ke,a,He),g(ie,F,G,a,He),He=String.fromCharCode(55349,57334+l),g(v,F,ke,a,He),g(ie,F,G,a,He)}const ri="ÐÞþ";for(let l=0;l<ri.length;l++){const a=ri.charAt(l);g(v,F,ke,a,a),g(ie,F,G,a,a)}const E0=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ka=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],gc=function(l,a){const c=l.charCodeAt(0),d=l.charCodeAt(1),m=(c-55296)*1024+(d-56320)+65536,A=a==="math"?0:1;if(119808<=m&&m<120484){const S=Math.floor((m-119808)/26);return[E0[S][2],E0[S][A]]}else if(120782<=m&&m<=120831){const S=Math.floor((m-120782)/10);return[Ka[S][2],Ka[S][A]]}else{if(m===120485||m===120486)return[E0[0][2],E0[0][A]];if(120486<m&&m<120782)return["",""];throw new e("Unsupported character: "+l)}},x0=function(l,a,c){return Ve[c][l]&&Ve[c][l].replace&&(l=Ve[c][l].replace),{value:l,metrics:zr(l,a,c)}},Cr=function(l,a,c,d,m){const A=x0(l,a,c),S=A.metrics;l=A.value;let T;if(S){let N=S.italic;(c==="text"||d&&d.font==="mathit")&&(N=0),T=new Gt(l,S.height,S.depth,N,S.skew,S.width,m)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+l+"' in style '"+a+"' and mode '"+c+"'")),T=new Gt(l,0,0,0,0,0,m);if(d){T.maxFontSize=d.sizeMultiplier,d.style.isTight()&&T.classes.push("mtight");const N=d.getColor();N&&(T.style.color=N)}return T},yc=function(l,a,c,d){return d===void 0&&(d=[]),c.font==="boldsymbol"&&x0(l,"Main-Bold",a).metrics?Cr(l,"Main-Bold",a,c,d.concat(["mathbf"])):l==="\\"||Ve[a][l].font==="main"?Cr(l,"Main-Regular",a,c,d):Cr(l,"AMS-Regular",a,c,d.concat(["amsrm"]))},bc=function(l,a,c,d,m){return m!=="textord"&&x0(l,"Math-BoldItalic",a).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},vc=function(l,a,c){const d=l.mode,m=l.text,A=["mord"],S=d==="math"||d==="text"&&a.font,T=S?a.font:a.fontFamily;let N="",q="";if(m.charCodeAt(0)===55349&&([N,q]=gc(m,d)),N.length>0)return Cr(m,N,d,a,A.concat(q));if(T){let K,ee;if(T==="boldsymbol"){const ne=bc(m,d,a,A,c);K=ne.fontName,ee=[ne.fontClass]}else S?(K=Qa[T].fontName,ee=[T]):(K=w0(T,a.fontWeight,a.fontShape),ee=[T,a.fontWeight,a.fontShape]);if(x0(m,K,d).metrics)return Cr(m,K,d,a,A.concat(ee));if(ei.hasOwnProperty(m)&&K.slice(0,10)==="Typewriter"){const ne=[];for(let he=0;he<m.length;he++)ne.push(Cr(m[he],K,d,a,A.concat(ee)));return si(ne)}}if(c==="mathord")return Cr(m,"Math-Italic",d,a,A.concat(["mathnormal"]));if(c==="textord"){const K=Ve[d][m]&&Ve[d][m].font;if(K==="ams"){const ee=w0("amsrm",a.fontWeight,a.fontShape);return Cr(m,ee,d,a,A.concat("amsrm",a.fontWeight,a.fontShape))}else if(K==="main"||!K){const ee=w0("textrm",a.fontWeight,a.fontShape);return Cr(m,ee,d,a,A.concat(a.fontWeight,a.fontShape))}else{const ee=w0(K,a.fontWeight,a.fontShape);return Cr(m,ee,d,a,A.concat(ee,a.fontWeight,a.fontShape))}}else throw new Error("unexpected type: "+c+" in makeOrd")},Ac=(l,a)=>{if(dr(l.classes)!==dr(a.classes)||l.skew!==a.skew||l.maxFontSize!==a.maxFontSize)return!1;if(l.classes.length===1){const c=l.classes[0];if(c==="mbin"||c==="mord")return!1}for(const c in l.style)if(l.style.hasOwnProperty(c)&&l.style[c]!==a.style[c])return!1;for(const c in a.style)if(a.style.hasOwnProperty(c)&&l.style[c]!==a.style[c])return!1;return!0},Ec=l=>{for(let a=0;a<l.length-1;a++){const c=l[a],d=l[a+1];c instanceof Gt&&d instanceof Gt&&Ac(c,d)&&(c.text+=d.text,c.height=Math.max(c.height,d.height),c.depth=Math.max(c.depth,d.depth),c.italic=d.italic,l.splice(a+1,1),a--)}return l},ns=function(l){let a=0,c=0,d=0;for(let m=0;m<l.children.length;m++){const A=l.children[m];A.height>a&&(a=A.height),A.depth>c&&(c=A.depth),A.maxFontSize>d&&(d=A.maxFontSize)}l.height=a,l.depth=c,l.maxFontSize=d},er=function(l,a,c,d){const m=new Ir(l,a,c,d);return ns(m),m},ni=(l,a,c,d)=>new Ir(l,a,c,d),xc=function(l,a,c){const d=er([l],[],a);return d.height=Math.max(c||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),d.style.borderBottomWidth=ve(d.height),d.maxFontSize=1,d},ss=function(l,a,c,d){const m=new Zn(l,a,c,d);return ns(m),m},si=function(l){const a=new fr(l);return ns(a),a},Ja=function(l,a){return l instanceof fr?er([],[l],a):l},wc=function(l){if(l.positionType==="individualShift"){const c=l.children,d=[c[0]],m=-c[0].shift-c[0].elem.depth;let A=m;for(let S=1;S<c.length;S++){const T=-c[S].shift-A-c[S].elem.depth,N=T-(c[S-1].elem.height+c[S-1].elem.depth);A=A+T,d.push({type:"kern",size:N}),d.push(c[S])}return{children:d,depth:m}}let a;if(l.positionType==="top"){let c=l.positionData;for(let d=0;d<l.children.length;d++){const m=l.children[d];c-=m.type==="kern"?m.size:m.elem.height+m.elem.depth}a=c}else if(l.positionType==="bottom")a=-l.positionData;else{const c=l.children[0];if(c.type!=="elem")throw new Error('First child must have type "elem".');if(l.positionType==="shift")a=-c.elem.depth-l.positionData;else if(l.positionType==="firstBaseline")a=-c.elem.depth;else throw new Error("Invalid positionType "+l.positionType+".")}return{children:l.children,depth:a}},Za=function(l,a){const{children:c,depth:d}=wc(l);let m=0;for(let he=0;he<c.length;he++){const Fe=c[he];if(Fe.type==="elem"){const Ne=Fe.elem;m=Math.max(m,Ne.maxFontSize,Ne.height)}}m+=2;const A=er(["pstrut"],[]);A.style.height=ve(m);const S=[];let T=d,N=d,q=d;for(let he=0;he<c.length;he++){const Fe=c[he];if(Fe.type==="kern")q+=Fe.size;else{const Ne=Fe.elem,nt=Fe.wrapperClasses||[],tt=Fe.wrapperStyle||{},st=er(nt,[A,Ne],void 0,tt);st.style.top=ve(-m-q-Ne.depth),Fe.marginLeft&&(st.style.marginLeft=Fe.marginLeft),Fe.marginRight&&(st.style.marginRight=Fe.marginRight),S.push(st),q+=Ne.height+Ne.depth}T=Math.min(T,q),N=Math.max(N,q)}const K=er(["vlist"],S);K.style.height=ve(N);let ee;if(T<0){const he=er([],[]),Fe=er(["vlist"],[he]);Fe.style.height=ve(-T);const Ne=er(["vlist-s"],[new Gt("")]);ee=[er(["vlist-r"],[K,Ne]),er(["vlist-r"],[Fe])]}else ee=[er(["vlist-r"],[K])];const ne=er(["vlist-t"],ee);return ee.length===2&&ne.classes.push("vlist-t2"),ne.height=N,ne.depth=-T,ne},Cc=(l,a)=>{const c=er(["mspace"],[],a),d=ft(l,a);return c.style.marginRight=ve(d),c},w0=function(l,a,c){let d="";switch(l){case"amsrm":d="AMS";break;case"textrm":d="Main";break;case"textsf":d="SansSerif";break;case"texttt":d="Typewriter";break;default:d=l}let m;return a==="textbf"&&c==="textit"?m="BoldItalic":a==="textbf"?m="Bold":a==="textit"?m="Italic":m="Regular",d+"-"+m},Qa={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},ii={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var re={fontMap:Qa,makeSymbol:Cr,mathsym:yc,makeSpan:er,makeSvgSpan:ni,makeLineSpan:xc,makeAnchor:ss,makeFragment:si,wrapFragment:Ja,makeVList:Za,makeOrd:vc,makeGlue:Cc,staticSvg:function(l,a){const[c,d,m]=ii[l],A=new wr(c),S=new xr([A],{width:ve(d),height:ve(m),style:"width:"+ve(d),viewBox:"0 0 "+1e3*d+" "+1e3*m,preserveAspectRatio:"xMinYMin"}),T=ni(["overlay"],[S],a);return T.height=m,T.style.height=ve(m),T.style.width=ve(d),T},svgData:ii,tryCombineChars:Ec};const $t={number:3,unit:"mu"},en={number:4,unit:"mu"},Lr={number:5,unit:"mu"},Sc={mord:{mop:$t,mbin:en,mrel:Lr,minner:$t},mop:{mord:$t,mop:$t,mrel:Lr,minner:$t},mbin:{mord:en,mop:en,mopen:en,minner:en},mrel:{mord:Lr,mop:Lr,mopen:Lr,minner:Lr},mopen:{},mclose:{mop:$t,mbin:en,mrel:Lr,minner:$t},mpunct:{mord:$t,mop:$t,mrel:Lr,mopen:$t,mclose:$t,mpunct:$t,minner:$t},minner:{mord:$t,mop:$t,mbin:en,mrel:Lr,mopen:$t,mpunct:$t,minner:$t}},Fc={mord:{mop:$t},mop:{mord:$t,mop:$t},mbin:{},mrel:{},mopen:{},mclose:{mop:$t},mpunct:{},minner:{mop:$t}},ai={},is={},as={};function Ce(l){let{type:a,names:c,props:d,handler:m,htmlBuilder:A,mathmlBuilder:S}=l;const T={type:a,numArgs:d.numArgs,argTypes:d.argTypes,allowedInArgument:!!d.allowedInArgument,allowedInText:!!d.allowedInText,allowedInMath:d.allowedInMath===void 0?!0:d.allowedInMath,numOptionalArgs:d.numOptionalArgs||0,infix:!!d.infix,primitive:!!d.primitive,handler:m};for(let N=0;N<c.length;++N)ai[c[N]]=T;a&&(A&&(is[a]=A),S&&(as[a]=S))}function Dn(l){let{type:a,htmlBuilder:c,mathmlBuilder:d}=l;Ce({type:a,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:c,mathmlBuilder:d})}const C0=function(l){return l.type==="ordgroup"&&l.body.length===1?l.body[0]:l},_t=function(l){return l.type==="ordgroup"?l.body:[l]},qr=re.makeSpan,Dc=["leftmost","mbin","mopen","mrel","mop","mpunct"],eu=["rightmost","mrel","mclose","mpunct"],Bc={display:ue.DISPLAY,text:ue.TEXT,script:ue.SCRIPT,scriptscript:ue.SCRIPTSCRIPT},tu={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Rt=function(l,a,c,d){d===void 0&&(d=[null,null]);const m=[];for(let q=0;q<l.length;q++){const K=it(l[q],a);if(K instanceof fr){const ee=K.children;m.push(...ee)}else m.push(K)}if(re.tryCombineChars(m),!c)return m;let A=a;if(l.length===1){const q=l[0];q.type==="sizing"?A=a.havingSize(q.size):q.type==="styling"&&(A=a.havingStyle(Bc[q.style]))}const S=qr([d[0]||"leftmost"],[],a),T=qr([d[1]||"rightmost"],[],a),N=c==="root";return us(m,(q,K)=>{const ee=K.classes[0],ne=q.classes[0];ee==="mbin"&&_.contains(eu,ne)?K.classes[0]="mord":ne==="mbin"&&_.contains(Dc,ee)&&(q.classes[0]="mord")},{node:S},T,N),us(m,(q,K)=>{const ee=ui(K),ne=ui(q),he=ee&&ne?q.hasClass("mtight")?Fc[ee][ne]:Sc[ee][ne]:null;if(he)return re.makeGlue(he,A)},{node:S},T,N),m},us=function(l,a,c,d,m){d&&l.push(d);let A=0;for(;A<l.length;A++){const S=l[A],T=ru(S);if(T){us(T.children,a,c,null,m);continue}const N=!S.hasClass("mspace");if(N){const q=a(S,c.node);q&&(c.insertAfter?c.insertAfter(q):(l.unshift(q),A++))}N?c.node=S:m&&S.hasClass("newline")&&(c.node=qr(["leftmost"])),c.insertAfter=(q=>K=>{l.splice(q+1,0,K),A++})(A)}d&&l.pop()},ru=function(l){return l instanceof fr||l instanceof Zn||l instanceof Ir&&l.hasClass("enclosing")?l:null},os=function(l,a){const c=ru(l);if(c){const d=c.children;if(d.length){if(a==="right")return os(d[d.length-1],"right");if(a==="left")return os(d[0],"left")}}return l},ui=function(l,a){return l?(a&&(l=os(l,a)),tu[l.classes[0]]||null):null},S0=function(l,a){const c=["nulldelimiter"].concat(l.baseSizingClasses());return qr(a.concat(c))},it=function(l,a,c){if(!l)return qr();if(is[l.type]){let d=is[l.type](l,a);if(c&&a.size!==c.size){d=qr(a.sizingClasses(c),[d],a);const m=a.sizeMultiplier/c.sizeMultiplier;d.height*=m,d.depth*=m}return d}else throw new e("Got group of unknown type: '"+l.type+"'")};function ls(l,a){const c=qr(["base"],l,a),d=qr(["strut"]);return d.style.height=ve(c.height+c.depth),c.depth&&(d.style.verticalAlign=ve(-c.depth)),c.children.unshift(d),c}function cs(l,a){let c=null;l.length===1&&l[0].type==="tag"&&(c=l[0].tag,l=l[0].body);const d=Rt(l,a,"root");let m;d.length===2&&d[1].hasClass("tag")&&(m=d.pop());const A=[];let S=[];for(let q=0;q<d.length;q++)if(S.push(d[q]),d[q].hasClass("mbin")||d[q].hasClass("mrel")||d[q].hasClass("allowbreak")){let K=!1;for(;q<d.length-1&&d[q+1].hasClass("mspace")&&!d[q+1].hasClass("newline");)q++,S.push(d[q]),d[q].hasClass("nobreak")&&(K=!0);K||(A.push(ls(S,a)),S=[])}else d[q].hasClass("newline")&&(S.pop(),S.length>0&&(A.push(ls(S,a)),S=[]),A.push(d[q]));S.length>0&&A.push(ls(S,a));let T;c?(T=ls(Rt(c,a,!0)),T.classes=["tag"],A.push(T)):m&&A.push(m);const N=qr(["katex-html"],A);if(N.setAttribute("aria-hidden","true"),T){const q=T.children[0];q.style.height=ve(N.height+N.depth),N.depth&&(q.style.verticalAlign=ve(-N.depth))}return N}function oi(l){return new fr(l)}class tr{constructor(a,c,d){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=a,this.attributes={},this.children=c||[],this.classes=d||[]}setAttribute(a,c){this.attributes[a]=c}getAttribute(a){return this.attributes[a]}toNode(){const a=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&a.setAttribute(c,this.attributes[c]);this.classes.length>0&&(a.className=dr(this.classes));for(let c=0;c<this.children.length;c++)if(this.children[c]instanceof Sr&&this.children[c+1]instanceof Sr){let d=this.children[c].toText()+this.children[++c].toText();for(;this.children[c+1]instanceof Sr;)d+=this.children[++c].toText();a.appendChild(new Sr(d).toNode())}else a.appendChild(this.children[c].toNode());return a}toMarkup(){let a="<"+this.type;for(const c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&(a+=" "+c+'="',a+=_.escape(this.attributes[c]),a+='"');this.classes.length>0&&(a+=' class ="'+_.escape(dr(this.classes))+'"'),a+=">";for(let c=0;c<this.children.length;c++)a+=this.children[c].toMarkup();return a+="</"+this.type+">",a}toText(){return this.children.map(a=>a.toText()).join("")}}class Sr{constructor(a){this.text=void 0,this.text=a}toNode(){return document.createTextNode(this.text)}toMarkup(){return _.escape(this.toText())}toText(){return this.text}}class nu{constructor(a){this.width=void 0,this.character=void 0,this.width=a,a>=.05555&&a<=.05556?this.character=" ":a>=.1666&&a<=.1667?this.character=" ":a>=.2222&&a<=.2223?this.character=" ":a>=.2777&&a<=.2778?this.character=" ":a>=-.05556&&a<=-.05555?this.character=" ":a>=-.1667&&a<=-.1666?this.character=" ":a>=-.2223&&a<=-.2222?this.character=" ":a>=-.2778&&a<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const a=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return a.setAttribute("width",ve(this.width)),a}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ve(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var me={MathNode:tr,TextNode:Sr,SpaceNode:nu,newDocumentFragment:oi};const sr=function(l,a,c){return Ve[a][l]&&Ve[a][l].replace&&l.charCodeAt(0)!==55349&&!(ei.hasOwnProperty(l)&&c&&(c.fontFamily&&c.fontFamily.slice(4,6)==="tt"||c.font&&c.font.slice(4,6)==="tt"))&&(l=Ve[a][l].replace),new me.TextNode(l)},li=function(l){return l.length===1?l[0]:new me.MathNode("mrow",l)},ci=function(l,a){if(a.fontFamily==="texttt")return"monospace";if(a.fontFamily==="textsf")return a.fontShape==="textit"&&a.fontWeight==="textbf"?"sans-serif-bold-italic":a.fontShape==="textit"?"sans-serif-italic":a.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(a.fontShape==="textit"&&a.fontWeight==="textbf")return"bold-italic";if(a.fontShape==="textit")return"italic";if(a.fontWeight==="textbf")return"bold";const c=a.font;if(!c||c==="mathnormal")return null;const d=l.mode;if(c==="mathit")return"italic";if(c==="boldsymbol")return l.type==="textord"?"bold":"bold-italic";if(c==="mathbf")return"bold";if(c==="mathbb")return"double-struck";if(c==="mathsfit")return"sans-serif-italic";if(c==="mathfrak")return"fraktur";if(c==="mathscr"||c==="mathcal")return"script";if(c==="mathsf")return"sans-serif";if(c==="mathtt")return"monospace";let m=l.text;if(_.contains(["\\imath","\\jmath"],m))return null;Ve[d][m]&&Ve[d][m].replace&&(m=Ve[d][m].replace);const A=re.fontMap[c].fontName;return zr(m,A,d)?re.fontMap[c].variant:null};function fi(l){if(!l)return!1;if(l.type==="mi"&&l.children.length===1){const a=l.children[0];return a instanceof Sr&&a.text==="."}else if(l.type==="mo"&&l.children.length===1&&l.getAttribute("separator")==="true"&&l.getAttribute("lspace")==="0em"&&l.getAttribute("rspace")==="0em"){const a=l.children[0];return a instanceof Sr&&a.text===","}else return!1}const Vt=function(l,a,c){if(l.length===1){const A=bt(l[0],a);return c&&A instanceof tr&&A.type==="mo"&&(A.setAttribute("lspace","0em"),A.setAttribute("rspace","0em")),[A]}const d=[];let m;for(let A=0;A<l.length;A++){const S=bt(l[A],a);if(S instanceof tr&&m instanceof tr){if(S.type==="mtext"&&m.type==="mtext"&&S.getAttribute("mathvariant")===m.getAttribute("mathvariant")){m.children.push(...S.children);continue}else if(S.type==="mn"&&m.type==="mn"){m.children.push(...S.children);continue}else if(fi(S)&&m.type==="mn"){m.children.push(...S.children);continue}else if(S.type==="mn"&&fi(m))S.children=[...m.children,...S.children],d.pop();else if((S.type==="msup"||S.type==="msub")&&S.children.length>=1&&(m.type==="mn"||fi(m))){const T=S.children[0];T instanceof tr&&T.type==="mn"&&(T.children=[...m.children,...T.children],d.pop())}else if(m.type==="mi"&&m.children.length===1){const T=m.children[0];if(T instanceof Sr&&T.text==="̸"&&(S.type==="mo"||S.type==="mi"||S.type==="mn")){const N=S.children[0];N instanceof Sr&&N.text.length>0&&(N.text=N.text.slice(0,1)+"̸"+N.text.slice(1),d.pop())}}}d.push(S),m=S}return d},Vr=function(l,a,c){return li(Vt(l,a,c))},bt=function(l,a){if(!l)return new me.MathNode("mrow");if(as[l.type])return as[l.type](l,a);throw new e("Got group of unknown type: '"+l.type+"'")};function su(l,a,c,d,m){const A=Vt(l,c);let S;A.length===1&&A[0]instanceof tr&&_.contains(["mrow","mtable"],A[0].type)?S=A[0]:S=new me.MathNode("mrow",A);const T=new me.MathNode("annotation",[new me.TextNode(a)]);T.setAttribute("encoding","application/x-tex");const N=new me.MathNode("semantics",[S,T]),q=new me.MathNode("math",[N]);q.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),d&&q.setAttribute("display","block");const K=m?"katex":"katex-mathml";return re.makeSpan([K],[q])}const di=function(l){return new Zs({style:l.displayMode?ue.DISPLAY:ue.TEXT,maxSize:l.maxSize,minRuleThickness:l.minRuleThickness})},iu=function(l,a){if(a.displayMode){const c=["katex-display"];a.leqno&&c.push("leqno"),a.fleqn&&c.push("fleqn"),l=re.makeSpan(c,[l])}return l},au=function(l,a,c){const d=di(c);let m;if(c.output==="mathml")return su(l,a,d,c.displayMode,!0);if(c.output==="html"){const A=cs(l,d);m=re.makeSpan(["katex"],[A])}else{const A=su(l,a,d,c.displayMode,!1),S=cs(l,d);m=re.makeSpan(["katex"],[A,S])}return iu(m,c)},kc=function(l,a,c){const d=di(c),m=cs(l,d),A=re.makeSpan(["katex"],[m]);return iu(A,c)},Tc={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},$c=function(l){const a=new me.MathNode("mo",[new me.TextNode(Tc[l.replace(/^\\/,"")])]);return a.setAttribute("stretchy","true"),a},uu={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Mc=function(l){return l.type==="ordgroup"?l.body.length:1};var Or={encloseSpan:function(l,a,c,d,m){let A;const S=l.height+l.depth+c+d;if(/fbox|color|angl/.test(a)){if(A=re.makeSpan(["stretchy",a],[],m),a==="fbox"){const T=m.color&&m.getColor();T&&(A.style.borderColor=T)}}else{const T=[];/^[bx]cancel$/.test(a)&&T.push(new A0({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&T.push(new A0({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const N=new xr(T,{width:"100%",height:ve(S)});A=re.makeSvgSpan([],[N],m)}return A.height=S,A.style.height=ve(S),A},mathMLnode:$c,svgSpan:function(l,a){function c(){let S=4e5;const T=l.label.slice(1);if(_.contains(["widehat","widecheck","widetilde","utilde"],T)){const q=Mc(l.base);let K,ee,ne;if(q>5)T==="widehat"||T==="widecheck"?(K=420,S=2364,ne=.42,ee=T+"4"):(K=312,S=2340,ne=.34,ee="tilde4");else{const Ne=[1,1,2,2,3,3][q];T==="widehat"||T==="widecheck"?(S=[0,1062,2364,2364,2364][Ne],K=[0,239,300,360,420][Ne],ne=[0,.24,.3,.3,.36,.42][Ne],ee=T+Ne):(S=[0,600,1033,2339,2340][Ne],K=[0,260,286,306,312][Ne],ne=[0,.26,.286,.3,.306,.34][Ne],ee="tilde"+Ne)}const he=new wr(ee),Fe=new xr([he],{width:"100%",height:ve(ne),viewBox:"0 0 "+S+" "+K,preserveAspectRatio:"none"});return{span:re.makeSvgSpan([],[Fe],a),minWidth:0,height:ne}}else{const N=[],q=uu[T],[K,ee,ne]=q,he=ne/1e3,Fe=K.length;let Ne,nt;if(Fe===1){const tt=q[3];Ne=["hide-tail"],nt=[tt]}else if(Fe===2)Ne=["halfarrow-left","halfarrow-right"],nt=["xMinYMin","xMaxYMin"];else if(Fe===3)Ne=["brace-left","brace-center","brace-right"],nt=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
351
|
+
`+Fe+" children.");for(let tt=0;tt<Fe;tt++){const st=new wr(K[tt]),ct=new xr([st],{width:"400em",height:ve(he),viewBox:"0 0 "+S+" "+ne,preserveAspectRatio:nt[tt]+" slice"}),wt=re.makeSvgSpan([Ne[tt]],[ct],a);if(Fe===1)return{span:wt,minWidth:ee,height:he};wt.style.height=ve(he),N.push(wt)}return{span:re.makeSpan(["stretchy"],N,a),minWidth:ee,height:he}}}const{span:d,minWidth:m,height:A}=c();return d.height=A,d.style.height=ve(A),m>0&&(d.style.minWidth=ve(m)),d}};function Ze(l,a){if(!l||l.type!==a)throw new Error("Expected node of type "+a+", but got "+(l?"node of type "+l.type:String(l)));return l}function fs(l){const a=ds(l);if(!a)throw new Error("Expected node of symbol group type, but got "+(l?"node of type "+l.type:String(l)));return a}function ds(l){return l&&(l.type==="atom"||De.hasOwnProperty(l.type))?l:null}const hi=(l,a)=>{let c,d,m;l&&l.type==="supsub"?(d=Ze(l.base,"accent"),c=d.base,l.base=c,m=W(it(l,a)),l.base=d):(d=Ze(l,"accent"),c=d.base);const A=it(c,a.havingCrampedStyle()),S=d.isShifty&&_.isCharacterBox(c);let T=0;if(S){const ne=_.getBaseElem(c),he=it(ne,a.havingCrampedStyle());T=Qn(he).skew}const N=d.label==="\\c";let q=N?A.height+A.depth:Math.min(A.height,a.fontMetrics().xHeight),K;if(d.isStretchy)K=Or.svgSpan(d,a),K=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:A},{type:"elem",elem:K,wrapperClasses:["svg-align"],wrapperStyle:T>0?{width:"calc(100% - "+ve(2*T)+")",marginLeft:ve(2*T)}:void 0}]},a);else{let ne,he;d.label==="\\vec"?(ne=re.staticSvg("vec",a),he=re.svgData.vec[1]):(ne=re.makeOrd({mode:d.mode,text:d.label},a,"textord"),ne=Qn(ne),ne.italic=0,he=ne.width,N&&(q+=ne.depth)),K=re.makeSpan(["accent-body"],[ne]);const Fe=d.label==="\\textcircled";Fe&&(K.classes.push("accent-full"),q=A.height);let Ne=T;Fe||(Ne-=he/2),K.style.left=ve(Ne),d.label==="\\textcircled"&&(K.style.top=".2em"),K=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:A},{type:"kern",size:-q},{type:"elem",elem:K}]},a)}const ee=re.makeSpan(["mord","accent"],[K],a);return m?(m.children[0]=ee,m.height=Math.max(ee.height,m.height),m.classes[0]="mord",m):ee},ou=(l,a)=>{const c=l.isStretchy?Or.mathMLnode(l.label):new me.MathNode("mo",[sr(l.label,l.mode)]),d=new me.MathNode("mover",[bt(l.base,a),c]);return d.setAttribute("accent","true"),d},lu=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(l=>"\\"+l).join("|"));Ce({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(l,a)=>{const c=C0(a[0]),d=!lu.test(l.funcName),m=!d||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:d,isShifty:m,base:c}},htmlBuilder:hi,mathmlBuilder:ou}),Ce({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(l,a)=>{const c=a[0];let d=l.parser.mode;return d==="math"&&(l.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+l.funcName+" works only in text mode"),d="text"),{type:"accent",mode:d,label:l.funcName,isStretchy:!1,isShifty:!0,base:c}},htmlBuilder:hi,mathmlBuilder:ou}),Ce({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(l,a)=>{let{parser:c,funcName:d}=l;const m=a[0];return{type:"accentUnder",mode:c.mode,label:d,base:m}},htmlBuilder:(l,a)=>{const c=it(l.base,a),d=Or.svgSpan(l,a),m=l.label==="\\utilde"?.12:0,A=re.makeVList({positionType:"top",positionData:c.height,children:[{type:"elem",elem:d,wrapperClasses:["svg-align"]},{type:"kern",size:m},{type:"elem",elem:c}]},a);return re.makeSpan(["mord","accentunder"],[A],a)},mathmlBuilder:(l,a)=>{const c=Or.mathMLnode(l.label),d=new me.MathNode("munder",[bt(l.base,a),c]);return d.setAttribute("accentunder","true"),d}});const hs=l=>{const a=new me.MathNode("mpadded",l?[l]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};Ce({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(l,a,c){let{parser:d,funcName:m}=l;return{type:"xArrow",mode:d.mode,label:m,body:a[0],below:c[0]}},htmlBuilder(l,a){const c=a.style;let d=a.havingStyle(c.sup());const m=re.wrapFragment(it(l.body,d,a),a),A=l.label.slice(0,2)==="\\x"?"x":"cd";m.classes.push(A+"-arrow-pad");let S;l.below&&(d=a.havingStyle(c.sub()),S=re.wrapFragment(it(l.below,d,a),a),S.classes.push(A+"-arrow-pad"));const T=Or.svgSpan(l,a),N=-a.fontMetrics().axisHeight+.5*T.height;let q=-a.fontMetrics().axisHeight-.5*T.height-.111;(m.depth>.25||l.label==="\\xleftequilibrium")&&(q-=m.depth);let K;if(S){const ee=-a.fontMetrics().axisHeight+S.height+.5*T.height+.111;K=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:q},{type:"elem",elem:T,shift:N},{type:"elem",elem:S,shift:ee}]},a)}else K=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:q},{type:"elem",elem:T,shift:N}]},a);return K.children[0].children[0].children[1].classes.push("svg-align"),re.makeSpan(["mrel","x-arrow"],[K],a)},mathmlBuilder(l,a){const c=Or.mathMLnode(l.label);c.setAttribute("minsize",l.label.charAt(0)==="x"?"1.75em":"3.0em");let d;if(l.body){const m=hs(bt(l.body,a));if(l.below){const A=hs(bt(l.below,a));d=new me.MathNode("munderover",[c,A,m])}else d=new me.MathNode("mover",[c,m])}else if(l.below){const m=hs(bt(l.below,a));d=new me.MathNode("munder",[c,m])}else d=hs(),d=new me.MathNode("mover",[c,d]);return d}});const cu=re.makeSpan;function fu(l,a){const c=Rt(l.body,a,!0);return cu([l.mclass],c,a)}function pi(l,a){let c;const d=Vt(l.body,a);return l.mclass==="minner"?c=new me.MathNode("mpadded",d):l.mclass==="mord"?l.isCharacterBox?(c=d[0],c.type="mi"):c=new me.MathNode("mi",d):(l.isCharacterBox?(c=d[0],c.type="mo"):c=new me.MathNode("mo",d),l.mclass==="mbin"?(c.attributes.lspace="0.22em",c.attributes.rspace="0.22em"):l.mclass==="mpunct"?(c.attributes.lspace="0em",c.attributes.rspace="0.17em"):l.mclass==="mopen"||l.mclass==="mclose"?(c.attributes.lspace="0em",c.attributes.rspace="0em"):l.mclass==="minner"&&(c.attributes.lspace="0.0556em",c.attributes.width="+0.1111em")),c}Ce({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(l,a){let{parser:c,funcName:d}=l;const m=a[0];return{type:"mclass",mode:c.mode,mclass:"m"+d.slice(5),body:_t(m),isCharacterBox:_.isCharacterBox(m)}},htmlBuilder:fu,mathmlBuilder:pi});const ps=l=>{const a=l.type==="ordgroup"&&l.body.length?l.body[0]:l;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};Ce({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(l,a){let{parser:c}=l;return{type:"mclass",mode:c.mode,mclass:ps(a[0]),body:_t(a[1]),isCharacterBox:_.isCharacterBox(a[1])}}}),Ce({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(l,a){let{parser:c,funcName:d}=l;const m=a[1],A=a[0];let S;d!=="\\stackrel"?S=ps(m):S="mrel";const T={type:"op",mode:m.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:d!=="\\stackrel",body:_t(m)},N={type:"supsub",mode:A.mode,base:T,sup:d==="\\underset"?null:A,sub:d==="\\underset"?A:null};return{type:"mclass",mode:c.mode,mclass:S,body:[N],isCharacterBox:_.isCharacterBox(N)}},htmlBuilder:fu,mathmlBuilder:pi}),Ce({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"pmb",mode:c.mode,mclass:ps(a[0]),body:_t(a[0])}},htmlBuilder(l,a){const c=Rt(l.body,a,!0),d=re.makeSpan([l.mclass],c,a);return d.style.textShadow="0.02em 0.01em 0.04px",d},mathmlBuilder(l,a){const c=Vt(l.body,a),d=new me.MathNode("mstyle",c);return d.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),d}});const du={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},hu=()=>({type:"styling",body:[],mode:"math",style:"display"}),mi=l=>l.type==="textord"&&l.text==="@",Nc=(l,a)=>(l.type==="mathord"||l.type==="atom")&&l.text===a;function _c(l,a,c){const d=du[l];switch(d){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return c.callFunction(d,[a[0]],[a[1]]);case"\\uparrow":case"\\downarrow":{const m=c.callFunction("\\\\cdleft",[a[0]],[]),A={type:"atom",text:d,mode:"math",family:"rel"},S=c.callFunction("\\Big",[A],[]),T=c.callFunction("\\\\cdright",[a[1]],[]),N={type:"ordgroup",mode:"math",body:[m,S,T]};return c.callFunction("\\\\cdparent",[N],[])}case"\\\\cdlongequal":return c.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const m={type:"textord",text:"\\Vert",mode:"math"};return c.callFunction("\\Big",[m],[])}default:return{type:"textord",text:" ",mode:"math"}}}function pu(l){const a=[];for(l.gullet.beginGroup(),l.gullet.macros.set("\\cr","\\\\\\relax"),l.gullet.beginGroup();;){a.push(l.parseExpression(!1,"\\\\")),l.gullet.endGroup(),l.gullet.beginGroup();const A=l.fetch().text;if(A==="&"||A==="\\\\")l.consume();else if(A==="\\end"){a[a.length-1].length===0&&a.pop();break}else throw new e("Expected \\\\ or \\cr or \\end",l.nextToken)}let c=[];const d=[c];for(let A=0;A<a.length;A++){const S=a[A];let T=hu();for(let N=0;N<S.length;N++)if(!mi(S[N]))T.body.push(S[N]);else{c.push(T),N+=1;const q=fs(S[N]).text,K=new Array(2);if(K[0]={type:"ordgroup",mode:"math",body:[]},K[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(q)>-1))if("<>AV".indexOf(q)>-1)for(let he=0;he<2;he++){let Fe=!0;for(let Ne=N+1;Ne<S.length;Ne++){if(Nc(S[Ne],q)){Fe=!1,N=Ne;break}if(mi(S[Ne]))throw new e("Missing a "+q+" character to complete a CD arrow.",S[Ne]);K[he].body.push(S[Ne])}if(Fe)throw new e("Missing a "+q+" character to complete a CD arrow.",S[N])}else throw new e('Expected one of "<>AV=|." after @',S[N]);const ne={type:"styling",body:[_c(q,K,l)],mode:"math",style:"display"};c.push(ne),T=hu()}A%2===0?c.push(T):c.shift(),c=[],d.push(c)}l.gullet.endGroup(),l.gullet.endGroup();const m=new Array(d[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:d,arraystretch:1,addJot:!0,rowGaps:[null],cols:m,colSeparationType:"CD",hLinesBeforeRow:new Array(d.length+1).fill([])}}Ce({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:d}=l;return{type:"cdlabel",mode:c.mode,side:d.slice(4),label:a[0]}},htmlBuilder(l,a){const c=a.havingStyle(a.style.sup()),d=re.wrapFragment(it(l.label,c,a),a);return d.classes.push("cd-label-"+l.side),d.style.bottom=ve(.8-d.depth),d.height=0,d.depth=0,d},mathmlBuilder(l,a){let c=new me.MathNode("mrow",[bt(l.label,a)]);return c=new me.MathNode("mpadded",[c]),c.setAttribute("width","0"),l.side==="left"&&c.setAttribute("lspace","-1width"),c.setAttribute("voffset","0.7em"),c=new me.MathNode("mstyle",[c]),c.setAttribute("displaystyle","false"),c.setAttribute("scriptlevel","1"),c}}),Ce({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(l,a){let{parser:c}=l;return{type:"cdlabelparent",mode:c.mode,fragment:a[0]}},htmlBuilder(l,a){const c=re.wrapFragment(it(l.fragment,a),a);return c.classes.push("cd-vert-arrow"),c},mathmlBuilder(l,a){return new me.MathNode("mrow",[bt(l.fragment,a)])}}),Ce({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;const m=Ze(a[0],"ordgroup").body;let A="";for(let N=0;N<m.length;N++){const q=Ze(m[N],"textord");A+=q.text}let S=parseInt(A),T;if(isNaN(S))throw new e("\\@char has non-numeric argument "+A);if(S<0||S>=1114111)throw new e("\\@char with invalid code point "+A);return S<=65535?T=String.fromCharCode(S):(S-=65536,T=String.fromCharCode((S>>10)+55296,(S&1023)+56320)),{type:"textord",mode:c.mode,text:T}}});const mu=(l,a)=>{const c=Rt(l.body,a.withColor(l.color),!1);return re.makeFragment(c)},ms=(l,a)=>{const c=Vt(l.body,a.withColor(l.color)),d=new me.MathNode("mstyle",c);return d.setAttribute("mathcolor",l.color),d};Ce({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(l,a){let{parser:c}=l;const d=Ze(a[0],"color-token").color,m=a[1];return{type:"color",mode:c.mode,color:d,body:_t(m)}},htmlBuilder:mu,mathmlBuilder:ms}),Ce({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(l,a){let{parser:c,breakOnTokenText:d}=l;const m=Ze(a[0],"color-token").color;c.gullet.macros.set("\\current@color",m);const A=c.parseExpression(!0,d);return{type:"color",mode:c.mode,color:m,body:A}},htmlBuilder:mu,mathmlBuilder:ms}),Ce({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(l,a,c){let{parser:d}=l;const m=d.gullet.future().text==="["?d.parseSizeGroup(!0):null,A=!d.settings.displayMode||!d.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:d.mode,newLine:A,size:m&&Ze(m,"size").value}},htmlBuilder(l,a){const c=re.makeSpan(["mspace"],[],a);return l.newLine&&(c.classes.push("newline"),l.size&&(c.style.marginTop=ve(ft(l.size,a)))),c},mathmlBuilder(l,a){const c=new me.MathNode("mspace");return l.newLine&&(c.setAttribute("linebreak","newline"),l.size&&c.setAttribute("height",ve(ft(l.size,a)))),c}});const tn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},gi=l=>{const a=l.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new e("Expected a control sequence",l);return a},Pc=l=>{let a=l.gullet.popToken();return a.text==="="&&(a=l.gullet.popToken(),a.text===" "&&(a=l.gullet.popToken())),a},yi=(l,a,c,d)=>{let m=l.gullet.macros.get(c.text);m==null&&(c.noexpand=!0,m={tokens:[c],numArgs:0,unexpandable:!l.gullet.isExpandable(c.text)}),l.gullet.macros.set(a,m,d)};Ce({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(l){let{parser:a,funcName:c}=l;a.consumeSpaces();const d=a.fetch();if(tn[d.text])return(c==="\\global"||c==="\\\\globallong")&&(d.text=tn[d.text]),Ze(a.parseFunction(),"internal");throw new e("Invalid token after macro prefix",d)}}),Ce({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l,d=a.gullet.popToken();const m=d.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(m))throw new e("Expected a control sequence",d);let A=0,S;const T=[[]];for(;a.gullet.future().text!=="{";)if(d=a.gullet.popToken(),d.text==="#"){if(a.gullet.future().text==="{"){S=a.gullet.future(),T[A].push("{");break}if(d=a.gullet.popToken(),!/^[1-9]$/.test(d.text))throw new e('Invalid argument number "'+d.text+'"');if(parseInt(d.text)!==A+1)throw new e('Argument number "'+d.text+'" out of order');A++,T.push([])}else{if(d.text==="EOF")throw new e("Expected a macro definition");T[A].push(d.text)}let{tokens:N}=a.gullet.consumeArg();return S&&N.unshift(S),(c==="\\edef"||c==="\\xdef")&&(N=a.gullet.expandTokens(N),N.reverse()),a.gullet.macros.set(m,{tokens:N,numArgs:A,delimiters:T},c===tn[c]),{type:"internal",mode:a.mode}}}),Ce({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l;const d=gi(a.gullet.popToken());a.gullet.consumeSpaces();const m=Pc(a);return yi(a,d,m,c==="\\\\globallet"),{type:"internal",mode:a.mode}}}),Ce({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l;const d=gi(a.gullet.popToken()),m=a.gullet.popToken(),A=a.gullet.popToken();return yi(a,d,A,c==="\\\\globalfuture"),a.gullet.pushToken(A),a.gullet.pushToken(m),{type:"internal",mode:a.mode}}});const F0=function(l,a,c){const d=Ve.math[l]&&Ve.math[l].replace,m=zr(d||l,a,c);if(!m)throw new Error("Unsupported symbol "+l+" and font size "+a+".");return m},bi=function(l,a,c,d){const m=c.havingBaseStyle(a),A=re.makeSpan(d.concat(m.sizingClasses(c)),[l],c),S=m.sizeMultiplier/c.sizeMultiplier;return A.height*=S,A.depth*=S,A.maxFontSize=m.sizeMultiplier,A},gu=function(l,a,c){const d=a.havingBaseStyle(c),m=(1-a.sizeMultiplier/d.sizeMultiplier)*a.fontMetrics().axisHeight;l.classes.push("delimcenter"),l.style.top=ve(m),l.height-=m,l.depth+=m},Rc=function(l,a,c,d,m,A){const S=re.makeSymbol(l,"Main-Regular",m,d),T=bi(S,a,d,A);return c&&gu(T,d,a),T},yu=function(l,a,c,d){return re.makeSymbol(l,"Size"+a+"-Regular",c,d)},gs=function(l,a,c,d,m,A){const S=yu(l,a,m,d),T=bi(re.makeSpan(["delimsizing","size"+a],[S],d),ue.TEXT,d,A);return c&&gu(T,d,ue.TEXT),T},D0=function(l,a,c){let d;return a==="Size1-Regular"?d="delim-size1":d="delim-size4",{type:"elem",elem:re.makeSpan(["delimsizinginner",d],[re.makeSpan([],[re.makeSymbol(l,a,c)])])}},vi=function(l,a,c){const d=Zt["Size4-Regular"][l.charCodeAt(0)]?Zt["Size4-Regular"][l.charCodeAt(0)][4]:Zt["Size1-Regular"][l.charCodeAt(0)][4],m=new wr("inner",Jt(l,Math.round(1e3*a))),A=new xr([m],{width:ve(d),height:ve(a),style:"width:"+ve(d),viewBox:"0 0 "+1e3*d+" "+Math.round(1e3*a),preserveAspectRatio:"xMinYMin"}),S=re.makeSvgSpan([],[A],c);return S.height=a,S.style.height=ve(a),S.style.width=ve(d),{type:"elem",elem:S}},Ai=.008,e0={type:"kern",size:-1*Ai},Ei=["|","\\lvert","\\rvert","\\vert"],bu=["\\|","\\lVert","\\rVert","\\Vert"],vu=function(l,a,c,d,m,A){let S,T,N,q,K="",ee=0;S=N=q=l,T=null;let ne="Size1-Regular";l==="\\uparrow"?N=q="⏐":l==="\\Uparrow"?N=q="‖":l==="\\downarrow"?S=N="⏐":l==="\\Downarrow"?S=N="‖":l==="\\updownarrow"?(S="\\uparrow",N="⏐",q="\\downarrow"):l==="\\Updownarrow"?(S="\\Uparrow",N="‖",q="\\Downarrow"):_.contains(Ei,l)?(N="∣",K="vert",ee=333):_.contains(bu,l)?(N="∥",K="doublevert",ee=556):l==="["||l==="\\lbrack"?(S="⎡",N="⎢",q="⎣",ne="Size4-Regular",K="lbrack",ee=667):l==="]"||l==="\\rbrack"?(S="⎤",N="⎥",q="⎦",ne="Size4-Regular",K="rbrack",ee=667):l==="\\lfloor"||l==="⌊"?(N=S="⎢",q="⎣",ne="Size4-Regular",K="lfloor",ee=667):l==="\\lceil"||l==="⌈"?(S="⎡",N=q="⎢",ne="Size4-Regular",K="lceil",ee=667):l==="\\rfloor"||l==="⌋"?(N=S="⎥",q="⎦",ne="Size4-Regular",K="rfloor",ee=667):l==="\\rceil"||l==="⌉"?(S="⎤",N=q="⎥",ne="Size4-Regular",K="rceil",ee=667):l==="("||l==="\\lparen"?(S="⎛",N="⎜",q="⎝",ne="Size4-Regular",K="lparen",ee=875):l===")"||l==="\\rparen"?(S="⎞",N="⎟",q="⎠",ne="Size4-Regular",K="rparen",ee=875):l==="\\{"||l==="\\lbrace"?(S="⎧",T="⎨",q="⎩",N="⎪",ne="Size4-Regular"):l==="\\}"||l==="\\rbrace"?(S="⎫",T="⎬",q="⎭",N="⎪",ne="Size4-Regular"):l==="\\lgroup"||l==="⟮"?(S="⎧",q="⎩",N="⎪",ne="Size4-Regular"):l==="\\rgroup"||l==="⟯"?(S="⎫",q="⎭",N="⎪",ne="Size4-Regular"):l==="\\lmoustache"||l==="⎰"?(S="⎧",q="⎭",N="⎪",ne="Size4-Regular"):(l==="\\rmoustache"||l==="⎱")&&(S="⎫",q="⎩",N="⎪",ne="Size4-Regular");const he=F0(S,ne,m),Fe=he.height+he.depth,Ne=F0(N,ne,m),nt=Ne.height+Ne.depth,tt=F0(q,ne,m),st=tt.height+tt.depth;let ct=0,wt=1;if(T!==null){const Nt=F0(T,ne,m);ct=Nt.height+Nt.depth,wt=2}const Xt=Fe+st+ct,jt=Math.max(0,Math.ceil((a-Xt)/(wt*nt))),ar=Xt+jt*wt*nt;let i0=d.fontMetrics().axisHeight;c&&(i0*=d.sizeMultiplier);const at=ar/2-i0,dt=[];if(K.length>0){const Nt=ar-Fe-st,Mt=Math.round(ar*1e3),mr=En(K,Math.round(Nt*1e3)),nf=new wr(K,mr),eo=(ee/1e3).toFixed(3)+"em",to=(Mt/1e3).toFixed(3)+"em",ro=new xr([nf],{width:eo,height:to,viewBox:"0 0 "+ee+" "+Mt}),Es=re.makeSvgSpan([],[ro],d);Es.height=Mt/1e3,Es.style.width=eo,Es.style.height=to,dt.push({type:"elem",elem:Es})}else{if(dt.push(D0(q,ne,m)),dt.push(e0),T===null){const Nt=ar-Fe-st+2*Ai;dt.push(vi(N,Nt,d))}else{const Nt=(ar-Fe-st-ct)/2+2*Ai;dt.push(vi(N,Nt,d)),dt.push(e0),dt.push(D0(T,ne,m)),dt.push(e0),dt.push(vi(N,Nt,d))}dt.push(e0),dt.push(D0(S,ne,m))}const St=d.havingBaseStyle(ue.TEXT),Bt=re.makeVList({positionType:"bottom",positionData:at,children:dt},St);return bi(re.makeSpan(["delimsizing","mult"],[Bt],St),ue.TEXT,d,A)},xi=80,t0=.08,ys=function(l,a,c,d,m){const A=It(l,d,c),S=new wr(l,A),T=new xr([S],{width:"400em",height:ve(a),viewBox:"0 0 400000 "+c,preserveAspectRatio:"xMinYMin slice"});return re.makeSvgSpan(["hide-tail"],[T],m)},jc=function(l,a){const c=a.havingBaseSizing(),d=Su("\\surd",l*c.sizeMultiplier,wu,c);let m=c.sizeMultiplier;const A=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness);let S,T=0,N=0,q=0,K;return d.type==="small"?(q=1e3+1e3*A+xi,l<1?m=1:l<1.4&&(m=.7),T=(1+A+t0)/m,N=(1+A)/m,S=ys("sqrtMain",T,q,A,a),S.style.minWidth="0.853em",K=.833/m):d.type==="large"?(q=(1e3+xi)*r0[d.size],N=(r0[d.size]+A)/m,T=(r0[d.size]+A+t0)/m,S=ys("sqrtSize"+d.size,T,q,A,a),S.style.minWidth="1.02em",K=1/m):(T=l+A+t0,N=l+A,q=Math.floor(1e3*l+A)+xi,S=ys("sqrtTall",T,q,A,a),S.style.minWidth="0.742em",K=1.056),S.height=N,S.style.height=ve(T),{span:S,advanceWidth:K,ruleWidth:(a.fontMetrics().sqrtRuleThickness+A)*m}},wi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Au=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Eu=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],r0=[0,1.2,1.8,2.4,3],zc=function(l,a,c,d,m){if(l==="<"||l==="\\lt"||l==="⟨"?l="\\langle":(l===">"||l==="\\gt"||l==="⟩")&&(l="\\rangle"),_.contains(wi,l)||_.contains(Eu,l))return gs(l,a,!1,c,d,m);if(_.contains(Au,l))return vu(l,r0[a],!1,c,d,m);throw new e("Illegal delimiter: '"+l+"'")},Ic=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],xu=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"stack"}],wu=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Cu=function(l){if(l.type==="small")return"Main-Regular";if(l.type==="large")return"Size"+l.size+"-Regular";if(l.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+l.type+"' here.")},Su=function(l,a,c,d){const m=Math.min(2,3-d.style.size);for(let A=m;A<c.length&&c[A].type!=="stack";A++){const S=F0(l,Cu(c[A]),"math");let T=S.height+S.depth;if(c[A].type==="small"){const N=d.havingBaseStyle(c[A].style);T*=N.sizeMultiplier}if(T>a)return c[A]}return c[c.length-1]},Ci=function(l,a,c,d,m,A){l==="<"||l==="\\lt"||l==="⟨"?l="\\langle":(l===">"||l==="\\gt"||l==="⟩")&&(l="\\rangle");let S;_.contains(Eu,l)?S=Ic:_.contains(wi,l)?S=wu:S=xu;const T=Su(l,a,S,d);return T.type==="small"?Rc(l,T.style,c,d,m,A):T.type==="large"?gs(l,T.size,c,d,m,A):vu(l,a,c,d,m,A)};var Hr={sqrtImage:jc,sizedDelim:zc,sizeToMaxHeight:r0,customSizedDelim:Ci,leftRightDelim:function(l,a,c,d,m,A){const S=d.fontMetrics().axisHeight*d.sizeMultiplier,T=901,N=5/d.fontMetrics().ptPerEm,q=Math.max(a-S,c+S),K=Math.max(q/500*T,2*q-N);return Ci(l,K,!0,d,m,A)}};const Si={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Lc=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function B0(l,a){const c=ds(l);if(c&&_.contains(Lc,c.text))return c;throw c?new e("Invalid delimiter '"+c.text+"' after '"+a.funcName+"'",l):new e("Invalid delimiter type '"+l.type+"'",l)}Ce({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(l,a)=>{const c=B0(a[0],l);return{type:"delimsizing",mode:l.parser.mode,size:Si[l.funcName].size,mclass:Si[l.funcName].mclass,delim:c.text}},htmlBuilder:(l,a)=>l.delim==="."?re.makeSpan([l.mclass]):Hr.sizedDelim(l.delim,l.size,a,l.mode,[l.mclass]),mathmlBuilder:l=>{const a=[];l.delim!=="."&&a.push(sr(l.delim,l.mode));const c=new me.MathNode("mo",a);l.mclass==="mopen"||l.mclass==="mclose"?c.setAttribute("fence","true"):c.setAttribute("fence","false"),c.setAttribute("stretchy","true");const d=ve(Hr.sizeToMaxHeight[l.size]);return c.setAttribute("minsize",d),c.setAttribute("maxsize",d),c}});function Fu(l){if(!l.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ce({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=l.parser.gullet.macros.get("\\current@color");if(c&&typeof c!="string")throw new e("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:B0(a[0],l).text,color:c}}}),Ce({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=B0(a[0],l),d=l.parser;++d.leftrightDepth;const m=d.parseExpression(!1);--d.leftrightDepth,d.expect("\\right",!1);const A=Ze(d.parseFunction(),"leftright-right");return{type:"leftright",mode:d.mode,body:m,left:c.text,right:A.delim,rightColor:A.color}},htmlBuilder:(l,a)=>{Fu(l);const c=Rt(l.body,a,!0,["mopen","mclose"]);let d=0,m=0,A=!1;for(let N=0;N<c.length;N++)c[N].isMiddle?A=!0:(d=Math.max(c[N].height,d),m=Math.max(c[N].depth,m));d*=a.sizeMultiplier,m*=a.sizeMultiplier;let S;if(l.left==="."?S=S0(a,["mopen"]):S=Hr.leftRightDelim(l.left,d,m,a,l.mode,["mopen"]),c.unshift(S),A)for(let N=1;N<c.length;N++){const K=c[N].isMiddle;K&&(c[N]=Hr.leftRightDelim(K.delim,d,m,K.options,l.mode,[]))}let T;if(l.right===".")T=S0(a,["mclose"]);else{const N=l.rightColor?a.withColor(l.rightColor):a;T=Hr.leftRightDelim(l.right,d,m,N,l.mode,["mclose"])}return c.push(T),re.makeSpan(["minner"],c,a)},mathmlBuilder:(l,a)=>{Fu(l);const c=Vt(l.body,a);if(l.left!=="."){const d=new me.MathNode("mo",[sr(l.left,l.mode)]);d.setAttribute("fence","true"),c.unshift(d)}if(l.right!=="."){const d=new me.MathNode("mo",[sr(l.right,l.mode)]);d.setAttribute("fence","true"),l.rightColor&&d.setAttribute("mathcolor",l.rightColor),c.push(d)}return li(c)}}),Ce({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=B0(a[0],l);if(!l.parser.leftrightDepth)throw new e("\\middle without preceding \\left",c);return{type:"middle",mode:l.parser.mode,delim:c.text}},htmlBuilder:(l,a)=>{let c;if(l.delim===".")c=S0(a,[]);else{c=Hr.sizedDelim(l.delim,1,a,l.mode,[]);const d={delim:l.delim,options:a};c.isMiddle=d}return c},mathmlBuilder:(l,a)=>{const c=l.delim==="\\vert"||l.delim==="|"?sr("|","text"):sr(l.delim,l.mode),d=new me.MathNode("mo",[c]);return d.setAttribute("fence","true"),d.setAttribute("lspace","0.05em"),d.setAttribute("rspace","0.05em"),d}});const bs=(l,a)=>{const c=re.wrapFragment(it(l.body,a),a),d=l.label.slice(1);let m=a.sizeMultiplier,A,S=0;const T=_.isCharacterBox(l.body);if(d==="sout")A=re.makeSpan(["stretchy","sout"]),A.height=a.fontMetrics().defaultRuleThickness/m,S=-.5*a.fontMetrics().xHeight;else if(d==="phase"){const q=ft({number:.6,unit:"pt"},a),K=ft({number:.35,unit:"ex"},a),ee=a.havingBaseSizing();m=m/ee.sizeMultiplier;const ne=c.height+c.depth+q+K;c.style.paddingLeft=ve(ne/2+q);const he=Math.floor(1e3*ne*m),Fe=ae(he),Ne=new xr([new wr("phase",Fe)],{width:"400em",height:ve(he/1e3),viewBox:"0 0 400000 "+he,preserveAspectRatio:"xMinYMin slice"});A=re.makeSvgSpan(["hide-tail"],[Ne],a),A.style.height=ve(ne),S=c.depth+q+K}else{/cancel/.test(d)?T||c.classes.push("cancel-pad"):d==="angl"?c.classes.push("anglpad"):c.classes.push("boxpad");let q=0,K=0,ee=0;/box/.test(d)?(ee=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),q=a.fontMetrics().fboxsep+(d==="colorbox"?0:ee),K=q):d==="angl"?(ee=Math.max(a.fontMetrics().defaultRuleThickness,a.minRuleThickness),q=4*ee,K=Math.max(0,.25-c.depth)):(q=T?.2:0,K=q),A=Or.encloseSpan(c,d,q,K,a),/fbox|boxed|fcolorbox/.test(d)?(A.style.borderStyle="solid",A.style.borderWidth=ve(ee)):d==="angl"&&ee!==.049&&(A.style.borderTopWidth=ve(ee),A.style.borderRightWidth=ve(ee)),S=c.depth+K,l.backgroundColor&&(A.style.backgroundColor=l.backgroundColor,l.borderColor&&(A.style.borderColor=l.borderColor))}let N;if(l.backgroundColor)N=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:A,shift:S},{type:"elem",elem:c,shift:0}]},a);else{const q=/cancel|phase/.test(d)?["svg-align"]:[];N=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:A,shift:S,wrapperClasses:q}]},a)}return/cancel/.test(d)&&(N.height=c.height,N.depth=c.depth),/cancel/.test(d)&&!T?re.makeSpan(["mord","cancel-lap"],[N],a):re.makeSpan(["mord"],[N],a)},Fi=(l,a)=>{let c=0;const d=new me.MathNode(l.label.indexOf("colorbox")>-1?"mpadded":"menclose",[bt(l.body,a)]);switch(l.label){case"\\cancel":d.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":d.setAttribute("notation","downdiagonalstrike");break;case"\\phase":d.setAttribute("notation","phasorangle");break;case"\\sout":d.setAttribute("notation","horizontalstrike");break;case"\\fbox":d.setAttribute("notation","box");break;case"\\angl":d.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(c=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,d.setAttribute("width","+"+2*c+"pt"),d.setAttribute("height","+"+2*c+"pt"),d.setAttribute("lspace",c+"pt"),d.setAttribute("voffset",c+"pt"),l.label==="\\fcolorbox"){const m=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);d.setAttribute("style","border: "+m+"em solid "+String(l.borderColor))}break;case"\\xcancel":d.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&d.setAttribute("mathbackground",l.backgroundColor),d};Ce({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(l,a,c){let{parser:d,funcName:m}=l;const A=Ze(a[0],"color-token").color,S=a[1];return{type:"enclose",mode:d.mode,label:m,backgroundColor:A,body:S}},htmlBuilder:bs,mathmlBuilder:Fi}),Ce({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(l,a,c){let{parser:d,funcName:m}=l;const A=Ze(a[0],"color-token").color,S=Ze(a[1],"color-token").color,T=a[2];return{type:"enclose",mode:d.mode,label:m,backgroundColor:S,borderColor:A,body:T}},htmlBuilder:bs,mathmlBuilder:Fi}),Ce({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"enclose",mode:c.mode,label:"\\fbox",body:a[0]}}}),Ce({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:d}=l;const m=a[0];return{type:"enclose",mode:c.mode,label:d,body:m}},htmlBuilder:bs,mathmlBuilder:Fi}),Ce({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(l,a){let{parser:c}=l;return{type:"enclose",mode:c.mode,label:"\\angl",body:a[0]}}});const Du={};function Fr(l){let{type:a,names:c,props:d,handler:m,htmlBuilder:A,mathmlBuilder:S}=l;const T={type:a,numArgs:d.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:m};for(let N=0;N<c.length;++N)Du[c[N]]=T;A&&(is[a]=A),S&&(as[a]=S)}const Bu={};function $(l,a){Bu[l]=a}class rr{constructor(a,c,d){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=a,this.start=c,this.end=d}static range(a,c){return c?!a||!a.loc||!c.loc||a.loc.lexer!==c.loc.lexer?null:new rr(a.loc.lexer,a.loc.start,c.loc.end):a&&a.loc}}class pr{constructor(a,c){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=a,this.loc=c}range(a,c){return new pr(c,rr.range(this,a))}}function ku(l){const a=[];l.consumeSpaces();let c=l.fetch().text;for(c==="\\relax"&&(l.consume(),l.consumeSpaces(),c=l.fetch().text);c==="\\hline"||c==="\\hdashline";)l.consume(),a.push(c==="\\hdashline"),l.consumeSpaces(),c=l.fetch().text;return a}const k0=l=>{if(!l.parser.settings.displayMode)throw new e("{"+l.envName+"} can be used only in display mode.")};function vs(l){if(l.indexOf("ed")===-1)return l.indexOf("*")===-1}function Dr(l,a,c){let{hskipBeforeAndAfter:d,addJot:m,cols:A,arraystretch:S,colSeparationType:T,autoTag:N,singleRow:q,emptySingleRow:K,maxNumCols:ee,leqno:ne}=a;if(l.gullet.beginGroup(),q||l.gullet.macros.set("\\cr","\\\\\\relax"),!S){const wt=l.gullet.expandMacroAsText("\\arraystretch");if(wt==null)S=1;else if(S=parseFloat(wt),!S||S<0)throw new e("Invalid \\arraystretch: "+wt)}l.gullet.beginGroup();let he=[];const Fe=[he],Ne=[],nt=[],tt=N!=null?[]:void 0;function st(){N&&l.gullet.macros.set("\\@eqnsw","1",!0)}function ct(){tt&&(l.gullet.macros.get("\\df@tag")?(tt.push(l.subparse([new pr("\\df@tag")])),l.gullet.macros.set("\\df@tag",void 0,!0)):tt.push(!!N&&l.gullet.macros.get("\\@eqnsw")==="1"))}for(st(),nt.push(ku(l));;){let wt=l.parseExpression(!1,q?"\\end":"\\\\");l.gullet.endGroup(),l.gullet.beginGroup(),wt={type:"ordgroup",mode:l.mode,body:wt},c&&(wt={type:"styling",mode:l.mode,style:c,body:[wt]}),he.push(wt);const Xt=l.fetch().text;if(Xt==="&"){if(ee&&he.length===ee){if(q||T)throw new e("Too many tab characters: &",l.nextToken);l.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}l.consume()}else if(Xt==="\\end"){ct(),he.length===1&&wt.type==="styling"&&wt.body[0].body.length===0&&(Fe.length>1||!K)&&Fe.pop(),nt.length<Fe.length+1&&nt.push([]);break}else if(Xt==="\\\\"){l.consume();let jt;l.gullet.future().text!==" "&&(jt=l.parseSizeGroup(!0)),Ne.push(jt?jt.value:null),ct(),nt.push(ku(l)),he=[],Fe.push(he),st()}else throw new e("Expected & or \\\\ or \\cr or \\end",l.nextToken)}return l.gullet.endGroup(),l.gullet.endGroup(),{type:"array",mode:l.mode,addJot:m,arraystretch:S,body:Fe,cols:A,rowGaps:Ne,hskipBeforeAndAfter:d,hLinesBeforeRow:nt,colSeparationType:T,tags:tt,leqno:ne}}function n0(l){return l.slice(0,1)==="d"?"display":"text"}const ir=function(l,a){let c,d;const m=l.body.length,A=l.hLinesBeforeRow;let S=0,T=new Array(m);const N=[],q=Math.max(a.fontMetrics().arrayRuleWidth,a.minRuleThickness),K=1/a.fontMetrics().ptPerEm;let ee=5*K;l.colSeparationType&&l.colSeparationType==="small"&&(ee=.2778*(a.havingStyle(ue.SCRIPT).sizeMultiplier/a.sizeMultiplier));const ne=l.colSeparationType==="CD"?ft({number:3,unit:"ex"},a):12*K,he=3*K,Fe=l.arraystretch*ne,Ne=.7*Fe,nt=.3*Fe;let tt=0;function st(at){for(let dt=0;dt<at.length;++dt)dt>0&&(tt+=.25),N.push({pos:tt,isDashed:at[dt]})}for(st(A[0]),c=0;c<l.body.length;++c){const at=l.body[c];let dt=Ne,St=nt;S<at.length&&(S=at.length);const Bt=new Array(at.length);for(d=0;d<at.length;++d){const mr=it(at[d],a);St<mr.depth&&(St=mr.depth),dt<mr.height&&(dt=mr.height),Bt[d]=mr}const Nt=l.rowGaps[c];let Mt=0;Nt&&(Mt=ft(Nt,a),Mt>0&&(Mt+=nt,St<Mt&&(St=Mt),Mt=0)),l.addJot&&(St+=he),Bt.height=dt,Bt.depth=St,tt+=dt,Bt.pos=tt,tt+=St+Mt,T[c]=Bt,st(A[c+1])}const ct=tt/2+a.fontMetrics().axisHeight,wt=l.cols||[],Xt=[];let jt,ar;const i0=[];if(l.tags&&l.tags.some(at=>at))for(c=0;c<m;++c){const at=T[c],dt=at.pos-ct,St=l.tags[c];let Bt;St===!0?Bt=re.makeSpan(["eqn-num"],[],a):St===!1?Bt=re.makeSpan([],[],a):Bt=re.makeSpan([],Rt(St,a,!0),a),Bt.depth=at.depth,Bt.height=at.height,i0.push({type:"elem",elem:Bt,shift:dt})}for(d=0,ar=0;d<S||ar<wt.length;++d,++ar){let at=wt[ar]||{},dt=!0;for(;at.type==="separator";){if(dt||(jt=re.makeSpan(["arraycolsep"],[]),jt.style.width=ve(a.fontMetrics().doubleRuleSep),Xt.push(jt)),at.separator==="|"||at.separator===":"){const Nt=at.separator==="|"?"solid":"dashed",Mt=re.makeSpan(["vertical-separator"],[],a);Mt.style.height=ve(tt),Mt.style.borderRightWidth=ve(q),Mt.style.borderRightStyle=Nt,Mt.style.margin="0 "+ve(-q/2);const mr=tt-ct;mr&&(Mt.style.verticalAlign=ve(-mr)),Xt.push(Mt)}else throw new e("Invalid separator type: "+at.separator);ar++,at=wt[ar]||{},dt=!1}if(d>=S)continue;let St;(d>0||l.hskipBeforeAndAfter)&&(St=_.deflt(at.pregap,ee),St!==0&&(jt=re.makeSpan(["arraycolsep"],[]),jt.style.width=ve(St),Xt.push(jt)));let Bt=[];for(c=0;c<m;++c){const Nt=T[c],Mt=Nt[d];if(!Mt)continue;const mr=Nt.pos-ct;Mt.depth=Nt.depth,Mt.height=Nt.height,Bt.push({type:"elem",elem:Mt,shift:mr})}Bt=re.makeVList({positionType:"individualShift",children:Bt},a),Bt=re.makeSpan(["col-align-"+(at.align||"c")],[Bt]),Xt.push(Bt),(d<S-1||l.hskipBeforeAndAfter)&&(St=_.deflt(at.postgap,ee),St!==0&&(jt=re.makeSpan(["arraycolsep"],[]),jt.style.width=ve(St),Xt.push(jt)))}if(T=re.makeSpan(["mtable"],Xt),N.length>0){const at=re.makeLineSpan("hline",a,q),dt=re.makeLineSpan("hdashline",a,q),St=[{type:"elem",elem:T,shift:0}];for(;N.length>0;){const Bt=N.pop(),Nt=Bt.pos-ct;Bt.isDashed?St.push({type:"elem",elem:dt,shift:Nt}):St.push({type:"elem",elem:at,shift:Nt})}T=re.makeVList({positionType:"individualShift",children:St},a)}if(i0.length===0)return re.makeSpan(["mord"],[T],a);{let at=re.makeVList({positionType:"individualShift",children:i0},a);return at=re.makeSpan(["tag"],[at],a),re.makeFragment([T,at])}},As={c:"center ",l:"left ",r:"right "},Nr=function(l,a){const c=[],d=new me.MathNode("mtd",[],["mtr-glue"]),m=new me.MathNode("mtd",[],["mml-eqn-num"]);for(let ee=0;ee<l.body.length;ee++){const ne=l.body[ee],he=[];for(let Fe=0;Fe<ne.length;Fe++)he.push(new me.MathNode("mtd",[bt(ne[Fe],a)]));l.tags&&l.tags[ee]&&(he.unshift(d),he.push(d),l.leqno?he.unshift(m):he.push(m)),c.push(new me.MathNode("mtr",he))}let A=new me.MathNode("mtable",c);const S=l.arraystretch===.5?.1:.16+l.arraystretch-1+(l.addJot?.09:0);A.setAttribute("rowspacing",ve(S));let T="",N="";if(l.cols&&l.cols.length>0){const ee=l.cols;let ne="",he=!1,Fe=0,Ne=ee.length;ee[0].type==="separator"&&(T+="top ",Fe=1),ee[ee.length-1].type==="separator"&&(T+="bottom ",Ne-=1);for(let nt=Fe;nt<Ne;nt++)ee[nt].type==="align"?(N+=As[ee[nt].align],he&&(ne+="none "),he=!0):ee[nt].type==="separator"&&he&&(ne+=ee[nt].separator==="|"?"solid ":"dashed ",he=!1);A.setAttribute("columnalign",N.trim()),/[sd]/.test(ne)&&A.setAttribute("columnlines",ne.trim())}if(l.colSeparationType==="align"){const ee=l.cols||[];let ne="";for(let he=1;he<ee.length;he++)ne+=he%2?"0em ":"1em ";A.setAttribute("columnspacing",ne.trim())}else l.colSeparationType==="alignat"||l.colSeparationType==="gather"?A.setAttribute("columnspacing","0em"):l.colSeparationType==="small"?A.setAttribute("columnspacing","0.2778em"):l.colSeparationType==="CD"?A.setAttribute("columnspacing","0.5em"):A.setAttribute("columnspacing","1em");let q="";const K=l.hLinesBeforeRow;T+=K[0].length>0?"left ":"",T+=K[K.length-1].length>0?"right ":"";for(let ee=1;ee<K.length-1;ee++)q+=K[ee].length===0?"none ":K[ee][0]?"dashed ":"solid ";return/[sd]/.test(q)&&A.setAttribute("rowlines",q.trim()),T!==""&&(A=new me.MathNode("menclose",[A]),A.setAttribute("notation",T.trim())),l.arraystretch&&l.arraystretch<1&&(A=new me.MathNode("mstyle",[A]),A.setAttribute("scriptlevel","1")),A},Tu=function(l,a){l.envName.indexOf("ed")===-1&&k0(l);const c=[],d=l.envName.indexOf("at")>-1?"alignat":"align",m=l.envName==="split",A=Dr(l.parser,{cols:c,addJot:!0,autoTag:m?void 0:vs(l.envName),emptySingleRow:!0,colSeparationType:d,maxNumCols:m?2:void 0,leqno:l.parser.settings.leqno},"display");let S,T=0;const N={type:"ordgroup",mode:l.mode,body:[]};if(a[0]&&a[0].type==="ordgroup"){let K="";for(let ee=0;ee<a[0].body.length;ee++){const ne=Ze(a[0].body[ee],"textord");K+=ne.text}S=Number(K),T=S*2}const q=!T;A.body.forEach(function(K){for(let ee=1;ee<K.length;ee+=2){const ne=Ze(K[ee],"styling");Ze(ne.body[0],"ordgroup").body.unshift(N)}if(q)T<K.length&&(T=K.length);else{const ee=K.length/2;if(S<ee)throw new e("Too many math in a row: "+("expected "+S+", but got "+ee),K[0])}});for(let K=0;K<T;++K){let ee="r",ne=0;K%2===1?ee="l":K>0&&q&&(ne=1),c[K]={type:"align",align:ee,pregap:ne,postgap:0}}return A.colSeparationType=q?"align":"alignat",A};Fr({type:"array",names:["array","darray"],props:{numArgs:1},handler(l,a){const m=(ds(a[0])?[a[0]]:Ze(a[0],"ordgroup").body).map(function(S){const N=fs(S).text;if("lcr".indexOf(N)!==-1)return{type:"align",align:N};if(N==="|")return{type:"separator",separator:"|"};if(N===":")return{type:"separator",separator:":"};throw new e("Unknown column alignment: "+N,S)}),A={cols:m,hskipBeforeAndAfter:!0,maxNumCols:m.length};return Dr(l.parser,A,n0(l.envName))},htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(l){const a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[l.envName.replace("*","")];let c="c";const d={hskipBeforeAndAfter:!1,cols:[{type:"align",align:c}]};if(l.envName.charAt(l.envName.length-1)==="*"){const S=l.parser;if(S.consumeSpaces(),S.fetch().text==="["){if(S.consume(),S.consumeSpaces(),c=S.fetch().text,"lcr".indexOf(c)===-1)throw new e("Expected l or c or r",S.nextToken);S.consume(),S.consumeSpaces(),S.expect("]"),S.consume(),d.cols=[{type:"align",align:c}]}}const m=Dr(l.parser,d,n0(l.envName)),A=Math.max(0,...m.body.map(S=>S.length));return m.cols=new Array(A).fill({type:"align",align:c}),a?{type:"leftright",mode:l.mode,body:[m],left:a[0],right:a[1],rightColor:void 0}:m},htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(l){const a={arraystretch:.5},c=Dr(l.parser,a,"script");return c.colSeparationType="small",c},htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["subarray"],props:{numArgs:1},handler(l,a){const m=(ds(a[0])?[a[0]]:Ze(a[0],"ordgroup").body).map(function(S){const N=fs(S).text;if("lc".indexOf(N)!==-1)return{type:"align",align:N};throw new e("Unknown column alignment: "+N,S)});if(m.length>1)throw new e("{subarray} can contain only one column");let A={cols:m,hskipBeforeAndAfter:!1,arraystretch:.5};if(A=Dr(l.parser,A,"script"),A.body.length>0&&A.body[0].length>1)throw new e("{subarray} can contain only one column");return A},htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(l){const a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},c=Dr(l.parser,a,n0(l.envName));return{type:"leftright",mode:l.mode,body:[c],left:l.envName.indexOf("r")>-1?".":"\\{",right:l.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Tu,htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(l){_.contains(["gather","gather*"],l.envName)&&k0(l);const a={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:vs(l.envName),emptySingleRow:!0,leqno:l.parser.settings.leqno};return Dr(l.parser,a,"display")},htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Tu,htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(l){k0(l);const a={autoTag:vs(l.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:l.parser.settings.leqno};return Dr(l.parser,a,"display")},htmlBuilder:ir,mathmlBuilder:Nr}),Fr({type:"array",names:["CD"],props:{numArgs:0},handler(l){return k0(l),pu(l.parser)},htmlBuilder:ir,mathmlBuilder:Nr}),$("\\nonumber","\\gdef\\@eqnsw{0}"),$("\\notag","\\nonumber"),Ce({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(l,a){throw new e(l.funcName+" valid only within array environment")}});var $u=Du;Ce({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(l,a){let{parser:c,funcName:d}=l;const m=a[0];if(m.type!=="ordgroup")throw new e("Invalid environment name",m);let A="";for(let S=0;S<m.body.length;++S)A+=Ze(m.body[S],"textord").text;if(d==="\\begin"){if(!$u.hasOwnProperty(A))throw new e("No such environment: "+A,m);const S=$u[A],{args:T,optArgs:N}=c.parseArguments("\\begin{"+A+"}",S),q={mode:c.mode,envName:A,parser:c},K=S.handler(q,T,N);c.expect("\\end",!1);const ee=c.nextToken,ne=Ze(c.parseFunction(),"environment");if(ne.name!==A)throw new e("Mismatch: \\begin{"+A+"} matched by \\end{"+ne.name+"}",ee);return K}return{type:"environment",mode:c.mode,name:A,nameGroup:m}}});const Mu=(l,a)=>{const c=l.font,d=a.withFont(c);return it(l.body,d)},Bn=(l,a)=>{const c=l.font,d=a.withFont(c);return bt(l.body,d)},Ou={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ce({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(l,a)=>{let{parser:c,funcName:d}=l;const m=C0(a[0]);let A=d;return A in Ou&&(A=Ou[A]),{type:"font",mode:c.mode,font:A.slice(1),body:m}},htmlBuilder:Mu,mathmlBuilder:Bn}),Ce({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(l,a)=>{let{parser:c}=l;const d=a[0],m=_.isCharacterBox(d);return{type:"mclass",mode:c.mode,mclass:ps(d),body:[{type:"font",mode:c.mode,font:"boldsymbol",body:d}],isCharacterBox:m}}}),Ce({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(l,a)=>{let{parser:c,funcName:d,breakOnTokenText:m}=l;const{mode:A}=c,S=c.parseExpression(!0,m),T="math"+d.slice(1);return{type:"font",mode:A,font:T,body:{type:"ordgroup",mode:c.mode,body:S}}},htmlBuilder:Mu,mathmlBuilder:Bn});const Nu=(l,a)=>{let c=a;return l==="display"?c=c.id>=ue.SCRIPT.id?c.text():ue.DISPLAY:l==="text"&&c.size===ue.DISPLAY.size?c=ue.TEXT:l==="script"?c=ue.SCRIPT:l==="scriptscript"&&(c=ue.SCRIPTSCRIPT),c},Di=(l,a)=>{const c=Nu(l.size,a.style),d=c.fracNum(),m=c.fracDen();let A;A=a.havingStyle(d);const S=it(l.numer,A,a);if(l.continued){const st=8.5/a.fontMetrics().ptPerEm,ct=3.5/a.fontMetrics().ptPerEm;S.height=S.height<st?st:S.height,S.depth=S.depth<ct?ct:S.depth}A=a.havingStyle(m);const T=it(l.denom,A,a);let N,q,K;l.hasBarLine?(l.barSize?(q=ft(l.barSize,a),N=re.makeLineSpan("frac-line",a,q)):N=re.makeLineSpan("frac-line",a),q=N.height,K=N.height):(N=null,q=0,K=a.fontMetrics().defaultRuleThickness);let ee,ne,he;c.size===ue.DISPLAY.size||l.size==="display"?(ee=a.fontMetrics().num1,q>0?ne=3*K:ne=7*K,he=a.fontMetrics().denom1):(q>0?(ee=a.fontMetrics().num2,ne=K):(ee=a.fontMetrics().num3,ne=3*K),he=a.fontMetrics().denom2);let Fe;if(N){const st=a.fontMetrics().axisHeight;ee-S.depth-(st+.5*q)<ne&&(ee+=ne-(ee-S.depth-(st+.5*q))),st-.5*q-(T.height-he)<ne&&(he+=ne-(st-.5*q-(T.height-he)));const ct=-(st-.5*q);Fe=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:T,shift:he},{type:"elem",elem:N,shift:ct},{type:"elem",elem:S,shift:-ee}]},a)}else{const st=ee-S.depth-(T.height-he);st<ne&&(ee+=.5*(ne-st),he+=.5*(ne-st)),Fe=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:T,shift:he},{type:"elem",elem:S,shift:-ee}]},a)}A=a.havingStyle(c),Fe.height*=A.sizeMultiplier/a.sizeMultiplier,Fe.depth*=A.sizeMultiplier/a.sizeMultiplier;let Ne;c.size===ue.DISPLAY.size?Ne=a.fontMetrics().delim1:c.size===ue.SCRIPTSCRIPT.size?Ne=a.havingStyle(ue.SCRIPT).fontMetrics().delim2:Ne=a.fontMetrics().delim2;let nt,tt;return l.leftDelim==null?nt=S0(a,["mopen"]):nt=Hr.customSizedDelim(l.leftDelim,Ne,!0,a.havingStyle(c),l.mode,["mopen"]),l.continued?tt=re.makeSpan([]):l.rightDelim==null?tt=S0(a,["mclose"]):tt=Hr.customSizedDelim(l.rightDelim,Ne,!0,a.havingStyle(c),l.mode,["mclose"]),re.makeSpan(["mord"].concat(A.sizingClasses(a)),[nt,re.makeSpan(["mfrac"],[Fe]),tt],a)},Bi=(l,a)=>{let c=new me.MathNode("mfrac",[bt(l.numer,a),bt(l.denom,a)]);if(!l.hasBarLine)c.setAttribute("linethickness","0px");else if(l.barSize){const m=ft(l.barSize,a);c.setAttribute("linethickness",ve(m))}const d=Nu(l.size,a.style);if(d.size!==a.style.size){c=new me.MathNode("mstyle",[c]);const m=d.size===ue.DISPLAY.size?"true":"false";c.setAttribute("displaystyle",m),c.setAttribute("scriptlevel","0")}if(l.leftDelim!=null||l.rightDelim!=null){const m=[];if(l.leftDelim!=null){const A=new me.MathNode("mo",[new me.TextNode(l.leftDelim.replace("\\",""))]);A.setAttribute("fence","true"),m.push(A)}if(m.push(c),l.rightDelim!=null){const A=new me.MathNode("mo",[new me.TextNode(l.rightDelim.replace("\\",""))]);A.setAttribute("fence","true"),m.push(A)}return li(m)}return c};Ce({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(l,a)=>{let{parser:c,funcName:d}=l;const m=a[0],A=a[1];let S,T=null,N=null,q="auto";switch(d){case"\\dfrac":case"\\frac":case"\\tfrac":S=!0;break;case"\\\\atopfrac":S=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":S=!1,T="(",N=")";break;case"\\\\bracefrac":S=!1,T="\\{",N="\\}";break;case"\\\\brackfrac":S=!1,T="[",N="]";break;default:throw new Error("Unrecognized genfrac command")}switch(d){case"\\dfrac":case"\\dbinom":q="display";break;case"\\tfrac":case"\\tbinom":q="text";break}return{type:"genfrac",mode:c.mode,continued:!1,numer:m,denom:A,hasBarLine:S,leftDelim:T,rightDelim:N,size:q,barSize:null}},htmlBuilder:Di,mathmlBuilder:Bi}),Ce({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(l,a)=>{let{parser:c,funcName:d}=l;const m=a[0],A=a[1];return{type:"genfrac",mode:c.mode,continued:!0,numer:m,denom:A,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Ce({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(l){let{parser:a,funcName:c,token:d}=l,m;switch(c){case"\\over":m="\\frac";break;case"\\choose":m="\\binom";break;case"\\atop":m="\\\\atopfrac";break;case"\\brace":m="\\\\bracefrac";break;case"\\brack":m="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:m,token:d}}});const _u=["display","text","script","scriptscript"],Pu=function(l){let a=null;return l.length>0&&(a=l,a=a==="."?null:a),a};Ce({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(l,a){let{parser:c}=l;const d=a[4],m=a[5],A=C0(a[0]),S=A.type==="atom"&&A.family==="open"?Pu(A.text):null,T=C0(a[1]),N=T.type==="atom"&&T.family==="close"?Pu(T.text):null,q=Ze(a[2],"size");let K,ee=null;q.isBlank?K=!0:(ee=q.value,K=ee.number>0);let ne="auto",he=a[3];if(he.type==="ordgroup"){if(he.body.length>0){const Fe=Ze(he.body[0],"textord");ne=_u[Number(Fe.text)]}}else he=Ze(he,"textord"),ne=_u[Number(he.text)];return{type:"genfrac",mode:c.mode,numer:d,denom:m,continued:!1,hasBarLine:K,barSize:ee,leftDelim:S,rightDelim:N,size:ne}},htmlBuilder:Di,mathmlBuilder:Bi}),Ce({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(l,a){let{parser:c,funcName:d,token:m}=l;return{type:"infix",mode:c.mode,replaceWith:"\\\\abovefrac",size:Ze(a[0],"size").value,token:m}}}),Ce({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(l,a)=>{let{parser:c,funcName:d}=l;const m=a[0],A=J(Ze(a[1],"infix").size),S=a[2],T=A.number>0;return{type:"genfrac",mode:c.mode,numer:m,denom:S,continued:!1,hasBarLine:T,barSize:A,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Di,mathmlBuilder:Bi});const Ru=(l,a)=>{const c=a.style;let d,m;l.type==="supsub"?(d=l.sup?it(l.sup,a.havingStyle(c.sup()),a):it(l.sub,a.havingStyle(c.sub()),a),m=Ze(l.base,"horizBrace")):m=Ze(l,"horizBrace");const A=it(m.base,a.havingBaseStyle(ue.DISPLAY)),S=Or.svgSpan(m,a);let T;if(m.isOver?(T=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:A},{type:"kern",size:.1},{type:"elem",elem:S}]},a),T.children[0].children[0].children[1].classes.push("svg-align")):(T=re.makeVList({positionType:"bottom",positionData:A.depth+.1+S.height,children:[{type:"elem",elem:S},{type:"kern",size:.1},{type:"elem",elem:A}]},a),T.children[0].children[0].children[0].classes.push("svg-align")),d){const N=re.makeSpan(["mord",m.isOver?"mover":"munder"],[T],a);m.isOver?T=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:N},{type:"kern",size:.2},{type:"elem",elem:d}]},a):T=re.makeVList({positionType:"bottom",positionData:N.depth+.2+d.height+d.depth,children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:N}]},a)}return re.makeSpan(["mord",m.isOver?"mover":"munder"],[T],a)};Ce({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:d}=l;return{type:"horizBrace",mode:c.mode,label:d,isOver:/^\\over/.test(d),base:a[0]}},htmlBuilder:Ru,mathmlBuilder:(l,a)=>{const c=Or.mathMLnode(l.label);return new me.MathNode(l.isOver?"mover":"munder",[bt(l.base,a),c])}}),Ce({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const d=a[1],m=Ze(a[0],"url").url;return c.settings.isTrusted({command:"\\href",url:m})?{type:"href",mode:c.mode,href:m,body:_t(d)}:c.formatUnsupportedCmd("\\href")},htmlBuilder:(l,a)=>{const c=Rt(l.body,a,!1);return re.makeAnchor(l.href,[],c,a)},mathmlBuilder:(l,a)=>{let c=Vr(l.body,a);return c instanceof tr||(c=new tr("mrow",[c])),c.setAttribute("href",l.href),c}}),Ce({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const d=Ze(a[0],"url").url;if(!c.settings.isTrusted({command:"\\url",url:d}))return c.formatUnsupportedCmd("\\url");const m=[];for(let S=0;S<d.length;S++){let T=d[S];T==="~"&&(T="\\textasciitilde"),m.push({type:"textord",mode:"text",text:T})}const A={type:"text",mode:c.mode,font:"\\texttt",body:m};return{type:"href",mode:c.mode,href:d,body:_t(A)}}}),Ce({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(l,a){let{parser:c}=l;return{type:"hbox",mode:c.mode,body:_t(a[0])}},htmlBuilder(l,a){const c=Rt(l.body,a,!1);return re.makeFragment(c)},mathmlBuilder(l,a){return new me.MathNode("mrow",Vt(l.body,a))}}),Ce({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(l,a)=>{let{parser:c,funcName:d,token:m}=l;const A=Ze(a[0],"raw").string,S=a[1];c.settings.strict&&c.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let T;const N={};switch(d){case"\\htmlClass":N.class=A,T={command:"\\htmlClass",class:A};break;case"\\htmlId":N.id=A,T={command:"\\htmlId",id:A};break;case"\\htmlStyle":N.style=A,T={command:"\\htmlStyle",style:A};break;case"\\htmlData":{const q=A.split(",");for(let K=0;K<q.length;K++){const ee=q[K].split("=");if(ee.length!==2)throw new e("Error parsing key-value for \\htmlData");N["data-"+ee[0].trim()]=ee[1].trim()}T={command:"\\htmlData",attributes:N};break}default:throw new Error("Unrecognized html command")}return c.settings.isTrusted(T)?{type:"html",mode:c.mode,attributes:N,body:_t(S)}:c.formatUnsupportedCmd(d)},htmlBuilder:(l,a)=>{const c=Rt(l.body,a,!1),d=["enclosing"];l.attributes.class&&d.push(...l.attributes.class.trim().split(/\s+/));const m=re.makeSpan(d,c,a);for(const A in l.attributes)A!=="class"&&l.attributes.hasOwnProperty(A)&&m.setAttribute(A,l.attributes[A]);return m},mathmlBuilder:(l,a)=>Vr(l.body,a)}),Ce({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;return{type:"htmlmathml",mode:c.mode,html:_t(a[0]),mathml:_t(a[1])}},htmlBuilder:(l,a)=>{const c=Rt(l.html,a,!1);return re.makeFragment(c)},mathmlBuilder:(l,a)=>Vr(l.mathml,a)});const Wr=function(l){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(l))return{number:+l,unit:"bp"};{const a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(l);if(!a)throw new e("Invalid size: '"+l+"' in \\includegraphics");const c={number:+(a[1]+a[2]),unit:a[3]};if(!b0(c))throw new e("Invalid unit: '"+c.unit+"' in \\includegraphics.");return c}};Ce({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(l,a,c)=>{let{parser:d}=l,m={number:0,unit:"em"},A={number:.9,unit:"em"},S={number:0,unit:"em"},T="";if(c[0]){const K=Ze(c[0],"raw").string.split(",");for(let ee=0;ee<K.length;ee++){const ne=K[ee].split("=");if(ne.length===2){const he=ne[1].trim();switch(ne[0].trim()){case"alt":T=he;break;case"width":m=Wr(he);break;case"height":A=Wr(he);break;case"totalheight":S=Wr(he);break;default:throw new e("Invalid key: '"+ne[0]+"' in \\includegraphics.")}}}}const N=Ze(a[0],"url").url;return T===""&&(T=N,T=T.replace(/^.*[\\/]/,""),T=T.substring(0,T.lastIndexOf("."))),d.settings.isTrusted({command:"\\includegraphics",url:N})?{type:"includegraphics",mode:d.mode,alt:T,width:m,height:A,totalheight:S,src:N}:d.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(l,a)=>{const c=ft(l.height,a);let d=0;l.totalheight.number>0&&(d=ft(l.totalheight,a)-c);let m=0;l.width.number>0&&(m=ft(l.width,a));const A={height:ve(c+d)};m>0&&(A.width=ve(m)),d>0&&(A.verticalAlign=ve(-d));const S=new ts(l.src,l.alt,A);return S.height=c,S.depth=d,S},mathmlBuilder:(l,a)=>{const c=new me.MathNode("mglyph",[]);c.setAttribute("alt",l.alt);const d=ft(l.height,a);let m=0;if(l.totalheight.number>0&&(m=ft(l.totalheight,a)-d,c.setAttribute("valign",ve(-m))),c.setAttribute("height",ve(d+m)),l.width.number>0){const A=ft(l.width,a);c.setAttribute("width",ve(A))}return c.setAttribute("src",l.src),c}}),Ce({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(l,a){let{parser:c,funcName:d}=l;const m=Ze(a[0],"size");if(c.settings.strict){const A=d[1]==="m",S=m.value.unit==="mu";A?(S||c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" supports only mu units, "+("not "+m.value.unit+" units")),c.mode!=="math"&&c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" works only in math mode")):S&&c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" doesn't support mu units")}return{type:"kern",mode:c.mode,dimension:m.value}},htmlBuilder(l,a){return re.makeGlue(l.dimension,a)},mathmlBuilder(l,a){const c=ft(l.dimension,a);return new me.SpaceNode(c)}}),Ce({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c,funcName:d}=l;const m=a[0];return{type:"lap",mode:c.mode,alignment:d.slice(5),body:m}},htmlBuilder:(l,a)=>{let c;l.alignment==="clap"?(c=re.makeSpan([],[it(l.body,a)]),c=re.makeSpan(["inner"],[c],a)):c=re.makeSpan(["inner"],[it(l.body,a)]);const d=re.makeSpan(["fix"],[]);let m=re.makeSpan([l.alignment],[c,d],a);const A=re.makeSpan(["strut"]);return A.style.height=ve(m.height+m.depth),m.depth&&(A.style.verticalAlign=ve(-m.depth)),m.children.unshift(A),m=re.makeSpan(["thinbox"],[m],a),re.makeSpan(["mord","vbox"],[m],a)},mathmlBuilder:(l,a)=>{const c=new me.MathNode("mpadded",[bt(l.body,a)]);if(l.alignment!=="rlap"){const d=l.alignment==="llap"?"-1":"-0.5";c.setAttribute("lspace",d+"width")}return c.setAttribute("width","0px"),c}}),Ce({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,a){let{funcName:c,parser:d}=l;const m=d.mode;d.switchMode("math");const A=c==="\\("?"\\)":"$",S=d.parseExpression(!1,A);return d.expect(A),d.switchMode(m),{type:"styling",mode:d.mode,style:"text",body:S}}}),Ce({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,a){throw new e("Mismatched "+l.funcName)}});const rn=(l,a)=>{switch(a.style.size){case ue.DISPLAY.size:return l.display;case ue.TEXT.size:return l.text;case ue.SCRIPT.size:return l.script;case ue.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};Ce({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(l,a)=>{let{parser:c}=l;return{type:"mathchoice",mode:c.mode,display:_t(a[0]),text:_t(a[1]),script:_t(a[2]),scriptscript:_t(a[3])}},htmlBuilder:(l,a)=>{const c=rn(l,a),d=Rt(c,a,!1);return re.makeFragment(d)},mathmlBuilder:(l,a)=>{const c=rn(l,a);return Vr(c,a)}});const nn=(l,a,c,d,m,A,S)=>{l=re.makeSpan([],[l]);const T=c&&_.isCharacterBox(c);let N,q;if(a){const ne=it(a,d.havingStyle(m.sup()),d);q={elem:ne,kern:Math.max(d.fontMetrics().bigOpSpacing1,d.fontMetrics().bigOpSpacing3-ne.depth)}}if(c){const ne=it(c,d.havingStyle(m.sub()),d);N={elem:ne,kern:Math.max(d.fontMetrics().bigOpSpacing2,d.fontMetrics().bigOpSpacing4-ne.height)}}let K;if(q&&N){const ne=d.fontMetrics().bigOpSpacing5+N.elem.height+N.elem.depth+N.kern+l.depth+S;K=re.makeVList({positionType:"bottom",positionData:ne,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:N.elem,marginLeft:ve(-A)},{type:"kern",size:N.kern},{type:"elem",elem:l},{type:"kern",size:q.kern},{type:"elem",elem:q.elem,marginLeft:ve(A)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]},d)}else if(N){const ne=l.height-S;K=re.makeVList({positionType:"top",positionData:ne,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:N.elem,marginLeft:ve(-A)},{type:"kern",size:N.kern},{type:"elem",elem:l}]},d)}else if(q){const ne=l.depth+S;K=re.makeVList({positionType:"bottom",positionData:ne,children:[{type:"elem",elem:l},{type:"kern",size:q.kern},{type:"elem",elem:q.elem,marginLeft:ve(A)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]},d)}else return l;const ee=[K];if(N&&A!==0&&!T){const ne=re.makeSpan(["mspace"],[],d);ne.style.marginRight=ve(A),ee.unshift(ne)}return re.makeSpan(["mop","op-limits"],ee,d)},sn=["\\smallint"],Ur=(l,a)=>{let c,d,m=!1,A;l.type==="supsub"?(c=l.sup,d=l.sub,A=Ze(l.base,"op"),m=!0):A=Ze(l,"op");const S=a.style;let T=!1;S.size===ue.DISPLAY.size&&A.symbol&&!_.contains(sn,A.name)&&(T=!0);let N;if(A.symbol){const ee=T?"Size2-Regular":"Size1-Regular";let ne="";if((A.name==="\\oiint"||A.name==="\\oiiint")&&(ne=A.name.slice(1),A.name=ne==="oiint"?"\\iint":"\\iiint"),N=re.makeSymbol(A.name,ee,"math",a,["mop","op-symbol",T?"large-op":"small-op"]),ne.length>0){const he=N.italic,Fe=re.staticSvg(ne+"Size"+(T?"2":"1"),a);N=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:0},{type:"elem",elem:Fe,shift:T?.08:0}]},a),A.name="\\"+ne,N.classes.unshift("mop"),N.italic=he}}else if(A.body){const ee=Rt(A.body,a,!0);ee.length===1&&ee[0]instanceof Gt?(N=ee[0],N.classes[0]="mop"):N=re.makeSpan(["mop"],ee,a)}else{const ee=[];for(let ne=1;ne<A.name.length;ne++)ee.push(re.mathsym(A.name[ne],A.mode,a));N=re.makeSpan(["mop"],ee,a)}let q=0,K=0;return(N instanceof Gt||A.name==="\\oiint"||A.name==="\\oiiint")&&!A.suppressBaseShift&&(q=(N.height-N.depth)/2-a.fontMetrics().axisHeight,K=N.italic),m?nn(N,c,d,a,S,K,q):(q&&(N.style.position="relative",N.style.top=ve(q)),N)},an=(l,a)=>{let c;if(l.symbol)c=new tr("mo",[sr(l.name,l.mode)]),_.contains(sn,l.name)&&c.setAttribute("largeop","false");else if(l.body)c=new tr("mo",Vt(l.body,a));else{c=new tr("mi",[new Sr(l.name.slice(1))]);const d=new tr("mo",[sr("","text")]);l.parentIsSupSub?c=new tr("mrow",[c,d]):c=oi([c,d])}return c},qc={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Ce({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(l,a)=>{let{parser:c,funcName:d}=l,m=d;return m.length===1&&(m=qc[m]),{type:"op",mode:c.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:m}},htmlBuilder:Ur,mathmlBuilder:an}),Ce({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{let{parser:c}=l;const d=a[0];return{type:"op",mode:c.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:_t(d)}},htmlBuilder:Ur,mathmlBuilder:an});const Vc={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Ce({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(l){let{parser:a,funcName:c}=l;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:c}},htmlBuilder:Ur,mathmlBuilder:an}),Ce({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(l){let{parser:a,funcName:c}=l;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:c}},htmlBuilder:Ur,mathmlBuilder:an}),Ce({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(l){let{parser:a,funcName:c}=l,d=c;return d.length===1&&(d=Vc[d]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:d}},htmlBuilder:Ur,mathmlBuilder:an});const ju=(l,a)=>{let c,d,m=!1,A;l.type==="supsub"?(c=l.sup,d=l.sub,A=Ze(l.base,"operatorname"),m=!0):A=Ze(l,"operatorname");let S;if(A.body.length>0){const T=A.body.map(q=>{const K=q.text;return typeof K=="string"?{type:"textord",mode:q.mode,text:K}:q}),N=Rt(T,a.withFont("mathrm"),!0);for(let q=0;q<N.length;q++){const K=N[q];K instanceof Gt&&(K.text=K.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}S=re.makeSpan(["mop"],N,a)}else S=re.makeSpan(["mop"],[],a);return m?nn(S,c,d,a,a.style,0,0):S};Ce({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(l,a)=>{let{parser:c,funcName:d}=l;const m=a[0];return{type:"operatorname",mode:c.mode,body:_t(m),alwaysHandleSupSub:d==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:ju,mathmlBuilder:(l,a)=>{let c=Vt(l.body,a.withFont("mathrm")),d=!0;for(let S=0;S<c.length;S++){const T=c[S];if(!(T instanceof me.SpaceNode))if(T instanceof me.MathNode)switch(T.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const N=T.children[0];T.children.length===1&&N instanceof me.TextNode?N.text=N.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):d=!1;break}default:d=!1}else d=!1}if(d){const S=c.map(T=>T.toText()).join("");c=[new me.TextNode(S)]}const m=new me.MathNode("mi",c);m.setAttribute("mathvariant","normal");const A=new me.MathNode("mo",[sr("","text")]);return l.parentIsSupSub?new me.MathNode("mrow",[m,A]):me.newDocumentFragment([m,A])}}),$("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Dn({type:"ordgroup",htmlBuilder(l,a){return l.semisimple?re.makeFragment(Rt(l.body,a,!1)):re.makeSpan(["mord"],Rt(l.body,a,!0),a)},mathmlBuilder(l,a){return Vr(l.body,a,!0)}}),Ce({type:"overline",names:["\\overline"],props:{numArgs:1},handler(l,a){let{parser:c}=l;const d=a[0];return{type:"overline",mode:c.mode,body:d}},htmlBuilder(l,a){const c=it(l.body,a.havingCrampedStyle()),d=re.makeLineSpan("overline-line",a),m=a.fontMetrics().defaultRuleThickness,A=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:3*m},{type:"elem",elem:d},{type:"kern",size:m}]},a);return re.makeSpan(["mord","overline"],[A],a)},mathmlBuilder(l,a){const c=new me.MathNode("mo",[new me.TextNode("‾")]);c.setAttribute("stretchy","true");const d=new me.MathNode("mover",[bt(l.body,a),c]);return d.setAttribute("accent","true"),d}}),Ce({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const d=a[0];return{type:"phantom",mode:c.mode,body:_t(d)}},htmlBuilder:(l,a)=>{const c=Rt(l.body,a.withPhantom(),!1);return re.makeFragment(c)},mathmlBuilder:(l,a)=>{const c=Vt(l.body,a);return new me.MathNode("mphantom",c)}}),Ce({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const d=a[0];return{type:"hphantom",mode:c.mode,body:d}},htmlBuilder:(l,a)=>{let c=re.makeSpan([],[it(l.body,a.withPhantom())]);if(c.height=0,c.depth=0,c.children)for(let d=0;d<c.children.length;d++)c.children[d].height=0,c.children[d].depth=0;return c=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c}]},a),re.makeSpan(["mord"],[c],a)},mathmlBuilder:(l,a)=>{const c=Vt(_t(l.body),a),d=new me.MathNode("mphantom",c),m=new me.MathNode("mpadded",[d]);return m.setAttribute("height","0px"),m.setAttribute("depth","0px"),m}}),Ce({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const d=a[0];return{type:"vphantom",mode:c.mode,body:d}},htmlBuilder:(l,a)=>{const c=re.makeSpan(["inner"],[it(l.body,a.withPhantom())]),d=re.makeSpan(["fix"],[]);return re.makeSpan(["mord","rlap"],[c,d],a)},mathmlBuilder:(l,a)=>{const c=Vt(_t(l.body),a),d=new me.MathNode("mphantom",c),m=new me.MathNode("mpadded",[d]);return m.setAttribute("width","0px"),m}}),Ce({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(l,a){let{parser:c}=l;const d=Ze(a[0],"size").value,m=a[1];return{type:"raisebox",mode:c.mode,dy:d,body:m}},htmlBuilder(l,a){const c=it(l.body,a),d=ft(l.dy,a);return re.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:c}]},a)},mathmlBuilder(l,a){const c=new me.MathNode("mpadded",[bt(l.body,a)]),d=l.dy.number+l.dy.unit;return c.setAttribute("voffset",d),c}}),Ce({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(l){let{parser:a}=l;return{type:"internal",mode:a.mode}}}),Ce({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(l,a,c){let{parser:d}=l;const m=c[0],A=Ze(a[0],"size"),S=Ze(a[1],"size");return{type:"rule",mode:d.mode,shift:m&&Ze(m,"size").value,width:A.value,height:S.value}},htmlBuilder(l,a){const c=re.makeSpan(["mord","rule"],[],a),d=ft(l.width,a),m=ft(l.height,a),A=l.shift?ft(l.shift,a):0;return c.style.borderRightWidth=ve(d),c.style.borderTopWidth=ve(m),c.style.bottom=ve(A),c.width=d,c.height=m+A,c.depth=-A,c.maxFontSize=m*1.125*a.sizeMultiplier,c},mathmlBuilder(l,a){const c=ft(l.width,a),d=ft(l.height,a),m=l.shift?ft(l.shift,a):0,A=a.color&&a.getColor()||"black",S=new me.MathNode("mspace");S.setAttribute("mathbackground",A),S.setAttribute("width",ve(c)),S.setAttribute("height",ve(d));const T=new me.MathNode("mpadded",[S]);return m>=0?T.setAttribute("height",ve(m)):(T.setAttribute("height",ve(m)),T.setAttribute("depth",ve(-m))),T.setAttribute("voffset",ve(m)),T}});function zu(l,a,c){const d=Rt(l,a,!1),m=a.sizeMultiplier/c.sizeMultiplier;for(let A=0;A<d.length;A++){const S=d[A].classes.indexOf("sizing");S<0?Array.prototype.push.apply(d[A].classes,a.sizingClasses(c)):d[A].classes[S+1]==="reset-size"+a.size&&(d[A].classes[S+1]="reset-size"+c.size),d[A].height*=m,d[A].depth*=m}return re.makeFragment(d)}const Ti=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Ce({type:"sizing",names:Ti,props:{numArgs:0,allowedInText:!0},handler:(l,a)=>{let{breakOnTokenText:c,funcName:d,parser:m}=l;const A=m.parseExpression(!1,c);return{type:"sizing",mode:m.mode,size:Ti.indexOf(d)+1,body:A}},htmlBuilder:(l,a)=>{const c=a.havingSize(l.size);return zu(l.body,c,a)},mathmlBuilder:(l,a)=>{const c=a.havingSize(l.size),d=Vt(l.body,c),m=new me.MathNode("mstyle",d);return m.setAttribute("mathsize",ve(c.sizeMultiplier)),m}}),Ce({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(l,a,c)=>{let{parser:d}=l,m=!1,A=!1;const S=c[0]&&Ze(c[0],"ordgroup");if(S){let N="";for(let q=0;q<S.body.length;++q)if(N=S.body[q].text,N==="t")m=!0;else if(N==="b")A=!0;else{m=!1,A=!1;break}}else m=!0,A=!0;const T=a[0];return{type:"smash",mode:d.mode,body:T,smashHeight:m,smashDepth:A}},htmlBuilder:(l,a)=>{const c=re.makeSpan([],[it(l.body,a)]);if(!l.smashHeight&&!l.smashDepth)return c;if(l.smashHeight&&(c.height=0,c.children))for(let m=0;m<c.children.length;m++)c.children[m].height=0;if(l.smashDepth&&(c.depth=0,c.children))for(let m=0;m<c.children.length;m++)c.children[m].depth=0;const d=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c}]},a);return re.makeSpan(["mord"],[d],a)},mathmlBuilder:(l,a)=>{const c=new me.MathNode("mpadded",[bt(l.body,a)]);return l.smashHeight&&c.setAttribute("height","0px"),l.smashDepth&&c.setAttribute("depth","0px"),c}}),Ce({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(l,a,c){let{parser:d}=l;const m=c[0],A=a[0];return{type:"sqrt",mode:d.mode,body:A,index:m}},htmlBuilder(l,a){let c=it(l.body,a.havingCrampedStyle());c.height===0&&(c.height=a.fontMetrics().xHeight),c=re.wrapFragment(c,a);const m=a.fontMetrics().defaultRuleThickness;let A=m;a.style.id<ue.TEXT.id&&(A=a.fontMetrics().xHeight);let S=m+A/4;const T=c.height+c.depth+S+m,{span:N,ruleWidth:q,advanceWidth:K}=Hr.sqrtImage(T,a),ee=N.height-q;ee>c.height+c.depth+S&&(S=(S+ee-c.height-c.depth)/2);const ne=N.height-c.height-S-q;c.style.paddingLeft=ve(K);const he=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c,wrapperClasses:["svg-align"]},{type:"kern",size:-(c.height+ne)},{type:"elem",elem:N},{type:"kern",size:q}]},a);if(l.index){const Fe=a.havingStyle(ue.SCRIPTSCRIPT),Ne=it(l.index,Fe,a),nt=.6*(he.height-he.depth),tt=re.makeVList({positionType:"shift",positionData:-nt,children:[{type:"elem",elem:Ne}]},a),st=re.makeSpan(["root"],[tt]);return re.makeSpan(["mord","sqrt"],[st,he],a)}else return re.makeSpan(["mord","sqrt"],[he],a)},mathmlBuilder(l,a){const{body:c,index:d}=l;return d?new me.MathNode("mroot",[bt(c,a),bt(d,a)]):new me.MathNode("msqrt",[bt(c,a)])}});const Iu={display:ue.DISPLAY,text:ue.TEXT,script:ue.SCRIPT,scriptscript:ue.SCRIPTSCRIPT};Ce({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l,a){let{breakOnTokenText:c,funcName:d,parser:m}=l;const A=m.parseExpression(!0,c),S=d.slice(1,d.length-5);return{type:"styling",mode:m.mode,style:S,body:A}},htmlBuilder(l,a){const c=Iu[l.style],d=a.havingStyle(c).withFont("");return zu(l.body,d,a)},mathmlBuilder(l,a){const c=Iu[l.style],d=a.havingStyle(c),m=Vt(l.body,d),A=new me.MathNode("mstyle",m),T={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[l.style];return A.setAttribute("scriptlevel",T[0]),A.setAttribute("displaystyle",T[1]),A}});const Wc=function(l,a){const c=l.base;return c?c.type==="op"?c.limits&&(a.style.size===ue.DISPLAY.size||c.alwaysHandleSupSub)?Ur:null:c.type==="operatorname"?c.alwaysHandleSupSub&&(a.style.size===ue.DISPLAY.size||c.limits)?ju:null:c.type==="accent"?_.isCharacterBox(c.base)?hi:null:c.type==="horizBrace"&&!l.sub===c.isOver?Ru:null:null};Dn({type:"supsub",htmlBuilder(l,a){const c=Wc(l,a);if(c)return c(l,a);const{base:d,sup:m,sub:A}=l,S=it(d,a);let T,N;const q=a.fontMetrics();let K=0,ee=0;const ne=d&&_.isCharacterBox(d);if(m){const ct=a.havingStyle(a.style.sup());T=it(m,ct,a),ne||(K=S.height-ct.fontMetrics().supDrop*ct.sizeMultiplier/a.sizeMultiplier)}if(A){const ct=a.havingStyle(a.style.sub());N=it(A,ct,a),ne||(ee=S.depth+ct.fontMetrics().subDrop*ct.sizeMultiplier/a.sizeMultiplier)}let he;a.style===ue.DISPLAY?he=q.sup1:a.style.cramped?he=q.sup3:he=q.sup2;const Fe=a.sizeMultiplier,Ne=ve(.5/q.ptPerEm/Fe);let nt=null;if(N){const ct=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(S instanceof Gt||ct)&&(nt=ve(-S.italic))}let tt;if(T&&N){K=Math.max(K,he,T.depth+.25*q.xHeight),ee=Math.max(ee,q.sub2);const wt=4*q.defaultRuleThickness;if(K-T.depth-(N.height-ee)<wt){ee=wt-(K-T.depth)+N.height;const jt=.8*q.xHeight-(K-T.depth);jt>0&&(K+=jt,ee-=jt)}const Xt=[{type:"elem",elem:N,shift:ee,marginRight:Ne,marginLeft:nt},{type:"elem",elem:T,shift:-K,marginRight:Ne}];tt=re.makeVList({positionType:"individualShift",children:Xt},a)}else if(N){ee=Math.max(ee,q.sub1,N.height-.8*q.xHeight);const ct=[{type:"elem",elem:N,marginLeft:nt,marginRight:Ne}];tt=re.makeVList({positionType:"shift",positionData:ee,children:ct},a)}else if(T)K=Math.max(K,he,T.depth+.25*q.xHeight),tt=re.makeVList({positionType:"shift",positionData:-K,children:[{type:"elem",elem:T,marginRight:Ne}]},a);else throw new Error("supsub must have either sup or sub.");const st=ui(S,"right")||"mord";return re.makeSpan([st],[S,re.makeSpan(["msupsub"],[tt])],a)},mathmlBuilder(l,a){let c=!1,d,m;l.base&&l.base.type==="horizBrace"&&(m=!!l.sup,m===l.base.isOver&&(c=!0,d=l.base.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);const A=[bt(l.base,a)];l.sub&&A.push(bt(l.sub,a)),l.sup&&A.push(bt(l.sup,a));let S;if(c)S=d?"mover":"munder";else if(l.sub)if(l.sup){const T=l.base;T&&T.type==="op"&&T.limits&&a.style===ue.DISPLAY||T&&T.type==="operatorname"&&T.alwaysHandleSupSub&&(a.style===ue.DISPLAY||T.limits)?S="munderover":S="msubsup"}else{const T=l.base;T&&T.type==="op"&&T.limits&&(a.style===ue.DISPLAY||T.alwaysHandleSupSub)||T&&T.type==="operatorname"&&T.alwaysHandleSupSub&&(T.limits||a.style===ue.DISPLAY)?S="munder":S="msub"}else{const T=l.base;T&&T.type==="op"&&T.limits&&(a.style===ue.DISPLAY||T.alwaysHandleSupSub)||T&&T.type==="operatorname"&&T.alwaysHandleSupSub&&(T.limits||a.style===ue.DISPLAY)?S="mover":S="msup"}return new me.MathNode(S,A)}}),Dn({type:"atom",htmlBuilder(l,a){return re.mathsym(l.text,l.mode,a,["m"+l.family])},mathmlBuilder(l,a){const c=new me.MathNode("mo",[sr(l.text,l.mode)]);if(l.family==="bin"){const d=ci(l,a);d==="bold-italic"&&c.setAttribute("mathvariant",d)}else l.family==="punct"?c.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&c.setAttribute("stretchy","false");return c}});const _r={mi:"italic",mn:"normal",mtext:"normal"};Dn({type:"mathord",htmlBuilder(l,a){return re.makeOrd(l,a,"mathord")},mathmlBuilder(l,a){const c=new me.MathNode("mi",[sr(l.text,l.mode,a)]),d=ci(l,a)||"italic";return d!==_r[c.type]&&c.setAttribute("mathvariant",d),c}}),Dn({type:"textord",htmlBuilder(l,a){return re.makeOrd(l,a,"textord")},mathmlBuilder(l,a){const c=sr(l.text,l.mode,a),d=ci(l,a)||"normal";let m;return l.mode==="text"?m=new me.MathNode("mtext",[c]):/[0-9]/.test(l.text)?m=new me.MathNode("mn",[c]):l.text==="\\prime"?m=new me.MathNode("mo",[c]):m=new me.MathNode("mi",[c]),d!==_r[m.type]&&m.setAttribute("mathvariant",d),m}});const T0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},$0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Dn({type:"spacing",htmlBuilder(l,a){if($0.hasOwnProperty(l.text)){const c=$0[l.text].className||"";if(l.mode==="text"){const d=re.makeOrd(l,a,"textord");return d.classes.push(c),d}else return re.makeSpan(["mspace",c],[re.mathsym(l.text,l.mode,a)],a)}else{if(T0.hasOwnProperty(l.text))return re.makeSpan(["mspace",T0[l.text]],[],a);throw new e('Unknown type of space "'+l.text+'"')}},mathmlBuilder(l,a){let c;if($0.hasOwnProperty(l.text))c=new me.MathNode("mtext",[new me.TextNode(" ")]);else{if(T0.hasOwnProperty(l.text))return new me.MathNode("mspace");throw new e('Unknown type of space "'+l.text+'"')}return c}});const Lu=()=>{const l=new me.MathNode("mtd",[]);return l.setAttribute("width","50%"),l};Dn({type:"tag",mathmlBuilder(l,a){const c=new me.MathNode("mtable",[new me.MathNode("mtr",[Lu(),new me.MathNode("mtd",[Vr(l.body,a)]),Lu(),new me.MathNode("mtd",[Vr(l.tag,a)])])]);return c.setAttribute("width","100%"),c}});const qu={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Vu={"\\textbf":"textbf","\\textmd":"textmd"},Uc={"\\textit":"textit","\\textup":"textup"},s0=(l,a)=>{const c=l.font;if(c){if(qu[c])return a.withTextFontFamily(qu[c]);if(Vu[c])return a.withTextFontWeight(Vu[c]);if(c==="\\emph")return a.fontShape==="textit"?a.withTextFontShape("textup"):a.withTextFontShape("textit")}else return a;return a.withTextFontShape(Uc[c])};Ce({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(l,a){let{parser:c,funcName:d}=l;const m=a[0];return{type:"text",mode:c.mode,body:_t(m),font:d}},htmlBuilder(l,a){const c=s0(l,a),d=Rt(l.body,c,!0);return re.makeSpan(["mord","text"],d,c)},mathmlBuilder(l,a){const c=s0(l,a);return Vr(l.body,c)}}),Ce({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"underline",mode:c.mode,body:a[0]}},htmlBuilder(l,a){const c=it(l.body,a),d=re.makeLineSpan("underline-line",a),m=a.fontMetrics().defaultRuleThickness,A=re.makeVList({positionType:"top",positionData:c.height,children:[{type:"kern",size:m},{type:"elem",elem:d},{type:"kern",size:3*m},{type:"elem",elem:c}]},a);return re.makeSpan(["mord","underline"],[A],a)},mathmlBuilder(l,a){const c=new me.MathNode("mo",[new me.TextNode("‾")]);c.setAttribute("stretchy","true");const d=new me.MathNode("munder",[bt(l.body,a),c]);return d.setAttribute("accentunder","true"),d}}),Ce({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(l,a){let{parser:c}=l;return{type:"vcenter",mode:c.mode,body:a[0]}},htmlBuilder(l,a){const c=it(l.body,a),d=a.fontMetrics().axisHeight,m=.5*(c.height-d-(c.depth+d));return re.makeVList({positionType:"shift",positionData:m,children:[{type:"elem",elem:c}]},a)},mathmlBuilder(l,a){return new me.MathNode("mpadded",[bt(l.body,a)],["vcenter"])}}),Ce({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(l,a,c){throw new e("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(l,a){const c=kn(l),d=[],m=a.havingStyle(a.style.text());for(let A=0;A<c.length;A++){let S=c[A];S==="~"&&(S="\\textasciitilde"),d.push(re.makeSymbol(S,"Typewriter-Regular",l.mode,m,["mord","texttt"]))}return re.makeSpan(["mord","text"].concat(m.sizingClasses(a)),re.tryCombineChars(d),m)},mathmlBuilder(l,a){const c=new me.TextNode(kn(l)),d=new me.MathNode("mtext",[c]);return d.setAttribute("mathvariant","monospace"),d}});const kn=l=>l.body.replace(/ /g,l.star?"␣":" ");var un=ai;const $i=`[ \r
|
|
352
|
+
]`,Yc="\\\\[a-zA-Z@]+",Gc="\\\\[^\uD800-\uDFFF]",Hu="("+Yc+")"+$i+"*",Wu=`\\\\(
|
|
353
|
+
|[ \r ]+
|
|
354
|
+
?)[ \r ]*`,Mi="[̀-ͯ]",Xc=new RegExp(Mi+"+$"),Kc="("+$i+"+)|"+(Wu+"|")+"([!-\\[\\]-‧-豈-]"+(Mi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Mi+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Hu)+("|"+Gc+")");class Uu{constructor(a,c){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=a,this.settings=c,this.tokenRegex=new RegExp(Kc,"g"),this.catcodes={"%":14,"~":13}}setCatcode(a,c){this.catcodes[a]=c}lex(){const a=this.input,c=this.tokenRegex.lastIndex;if(c===a.length)return new pr("EOF",new rr(this,c,c));const d=this.tokenRegex.exec(a);if(d===null||d.index!==c)throw new e("Unexpected character: '"+a[c]+"'",new pr(a[c],new rr(this,c,c+1)));const m=d[6]||d[3]||(d[2]?"\\ ":" ");if(this.catcodes[m]===14){const A=a.indexOf(`
|
|
355
|
+
`,this.tokenRegex.lastIndex);return A===-1?(this.tokenRegex.lastIndex=a.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=A+1,this.lex()}return new pr(m,new rr(this,c,this.tokenRegex.lastIndex))}}class Jc{constructor(a,c){a===void 0&&(a={}),c===void 0&&(c={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=c,this.builtins=a,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new e("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const a=this.undefStack.pop();for(const c in a)a.hasOwnProperty(c)&&(a[c]==null?delete this.current[c]:this.current[c]=a[c])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(a){return this.current.hasOwnProperty(a)||this.builtins.hasOwnProperty(a)}get(a){return this.current.hasOwnProperty(a)?this.current[a]:this.builtins[a]}set(a,c,d){if(d===void 0&&(d=!1),d){for(let m=0;m<this.undefStack.length;m++)delete this.undefStack[m][a];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][a]=c)}else{const m=this.undefStack[this.undefStack.length-1];m&&!m.hasOwnProperty(a)&&(m[a]=this.current[a])}c==null?delete this.current[a]:this.current[a]=c}}var M0=Bu;$("\\noexpand",function(l){const a=l.popToken();return l.isExpandable(a.text)&&(a.noexpand=!0,a.treatAsRelax=!0),{tokens:[a],numArgs:0}}),$("\\expandafter",function(l){const a=l.popToken();return l.expandOnce(!0),{tokens:[a],numArgs:0}}),$("\\@firstoftwo",function(l){return{tokens:l.consumeArgs(2)[0],numArgs:0}}),$("\\@secondoftwo",function(l){return{tokens:l.consumeArgs(2)[1],numArgs:0}}),$("\\@ifnextchar",function(l){const a=l.consumeArgs(3);l.consumeSpaces();const c=l.future();return a[0].length===1&&a[0][0].text===c.text?{tokens:a[1],numArgs:0}:{tokens:a[2],numArgs:0}}),$("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),$("\\TextOrMath",function(l){const a=l.consumeArgs(2);return l.mode==="text"?{tokens:a[0],numArgs:0}:{tokens:a[1],numArgs:0}});const Yu={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};$("\\char",function(l){let a=l.popToken(),c,d="";if(a.text==="'")c=8,a=l.popToken();else if(a.text==='"')c=16,a=l.popToken();else if(a.text==="`")if(a=l.popToken(),a.text[0]==="\\")d=a.text.charCodeAt(1);else{if(a.text==="EOF")throw new e("\\char` missing argument");d=a.text.charCodeAt(0)}else c=10;if(c){if(d=Yu[a.text],d==null||d>=c)throw new e("Invalid base-"+c+" digit "+a.text);let m;for(;(m=Yu[l.future().text])!=null&&m<c;)d*=c,d+=m,l.popToken()}return"\\@char{"+d+"}"});const Oi=(l,a,c,d)=>{let m=l.consumeArg().tokens;if(m.length!==1)throw new e("\\newcommand's first argument must be a macro name");const A=m[0].text,S=l.isDefined(A);if(S&&!a)throw new e("\\newcommand{"+A+"} attempting to redefine "+(A+"; use \\renewcommand"));if(!S&&!c)throw new e("\\renewcommand{"+A+"} when command "+A+" does not yet exist; use \\newcommand");let T=0;if(m=l.consumeArg().tokens,m.length===1&&m[0].text==="["){let N="",q=l.expandNextToken();for(;q.text!=="]"&&q.text!=="EOF";)N+=q.text,q=l.expandNextToken();if(!N.match(/^\s*[0-9]+\s*$/))throw new e("Invalid number of arguments: "+N);T=parseInt(N),m=l.consumeArg().tokens}return S&&d||l.macros.set(A,{tokens:m,numArgs:T}),""};$("\\newcommand",l=>Oi(l,!1,!0,!1)),$("\\renewcommand",l=>Oi(l,!0,!1,!1)),$("\\providecommand",l=>Oi(l,!0,!0,!0)),$("\\message",l=>{const a=l.consumeArgs(1)[0];return console.log(a.reverse().map(c=>c.text).join("")),""}),$("\\errmessage",l=>{const a=l.consumeArgs(1)[0];return console.error(a.reverse().map(c=>c.text).join("")),""}),$("\\show",l=>{const a=l.popToken(),c=a.text;return console.log(a,l.macros.get(c),un[c],Ve.math[c],Ve.text[c]),""}),$("\\bgroup","{"),$("\\egroup","}"),$("~","\\nobreakspace"),$("\\lq","`"),$("\\rq","'"),$("\\aa","\\r a"),$("\\AA","\\r A"),$("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),$("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),$("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),$("ℬ","\\mathscr{B}"),$("ℰ","\\mathscr{E}"),$("ℱ","\\mathscr{F}"),$("ℋ","\\mathscr{H}"),$("ℐ","\\mathscr{I}"),$("ℒ","\\mathscr{L}"),$("ℳ","\\mathscr{M}"),$("ℛ","\\mathscr{R}"),$("ℭ","\\mathfrak{C}"),$("ℌ","\\mathfrak{H}"),$("ℨ","\\mathfrak{Z}"),$("\\Bbbk","\\Bbb{k}"),$("·","\\cdotp"),$("\\llap","\\mathllap{\\textrm{#1}}"),$("\\rlap","\\mathrlap{\\textrm{#1}}"),$("\\clap","\\mathclap{\\textrm{#1}}"),$("\\mathstrut","\\vphantom{(}"),$("\\underbar","\\underline{\\text{#1}}"),$("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),$("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),$("\\ne","\\neq"),$("≠","\\neq"),$("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),$("∉","\\notin"),$("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),$("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),$("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),$("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),$("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),$("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),$("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),$("⟂","\\perp"),$("‼","\\mathclose{!\\mkern-0.8mu!}"),$("∌","\\notni"),$("⌜","\\ulcorner"),$("⌝","\\urcorner"),$("⌞","\\llcorner"),$("⌟","\\lrcorner"),$("©","\\copyright"),$("®","\\textregistered"),$("️","\\textregistered"),$("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),$("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),$("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),$("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),$("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),$("⋮","\\vdots"),$("\\varGamma","\\mathit{\\Gamma}"),$("\\varDelta","\\mathit{\\Delta}"),$("\\varTheta","\\mathit{\\Theta}"),$("\\varLambda","\\mathit{\\Lambda}"),$("\\varXi","\\mathit{\\Xi}"),$("\\varPi","\\mathit{\\Pi}"),$("\\varSigma","\\mathit{\\Sigma}"),$("\\varUpsilon","\\mathit{\\Upsilon}"),$("\\varPhi","\\mathit{\\Phi}"),$("\\varPsi","\\mathit{\\Psi}"),$("\\varOmega","\\mathit{\\Omega}"),$("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),$("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),$("\\boxed","\\fbox{$\\displaystyle{#1}$}"),$("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),$("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),$("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),$("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),$("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Gu={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};$("\\dots",function(l){let a="\\dotso";const c=l.expandAfterFuture().text;return c in Gu?a=Gu[c]:(c.slice(0,4)==="\\not"||c in Ve.math&&_.contains(["bin","rel"],Ve.math[c].group))&&(a="\\dotsb"),a});const Ni={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};$("\\dotso",function(l){return l.future().text in Ni?"\\ldots\\,":"\\ldots"}),$("\\dotsc",function(l){const a=l.future().text;return a in Ni&&a!==","?"\\ldots\\,":"\\ldots"}),$("\\cdots",function(l){return l.future().text in Ni?"\\@cdots\\,":"\\@cdots"}),$("\\dotsb","\\cdots"),$("\\dotsm","\\cdots"),$("\\dotsi","\\!\\cdots"),$("\\dotsx","\\ldots\\,"),$("\\DOTSI","\\relax"),$("\\DOTSB","\\relax"),$("\\DOTSX","\\relax"),$("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),$("\\,","\\tmspace+{3mu}{.1667em}"),$("\\thinspace","\\,"),$("\\>","\\mskip{4mu}"),$("\\:","\\tmspace+{4mu}{.2222em}"),$("\\medspace","\\:"),$("\\;","\\tmspace+{5mu}{.2777em}"),$("\\thickspace","\\;"),$("\\!","\\tmspace-{3mu}{.1667em}"),$("\\negthinspace","\\!"),$("\\negmedspace","\\tmspace-{4mu}{.2222em}"),$("\\negthickspace","\\tmspace-{5mu}{.277em}"),$("\\enspace","\\kern.5em "),$("\\enskip","\\hskip.5em\\relax"),$("\\quad","\\hskip1em\\relax"),$("\\qquad","\\hskip2em\\relax"),$("\\tag","\\@ifstar\\tag@literal\\tag@paren"),$("\\tag@paren","\\tag@literal{({#1})}"),$("\\tag@literal",l=>{if(l.macros.get("\\df@tag"))throw new e("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),$("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),$("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),$("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),$("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),$("\\newline","\\\\\\relax"),$("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Xu=ve(Zt["Main-Regular"][84][1]-.7*Zt["Main-Regular"][65][1]);$("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Xu+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),$("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Xu+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),$("\\hspace","\\@ifstar\\@hspacer\\@hspace"),$("\\@hspace","\\hskip #1\\relax"),$("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),$("\\ordinarycolon",":"),$("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),$("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),$("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),$("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),$("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),$("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),$("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),$("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),$("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),$("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),$("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),$("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),$("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),$("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),$("∷","\\dblcolon"),$("∹","\\eqcolon"),$("≔","\\coloneqq"),$("≕","\\eqqcolon"),$("⩴","\\Coloneqq"),$("\\ratio","\\vcentcolon"),$("\\coloncolon","\\dblcolon"),$("\\colonequals","\\coloneqq"),$("\\coloncolonequals","\\Coloneqq"),$("\\equalscolon","\\eqqcolon"),$("\\equalscoloncolon","\\Eqqcolon"),$("\\colonminus","\\coloneq"),$("\\coloncolonminus","\\Coloneq"),$("\\minuscolon","\\eqcolon"),$("\\minuscoloncolon","\\Eqcolon"),$("\\coloncolonapprox","\\Colonapprox"),$("\\coloncolonsim","\\Colonsim"),$("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),$("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),$("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),$("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),$("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),$("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),$("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),$("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),$("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),$("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),$("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),$("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),$("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),$("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),$("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),$("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),$("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),$("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),$("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),$("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),$("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),$("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),$("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),$("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),$("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),$("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),$("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),$("\\imath","\\html@mathml{\\@imath}{ı}"),$("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),$("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),$("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),$("⟦","\\llbracket"),$("⟧","\\rrbracket"),$("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),$("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),$("⦃","\\lBrace"),$("⦄","\\rBrace"),$("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),$("⦵","\\minuso"),$("\\darr","\\downarrow"),$("\\dArr","\\Downarrow"),$("\\Darr","\\Downarrow"),$("\\lang","\\langle"),$("\\rang","\\rangle"),$("\\uarr","\\uparrow"),$("\\uArr","\\Uparrow"),$("\\Uarr","\\Uparrow"),$("\\N","\\mathbb{N}"),$("\\R","\\mathbb{R}"),$("\\Z","\\mathbb{Z}"),$("\\alef","\\aleph"),$("\\alefsym","\\aleph"),$("\\Alpha","\\mathrm{A}"),$("\\Beta","\\mathrm{B}"),$("\\bull","\\bullet"),$("\\Chi","\\mathrm{X}"),$("\\clubs","\\clubsuit"),$("\\cnums","\\mathbb{C}"),$("\\Complex","\\mathbb{C}"),$("\\Dagger","\\ddagger"),$("\\diamonds","\\diamondsuit"),$("\\empty","\\emptyset"),$("\\Epsilon","\\mathrm{E}"),$("\\Eta","\\mathrm{H}"),$("\\exist","\\exists"),$("\\harr","\\leftrightarrow"),$("\\hArr","\\Leftrightarrow"),$("\\Harr","\\Leftrightarrow"),$("\\hearts","\\heartsuit"),$("\\image","\\Im"),$("\\infin","\\infty"),$("\\Iota","\\mathrm{I}"),$("\\isin","\\in"),$("\\Kappa","\\mathrm{K}"),$("\\larr","\\leftarrow"),$("\\lArr","\\Leftarrow"),$("\\Larr","\\Leftarrow"),$("\\lrarr","\\leftrightarrow"),$("\\lrArr","\\Leftrightarrow"),$("\\Lrarr","\\Leftrightarrow"),$("\\Mu","\\mathrm{M}"),$("\\natnums","\\mathbb{N}"),$("\\Nu","\\mathrm{N}"),$("\\Omicron","\\mathrm{O}"),$("\\plusmn","\\pm"),$("\\rarr","\\rightarrow"),$("\\rArr","\\Rightarrow"),$("\\Rarr","\\Rightarrow"),$("\\real","\\Re"),$("\\reals","\\mathbb{R}"),$("\\Reals","\\mathbb{R}"),$("\\Rho","\\mathrm{P}"),$("\\sdot","\\cdot"),$("\\sect","\\S"),$("\\spades","\\spadesuit"),$("\\sub","\\subset"),$("\\sube","\\subseteq"),$("\\supe","\\supseteq"),$("\\Tau","\\mathrm{T}"),$("\\thetasym","\\vartheta"),$("\\weierp","\\wp"),$("\\Zeta","\\mathrm{Z}"),$("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),$("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),$("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),$("\\bra","\\mathinner{\\langle{#1}|}"),$("\\ket","\\mathinner{|{#1}\\rangle}"),$("\\braket","\\mathinner{\\langle{#1}\\rangle}"),$("\\Bra","\\left\\langle#1\\right|"),$("\\Ket","\\left|#1\\right\\rangle");const Ku=l=>a=>{const c=a.consumeArg().tokens,d=a.consumeArg().tokens,m=a.consumeArg().tokens,A=a.consumeArg().tokens,S=a.macros.get("|"),T=a.macros.get("\\|");a.macros.beginGroup();const N=ee=>ne=>{l&&(ne.macros.set("|",S),m.length&&ne.macros.set("\\|",T));let he=ee;return!ee&&m.length&&ne.future().text==="|"&&(ne.popToken(),he=!0),{tokens:he?m:d,numArgs:0}};a.macros.set("|",N(!1)),m.length&&a.macros.set("\\|",N(!0));const q=a.consumeArg().tokens,K=a.expandTokens([...A,...q,...c]);return a.macros.endGroup(),{tokens:K.reverse(),numArgs:0}};$("\\bra@ket",Ku(!1)),$("\\bra@set",Ku(!0)),$("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),$("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),$("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),$("\\angln","{\\angl n}"),$("\\blue","\\textcolor{##6495ed}{#1}"),$("\\orange","\\textcolor{##ffa500}{#1}"),$("\\pink","\\textcolor{##ff00af}{#1}"),$("\\red","\\textcolor{##df0030}{#1}"),$("\\green","\\textcolor{##28ae7b}{#1}"),$("\\gray","\\textcolor{gray}{#1}"),$("\\purple","\\textcolor{##9d38bd}{#1}"),$("\\blueA","\\textcolor{##ccfaff}{#1}"),$("\\blueB","\\textcolor{##80f6ff}{#1}"),$("\\blueC","\\textcolor{##63d9ea}{#1}"),$("\\blueD","\\textcolor{##11accd}{#1}"),$("\\blueE","\\textcolor{##0c7f99}{#1}"),$("\\tealA","\\textcolor{##94fff5}{#1}"),$("\\tealB","\\textcolor{##26edd5}{#1}"),$("\\tealC","\\textcolor{##01d1c1}{#1}"),$("\\tealD","\\textcolor{##01a995}{#1}"),$("\\tealE","\\textcolor{##208170}{#1}"),$("\\greenA","\\textcolor{##b6ffb0}{#1}"),$("\\greenB","\\textcolor{##8af281}{#1}"),$("\\greenC","\\textcolor{##74cf70}{#1}"),$("\\greenD","\\textcolor{##1fab54}{#1}"),$("\\greenE","\\textcolor{##0d923f}{#1}"),$("\\goldA","\\textcolor{##ffd0a9}{#1}"),$("\\goldB","\\textcolor{##ffbb71}{#1}"),$("\\goldC","\\textcolor{##ff9c39}{#1}"),$("\\goldD","\\textcolor{##e07d10}{#1}"),$("\\goldE","\\textcolor{##a75a05}{#1}"),$("\\redA","\\textcolor{##fca9a9}{#1}"),$("\\redB","\\textcolor{##ff8482}{#1}"),$("\\redC","\\textcolor{##f9685d}{#1}"),$("\\redD","\\textcolor{##e84d39}{#1}"),$("\\redE","\\textcolor{##bc2612}{#1}"),$("\\maroonA","\\textcolor{##ffbde0}{#1}"),$("\\maroonB","\\textcolor{##ff92c6}{#1}"),$("\\maroonC","\\textcolor{##ed5fa6}{#1}"),$("\\maroonD","\\textcolor{##ca337c}{#1}"),$("\\maroonE","\\textcolor{##9e034e}{#1}"),$("\\purpleA","\\textcolor{##ddd7ff}{#1}"),$("\\purpleB","\\textcolor{##c6b9fc}{#1}"),$("\\purpleC","\\textcolor{##aa87ff}{#1}"),$("\\purpleD","\\textcolor{##7854ab}{#1}"),$("\\purpleE","\\textcolor{##543b78}{#1}"),$("\\mintA","\\textcolor{##f5f9e8}{#1}"),$("\\mintB","\\textcolor{##edf2df}{#1}"),$("\\mintC","\\textcolor{##e0e5cc}{#1}"),$("\\grayA","\\textcolor{##f6f7f7}{#1}"),$("\\grayB","\\textcolor{##f0f1f2}{#1}"),$("\\grayC","\\textcolor{##e3e5e6}{#1}"),$("\\grayD","\\textcolor{##d6d8da}{#1}"),$("\\grayE","\\textcolor{##babec2}{#1}"),$("\\grayF","\\textcolor{##888d93}{#1}"),$("\\grayG","\\textcolor{##626569}{#1}"),$("\\grayH","\\textcolor{##3b3e40}{#1}"),$("\\grayI","\\textcolor{##21242c}{#1}"),$("\\kaBlue","\\textcolor{##314453}{#1}"),$("\\kaGreen","\\textcolor{##71B307}{#1}");const _i={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Zc{constructor(a,c,d){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=c,this.expansionCount=0,this.feed(a),this.macros=new Jc(M0,c.macros),this.mode=d,this.stack=[]}feed(a){this.lexer=new Uu(a,this.settings)}switchMode(a){this.mode=a}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(a){this.stack.push(a)}pushTokens(a){this.stack.push(...a)}scanArgument(a){let c,d,m;if(a){if(this.consumeSpaces(),this.future().text!=="[")return null;c=this.popToken(),{tokens:m,end:d}=this.consumeArg(["]"])}else({tokens:m,start:c,end:d}=this.consumeArg());return this.pushToken(new pr("EOF",d.loc)),this.pushTokens(m),c.range(d,"")}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(a){const c=[],d=a&&a.length>0;d||this.consumeSpaces();const m=this.future();let A,S=0,T=0;do{if(A=this.popToken(),c.push(A),A.text==="{")++S;else if(A.text==="}"){if(--S,S===-1)throw new e("Extra }",A)}else if(A.text==="EOF")throw new e("Unexpected end of input in a macro argument, expected '"+(a&&d?a[T]:"}")+"'",A);if(a&&d)if((S===0||S===1&&a[T]==="{")&&A.text===a[T]){if(++T,T===a.length){c.splice(-T,T);break}}else T=0}while(S!==0||d);return m.text==="{"&&c[c.length-1].text==="}"&&(c.pop(),c.shift()),c.reverse(),{tokens:c,start:m,end:A}}consumeArgs(a,c){if(c){if(c.length!==a+1)throw new e("The length of delimiters doesn't match the number of args!");const m=c[0];for(let A=0;A<m.length;A++){const S=this.popToken();if(m[A]!==S.text)throw new e("Use of the macro doesn't match its definition",S)}}const d=[];for(let m=0;m<a;m++)d.push(this.consumeArg(c&&c[m+1]).tokens);return d}countExpansion(a){if(this.expansionCount+=a,this.expansionCount>this.settings.maxExpand)throw new e("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(a){const c=this.popToken(),d=c.text,m=c.noexpand?null:this._getExpansion(d);if(m==null||a&&m.unexpandable){if(a&&m==null&&d[0]==="\\"&&!this.isDefined(d))throw new e("Undefined control sequence: "+d);return this.pushToken(c),!1}this.countExpansion(1);let A=m.tokens;const S=this.consumeArgs(m.numArgs,m.delimiters);if(m.numArgs){A=A.slice();for(let T=A.length-1;T>=0;--T){let N=A[T];if(N.text==="#"){if(T===0)throw new e("Incomplete placeholder at end of macro body",N);if(N=A[--T],N.text==="#")A.splice(T+1,1);else if(/^[1-9]$/.test(N.text))A.splice(T,2,...S[+N.text-1]);else throw new e("Not a valid argument number",N)}}}return this.pushTokens(A),A.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){const a=this.stack.pop();return a.treatAsRelax&&(a.text="\\relax"),a}throw new Error}expandMacro(a){return this.macros.has(a)?this.expandTokens([new pr(a)]):void 0}expandTokens(a){const c=[],d=this.stack.length;for(this.pushTokens(a);this.stack.length>d;)if(this.expandOnce(!0)===!1){const m=this.stack.pop();m.treatAsRelax&&(m.noexpand=!1,m.treatAsRelax=!1),c.push(m)}return this.countExpansion(c.length),c}expandMacroAsText(a){const c=this.expandMacro(a);return c&&c.map(d=>d.text).join("")}_getExpansion(a){const c=this.macros.get(a);if(c==null)return c;if(a.length===1){const m=this.lexer.catcodes[a];if(m!=null&&m!==13)return}const d=typeof c=="function"?c(this):c;if(typeof d=="string"){let m=0;if(d.indexOf("#")!==-1){const q=d.replace(/##/g,"");for(;q.indexOf("#"+(m+1))!==-1;)++m}const A=new Uu(d,this.settings),S=[];let T=A.lex();for(;T.text!=="EOF";)S.push(T),T=A.lex();return S.reverse(),{tokens:S,numArgs:m}}return d}isDefined(a){return this.macros.has(a)||un.hasOwnProperty(a)||Ve.math.hasOwnProperty(a)||Ve.text.hasOwnProperty(a)||_i.hasOwnProperty(a)}isExpandable(a){const c=this.macros.get(a);return c!=null?typeof c=="string"||typeof c=="function"||!c.unexpandable:un.hasOwnProperty(a)&&!un[a].primitive}}const Ju=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,O0=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Pi={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Zu={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class N0{constructor(a,c){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Zc(a,c,this.mode),this.settings=c,this.leftrightDepth=0}expect(a,c){if(c===void 0&&(c=!0),this.fetch().text!==a)throw new e("Expected '"+a+"', got '"+this.fetch().text+"'",this.fetch());c&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(a){this.mode=a,this.gullet.switchMode(a)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const a=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),a}finally{this.gullet.endGroups()}}subparse(a){const c=this.nextToken;this.consume(),this.gullet.pushToken(new pr("}")),this.gullet.pushTokens(a);const d=this.parseExpression(!1);return this.expect("}"),this.nextToken=c,d}parseExpression(a,c){const d=[];for(;;){this.mode==="math"&&this.consumeSpaces();const m=this.fetch();if(N0.endOfExpression.indexOf(m.text)!==-1||c&&m.text===c||a&&un[m.text]&&un[m.text].infix)break;const A=this.parseAtom(c);if(A){if(A.type==="internal")continue}else break;d.push(A)}return this.mode==="text"&&this.formLigatures(d),this.handleInfixNodes(d)}handleInfixNodes(a){let c=-1,d;for(let m=0;m<a.length;m++)if(a[m].type==="infix"){if(c!==-1)throw new e("only one infix operator per group",a[m].token);c=m,d=a[m].replaceWith}if(c!==-1&&d){let m,A;const S=a.slice(0,c),T=a.slice(c+1);S.length===1&&S[0].type==="ordgroup"?m=S[0]:m={type:"ordgroup",mode:this.mode,body:S},T.length===1&&T[0].type==="ordgroup"?A=T[0]:A={type:"ordgroup",mode:this.mode,body:T};let N;return d==="\\\\abovefrac"?N=this.callFunction(d,[m,a[c],A],[]):N=this.callFunction(d,[m,A],[]),[N]}else return a}handleSupSubscript(a){const c=this.fetch(),d=c.text;this.consume(),this.consumeSpaces();let m;do{var A;m=this.parseGroup(a)}while(((A=m)==null?void 0:A.type)==="internal");if(!m)throw new e("Expected group after '"+d+"'",c);return m}formatUnsupportedCmd(a){const c=[];for(let A=0;A<a.length;A++)c.push({type:"textord",mode:"text",text:a[A]});const d={type:"text",mode:this.mode,body:c};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[d]}}parseAtom(a){const c=this.parseGroup("atom",a);if((c==null?void 0:c.type)==="internal"||this.mode==="text")return c;let d,m;for(;;){this.consumeSpaces();const A=this.fetch();if(A.text==="\\limits"||A.text==="\\nolimits"){if(c&&c.type==="op"){const S=A.text==="\\limits";c.limits=S,c.alwaysHandleSupSub=!0}else if(c&&c.type==="operatorname")c.alwaysHandleSupSub&&(c.limits=A.text==="\\limits");else throw new e("Limit controls must follow a math operator",A);this.consume()}else if(A.text==="^"){if(d)throw new e("Double superscript",A);d=this.handleSupSubscript("superscript")}else if(A.text==="_"){if(m)throw new e("Double subscript",A);m=this.handleSupSubscript("subscript")}else if(A.text==="'"){if(d)throw new e("Double superscript",A);const S={type:"textord",mode:this.mode,text:"\\prime"},T=[S];for(this.consume();this.fetch().text==="'";)T.push(S),this.consume();this.fetch().text==="^"&&T.push(this.handleSupSubscript("superscript")),d={type:"ordgroup",mode:this.mode,body:T}}else if(O0[A.text]){const S=Ju.test(A.text),T=[];for(T.push(new pr(O0[A.text])),this.consume();;){const q=this.fetch().text;if(!O0[q]||Ju.test(q)!==S)break;T.unshift(new pr(O0[q])),this.consume()}const N=this.subparse(T);S?m={type:"ordgroup",mode:"math",body:N}:d={type:"ordgroup",mode:"math",body:N}}else break}return d||m?{type:"supsub",mode:this.mode,base:c,sup:d,sub:m}:c}parseFunction(a,c){const d=this.fetch(),m=d.text,A=un[m];if(!A)return null;if(this.consume(),c&&c!=="atom"&&!A.allowedInArgument)throw new e("Got function '"+m+"' with no arguments"+(c?" as "+c:""),d);if(this.mode==="text"&&!A.allowedInText)throw new e("Can't use function '"+m+"' in text mode",d);if(this.mode==="math"&&A.allowedInMath===!1)throw new e("Can't use function '"+m+"' in math mode",d);const{args:S,optArgs:T}=this.parseArguments(m,A);return this.callFunction(m,S,T,d,a)}callFunction(a,c,d,m,A){const S={funcName:a,parser:this,token:m,breakOnTokenText:A},T=un[a];if(T&&T.handler)return T.handler(S,c,d);throw new e("No function handler for "+a)}parseArguments(a,c){const d=c.numArgs+c.numOptionalArgs;if(d===0)return{args:[],optArgs:[]};const m=[],A=[];for(let S=0;S<d;S++){let T=c.argTypes&&c.argTypes[S];const N=S<c.numOptionalArgs;(c.primitive&&T==null||c.type==="sqrt"&&S===1&&A[0]==null)&&(T="primitive");const q=this.parseGroupOfType("argument to '"+a+"'",T,N);if(N)A.push(q);else if(q!=null)m.push(q);else throw new e("Null argument, please report this as a bug")}return{args:m,optArgs:A}}parseGroupOfType(a,c,d){switch(c){case"color":return this.parseColorGroup(d);case"size":return this.parseSizeGroup(d);case"url":return this.parseUrlGroup(d);case"math":case"text":return this.parseArgumentGroup(d,c);case"hbox":{const m=this.parseArgumentGroup(d,"text");return m!=null?{type:"styling",mode:m.mode,body:[m],style:"text"}:null}case"raw":{const m=this.parseStringGroup("raw",d);return m!=null?{type:"raw",mode:"text",string:m.text}:null}case"primitive":{if(d)throw new e("A primitive argument cannot be optional");const m=this.parseGroup(a);if(m==null)throw new e("Expected group as "+a,this.fetch());return m}case"original":case null:case void 0:return this.parseArgumentGroup(d);default:throw new e("Unknown group type as "+a,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(a,c){const d=this.gullet.scanArgument(c);if(d==null)return null;let m="",A;for(;(A=this.fetch()).text!=="EOF";)m+=A.text,this.consume();return this.consume(),d.text=m,d}parseRegexGroup(a,c){const d=this.fetch();let m=d,A="",S;for(;(S=this.fetch()).text!=="EOF"&&a.test(A+S.text);)m=S,A+=m.text,this.consume();if(A==="")throw new e("Invalid "+c+": '"+d.text+"'",d);return d.range(m,A)}parseColorGroup(a){const c=this.parseStringGroup("color",a);if(c==null)return null;const d=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(c.text);if(!d)throw new e("Invalid color: '"+c.text+"'",c);let m=d[0];return/^[0-9a-f]{6}$/i.test(m)&&(m="#"+m),{type:"color-token",mode:this.mode,color:m}}parseSizeGroup(a){let c,d=!1;if(this.gullet.consumeSpaces(),!a&&this.gullet.future().text!=="{"?c=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):c=this.parseStringGroup("size",a),!c)return null;!a&&c.text.length===0&&(c.text="0pt",d=!0);const m=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(c.text);if(!m)throw new e("Invalid size: '"+c.text+"'",c);const A={number:+(m[1]+m[2]),unit:m[3]};if(!b0(A))throw new e("Invalid unit: '"+A.unit+"'",c);return{type:"size",mode:this.mode,value:A,isBlank:d}}parseUrlGroup(a){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const c=this.parseStringGroup("url",a);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),c==null)return null;const d=c.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:d}}parseArgumentGroup(a,c){const d=this.gullet.scanArgument(a);if(d==null)return null;const m=this.mode;c&&this.switchMode(c),this.gullet.beginGroup();const A=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const S={type:"ordgroup",mode:this.mode,loc:d.loc,body:A};return c&&this.switchMode(m),S}parseGroup(a,c){const d=this.fetch(),m=d.text;let A;if(m==="{"||m==="\\begingroup"){this.consume();const S=m==="{"?"}":"\\endgroup";this.gullet.beginGroup();const T=this.parseExpression(!1,S),N=this.fetch();this.expect(S),this.gullet.endGroup(),A={type:"ordgroup",mode:this.mode,loc:rr.range(d,N),body:T,semisimple:m==="\\begingroup"||void 0}}else if(A=this.parseFunction(c,a)||this.parseSymbol(),A==null&&m[0]==="\\"&&!_i.hasOwnProperty(m)){if(this.settings.throwOnError)throw new e("Undefined control sequence: "+m,d);A=this.formatUnsupportedCmd(m),this.consume()}return A}formLigatures(a){let c=a.length-1;for(let d=0;d<c;++d){const m=a[d],A=m.text;A==="-"&&a[d+1].text==="-"&&(d+1<c&&a[d+2].text==="-"?(a.splice(d,3,{type:"textord",mode:"text",loc:rr.range(m,a[d+2]),text:"---"}),c-=2):(a.splice(d,2,{type:"textord",mode:"text",loc:rr.range(m,a[d+1]),text:"--"}),c-=1)),(A==="'"||A==="`")&&a[d+1].text===A&&(a.splice(d,2,{type:"textord",mode:"text",loc:rr.range(m,a[d+1]),text:A+A}),c-=1)}}parseSymbol(){const a=this.fetch();let c=a.text;if(/^\\verb[^a-zA-Z]/.test(c)){this.consume();let A=c.slice(5);const S=A.charAt(0)==="*";if(S&&(A=A.slice(1)),A.length<2||A.charAt(0)!==A.slice(-1))throw new e(`\\verb assertion failed --
|
|
356
|
+
please report what input caused this bug`);return A=A.slice(1,-1),{type:"verb",mode:"text",body:A,star:S}}Zu.hasOwnProperty(c[0])&&!Ve[this.mode][c[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+c[0]+'" used in math mode',a),c=Zu[c[0]]+c.slice(1));const d=Xc.exec(c);d&&(c=c.substring(0,d.index),c==="i"?c="ı":c==="j"&&(c="ȷ"));let m;if(Ve[this.mode][c]){this.settings.strict&&this.mode==="math"&&ri.indexOf(c)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+c[0]+'" used in math mode',a);const A=Ve[this.mode][c].group,S=rr.range(a);let T;if(ge.hasOwnProperty(A)){const N=A;T={type:"atom",mode:this.mode,family:N,loc:S,text:c}}else T={type:A,mode:this.mode,loc:S,text:c};m=T}else if(c.charCodeAt(0)>=128)this.settings.strict&&(qe(c.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+c[0]+'" used in math mode',a):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+c[0]+'"'+(" ("+c.charCodeAt(0)+")"),a)),m={type:"textord",mode:"text",loc:rr.range(a),text:c};else return null;if(this.consume(),d)for(let A=0;A<d[0].length;A++){const S=d[0][A];if(!Pi[S])throw new e("Unknown accent ' "+S+"'",a);const T=Pi[S][this.mode]||Pi[S].text;if(!T)throw new e("Accent "+S+" unsupported in "+this.mode+" mode",a);m={type:"accent",mode:this.mode,loc:rr.range(a),label:T,isStretchy:!1,isShifty:!0,base:m}}return m}}N0.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Ri=function(l,a){if(!(typeof l=="string"||l instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const c=new N0(l,a);delete c.gullet.macros.current["\\df@tag"];let d=c.parse();if(delete c.gullet.macros.current["\\current@color"],delete c.gullet.macros.current["\\color"],c.gullet.macros.get("\\df@tag")){if(!a.displayMode)throw new e("\\tag works only in display equations");d=[{type:"tag",mode:"text",body:d,tag:c.subparse([new pr("\\df@tag")])}]}return d};let ji=function(l,a,c){a.textContent="";const d=zi(l,c).toNode();a.appendChild(d)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),ji=function(){throw new e("KaTeX doesn't work in quirks mode.")});const Qc=function(l,a){return zi(l,a).toMarkup()},ef=function(l,a){const c=new Z(a);return Ri(l,c)},Qu=function(l,a,c){if(c.throwOnError||!(l instanceof e))throw l;const d=re.makeSpan(["katex-error"],[new Gt(a)]);return d.setAttribute("title",l.toString()),d.setAttribute("style","color:"+c.errorColor),d},zi=function(l,a){const c=new Z(a);try{const d=Ri(l,c);return au(d,l,c)}catch(d){return Qu(d,l,c)}};var tf={version:"0.16.22",render:ji,renderToString:Qc,ParseError:e,SETTINGS_SCHEMA:V,__parse:ef,__renderToDomTree:zi,__renderToHTMLTree:function(l,a){const c=new Z(a);try{const d=Ri(l,c);return kc(d,l,c)}catch(d){return Qu(d,l,c)}},__setFontMetrics:Gn,__defineSymbol:g,__defineFunction:Ce,__defineMacro:$,__domTree:{Span:Ir,Anchor:Zn,SymbolNode:Gt,SvgNode:xr,PathNode:wr,LineNode:A0}},rf=tf;return i=i.default,i}()})}(_a)),_a.exports}var K7=Vs.exports,K4;function J7(){return K4||(K4=1,function(r,n){(function(o,i){i(n,X,Xf(),X7())})(K7,function(o,i,f,e){Object.defineProperty(o,"__esModule",{value:!0});function p(I,_){for(var V in _)Object.defineProperty(I,V,{enumerable:!0,get:_[V]})}p(o,{BlockMath:()=>Y,InlineMath:()=>J}),i=w(i),f=b(f),e=b(e);function b(I){return I&&I.__esModule?I:{default:I}}function C(I){if(typeof WeakMap!="function")return null;var _=new WeakMap,V=new WeakMap;return(C=function(te){return te?V:_})(I)}function w(I,_){if(I&&I.__esModule)return I;if(I===null||typeof I!="object"&&typeof I!="function")return{default:I};var V=C(_);if(V&&V.has(I))return V.get(I);var te={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var z in I)if(z!=="default"&&Object.prototype.hasOwnProperty.call(I,z)){var le=Z?Object.getOwnPropertyDescriptor(I,z):null;le&&(le.get||le.set)?Object.defineProperty(te,z,le):te[z]=I[z]}return te.default=I,V&&V.set(I,te),te}const E=(I,{displayMode:_})=>{const V=({children:te,errorColor:Z,math:z,renderError:le})=>{const pe=z??te,{html:be,error:xe}=(0,i.useMemo)(()=>{try{return{html:e.default.renderToString(pe,{displayMode:_,errorColor:Z,throwOnError:!!le}),error:void 0}}catch($e){if($e instanceof e.default.ParseError||$e instanceof TypeError)return{error:$e};throw $e}},[pe,Z,le]);return xe?le?le(xe):i.default.createElement(I,{html:`${xe.message}`}):i.default.createElement(I,{html:be})};return V.propTypes={children:f.default.string,errorColor:f.default.string,math:f.default.string,renderError:f.default.func},V},B={html:f.default.string.isRequired},M=({html:I})=>i.default.createElement("div",{"data-testid":"react-katex",dangerouslySetInnerHTML:{__html:I}});M.propTypes=B;const j=({html:I})=>i.default.createElement("span",{"data-testid":"react-katex",dangerouslySetInnerHTML:{__html:I}});j.propTypes=B;const Y=E(M,{displayMode:!0}),J=E(j,{displayMode:!1})})}(Vs,Vs.exports)),Vs.exports}var Ut=J7();function Z7({location:r,text:n}){return k.jsxs("div",{children:[n.substring(0,r.start.offset),k.jsx("mark",{children:n.substring(r.start.offset,r.end.offset)}),n.substring(r.end.offset)]})}function J4({error:r,text:n}){return r?k.jsx(k.Fragment,{children:k.jsxs(jn.Control.Feedback,{type:"invalid",children:[r.message,r instanceof Wt.SyntaxError&&k.jsx(Z7,{location:r.location,text:n})]})}):null}/*!
|
|
357
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
358
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
359
|
+
* Copyright 2024 Fonticons, Inc.
|
|
360
|
+
*/function Q7(r,n,o){return(n=t8(n))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r}function Z4(r,n){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);n&&(i=i.filter(function(f){return Object.getOwnPropertyDescriptor(r,f).enumerable})),o.push.apply(o,i)}return o}function ye(r){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?Z4(Object(o),!0).forEach(function(i){Q7(r,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):Z4(Object(o)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(o,i))})}return r}function e8(r,n){if(typeof r!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var i=o.call(r,n);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)}function t8(r){var n=e8(r,"string");return typeof n=="symbol"?n:n+""}const Q4=()=>{};let Ml={},eh={},th=null,rh={mark:Q4,measure:Q4};try{typeof window<"u"&&(Ml=window),typeof document<"u"&&(eh=document),typeof MutationObserver<"u"&&(th=MutationObserver),typeof performance<"u"&&(rh=performance)}catch{}const{userAgent:nh=""}=Ml.navigator||{},Hn=Ml,kt=eh,sh=th,Pa=rh;Hn.document;const bn=!!kt.documentElement&&!!kt.head&&typeof kt.addEventListener=="function"&&typeof kt.createElement=="function",ih=~nh.indexOf("MSIE")||~nh.indexOf("Trident/");var r8=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,n8=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ah={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"}},s8={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},uh=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Kt="classic",Ra="duotone",i8="sharp",a8="sharp-duotone",oh=[Kt,Ra,i8,a8],u8={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"}},o8={"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"}},l8=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}]]),c8={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"}},f8=["fak","fa-kit","fakd","fa-kit-duotone"],lh={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},d8=["kit"],h8={kit:{"fa-kit":"fak"}},p8=["fak","fakd"],m8={kit:{fak:"fa-kit"}},ch={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},ja={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},g8=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],y8=["fak","fa-kit","fakd","fa-kit-duotone"],b8={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},v8={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"}},A8={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Ol={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"}},E8=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Nl=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...g8,...E8],x8=["solid","regular","light","thin","duotone","brands"],fh=[1,2,3,4,5,6,7,8,9,10],w8=fh.concat([11,12,13,14,15,16,17,18,19,20]),C8=[...Object.keys(A8),...x8,"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",ja.GROUP,ja.SWAP_OPACITY,ja.PRIMARY,ja.SECONDARY].concat(fh.map(r=>"".concat(r,"x"))).concat(w8.map(r=>"w-".concat(r))),S8={"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 vn="___FONT_AWESOME___",_l=16,dh="fa",hh="svg-inline--fa",m0="data-fa-i2svg",Pl="data-fa-pseudo-element",F8="data-fa-pseudo-element-pending",Rl="data-prefix",jl="data-icon",ph="fontawesome-i2svg",D8="async",B8=["HTML","HEAD","STYLE","SCRIPT"],mh=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function Hs(r){return new Proxy(r,{get(n,o){return o in n?n[o]:n[Kt]}})}const gh=ye({},ah);gh[Kt]=ye(ye(ye(ye({},{"fa-duotone":"duotone"}),ah[Kt]),lh.kit),lh["kit-duotone"]);const k8=Hs(gh),zl=ye({},c8);zl[Kt]=ye(ye(ye(ye({},{duotone:"fad"}),zl[Kt]),ch.kit),ch["kit-duotone"]);const yh=Hs(zl),Il=ye({},Ol);Il[Kt]=ye(ye({},Il[Kt]),m8.kit);const Ll=Hs(Il),ql=ye({},v8);ql[Kt]=ye(ye({},ql[Kt]),h8.kit),Hs(ql);const T8=r8,bh="fa-layers-text",$8=n8,M8=ye({},u8);Hs(M8);const O8=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Vl=s8,N8=[...d8,...C8],Ws=Hn.FontAwesomeConfig||{};function _8(r){var n=kt.querySelector("script["+r+"]");if(n)return n.getAttribute(r)}function P8(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}kt&&typeof kt.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(n=>{let[o,i]=n;const f=P8(_8(o));f!=null&&(Ws[i]=f)});const vh={styleDefault:"solid",familyDefault:Kt,cssPrefix:dh,replacementClass:hh,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ws.familyPrefix&&(Ws.cssPrefix=Ws.familyPrefix);const G0=ye(ye({},vh),Ws);G0.autoReplaceSvg||(G0.observeMutations=!1);const Re={};Object.keys(vh).forEach(r=>{Object.defineProperty(Re,r,{enumerable:!0,set:function(n){G0[r]=n,Us.forEach(o=>o(Re))},get:function(){return G0[r]}})}),Object.defineProperty(Re,"familyPrefix",{enumerable:!0,set:function(r){G0.cssPrefix=r,Us.forEach(n=>n(Re))},get:function(){return G0.cssPrefix}}),Hn.FontAwesomeConfig=Re;const Us=[];function R8(r){return Us.push(r),()=>{Us.splice(Us.indexOf(r),1)}}const Wn=_l,Xr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function j8(r){if(!r||!bn)return;const n=kt.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=r;const o=kt.head.childNodes;let i=null;for(let f=o.length-1;f>-1;f--){const e=o[f],p=(e.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(p)>-1&&(i=e)}return kt.head.insertBefore(n,i),r}const z8="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ys(){let r=12,n="";for(;r-- >0;)n+=z8[Math.random()*62|0];return n}function X0(r){const n=[];for(let o=(r||[]).length>>>0;o--;)n[o]=r[o];return n}function Hl(r){return r.classList?X0(r.classList):(r.getAttribute("class")||"").split(" ").filter(n=>n)}function Ah(r){return"".concat(r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function I8(r){return Object.keys(r||{}).reduce((n,o)=>n+"".concat(o,'="').concat(Ah(r[o]),'" '),"").trim()}function za(r){return Object.keys(r||{}).reduce((n,o)=>n+"".concat(o,": ").concat(r[o].trim(),";"),"")}function Wl(r){return r.size!==Xr.size||r.x!==Xr.x||r.y!==Xr.y||r.rotate!==Xr.rotate||r.flipX||r.flipY}function L8(r){let{transform:n,containerWidth:o,iconWidth:i}=r;const f={transform:"translate(".concat(o/2," 256)")},e="translate(".concat(n.x*32,", ").concat(n.y*32,") "),p="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),b="rotate(".concat(n.rotate," 0 0)"),C={transform:"".concat(e," ").concat(p," ").concat(b)},w={transform:"translate(".concat(i/2*-1," -256)")};return{outer:f,inner:C,path:w}}function q8(r){let{transform:n,width:o=_l,height:i=_l,startCentered:f=!1}=r,e="";return f&&ih?e+="translate(".concat(n.x/Wn-o/2,"em, ").concat(n.y/Wn-i/2,"em) "):f?e+="translate(calc(-50% + ".concat(n.x/Wn,"em), calc(-50% + ").concat(n.y/Wn,"em)) "):e+="translate(".concat(n.x/Wn,"em, ").concat(n.y/Wn,"em) "),e+="scale(".concat(n.size/Wn*(n.flipX?-1:1),", ").concat(n.size/Wn*(n.flipY?-1:1),") "),e+="rotate(".concat(n.rotate,"deg) "),e}var V8=`:root, :host {
|
|
361
|
+
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
362
|
+
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
363
|
+
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
364
|
+
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
|
|
365
|
+
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
366
|
+
--fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
|
|
367
|
+
--fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
|
|
368
|
+
--fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
|
|
369
|
+
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
370
|
+
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
|
371
|
+
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
|
372
|
+
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
|
373
|
+
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
|
|
374
|
+
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
375
|
+
--fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
376
|
+
--fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
377
|
+
--fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
381
|
+
overflow: visible;
|
|
382
|
+
box-sizing: content-box;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.svg-inline--fa {
|
|
386
|
+
display: var(--fa-display, inline-block);
|
|
387
|
+
height: 1em;
|
|
388
|
+
overflow: visible;
|
|
389
|
+
vertical-align: -0.125em;
|
|
390
|
+
}
|
|
391
|
+
.svg-inline--fa.fa-2xs {
|
|
392
|
+
vertical-align: 0.1em;
|
|
393
|
+
}
|
|
394
|
+
.svg-inline--fa.fa-xs {
|
|
395
|
+
vertical-align: 0em;
|
|
396
|
+
}
|
|
397
|
+
.svg-inline--fa.fa-sm {
|
|
398
|
+
vertical-align: -0.0714285705em;
|
|
399
|
+
}
|
|
400
|
+
.svg-inline--fa.fa-lg {
|
|
401
|
+
vertical-align: -0.2em;
|
|
402
|
+
}
|
|
403
|
+
.svg-inline--fa.fa-xl {
|
|
404
|
+
vertical-align: -0.25em;
|
|
405
|
+
}
|
|
406
|
+
.svg-inline--fa.fa-2xl {
|
|
407
|
+
vertical-align: -0.3125em;
|
|
408
|
+
}
|
|
409
|
+
.svg-inline--fa.fa-pull-left {
|
|
410
|
+
margin-right: var(--fa-pull-margin, 0.3em);
|
|
411
|
+
width: auto;
|
|
412
|
+
}
|
|
413
|
+
.svg-inline--fa.fa-pull-right {
|
|
414
|
+
margin-left: var(--fa-pull-margin, 0.3em);
|
|
415
|
+
width: auto;
|
|
416
|
+
}
|
|
417
|
+
.svg-inline--fa.fa-li {
|
|
418
|
+
width: var(--fa-li-width, 2em);
|
|
419
|
+
top: 0.25em;
|
|
420
|
+
}
|
|
421
|
+
.svg-inline--fa.fa-fw {
|
|
422
|
+
width: var(--fa-fw-width, 1.25em);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.fa-layers svg.svg-inline--fa {
|
|
426
|
+
bottom: 0;
|
|
427
|
+
left: 0;
|
|
428
|
+
margin: auto;
|
|
429
|
+
position: absolute;
|
|
430
|
+
right: 0;
|
|
431
|
+
top: 0;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.fa-layers-counter, .fa-layers-text {
|
|
435
|
+
display: inline-block;
|
|
436
|
+
position: absolute;
|
|
437
|
+
text-align: center;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.fa-layers {
|
|
441
|
+
display: inline-block;
|
|
442
|
+
height: 1em;
|
|
443
|
+
position: relative;
|
|
444
|
+
text-align: center;
|
|
445
|
+
vertical-align: -0.125em;
|
|
446
|
+
width: 1em;
|
|
447
|
+
}
|
|
448
|
+
.fa-layers svg.svg-inline--fa {
|
|
449
|
+
transform-origin: center center;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.fa-layers-text {
|
|
453
|
+
left: 50%;
|
|
454
|
+
top: 50%;
|
|
455
|
+
transform: translate(-50%, -50%);
|
|
456
|
+
transform-origin: center center;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.fa-layers-counter {
|
|
460
|
+
background-color: var(--fa-counter-background-color, #ff253a);
|
|
461
|
+
border-radius: var(--fa-counter-border-radius, 1em);
|
|
462
|
+
box-sizing: border-box;
|
|
463
|
+
color: var(--fa-inverse, #fff);
|
|
464
|
+
line-height: var(--fa-counter-line-height, 1);
|
|
465
|
+
max-width: var(--fa-counter-max-width, 5em);
|
|
466
|
+
min-width: var(--fa-counter-min-width, 1.5em);
|
|
467
|
+
overflow: hidden;
|
|
468
|
+
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
469
|
+
right: var(--fa-right, 0);
|
|
470
|
+
text-overflow: ellipsis;
|
|
471
|
+
top: var(--fa-top, 0);
|
|
472
|
+
transform: scale(var(--fa-counter-scale, 0.25));
|
|
473
|
+
transform-origin: top right;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.fa-layers-bottom-right {
|
|
477
|
+
bottom: var(--fa-bottom, 0);
|
|
478
|
+
right: var(--fa-right, 0);
|
|
479
|
+
top: auto;
|
|
480
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
481
|
+
transform-origin: bottom right;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.fa-layers-bottom-left {
|
|
485
|
+
bottom: var(--fa-bottom, 0);
|
|
486
|
+
left: var(--fa-left, 0);
|
|
487
|
+
right: auto;
|
|
488
|
+
top: auto;
|
|
489
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
490
|
+
transform-origin: bottom left;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.fa-layers-top-right {
|
|
494
|
+
top: var(--fa-top, 0);
|
|
495
|
+
right: var(--fa-right, 0);
|
|
496
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
497
|
+
transform-origin: top right;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.fa-layers-top-left {
|
|
501
|
+
left: var(--fa-left, 0);
|
|
502
|
+
right: auto;
|
|
503
|
+
top: var(--fa-top, 0);
|
|
504
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
505
|
+
transform-origin: top left;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.fa-1x {
|
|
509
|
+
font-size: 1em;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.fa-2x {
|
|
513
|
+
font-size: 2em;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.fa-3x {
|
|
517
|
+
font-size: 3em;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.fa-4x {
|
|
521
|
+
font-size: 4em;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.fa-5x {
|
|
525
|
+
font-size: 5em;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.fa-6x {
|
|
529
|
+
font-size: 6em;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.fa-7x {
|
|
533
|
+
font-size: 7em;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.fa-8x {
|
|
537
|
+
font-size: 8em;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.fa-9x {
|
|
541
|
+
font-size: 9em;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.fa-10x {
|
|
545
|
+
font-size: 10em;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.fa-2xs {
|
|
549
|
+
font-size: 0.625em;
|
|
550
|
+
line-height: 0.1em;
|
|
551
|
+
vertical-align: 0.225em;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.fa-xs {
|
|
555
|
+
font-size: 0.75em;
|
|
556
|
+
line-height: 0.0833333337em;
|
|
557
|
+
vertical-align: 0.125em;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.fa-sm {
|
|
561
|
+
font-size: 0.875em;
|
|
562
|
+
line-height: 0.0714285718em;
|
|
563
|
+
vertical-align: 0.0535714295em;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.fa-lg {
|
|
567
|
+
font-size: 1.25em;
|
|
568
|
+
line-height: 0.05em;
|
|
569
|
+
vertical-align: -0.075em;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.fa-xl {
|
|
573
|
+
font-size: 1.5em;
|
|
574
|
+
line-height: 0.0416666682em;
|
|
575
|
+
vertical-align: -0.125em;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.fa-2xl {
|
|
579
|
+
font-size: 2em;
|
|
580
|
+
line-height: 0.03125em;
|
|
581
|
+
vertical-align: -0.1875em;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.fa-fw {
|
|
585
|
+
text-align: center;
|
|
586
|
+
width: 1.25em;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.fa-ul {
|
|
590
|
+
list-style-type: none;
|
|
591
|
+
margin-left: var(--fa-li-margin, 2.5em);
|
|
592
|
+
padding-left: 0;
|
|
593
|
+
}
|
|
594
|
+
.fa-ul > li {
|
|
595
|
+
position: relative;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.fa-li {
|
|
599
|
+
left: calc(-1 * var(--fa-li-width, 2em));
|
|
600
|
+
position: absolute;
|
|
601
|
+
text-align: center;
|
|
602
|
+
width: var(--fa-li-width, 2em);
|
|
603
|
+
line-height: inherit;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.fa-border {
|
|
607
|
+
border-color: var(--fa-border-color, #eee);
|
|
608
|
+
border-radius: var(--fa-border-radius, 0.1em);
|
|
609
|
+
border-style: var(--fa-border-style, solid);
|
|
610
|
+
border-width: var(--fa-border-width, 0.08em);
|
|
611
|
+
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.fa-pull-left {
|
|
615
|
+
float: left;
|
|
616
|
+
margin-right: var(--fa-pull-margin, 0.3em);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.fa-pull-right {
|
|
620
|
+
float: right;
|
|
621
|
+
margin-left: var(--fa-pull-margin, 0.3em);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.fa-beat {
|
|
625
|
+
animation-name: fa-beat;
|
|
626
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
627
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
628
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
629
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
630
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.fa-bounce {
|
|
634
|
+
animation-name: fa-bounce;
|
|
635
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
636
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
637
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
638
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
639
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.fa-fade {
|
|
643
|
+
animation-name: fa-fade;
|
|
644
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
645
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
646
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
647
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
648
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.fa-beat-fade {
|
|
652
|
+
animation-name: fa-beat-fade;
|
|
653
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
654
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
655
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
656
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
657
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.fa-flip {
|
|
661
|
+
animation-name: fa-flip;
|
|
662
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
663
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
664
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
665
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
666
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.fa-shake {
|
|
670
|
+
animation-name: fa-shake;
|
|
671
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
672
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
673
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
674
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
675
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.fa-spin {
|
|
679
|
+
animation-name: fa-spin;
|
|
680
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
681
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
682
|
+
animation-duration: var(--fa-animation-duration, 2s);
|
|
683
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
684
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.fa-spin-reverse {
|
|
688
|
+
--fa-animation-direction: reverse;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.fa-pulse,
|
|
692
|
+
.fa-spin-pulse {
|
|
693
|
+
animation-name: fa-spin;
|
|
694
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
695
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
696
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
697
|
+
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
@media (prefers-reduced-motion: reduce) {
|
|
701
|
+
.fa-beat,
|
|
702
|
+
.fa-bounce,
|
|
703
|
+
.fa-fade,
|
|
704
|
+
.fa-beat-fade,
|
|
705
|
+
.fa-flip,
|
|
706
|
+
.fa-pulse,
|
|
707
|
+
.fa-shake,
|
|
708
|
+
.fa-spin,
|
|
709
|
+
.fa-spin-pulse {
|
|
710
|
+
animation-delay: -1ms;
|
|
711
|
+
animation-duration: 1ms;
|
|
712
|
+
animation-iteration-count: 1;
|
|
713
|
+
transition-delay: 0s;
|
|
714
|
+
transition-duration: 0s;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
@keyframes fa-beat {
|
|
718
|
+
0%, 90% {
|
|
719
|
+
transform: scale(1);
|
|
720
|
+
}
|
|
721
|
+
45% {
|
|
722
|
+
transform: scale(var(--fa-beat-scale, 1.25));
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
@keyframes fa-bounce {
|
|
726
|
+
0% {
|
|
727
|
+
transform: scale(1, 1) translateY(0);
|
|
728
|
+
}
|
|
729
|
+
10% {
|
|
730
|
+
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
731
|
+
}
|
|
732
|
+
30% {
|
|
733
|
+
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));
|
|
734
|
+
}
|
|
735
|
+
50% {
|
|
736
|
+
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
737
|
+
}
|
|
738
|
+
57% {
|
|
739
|
+
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
740
|
+
}
|
|
741
|
+
64% {
|
|
742
|
+
transform: scale(1, 1) translateY(0);
|
|
743
|
+
}
|
|
744
|
+
100% {
|
|
745
|
+
transform: scale(1, 1) translateY(0);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
@keyframes fa-fade {
|
|
749
|
+
50% {
|
|
750
|
+
opacity: var(--fa-fade-opacity, 0.4);
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
@keyframes fa-beat-fade {
|
|
754
|
+
0%, 100% {
|
|
755
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
756
|
+
transform: scale(1);
|
|
757
|
+
}
|
|
758
|
+
50% {
|
|
759
|
+
opacity: 1;
|
|
760
|
+
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
@keyframes fa-flip {
|
|
764
|
+
50% {
|
|
765
|
+
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
@keyframes fa-shake {
|
|
769
|
+
0% {
|
|
770
|
+
transform: rotate(-15deg);
|
|
771
|
+
}
|
|
772
|
+
4% {
|
|
773
|
+
transform: rotate(15deg);
|
|
774
|
+
}
|
|
775
|
+
8%, 24% {
|
|
776
|
+
transform: rotate(-18deg);
|
|
777
|
+
}
|
|
778
|
+
12%, 28% {
|
|
779
|
+
transform: rotate(18deg);
|
|
780
|
+
}
|
|
781
|
+
16% {
|
|
782
|
+
transform: rotate(-22deg);
|
|
783
|
+
}
|
|
784
|
+
20% {
|
|
785
|
+
transform: rotate(22deg);
|
|
786
|
+
}
|
|
787
|
+
32% {
|
|
788
|
+
transform: rotate(-12deg);
|
|
789
|
+
}
|
|
790
|
+
36% {
|
|
791
|
+
transform: rotate(12deg);
|
|
792
|
+
}
|
|
793
|
+
40%, 100% {
|
|
794
|
+
transform: rotate(0deg);
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
@keyframes fa-spin {
|
|
798
|
+
0% {
|
|
799
|
+
transform: rotate(0deg);
|
|
800
|
+
}
|
|
801
|
+
100% {
|
|
802
|
+
transform: rotate(360deg);
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
.fa-rotate-90 {
|
|
806
|
+
transform: rotate(90deg);
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.fa-rotate-180 {
|
|
810
|
+
transform: rotate(180deg);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.fa-rotate-270 {
|
|
814
|
+
transform: rotate(270deg);
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.fa-flip-horizontal {
|
|
818
|
+
transform: scale(-1, 1);
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.fa-flip-vertical {
|
|
822
|
+
transform: scale(1, -1);
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.fa-flip-both,
|
|
826
|
+
.fa-flip-horizontal.fa-flip-vertical {
|
|
827
|
+
transform: scale(-1, -1);
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.fa-rotate-by {
|
|
831
|
+
transform: rotate(var(--fa-rotate-angle, 0));
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.fa-stack {
|
|
835
|
+
display: inline-block;
|
|
836
|
+
vertical-align: middle;
|
|
837
|
+
height: 2em;
|
|
838
|
+
position: relative;
|
|
839
|
+
width: 2.5em;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.fa-stack-1x,
|
|
843
|
+
.fa-stack-2x {
|
|
844
|
+
bottom: 0;
|
|
845
|
+
left: 0;
|
|
846
|
+
margin: auto;
|
|
847
|
+
position: absolute;
|
|
848
|
+
right: 0;
|
|
849
|
+
top: 0;
|
|
850
|
+
z-index: var(--fa-stack-z-index, auto);
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.svg-inline--fa.fa-stack-1x {
|
|
854
|
+
height: 1em;
|
|
855
|
+
width: 1.25em;
|
|
856
|
+
}
|
|
857
|
+
.svg-inline--fa.fa-stack-2x {
|
|
858
|
+
height: 2em;
|
|
859
|
+
width: 2.5em;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.fa-inverse {
|
|
863
|
+
color: var(--fa-inverse, #fff);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.sr-only,
|
|
867
|
+
.fa-sr-only {
|
|
868
|
+
position: absolute;
|
|
869
|
+
width: 1px;
|
|
870
|
+
height: 1px;
|
|
871
|
+
padding: 0;
|
|
872
|
+
margin: -1px;
|
|
873
|
+
overflow: hidden;
|
|
874
|
+
clip: rect(0, 0, 0, 0);
|
|
875
|
+
white-space: nowrap;
|
|
876
|
+
border-width: 0;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.sr-only-focusable:not(:focus),
|
|
880
|
+
.fa-sr-only-focusable:not(:focus) {
|
|
881
|
+
position: absolute;
|
|
882
|
+
width: 1px;
|
|
883
|
+
height: 1px;
|
|
884
|
+
padding: 0;
|
|
885
|
+
margin: -1px;
|
|
886
|
+
overflow: hidden;
|
|
887
|
+
clip: rect(0, 0, 0, 0);
|
|
888
|
+
white-space: nowrap;
|
|
889
|
+
border-width: 0;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.svg-inline--fa .fa-primary {
|
|
893
|
+
fill: var(--fa-primary-color, currentColor);
|
|
894
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.svg-inline--fa .fa-secondary {
|
|
898
|
+
fill: var(--fa-secondary-color, currentColor);
|
|
899
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
903
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
907
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.svg-inline--fa mask .fa-primary,
|
|
911
|
+
.svg-inline--fa mask .fa-secondary {
|
|
912
|
+
fill: black;
|
|
913
|
+
}`;function Eh(){const r=dh,n=hh,o=Re.cssPrefix,i=Re.replacementClass;let f=V8;if(o!==r||i!==n){const e=new RegExp("\\.".concat(r,"\\-"),"g"),p=new RegExp("\\--".concat(r,"\\-"),"g"),b=new RegExp("\\.".concat(n),"g");f=f.replace(e,".".concat(o,"-")).replace(p,"--".concat(o,"-")).replace(b,".".concat(i))}return f}let xh=!1;function Ul(){Re.autoAddCss&&!xh&&(j8(Eh()),xh=!0)}var H8={mixout(){return{dom:{css:Eh,insertCss:Ul}}},hooks(){return{beforeDOMElementCreation(){Ul()},beforeI2svg(){Ul()}}}};const An=Hn||{};An[vn]||(An[vn]={}),An[vn].styles||(An[vn].styles={}),An[vn].hooks||(An[vn].hooks={}),An[vn].shims||(An[vn].shims=[]);var Kr=An[vn];const wh=[],Ch=function(){kt.removeEventListener("DOMContentLoaded",Ch),Ia=1,wh.map(r=>r())};let Ia=!1;bn&&(Ia=(kt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(kt.readyState),Ia||kt.addEventListener("DOMContentLoaded",Ch));function W8(r){bn&&(Ia?setTimeout(r,0):wh.push(r))}function Gs(r){const{tag:n,attributes:o={},children:i=[]}=r;return typeof r=="string"?Ah(r):"<".concat(n," ").concat(I8(o),">").concat(i.map(Gs).join(""),"</").concat(n,">")}function Sh(r,n,o){if(r&&r[n]&&r[n][o])return{prefix:n,iconName:o,icon:r[n][o]}}var Yl=function(n,o,i,f){var e=Object.keys(n),p=e.length,b=o,C,w,E;for(i===void 0?(C=1,E=n[e[0]]):(C=0,E=i);C<p;C++)w=e[C],E=b(E,n[w],w,n);return E};function U8(r){const n=[];let o=0;const i=r.length;for(;o<i;){const f=r.charCodeAt(o++);if(f>=55296&&f<=56319&&o<i){const e=r.charCodeAt(o++);(e&64512)==56320?n.push(((f&1023)<<10)+(e&1023)+65536):(n.push(f),o--)}else n.push(f)}return n}function Gl(r){const n=U8(r);return n.length===1?n[0].toString(16):null}function Y8(r,n){const o=r.length;let i=r.charCodeAt(n),f;return i>=55296&&i<=56319&&o>n+1&&(f=r.charCodeAt(n+1),f>=56320&&f<=57343)?(i-55296)*1024+f-56320+65536:i}function Fh(r){return Object.keys(r).reduce((n,o)=>{const i=r[o];return!!i.icon?n[i.iconName]=i.icon:n[o]=i,n},{})}function Xl(r,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=o,f=Fh(n);typeof Kr.hooks.addPack=="function"&&!i?Kr.hooks.addPack(r,Fh(n)):Kr.styles[r]=ye(ye({},Kr.styles[r]||{}),f),r==="fas"&&Xl("fa",n)}const{styles:Xs,shims:G8}=Kr,Dh=Object.keys(Ll),X8=Dh.reduce((r,n)=>(r[n]=Object.keys(Ll[n]),r),{});let Kl=null,Bh={},kh={},Th={},$h={},Mh={};function K8(r){return~N8.indexOf(r)}function J8(r,n){const o=n.split("-"),i=o[0],f=o.slice(1).join("-");return i===r&&f!==""&&!K8(f)?f:null}const Oh=()=>{const r=i=>Yl(Xs,(f,e,p)=>(f[p]=Yl(e,i,{}),f),{});Bh=r((i,f,e)=>(f[3]&&(i[f[3]]=e),f[2]&&f[2].filter(b=>typeof b=="number").forEach(b=>{i[b.toString(16)]=e}),i)),kh=r((i,f,e)=>(i[e]=e,f[2]&&f[2].filter(b=>typeof b=="string").forEach(b=>{i[b]=e}),i)),Mh=r((i,f,e)=>{const p=f[2];return i[e]=e,p.forEach(b=>{i[b]=e}),i});const n="far"in Xs||Re.autoFetchSvg,o=Yl(G8,(i,f)=>{const e=f[0];let p=f[1];const b=f[2];return p==="far"&&!n&&(p="fas"),typeof e=="string"&&(i.names[e]={prefix:p,iconName:b}),typeof e=="number"&&(i.unicodes[e.toString(16)]={prefix:p,iconName:b}),i},{names:{},unicodes:{}});Th=o.names,$h=o.unicodes,Kl=La(Re.styleDefault,{family:Re.familyDefault})};R8(r=>{Kl=La(r.styleDefault,{family:Re.familyDefault})}),Oh();function Jl(r,n){return(Bh[r]||{})[n]}function Z8(r,n){return(kh[r]||{})[n]}function g0(r,n){return(Mh[r]||{})[n]}function Nh(r){return Th[r]||{prefix:null,iconName:null}}function Q8(r){const n=$h[r],o=Jl("fas",r);return n||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function Un(){return Kl}const _h=()=>({prefix:null,iconName:null,rest:[]});function eg(r){let n=Kt;const o=Dh.reduce((i,f)=>(i[f]="".concat(Re.cssPrefix,"-").concat(f),i),{});return oh.forEach(i=>{(r.includes(o[i])||r.some(f=>X8[i].includes(f)))&&(n=i)}),n}function La(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:o=Kt}=n,i=k8[o][r];if(o===Ra&&!r)return"fad";const f=yh[o][r]||yh[o][i],e=r in Kr.styles?r:null;return f||e||null}function tg(r){let n=[],o=null;return r.forEach(i=>{const f=J8(Re.cssPrefix,i);f?o=f:i&&n.push(i)}),{iconName:o,rest:n}}function Ph(r){return r.sort().filter((n,o,i)=>i.indexOf(n)===o)}function qa(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:o=!1}=n;let i=null;const f=Nl.concat(y8),e=Ph(r.filter(B=>f.includes(B))),p=Ph(r.filter(B=>!Nl.includes(B))),b=e.filter(B=>(i=B,!uh.includes(B))),[C=null]=b,w=eg(e),E=ye(ye({},tg(p)),{},{prefix:La(C,{family:w})});return ye(ye(ye({},E),ig({values:r,family:w,styles:Xs,config:Re,canonical:E,givenPrefix:i})),rg(o,i,E))}function rg(r,n,o){let{prefix:i,iconName:f}=o;if(r||!i||!f)return{prefix:i,iconName:f};const e=n==="fa"?Nh(f):{},p=g0(i,f);return f=e.iconName||p||f,i=e.prefix||i,i==="far"&&!Xs.far&&Xs.fas&&!Re.autoFetchSvg&&(i="fas"),{prefix:i,iconName:f}}const ng=oh.filter(r=>r!==Kt||r!==Ra),sg=Object.keys(Ol).filter(r=>r!==Kt).map(r=>Object.keys(Ol[r])).flat();function ig(r){const{values:n,family:o,canonical:i,givenPrefix:f="",styles:e={},config:p={}}=r,b=o===Ra,C=n.includes("fa-duotone")||n.includes("fad"),w=p.familyDefault==="duotone",E=i.prefix==="fad"||i.prefix==="fa-duotone";if(!b&&(C||w||E)&&(i.prefix="fad"),(n.includes("fa-brands")||n.includes("fab"))&&(i.prefix="fab"),!i.prefix&&ng.includes(o)&&(Object.keys(e).find(M=>sg.includes(M))||p.autoFetchSvg)){const M=l8.get(o).defaultShortPrefixId;i.prefix=M,i.iconName=g0(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||f==="fa")&&(i.prefix=Un()||"fas"),i}class ag{constructor(){this.definitions={}}add(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];const f=o.reduce(this._pullDefinitions,{});Object.keys(f).forEach(e=>{this.definitions[e]=ye(ye({},this.definitions[e]||{}),f[e]),Xl(e,f[e]);const p=Ll[Kt][e];p&&Xl(p,f[e]),Oh()})}reset(){this.definitions={}}_pullDefinitions(n,o){const i=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(i).map(f=>{const{prefix:e,iconName:p,icon:b}=i[f],C=b[2];n[e]||(n[e]={}),C.length>0&&C.forEach(w=>{typeof w=="string"&&(n[e][w]=b)}),n[e][p]=b}),n}}let Rh=[],K0={};const J0={},ug=Object.keys(J0);function og(r,n){let{mixoutsTo:o}=n;return Rh=r,K0={},Object.keys(J0).forEach(i=>{ug.indexOf(i)===-1&&delete J0[i]}),Rh.forEach(i=>{const f=i.mixout?i.mixout():{};if(Object.keys(f).forEach(e=>{typeof f[e]=="function"&&(o[e]=f[e]),typeof f[e]=="object"&&Object.keys(f[e]).forEach(p=>{o[e]||(o[e]={}),o[e][p]=f[e][p]})}),i.hooks){const e=i.hooks();Object.keys(e).forEach(p=>{K0[p]||(K0[p]=[]),K0[p].push(e[p])})}i.provides&&i.provides(J0)}),o}function Zl(r,n){for(var o=arguments.length,i=new Array(o>2?o-2:0),f=2;f<o;f++)i[f-2]=arguments[f];return(K0[r]||[]).forEach(p=>{n=p.apply(null,[n,...i])}),n}function y0(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];(K0[r]||[]).forEach(e=>{e.apply(null,o)})}function Yn(){const r=arguments[0],n=Array.prototype.slice.call(arguments,1);return J0[r]?J0[r].apply(null,n):void 0}function Ql(r){r.prefix==="fa"&&(r.prefix="fas");let{iconName:n}=r;const o=r.prefix||Un();if(n)return n=g0(o,n)||n,Sh(jh.definitions,o,n)||Sh(Kr.styles,o,n)}const jh=new ag,vr={noAuto:()=>{Re.autoReplaceSvg=!1,Re.observeMutations=!1,y0("noAuto")},config:Re,dom:{i2svg:function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return bn?(y0("beforeI2svg",r),Yn("pseudoElements2svg",r),Yn("i2svg",r)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:n}=r;Re.autoReplaceSvg===!1&&(Re.autoReplaceSvg=!0),Re.observeMutations=!0,W8(()=>{lg({autoReplaceSvgRoot:n}),y0("watch",r)})}},parse:{icon:r=>{if(r===null)return null;if(typeof r=="object"&&r.prefix&&r.iconName)return{prefix:r.prefix,iconName:g0(r.prefix,r.iconName)||r.iconName};if(Array.isArray(r)&&r.length===2){const n=r[1].indexOf("fa-")===0?r[1].slice(3):r[1],o=La(r[0]);return{prefix:o,iconName:g0(o,n)||n}}if(typeof r=="string"&&(r.indexOf("".concat(Re.cssPrefix,"-"))>-1||r.match(T8))){const n=qa(r.split(" "),{skipLookups:!0});return{prefix:n.prefix||Un(),iconName:g0(n.prefix,n.iconName)||n.iconName}}if(typeof r=="string"){const n=Un();return{prefix:n,iconName:g0(n,r)||r}}}},library:jh,findIconDefinition:Ql,toHtml:Gs},lg=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:n=kt}=r;(Object.keys(Kr.styles).length>0||Re.autoFetchSvg)&&bn&&Re.autoReplaceSvg&&vr.dom.i2svg({node:n})};function Va(r,n){return Object.defineProperty(r,"abstract",{get:n}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(o=>Gs(o))}}),Object.defineProperty(r,"node",{get:function(){if(!bn)return;const o=kt.createElement("div");return o.innerHTML=r.html,o.children}}),r}function cg(r){let{children:n,main:o,mask:i,attributes:f,styles:e,transform:p}=r;if(Wl(p)&&o.found&&!i.found){const{width:b,height:C}=o,w={x:b/C/2,y:.5};f.style=za(ye(ye({},e),{},{"transform-origin":"".concat(w.x+p.x/16,"em ").concat(w.y+p.y/16,"em")}))}return[{tag:"svg",attributes:f,children:n}]}function fg(r){let{prefix:n,iconName:o,children:i,attributes:f,symbol:e}=r;const p=e===!0?"".concat(n,"-").concat(Re.cssPrefix,"-").concat(o):e;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ye(ye({},f),{},{id:p}),children:i}]}]}function ec(r){const{icons:{main:n,mask:o},prefix:i,iconName:f,transform:e,symbol:p,title:b,maskId:C,titleId:w,extra:E,watchable:B=!1}=r,{width:M,height:j}=o.found?o:n,Y=p8.includes(i),J=[Re.replacementClass,f?"".concat(Re.cssPrefix,"-").concat(f):""].filter(z=>E.classes.indexOf(z)===-1).filter(z=>z!==""||!!z).concat(E.classes).join(" ");let I={children:[],attributes:ye(ye({},E.attributes),{},{"data-prefix":i,"data-icon":f,class:J,role:E.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(M," ").concat(j)})};const _=Y&&!~E.classes.indexOf("fa-fw")?{width:"".concat(M/j*16*.0625,"em")}:{};B&&(I.attributes[m0]=""),b&&(I.children.push({tag:"title",attributes:{id:I.attributes["aria-labelledby"]||"title-".concat(w||Ys())},children:[b]}),delete I.attributes.title);const V=ye(ye({},I),{},{prefix:i,iconName:f,main:n,mask:o,maskId:C,transform:e,symbol:p,styles:ye(ye({},_),E.styles)}),{children:te,attributes:Z}=o.found&&n.found?Yn("generateAbstractMask",V)||{children:[],attributes:{}}:Yn("generateAbstractIcon",V)||{children:[],attributes:{}};return V.children=te,V.attributes=Z,p?fg(V):cg(V)}function zh(r){const{content:n,width:o,height:i,transform:f,title:e,extra:p,watchable:b=!1}=r,C=ye(ye(ye({},p.attributes),e?{title:e}:{}),{},{class:p.classes.join(" ")});b&&(C[m0]="");const w=ye({},p.styles);Wl(f)&&(w.transform=q8({transform:f,startCentered:!0,width:o,height:i}),w["-webkit-transform"]=w.transform);const E=za(w);E.length>0&&(C.style=E);const B=[];return B.push({tag:"span",attributes:C,children:[n]}),e&&B.push({tag:"span",attributes:{class:"sr-only"},children:[e]}),B}function dg(r){const{content:n,title:o,extra:i}=r,f=ye(ye(ye({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")}),e=za(i.styles);e.length>0&&(f.style=e);const p=[];return p.push({tag:"span",attributes:f,children:[n]}),o&&p.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),p}const{styles:tc}=Kr;function rc(r){const n=r[0],o=r[1],[i]=r.slice(4);let f=null;return Array.isArray(i)?f={tag:"g",attributes:{class:"".concat(Re.cssPrefix,"-").concat(Vl.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Re.cssPrefix,"-").concat(Vl.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Re.cssPrefix,"-").concat(Vl.PRIMARY),fill:"currentColor",d:i[1]}}]}:f={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:n,height:o,icon:f}}const hg={found:!1,width:512,height:512};function pg(r,n){!mh&&!Re.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(n,'" is missing.'))}function nc(r,n){let o=n;return n==="fa"&&Re.styleDefault!==null&&(n=Un()),new Promise((i,f)=>{if(o==="fa"){const e=Nh(r)||{};r=e.iconName||r,n=e.prefix||n}if(r&&n&&tc[n]&&tc[n][r]){const e=tc[n][r];return i(rc(e))}pg(r,n),i(ye(ye({},hg),{},{icon:Re.showMissingIcons&&r?Yn("missingIconAbstract")||{}:{}}))})}const Ih=()=>{},sc=Re.measurePerformance&&Pa&&Pa.mark&&Pa.measure?Pa:{mark:Ih,measure:Ih},Ks='FA "6.7.2"',mg=r=>(sc.mark("".concat(Ks," ").concat(r," begins")),()=>Lh(r)),Lh=r=>{sc.mark("".concat(Ks," ").concat(r," ends")),sc.measure("".concat(Ks," ").concat(r),"".concat(Ks," ").concat(r," begins"),"".concat(Ks," ").concat(r," ends"))};var ic={begin:mg,end:Lh};const Ha=()=>{};function qh(r){return typeof(r.getAttribute?r.getAttribute(m0):null)=="string"}function gg(r){const n=r.getAttribute?r.getAttribute(Rl):null,o=r.getAttribute?r.getAttribute(jl):null;return n&&o}function yg(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(Re.replacementClass)}function bg(){return Re.autoReplaceSvg===!0?Wa.replace:Wa[Re.autoReplaceSvg]||Wa.replace}function vg(r){return kt.createElementNS("http://www.w3.org/2000/svg",r)}function Ag(r){return kt.createElement(r)}function Vh(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:o=r.tag==="svg"?vg:Ag}=n;if(typeof r=="string")return kt.createTextNode(r);const i=o(r.tag);return Object.keys(r.attributes||[]).forEach(function(e){i.setAttribute(e,r.attributes[e])}),(r.children||[]).forEach(function(e){i.appendChild(Vh(e,{ceFn:o}))}),i}function Eg(r){let n=" ".concat(r.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}const Wa={replace:function(r){const n=r[0];if(n.parentNode)if(r[1].forEach(o=>{n.parentNode.insertBefore(Vh(o),n)}),n.getAttribute(m0)===null&&Re.keepOriginalSource){let o=kt.createComment(Eg(n));n.parentNode.replaceChild(o,n)}else n.remove()},nest:function(r){const n=r[0],o=r[1];if(~Hl(n).indexOf(Re.replacementClass))return Wa.replace(r);const i=new RegExp("".concat(Re.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){const e=o[0].attributes.class.split(" ").reduce((p,b)=>(b===Re.replacementClass||b.match(i)?p.toSvg.push(b):p.toNode.push(b),p),{toNode:[],toSvg:[]});o[0].attributes.class=e.toSvg.join(" "),e.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",e.toNode.join(" "))}const f=o.map(e=>Gs(e)).join(`
|
|
914
|
+
`);n.setAttribute(m0,""),n.innerHTML=f}};function Hh(r){r()}function Wh(r,n){const o=typeof n=="function"?n:Ha;if(r.length===0)o();else{let i=Hh;Re.mutateApproach===D8&&(i=Hn.requestAnimationFrame||Hh),i(()=>{const f=bg(),e=ic.begin("mutate");r.map(f),e(),o()})}}let ac=!1;function Uh(){ac=!0}function uc(){ac=!1}let Ua=null;function Yh(r){if(!sh||!Re.observeMutations)return;const{treeCallback:n=Ha,nodeCallback:o=Ha,pseudoElementsCallback:i=Ha,observeMutationsRoot:f=kt}=r;Ua=new sh(e=>{if(ac)return;const p=Un();X0(e).forEach(b=>{if(b.type==="childList"&&b.addedNodes.length>0&&!qh(b.addedNodes[0])&&(Re.searchPseudoElements&&i(b.target),n(b.target)),b.type==="attributes"&&b.target.parentNode&&Re.searchPseudoElements&&i(b.target.parentNode),b.type==="attributes"&&qh(b.target)&&~O8.indexOf(b.attributeName))if(b.attributeName==="class"&&gg(b.target)){const{prefix:C,iconName:w}=qa(Hl(b.target));b.target.setAttribute(Rl,C||p),w&&b.target.setAttribute(jl,w)}else yg(b.target)&&o(b.target)})}),bn&&Ua.observe(f,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function xg(){Ua&&Ua.disconnect()}function wg(r){const n=r.getAttribute("style");let o=[];return n&&(o=n.split(";").reduce((i,f)=>{const e=f.split(":"),p=e[0],b=e.slice(1);return p&&b.length>0&&(i[p]=b.join(":").trim()),i},{})),o}function Cg(r){const n=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),i=r.innerText!==void 0?r.innerText.trim():"";let f=qa(Hl(r));return f.prefix||(f.prefix=Un()),n&&o&&(f.prefix=n,f.iconName=o),f.iconName&&f.prefix||(f.prefix&&i.length>0&&(f.iconName=Z8(f.prefix,r.innerText)||Jl(f.prefix,Gl(r.innerText))),!f.iconName&&Re.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(f.iconName=r.firstChild.data)),f}function Sg(r){const n=X0(r.attributes).reduce((f,e)=>(f.name!=="class"&&f.name!=="style"&&(f[e.name]=e.value),f),{}),o=r.getAttribute("title"),i=r.getAttribute("data-fa-title-id");return Re.autoA11y&&(o?n["aria-labelledby"]="".concat(Re.replacementClass,"-title-").concat(i||Ys()):(n["aria-hidden"]="true",n.focusable="false")),n}function Fg(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Xr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Gh(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:o,prefix:i,rest:f}=Cg(r),e=Sg(r),p=Zl("parseNodeAttributes",{},r);let b=n.styleParser?wg(r):[];return ye({iconName:o,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:i,transform:Xr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:b,attributes:e}},p)}const{styles:Dg}=Kr;function Xh(r){const n=Re.autoReplaceSvg==="nest"?Gh(r,{styleParser:!1}):Gh(r);return~n.extra.classes.indexOf(bh)?Yn("generateLayersText",r,n):Yn("generateSvgReplacementMutation",r,n)}function Bg(){return[...f8,...Nl]}function Kh(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!bn)return Promise.resolve();const o=kt.documentElement.classList,i=E=>o.add("".concat(ph,"-").concat(E)),f=E=>o.remove("".concat(ph,"-").concat(E)),e=Re.autoFetchSvg?Bg():uh.concat(Object.keys(Dg));e.includes("fa")||e.push("fa");const p=[".".concat(bh,":not([").concat(m0,"])")].concat(e.map(E=>".".concat(E,":not([").concat(m0,"])"))).join(", ");if(p.length===0)return Promise.resolve();let b=[];try{b=X0(r.querySelectorAll(p))}catch{}if(b.length>0)i("pending"),f("complete");else return Promise.resolve();const C=ic.begin("onTree"),w=b.reduce((E,B)=>{try{const M=Xh(B);M&&E.push(M)}catch(M){mh||M.name==="MissingIcon"&&console.error(M)}return E},[]);return new Promise((E,B)=>{Promise.all(w).then(M=>{Wh(M,()=>{i("active"),i("complete"),f("pending"),typeof n=="function"&&n(),C(),E()})}).catch(M=>{C(),B(M)})})}function kg(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Xh(r).then(o=>{o&&Wh([o],n)})}function Tg(r){return function(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=(n||{}).icon?n:Ql(n||{});let{mask:f}=o;return f&&(f=(f||{}).icon?f:Ql(f||{})),r(i,ye(ye({},o),{},{mask:f}))}}const $g=function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:o=Xr,symbol:i=!1,mask:f=null,maskId:e=null,title:p=null,titleId:b=null,classes:C=[],attributes:w={},styles:E={}}=n;if(!r)return;const{prefix:B,iconName:M,icon:j}=r;return Va(ye({type:"icon"},r),()=>(y0("beforeDOMElementCreation",{iconDefinition:r,params:n}),Re.autoA11y&&(p?w["aria-labelledby"]="".concat(Re.replacementClass,"-title-").concat(b||Ys()):(w["aria-hidden"]="true",w.focusable="false")),ec({icons:{main:rc(j),mask:f?rc(f.icon):{found:!1,width:null,height:null,icon:{}}},prefix:B,iconName:M,transform:ye(ye({},Xr),o),symbol:i,title:p,maskId:e,titleId:b,extra:{attributes:w,styles:E,classes:C}})))};var Mg={mixout(){return{icon:Tg($g)}},hooks(){return{mutationObserverCallbacks(r){return r.treeCallback=Kh,r.nodeCallback=kg,r}}},provides(r){r.i2svg=function(n){const{node:o=kt,callback:i=()=>{}}=n;return Kh(o,i)},r.generateSvgReplacementMutation=function(n,o){const{iconName:i,title:f,titleId:e,prefix:p,transform:b,symbol:C,mask:w,maskId:E,extra:B}=o;return new Promise((M,j)=>{Promise.all([nc(i,p),w.iconName?nc(w.iconName,w.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(Y=>{let[J,I]=Y;M([n,ec({icons:{main:J,mask:I},prefix:p,iconName:i,transform:b,symbol:C,maskId:E,title:f,titleId:e,extra:B,watchable:!0})])}).catch(j)})},r.generateAbstractIcon=function(n){let{children:o,attributes:i,main:f,transform:e,styles:p}=n;const b=za(p);b.length>0&&(i.style=b);let C;return Wl(e)&&(C=Yn("generateAbstractTransformGrouping",{main:f,transform:e,containerWidth:f.width,iconWidth:f.width})),o.push(C||f.icon),{children:o,attributes:i}}}},Og={mixout(){return{layer(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:o=[]}=n;return Va({type:"layer"},()=>{y0("beforeDOMElementCreation",{assembler:r,params:n});let i=[];return r(f=>{Array.isArray(f)?f.map(e=>{i=i.concat(e.abstract)}):i=i.concat(f.abstract)}),[{tag:"span",attributes:{class:["".concat(Re.cssPrefix,"-layers"),...o].join(" ")},children:i}]})}}}},Ng={mixout(){return{counter(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:o=null,classes:i=[],attributes:f={},styles:e={}}=n;return Va({type:"counter",content:r},()=>(y0("beforeDOMElementCreation",{content:r,params:n}),dg({content:r.toString(),title:o,extra:{attributes:f,styles:e,classes:["".concat(Re.cssPrefix,"-layers-counter"),...i]}})))}}}},_g={mixout(){return{text(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:o=Xr,title:i=null,classes:f=[],attributes:e={},styles:p={}}=n;return Va({type:"text",content:r},()=>(y0("beforeDOMElementCreation",{content:r,params:n}),zh({content:r,transform:ye(ye({},Xr),o),title:i,extra:{attributes:e,styles:p,classes:["".concat(Re.cssPrefix,"-layers-text"),...f]}})))}}},provides(r){r.generateLayersText=function(n,o){const{title:i,transform:f,extra:e}=o;let p=null,b=null;if(ih){const C=parseInt(getComputedStyle(n).fontSize,10),w=n.getBoundingClientRect();p=w.width/C,b=w.height/C}return Re.autoA11y&&!i&&(e.attributes["aria-hidden"]="true"),Promise.resolve([n,zh({content:n.innerHTML,width:p,height:b,transform:f,title:i,extra:e,watchable:!0})])}}};const Pg=new RegExp('"',"ug"),Jh=[1105920,1112319],Zh=ye(ye(ye(ye({},{FontAwesome:{normal:"fas",400:"fas"}}),o8),S8),b8),oc=Object.keys(Zh).reduce((r,n)=>(r[n.toLowerCase()]=Zh[n],r),{}),Rg=Object.keys(oc).reduce((r,n)=>{const o=oc[n];return r[n]=o[900]||[...Object.entries(o)][0][1],r},{});function jg(r){const n=r.replace(Pg,""),o=Y8(n,0),i=o>=Jh[0]&&o<=Jh[1],f=n.length===2?n[0]===n[1]:!1;return{value:Gl(f?n[0]:n),isSecondary:i||f}}function zg(r,n){const o=r.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(n),f=isNaN(i)?"normal":i;return(oc[o]||{})[f]||Rg[o]}function Qh(r,n){const o="".concat(F8).concat(n.replace(":","-"));return new Promise((i,f)=>{if(r.getAttribute(o)!==null)return i();const p=X0(r.children).filter(M=>M.getAttribute(Pl)===n)[0],b=Hn.getComputedStyle(r,n),C=b.getPropertyValue("font-family"),w=C.match($8),E=b.getPropertyValue("font-weight"),B=b.getPropertyValue("content");if(p&&!w)return r.removeChild(p),i();if(w&&B!=="none"&&B!==""){const M=b.getPropertyValue("content");let j=zg(C,E);const{value:Y,isSecondary:J}=jg(M),I=w[0].startsWith("FontAwesome");let _=Jl(j,Y),V=_;if(I){const te=Q8(Y);te.iconName&&te.prefix&&(_=te.iconName,j=te.prefix)}if(_&&!J&&(!p||p.getAttribute(Rl)!==j||p.getAttribute(jl)!==V)){r.setAttribute(o,V),p&&r.removeChild(p);const te=Fg(),{extra:Z}=te;Z.attributes[Pl]=n,nc(_,j).then(z=>{const le=ec(ye(ye({},te),{},{icons:{main:z,mask:_h()},prefix:j,iconName:V,extra:Z,watchable:!0})),pe=kt.createElementNS("http://www.w3.org/2000/svg","svg");n==="::before"?r.insertBefore(pe,r.firstChild):r.appendChild(pe),pe.outerHTML=le.map(be=>Gs(be)).join(`
|
|
915
|
+
`),r.removeAttribute(o),i()}).catch(f)}else i()}else i()})}function Ig(r){return Promise.all([Qh(r,"::before"),Qh(r,"::after")])}function Lg(r){return r.parentNode!==document.head&&!~B8.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(Pl)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function e2(r){if(bn)return new Promise((n,o)=>{const i=X0(r.querySelectorAll("*")).filter(Lg).map(Ig),f=ic.begin("searchPseudoElements");Uh(),Promise.all(i).then(()=>{f(),uc(),n()}).catch(()=>{f(),uc(),o()})})}var qg={hooks(){return{mutationObserverCallbacks(r){return r.pseudoElementsCallback=e2,r}}},provides(r){r.pseudoElements2svg=function(n){const{node:o=kt}=n;Re.searchPseudoElements&&e2(o)}}};let t2=!1;var Vg={mixout(){return{dom:{unwatch(){Uh(),t2=!0}}}},hooks(){return{bootstrap(){Yh(Zl("mutationObserverCallbacks",{}))},noAuto(){xg()},watch(r){const{observeMutationsRoot:n}=r;t2?uc():Yh(Zl("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}};const r2=r=>{let n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return r.toLowerCase().split(" ").reduce((o,i)=>{const f=i.toLowerCase().split("-"),e=f[0];let p=f.slice(1).join("-");if(e&&p==="h")return o.flipX=!0,o;if(e&&p==="v")return o.flipY=!0,o;if(p=parseFloat(p),isNaN(p))return o;switch(e){case"grow":o.size=o.size+p;break;case"shrink":o.size=o.size-p;break;case"left":o.x=o.x-p;break;case"right":o.x=o.x+p;break;case"up":o.y=o.y-p;break;case"down":o.y=o.y+p;break;case"rotate":o.rotate=o.rotate+p;break}return o},n)};var Hg={mixout(){return{parse:{transform:r=>r2(r)}}},hooks(){return{parseNodeAttributes(r,n){const o=n.getAttribute("data-fa-transform");return o&&(r.transform=r2(o)),r}}},provides(r){r.generateAbstractTransformGrouping=function(n){let{main:o,transform:i,containerWidth:f,iconWidth:e}=n;const p={transform:"translate(".concat(f/2," 256)")},b="translate(".concat(i.x*32,", ").concat(i.y*32,") "),C="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),w="rotate(".concat(i.rotate," 0 0)"),E={transform:"".concat(b," ").concat(C," ").concat(w)},B={transform:"translate(".concat(e/2*-1," -256)")},M={outer:p,inner:E,path:B};return{tag:"g",attributes:ye({},M.outer),children:[{tag:"g",attributes:ye({},M.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:ye(ye({},o.icon.attributes),M.path)}]}]}}}};const lc={x:0,y:0,width:"100%",height:"100%"};function n2(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.attributes&&(r.attributes.fill||n)&&(r.attributes.fill="black"),r}function Wg(r){return r.tag==="g"?r.children:[r]}var Ug={hooks(){return{parseNodeAttributes(r,n){const o=n.getAttribute("data-fa-mask"),i=o?qa(o.split(" ").map(f=>f.trim())):_h();return i.prefix||(i.prefix=Un()),r.mask=i,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides(r){r.generateAbstractMask=function(n){let{children:o,attributes:i,main:f,mask:e,maskId:p,transform:b}=n;const{width:C,icon:w}=f,{width:E,icon:B}=e,M=L8({transform:b,containerWidth:E,iconWidth:C}),j={tag:"rect",attributes:ye(ye({},lc),{},{fill:"white"})},Y=w.children?{children:w.children.map(n2)}:{},J={tag:"g",attributes:ye({},M.inner),children:[n2(ye({tag:w.tag,attributes:ye(ye({},w.attributes),M.path)},Y))]},I={tag:"g",attributes:ye({},M.outer),children:[J]},_="mask-".concat(p||Ys()),V="clip-".concat(p||Ys()),te={tag:"mask",attributes:ye(ye({},lc),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[j,I]},Z={tag:"defs",children:[{tag:"clipPath",attributes:{id:V},children:Wg(B)},te]};return o.push(Z,{tag:"rect",attributes:ye({fill:"currentColor","clip-path":"url(#".concat(V,")"),mask:"url(#".concat(_,")")},lc)}),{children:o,attributes:i}}}},Yg={provides(r){let n=!1;Hn.matchMedia&&(n=Hn.matchMedia("(prefers-reduced-motion: reduce)").matches),r.missingIconAbstract=function(){const o=[],i={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:ye(ye({},i),{},{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 e=ye(ye({},f),{},{attributeName:"opacity"}),p={tag:"circle",attributes:ye(ye({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||p.children.push({tag:"animate",attributes:ye(ye({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ye(ye({},e),{},{values:"1;0;1;1;0;1;"})}),o.push(p),o.push({tag:"path",attributes:ye(ye({},i),{},{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:n?[]:[{tag:"animate",attributes:ye(ye({},e),{},{values:"1;0;0;0;0;1;"})}]}),n||o.push({tag:"path",attributes:ye(ye({},i),{},{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:ye(ye({},e),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},Gg={hooks(){return{parseNodeAttributes(r,n){const o=n.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return r.symbol=i,r}}}},Xg=[H8,Mg,Og,Ng,_g,qg,Vg,Hg,Ug,Yg,Gg];og(Xg,{mixoutsTo:vr}),vr.noAuto,vr.config,vr.library,vr.dom;const cc=vr.parse;vr.findIconDefinition,vr.toHtml;const Kg=vr.icon;vr.layer,vr.text,vr.counter;function s2(r,n){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);n&&(i=i.filter(function(f){return Object.getOwnPropertyDescriptor(r,f).enumerable})),o.push.apply(o,i)}return o}function Jr(r){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?s2(Object(o),!0).forEach(function(i){Z0(r,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):s2(Object(o)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(o,i))})}return r}function Ya(r){"@babel/helpers - typeof";return Ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ya(r)}function Z0(r,n,o){return n in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r}function Jg(r,n){if(r==null)return{};var o={},i=Object.keys(r),f,e;for(e=0;e<i.length;e++)f=i[e],!(n.indexOf(f)>=0)&&(o[f]=r[f]);return o}function Zg(r,n){if(r==null)return{};var o=Jg(r,n),i,f;if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);for(f=0;f<e.length;f++)i=e[f],!(n.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(o[i]=r[i])}return o}function fc(r){return Qg(r)||e9(r)||t9(r)||r9()}function Qg(r){if(Array.isArray(r))return dc(r)}function e9(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function t9(r,n){if(r){if(typeof r=="string")return dc(r,n);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return dc(r,n)}}function dc(r,n){(n==null||n>r.length)&&(n=r.length);for(var o=0,i=new Array(n);o<n;o++)i[o]=r[o];return i}function r9(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
916
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n9(r){var n,o=r.beat,i=r.fade,f=r.beatFade,e=r.bounce,p=r.shake,b=r.flash,C=r.spin,w=r.spinPulse,E=r.spinReverse,B=r.pulse,M=r.fixedWidth,j=r.inverse,Y=r.border,J=r.listItem,I=r.flip,_=r.size,V=r.rotation,te=r.pull,Z=(n={"fa-beat":o,"fa-fade":i,"fa-beat-fade":f,"fa-bounce":e,"fa-shake":p,"fa-flash":b,"fa-spin":C,"fa-spin-reverse":E,"fa-spin-pulse":w,"fa-pulse":B,"fa-fw":M,"fa-inverse":j,"fa-border":Y,"fa-li":J,"fa-flip":I===!0,"fa-flip-horizontal":I==="horizontal"||I==="both","fa-flip-vertical":I==="vertical"||I==="both"},Z0(n,"fa-".concat(_),typeof _<"u"&&_!==null),Z0(n,"fa-rotate-".concat(V),typeof V<"u"&&V!==null&&V!==0),Z0(n,"fa-pull-".concat(te),typeof te<"u"&&te!==null),Z0(n,"fa-swap-opacity",r.swapOpacity),n);return Object.keys(Z).map(function(z){return Z[z]?z:null}).filter(function(z){return z})}function s9(r){return r=r-0,r===r}function i2(r){return s9(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(n,o){return o?o.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))}var i9=["style"];function a9(r){return r.charAt(0).toUpperCase()+r.slice(1)}function u9(r){return r.split(";").map(function(n){return n.trim()}).filter(function(n){return n}).reduce(function(n,o){var i=o.indexOf(":"),f=i2(o.slice(0,i)),e=o.slice(i+1).trim();return f.startsWith("webkit")?n[a9(f)]=e:n[f]=e,n},{})}function a2(r,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof n=="string")return n;var i=(n.children||[]).map(function(C){return a2(r,C)}),f=Object.keys(n.attributes||{}).reduce(function(C,w){var E=n.attributes[w];switch(w){case"class":C.attrs.className=E,delete n.attributes.class;break;case"style":C.attrs.style=u9(E);break;default:w.indexOf("aria-")===0||w.indexOf("data-")===0?C.attrs[w.toLowerCase()]=E:C.attrs[i2(w)]=E}return C},{attrs:{}}),e=o.style,p=e===void 0?{}:e,b=Zg(o,i9);return f.attrs.style=Jr(Jr({},f.attrs.style),p),r.apply(void 0,[n.tag,Jr(Jr({},f.attrs),b)].concat(fc(i)))}var u2=!1;try{u2=process.env.NODE_ENV==="production"}catch{}function o9(){if(!u2&&console&&typeof console.error=="function"){var r;(r=console).error.apply(r,arguments)}}function o2(r){if(r&&Ya(r)==="object"&&r.prefix&&r.iconName&&r.icon)return r;if(cc.icon)return cc.icon(r);if(r===null)return null;if(r&&Ya(r)==="object"&&r.prefix&&r.iconName)return r;if(Array.isArray(r)&&r.length===2)return{prefix:r[0],iconName:r[1]};if(typeof r=="string")return{prefix:"fas",iconName:r}}function hc(r,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?Z0({},r,n):{}}var l2={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},Js=X.forwardRef(function(r,n){var o=Jr(Jr({},l2),r),i=o.icon,f=o.mask,e=o.symbol,p=o.className,b=o.title,C=o.titleId,w=o.maskId,E=o2(i),B=hc("classes",[].concat(fc(n9(o)),fc((p||"").split(" ")))),M=hc("transform",typeof o.transform=="string"?cc.transform(o.transform):o.transform),j=hc("mask",o2(f)),Y=Kg(E,Jr(Jr(Jr(Jr({},B),M),j),{},{symbol:e,title:b,titleId:C,maskId:w}));if(!Y)return o9("Could not find icon",E),null;var J=Y.abstract,I={ref:n};return Object.keys(o).forEach(function(_){l2.hasOwnProperty(_)||(I[_]=o[_])}),l9(J[0],I)});Js.displayName="FontAwesomeIcon",Js.propTypes={beat:fe.bool,border:fe.bool,beatFade:fe.bool,bounce:fe.bool,className:fe.string,fade:fe.bool,flash:fe.bool,mask:fe.oneOfType([fe.object,fe.array,fe.string]),maskId:fe.string,fixedWidth:fe.bool,inverse:fe.bool,flip:fe.oneOf([!0,!1,"horizontal","vertical","both"]),icon:fe.oneOfType([fe.object,fe.array,fe.string]),listItem:fe.bool,pull:fe.oneOf(["right","left"]),pulse:fe.bool,rotation:fe.oneOf([0,90,180,270]),shake:fe.bool,size:fe.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:fe.bool,spinPulse:fe.bool,spinReverse:fe.bool,symbol:fe.oneOfType([fe.bool,fe.string]),title:fe.string,titleId:fe.string,transform:fe.oneOfType([fe.string,fe.object]),swapOpacity:fe.bool};var l9=a2.bind(null,X.createElement);/*!
|
|
917
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
918
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
919
|
+
* Copyright 2024 Fonticons, Inc.
|
|
920
|
+
*/const c9={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},f9={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"]},d9={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]};function pc({choices:r,onclicks:n}){return k.jsx(k.Fragment,{children:k.jsx("div",{children:r.map((o,i)=>k.jsx(_n,{variant:"outline-primary d-inline m-1",onClick:()=>{n[i]()},children:o},i))})})}function h9({title:r,choices:n,onclicks:o}){return k.jsx(k.Fragment,{children:k.jsx("div",{children:k.jsx(tl,{title:r,children:n.map((i,f)=>k.jsx(md.Item,{onClick:()=>o[f](),children:i},i))})})})}function p9({id:r}){const n=Vn(),o=Ct(p=>_4(p,r)),i=Ct(p=>F7(p,r)),f=o.formula.getSignedSubFormulas(o.sign).map(({sign:p,formula:b})=>b.signedFormulaToString(p));let e;return i===void 0?k.jsx(k.Fragment,{children:k.jsx("div",{className:"d-flex justify-content-center mb-3 mt-3",children:e})}):(i.type==="delta"&&(e=k.jsx(h9,{id:r,title:k.jsxs(k.Fragment,{children:["Select a domain element for ",k.jsx("var",{children:i.variableName})]}),choices:i.values,type:i.type,onclicks:i.elements.map(p=>()=>n(A7({id:r,element:p})))})),i.type==="gamma"&&(e=k.jsx(pc,{id:r,choices:i.values,type:i.type,onclicks:i.elements.map(p=>()=>n(v7({id:r,element:p})))})),i.type==="beta"&&(e=k.jsx(pc,{id:r,choices:i.values,type:i.type,onclicks:i.subformulas.map((p,b)=>b===0||b===1?()=>n(b7({id:r,formula:b})):()=>{})})),i.type==="alpha"&&(e=k.jsx(pc,{id:r,choices:i.values,type:i.type,onclicks:i.subformulas.map(p=>{let b=f.indexOf(p.formula.signedFormulaToString(p.sign));return b===0||b===1?()=>n(y7({id:r,formula:b})):()=>{}})})),k.jsx(k.Fragment,{children:k.jsx("div",{className:"d-flex justify-content-center mb-3 mt-3",children:e})}))}function m9({children:r,sent:n,change:o,win:i,lose:f,onClick:e}){const p=i===!0?"success":f===!0?"danger":n?"primary":"light",b=n?"float-end":"float-start",C=n?"rounded-start-3":"rounded-end-3";return k.jsx(k.Fragment,{children:k.jsxs("div",{children:[k.jsx("div",{className:`${b} mb-1 mt-1 p-2 text-wrap rounded-bottom-3 ${C} text-bg-${p}`,children:r}),o&&k.jsx(_n,{variant:"link",onClick:e,className:"float-end",children:"Change"})]})})}function g9(r,n){return new Map(Array.from(n.entries()).filter(([o,i])=>!r.has(o)||r.get(o)!==i))}function y9({id:r}){const n=Vn(),o=Ct(w=>kl(w,r)),i=Ct(Y0),f=Ct(w=>$a(w,r)),e=X.useRef(null),p=Ct(Ta);X.useEffect(()=>{var w;e.current&&((w=e.current)==null||w.scrollIntoView({behavior:"smooth",block:"nearest"}))},[o]);let b=[],C=0;for(const{sf:w,valuation:E,type:B,winFormula:M,winElement:j}of o){const Y=g9(p,E);let J=Array.from(Y).map(([_,V])=>`(${_} / ${V})`).join(" ");if(b.push({text:k.jsxs(k.Fragment,{children:["You assume that ℳ ",w!=null&&w.sign?" ⊨ ":" ⊭ "," ",w.formula.toString(),"[",k.jsx("var",{children:" e"}),J," ]"]}),sender:"game"}),w.formula.getSubFormulas().length===0&&w.formula instanceof Sl){const _=w.formula.eval(i,E)===w.sign;b.push({text:k.jsxs(k.Fragment,{children:[k.jsx("strong",{children:_?"You win ":"You lose"}),", ℳ",w.sign?"⊨":"⊭"," ",w.formula.toString(),"[",k.jsx("var",{children:" e"})," ",J,"], since (",w.formula.terms.map(te=>te.eval(i,E)).join(","),")",w.sign===!0?_?" ∈ ":" ∉ ":_?" ∉ ":" ∈ ","i(",w.formula.name,")"]}),sender:"game",win:_,lose:!_});const V=o[0].sf.formula.eval(i,E)===o[0].sf.sign;b.push({text:k.jsxs(k.Fragment,{children:[V===!0&&_===!1&&k.jsx(k.Fragment,{children:k.jsx("strong",{children:"You could have won, though."})}),"Your initial assumption that ℳ ",o[0].sf.sign?"⊨":"⊭",o[0].sf.formula.toString(),"[",k.jsx("var",{children:" e"})," ] was",V?" correct":" incorrect"," ",V===!0&&_===!1&&k.jsxs(k.Fragment,{children:["Find incorrect intermediate answers and correct them! You can use ",k.jsx("strong",{children:"change button"})," next to your answers for that."]})]}),sender:"game"});break}if(B==="alpha"&&M&&(b.push({text:k.jsxs(k.Fragment,{children:["Then ℳ ",M.sign?"⊨":"⊭"," ",M.formula.toString(),"[",k.jsx("var",{children:" e"}),J," ]"]}),sender:"game"}),C<f.length&&b.push({text:k.jsx(k.Fragment,{children:"Continue"}),sender:"player"})),B==="beta"){const _=w.formula.getSignedSubFormulas(w.sign);if(b.push({text:k.jsx(k.Fragment,{children:"Which option is true?"}),sender:"game"}),_.forEach((V,te)=>b.push({text:k.jsxs(k.Fragment,{children:["ℳ ",V.sign?"⊨":"⊭"," ",V.formula.toString(),"[",k.jsx("var",{children:" e"}),J," ]"]}),sender:"game"})),C<f.length){const V=_[f[C].formula];b.push({text:k.jsxs(k.Fragment,{children:["ℳ ",V.sign?"⊨":"⊭"," ",V.formula.toString(),"[",k.jsx("var",{children:" e"}),J," ]"]}),sender:"player",goBack:C})}}B==="gamma"&&w.formula instanceof mn&&(b.push({text:k.jsxs(k.Fragment,{children:["Then ℳ ",w.sign?" ⊨ ":" ⊭ "," ",w.formula.toString(),"[",k.jsx("var",{children:" e"})," ",J," ] also when we assign element"," ",j," to ",w.formula.variableName]}),sender:"game"}),C<f.length&&b.push({text:k.jsx(k.Fragment,{children:"Continue"}),sender:"player"})),B==="delta"&&w.formula instanceof mn&&(b.push({text:k.jsxs(k.Fragment,{children:["Which domain element should we assign to"," ",k.jsx("var",{children:w.formula.variableName})," to show that ℳ",w.sign?" ⊨ ":" ⊭ "," ",w.formula.toString(),"[",k.jsx("var",{children:" e"}),J," ]"]}),sender:"game"}),C<f.length&&b.push({text:k.jsxs(k.Fragment,{children:["Assign ",f[C].element," to ",w.formula.variableName]}),sender:"player",goBack:C})),C++}return k.jsxs(k.Fragment,{children:[b.map(({text:w,sender:E,goBack:B,win:M,lose:j},Y)=>k.jsx(m9,{children:w,sent:E==="player",recieved:E==="game",onClick:B!==void 0?()=>n(N4({id:r,index:B})):void 0,change:B!==void 0,lose:j,win:M},`${Y}-${E}`)),k.jsx("div",{ref:e})]})}function b9({id:r}){const n=Vn(),o=Ct(i=>B7(i,r));return X.useEffect(()=>{n(N4({id:r,index:o}))}),k.jsx(k.Fragment,{children:k.jsxs(ur,{className:"mb-3 mt-3 h-100",children:[k.jsx(ur.Body,{className:"d-flex flex-column overflow-y-auto text-break vw-25",style:{maxHeight:"33vh",overflowY:"auto",position:"relative"},children:k.jsx(y9,{id:r})}),k.jsx(p9,{id:r})]})})}function v9({id:r,text:n,guess:o}){const i=r+1,f=Vn(),{error:e,formula:p}=Ct(B=>Ma(B,r)),[b,C]=X.useState(!1),w=Ct(gn),E=Ct(B=>D7(B,r));return k.jsx(k.Fragment,{children:k.jsxs(jn,{children:[k.jsx(In,{children:k.jsxs(zn,{className:"mb-3",hasValidation:!!e,children:[k.jsx(zn.Text,{children:k.jsx(Ut.InlineMath,{children:String.raw`\varphi_{${i}}`})}),k.jsx(jn.Control,{placeholder:"Formula","aria-label":"Formula","aria-describedby":"basic-addon2",value:n,onChange:B=>{f(E7({id:r,text:B.target.value}))},isInvalid:!!e}),k.jsx(_n,{variant:"outline-danger",id:"button-addon2",onClick:()=>f(g7(r)),children:k.jsx(Js,{icon:f9})}),k.jsx(J4,{error:e,text:n})]})}),k.jsxs(In,{className:"align-items-start mb-3",children:[k.jsx(nr,{xs:"auto",children:k.jsxs(zn,{hasValidation:!0,children:[k.jsx(zn.Text,{children:k.jsx(Ut.InlineMath,{children:String.raw`\mathcal{M}`})}),k.jsxs(jn.Select,{"aria-label":"Select",value:o===!0?"true":o===!1?"false":"null",onChange:B=>{f(x7({id:r,guess:B.target.value==="true"?!0:B.target.value==="false"?!1:null}))},isValid:E&&o!==null,isInvalid:!E&&o!==null,children:[k.jsx("option",{value:"null",children:"⊨/⊭?"}),k.jsx("option",{value:"true",children:"⊨"}),k.jsx("option",{value:"false",children:"⊭"})]}),k.jsx(zn.Text,{children:k.jsx(Ut.InlineMath,{children:String.raw`\varphi_{${i}}[e]`})}),k.jsx(jn.Control.Feedback,{type:"valid",children:"Verified!"}),k.jsx(jn.Control.Feedback,{type:"invalid",children:"Not verified!"})]})}),k.jsx(nr,{xs:"auto",children:k.jsx(_n,{variant:E?"success":"danger",disabled:!!e||o===null||w.error!==void 0,onClick:()=>{C(!b)},children:E?b?"Hide verification":"Show verification":"Verify"})})]}),b&&o!==null&&p&&w.error===void 0&&k.jsx(b9,{id:r,guess:o,originalFormula:p})]})})}function Ga({text:r}){const[n,o]=X.useState(!1),i=k.jsx(al,{className:"mw-100 overflow-auto shadow-sm",style:{width:"30rem",maxHeight:"90vh"},children:k.jsx(al.Body,{children:r})});return k.jsx(D6,{trigger:"click",placement:"auto",overlay:i,show:n,onToggle:()=>o(!n),children:k.jsx(_n,{variant:"outline-info",style:{padding:"0.2rem 0.4rem"},title:"Help",onClick:()=>o(!n),children:k.jsx(Js,{icon:c9})})})}const A9=k.jsxs(k.Fragment,{children:[k.jsx("p",{children:"The truth of closed first-order formulas in the structure 𝓜 and the satisfaction of open first-order formulas by the valuation of variables 𝑒 in 𝓜 can be examined in this section."}),k.jsx("p",{children:"The desired/expected truth or satisfaction can be selected from the ⊨/⊭ menu below a formula. Structure Explorer checks the correctness of your selection."}),k.jsx("p",{className:"mb-0",children:"Syntactic requirements:"}),k.jsxs("ul",{className:"mb-0",children:[k.jsx("li",{children:"All non-logical symbols used in formulas must come from the language 𝓛 and must be used according to their type and arity. All other alphanumerical symbols are treated as variables."}),k.jsx("li",{children:"Formulas must be properly parenthesized."}),k.jsxs("li",{children:["The following notation of logical symbols is accepted:",k.jsxs(B6,{size:"sm",striped:!0,className:"my-2 border-bottom",children:[k.jsx("thead",{children:k.jsxs("tr",{children:[k.jsx("th",{children:"Symbol"}),k.jsx("th",{children:"Notation"})]})}),k.jsxs("tbody",{children:[k.jsxs("tr",{children:[k.jsx("td",{children:"Equality"}),k.jsx("td",{children:" =, ≐"})]}),k.jsxs("tr",{children:[k.jsx("td",{children:"Non-equality"}),k.jsxs("td",{children:[" !=, ","<>",", /=, ≠"]})]}),k.jsxs("tr",{children:[k.jsx("td",{children:"Negation"}),k.jsx("td",{children:" \\neg, \\lnot, -, !, ~, ¬"})]}),k.jsxs("tr",{children:[k.jsx("td",{children:"Conjunction"}),k.jsx("td",{children:" \\wedge, \\land, &&, &, /\\, ∧"})]}),k.jsxs("tr",{children:[k.jsx("td",{children:"Disjunction"}),k.jsx("td",{children:" \\vee, \\lor, ||, |, \\/, ∨"})]}),k.jsxs("tr",{children:[k.jsx("td",{children:"Implication"}),k.jsxs("td",{children:[" \\to, \\limpl, ","->",", →"]})]}),k.jsxs("tr",{children:[k.jsx("td",{children:"Equivalence"}),k.jsxs("td",{children:[" \\lequiv, \\leftrightarrow, ","<->",", ↔︎"]})]}),k.jsxs("tr",{children:[k.jsx("td",{children:"Existential quantifier"}),k.jsx("td",{children:" \\exists, \\e, \\E, ∃"})]}),k.jsxs("tr",{children:[k.jsx("td",{children:"General quantifier"}),k.jsx("td",{children:" \\forall, \\a, \\A, ∀"})]})]})]})]}),k.jsxs("li",{children:["The priority of logical symbols:",k.jsxs("ol",{className:"my-0",children:[k.jsx("li",{children:"≐, ≠ (highest priority)"}),k.jsx("li",{children:"¬, ∀, ∃"}),k.jsx("li",{children:"∧ (left-associative, i.e., A ∧ B ∧ C ≡ ((A ∧ B) ∧ C))"}),k.jsx("li",{children:"∨ (left-associative)"}),k.jsx("li",{children:"→ (right-associative, i.e., A → B → C ≡ (A → (B → C)))"}),k.jsx("li",{children:"↔︎ (non-associative, lowest priority)"})]})]})]})]});function E9(){const r=Vn(),n=Ct(C7);return k.jsx(k.Fragment,{children:k.jsxs(ur,{className:"mb-3 mt-3",children:[k.jsx(ur.Header,{as:"h4",children:k.jsxs(In,{children:[k.jsxs(nr,{children:["Truth of formulas in"," ",k.jsx(Ut.InlineMath,{children:String.raw`\mathcal{M}`})]}),k.jsx(nr,{xs:"auto",children:k.jsx(Ga,{text:A9})})]})}),k.jsxs(ur.Body,{children:[n.map((o,i)=>k.jsx(v9,{id:i,text:o.text,guess:o.guess},i)),k.jsxs(_n,{variant:"success",onClick:()=>r(m7()),children:[k.jsx(Js,{icon:d9})," Add"]})]})]})})}function Q0({label:r,id:n,prefix:o,suffix:i,placeholder:f,text:e,onChange:p,error:b}){return k.jsxs(k.Fragment,{children:[r!=""&&k.jsx(jn.Label,{htmlFor:`${n}-${r.toLowerCase()}`,children:r}),k.jsxs(zn,{as:nr,className:"mb-3",hasValidation:!!b,children:[k.jsx(zn.Text,{children:o}),k.jsx(jn.Control,{placeholder:f,"aria-label":f,"aria-describedby":"basic-addon2",value:e,onChange:p,id:`${n}-${r.toLowerCase()}`,isInvalid:!!b}),i&&k.jsx(zn.Text,{children:i}),k.jsx(J4,{error:b,text:e})]})]})}function mc({name:r,id:n,selector:o,parser:i,onChange:f}){const e=Ct(b=>o(b,r)),{error:p}=Ct(b=>i(b,r));return k.jsx(k.Fragment,{children:k.jsx(Q0,{label:"",id:n,prefix:k.jsx(Ut.InlineMath,{children:String.raw`i(\text{\textsf{${r}}}) =`}),suffix:"",placeholder:"",text:(e==null?void 0:e.text)??"",onChange:f,error:p})})}const x9=k.jsxs(k.Fragment,{children:[k.jsx("p",{children:"A first-order structure for language 𝓛 is defined in this section. When the language is modified, inputs for interpretations of symbols are updated accordingly."}),k.jsx("p",{className:"mb-0",children:"Syntactic requirements:"}),k.jsxs("ul",{className:"mb-0",children:[k.jsx("li",{children:"Elements in all sets (the domain, interpretations of predicates and functions) are comma-separated."}),k.jsx("li",{children:"Strings of any Unicode characters except spaces, comma, and parentheses can be used as domain elements."}),k.jsx("li",{children:"An individual constant is interpreted a domain element picked from a menu."}),k.jsx("li",{children:"A unary predicate symbol is interpreted as a set of domain elements."}),k.jsxs("li",{children:["An ",k.jsx("var",{children:"n"}),"-ary predicate symbol for ",k.jsx("var",{children:"n"})," > 1 is interpreted as a set of ",k.jsx("var",{children:"n"}),"-tuples of domain elements. Each"," ",k.jsx("var",{children:"n"}),"-tuple is written as"," ",k.jsxs("code",{children:["(elem",k.jsx("sub",{children:"1"}),", …, elem",k.jsx("sub",{children:k.jsx("var",{children:"n"})}),")"]}),"."]}),k.jsxs("li",{children:["An ",k.jsx("var",{children:"n"}),"-ary function symbol is interpreted as a set of (",k.jsx("var",{children:"n"}),"+1)-tuples of domain elements, each written as"," ",k.jsxs("code",{children:["(arg",k.jsx("sub",{children:"1"}),", …, arg",k.jsx("sub",{children:k.jsx("var",{children:"n"})}),", value)"]}),"."]})]})]});function w9(){const r=Vn(),n=Ct(w4),o=Ct(gn),i=Ct(ka),f=Ct(Ls),e=Ct(qs);return k.jsx(k.Fragment,{children:k.jsxs(ur,{className:"mb-3",children:[k.jsx(ur.Header,{as:"h2",className:"h4",children:k.jsxs(In,{children:[k.jsxs(nr,{children:["Structure"," ",k.jsx(Ut.InlineMath,{children:String.raw`\mathcal{M} = (D, i)`})]}),k.jsx(nr,{xs:"auto",children:k.jsx(Ga,{text:x9})})]})}),k.jsxs(ur.Body,{children:[k.jsx(Q0,{label:"Domain",id:"0",prefix:k.jsx(Ut.InlineMath,{children:String.raw`\mathcal{D} = \{`}),suffix:k.jsx(Ut.InlineMath,{children:String.raw`\}`}),placeholder:"Domain",text:n,onChange:p=>{r(r7(p.target.value))},error:o.error}),i.parsed&&i.parsed.size>0&&k.jsx("h3",{className:"h6",children:"Constants interpretation"}),Array.from(i.parsed??[]).map((p,b)=>k.jsx(mc,{name:p,id:`constant-${b}`,selector:C4,parser:D4,onChange:C=>{r(n7({key:p,value:C.target.value}))}},`constant-${b}`)),f.parsed&&f.parsed.size>0&&k.jsx("h3",{className:"h6",children:"Predicates interpretation"}),Array.from(f.parsed??[]).map(([p,b],C)=>k.jsx(mc,{name:p,id:`predicate-${C}`,selector:S4,parser:B4,onChange:w=>{r(s7({key:p,value:w.target.value}))}},`predicate-${C}`)),e.parsed&&e.parsed.size>0&&k.jsx("h3",{className:"h6",children:"Functions interpretation"}),Array.from(e.parsed??[]).map(([p,b],C)=>k.jsx(mc,{name:p,id:`function-${C}`,selector:F4,onChange:w=>{r(i7({key:p,value:w.target.value}))},parser:k4},`function-${C}`))]})]})})}const C9=k.jsxs(k.Fragment,{children:[k.jsx("p",{children:"An assignment of individual variables (i.e., a partial map from individual variables to the domain 𝐷) is defined in this section."}),k.jsx("p",{children:"Any alphanumeric symbol that is not an individual constant, predicate, or function symbol is considered a variable."}),k.jsxs("p",{className:"mb-0",children:["Elements of the assignment are comma-separated ordered pairs. Each pair can be written as ",k.jsx("code",{children:"(variable, element)"}),"or ",k.jsx("code",{children:"variable ↦ element"}),". The maps-to symbol ",k.jsx("code",{children:"↦"})," can also be written as ",k.jsxs("code",{children:["-",">"]}),", ",k.jsxs("code",{children:["|-",">"]}),","," ",k.jsx("code",{children:"\\mapsto"}),", or ",k.jsx("code",{children:"⟼"}),"."]})]});function S9(){const r=Vn(),n=Ct($4),{error:o}=Ct(M4);return k.jsx(k.Fragment,{children:k.jsxs(ur,{children:[k.jsx(ur.Header,{as:"h4",children:k.jsxs(In,{children:[k.jsx(nr,{children:"Variable assignment"}),k.jsx(nr,{xs:"auto",children:k.jsx(Ga,{text:C9})})]})}),k.jsx(ur.Body,{children:k.jsx(Q0,{label:"Variable assignment of individual variables",id:"0",text:n,prefix:k.jsx(Ut.InlineMath,{children:String.raw`e = \{`}),suffix:k.jsx(Ut.InlineMath,{children:String.raw`\}`}),placeholder:"assignments",onChange:i=>r(c7(i.target.value)),error:o})})]})})}const F9=k.jsxs(k.Fragment,{children:[k.jsx("p",{children:"A first-order language is defined in this section."}),k.jsx("p",{children:"The Edit/Done button toggles between editing the language and viewing it in a more compact form."}),k.jsx("p",{className:"mb-0",children:"Syntactic requirements:"}),k.jsxs("ul",{className:"mb-0",children:[k.jsxs("li",{children:["Symbols in all sets are ",k.jsx("strong",{children:"comma-separated"}),"."]}),k.jsxs("li",{children:["Each predicate and function symbol must be followed by a slash (",k.jsx("code",{children:"/"}),") and arity (the number of arguments the symbol takes, a positive integer):"," ",k.jsx("strong",{children:k.jsx("code",{children:"symbol/arity"})}),"."]})]})]});function D9(){const r=Vn(),n=Ct(v4),o=Ct(A4),i=Ct(E4),f=Ct(ka),e=Ct(Ls),p=Ct(qs),b=Ct(t7);return k.jsx(k.Fragment,{children:k.jsxs(ur,{className:"mb-3 mt-3",children:[k.jsx(ur.Header,{as:"h4",children:k.jsxs(In,{children:[k.jsxs(nr,{children:["Language ",k.jsx(Ut.InlineMath,{children:String.raw`\mathcal{L}`})]}),k.jsx(nr,{xs:"auto",children:k.jsx(Ga,{text:F9})})]})}),k.jsxs(ur.Body,{children:[k.jsx(Q0,{label:"Individual constants",id:"0",prefix:k.jsx(Ut.InlineMath,{children:String.raw`\mathcal{C_L} = \{`}),suffix:k.jsx(Ut.InlineMath,{children:String.raw`\}`}),placeholder:"Constants",text:n,onChange:C=>{r(K5(C.target.value))},error:f.error}),k.jsx(Q0,{label:"Predicate symbols",id:"0",prefix:k.jsx(Ut.InlineMath,{children:String.raw`\mathcal{P}_{\mathcal{L}} = \{`}),suffix:k.jsx(Ut.InlineMath,{children:String.raw`\}`}),placeholder:"Predicates",text:o,onChange:C=>{r(J5(C.target.value))},error:e.error}),k.jsx(Q0,{label:"Function symbols",id:"0",prefix:k.jsx(Ut.InlineMath,{children:String.raw`\mathcal{F}_{\mathcal{L}} = \{`}),suffix:k.jsx(Ut.InlineMath,{children:String.raw`\}`}),placeholder:"Functions",text:i,onChange:C=>{r(Z5(C.target.value))},error:p.error}),b&&k.jsx("div",{className:"text-danger",children:b})]})]})})}function B9(){return k.jsx(k.Fragment,{children:k.jsx(y1,{fluid:!0,children:k.jsxs(In,{children:[k.jsxs(nr,{children:[k.jsx(D9,{}),k.jsx(w9,{}),k.jsx(S9,{})]}),k.jsx(nr,{children:k.jsx(E9,{})})]})})})}const k9={formulas:k7,language:e7,structure:o7,variables:d7},T9=()=>C5({reducer:k9}),$9=r=>n=>{n(w7(JSON.stringify(r.formulas))),n(Q5(JSON.stringify(r.language))),n(a7(JSON.stringify(r.structure))),n(f7(JSON.stringify(r.variables)))},M9=X.createContext(void 0);function O9(r){const o={store:T9()},i=f=>{const e=f.store.getState();return JSON.stringify({formulas:e.formulas,language:e.language,structure:e.structure,variables:e.variables},null,2)};if(r!==null){const f=JSON.parse(r);o.store.dispatch($9(f))}return{instance:o,getState:i}}function N9({instance:r,onStateChange:n,isEdited:o,context:i}){const f=r.store;return console.log(n),console.log(o),console.log("store v appcomponente:"),console.log(f.getState()),X.useEffect(()=>{const e=f.subscribe(()=>{n()});return()=>{e()}},[f,n]),k.jsx(k.Fragment,{children:k.jsx(z4,{store:f,children:k.jsx(M9.Provider,{value:i,children:k.jsx(B9,{})})})})}return{prepare:O9,AppComponent:N9}});
|