-
Notifications
You must be signed in to change notification settings - Fork 0
/
hexaeightsession.js
2 lines (2 loc) · 590 KB
/
hexaeightsession.js
1
2
var HexaEight=function(){"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function r(){r=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var a=t&&t.prototype instanceof v?t:v,i=Object.create(a.prototype),u=new q(n||[]);return o(i,"_invoke",{value:C(e,r,u)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d="suspendedStart",h="executing",g="completed",m={};function v(){}function y(){}function b(){}var D={};l(D,u,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(B([])));k&&k!==n&&a.call(k,u)&&(D=k);var x=b.prototype=v.prototype=Object.create(D);function E(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(n,o,i,u){var s=f(e[n],e,o);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&a.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):t.resolve(l).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,u)}))}u(s.arg)}var n;o(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,n){r(e,a,t,n)}))}return n=n?n.then(o,o):o()}})}function C(t,r,n){var a=d;return function(o,i){if(a===h)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var s=_(u,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var c=f(t,r,n);if("normal"===c.type){if(a=n.done?g:"suspendedYield",c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=g,n.method="throw",n.arg=c.arg)}}}function _(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function F(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function q(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(F,this),this.reset(!0)}function B(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n<t.length;)if(a.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=l(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},E(A.prototype),l(A.prototype,s,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new A(p(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(x),l(x,c,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=B,q.prototype={constructor:q,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,a){return u.type="throw",u.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;S(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:B(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function n(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t,r,n,a,o,i){try{var u=e[o](i),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,a)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function u(e){o(i,n,a,u,s,"next",e)}function s(e){o(i,n,a,u,s,"throw",e)}u(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,n(a.key),a)}}function c(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function g(e,t,r){return g=h()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&d(a,r.prototype),a},g.apply(null,arguments)}function m(e){var t="function"==typeof Map?new Map:void 0;return m=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return g(e,arguments,f(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)},m(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function b(e){var t=h();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return y(this,r)}}function D(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function w(){return w="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=D(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(arguments.length<3?e:r):a.value}},w.apply(this,arguments)}function k(e){throw new TypeError('"'+e+'" is read-only')}function x(e,t){return A(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,u=[],s=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(e,t)||_(e,t)||S()}function E(e){return function(e){if(Array.isArray(e))return F(e)}(e)||C(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e){if(Array.isArray(e))return e}function C(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _(e,t){if(e){if("string"==typeof e)return F(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function q(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function B(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function T(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}
/*! For license information please see hexaeightsessionspa.mjs.LICENSE.txt */var L={187:function(e){var t,r="object"==("undefined"==typeof Reflect?"undefined":a(Reflect))?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function a(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),r([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,a)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var u=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+a(e))}function c(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var a,o,i,u;if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),i=o[t]),void 0===i)i=o[t]=r,++e._eventsCount;else if("function"==typeof i?i=o[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),(a=c(e))>0&&i.length>a&&!i.warned){i.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=i.length,u=l,console&&console.warn&&console.warn(u)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=p.bind(n);return a.listener=r,n.wrapFn=a,a}function d(e,t,r){var n=e._events;if(void 0===n)return[];var a=n[t];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(a):g(a,a.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+a(e));e.addEventListener(t,(function a(o){n.once&&e.removeEventListener(t,a),r(o)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return c(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var a="error"===e,o=this._events;if(void 0!==o)a=a&&void 0===o.error;else if(!a)return!1;if(a){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var u=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw u.context=i,u}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)n(s,this,t);else{var c=s.length,l=g(s,c);for(r=0;r<c;++r)n(l[r],this,t)}return!0},i.prototype.addListener=function(e,t){return l(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return l(this,e,t,!0)},i.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,a,o,i;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(a=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){i=r[o].listener,a=o;break}if(a<0)return this;0===a?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,a),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,i||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var a,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(a=o[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},492:function(e,t,r){var n;e=r.nmd(e),function(o){var i=(e&&e.exports,"object"==a(r.g)&&r.g);i.global!==i&&i.window;var u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,p={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},f=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},D=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],w=String.fromCharCode,k={}.hasOwnProperty,x=function(e,t){return k.call(e,t)},E=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=x(e,r)?e[r]:t[r];return n},A=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&F("character reference outside the permissible Unicode range"),"�"):x(b,e)?(t&&F("disallowed character reference"),b[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(D,e)&&F("disallowed character reference"),e>65535&&(r+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=w(e))},C=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},_=function(e){return"&#"+e+";"},F=function(e){throw Error("Parse error: "+e)},S=function e(t,r){(r=E(r,e.options)).strict&&g.test(t)&&F("forbidden code point");var n=r.encodeEverything,a=r.useNamedReferences,o=r.allowUnsafeSymbols,i=r.decimal?_:C,d=function(e){return i(e.charCodeAt(0))};return n?(t=t.replace(s,(function(e){return a&&x(p,e)?"&"+p[e]+";":d(e)})),a&&(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),a&&(t=t.replace(l,(function(e){return"&"+p[e]+";"})))):a?(o||(t=t.replace(f,(function(e){return"&"+p[e]+";"}))),t=(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,(function(e){return"&"+p[e]+";"}))):o||(t=t.replace(f,d)),t.replace(u,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return i(1024*(t-55296)+r-56320+65536)})).replace(c,d)};S.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var q=function e(t,r){var n=(r=E(r,e.options)).strict;return n&&h.test(t)&&F("malformed character reference"),t.replace(m,(function(e,t,a,o,i,u,s,c,l){var p,f,d,h,g,m;return t?v[g=t]:a?(g=a,(m=o)&&r.isAttributeValue?(n&&"="==m&&F("`&` did not start a character reference"),e):(n&&F("named character reference was not terminated by a semicolon"),y[g]+(m||""))):i?(d=i,f=u,n&&!f&&F("character reference was not terminated by a semicolon"),p=parseInt(d,10),A(p,n)):s?(h=s,f=c,n&&!f&&F("character reference was not terminated by a semicolon"),p=parseInt(h,16),A(p,n)):(n&&F("named character reference was not terminated by a semicolon"),e)}))};q.options={isAttributeValue:!1,strict:!1};var B={version:"1.2.0",encode:S,decode:q,escape:function(e){return e.replace(f,(function(e){return d[e]}))},unescape:q};void 0===(n=function(){return B}.call(t,r,t,e))||(e.exports=n)}()},624:function(e,t,r){var n,a,o,i=[r(525),r(785),r(291),r(709),r(506),r(176)],u=-1,s=[],c=!1;function l(){n&&a&&(n=!1,a.length?s=a.concat(s):u=-1,s.length&&p())}function p(){if(!n){c=!1,n=!0;for(var e=s.length,t=setTimeout(l);e;){for(a=s,s=[];a&&++u<e;)a[u].run();u=-1,e=s.length}a=null,u=-1,n=!1,clearTimeout(t)}}for(var f=-1,d=i.length;++f<d;)if(i[f]&&i[f].test&&i[f].test()){o=i[f].install(p);break}function h(e,t){this.fun=e,this.array=t}h.prototype.run=function(){var e=this.fun,t=this.array;switch(t.length){case 0:return e();case 1:return e(t[0]);case 2:return e(t[0],t[1]);case 3:return e(t[0],t[1],t[2]);default:return e.apply(null,t)}},e.exports=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];s.push(new h(e,t)),c||n||(c=!0,o())}},709:function(e,t,r){t.test=function(){return!r.g.setImmediate&&void 0!==r.g.MessageChannel},t.install=function(e){var t=new r.g.MessageChannel;return t.port1.onmessage=e,function(){t.port2.postMessage(0)}}},291:function(e,t,r){var n=r.g.MutationObserver||r.g.WebKitMutationObserver;t.test=function(){return n},t.install=function(e){var t=0,a=new n(e),o=r.g.document.createTextNode("");return a.observe(o,{characterData:!0}),function(){o.data=t=++t%2}}},785:function(e,t,r){t.test=function(){return"function"==typeof r.g.queueMicrotask},t.install=function(e){return function(){r.g.queueMicrotask(e)}}},506:function(e,t,r){t.test=function(){return"document"in r.g&&"onreadystatechange"in r.g.document.createElement("script")},t.install=function(e){return function(){var t=r.g.document.createElement("script");return t.onreadystatechange=function(){e(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},r.g.document.documentElement.appendChild(t),e}}},176:function(e,t){t.test=function(){return!0},t.install=function(e){return function(){setTimeout(e,0)}}},322:function(e){e.exports=function(e){var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(e,t){var r=e[0],n=e[1],a=e[2],o=e[3];n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&a|~n&o)+t[0]-680876936|0)<<7|r>>>25)+n|0)&n|~r&a)+t[1]-389564586|0)<<12|o>>>20)+r|0)&r|~o&n)+t[2]+606105819|0)<<17|a>>>15)+o|0)&o|~a&r)+t[3]-1044525330|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&a|~n&o)+t[4]-176418897|0)<<7|r>>>25)+n|0)&n|~r&a)+t[5]+1200080426|0)<<12|o>>>20)+r|0)&r|~o&n)+t[6]-1473231341|0)<<17|a>>>15)+o|0)&o|~a&r)+t[7]-45705983|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&a|~n&o)+t[8]+1770035416|0)<<7|r>>>25)+n|0)&n|~r&a)+t[9]-1958414417|0)<<12|o>>>20)+r|0)&r|~o&n)+t[10]-42063|0)<<17|a>>>15)+o|0)&o|~a&r)+t[11]-1990404162|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&a|~n&o)+t[12]+1804603682|0)<<7|r>>>25)+n|0)&n|~r&a)+t[13]-40341101|0)<<12|o>>>20)+r|0)&r|~o&n)+t[14]-1502002290|0)<<17|a>>>15)+o|0)&o|~a&r)+t[15]+1236535329|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&o|a&~o)+t[1]-165796510|0)<<5|r>>>27)+n|0)&a|n&~a)+t[6]-1069501632|0)<<9|o>>>23)+r|0)&n|r&~n)+t[11]+643717713|0)<<14|a>>>18)+o|0)&r|o&~r)+t[0]-373897302|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&o|a&~o)+t[5]-701558691|0)<<5|r>>>27)+n|0)&a|n&~a)+t[10]+38016083|0)<<9|o>>>23)+r|0)&n|r&~n)+t[15]-660478335|0)<<14|a>>>18)+o|0)&r|o&~r)+t[4]-405537848|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&o|a&~o)+t[9]+568446438|0)<<5|r>>>27)+n|0)&a|n&~a)+t[14]-1019803690|0)<<9|o>>>23)+r|0)&n|r&~n)+t[3]-187363961|0)<<14|a>>>18)+o|0)&r|o&~r)+t[8]+1163531501|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n&o|a&~o)+t[13]-1444681467|0)<<5|r>>>27)+n|0)&a|n&~a)+t[2]-51403784|0)<<9|o>>>23)+r|0)&n|r&~n)+t[7]+1735328473|0)<<14|a>>>18)+o|0)&r|o&~r)+t[12]-1926607734|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n^a^o)+t[5]-378558|0)<<4|r>>>28)+n|0)^n^a)+t[8]-2022574463|0)<<11|o>>>21)+r|0)^r^n)+t[11]+1839030562|0)<<16|a>>>16)+o|0)^o^r)+t[14]-35309556|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n^a^o)+t[1]-1530992060|0)<<4|r>>>28)+n|0)^n^a)+t[4]+1272893353|0)<<11|o>>>21)+r|0)^r^n)+t[7]-155497632|0)<<16|a>>>16)+o|0)^o^r)+t[10]-1094730640|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n^a^o)+t[13]+681279174|0)<<4|r>>>28)+n|0)^n^a)+t[0]-358537222|0)<<11|o>>>21)+r|0)^r^n)+t[3]-722521979|0)<<16|a>>>16)+o|0)^o^r)+t[6]+76029189|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((o=((o+=((r=((r+=(n^a^o)+t[9]-640364487|0)<<4|r>>>28)+n|0)^n^a)+t[12]-421815835|0)<<11|o>>>21)+r|0)^r^n)+t[15]+530742520|0)<<16|a>>>16)+o|0)^o^r)+t[2]-995338651|0)<<23|n>>>9)+a|0,n=((n+=((o=((o+=(n^((r=((r+=(a^(n|~o))+t[0]-198630844|0)<<6|r>>>26)+n|0)|~a))+t[7]+1126891415|0)<<10|o>>>22)+r|0)^((a=((a+=(r^(o|~n))+t[14]-1416354905|0)<<15|a>>>17)+o|0)|~r))+t[5]-57434055|0)<<21|n>>>11)+a|0,n=((n+=((o=((o+=(n^((r=((r+=(a^(n|~o))+t[12]+1700485571|0)<<6|r>>>26)+n|0)|~a))+t[3]-1894986606|0)<<10|o>>>22)+r|0)^((a=((a+=(r^(o|~n))+t[10]-1051523|0)<<15|a>>>17)+o|0)|~r))+t[1]-2054922799|0)<<21|n>>>11)+a|0,n=((n+=((o=((o+=(n^((r=((r+=(a^(n|~o))+t[8]+1873313359|0)<<6|r>>>26)+n|0)|~a))+t[15]-30611744|0)<<10|o>>>22)+r|0)^((a=((a+=(r^(o|~n))+t[6]-1560198380|0)<<15|a>>>17)+o|0)|~r))+t[13]+1309151649|0)<<21|n>>>11)+a|0,n=((n+=((o=((o+=(n^((r=((r+=(a^(n|~o))+t[4]-145523070|0)<<6|r>>>26)+n|0)|~a))+t[11]-1120210379|0)<<10|o>>>22)+r|0)^((a=((a+=(r^(o|~n))+t[2]+718787259|0)<<15|a>>>17)+o|0)|~r))+t[9]-343485551|0)<<21|n>>>11)+a|0,e[0]=r+e[0]|0,e[1]=n+e[1]|0,e[2]=a+e[2]|0,e[3]=o+e[3]|0}function n(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}function a(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r}function o(e){var t,a,o,i,u,s,c=e.length,l=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)r(l,n(e.substring(t-64,t)));for(a=(e=e.substring(t-64)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<a;t+=1)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(r(l,o),t=0;t<16;t+=1)o[t]=0;return i=(i=8*c).toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(i[2],16),s=parseInt(i[1],16)||0,o[14]=u,o[15]=s,r(l,o),l}function i(e){var r,n="";for(r=0;r<4;r+=1)n+=t[e>>8*r+4&15]+t[e>>8*r&15];return n}function u(e){var t;for(t=0;t<e.length;t+=1)e[t]=i(e[t]);return e.join("")}function s(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function c(e){var t,r=[],n=e.length;for(t=0;t<n-1;t+=2)r.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,r)}function l(){this.reset()}return u(o("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function e(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(t,r){var n,a,o,i,u=this.byteLength,s=e(t,u),c=u;return void 0!==r&&(c=e(r,u)),s>c?new ArrayBuffer(0):(n=c-s,a=new ArrayBuffer(n),o=new Uint8Array(a),i=new Uint8Array(this,s,n),o.set(i),a)}}(),l.prototype.append=function(e){return this.appendBinary(s(e)),this},l.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,a=this._buff.length;for(t=64;t<=a;t+=64)r(this._hash,n(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},l.prototype.end=function(e){var t,r,n=this._buff,a=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<a;t+=1)o[t>>2]|=n.charCodeAt(t)<<(t%4<<3);return this._finish(o,a),r=u(this._hash),e&&(r=c(r)),this.reset(),r},l.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},l.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},l.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},l.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},l.prototype._finish=function(e,t){var n,a,o,i=t;if(e[i>>2]|=128<<(i%4<<3),i>55)for(r(this._hash,e),i=0;i<16;i+=1)e[i]=0;n=(n=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),a=parseInt(n[2],16),o=parseInt(n[1],16)||0,e[14]=a,e[15]=o,r(this._hash,e)},l.hash=function(e,t){return l.hashBinary(s(e),t)},l.hashBinary=function(e,t){var r=u(o(e));return t?c(r):r},l.ArrayBuffer=function(){this.reset()},l.ArrayBuffer.prototype.append=function(e){var t,n,o,i,u=(n=this._buff.buffer,o=e,!0,(i=new Uint8Array(n.byteLength+o.byteLength)).set(new Uint8Array(n)),i.set(new Uint8Array(o),n.byteLength),i),s=u.length;for(this._length+=e.byteLength,t=64;t<=s;t+=64)r(this._hash,a(u.subarray(t-64,t)));return this._buff=t-64<s?new Uint8Array(u.buffer.slice(t-64)):new Uint8Array(0),this},l.ArrayBuffer.prototype.end=function(e){var t,r,n=this._buff,a=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<a;t+=1)o[t>>2]|=n[t]<<(t%4<<3);return this._finish(o,a),r=u(this._hash),e&&(r=c(r)),this.reset(),r},l.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},l.ArrayBuffer.prototype.getState=function(){var e,t=l.prototype.getState.call(this);return t.buff=(e=t.buff,String.fromCharCode.apply(null,new Uint8Array(e))),t},l.ArrayBuffer.prototype.setState=function(e){return e.buff=function(e,t){var r,n=e.length,a=new ArrayBuffer(n),o=new Uint8Array(a);for(r=0;r<n;r+=1)o[r]=e.charCodeAt(r);return o}(e.buff),l.prototype.setState.call(this,e)},l.ArrayBuffer.prototype.destroy=l.prototype.destroy,l.ArrayBuffer.prototype._finish=l.prototype._finish,l.ArrayBuffer.hash=function(e,t){var n=u(function(e){var t,n,o,i,u,s,c=e.length,l=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)r(l,a(e.subarray(t-64,t)));for(n=(e=t-64<c?e.subarray(t-64):new Uint8Array(0)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<n;t+=1)o[t>>2]|=e[t]<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(r(l,o),t=0;t<16;t+=1)o[t]=0;return i=(i=8*c).toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(i[2],16),s=parseInt(i[1],16)||0,o[14]=u,o[15]=s,r(l,o),l}(new Uint8Array(e)));return t?c(n):n},l}()},684:function(e,t){function r(e,t,r){var n=r[r.length-1];e===n.element&&(r.pop(),n=r[r.length-1]);var a=n.element,o=n.index;Array.isArray(a)?a.push(e):o===t.length-2?a[t.pop()]=e:t.push(e)}t.stringify=function(e){var t=[];t.push({obj:e});for(var r,n,o,i,u,s,c,l,p,f,d="";r=t.pop();)if(n=r.obj,d+=r.prefix||"",o=r.val||"")d+=o;else if("object"!=a(n))d+=void 0===n?null:JSON.stringify(n);else if(null===n)d+="null";else if(Array.isArray(n)){for(t.push({val:"]"}),i=n.length-1;i>=0;i--)u=0===i?"":",",t.push({obj:n[i],prefix:u});t.push({val:"["})}else{for(c in s=[],n)n.hasOwnProperty(c)&&s.push(c);for(t.push({val:"}"}),i=s.length-1;i>=0;i--)p=n[l=s[i]],f=i>0?",":"",f+=JSON.stringify(l)+":",t.push({obj:p,prefix:f});t.push({val:"{"})}return d},t.parse=function(e){for(var t,n,a,o,i,u,s,c,l,p=[],f=[],d=0;;)if("}"!==(t=e[d++])&&"]"!==t&&void 0!==t)switch(t){case" ":case"\t":case"\n":case":":case",":break;case"n":d+=3,r(null,p,f);break;case"t":d+=3,r(!0,p,f);break;case"f":d+=4,r(!1,p,f);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"-":for(n="",d--;;){if(a=e[d++],!/[\d\.\-e\+]/.test(a)){d--;break}n+=a}r(parseFloat(n),p,f);break;case'"':for(o="",i=void 0,u=0;'"'!==(s=e[d++])||"\\"===i&&u%2==1;)o+=s,"\\"===(i=s)?u++:u=0;r(JSON.parse('"'+o+'"'),p,f);break;case"[":c={element:[],index:p.length},p.push(c.element),f.push(c);break;case"{":l={element:{},index:p.length},p.push(l.element),f.push(l);break;default:throw new Error("unexpectedly reached end of input: "+t)}else{if(1===p.length)return p.pop();r(p.pop(),p,f)}}},525:function(){}},O={};function R(e){var t=O[e];if(void 0!==t)return t.exports;var r=O[e]={id:e,loaded:!1,exports:{}};return L[e].call(r.exports,r,r.exports,R),r.loaded=!0,r.exports}R.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return R.d(t,{a:t}),t},R.d=function(e,t){for(var r in t)R.o(t,r)&&!R.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},R.g=function(){if("object"==("undefined"==typeof globalThis?"undefined":a(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==("undefined"==typeof window?"undefined":a(window)))return window}}(),R.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},R.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var P={};return function(e,n){R.d(P,{Z:function(){return Bo}});var o=Symbol("Comlink.proxy"),s=Symbol("Comlink.endpoint"),d=Symbol("Comlink.releaseProxy"),h=Symbol("Comlink.thrown"),y=function(e){return"object"==a(e)&&null!==e||"function"==typeof e},D=new Map([["proxy",{canHandle:function(e){return y(e)&&e[o]},serialize:function(e){var t=new MessageChannel,r=t.port1,n=t.port2;return F(e,r),[n,[n]]},deserialize:function(e){return e.start(),O(e)}}],["throw",{canHandle:function(e){return y(e)&&h in e},serialize:function(e){var t=e.value;return[t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[]]},deserialize:function(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:self;t.addEventListener("message",(function r(n){if(n&&n.data){var a,i=Object.assign({path:[]},n.data),u=i.id,s=i.type,c=i.path,p=(n.data.argumentList||[]).map(z);try{var f=c.slice(0,-1).reduce((function(e,t){return e[t]}),e),d=c.reduce((function(e,t){return e[t]}),e);switch(s){case"GET":a=d;break;case"SET":f[c.slice(-1)[0]]=z(n.data.value),a=!0;break;case"APPLY":a=d.apply(f,p);break;case"CONSTRUCT":a=function(e){return Object.assign(e,l({},o,!0))}(g(d,E(p)));break;case"ENDPOINT":var m=new MessageChannel,v=m.port1,y=m.port2;F(e,y),a=function(e,t){return U.set(e,t),e}(v,[v]);break;case"RELEASE":a=void 0;break;default:return}}catch(e){a=l({value:e},h,0)}Promise.resolve(a).catch((function(e){return l({value:e},h,0)})).then((function(e){var n=x(H(e),2),a=n[0],o=n[1];t.postMessage(Object.assign(Object.assign({},a),{id:u}),o),"RELEASE"===s&&(t.removeEventListener("message",r),L(t))}))}})),t.start&&t.start()}function L(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function O(e,t){return I(e,[],t)}function N(e){if(e)throw new Error("Proxy has been released and is not useable")}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},n=!1,a=new Proxy(r,{get:function(r,o){if(N(n),o===d)return function(){return M(e,{type:"RELEASE",path:t.map((function(e){return e.toString()}))}).then((function(){L(e),n=!0}))};if("then"===o){if(0===t.length)return{then:function(){return a}};var i=M(e,{type:"GET",path:t.map((function(e){return e.toString()}))}).then(z);return i.then.bind(i)}return I(e,[].concat(E(t),[o]))},set:function(r,a,o){N(n);var i=x(H(o),2),u=i[0],s=i[1];return M(e,{type:"SET",path:[].concat(E(t),[a]).map((function(e){return e.toString()})),value:u},s).then(z)},apply:function(r,a,o){N(n);var i=t[t.length-1];if(i===s)return M(e,{type:"ENDPOINT"}).then(z);if("bind"===i)return I(e,t.slice(0,-1));var u=x(j(o),2),c=u[0],l=u[1];return M(e,{type:"APPLY",path:t.map((function(e){return e.toString()})),argumentList:c},l).then(z)},construct:function(r,a){N(n);var o=x(j(a),2),i=o[0],u=o[1];return M(e,{type:"CONSTRUCT",path:t.map((function(e){return e.toString()})),argumentList:i},u).then(z)}});return a}function j(e){var t,r=e.map(H);return[r.map((function(e){return e[0]})),(t=r.map((function(e){return e[1]})),Array.prototype.concat.apply([],t))]}var U=new WeakMap;function H(e){var t,r=q(D);try{for(r.s();!(t=r.n()).done;){var n=x(t.value,2),a=n[0],o=n[1];if(o.canHandle(e)){var i=x(o.serialize(e),2);return[{type:"HANDLER",name:a,value:i[0]},i[1]]}}}catch(e){r.e(e)}finally{r.f()}return[{type:"RAW",value:e},U.get(e)||[]]}function z(e){switch(e.type){case"HANDLER":return D.get(e.name).deserialize(e.value);case"RAW":return e.value}}function M(e,t,r){return new Promise((function(n){var a=new Array(4).fill(0).map((function(){return Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)})).join("-");e.addEventListener("message",(function t(r){r.data&&r.data.id&&r.data.id===a&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:a},t),r)}))}var V={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function G(e){V=e}var $=/[&<>"']/,J=new RegExp($.source,"g"),K=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Z=new RegExp(K.source,"g"),W={"&":"&","<":"<",">":">",'"':""","'":"'"},Y=function(e){return W[e]};function Q(e,t){if(t){if($.test(e))return e.replace(J,Y)}else if(K.test(e))return e.replace(Z,Y);return e}var X=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,ee=/(^|[^\[])\^/g;function te(e,t){e="string"==typeof e?e:e.source,t=t||"";var r={replace:function(t,n){return n=(n="object"==a(n)&&"source"in n?n.source:n).replace(ee,"$1"),e=e.replace(t,n),r},getRegex:function(){return new RegExp(e,t)}};return r}function re(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}var ne={exec:function(){return null}};function ae(e,t){var r=e.replace(/\|/g,(function(e,t,r){for(var n=!1,a=t;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function oe(e,t,r){var n=e.length;if(0===n)return"";for(var a=0;a<n;){var o=e.charAt(n-a-1);if(o!==t||r){if(o===t||!r)break;a++}else a++}return e.slice(0,n-a)}function ie(e,t,r,n){var a=t.href,o=t.title?Q(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var u={type:"link",raw:r,href:a,title:o,text:i,tokens:n.inlineTokens(i)};return n.state.inLink=!1,u}return{type:"image",raw:r,href:a,title:o,text:Q(i)}}var ue=function(){function e(t){u(this,e),l(this,"options",void 0),l(this,"rules",void 0),l(this,"lexer",void 0),this.options=t||V}return c(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:oe(r,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=function(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:x(t,1)[0].length>=n.length?e.slice(n.length):e})).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var n=oe(r,"#");this.options.pedantic?r=n.trim():n&&!/ $/.test(n)||(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var r=t[0].replace(/^ *>[ \t]?/gm,""),n=this.lexer.state.top;this.lexer.state.top=!0;var a=this.lexer.blockTokens(r);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:a,text:r}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var r=t[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?"\\d{1,9}\\".concat(r.slice(-1)):"\\".concat(r),this.options.pedantic&&(r=n?r:"[*+-]");for(var o=new RegExp("^( {0,3}".concat(r,")((?:[\t ][^\\n]*)?(?:\\n|$))")),i="",u="",s=!1;e;){var c=!1;if(!(t=o.exec(e)))break;if(this.rules.block.hr.test(e))break;i=t[0],e=e.substring(i.length);var l=t[2].split("\n",1)[0].replace(/^\t+/,(function(e){return" ".repeat(3*e.length)})),p=e.split("\n",1)[0],f=0;this.options.pedantic?(f=2,u=l.trimStart()):(f=(f=t[2].search(/[^ ]/))>4?1:f,u=l.slice(f),f+=t[1].length);var d=!1;if(!l&&/^ *$/.test(p)&&(i+=p+"\n",e=e.substring(p.length+1),c=!0),!c)for(var h=new RegExp("^ {0,".concat(Math.min(3,f-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),g=new RegExp("^ {0,".concat(Math.min(3,f-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),m=new RegExp("^ {0,".concat(Math.min(3,f-1),"}(?:```|~~~)")),v=new RegExp("^ {0,".concat(Math.min(3,f-1),"}#"));e;){var y=e.split("\n",1)[0];if(p=y,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),m.test(p))break;if(v.test(p))break;if(h.test(p))break;if(g.test(e))break;if(p.search(/[^ ]/)>=f||!p.trim())u+="\n"+p.slice(f);else{if(d)break;if(l.search(/[^ ]/)>=4)break;if(m.test(l))break;if(v.test(l))break;if(g.test(l))break;u+="\n"+p}d||p.trim()||(d=!0),i+=y+"\n",e=e.substring(y.length+1),l=p.slice(f)}a.loose||(s?a.loose=!0:/\n *\n *$/.test(i)&&(s=!0));var b=void 0,D=null;this.options.gfm&&((D=/^\[[ xX]\] /.exec(u))&&(b="[ ] "!==D[0],u=u.replace(/^\[[ xX]\] +/,""))),a.items.push({type:"list_item",raw:i,task:!!D,checked:b,loose:!1,text:u,tokens:[]}),a.raw+=i}a.items[a.items.length-1].raw=i.trimEnd(),a.items[a.items.length-1].text=u.trimEnd(),a.raw=a.raw.trimEnd();for(var w=0;w<a.items.length;w++)if(this.lexer.state.top=!1,a.items[w].tokens=this.lexer.blockTokens(a.items[w].text,[]),!a.loose){var k=a.items[w].tokens.filter((function(e){return"space"===e.type})),x=k.length>0&&k.some((function(e){return/\n.*\n/.test(e.raw)}));a.loose=x}if(a.loose)for(var E=0;E<a.items.length;E++)a.items[E].loose=!0;return a}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t){var r=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",a=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:r,raw:t[0],href:n,title:a}}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){if(!/[:|]/.test(t[2]))return;var r={type:"table",raw:t[0],header:ae(t[1]).map((function(e){return{text:e,tokens:[]}})),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(r.header.length===r.align.length){var n,a,o,i,u=r.align.length;for(n=0;n<u;n++){var s=r.align[n];s&&(/^ *-+: *$/.test(s)?r.align[n]="right":/^ *:-+: *$/.test(s)?r.align[n]="center":/^ *:-+ *$/.test(s)?r.align[n]="left":r.align[n]=null)}for(u=r.rows.length,n=0;n<u;n++)r.rows[n]=ae(r.rows[n],r.header.length).map((function(e){return{text:e,tokens:[]}}));for(u=r.header.length,a=0;a<u;a++)r.header[a].tokens=this.lexer.inline(r.header[a].text);for(u=r.rows.length,a=0;a<u;a++)for(i=r.rows[a],o=0;o<i.length;o++)i[o].tokens=this.lexer.inline(i[o].text);return r}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var r="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:r,tokens:this.lexer.inline(r)}}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Q(t[1])}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var n=oe(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var a=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var r=0,n=0;n<e.length;n++)if("\\"===e[n])n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&--r<0)return n;return-1}(t[2],"()");if(a>-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var i=t[2],u="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],u=s[3])}else u=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(i=this.options.pedantic&&!/>$/.test(r)?i.slice(1):i.slice(1,-1)),ie(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])){var a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return ie(r,n,r[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\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\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\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\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))&&(!n[1]&&!n[2]||!r||this.rules.inline.punctuation.exec(r))){var a,o,i=E(n[0]).length-1,u=i,s=0,c="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n[0].length-1);null!=(n=c.exec(t));)if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(o=E(a).length,n[3]||n[4])u+=o;else if(!((n[5]||n[6])&&i%3)||(i+o)%3){if(!((u-=o)>0)){o=Math.min(o,o+u+s);var l=E(e).slice(0,i+n.index+o+1).join("");if(Math.min(i,o)%2){var p=l.slice(1,-1);return{type:"em",raw:l,text:p,tokens:this.lexer.inlineTokens(p)}}var f=l.slice(2,-2);return{type:"strong",raw:l,text:f,tokens:this.lexer.inlineTokens(f)}}}else s+=o}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),a=/^ /.test(r)&&/ $/.test(r);return n&&a&&(r=r.substring(1,r.length-1)),r=Q(r,!0),{type:"codespan",raw:t[0],text:r}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e){var t,r,n=this.rules.inline.autolink.exec(e);if(n)return"@"===n[2]?r="mailto:"+(t=Q(n[1])):r=t=Q(n[1]),{type:"link",raw:n[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}},{key:"url",value:function(e){var t;if(t=this.rules.inline.url.exec(e)){var r,n;if("@"===t[2])n="mailto:"+(r=Q(t[0]));else{var a;do{a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0]}while(a!==t[0]);r=Q(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e){var t,r=this.rules.inline.text.exec(e);if(r)return t=this.lexer.state.inRawBlock?r[0]:Q(r[0]),{type:"text",raw:r[0],text:t}}}]),e}(),se={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ne,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};se.def=te(se.def).replace("label",se._label).replace("title",se._title).getRegex(),se.bullet=/(?:[*+-]|\d{1,9}[.)])/,se.listItemStart=te(/^( *)(bull) */).replace("bull",se.bullet).getRegex(),se.list=te(se.list).replace(/bull/g,se.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+se.def.source+")").getRegex(),se._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",se._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,se.html=te(se.html,"i").replace("comment",se._comment).replace("tag",se._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),se.lheading=te(se.lheading).replace(/bull/g,se.bullet).getRegex(),se.paragraph=te(se._paragraph).replace("hr",se.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se._tag).getRegex(),se.blockquote=te(se.blockquote).replace("paragraph",se.paragraph).getRegex(),se.normal=t({},se),se.gfm=t(t({},se.normal),{},{table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),se.gfm.table=te(se.gfm.table).replace("hr",se.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se._tag).getRegex(),se.gfm.paragraph=te(se._paragraph).replace("hr",se.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",se.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se._tag).getRegex(),se.pedantic=t(t({},se.normal),{},{html:te("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",se._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ne,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:te(se.normal._paragraph).replace("hr",se.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",se.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ce={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ne,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ne,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/,_punctuation:"\\p{P}$+<=>`^|~"};ce.punctuation=te(ce.punctuation,"u").replace(/punctuation/g,ce._punctuation).getRegex(),ce.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,ce.anyPunctuation=/\\[punct]/g,ce._escapes=/\\([punct])/g,ce._comment=te(se._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),ce.emStrong.lDelim=te(ce.emStrong.lDelim,"u").replace(/punct/g,ce._punctuation).getRegex(),ce.emStrong.rDelimAst=te(ce.emStrong.rDelimAst,"gu").replace(/punct/g,ce._punctuation).getRegex(),ce.emStrong.rDelimUnd=te(ce.emStrong.rDelimUnd,"gu").replace(/punct/g,ce._punctuation).getRegex(),ce.anyPunctuation=te(ce.anyPunctuation,"gu").replace(/punct/g,ce._punctuation).getRegex(),ce._escapes=te(ce._escapes,"gu").replace(/punct/g,ce._punctuation).getRegex(),ce._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ce._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,ce.autolink=te(ce.autolink).replace("scheme",ce._scheme).replace("email",ce._email).getRegex(),ce._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ce.tag=te(ce.tag).replace("comment",ce._comment).replace("attribute",ce._attribute).getRegex(),ce._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ce._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,ce._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ce.link=te(ce.link).replace("label",ce._label).replace("href",ce._href).replace("title",ce._title).getRegex(),ce.reflink=te(ce.reflink).replace("label",ce._label).replace("ref",se._label).getRegex(),ce.nolink=te(ce.nolink).replace("ref",se._label).getRegex(),ce.reflinkSearch=te(ce.reflinkSearch,"g").replace("reflink",ce.reflink).replace("nolink",ce.nolink).getRegex(),ce.normal=t({},ce),ce.pedantic=t(t({},ce.normal),{},{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:te(/^!?\[(label)\]\((.*?)\)/).replace("label",ce._label).getRegex(),reflink:te(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ce._label).getRegex()}),ce.gfm=t(t({},ce.normal),{},{escape:te(ce.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),ce.gfm.url=te(ce.gfm.url,"i").replace("email",ce.gfm._extended_email).getRegex(),ce.breaks=t(t({},ce.gfm),{},{br:te(ce.br).replace("{2,}","*").getRegex(),text:te(ce.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var le=function(){function e(t){u(this,e),l(this,"tokens",void 0),l(this,"options",void 0),l(this,"state",void 0),l(this,"tokenizer",void 0),l(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||V,this.options.tokenizer=this.options.tokenizer||new ue,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var r={block:se.normal,inline:ce.normal};this.options.pedantic?(r.block=se.pedantic,r.inline=ce.pedantic):this.options.gfm&&(r.block=se.gfm,this.options.breaks?r.inline=ce.breaks:r.inline=ce.gfm),this.tokenizer.rules=r}return c(e,[{key:"lex",value:function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}},{key:"blockTokens",value:function(e){var t,r,n,a,o=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(function(e,t,r){return t+" ".repeat(r.length)}));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(r){return!!(t=r.call({lexer:o},e,i))&&(e=e.substring(t.raw.length),i.push(t),!0)}))))if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),1===t.raw.length&&i.length>0?i[i.length-1].raw+="\n":i.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),!(r=i[i.length-1])||"paragraph"!==r.type&&"text"!==r.type?i.push(t):(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.list(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.def(e))e=e.substring(t.raw.length),!(r=i[i.length-1])||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title}):(r.raw+="\n"+t.raw,r.text+="\n"+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),i.push(t);else{if(n=e,this.options.extensions&&this.options.extensions.startBlock){var u=1/0,s=e.slice(1),c=void 0;this.options.extensions.startBlock.forEach((function(e){"number"==typeof(c=e.call({lexer:o},s))&&c>=0&&(u=Math.min(u,c))})),u<1/0&&u>=0&&(n=e.substring(0,u+1))}if(this.state.top&&(t=this.tokenizer.paragraph(n)))r=i[i.length-1],a&&"paragraph"===r.type?(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):i.push(t),a=n.length!==e.length,e=e.substring(t.raw.length);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),(r=i[i.length-1])&&"text"===r.type?(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):i.push(t);else if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}}return this.state.top=!0,i}},{key:"inline",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}},{key:"inlineTokens",value:function(e){var t,r,n,a,o,i,u=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=e;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(c));)l.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,a.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(i=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(r){return!!(t=r.call({lexer:u},e,s))&&(e=e.substring(t.raw.length),s.push(t),!0)}))))if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.tag(e))e=e.substring(t.raw.length),(r=s[s.length-1])&&"text"===t.type&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):s.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),(r=s[s.length-1])&&"text"===t.type&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):s.push(t);else if(t=this.tokenizer.emStrong(e,c,i))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.autolink(e))e=e.substring(t.raw.length),s.push(t);else if(this.state.inLink||!(t=this.tokenizer.url(e))){if(n=e,this.options.extensions&&this.options.extensions.startInline){var p=1/0,f=e.slice(1),d=void 0;this.options.extensions.startInline.forEach((function(e){"number"==typeof(d=e.call({lexer:u},f))&&d>=0&&(p=Math.min(p,d))})),p<1/0&&p>=0&&(n=e.substring(0,p+1))}if(t=this.tokenizer.inlineText(n))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(i=t.raw.slice(-1)),o=!0,(r=s[s.length-1])&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):s.push(t);else if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(h);break}throw new Error(h)}}else e=e.substring(t.raw.length),s.push(t);return s}}],[{key:"rules",get:function(){return{block:se,inline:ce}}},{key:"lex",value:function(t,r){return new e(r).lex(t)}},{key:"lexInline",value:function(t,r){return new e(r).inlineTokens(t)}}]),e}(),pe=function(){function e(t){u(this,e),l(this,"options",void 0),this.options=t||V}return c(e,[{key:"code",value:function(e,t,r){var n,a=null===(n=(t||"").match(/^\S*/))||void 0===n?void 0:n[0];return e=e.replace(/\n$/,"")+"\n",a?'<pre><code class="language-'+Q(a)+'">'+(r?e:Q(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:Q(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n".concat(e,"</blockquote>\n")}},{key:"html",value:function(e,t){return e}},{key:"heading",value:function(e,t,r){return"<h".concat(t,">").concat(e,"</h").concat(t,">\n")}},{key:"hr",value:function(){return"<hr>\n"}},{key:"list",value:function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"}},{key:"listitem",value:function(e,t,r){return"<li>".concat(e,"</li>\n")}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}},{key:"paragraph",value:function(e){return"<p>".concat(e,"</p>\n")}},{key:"table",value:function(e,t){return t&&(t="<tbody>".concat(t,"</tbody>")),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n".concat(e,"</tr>\n")}},{key:"tablecell",value:function(e,t){var r=t.header?"th":"td";return(t.align?"<".concat(r,' align="').concat(t.align,'">'):"<".concat(r,">"))+e+"</".concat(r,">\n")}},{key:"strong",value:function(e){return"<strong>".concat(e,"</strong>")}},{key:"em",value:function(e){return"<em>".concat(e,"</em>")}},{key:"codespan",value:function(e){return"<code>".concat(e,"</code>")}},{key:"br",value:function(){return"<br>"}},{key:"del",value:function(e){return"<del>".concat(e,"</del>")}},{key:"link",value:function(e,t,r){var n=re(e);if(null===n)return r;var a='<a href="'+(e=n)+'"';return t&&(a+=' title="'+t+'"'),a+=">"+r+"</a>"}},{key:"image",value:function(e,t,r){var n=re(e);if(null===n)return r;var a='<img src="'.concat(e=n,'" alt="').concat(r,'"');return t&&(a+=' title="'.concat(t,'"')),a+=">"}},{key:"text",value:function(e){return e}}]),e}(),fe=function(){function e(){u(this,e)}return c(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,r){return""+r}},{key:"image",value:function(e,t,r){return""+r}},{key:"br",value:function(){return""}}]),e}(),de=function(){function e(t){u(this,e),l(this,"options",void 0),l(this,"renderer",void 0),l(this,"textRenderer",void 0),this.options=t||V,this.options.renderer=this.options.renderer||new pe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new fe}return c(e,[{key:"parse",value:function(e){for(var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r="",n=0;n<e.length;n++){var a=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){var o=a,i=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==i||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(o.type)){r+=i||"";continue}}switch(a.type){case"space":continue;case"hr":r+=this.renderer.hr();continue;case"heading":var u=a;r+=this.renderer.heading(this.parseInline(u.tokens),u.depth,this.parseInline(u.tokens,this.textRenderer).replace(X,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})));continue;case"code":var s=a;r+=this.renderer.code(s.text,s.lang,!!s.escaped);continue;case"table":for(var c=a,l="",p="",f=0;f<c.header.length;f++)p+=this.renderer.tablecell(this.parseInline(c.header[f].tokens),{header:!0,align:c.align[f]});l+=this.renderer.tablerow(p);for(var d="",h=0;h<c.rows.length;h++){var g=c.rows[h];p="";for(var m=0;m<g.length;m++)p+=this.renderer.tablecell(this.parseInline(g[m].tokens),{header:!1,align:c.align[m]});d+=this.renderer.tablerow(p)}r+=this.renderer.table(l,d);continue;case"blockquote":var v=a,y=this.parse(v.tokens);r+=this.renderer.blockquote(y);continue;case"list":for(var b=a,D=b.ordered,w=b.start,k=b.loose,x="",E=0;E<b.items.length;E++){var A=b.items[E],C=A.checked,_=A.task,F="";if(A.task){var S=this.renderer.checkbox(!!C);k?A.tokens.length>0&&"paragraph"===A.tokens[0].type?(A.tokens[0].text=S+" "+A.tokens[0].text,A.tokens[0].tokens&&A.tokens[0].tokens.length>0&&"text"===A.tokens[0].tokens[0].type&&(A.tokens[0].tokens[0].text=S+" "+A.tokens[0].tokens[0].text)):A.tokens.unshift({type:"text",text:S+" "}):F+=S+" "}F+=this.parse(A.tokens,k),x+=this.renderer.listitem(F,_,!!C)}r+=this.renderer.list(x,D,w);continue;case"html":var q=a;r+=this.renderer.html(q.text,q.block);continue;case"paragraph":var B=a;r+=this.renderer.paragraph(this.parseInline(B.tokens));continue;case"text":for(var T=a,L=T.tokens?this.parseInline(T.tokens):T.text;n+1<e.length&&"text"===e[n+1].type;)L+="\n"+((T=e[++n]).tokens?this.parseInline(T.tokens):T.text);r+=t?this.renderer.paragraph(L):L;continue;default:var O='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(O),"";throw new Error(O)}}return r}},{key:"parseInline",value:function(e,t){t=t||this.renderer;for(var r="",n=0;n<e.length;n++){var a=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){var o=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==o||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){r+=o||"";continue}}switch(a.type){case"escape":var i=a;r+=t.text(i.text);break;case"html":var u=a;r+=t.html(u.text);break;case"link":var s=a;r+=t.link(s.href,s.title,this.parseInline(s.tokens,t));break;case"image":var c=a;r+=t.image(c.href,c.title,c.text);break;case"strong":var l=a;r+=t.strong(this.parseInline(l.tokens,t));break;case"em":var p=a;r+=t.em(this.parseInline(p.tokens,t));break;case"codespan":var f=a;r+=t.codespan(f.text);break;case"br":r+=t.br();break;case"del":var d=a;r+=t.del(this.parseInline(d.tokens,t));break;case"text":var h=a;r+=t.text(h.text);break;default:var g='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(g),"";throw new Error(g)}}return r}}],[{key:"parse",value:function(t,r){return new e(r).parse(t)}},{key:"parseInline",value:function(t,r){return new e(r).parseInline(t)}}]),e}(),he=function(){function e(t){u(this,e),l(this,"options",void 0),this.options=t||V}return c(e,[{key:"preprocess",value:function(e){return e}},{key:"postprocess",value:function(e){return e}}]),e}();l(he,"passThroughHooks",new Set(["preprocess","postprocess"]));var ge=new(e=new WeakSet,n=new WeakSet,function(){function r(){u(this,r),T(this,n),T(this,e),l(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),l(this,"options",this.setOptions),l(this,"parse",B(this,e,me).call(this,le.lex,de.parse)),l(this,"parseInline",B(this,e,me).call(this,le.lexInline,de.parseInline)),l(this,"Parser",de),l(this,"parser",de.parse),l(this,"Renderer",pe),l(this,"TextRenderer",fe),l(this,"Lexer",le),l(this,"lexer",le.lex),l(this,"Tokenizer",ue),l(this,"Hooks",he),this.use.apply(this,arguments)}return c(r,[{key:"walkTokens",value:function(e,t){var r,n=this,a=[],o=q(e);try{var i=function(){var e=r.value;switch(a=a.concat(t.call(n,e)),e.type){case"table":var o,i=e,u=q(i.header);try{for(u.s();!(o=u.n()).done;){var s=o.value;a=a.concat(n.walkTokens(s.tokens,t))}}catch(e){u.e(e)}finally{u.f()}var c,l=q(i.rows);try{for(l.s();!(c=l.n()).done;){var p,f=q(c.value);try{for(f.s();!(p=f.n()).done;){var d=p.value;a=a.concat(n.walkTokens(d.tokens,t))}}catch(e){f.e(e)}finally{f.f()}}}catch(e){l.e(e)}finally{l.f()}break;case"list":var h=e;a=a.concat(n.walkTokens(h.items,t));break;default:var g,m=e;null!==(g=n.defaults.extensions)&&void 0!==g&&null!==(g=g.childTokens)&&void 0!==g&&g[m.type]?n.defaults.extensions.childTokens[m.type].forEach((function(e){a=a.concat(n.walkTokens(m[e],t))})):m.tokens&&(a=a.concat(n.walkTokens(m.tokens,t)))}};for(o.s();!(r=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return a}},{key:"use",value:function(){for(var e=this,r=this.defaults.extensions||{renderers:{},childTokens:{}},n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return a.forEach((function(n){var a=t({},n);if(a.async=e.defaults.async||a.async||!1,n.extensions&&(n.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if("renderer"in e){var t=r.renderers[e.name];r.renderers[e.name]=t?function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var o=e.renderer.apply(this,n);return!1===o&&(o=t.apply(this,n)),o}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");var n=r[e.level];n?n.unshift(e.tokenizer):r[e.level]=[e.tokenizer],e.start&&("block"===e.level?r.startBlock?r.startBlock.push(e.start):r.startBlock=[e.start]:"inline"===e.level&&(r.startInline?r.startInline.push(e.start):r.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(r.childTokens[e.name]=e.childTokens)})),a.extensions=r),n.renderer){var o=e.defaults.renderer||new pe(e.defaults),i=function(){var e=n.renderer[u],t=u,r=o[t];o[t]=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var i=e.apply(o,n);return!1===i&&(i=r.apply(o,n)),i||""}};for(var u in n.renderer)i();a.renderer=o}if(n.tokenizer){var s=e.defaults.tokenizer||new ue(e.defaults),c=function(){var e=n.tokenizer[l],t=l,r=s[t];s[t]=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var o=e.apply(s,n);return!1===o&&(o=r.apply(s,n)),o}};for(var l in n.tokenizer)c();a.tokenizer=s}if(n.hooks){var p=e.defaults.hooks||new he,f=function(){var t=n.hooks[d],r=d,a=p[r];he.passThroughHooks.has(d)?p[r]=function(r){if(e.defaults.async)return Promise.resolve(t.call(p,r)).then((function(e){return a.call(p,e)}));var n=t.call(p,r);return a.call(p,n)}:p[r]=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=t.apply(p,r);return!1===o&&(o=a.apply(p,r)),o}};for(var d in n.hooks)f();a.hooks=p}if(n.walkTokens){var h=e.defaults.walkTokens,g=n.walkTokens;a.walkTokens=function(e){var t=[];return t.push(g.call(this,e)),h&&(t=t.concat(h.call(this,e))),t}}e.defaults=t(t({},e.defaults),a)})),this}},{key:"setOptions",value:function(e){return this.defaults=t(t({},this.defaults),e),this}}]),r}());function me(e,r){var a=this;return function(o,i){var u=t({},i),s=t(t({},a.defaults),u);!0===a.defaults.async&&!1===u.async&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);var c=B(a,n,ve).call(a,!!s.silent,!!s.async);if(null==o)return c(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof o)return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(o)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(o):o).then((function(t){return e(t,s)})).then((function(e){return s.walkTokens?Promise.all(a.walkTokens(e,s.walkTokens)).then((function(){return e})):e})).then((function(e){return r(e,s)})).then((function(e){return s.hooks?s.hooks.postprocess(e):e})).catch(c);try{s.hooks&&(o=s.hooks.preprocess(o));var l=e(o,s);s.walkTokens&&a.walkTokens(l,s.walkTokens);var p=r(l,s);return s.hooks&&(p=s.hooks.postprocess(p)),p}catch(e){return c(e)}}}function ve(e,t){return function(r){if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){var n="<p>An error occurred:</p><pre>"+Q(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}function ye(e,t){return ge.parse(e,t)}ye.options=ye.setOptions=function(e){return ge.setOptions(e),ye.defaults=ge.defaults,G(ye.defaults),ye},ye.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},ye.defaults=V,ye.use=function(){return ge.use.apply(ge,arguments),ye.defaults=ge.defaults,G(ye.defaults),ye},ye.walkTokens=function(e,t){return ge.walkTokens(e,t)},ye.parseInline=ge.parseInline,ye.Parser=de,ye.parser=de.parse,ye.Renderer=pe,ye.TextRenderer=fe,ye.Lexer=le,ye.lexer=le.lex,ye.Tokenizer=ue,ye.Hooks=he,ye.parse=ye,ye.options,ye.setOptions,ye.use,ye.walkTokens,ye.parseInline,R(492);var be=function(e,t){return be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},be(e,t)};function De(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}be(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function we(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ke(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}function xe(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}function Ee(e){return"function"==typeof e}function Ae(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Ce=Ae((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function _e(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Fe=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,r,n,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var i=we(o),u=i.next();!u.done;u=i.next())u.value.remove(this)}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else o.remove(this);var s=this.initialTeardown;if(Ee(s))try{s()}catch(e){a=e instanceof Ce?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var l=we(c),p=l.next();!p.done;p=l.next()){var f=p.value;try{Be(f)}catch(e){a=null!=a?a:[],e instanceof Ce?a=xe(xe([],ke(a)),ke(e.errors)):a.push(e)}}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(a)throw new Ce(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Be(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&_e(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&_e(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),Se=Fe.EMPTY;function qe(e){return e instanceof Fe||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function Be(e){Ee(e)?e():e.unsubscribe()}var Te={setTimeout:function(e){function t(t,r){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=Te.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,xe([e,t],ke(r))):setTimeout.apply(void 0,xe([e,t],ke(r)))})),clearTimeout:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t=Te.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)})),delegate:void 0};function Le(){}function Oe(e){e()}var Re=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,qe(t)&&t.add(r)):r.destination=je,r}return De(t,e),t.create=function(e,t,r){return new Ne(e,t,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Fe);Function.prototype.bind;var Pe=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ie(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ie(e)}else Ie(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ie(e)}},e}(),Ne=function(e){function t(t,r,n){var a,o=e.call(this)||this;return a=Ee(t)||!t?{next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:t,o.destination=new Pe(a),o}return De(t,e),t}(Re);function Ie(e){!function(e){Te.setTimeout((function(){throw e}))}(e)}var je={closed:!0,next:Le,error:function(e){throw e},complete:Le},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function He(e){return e}function ze(e){return 0===e.length?He:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var Me=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,a=this,o=(n=e)&&n instanceof Re||function(e){return e&&Ee(e.next)&&Ee(e.error)&&Ee(e.complete)}(n)&&qe(n)?e:new Ne(e,t,r);return Oe((function(){var e=a,t=e.operator,r=e.source;o.add(t?t.call(o,r):r?a._subscribe(o):a._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=Ve(t))((function(t,n){var a=new Ne({next:function(t){try{e(t)}catch(e){n(e),a.unsubscribe()}},error:n,complete:t});r.subscribe(a)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ue]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ze(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Ve(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function Ve(e){var t;return null!==(t=null!=e?e:undefined)&&void 0!==t?t:Promise}var Ge=Ae((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),$e=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return De(t,e),t.prototype.lift=function(e){var t=new Je(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ge},t.prototype.next=function(e){var t=this;Oe((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var a=we(t.currentObservers),o=a.next();!o.done;o=a.next())o.value.next(e)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;Oe((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Oe((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,a=r.isStopped,o=r.observers;return n||a?Se:(this.currentObservers=null,o.push(e),new Fe((function(){t.currentObservers=null,_e(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,a=t.isStopped;r?e.error(n):a&&e.complete()},t.prototype.asObservable=function(){var e=new Me;return e.source=this,e},t.create=function(e,t){return new Je(e,t)},t}(Me),Je=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return De(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:Se},t}($e),Ke={924:function(e,t,r){var n=r(210),a=r(559),o=a(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?a(r):r}},559:function(e,t,r){var n=r(612),a=r(210),o=a("%Function.prototype.apply%"),i=a("%Function.prototype.call%"),u=a("%Reflect.apply%",!0)||n.call(i,o),s=a("%Object.getOwnPropertyDescriptor%",!0),c=a("%Object.defineProperty%",!0),l=a("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=u(n,i,arguments);if(s&&c){var r=s(t,"length");r.configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var p=function(){return u(n,o,arguments)};c?c(e.exports,"apply",{value:p}):e.exports.apply=p},648:function(e){var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,a="[object Function]";e.exports=function(e){var o=this;if("function"!=typeof o||n.call(o)!==a)throw new TypeError(t+o);for(var i,u=r.call(arguments,1),s=function(){if(this instanceof i){var t=o.apply(this,u.concat(r.call(arguments)));return Object(t)===t?t:this}return o.apply(e,u.concat(r.call(arguments)))},c=Math.max(0,o.length-u.length),l=[],p=0;p<c;p++)l.push("$"+p);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(s),o.prototype){var f=function(){};f.prototype=o.prototype,i.prototype=new f,f.prototype=null}return i}},612:function(e,t,r){var n=r(648);e.exports=Function.prototype.bind||n},210:function(e,t,r){var n,o=SyntaxError,i=Function,u=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var l=function(){throw new u},p=c?function(){try{return l}catch(e){try{return c(arguments,"callee").get}catch(e){return l}}}():l,f=r(405)(),d=Object.getPrototypeOf||function(e){return e.__proto__},h={},g="undefined"==typeof Uint8Array?n:d(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==("undefined"==typeof JSON?"undefined":a(JSON))?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":p,"%TypedArray%":g,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};try{null.error}catch(e){var v=d(d(e));m["%Error.prototype%"]=v}var y=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&(r=d(a.prototype))}return m[t]=r,r},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=r(612),w=r(642),k=D.call(Function.call,Array.prototype.concat),x=D.call(Function.apply,Array.prototype.splice),E=D.call(Function.call,String.prototype.replace),A=D.call(Function.call,String.prototype.slice),C=D.call(Function.call,RegExp.prototype.exec),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,S=function(e){var t=A(e,0,1),r=A(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return E(e,_,(function(e,t,r,a){n[n.length]=r?E(a,F,"$1"):t||e})),n},q=function(e,t){var r,n=e;if(w(b,n)&&(n="%"+(r=b[n])[0]+"%"),w(m,n)){var a=m[n];if(a===h&&(a=y(n)),void 0===a&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=S(e),n=r.length>0?r[0]:"",a=q("%"+n+"%",t),i=a.name,s=a.value,l=!1,p=a.alias;p&&(n=p[0],x(r,k([0,1],p)));for(var f=1,d=!0;f<r.length;f+=1){var h=r[f],g=A(h,0,1),v=A(h,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&d||(l=!0),w(m,i="%"+(n+="."+h)+"%"))s=m[i];else if(null!=s){if(!(h in s)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&f+1>=r.length){var y=c(s,h);s=(d=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:s[h]}else d=w(s,h),s=s[h];d&&!l&&(m[i]=s)}}return s}},405:function(e,t,r){var n="undefined"!=typeof Symbol&&Symbol,o=r(419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==a(n("foo"))&&"symbol"==a(Symbol("bar"))&&o()}},419:function(e){e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==a(Symbol.iterator))return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},642:function(e,t,r){var n=r(612);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},631:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,u=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&c&&"function"==typeof c.get?c.get:null,p=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,m=Object.prototype.toString,v=Function.prototype.toString,y=String.prototype.match,b=String.prototype.slice,D=String.prototype.replace,w=String.prototype.toUpperCase,k=String.prototype.toLowerCase,x=RegExp.prototype.test,E=Array.prototype.concat,A=Array.prototype.join,C=Array.prototype.slice,_=Math.floor,F="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,q="function"==typeof Symbol&&"symbol"==a(Symbol.iterator)?Symbol.prototype.toString:null,B="function"==typeof Symbol&&"object"==a(Symbol.iterator),T="function"==typeof Symbol&&Symbol.toStringTag?Symbol.toStringTag:null,L=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-_(-e):_(e);if(n!==e){var a=String(n),o=b.call(t,a.length+1);return D.call(a,r,"$&_")+"."+D.call(D.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return D.call(t,r,"$&_")}var P=r(654),N=P.custom,I=M(N)?N:null;function j(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function U(e){return D.call(String(e),/"/g,""")}function H(e){return!("[object Array]"!==$(e)||T&&"object"==a(e)&&T in e)}function z(e){return!("[object RegExp]"!==$(e)||T&&"object"==a(e)&&T in e)}function M(e){if(B)return e&&"object"==a(e)&&e instanceof Symbol;if("symbol"==a(e))return!0;if(!e||"object"!=a(e)||!q)return!1;try{return q.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,n,o){var s=r||{};if(G(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(G(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!G(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return m?R(t,w):w}if("bigint"==typeof t){var x=String(t)+"n";return m?R(t,x):x}var _=void 0===s.depth?5:s.depth;if(void 0===n&&(n=0),n>=_&&_>0&&"object"==a(t))return H(t)?"[Array]":"[Object]";var S,N=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=A.call(Array(e.indent+1)," ")}return{base:r,prev:A.call(Array(t+1),r)}}(s,n);if(void 0===o)o=[];else if(J(o,t)>=0)return"[Circular]";function V(t,r,a){if(r&&(o=C.call(o)).push(r),a){var i={depth:s.depth};return G(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,n+1,o)}return e(t,s,n+1,o)}if("function"==typeof t&&!z(t)){var Z=function(e){if(e.name)return e.name;var t=y.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=ee(t,V);return"[Function"+(Z?": "+Z:" (anonymous)")+"]"+(te.length>0?" { "+A.call(te,", ")+" }":"")}if(M(t)){var re=B?D.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):q.call(t);return"object"!=a(t)||B?re:W(re)}if((S=t)&&"object"==a(S)&&("undefined"!=typeof HTMLElement&&S instanceof HTMLElement||"string"==typeof S.nodeName&&"function"==typeof S.getAttribute)){for(var ne="<"+k.call(String(t.nodeName)),ae=t.attributes||[],oe=0;oe<ae.length;oe++)ne+=" "+ae[oe].name+"="+j(U(ae[oe].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+k.call(String(t.nodeName))+">"}if(H(t)){if(0===t.length)return"[]";var ie=ee(t,V);return N&&!function(e){for(var t=0;t<e.length;t++)if(J(e[t],"\n")>=0)return!1;return!0}(ie)?"["+X(ie,N)+"]":"[ "+A.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==$(e)||T&&"object"==a(e)&&T in e)}(t)){var ue=ee(t,V);return"cause"in Error.prototype||!("cause"in t)||L.call(t,"cause")?0===ue.length?"["+String(t)+"]":"{ ["+String(t)+"] "+A.call(ue,", ")+" }":"{ ["+String(t)+"] "+A.call(E.call("[cause]: "+V(t.cause),ue),", ")+" }"}if("object"==a(t)&&c){if(I&&"function"==typeof t[I]&&P)return P(t,{depth:_-n});if("symbol"!==c&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=a(e))return!1;try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return u&&u.call(t,(function(e,r){se.push(V(r,t,!0)+" => "+V(e,t))})),Q("Map",i.call(t),se,N)}if(function(e){if(!l||!e||"object"!=a(e))return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return p&&p.call(t,(function(e){ce.push(V(e,t))})),Q("Set",l.call(t),ce,N)}if(function(e){if(!f||!e||"object"!=a(e))return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!d||!e||"object"!=a(e))return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!h||!e||"object"!=a(e))return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==$(e)||T&&"object"==a(e)&&T in e)}(t))return W(V(Number(t)));if(function(e){if(!e||"object"!=a(e)||!F)return!1;try{return F.call(e),!0}catch(e){}return!1}(t))return W(V(F.call(t)));if(function(e){return!("[object Boolean]"!==$(e)||T&&"object"==a(e)&&T in e)}(t))return W(g.call(t));if(function(e){return!("[object String]"!==$(e)||T&&"object"==a(e)&&T in e)}(t))return W(V(String(t)));if(!function(e){return!("[object Date]"!==$(e)||T&&"object"==a(e)&&T in e)}(t)&&!z(t)){var le=ee(t,V),pe=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",de=!pe&&T&&Object(t)===t&&T in t?b.call($(t),8,-1):fe?"Object":"",he=(pe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||fe?"["+A.call(E.call([],de||[],fe||[]),": ")+"] ":"");return 0===le.length?he+"{}":N?he+"{"+X(le,N)+"}":he+"{ "+A.call(le,", ")+" }"}return String(t)};var V=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return V.call(e,t)}function $(e){return m.call(e)}function J(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function K(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return K(b.call(e,0,t.maxStringLength),t)+n}return j(D.call(D.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Z),"single",t)}function Z(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function W(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Q(e,t,r,n){return e+" ("+t+") {"+(n?X(r,n):A.call(r,", "))+"}"}function X(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+A.call(e,","+r)+"\n"+t.prev}function ee(e,t){var r=H(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=G(e,a)?t(e[a],e):""}var o,i="function"==typeof S?S(e):[];if(B){o={};for(var u=0;u<i.length;u++)o["$"+i[u]]=i[u]}for(var s in e)G(e,s)&&(r&&String(Number(s))===s&&s<e.length||B&&o["$"+s]instanceof Symbol||(x.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if("function"==typeof S)for(var c=0;c<i.length;c++)L.call(e,i[c])&&n.push("["+t(i[c])+"]: "+t(e[i[c]],e));return n}},798:function(e){var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},129:function(e,t,r){var n=r(261),a=r(235),o=r(798);e.exports={formats:o,parse:a,stringify:n}},235:function(e,t,r){var n=r(769),a=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},u=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,u=r.depth>0&&/(\[[^[\]]*])/.exec(o),c=u?o.slice(0,u.index):o,l=[];if(c){if(!r.plainObjects&&a.call(Object.prototype,c)&&!r.allowPrototypes)return;l.push(c)}for(var p=0;r.depth>0&&null!==(u=i.exec(o))&&p<r.depth;){if(p+=1,!r.plainObjects&&a.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(u[1])}return u&&l.push("["+o.slice(u.index)+"]"),function(e,t,r,n){for(var a=n?t:s(t,r),o=e.length-1;o>=0;--o){var i,u=e[o];if("[]"===u&&r.parseArrays)i=[].concat(a);else{i=r.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,l=parseInt(c,10);r.parseArrays||""!==c?!isNaN(l)&&u!==c&&String(l)===c&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(i=[])[l]=a:"__proto__"!==c&&(i[c]=a):i={0:a}}a=i}return a}(l,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var r,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.split(t.delimiter,p),d=-1,h=t.charset;if(t.charsetSentinel)for(r=0;r<f.length;++r)0===f[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[r]?h="utf-8":"utf8=%26%2310003%3B"===f[r]&&(h="iso-8859-1"),d=r,r=f.length);for(r=0;r<f.length;++r)if(r!==d){var g,m,v=f[r],y=v.indexOf("]="),b=-1===y?v.indexOf("="):y+1;-1===b?(g=t.decoder(v,i.decoder,h,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,b),i.decoder,h,"key"),m=n.maybeMap(s(v.slice(b+1),t),(function(e){return t.decoder(e,i.decoder,h,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=u(m)),v.indexOf("[]=")>-1&&(m=o(m)?[m]:m),a.call(c,g)?c[g]=n.combine(c[g],m):c[g]=m}return c}(e,r):e,p=r.plainObjects?Object.create(null):{},f=Object.keys(l),d=0;d<f.length;++d){var h=f[d],g=c(h,l[h],r,"string"==typeof e);p=n.merge(p,g,r)}return!0===r.allowSparse?p:n.compact(p)}},261:function(e,t,r){var n=r(478),o=r(769),i=r(798),u=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,l=Array.prototype.push,p=function(e,t){l.apply(e,c(t)?t:[t])},f=Date.prototype.toISOString,d=i.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},g={},m=function e(t,r,i,u,s,l,f,d,m,v,y,b,D,w,k,x){for(var E,A=t,C=x,_=0,F=!1;void 0!==(C=C.get(g))&&!F;){var S=C.get(t);if(_+=1,void 0!==S){if(S===_)throw new RangeError("Cyclic object value");F=!0}void 0===C.get(g)&&(_=0)}if("function"==typeof d?A=d(r,A):A instanceof Date?A=y(A):"comma"===i&&c(A)&&(A=o.maybeMap(A,(function(e){return e instanceof Date?y(e):e}))),null===A){if(s)return f&&!w?f(r,h.encoder,k,"key",b):r;A=""}if("string"==typeof(E=A)||"number"==typeof E||"boolean"==typeof E||"symbol"==a(E)||"bigint"==typeof E||o.isBuffer(A))return f?[D(w?r:f(r,h.encoder,k,"key",b))+"="+D(f(A,h.encoder,k,"value",b))]:[D(r)+"="+D(String(A))];var q,B=[];if(void 0===A)return B;if("comma"===i&&c(A))w&&f&&(A=o.maybeMap(A,f)),q=[{value:A.length>0?A.join(",")||null:void 0}];else if(c(d))q=d;else{var T=Object.keys(A);q=m?T.sort(m):T}for(var L=u&&c(A)&&1===A.length?r+"[]":r,O=0;O<q.length;++O){var R=q[O],P="object"==a(R)&&void 0!==R.value?R.value:A[R];if(!l||null!==P){var N=c(A)?"function"==typeof i?i(L,R):L:L+(v?"."+R:"["+R+"]");x.set(t,_);var I=n();I.set(g,x),p(B,e(P,N,i,u,s,l,"comma"===i&&w&&c(A)?null:f,d,m,v,y,b,D,w,k,I))}}return B};e.exports=function(e,t){var r,o=e,l=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!u.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=i.formatters[r],a=h.filter;return("function"==typeof e.filter||c(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:a,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"==typeof l.filter?o=(0,l.filter)("",o):c(l.filter)&&(r=l.filter);var f,d=[];if("object"!=a(o)||null===o)return"";f=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var g=s[f];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v="comma"===g&&t&&t.commaRoundTrip;r||(r=Object.keys(o)),l.sort&&r.sort(l.sort);for(var y=n(),b=0;b<r.length;++b){var D=r[b];l.skipNulls&&null===o[D]||p(d,m(o[D],D,g,v,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,y))}var w=d.join(l.delimiter),k=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?k+="utf8=%26%2310003%3B&":k+="utf8=%E2%9C%93&"),w.length>0?k+w:""}},769:function(e,t,r){var n=r(798),o=Object.prototype.hasOwnProperty,i=Array.isArray,u=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],u=o.obj[o.prop],s=Object.keys(u),c=0;c<s.length;++c){var l=s[c],p=u[l];"object"==a(p)&&null!==p&&-1===r.indexOf(p)&&(t.push({obj:u,prop:l}),r.push(p))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],a=0;a<r.length;++a)void 0!==r[a]&&n.push(r[a]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var s=e;if("symbol"==a(e)?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",l=0;l<s.length;++l){var p=s.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===n.RFC1738&&(40===p||41===p)?c+=s.charAt(l):p<128?c+=u[p]:p<2048?c+=u[192|p>>6]+u[128|63&p]:p<55296||p>=57344?c+=u[224|p>>12]+u[128|p>>6&63]+u[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&s.charCodeAt(l)),c+=u[240|p>>18]+u[128|p>>12&63]+u[128|p>>6&63]+u[128|63&p])}return c},isBuffer:function(e){return!(!e||"object"!=a(e)||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=a(r)){if(i(t))t.push(r);else{if(!t||"object"!=a(t))return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=a(t))return[t].concat(r);var u=t;return i(t)&&!i(r)&&(u=s(t,n)),i(t)&&i(r)?(r.forEach((function(r,i){if(o.call(t,i)){var u=t[i];u&&"object"==a(u)&&r&&"object"==a(r)?t[i]=e(u,r,n):t.push(r)}else t[i]=r})),t):Object.keys(r).reduce((function(t,a){var i=r[a];return o.call(t,a)?t[a]=e(t[a],i,n):t[a]=i,t}),u)}}},478:function(e,t,r){var n=r(210),o=r(924),i=r(631),u=n("%TypeError%"),s=n("%WeakMap%",!0),c=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),p=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),g=o("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new u("Side channel does not contain "+i(e))},get:function(n){if(s&&n&&("object"==a(n)||"function"==typeof n)){if(e)return l(e,n)}else if(c){if(t)return d(t,n)}else if(r)return function(e,t){var r=m(e,t);return r&&r.value}(r,n)},has:function(n){if(s&&n&&("object"==a(n)||"function"==typeof n)){if(e)return f(e,n)}else if(c){if(t)return g(t,n)}else if(r)return function(e,t){return!!m(e,t)}(r,n);return!1},set:function(n,o){s&&n&&("object"==a(n)||"function"==typeof n)?(e||(e=new s),p(e,n,o)):c?(t||(t=new c),h(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},654:function(){}},Ze={};function We(e){var t=Ze[e];if(void 0!==t)return t.exports;var r=Ze[e]={exports:{}};return Ke[e](r,r.exports,We),r.exports}We.d=function(e,t){for(var r in t)We.o(t,r)&&!We.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},We.g=function(){if("object"==("undefined"==typeof globalThis?"undefined":a(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==("undefined"==typeof window?"undefined":a(window)))return window}}(),We.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},We.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var Ye={};!function(){We.d(Ye,{Y:function(){return St},Z:function(){return Ft}});var e={};function n(e,t){return function(){return e.apply(t,arguments)}}We.r(e),We.d(e,{hasBrowserEnv:function(){return de},hasStandardBrowserEnv:function(){return he},hasStandardBrowserWebWorkerEnv:function(){return ge}});var o,s=Object.prototype.toString,l=Object.getPrototypeOf,p=(o=Object.create(null),function(e){var t=s.call(e);return o[t]||(o[t]=t.slice(8,-1).toLowerCase())}),f=function(e){return e=e.toLowerCase(),function(t){return p(t)===e}},d=function(e){return function(t){return a(t)===e}},h=Array.isArray,g=d("undefined"),m=f("ArrayBuffer"),v=d("string"),y=d("function"),b=d("number"),D=function(e){return null!==e&&"object"==a(e)},w=function(e){if("object"!==p(e))return!1;var t=l(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},k=f("Date"),F=f("File"),q=f("Blob"),B=f("FileList"),T=f("URLSearchParams");function L(e,t){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.allOwnKeys,u=void 0!==i&&i;if(null!=e)if("object"!=a(e)&&(e=[e]),h(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{var s,c=u?Object.getOwnPropertyNames(e):Object.keys(e),l=c.length;for(r=0;r<l;r++)s=c[r],t.call(null,e[s],s,e)}}function O(e,t){t=t.toLowerCase();for(var r,n=Object.keys(e),a=n.length;a-- >0;)if(t===(r=n[a]).toLowerCase())return r;return null}var R,P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,N=function(e){return!g(e)&&e!==P},I=(R="undefined"!=typeof Uint8Array&&l(Uint8Array),function(e){return R&&e instanceof R}),j=f("HTMLFormElement"),U=function(e){var t=Object.prototype.hasOwnProperty;return function(e,r){return t.call(e,r)}}(),H=f("RegExp"),z=function(e,t){var r=Object.getOwnPropertyDescriptors(e),n={};L(r,(function(r,a){var o;!1!==(o=t(r,a,e))&&(n[a]=o||r)})),Object.defineProperties(e,n)},M="abcdefghijklmnopqrstuvwxyz",V="0123456789",G={DIGIT:V,ALPHA:M,ALPHA_DIGIT:M+M.toUpperCase()+V},$=f("AsyncFunction"),J={isArray:h,isArrayBuffer:m,isBuffer:function(e){return null!==e&&!g(e)&&null!==e.constructor&&!g(e.constructor)&&y(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||y(e.append)&&("formdata"===(t=p(e))||"object"===t&&y(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer)},isString:v,isNumber:b,isBoolean:function(e){return!0===e||!1===e},isObject:D,isPlainObject:w,isUndefined:g,isDate:k,isFile:F,isBlob:q,isRegExp:H,isFunction:y,isStream:function(e){return D(e)&&y(e.pipe)},isURLSearchParams:T,isTypedArray:I,isFileList:B,forEach:L,merge:function e(){for(var t=N(this)&&this||{},r=t.caseless,n={},a=function(t,a){var o=r&&O(n,a)||a;w(n[o])&&w(t)?n[o]=e(n[o],t):w(t)?n[o]=e({},t):h(t)?n[o]=t.slice():n[o]=t},o=0,i=arguments.length;o<i;o++)arguments[o]&&L(arguments[o],a);return n},extend:function(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=a.allOwnKeys;return L(t,(function(t,a){r&&y(t)?e[a]=n(t,r):e[a]=t}),{allOwnKeys:o}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r,n){var a,o,i,u={};if(t=t||{},null==e)return t;do{for(o=(a=Object.getOwnPropertyNames(e)).length;o-- >0;)i=a[o],n&&!n(i,e,t)||u[i]||(t[i]=e[i],u[i]=!0);e=!1!==r&&l(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:p,kindOfTest:f,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;if(h(e))return e;var t=e.length;if(!b(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},forEachEntry:function(e,t){for(var r,n=(e&&e[Symbol.iterator]).call(e);(r=n.next())&&!r.done;){var a=r.value;t.call(e,a[0],a[1])}},matchAll:function(e,t){for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:j,hasOwnProperty:U,hasOwnProp:U,reduceDescriptors:z,freezeMethods:function(e){z(e,(function(t,r){if(y(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;var n=e[r];y(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:function(e,t){var r={},n=function(e){e.forEach((function(e){r[e]=!0}))};return h(e)?n(e):n(String(e).split(t)),r},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:O,global:P,isContextDefined:N,ALPHABET:G,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.ALPHA_DIGIT,r="",n=t.length;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&y(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(r,n){if(D(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[n]=r;var a=h(r)?[]:{};return L(r,(function(t,r){var o=e(t,n+1);!g(o)&&(a[r]=o)})),t[n]=void 0,a}}return r}(e,0)},isAsyncFn:$,isThenable:function(e){return e&&(D(e)||y(e))&&y(e.then)&&y(e.catch)}};function K(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a)}J.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Z=K.prototype,W={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){W[e]={value:e}})),Object.defineProperties(K,W),Object.defineProperty(Z,"isAxiosError",{value:!0}),K.from=function(e,t,r,n,a,o){var i=Object.create(Z);return J.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),K.call(i,e.message,t,r,n,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};var Y=K;function Q(e){return J.isPlainObject(e)||J.isArray(e)}function X(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function ee(e,t,r){return e?e.concat(t).map((function(e,t){return e=X(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}var te=J.toFlatObject(J,{},null,(function(e){return/^is[A-Z]/.test(e)})),re=function(e,t,r){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var n=(r=J.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!J.isUndefined(t[e])}))).metaTokens,o=r.visitor||l,i=r.dots,u=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(J.isDate(e))return e.toISOString();if(!s&&J.isBlob(e))throw new Y("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(e)||J.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,r,o){var s=e;if(e&&!o&&"object"==a(e))if(J.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(J.isArray(e)&&function(e){return J.isArray(e)&&!e.some(Q)}(e)||(J.isFileList(e)||J.endsWith(r,"[]"))&&(s=J.toArray(e)))return r=X(r),s.forEach((function(e,n){!J.isUndefined(e)&&null!==e&&t.append(!0===u?ee([r],n,i):null===u?r:r+"[]",c(e))})),!1;return!!Q(e)||(t.append(ee(o,r,i),c(e)),!1)}var p=[],f=Object.assign(te,{defaultVisitor:l,convertValue:c,isVisitable:Q});if(!J.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!J.isUndefined(r)){if(-1!==p.indexOf(r))throw Error("Circular reference detected in "+n.join("."));p.push(r),J.forEach(r,(function(r,a){!0===(!(J.isUndefined(r)||null===r)&&o.call(t,r,J.isString(a)?a.trim():a,n,f))&&e(r,n?n.concat(a):[a])})),p.pop()}}(e),t};function ne(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ae(e,t){this._pairs=[],e&&re(e,this,t)}var oe=ae.prototype;oe.append=function(e,t){this._pairs.push([e,t])},oe.toString=function(e){var t=e?function(t){return e.call(this,t,ne)}:ne;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ie=ae;function ue(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function se(e,t,r){if(!t)return e;var n,a=r&&r.encode||ue,o=r&&r.serialize;if(n=o?o(t,r):J.isURLSearchParams(t)?t.toString():new ie(t,r).toString(a)){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}var ce,le=function(){function e(){u(this,e),this.handlers=[]}return c(e,[{key:"use",value:function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){J.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ie,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},de="undefined"!=typeof window&&"undefined"!=typeof document,he=(ce="undefined"!=typeof navigator&&navigator.product,de&&["ReactNative","NativeScript","NS"].indexOf(ce)<0),ge="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,me=t(t({},e),fe),ve=function(e){function t(e,r,n,a){var o=e[a++],i=Number.isFinite(+o),u=a>=e.length;return o=!o&&J.isArray(n)?n.length:o,u?(J.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!i):(n[o]&&J.isObject(n[o])||(n[o]=[]),t(e,r,n[o],a)&&J.isArray(n[o])&&(n[o]=function(e){var t,r,n={},a=Object.keys(e),o=a.length;for(t=0;t<o;t++)n[r=a[t]]=e[r];return n}(n[o])),!i)}if(J.isFormData(e)&&J.isFunction(e.entries)){var r={};return J.forEachEntry(e,(function(e,n){t(function(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),n,r,0)})),r}return null},ye={transitional:pe,adapter:["xhr","http"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",a=n.indexOf("application/json")>-1,o=J.isObject(e);if(o&&J.isHTMLForm(e)&&(e=new FormData(e)),J.isFormData(e))return a&&a?JSON.stringify(ve(e)):e;if(J.isArrayBuffer(e)||J.isBuffer(e)||J.isStream(e)||J.isFile(e)||J.isBlob(e))return e;if(J.isArrayBufferView(e))return e.buffer;if(J.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return re(e,new me.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return me.isNode&&J.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=J.isFileList(e))||n.indexOf("multipart/form-data")>-1){var i=this.env&&this.env.FormData;return re(r?{"files[]":e}:e,i&&new i,this.formSerializer)}}return o||a?(t.setContentType("application/json",!1),function(e,t,r){if(J.isString(e))try{return(0,JSON.parse)(e),J.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||ye.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&J.isString(e)&&(r&&!this.responseType||n)){var a=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw Y.from(e,Y.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],(function(e){ye.headers[e]={}}));var be=ye,De=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),we=Symbol("internals");function ke(e){return e&&String(e).trim().toLowerCase()}function xe(e){return!1===e||null==e?e:J.isArray(e)?e.map(xe):String(e)}function Ee(e,t,r,n,a){return J.isFunction(n)?n.call(this,t,r):(a&&(t=r),J.isString(t)?J.isString(n)?-1!==t.indexOf(n):J.isRegExp(n)?n.test(t):void 0:void 0)}var Ae=function(e,t){function r(e){u(this,r),e&&this.set(e)}return c(r,[{key:"set",value:function(e,t,r){var n=this;function a(e,t,r){var a=ke(t);if(!a)throw new Error("header name must be a non-empty string");var o=J.findKey(n,a);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=xe(e))}var o=function(e,t){return J.forEach(e,(function(e,r){return a(e,r,t)}))};return J.isPlainObject(e)||e instanceof this.constructor?o(e,t):J.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o(function(e){var t,r,n,a={};return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||a[t]&&De[t]||("set-cookie"===t?a[t]?a[t].push(r):a[t]=[r]:a[t]=a[t]?a[t]+", "+r:r)})),a}(e),t):null!=e&&a(t,e,r),this}},{key:"get",value:function(e,t){if(e=ke(e)){var r=J.findKey(this,e);if(r){var n=this[r];if(!t)return n;if(!0===t)return function(e){for(var t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=n.exec(e);)r[t[1]]=t[2];return r}(n);if(J.isFunction(t))return t.call(this,n,r);if(J.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=ke(e)){var r=J.findKey(this,e);return!(!r||void 0===this[r]||t&&!Ee(0,this[r],r,t))}return!1}},{key:"delete",value:function(e,t){var r=this,n=!1;function a(e){if(e=ke(e)){var a=J.findKey(r,e);!a||t&&!Ee(0,r[a],a,t)||(delete r[a],n=!0)}}return J.isArray(e)?e.forEach(a):a(e),n}},{key:"clear",value:function(e){for(var t=Object.keys(this),r=t.length,n=!1;r--;){var a=t[r];e&&!Ee(0,this[a],a,e,!0)||(delete this[a],n=!0)}return n}},{key:"normalize",value:function(e){var t=this,r={};return J.forEach(this,(function(n,a){var o=J.findKey(r,a);if(o)return t[o]=xe(n),void delete t[a];var i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}(a):String(a).trim();i!==a&&delete t[a],t[i]=xe(n),r[i]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=this.constructor).concat.apply(e,[this].concat(r))}},{key:"toJSON",value:function(e){var t=Object.create(null);return J.forEach(this,(function(r,n){null!=r&&!1!==r&&(t[n]=e&&J.isArray(r)?r.join(", "):r)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=x(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return n.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[we]=this[we]={accessors:{}}).accessors,r=this.prototype;function n(e){var n=ke(e);t[n]||(function(e,t){var r=J.toCamelCase(" "+t);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+r,{value:function(e,r,a){return this[n].call(this,t,e,r,a)},configurable:!0})}))}(r,e),t[n]=!0)}return J.isArray(e)?e.forEach(n):n(e),this}}]),r}();Ae.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),J.reduceDescriptors(Ae.prototype,(function(e,t){var r=e.value,n=t[0].toUpperCase()+t.slice(1);return{get:function(){return r},set:function(e){this[n]=e}}})),J.freezeMethods(Ae);var Ce=Ae;function _e(e,t){var r=this||be,n=t||r,a=Ce.from(n.headers),o=n.data;return J.forEach(e,(function(e){o=e.call(r,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function Fe(e){return!(!e||!e.__CANCEL__)}function Se(e,t,r){Y.call(this,null==e?"canceled":e,Y.ERR_CANCELED,t,r),this.name="CanceledError"}J.inherits(Se,Y,{__CANCEL__:!0});var qe=Se,Be=me.hasStandardBrowserEnv?{write:function(e,t,r,n,a,o){var i=[e+"="+encodeURIComponent(t)];J.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),J.isString(n)&&i.push("path="+n),J.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Te(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Le=me.hasStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){var r=J.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0};function Oe(e,t){var r=0,n=function(e,t){e=e||10;var r,n=new Array(e),a=new Array(e),o=0,i=0;return t=void 0!==t?t:1e3,function(u){var s=Date.now(),c=a[i];r||(r=s),n[o]=u,a[o]=s;for(var l=i,p=0;l!==o;)p+=n[l++],l%=e;if((o=(o+1)%e)===i&&(i=(i+1)%e),!(s-r<t)){var f=c&&s-c;return f?Math.round(1e3*p/f):void 0}}}(50,250);return function(a){var o=a.loaded,i=a.lengthComputable?a.total:void 0,u=o-r,s=n(u);r=o;var c={loaded:o,total:i,progress:i?o/i:void 0,bytes:u,rate:s||void 0,estimated:s&&i&&o<=i?(i-o)/s:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}var Re={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){var n,a,o,i=e.data,u=Ce.from(e.headers).normalize(),s=e.responseType,c=e.withXSRFToken;function l(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}if(J.isFormData(i))if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)u.setContentType(!1);else if(!1!==(a=u.getContentType())){var p=a?a.split(";").map((function(e){return e.trim()})).filter(Boolean):[],f=A(o=p)||C(o)||_(o)||S(),d=f[0],h=f.slice(1);u.setContentType([d||"multipart/form-data"].concat(E(h)).join("; "))}var g=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";u.set("Authorization","Basic "+btoa(m+":"+v))}var y=Te(e.baseURL,e.url);function b(){if(g){var n=Ce.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());!function(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Y("Request failed with status code "+r.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}((function(e){t(e),l()}),(function(e){r(e),l()}),{data:s&&"text"!==s&&"json"!==s?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:e,request:g}),g=null}}if(g.open(e.method.toUpperCase(),se(y,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(b)},g.onabort=function(){g&&(r(new Y("Request aborted",Y.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new Y("Network Error",Y.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||pe;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new Y(t,n.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,g)),g=null},me.hasStandardBrowserEnv&&(c&&J.isFunction(c)&&(c=c(e)),c||!1!==c&&Le(y))){var D=e.xsrfHeaderName&&e.xsrfCookieName&&Be.read(e.xsrfCookieName);D&&u.set(e.xsrfHeaderName,D)}void 0===i&&u.setContentType(null),"setRequestHeader"in g&&J.forEach(u.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),J.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),s&&"json"!==s&&(g.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",Oe(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",Oe(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=function(t){g&&(r(!t||t.type?new qe(null,e,g):t),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));var w=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(y);w&&-1===me.protocols.indexOf(w)?r(new Y("Unsupported protocol "+w+":",Y.ERR_BAD_REQUEST,e)):g.send(i||null)}))}};J.forEach(Re,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Pe=function(e){return"- ".concat(e)},Ne=function(e){return J.isFunction(e)||null===e||!1===e},Ie=function(e){for(var t,r,n=(e=J.isArray(e)?e:[e]).length,a={},o=0;o<n;o++){var i=void 0;if(r=t=e[o],!Ne(t)&&void 0===(r=Re[(i=String(t)).toLowerCase()]))throw new Y("Unknown adapter '".concat(i,"'"));if(r)break;a[i||"#"+o]=r}if(!r){var u=Object.entries(a).map((function(e){var t=x(e,2),r=t[0],n=t[1];return"adapter ".concat(r," ")+(!1===n?"is not supported by the environment":"is not available in the build")})),s=n?u.length>1?"since :\n"+u.map(Pe).join("\n"):" "+Pe(u[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r};function je(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qe(null,e)}function Ue(e){return je(e),e.headers=Ce.from(e.headers),e.data=_e.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ie(e.adapter||be.adapter)(e).then((function(t){return je(e),t.data=_e.call(e,e.transformResponse,t),t.headers=Ce.from(t.headers),t}),(function(t){return Fe(t)||(je(e),t&&t.response&&(t.response.data=_e.call(e,e.transformResponse,t.response),t.response.headers=Ce.from(t.response.headers))),Promise.reject(t)}))}var He=function(e){return e instanceof Ce?e.toJSON():e};function ze(e,t){t=t||{};var r={};function n(e,t,r){return J.isPlainObject(e)&&J.isPlainObject(t)?J.merge.call({caseless:r},e,t):J.isPlainObject(t)?J.merge({},t):J.isArray(t)?t.slice():t}function a(e,t,r){return J.isUndefined(t)?J.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!J.isUndefined(t))return n(void 0,t)}function i(e,t){return J.isUndefined(t)?J.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function u(r,a,o){return o in t?n(r,a):o in e?n(void 0,r):void 0}var s={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u,headers:function(e,t){return a(He(e),He(t),!0)}};return J.forEach(Object.keys(Object.assign({},e,t)),(function(n){var o=s[n]||a,i=o(e[n],t[n],n);J.isUndefined(i)&&o!==u||(r[n]=i)})),r}var Me={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Me[e]=function(r){return a(r)===e||"a"+(t<1?"n ":" ")+e}}));var Ve={};Me.transitional=function(e,t,r){function n(e,t){return"[Axios v1.6.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,a,o){if(!1===e)throw new Y(n(a," has been removed"+(t?" in "+t:"")),Y.ERR_DEPRECATED);return t&&!Ve[a]&&(Ve[a]=!0,console.warn(n(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,a,o)}};var Ge={assertOptions:function(e,t,r){if("object"!=a(e))throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],u=t[i];if(u){var s=e[i],c=void 0===s||u(s,i,e);if(!0!==c)throw new Y("option "+i+" must be "+c,Y.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Y("Unknown option "+i,Y.ERR_BAD_OPTION)}},validators:Me},$e=Ge.validators,Je=function(){function e(t){u(this,e),this.defaults=t,this.interceptors={request:new le,response:new le}}return c(e,[{key:"request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var r=t=ze(this.defaults,t),n=r.transitional,a=r.paramsSerializer,o=r.headers;void 0!==n&&Ge.assertOptions(n,{silentJSONParsing:$e.transitional($e.boolean),forcedJSONParsing:$e.transitional($e.boolean),clarifyTimeoutError:$e.transitional($e.boolean)},!1),null!=a&&(J.isFunction(a)?t.paramsSerializer={serialize:a}:Ge.assertOptions(a,{encode:$e.function,serialize:$e.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var i=o&&J.merge(o.common,o[t.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete o[e]})),t.headers=Ce.concat(i,o);var u=[],s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,u.unshift(e.fulfilled,e.rejected))}));var c,l=[];this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));var p,f=0;if(!s){var d=[Ue.bind(this),void 0];for(d.unshift.apply(d,u),d.push.apply(d,l),p=d.length,c=Promise.resolve(t);f<p;)c=c.then(d[f++],d[f++]);return c}p=u.length;var h=t;for(f=0;f<p;){var g=u[f++],m=u[f++];try{h=g(h)}catch(e){m.call(this,e);break}}try{c=Ue.call(this,h)}catch(e){return Promise.reject(e)}for(f=0,p=l.length;f<p;)c=c.then(l[f++],l[f++]);return c}},{key:"getUri",value:function(e){return se(Te((e=ze(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();J.forEach(["delete","get","head","options"],(function(e){Je.prototype[e]=function(t,r){return this.request(ze(r||{},{method:e,url:t,data:(r||{}).data}))}})),J.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,a){return this.request(ze(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Je.prototype[e]=t(),Je.prototype[e+"Form"]=t(!0)}));var Ke=Je,Ze=function(){function e(t){if(u(this,e),"function"!=typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(e){r=e}));var n=this;this.promise.then((function(e){if(n._listeners){for(var t=n._listeners.length;t-- >0;)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},t((function(e,t,a){n.reason||(n.reason=new qe(e,t,a),r(n.reason))}))}return c(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}]),e}(),Qe=Ze,Xe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xe).forEach((function(e){var t=x(e,2),r=t[0],n=t[1];Xe[n]=r}));var et=Xe,tt=function e(t){var r=new Ke(t),a=n(Ke.prototype.request,r);return J.extend(a,Ke.prototype,r,{allOwnKeys:!0}),J.extend(a,r,null,{allOwnKeys:!0}),a.create=function(r){return e(ze(t,r))},a}(be);tt.Axios=Ke,tt.CanceledError=qe,tt.CancelToken=Qe,tt.isCancel=Fe,tt.VERSION="1.6.2",tt.toFormData=re,tt.AxiosError=Y,tt.Cancel=tt.CanceledError,tt.all=function(e){return Promise.all(e)},tt.spread=function(e){return function(t){return e.apply(null,t)}},tt.isAxiosError=function(e){return J.isObject(e)&&!0===e.isAxiosError},tt.mergeConfig=ze,tt.AxiosHeaders=Ce,tt.formToJSON=function(e){return ve(J.isHTMLForm(e)?new FormData(e):e)},tt.getAdapter=Ie,tt.HttpStatusCode=et,tt.default=tt;var rt=tt;Array.prototype.indexOf||(Array.prototype.indexOf=function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1});var nt=function(e,t){return Array.prototype.slice.call(e,t)},at=null;"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?at=self:void 0!==We.g?at=We.g:window&&(at=window);var ot="undefined"!=typeof navigator&&navigator.useragent?navigator.userAgent:"",it=null;(/msie (\d+)/.test(ot.toLowerCase())||/trident\/.*; rv:(\d+)/.test(ot.toLowerCase()))&&(it=parseInt(RegExp.$1,10));var ut=at,st=at.document,ct=["load","loadend","loadstart"],lt=["progress","abort","error","timeout"],pt=function(e){return["returnValue","totalSize","position"].includes(e)},ft=function(e,t){for(var r in e)if(!pt(r)){var n=e[r];try{t[r]=n}catch(e){}}return t},dt=function(e,t,r){for(var n=function(e){return function(n){var a={};for(var o in n)if(!pt(o)){var i=n[o];a[o]=i===t?r:i}return r.dispatchEvent(e,a)}},a=0,o=Array.from(e);a<o.length;a++){var i=o[a];r._has(i)&&(t["on".concat(i)]=n(i))}},ht=function(e){if(st&&null!=st.createEventObject){var t=st.createEventObject();return t.type=e,t}try{return new Event(e)}catch(t){return{type:e}}},gt=function(e){var t={},r=function(e){return t[e]||[]},n={addEventListener:function(e,n,a){t[e]=r(e),t[e].indexOf(n)>=0||(a=void 0===a?t[e].length:a,t[e].splice(a,0,n))},removeEventListener:function(e,n){if(void 0!==e){void 0===n&&(t[e]=[]);var a=r(e).indexOf(n);-1!==a&&r(e).splice(a,1)}else t={}},dispatchEvent:function(){var t=nt(arguments),a=t.shift();e||(t[0]=ft(t[0],ht(a)));var o=n["on".concat(a)];o&&o.apply(n,t);for(var i=r(a).concat(r("*")),u=0;u<i.length;u++)i[u].apply(n,t)},_has:function(e){return!(!t[e]&&!n["on".concat(e)])}};return e&&(n.listeners=function(e){return nt(r(e))},n.on=n.addEventListener,n.off=n.removeEventListener,n.fire=n.dispatchEvent,n.once=function(e,t){return n.on(e,(function r(){return n.off(e,r),t.apply(null,arguments)}))},n.destroy=function(){return t={}}),n},mt=function(e,t){var r;switch(null==t&&(t={}),a(e)){case"object":var n=[];for(var o in e){var i=e[o];r=o.toLowerCase(),n.push("".concat(r,":\t").concat(i))}return n.join("\n")+"\n";case"string":n=e.split("\n");for(var u=0,s=Array.from(n);u<s.length;u++){var c=s[u];if(/([^:]+):\s*(.+)/.test(c)){r=null!=RegExp.$1?RegExp.$1.toLowerCase():void 0;var l=RegExp.$2;null==t[r]&&(t[r]=l)}}return t}return[]},vt=gt(!0),yt=function(e){return void 0===e?null:e},bt=ut.XMLHttpRequest,Dt=function(){var e,t,r,n=new bt,o={},i=null,u=0,s=function(){if(r.status=i||n.status,-1===i&&it<10||(r.statusText=n.statusText),-1===i);else{var e=mt(n.getAllResponseHeaders());for(var t in e){var a=e[t];if(!r.headers[t]){var o=t.toLowerCase();r.headers[o]=a}}}},c=function(){d.status=r.status,d.statusText=r.statusText},l=function(){e||d.dispatchEvent("load",{}),d.dispatchEvent("loadend",{}),e&&(d.readyState=0)},p=function(e){for(;e>u&&u<4;)d.readyState=++u,1===u&&d.dispatchEvent("loadstart",{}),2===u&&c(),4===u&&(c(),"text"in r&&(d.responseText=r.text),"xml"in r&&(d.responseXML=r.xml),"data"in r&&(d.response=r.data),"finalUrl"in r&&(d.responseURL=r.finalUrl)),d.dispatchEvent("readystatechange",{}),4===u&&(!1===o.async?l():setTimeout(l,0))},f=function(e){if(4===e){var t=vt.listeners("after");!function e(){if(t.length>0){var n=t.shift();2===n.length?(n(o,r),e()):3===n.length&&o.async?n(o,r,e):e()}else p(4)}()}else p(e)},d=gt();o.xhr=d,n.onreadystatechange=function(e){try{2===n.readyState&&s()}catch(e){}4===n.readyState&&(t=!1,s(),function(){if(n.responseType&&"text"!==n.responseType)"document"===n.responseType?(r.xml=n.responseXML,r.data=n.responseXML):r.data=n.response;else{r.text=n.responseText,r.data=n.responseText;try{r.xml=n.responseXML}catch(e){}}"responseURL"in n&&(r.finalUrl=n.responseURL)}()),f(n.readyState)};var h=function(){e=!0};d.addEventListener("error",h),d.addEventListener("timeout",h),d.addEventListener("abort",h),d.addEventListener("progress",(function(e){u<3?f(3):n.readyState<=3&&d.dispatchEvent("readystatechange",{})})),"withCredentials"in n&&(d.withCredentials=!1),d.status=0;for(var g=0,m=Array.from(lt.concat(ct));g<m.length;g++){var v=m[g];d["on".concat(v)]=null}if(d.open=function(n,a,i,s,c){u=0,e=!1,t=!1,o.headers={},o.headerNames={},o.status=0,o.method=n,o.url=a,o.async=!1!==i,o.user=s,o.pass=c,(r={}).headers={},f(1)},d.send=function(e){for(var i,u,s=0,c=["type","timeout","withCredentials"];s<c.length;s++)(u="type"===(i=c[s])?"responseType":i)in d&&(o[i]=d[u]);o.body=e;var l=vt.listeners("before");!function e(){if(!l.length)return function(){for(var e=0,r=(dt(lt,n,d),d.upload&&dt(lt.concat(ct),n.upload,d.upload),t=!0,n.open(o.method,o.url,o.async,o.user,o.pass),["type","timeout","withCredentials"]);e<r.length;e++)u="type"===(i=r[e])?"responseType":i,i in o&&(n[u]=o[i]);for(var a in o.headers){var s=o.headers[a];a&&n.setRequestHeader(a,s)}n.send(o.body)}();var s=function(t){if("object"==a(t)&&("number"==typeof t.status||"number"==typeof r.status))return ft(t,r),"data"in t||(t.data=t.response||t.text),void f(4);e()};s.head=function(e){ft(e,r),f(2)},s.progress=function(e){ft(e,r),f(3)};var c=l.shift();1===c.length?s(c(o)):2===c.length&&o.async?c(o,s):s()}()},d.abort=function(){i=-1,t?n.abort():d.dispatchEvent("abort",{})},d.setRequestHeader=function(e,t){var r=null!=e?e.toLowerCase():void 0,n=o.headerNames[r]=o.headerNames[r]||e;o.headers[n]&&(t=o.headers[n]+", "+t),o.headers[n]=t},d.getResponseHeader=function(e){return yt(r.headers[e?e.toLowerCase():void 0])},d.getAllResponseHeaders=function(){return yt(mt(r.headers))},n.overrideMimeType&&(d.overrideMimeType=function(){n.overrideMimeType.apply(n,arguments)}),n.upload){var y=gt();d.upload=y,o.upload=y}return d.UNSENT=0,d.OPENED=1,d.HEADERS_RECEIVED=2,d.LOADING=3,d.DONE=4,d.response="",d.responseText="",d.responseXML=null,d.readyState=0,d.statusText="",d};Dt.UNSENT=0,Dt.OPENED=1,Dt.HEADERS_RECEIVED=2,Dt.LOADING=3,Dt.DONE=4;var wt={patch:function(){bt&&(ut.XMLHttpRequest=Dt)},unpatch:function(){bt&&(ut.XMLHttpRequest=bt)},Native:bt,Xhook:Dt},kt=ut.fetch,xt=function(e,t){null==t&&(t={headers:{}});var r=null;e instanceof Request?r=e:t.url=e;var n=vt.listeners("before"),a=vt.listeners("after");return new Promise((function(e,o){var i=e,u=function(){return t.headers&&(t.headers=new Headers(t.headers)),r||(r=new Request(t.url,t)),ft(t,r)},s=function e(t){if(!a.length)return i(t);var r=a.shift();return 2===r.length?(r(u(),t),e(t)):3===r.length?r(u(),t,e):e(t)},c=function(t){if(void 0!==t){var r=new Response(t.body||t.text,t);return e(r),void s(r)}l()},l=function(){if(n.length){var e=n.shift();return 1===e.length?c(e(t)):2===e.length?e(u(),c):void 0}p()},p=function(){return kt(u()).then((function(e){return s(e)})).catch((function(e){return i=o,s(e),o(e)}))};l()}))},Et={patch:function(){kt&&(ut.fetch=xt)},unpatch:function(){kt&&(ut.fetch=kt)},Native:kt,Xhook:xt},At=vt;At.EventEmitter=gt,At.before=function(e,t){if(e.length<1||e.length>2)throw"invalid hook";return At.on("before",e,t)},At.after=function(e,t){if(e.length<2||e.length>3)throw"invalid hook";return At.on("after",e,t)},At.enable=function(){wt.patch(),Et.patch()},At.disable=function(){wt.unpatch(),Et.unpatch()},At.XMLHttpRequest=wt.Native,At.fetch=Et.Native,At.headers=mt,At.enable();var Ct=We(129);At.after((function(e,t){if("HexaEight-Encrypted"==t.headers.provider)try{""!=e.headers.rType&&(t.responseType=e.headers.rType)}catch(e){}}));var _t=rt.create();_t.interceptors.request.use(function(){var e=i(r().mark((function e(t){var n,o,u,s,c,l,p,f,d,h,g,m,v;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.params&&Object.keys(t.params).length?"".concat(t.url,"?").concat(Ct.stringify(t.params)):"".concat(t.url);try{delete t.params}catch(e){}return e.next=4,function(){var e=i(r().mark((function e(t,n){var a,o,i,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<2)){e.next=24;break}return e.prev=2,e.next=5,t();case 5:if(!(o=e.sent)){e.next=8;break}return e.abrupt("return",o);case 8:return i=3e3*a,a++,e.next=12,new Promise((function(e){return setTimeout(e,i)}));case 12:e.next=22;break;case 14:if(e.prev=14,e.t0=e.catch(2),e.t0.message.includes("ERROR")){e.next=18;break}throw e.t0;case 18:return u=3e3*a,a++,e.next=22,new Promise((function(e){return setTimeout(e,u)}));case 22:e.next=1;break;case 24:throw new Error("Max retries reached");case 25:case"end":return e.stop()}}),e,null,[[2,14]])})));return function(t,r){return e.apply(this,arguments)}}()(i(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.auth.user.HexaEight.FetchDestination(window.name,n.toString());case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 4:if(o=e.sent,"get"==t.method){e.next=59;break}if("string"!=typeof t.data){e.next=16;break}return c=new Blob([t.data],{type:"text/plain"}),e.t0=Uint8Array,e.next=11,c.arrayBuffer();case 11:e.t1=e.sent,l=new e.t0(e.t1),t.data=l,e.next=59;break;case 16:if("object"!=a(t.data)){e.next=44;break}if(!(t.data instanceof ArrayBuffer)){e.next=21;break}t.data=new Uint8Array(t.data),e.next=42;break;case 21:if(!(t.data instanceof Blob)){e.next=30;break}return e.t2=Uint8Array,e.next=25,t.data.arrayBuffer();case 25:e.t3=e.sent,p=new e.t2(e.t3),t.data=p,e.next=42;break;case 30:if(!(t.data instanceof FormData)){e.next=40;break}return f=new Blob([t.data],{type:"multipart/form-data"}),e.t4=Uint8Array,e.next=35,f.arrayBuffer();case 35:e.t5=e.sent,d=new e.t4(e.t5),t.data=d,e.next=42;break;case 40:h=JSON.stringify(t.data),g=new Uint8Array((new TextEncoder).encode(h)),t.data=g;case 42:e.next=59;break;case 44:if(!(t.data instanceof Blob)){e.next=53;break}return e.t6=Uint8Array,e.next=48,t.data.arrayBuffer();case 48:e.t7=e.sent,m=new e.t6(e.t7),t.data=m,e.next=59;break;case 53:if(!(t.data instanceof XMLHttpRequest)){e.next=59;break}return(v=t.data).responseType="arraybuffer",e.next=58,new Promise((function(e){v.onload=function(){return e()},v.send()}));case 58:t.data=new Uint8Array(v.response);case 59:if(u||"get"==t.method){e.next=75;break}return e.prev=60,e.next=63,window.auth.user.HexaEight.EncryptBytesAsync(window.name,o,t.data);case 63:u=e.sent,t.data=u,t.headers.Authorization="Bearer HexaEight-Fast",e.next=75;break;case 68:return e.prev=68,e.t8=e.catch(60),e.next=72,window.auth.user.HexaEight.EncryptBytes(window.name,o,t.data);case 72:u=e.sent,t.data=u,t.headers.Authorization="Bearer HexaEight";case 75:if(e.t9=s,e.t9){e.next=80;break}return e.next=79,window.auth.user.HexaEight.encrypturl(window.name,n.toString());case 79:s=e.sent;case 80:if(!(s.length>0)){e.next=99;break}if("get"==t.method&&(t.headers.Authorization="Bearer HexaEight"),t.headers.rType=t.responseType,t.originalresponseType=t.responseType,t.responseType="arraybuffer",t.transitional&&(t.transitional.silentJSONParsing=!1,t.transitional.forcedJSONParsing=!1),t.url=s,""!==u||"get"==t.method){e.next=95;break}return e.next=90,window.auth.user.HexaEight.ClearDestination(window.name,n.toString());case 90:return e.next=92,window.auth.user.HexaEight.ClearDestinationURL(n.toString());case 92:e.t11=Promise.reject("Error: Unable to encrypt request. Retry Operation"),e.next=96;break;case 95:e.t11=t;case 96:e.t10=e.t11,e.next=104;break;case 99:return e.next=101,window.auth.user.HexaEight.ClearDestination(window.name,n.toString());case 101:return e.next=103,window.auth.user.HexaEight.ClearDestinationURL(n.toString());case 103:e.t10=Promise.reject("Error: Unable to encrypt URL. Retry Operation");case 104:return e.abrupt("return",e.t10);case 105:case"end":return e.stop()}}),e,null,[[60,68]])})));return function(t){return e.apply(this,arguments)}}(),(function(e){return Promise.reject(e)})),_t.interceptors.response.use(function(){var e=i(r().mark((function e(t){var n,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=200!==t.status,!e.t0){e.next=7;break}return e.next=4,window.auth.user.HexaEight.ClearDestination(window.name,t.config.url);case 4:return e.next=6,window.auth.user.HexaEight.ClearDestinationURL(t.config.url);case 6:t.data="ERROR:"+t.status+t.statusText;case 7:if("HexaEight-Encrypted"!=t.headers.provider||200!==t.status){e.next=27;break}return e.next=10,window.auth.user.HexaEight.FetchDestination(window.name,t.request.responseURL.toString());case 10:return n=e.sent,e.next=13,window.auth.user.HexaEight.DecryptBytesAsync(window.name,n,new Uint8Array(t.data));case 13:if(a=e.sent,e.t1=null==a||0==a.byteLength,!e.t1){e.next=19;break}return e.next=18,window.auth.user.HexaEight.DecryptBytes(window.name,n,new Uint8Array(t.data));case 18:a=e.sent;case 19:t.data=a,t.config.responseType=t.config.originalresponseType;try{t.headers.hasOwnProperty("x-content-type")&&""!=t.headers["x-content-type"]&&(t.headers["content-type"]=t.headers["x-content-type"])}catch(e){}try{t.headers.hasOwnProperty("x-content-type")&&""!=t.headers["x-content-length"]&&(t.headers["content-length"]=t.headers["x-content-length"])}catch(e){}if("blob"===t.config.originalresponseType)try{t.data instanceof Uint8Array?(t.data=new Blob([a],{type:t.headers["x-content-type"]}),t.config.responseType=t.config.originalresponseType):t.config.responseType="arraybuffer"}catch(e){t.data=a,t.config.responseType="arraybuffer"}if("text"==t.config.originalresponseType)try{t.data=(new TextDecoder).decode(a).toString().replace(/[^\x20-\x7E]/g,""),t.config.responseType=t.config.originalresponseType}catch(e){t.data=a,t.config.responseType="arraybuffer"}if("json"==t.config.originalresponseType)try{t.data=JSON.parse((new TextDecoder).decode(a).toString().replace(/[^\x20-\x7E]/g,"")),t.config.responseType=t.config.originalresponseType}catch(e){t.data=a,t.config.responseType="arraybuffer"}return e.abrupt("return",t);case 27:return e.abrupt("return",t);case 28:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){return Promise.reject(e)}));var Ft=_t,St=_t}();var Qe=Ye.Z,Xe={810:function(){!function(){if("undefined"!=typeof window)try{var e=new window.CustomEvent("test",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var t=function(e,t){var r,n;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(r=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n=r.preventDefault,r.preventDefault=function(){n.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},r};t.prototype=window.Event.prototype,window.CustomEvent=t}}()},492:function(e,t,r){var n;e=r.nmd(e),function(o){var i=(e&&e.exports,"object"==a(r.g)&&r.g);i.global!==i&&i.window;var u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,p={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},f=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},D=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],w=String.fromCharCode,k={}.hasOwnProperty,x=function(e,t){return k.call(e,t)},E=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=x(e,r)?e[r]:t[r];return n},A=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&F("character reference outside the permissible Unicode range"),"�"):x(b,e)?(t&&F("disallowed character reference"),b[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(D,e)&&F("disallowed character reference"),e>65535&&(r+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=w(e))},C=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},_=function(e){return"&#"+e+";"},F=function(e){throw Error("Parse error: "+e)},S=function e(t,r){(r=E(r,e.options)).strict&&g.test(t)&&F("forbidden code point");var n=r.encodeEverything,a=r.useNamedReferences,o=r.allowUnsafeSymbols,i=r.decimal?_:C,d=function(e){return i(e.charCodeAt(0))};return n?(t=t.replace(s,(function(e){return a&&x(p,e)?"&"+p[e]+";":d(e)})),a&&(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),a&&(t=t.replace(l,(function(e){return"&"+p[e]+";"})))):a?(o||(t=t.replace(f,(function(e){return"&"+p[e]+";"}))),t=(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,(function(e){return"&"+p[e]+";"}))):o||(t=t.replace(f,d)),t.replace(u,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return i(1024*(t-55296)+r-56320+65536)})).replace(c,d)};S.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var q=function e(t,r){var n=(r=E(r,e.options)).strict;return n&&h.test(t)&&F("malformed character reference"),t.replace(m,(function(e,t,a,o,i,u,s,c,l){var p,f,d,h,g,m;return t?v[g=t]:a?(g=a,(m=o)&&r.isAttributeValue?(n&&"="==m&&F("`&` did not start a character reference"),e):(n&&F("named character reference was not terminated by a semicolon"),y[g]+(m||""))):i?(d=i,f=u,n&&!f&&F("character reference was not terminated by a semicolon"),p=parseInt(d,10),A(p,n)):s?(h=s,f=c,n&&!f&&F("character reference was not terminated by a semicolon"),p=parseInt(h,16),A(p,n)):(n&&F("named character reference was not terminated by a semicolon"),e)}))};q.options={isAttributeValue:!1,strict:!1};var B={version:"1.2.0",encode:S,decode:q,escape:function(e){return e.replace(f,(function(e){return d[e]}))},unescape:q};void 0===(n=function(){return B}.call(t,r,t,e))||(e.exports=n)}()}},et={};function tt(e){var t=et[e];if(void 0!==t)return t.exports;var r=et[e]={id:e,loaded:!1,exports:{}};return Xe[e].call(r.exports,r,r.exports,tt),r.loaded=!0,r.exports}tt.d=function(e,t){for(var r in t)tt.o(t,r)&&!tt.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},tt.g=function(){if("object"==("undefined"==typeof globalThis?"undefined":a(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==("undefined"==typeof window?"undefined":a(window)))return window}}(),tt.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},tt.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var rt={};!function(e,n){tt.d(rt,{H:function(){return te}});var o={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function s(e){o=e}var p=/[&<>"']/,f=new RegExp(p.source,"g"),d=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,h=new RegExp(d.source,"g"),g={"&":"&","<":"<",">":">",'"':""","'":"'"},m=function(e){return g[e]};function v(e,t){if(t){if(p.test(e))return e.replace(f,m)}else if(d.test(e))return e.replace(h,m);return e}var y=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,b=/(^|[^\[])\^/g;function D(e,t){e="string"==typeof e?e:e.source,t=t||"";var r={replace:function(t,n){return n=(n="object"==a(n)&&"source"in n?n.source:n).replace(b,"$1"),e=e.replace(t,n),r},getRegex:function(){return new RegExp(e,t)}};return r}function w(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}var k={exec:function(){return null}};function A(e,t){var r=e.replace(/\|/g,(function(e,t,r){for(var n=!1,a=t;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function C(e,t,r){var n=e.length;if(0===n)return"";for(var a=0;a<n;){var o=e.charAt(n-a-1);if(o!==t||r){if(o===t||!r)break;a++}else a++}return e.slice(0,n-a)}function _(e,t,r,n){var a=t.href,o=t.title?v(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var u={type:"link",raw:r,href:a,title:o,text:i,tokens:n.inlineTokens(i)};return n.state.inLink=!1,u}return{type:"image",raw:r,href:a,title:o,text:v(i)}}var F=function(){function e(t){u(this,e),l(this,"options",void 0),l(this,"rules",void 0),l(this,"lexer",void 0),this.options=t||o}return c(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:C(r,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=function(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:x(t,1)[0].length>=n.length?e.slice(n.length):e})).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var n=C(r,"#");this.options.pedantic?r=n.trim():n&&!/ $/.test(n)||(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var r=t[0].replace(/^ *>[ \t]?/gm,""),n=this.lexer.state.top;this.lexer.state.top=!0;var a=this.lexer.blockTokens(r);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:a,text:r}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var r=t[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?"\\d{1,9}\\".concat(r.slice(-1)):"\\".concat(r),this.options.pedantic&&(r=n?r:"[*+-]");for(var o=new RegExp("^( {0,3}".concat(r,")((?:[\t ][^\\n]*)?(?:\\n|$))")),i="",u="",s=!1;e;){var c=!1;if(!(t=o.exec(e)))break;if(this.rules.block.hr.test(e))break;i=t[0],e=e.substring(i.length);var l=t[2].split("\n",1)[0].replace(/^\t+/,(function(e){return" ".repeat(3*e.length)})),p=e.split("\n",1)[0],f=0;this.options.pedantic?(f=2,u=l.trimStart()):(f=(f=t[2].search(/[^ ]/))>4?1:f,u=l.slice(f),f+=t[1].length);var d=!1;if(!l&&/^ *$/.test(p)&&(i+=p+"\n",e=e.substring(p.length+1),c=!0),!c)for(var h=new RegExp("^ {0,".concat(Math.min(3,f-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),g=new RegExp("^ {0,".concat(Math.min(3,f-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),m=new RegExp("^ {0,".concat(Math.min(3,f-1),"}(?:```|~~~)")),v=new RegExp("^ {0,".concat(Math.min(3,f-1),"}#"));e;){var y=e.split("\n",1)[0];if(p=y,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),m.test(p))break;if(v.test(p))break;if(h.test(p))break;if(g.test(e))break;if(p.search(/[^ ]/)>=f||!p.trim())u+="\n"+p.slice(f);else{if(d)break;if(l.search(/[^ ]/)>=4)break;if(m.test(l))break;if(v.test(l))break;if(g.test(l))break;u+="\n"+p}d||p.trim()||(d=!0),i+=y+"\n",e=e.substring(y.length+1),l=p.slice(f)}a.loose||(s?a.loose=!0:/\n *\n *$/.test(i)&&(s=!0));var b=void 0,D=null;this.options.gfm&&((D=/^\[[ xX]\] /.exec(u))&&(b="[ ] "!==D[0],u=u.replace(/^\[[ xX]\] +/,""))),a.items.push({type:"list_item",raw:i,task:!!D,checked:b,loose:!1,text:u,tokens:[]}),a.raw+=i}a.items[a.items.length-1].raw=i.trimEnd(),a.items[a.items.length-1].text=u.trimEnd(),a.raw=a.raw.trimEnd();for(var w=0;w<a.items.length;w++)if(this.lexer.state.top=!1,a.items[w].tokens=this.lexer.blockTokens(a.items[w].text,[]),!a.loose){var k=a.items[w].tokens.filter((function(e){return"space"===e.type})),x=k.length>0&&k.some((function(e){return/\n.*\n/.test(e.raw)}));a.loose=x}if(a.loose)for(var E=0;E<a.items.length;E++)a.items[E].loose=!0;return a}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t){var r=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",a=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:r,raw:t[0],href:n,title:a}}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){if(!/[:|]/.test(t[2]))return;var r={type:"table",raw:t[0],header:A(t[1]).map((function(e){return{text:e,tokens:[]}})),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(r.header.length===r.align.length){var n,a,o,i,u=r.align.length;for(n=0;n<u;n++){var s=r.align[n];s&&(/^ *-+: *$/.test(s)?r.align[n]="right":/^ *:-+: *$/.test(s)?r.align[n]="center":/^ *:-+ *$/.test(s)?r.align[n]="left":r.align[n]=null)}for(u=r.rows.length,n=0;n<u;n++)r.rows[n]=A(r.rows[n],r.header.length).map((function(e){return{text:e,tokens:[]}}));for(u=r.header.length,a=0;a<u;a++)r.header[a].tokens=this.lexer.inline(r.header[a].text);for(u=r.rows.length,a=0;a<u;a++)for(i=r.rows[a],o=0;o<i.length;o++)i[o].tokens=this.lexer.inline(i[o].text);return r}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var r="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:r,tokens:this.lexer.inline(r)}}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:v(t[1])}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var n=C(r.slice(0,-1),"\\");if((r.length-n.length)%2==0)return}else{var a=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var r=0,n=0;n<e.length;n++)if("\\"===e[n])n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&--r<0)return n;return-1}(t[2],"()");if(a>-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var i=t[2],u="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],u=s[3])}else u=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(i=this.options.pedantic&&!/>$/.test(r)?i.slice(1):i.slice(1,-1)),_(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])){var a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return _(r,n,r[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\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\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\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\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))&&(!n[1]&&!n[2]||!r||this.rules.inline.punctuation.exec(r))){var a,o,i=E(n[0]).length-1,u=i,s=0,c="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n[0].length-1);null!=(n=c.exec(t));)if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(o=E(a).length,n[3]||n[4])u+=o;else if(!((n[5]||n[6])&&i%3)||(i+o)%3){if(!((u-=o)>0)){o=Math.min(o,o+u+s);var l=E(e).slice(0,i+n.index+o+1).join("");if(Math.min(i,o)%2){var p=l.slice(1,-1);return{type:"em",raw:l,text:p,tokens:this.lexer.inlineTokens(p)}}var f=l.slice(2,-2);return{type:"strong",raw:l,text:f,tokens:this.lexer.inlineTokens(f)}}}else s+=o}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),a=/^ /.test(r)&&/ $/.test(r);return n&&a&&(r=r.substring(1,r.length-1)),r=v(r,!0),{type:"codespan",raw:t[0],text:r}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e){var t,r,n=this.rules.inline.autolink.exec(e);if(n)return"@"===n[2]?r="mailto:"+(t=v(n[1])):r=t=v(n[1]),{type:"link",raw:n[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}},{key:"url",value:function(e){var t;if(t=this.rules.inline.url.exec(e)){var r,n;if("@"===t[2])n="mailto:"+(r=v(t[0]));else{var a;do{a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0]}while(a!==t[0]);r=v(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e){var t,r=this.rules.inline.text.exec(e);if(r)return t=this.lexer.state.inRawBlock?r[0]:v(r[0]),{type:"text",raw:r[0],text:t}}}]),e}(),S={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:k,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};S.def=D(S.def).replace("label",S._label).replace("title",S._title).getRegex(),S.bullet=/(?:[*+-]|\d{1,9}[.)])/,S.listItemStart=D(/^( *)(bull) */).replace("bull",S.bullet).getRegex(),S.list=D(S.list).replace(/bull/g,S.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+S.def.source+")").getRegex(),S._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",S._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,S.html=D(S.html,"i").replace("comment",S._comment).replace("tag",S._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),S.lheading=D(S.lheading).replace(/bull/g,S.bullet).getRegex(),S.paragraph=D(S._paragraph).replace("hr",S.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",S._tag).getRegex(),S.blockquote=D(S.blockquote).replace("paragraph",S.paragraph).getRegex(),S.normal=t({},S),S.gfm=t(t({},S.normal),{},{table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),S.gfm.table=D(S.gfm.table).replace("hr",S.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",S._tag).getRegex(),S.gfm.paragraph=D(S._paragraph).replace("hr",S.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",S.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",S._tag).getRegex(),S.pedantic=t(t({},S.normal),{},{html:D("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",S._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:D(S.normal._paragraph).replace("hr",S.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",S.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var L={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:k,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:k,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/,_punctuation:"\\p{P}$+<=>`^|~"};L.punctuation=D(L.punctuation,"u").replace(/punctuation/g,L._punctuation).getRegex(),L.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,L.anyPunctuation=/\\[punct]/g,L._escapes=/\\([punct])/g,L._comment=D(S._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),L.emStrong.lDelim=D(L.emStrong.lDelim,"u").replace(/punct/g,L._punctuation).getRegex(),L.emStrong.rDelimAst=D(L.emStrong.rDelimAst,"gu").replace(/punct/g,L._punctuation).getRegex(),L.emStrong.rDelimUnd=D(L.emStrong.rDelimUnd,"gu").replace(/punct/g,L._punctuation).getRegex(),L.anyPunctuation=D(L.anyPunctuation,"gu").replace(/punct/g,L._punctuation).getRegex(),L._escapes=D(L._escapes,"gu").replace(/punct/g,L._punctuation).getRegex(),L._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,L._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,L.autolink=D(L.autolink).replace("scheme",L._scheme).replace("email",L._email).getRegex(),L._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,L.tag=D(L.tag).replace("comment",L._comment).replace("attribute",L._attribute).getRegex(),L._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,L._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,L._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,L.link=D(L.link).replace("label",L._label).replace("href",L._href).replace("title",L._title).getRegex(),L.reflink=D(L.reflink).replace("label",L._label).replace("ref",S._label).getRegex(),L.nolink=D(L.nolink).replace("ref",S._label).getRegex(),L.reflinkSearch=D(L.reflinkSearch,"g").replace("reflink",L.reflink).replace("nolink",L.nolink).getRegex(),L.normal=t({},L),L.pedantic=t(t({},L.normal),{},{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:D(/^!?\[(label)\]\((.*?)\)/).replace("label",L._label).getRegex(),reflink:D(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",L._label).getRegex()}),L.gfm=t(t({},L.normal),{},{escape:D(L.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),L.gfm.url=D(L.gfm.url,"i").replace("email",L.gfm._extended_email).getRegex(),L.breaks=t(t({},L.gfm),{},{br:D(L.br).replace("{2,}","*").getRegex(),text:D(L.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var O=function(){function e(t){u(this,e),l(this,"tokens",void 0),l(this,"options",void 0),l(this,"state",void 0),l(this,"tokenizer",void 0),l(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||o,this.options.tokenizer=this.options.tokenizer||new F,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var r={block:S.normal,inline:L.normal};this.options.pedantic?(r.block=S.pedantic,r.inline=L.pedantic):this.options.gfm&&(r.block=S.gfm,this.options.breaks?r.inline=L.breaks:r.inline=L.gfm),this.tokenizer.rules=r}return c(e,[{key:"lex",value:function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}},{key:"blockTokens",value:function(e){var t,r,n,a,o=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(function(e,t,r){return t+" ".repeat(r.length)}));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(r){return!!(t=r.call({lexer:o},e,i))&&(e=e.substring(t.raw.length),i.push(t),!0)}))))if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),1===t.raw.length&&i.length>0?i[i.length-1].raw+="\n":i.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),!(r=i[i.length-1])||"paragraph"!==r.type&&"text"!==r.type?i.push(t):(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.list(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.def(e))e=e.substring(t.raw.length),!(r=i[i.length-1])||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title}):(r.raw+="\n"+t.raw,r.text+="\n"+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),i.push(t);else{if(n=e,this.options.extensions&&this.options.extensions.startBlock){var u=1/0,s=e.slice(1),c=void 0;this.options.extensions.startBlock.forEach((function(e){"number"==typeof(c=e.call({lexer:o},s))&&c>=0&&(u=Math.min(u,c))})),u<1/0&&u>=0&&(n=e.substring(0,u+1))}if(this.state.top&&(t=this.tokenizer.paragraph(n)))r=i[i.length-1],a&&"paragraph"===r.type?(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):i.push(t),a=n.length!==e.length,e=e.substring(t.raw.length);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),(r=i[i.length-1])&&"text"===r.type?(r.raw+="\n"+t.raw,r.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):i.push(t);else if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}}return this.state.top=!0,i}},{key:"inline",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}},{key:"inlineTokens",value:function(e){var t,r,n,a,o,i,u=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=e;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(c));)l.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,a.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(i=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(r){return!!(t=r.call({lexer:u},e,s))&&(e=e.substring(t.raw.length),s.push(t),!0)}))))if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.tag(e))e=e.substring(t.raw.length),(r=s[s.length-1])&&"text"===t.type&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):s.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),(r=s[s.length-1])&&"text"===t.type&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):s.push(t);else if(t=this.tokenizer.emStrong(e,c,i))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.autolink(e))e=e.substring(t.raw.length),s.push(t);else if(this.state.inLink||!(t=this.tokenizer.url(e))){if(n=e,this.options.extensions&&this.options.extensions.startInline){var p=1/0,f=e.slice(1),d=void 0;this.options.extensions.startInline.forEach((function(e){"number"==typeof(d=e.call({lexer:u},f))&&d>=0&&(p=Math.min(p,d))})),p<1/0&&p>=0&&(n=e.substring(0,p+1))}if(t=this.tokenizer.inlineText(n))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(i=t.raw.slice(-1)),o=!0,(r=s[s.length-1])&&"text"===r.type?(r.raw+=t.raw,r.text+=t.text):s.push(t);else if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(h);break}throw new Error(h)}}else e=e.substring(t.raw.length),s.push(t);return s}}],[{key:"rules",get:function(){return{block:S,inline:L}}},{key:"lex",value:function(t,r){return new e(r).lex(t)}},{key:"lexInline",value:function(t,r){return new e(r).inlineTokens(t)}}]),e}(),R=function(){function e(t){u(this,e),l(this,"options",void 0),this.options=t||o}return c(e,[{key:"code",value:function(e,t,r){var n,a=null===(n=(t||"").match(/^\S*/))||void 0===n?void 0:n[0];return e=e.replace(/\n$/,"")+"\n",a?'<pre><code class="language-'+v(a)+'">'+(r?e:v(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:v(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n".concat(e,"</blockquote>\n")}},{key:"html",value:function(e,t){return e}},{key:"heading",value:function(e,t,r){return"<h".concat(t,">").concat(e,"</h").concat(t,">\n")}},{key:"hr",value:function(){return"<hr>\n"}},{key:"list",value:function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"}},{key:"listitem",value:function(e,t,r){return"<li>".concat(e,"</li>\n")}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}},{key:"paragraph",value:function(e){return"<p>".concat(e,"</p>\n")}},{key:"table",value:function(e,t){return t&&(t="<tbody>".concat(t,"</tbody>")),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n".concat(e,"</tr>\n")}},{key:"tablecell",value:function(e,t){var r=t.header?"th":"td";return(t.align?"<".concat(r,' align="').concat(t.align,'">'):"<".concat(r,">"))+e+"</".concat(r,">\n")}},{key:"strong",value:function(e){return"<strong>".concat(e,"</strong>")}},{key:"em",value:function(e){return"<em>".concat(e,"</em>")}},{key:"codespan",value:function(e){return"<code>".concat(e,"</code>")}},{key:"br",value:function(){return"<br>"}},{key:"del",value:function(e){return"<del>".concat(e,"</del>")}},{key:"link",value:function(e,t,r){var n=w(e);if(null===n)return r;var a='<a href="'+(e=n)+'"';return t&&(a+=' title="'+t+'"'),a+=">"+r+"</a>"}},{key:"image",value:function(e,t,r){var n=w(e);if(null===n)return r;var a='<img src="'.concat(e=n,'" alt="').concat(r,'"');return t&&(a+=' title="'.concat(t,'"')),a+=">"}},{key:"text",value:function(e){return e}}]),e}(),P=function(){function e(){u(this,e)}return c(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,r){return""+r}},{key:"image",value:function(e,t,r){return""+r}},{key:"br",value:function(){return""}}]),e}(),N=function(){function e(t){u(this,e),l(this,"options",void 0),l(this,"renderer",void 0),l(this,"textRenderer",void 0),this.options=t||o,this.options.renderer=this.options.renderer||new R,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new P}return c(e,[{key:"parse",value:function(e){for(var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r="",n=0;n<e.length;n++){var a=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){var o=a,i=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==i||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(o.type)){r+=i||"";continue}}switch(a.type){case"space":continue;case"hr":r+=this.renderer.hr();continue;case"heading":var u=a;r+=this.renderer.heading(this.parseInline(u.tokens),u.depth,this.parseInline(u.tokens,this.textRenderer).replace(y,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})));continue;case"code":var s=a;r+=this.renderer.code(s.text,s.lang,!!s.escaped);continue;case"table":for(var c=a,l="",p="",f=0;f<c.header.length;f++)p+=this.renderer.tablecell(this.parseInline(c.header[f].tokens),{header:!0,align:c.align[f]});l+=this.renderer.tablerow(p);for(var d="",h=0;h<c.rows.length;h++){var g=c.rows[h];p="";for(var m=0;m<g.length;m++)p+=this.renderer.tablecell(this.parseInline(g[m].tokens),{header:!1,align:c.align[m]});d+=this.renderer.tablerow(p)}r+=this.renderer.table(l,d);continue;case"blockquote":var v=a,b=this.parse(v.tokens);r+=this.renderer.blockquote(b);continue;case"list":for(var D=a,w=D.ordered,k=D.start,x=D.loose,E="",A=0;A<D.items.length;A++){var C=D.items[A],_=C.checked,F=C.task,S="";if(C.task){var q=this.renderer.checkbox(!!_);x?C.tokens.length>0&&"paragraph"===C.tokens[0].type?(C.tokens[0].text=q+" "+C.tokens[0].text,C.tokens[0].tokens&&C.tokens[0].tokens.length>0&&"text"===C.tokens[0].tokens[0].type&&(C.tokens[0].tokens[0].text=q+" "+C.tokens[0].tokens[0].text)):C.tokens.unshift({type:"text",text:q+" "}):S+=q+" "}S+=this.parse(C.tokens,x),E+=this.renderer.listitem(S,F,!!_)}r+=this.renderer.list(E,w,k);continue;case"html":var B=a;r+=this.renderer.html(B.text,B.block);continue;case"paragraph":var T=a;r+=this.renderer.paragraph(this.parseInline(T.tokens));continue;case"text":for(var L=a,O=L.tokens?this.parseInline(L.tokens):L.text;n+1<e.length&&"text"===e[n+1].type;)O+="\n"+((L=e[++n]).tokens?this.parseInline(L.tokens):L.text);r+=t?this.renderer.paragraph(O):O;continue;default:var R='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(R),"";throw new Error(R)}}return r}},{key:"parseInline",value:function(e,t){t=t||this.renderer;for(var r="",n=0;n<e.length;n++){var a=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){var o=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==o||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){r+=o||"";continue}}switch(a.type){case"escape":var i=a;r+=t.text(i.text);break;case"html":var u=a;r+=t.html(u.text);break;case"link":var s=a;r+=t.link(s.href,s.title,this.parseInline(s.tokens,t));break;case"image":var c=a;r+=t.image(c.href,c.title,c.text);break;case"strong":var l=a;r+=t.strong(this.parseInline(l.tokens,t));break;case"em":var p=a;r+=t.em(this.parseInline(p.tokens,t));break;case"codespan":var f=a;r+=t.codespan(f.text);break;case"br":r+=t.br();break;case"del":var d=a;r+=t.del(this.parseInline(d.tokens,t));break;case"text":var h=a;r+=t.text(h.text);break;default:var g='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(g),"";throw new Error(g)}}return r}}],[{key:"parse",value:function(t,r){return new e(r).parse(t)}},{key:"parseInline",value:function(t,r){return new e(r).parseInline(t)}}]),e}(),I=function(){function e(t){u(this,e),l(this,"options",void 0),this.options=t||o}return c(e,[{key:"preprocess",value:function(e){return e}},{key:"postprocess",value:function(e){return e}}]),e}();l(I,"passThroughHooks",new Set(["preprocess","postprocess"]));var j=new(e=new WeakSet,n=new WeakSet,function(){function r(){u(this,r),T(this,n),T(this,e),l(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),l(this,"options",this.setOptions),l(this,"parse",B(this,e,U).call(this,O.lex,N.parse)),l(this,"parseInline",B(this,e,U).call(this,O.lexInline,N.parseInline)),l(this,"Parser",N),l(this,"parser",N.parse),l(this,"Renderer",R),l(this,"TextRenderer",P),l(this,"Lexer",O),l(this,"lexer",O.lex),l(this,"Tokenizer",F),l(this,"Hooks",I),this.use.apply(this,arguments)}return c(r,[{key:"walkTokens",value:function(e,t){var r,n=this,a=[],o=q(e);try{var i=function(){var e=r.value;switch(a=a.concat(t.call(n,e)),e.type){case"table":var o,i=e,u=q(i.header);try{for(u.s();!(o=u.n()).done;){var s=o.value;a=a.concat(n.walkTokens(s.tokens,t))}}catch(e){u.e(e)}finally{u.f()}var c,l=q(i.rows);try{for(l.s();!(c=l.n()).done;){var p,f=q(c.value);try{for(f.s();!(p=f.n()).done;){var d=p.value;a=a.concat(n.walkTokens(d.tokens,t))}}catch(e){f.e(e)}finally{f.f()}}}catch(e){l.e(e)}finally{l.f()}break;case"list":var h=e;a=a.concat(n.walkTokens(h.items,t));break;default:var g,m=e;null!==(g=n.defaults.extensions)&&void 0!==g&&null!==(g=g.childTokens)&&void 0!==g&&g[m.type]?n.defaults.extensions.childTokens[m.type].forEach((function(e){a=a.concat(n.walkTokens(m[e],t))})):m.tokens&&(a=a.concat(n.walkTokens(m.tokens,t)))}};for(o.s();!(r=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return a}},{key:"use",value:function(){for(var e=this,r=this.defaults.extensions||{renderers:{},childTokens:{}},n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return a.forEach((function(n){var a=t({},n);if(a.async=e.defaults.async||a.async||!1,n.extensions&&(n.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if("renderer"in e){var t=r.renderers[e.name];r.renderers[e.name]=t?function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var o=e.renderer.apply(this,n);return!1===o&&(o=t.apply(this,n)),o}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");var n=r[e.level];n?n.unshift(e.tokenizer):r[e.level]=[e.tokenizer],e.start&&("block"===e.level?r.startBlock?r.startBlock.push(e.start):r.startBlock=[e.start]:"inline"===e.level&&(r.startInline?r.startInline.push(e.start):r.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(r.childTokens[e.name]=e.childTokens)})),a.extensions=r),n.renderer){var o=e.defaults.renderer||new R(e.defaults),i=function(){var e=n.renderer[u],t=u,r=o[t];o[t]=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var i=e.apply(o,n);return!1===i&&(i=r.apply(o,n)),i||""}};for(var u in n.renderer)i();a.renderer=o}if(n.tokenizer){var s=e.defaults.tokenizer||new F(e.defaults),c=function(){var e=n.tokenizer[l],t=l,r=s[t];s[t]=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var o=e.apply(s,n);return!1===o&&(o=r.apply(s,n)),o}};for(var l in n.tokenizer)c();a.tokenizer=s}if(n.hooks){var p=e.defaults.hooks||new I,f=function(){var t=n.hooks[d],r=d,a=p[r];I.passThroughHooks.has(d)?p[r]=function(r){if(e.defaults.async)return Promise.resolve(t.call(p,r)).then((function(e){return a.call(p,e)}));var n=t.call(p,r);return a.call(p,n)}:p[r]=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=t.apply(p,r);return!1===o&&(o=a.apply(p,r)),o}};for(var d in n.hooks)f();a.hooks=p}if(n.walkTokens){var h=e.defaults.walkTokens,g=n.walkTokens;a.walkTokens=function(e){var t=[];return t.push(g.call(this,e)),h&&(t=t.concat(h.call(this,e))),t}}e.defaults=t(t({},e.defaults),a)})),this}},{key:"setOptions",value:function(e){return this.defaults=t(t({},this.defaults),e),this}}]),r}());function U(e,r){var a=this;return function(o,i){var u=t({},i),s=t(t({},a.defaults),u);!0===a.defaults.async&&!1===u.async&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);var c=B(a,n,H).call(a,!!s.silent,!!s.async);if(null==o)return c(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof o)return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(o)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(o):o).then((function(t){return e(t,s)})).then((function(e){return s.walkTokens?Promise.all(a.walkTokens(e,s.walkTokens)).then((function(){return e})):e})).then((function(e){return r(e,s)})).then((function(e){return s.hooks?s.hooks.postprocess(e):e})).catch(c);try{s.hooks&&(o=s.hooks.preprocess(o));var l=e(o,s);s.walkTokens&&a.walkTokens(l,s.walkTokens);var p=r(l,s);return s.hooks&&(p=s.hooks.postprocess(p)),p}catch(e){return c(e)}}}function H(e,t){return function(r){if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){var n="<p>An error occurred:</p><pre>"+v(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}function z(e,t){return j.parse(e,t)}z.options=z.setOptions=function(e){return j.setOptions(e),z.defaults=j.defaults,s(z.defaults),z},z.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},z.defaults=o,z.use=function(){return j.use.apply(j,arguments),z.defaults=j.defaults,s(z.defaults),z},z.walkTokens=function(e,t){return j.walkTokens(e,t)},z.parseInline=j.parseInline,z.Parser=N,z.parser=N.parse,z.Renderer=R,z.TextRenderer=P,z.Lexer=O,z.lexer=O.lex,z.Tokenizer=F,z.Hooks=I,z.parse=z,z.options,z.setOptions,z.use,z.walkTokens,z.parseInline;var M=tt(492);if(tt(810),"undefined"==typeof window)throw new Error("This module is intended to be used in a browser environment.");var V=null,G=null,$=null,J=null,K=null;function Z(e,t){return W.apply(this,arguments)}function W(){return W=i(r().mark((function e(t,n){var a,o,i,u,s,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!J||!K){e.next=10;break}if(a=V){e.next=4;break}return e.abrupt("return",void console.error("Chat container not found:",V));case 4:o=K.createElement("div"),K.addClass(o,"message"),K.addClass(o,"user-message"),i=z(M.decode(n)),o.innerHTML='\n <div class="message-content">\n <div class="message-header">'.concat(t,'</div>\n <div class="message-text">').concat(i,'</div>\n <div class="timestamp">').concat(te.getCurrentTime(),"</div>\n </div>\n "),K.appendChild(a,o),a.scrollTop=a.scrollHeight,e.next=19;break;case 10:if(V){e.next=12;break}return e.abrupt("return",void console.error("Chat container ID not specified."));case 12:if(u=document.getElementById(V)){e.next=15;break}return e.abrupt("return",void console.error("Chat container not found:",V));case 15:(s=document.createElement("div")).className="message user-message",c=z(M.decode(n)),s.innerHTML='\n \t<div class="message-content">\n \t<div class="message-header">'.concat(t,'</div>\n \t<div class="message-text">').concat(c,'</div>\n \t<div class="timestamp">').concat(te.getCurrentTime(),"</div>\n \t</div>\n \t"),u.appendChild(s),u.scrollTop=u.scrollHeight;case 19:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function Y(e,t){return Q.apply(this,arguments)}function Q(){return Q=i(r().mark((function e(t,n){var a,o,i,u,s,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!J||!K){e.next=10;break}if(a=V){e.next=4;break}return e.abrupt("return",void console.error("Chat container not found:",V));case 4:o=K.createElement("div"),K.addClass(o,"message"),K.addClass(o,"bot-message"),i=z(M.decode(n)),o.innerHTML='\n <div class="message-content">\n <div class="message-header">'.concat(t,'</div>\n <div class="message-text">').concat(i,'</div>\n <div class="timestamp-bot">').concat(te.getCurrentTime(),"</div>\n </div>\n "),K.appendChild(a,o),a.scrollTop=a.scrollHeight,e.next=19;break;case 10:if(V){e.next=12;break}return e.abrupt("return",void console.error("Chat container ID not specified."));case 12:if(u=document.getElementById(V)){e.next=15;break}return e.abrupt("return",void console.error("Chat container not found:",V));case 15:(s=document.createElement("div")).className="message bot-message",c=z(M.decode(n)),s.innerHTML='\n \t<div class="message-content">\n \t<div class="message-header">'.concat(t,'</div>\n \t<div class="message-text">').concat(c,'</div>\n \t<div class="timestamp-bot">').concat(te.getCurrentTime(),"</div>\n \t</div>\n \t"),u.appendChild(s),u.scrollTop=u.scrollHeight;case 19:case"end":return e.stop()}}),e)}))),Q.apply(this,arguments)}document.addEventListener("ClearAllHexaEightChatMessages",(function(){if(V){var e=document.getElementById(V);e&&(e.innerHTML="")}})),document.addEventListener("newHexaEightOldChatMessage",function(){var e=i(r().mark((function e(t){var n,a,o,i,u,s;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.detail,a=n.user,o=n.chatresponse,i=n.request,u=n.message,e.t0=JSON,e.next=4,$.isauthenticated();case 4:if(e.t1=e.sent,e.t2=e.t0.parse.call(e.t0,e.t1).data,"True"!==e.t2){e.next=23;break}if(e.prev=7,s=o,e.t3="YOU"!==a&&"AI"!==a,!e.t3){e.next=14;break}return e.next=13,$.DecipherMessage(o);case 13:s=e.sent;case 14:"YOU"===a?Z(s):Y(s),"function"==typeof G&&G(i,u),e.next=21;break;case 18:e.prev=18,e.t4=e.catch(7),console.error("Error deciphering chat response:",e.t4);case 21:e.next=24;break;case 23:"YOU"===a?Z(o):Y(o),"function"==typeof G&&G(i,u);case 24:case"end":return e.stop()}}),e,null,[[7,18]])})));return function(t){return e.apply(this,arguments)}}()),document.addEventListener("newHexaEightChatMessage",function(){var e=i(r().mark((function e(t){var n,a,o,i,u,s,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.detail,a=n.user,o=n.chatresponse,i=n.request,u=n.message,e.t2=JSON,e.next=4,$.isauthenticated();case 4:if(e.t3=e.sent,e.t4=e.t2.parse.call(e.t2,e.t3).data,e.t1="True"===e.t4,!e.t1){e.next=9;break}e.t1="AI"!=a;case 9:if(e.t0=e.t1,!e.t0){e.next=12;break}e.t0="YOU"!=a;case 12:if(!e.t0){e.next=42;break}return e.prev=13,e.t5=JSON,e.next=17,$.DecipherMessage(a);case 17:return e.t6=e.sent,s=e.t5.parse.call(e.t5,e.t6).BODY,e.t7=JSON,e.next=22,$.DecipherMessage(i);case 22:return e.t8=e.sent,e.t7.parse.call(e.t7,e.t8).BODY,e.t9=JSON,e.next=27,$.DecipherMessage(u);case 27:return e.t10=e.sent,e.t9.parse.call(e.t9,e.t10).BODY,e.t11=JSON,e.next=32,$.DecipherMessage(o);case 32:e.t12=e.sent,c=e.t11.parse.call(e.t11,e.t12).BODY,"YOU"===s?Z(s,updatedResponse):(Y(s,c),"function"==typeof G&&i&&G(i,u)),e.next=40;break;case 37:e.prev=37,e.t13=e.catch(13),console.error("Error deciphering and parsing chat response:",e.t13);case 40:e.next=43;break;case 42:"YOU"===a?Z(a,o):Y(a,o),"SCANQRCODE"==i&&$.EngageAI("SCAN QRCODE");case 43:case"end":return e.stop()}}),e,null,[[13,37]])})));return function(t){return e.apply(this,arguments)}}()),document.addEventListener("newHexaEightHistoryChatMessage",function(){var e=i(r().mark((function e(t){var n,a,o,i,u,s,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.detail,a=n.user,o=n.chatresponse,i=n.request,u=n.message,e.t2=JSON,e.next=4,$.isauthenticated();case 4:if(e.t3=e.sent,e.t4=e.t2.parse.call(e.t2,e.t3).data,e.t1="True"===e.t4,!e.t1){e.next=9;break}e.t1="AI"!=a;case 9:if(e.t0=e.t1,!e.t0){e.next=12;break}e.t0="YOU"!=a;case 12:if(!e.t0){e.next=42;break}return e.prev=13,e.t5=JSON,e.next=17,$.DecipherMessage(a);case 17:return e.t6=e.sent,s=e.t5.parse.call(e.t5,e.t6).BODY,e.t7=JSON,e.next=22,$.DecipherMessage(i);case 22:return e.t8=e.sent,e.t7.parse.call(e.t7,e.t8).BODY,e.t9=JSON,e.next=27,$.DecipherMessage(u);case 27:return e.t10=e.sent,e.t9.parse.call(e.t9,e.t10).BODY,e.t11=JSON,e.next=32,$.DecipherMessage(o);case 32:e.t12=e.sent,c=e.t11.parse.call(e.t11,e.t12).BODY,"YOU"===s?Z(s,updatedResponse):(Y(s,c),"function"==typeof G&&i&&G(i,u)),e.next=40;break;case 37:e.prev=37,e.t13=e.catch(13),console.error("Error deciphering and parsing chat response:",e.t13);case 40:e.next=43;break;case 42:"YOU"===a?Z(a,o):Y(a,o);case 43:case"end":return e.stop()}}),e,null,[[13,37]])})));return function(t){return e.apply(this,arguments)}}());var X,ee,te={init:function(e){e&&(V=e.chatContainerId,G=e.messageCallback,$=e.session,J=void 0!==e.elRef?e.elRef:void 0,K=void 0!==e.renderer2?e.renderer2:void 0)},clearAllChatMessages:(ee=i(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{t=new CustomEvent("ClearAllHexaEightChatMessages"),document.dispatchEvent(t)}catch(e){console.error("Error loading messages from the database:",e)}case 1:case"end":return e.stop()}}),e)}))),function(){return ee.apply(this,arguments)}),loadChatMessages:(X=i(r().mark((function e(){var t,n,a,o,i,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,V){e.next=3;break}return e.abrupt("return",void console.error("Chat container ID not specified."));case 3:if(document.getElementById(V)){e.next=5;break}return e.abrupt("return",void console.error("Chat container not found:",V));case 5:return t=$.user.db,e.next=8,t.allDocs({include_docs:!0});case 8:n=e.sent,a=q(n.rows);try{for(a.s();!(o=a.n()).done;)i=o.value,u=new CustomEvent("newHexaEightHistoryChatMessage",{detail:{user:i.doc.type,chatresponse:i.doc.text,request:"",message:""}}),document.dispatchEvent(u)}catch(e){a.e(e)}finally{a.f()}e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.error("Error loading messages from the database:",e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))),function(){return X.apply(this,arguments)}),getCurrentTime:function(){return(new Date).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})},populateLanguageDropdown:function(e,t,r,n){var a=document.getElementById(r),o=document.getElementById(n);function i(){var r=speechSynthesis.getVoices();0!==r.length?(r.forEach((function(t){var r=document.createElement("option");r.value=t.lang,r.text="".concat(t.lang," - ").concat(t.name),e.appendChild(r)})),e.addEventListener("change",(function(){var r=e.value,n=e.options[e.selectedIndex].textContent;$.initializeSpeechRecognition(t,r,n),$.EngageAI("GETTRANSLATEDMESSAGES::"+$.getPreferredLanguage()[0]+$.getPreferredLanguage()[1])})),a.addEventListener("click",(function(){$.canSpeak()?(window.speechSynthesis.cancel(),$.disableSpeaking(),a.style="{ display: 'none' }",o.style="{ display: 'block' }"):($.enableSpeaking(),a.style="{ display: 'block' }",o.style="{ display: 'none' }")}))):setTimeout(i,100)}a.style="{ display: 'block' }",o.style="{ display: 'none' }",e.innerHTML="",speechSynthesis.onvoiceschanged=i,i()},setPreferredLanguage:function(e,t){var r=t.querySelector('[value="'.concat(e,'"]'));if(r){r.selected=!0;var n=new Event("change",{bubbles:!0});t.dispatchEvent(n)}else console.error('Language code "'.concat(e,'" not found in the dropdown.'))}}}();var nt,at=rt.H,ot=R(624),it=R.n(ot),ut=R(322),st=R.n(ut),ct=new Uint8Array(16);function lt(){if(!nt&&!(nt="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return nt(ct)}for(var pt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,ft=function(e){return"string"==typeof e&&pt.test(e)},dt=[],ht=0;ht<256;++ht)dt.push((ht+256).toString(16).substr(1));var gt,mt,vt=function(e,t,r){var n=(e=e||{}).random||(e.rng||lt)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(dt[e[t+0]]+dt[e[t+1]]+dt[e[t+2]]+dt[e[t+3]]+"-"+dt[e[t+4]]+dt[e[t+5]]+"-"+dt[e[t+6]]+dt[e[t+7]]+"-"+dt[e[t+8]]+dt[e[t+9]]+"-"+dt[e[t+10]]+dt[e[t+11]]+dt[e[t+12]]+dt[e[t+13]]+dt[e[t+14]]+dt[e[t+15]]).toLowerCase();if(!ft(r))throw TypeError("Stringified UUID is invalid");return r}(n)},yt=R(684),bt=R(187),Dt=R.n(bt);function wt(e){return"$"+e}function kt(e){return e.substring(1)}function xt(){this._store={}}function Et(e){if(this._store=new xt,e&&Array.isArray(e))for(var t=0,r=e.length;t<r;t++)this.add(e[t])}xt.prototype.get=function(e){var t=wt(e);return this._store[t]},xt.prototype.set=function(e,t){var r=wt(e);return this._store[r]=t,!0},xt.prototype.has=function(e){return wt(e)in this._store},xt.prototype.keys=function(){return Object.keys(this._store).map((function(e){return kt(e)}))},xt.prototype.delete=function(e){var t=wt(e),r=t in this._store;return delete this._store[t],r},xt.prototype.forEach=function(e){for(var t=Object.keys(this._store),r=0,n=t.length;r<n;r++){var a=t[r];e(this._store[a],a=kt(a))}},Object.defineProperty(xt.prototype,"size",{get:function(){return Object.keys(this._store).length}}),Et.prototype.add=function(e){return this._store.set(e,!0)},Et.prototype.has=function(e){return this._store.has(e)},Et.prototype.forEach=function(e){this._store.forEach((function(t,r){e(r)}))},Object.defineProperty(Et.prototype,"size",{get:function(){return this._store.size}}),function(){if("undefined"==typeof Symbol||"undefined"==typeof Map||"undefined"==typeof Set)return!1;var e=Object.getOwnPropertyDescriptor(Map,Symbol.species);return e&&"get"in e&&Map[Symbol.species]===Map}()?(gt=Set,mt=Map):(gt=Et,mt=xt);var At,Ct=Function.prototype.toString,_t=Ct.call(Object);function Ft(e){var t,r,n;if(!e||"object"!=a(e))return e;if(Array.isArray(e)){for(t=[],r=0,n=e.length;r<n;r++)t[r]=Ft(e[r]);return t}if(e instanceof Date&&isFinite(e))return e.toISOString();if(function(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer||"undefined"!=typeof Blob&&e instanceof Blob}(e))return function(e){if(e instanceof ArrayBuffer)return function(e){if("function"==typeof e.slice)return e.slice(0);var t=new ArrayBuffer(e.byteLength),r=new Uint8Array(t),n=new Uint8Array(e);return r.set(n),t}(e);var t=e.size,r=e.type;return"function"==typeof e.slice?e.slice(0,t,r):e.webkitSlice(0,t,r)}(e);if(!function(e){var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=t.constructor;return"function"==typeof r&&r instanceof r&&Ct.call(r)==_t}(e))return e;for(r in t={},e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=Ft(e[r]);void 0!==o&&(t[r]=o)}return t}function St(e){var t=!1;return function(){if(t)throw new Error("once called more than once");for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];t=!0,e.apply(this,n)}}function qt(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];r=Ft(r);var a=this,o="function"==typeof r[r.length-1]&&r.pop(),i=new Promise((function(t,n){var o;try{var i=St((function(e,r){e?n(e):t(r)}));r.push(i),(o=e.apply(a,r))&&"function"==typeof o.then&&t(o)}catch(e){n(e)}}));return o&&i.then((function(e){o(null,e)}),o),i}}function Bt(e,t){return qt((function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];if(this._closed)return Promise.reject(new Error("database is closed"));if(this._destroyed)return Promise.reject(new Error("database is destroyed"));var o=this;return function(e,t,r){if(e.constructor.listeners("debug").length){for(var n=["api",e.name,t],a=0;a<r.length-1;a++)n.push(r[a]);e.constructor.emit("debug",n);var o=r[r.length-1];r[r.length-1]=function(r,n){var a=["api",e.name,t];a=a.concat(r?["error",r]:["success",n]),e.constructor.emit("debug",a),o(r,n)}}}(o,e,n),this.taskqueue.isReady?t.apply(this,n):new Promise((function(t,r){o.taskqueue.addTask((function(a){a?r(a):t(o[e].apply(o,n))}))}))}))}function Tt(e,t){for(var r={},n=0,a=t.length;n<a;n++){var o=t[n];o in e&&(r[o]=e[o])}return r}function Lt(e){return e}function Ot(e){return[{ok:e}]}function Rt(e,t,r){var n=t.docs,a=new mt;n.forEach((function(e){a.has(e.id)?a.get(e.id).push(e):a.set(e.id,[e])}));var o=a.size,i=0,u=new Array(o),s=[];a.forEach((function(e,t){s.push(t)}));var c=0;!function n(){if(!(c>=s.length)){var l=Math.min(c+6,s.length),p=s.slice(c,l);!function(s,c){s.forEach((function(s,l){var p=c+l,f=a.get(s),d=Tt(f[0],["atts_since","attachments"]);d.open_revs=f.map((function(e){return e.rev})),d.open_revs=d.open_revs.filter(Lt);var h=Lt;0===d.open_revs.length&&(delete d.open_revs,h=Ot),["revs","attachments","binary","ajax","latest"].forEach((function(e){e in t&&(d[e]=t[e])})),e.get(s,d,(function(e,t){var a,c,l,f;a=e?[{error:e}]:h(t),c=s,l=a,u[p]={id:c,docs:l},++i===o&&(f=[],u.forEach((function(e){e.docs.forEach((function(t){f.push({id:e.id,docs:[t]})}))})),r(null,{results:f})),n()}))}))}(p,c),c+=p.length}}()}try{localStorage.setItem("_pouch_check_localstorage",1),At=!!localStorage.getItem("_pouch_check_localstorage")}catch(Ke){At=!1}function Pt(){return At}var Nt=function(e){p(r,e);var t=b(r);function r(){var e;return u(this,r),(e=t.call(this))._listeners={},Pt()&&addEventListener("storage",(function(t){e.emit(t.key)})),e}return c(r,[{key:"addListener",value:function(e,t,r,n){if(!this._listeners[t]){var a=!1,o=this;this._listeners[t]=i,this.on(e,i)}function i(){if(o._listeners[t])if(a)a="waiting";else{a=!0;var e=Tt(n,["style","include_docs","attachments","conflicts","filter","doc_ids","view","since","query_params","binary","return_docs"]);r.changes(e).on("change",(function(e){e.seq>n.since&&!n.cancelled&&(n.since=e.seq,n.onChange(e))})).on("complete",(function(){"waiting"===a&&it()(i),a=!1})).on("error",(function(){a=!1}))}}}},{key:"removeListener",value:function(e,t){t in this._listeners&&(w(f(r.prototype),"removeListener",this).call(this,e,this._listeners[t]),delete this._listeners[t])}},{key:"notifyLocalWindows",value:function(e){Pt()&&(localStorage[e]="a"===localStorage[e]?"b":"a")}},{key:"notify",value:function(e){this.emit(e),this.notifyLocalWindows(e)}}]),r}(Dt());function It(e){if("undefined"!=typeof console&&"function"==typeof console[e]){var t=Array.prototype.slice.call(arguments,1);console[e].apply(console,t)}}function jt(e){var t=0;return e||(t=2e3),function(e,t){var r=6e5;return e=parseInt(e,10)||0,(t=parseInt(t,10))!=t||t<=e?t=(e||1)<<1:t+=1,t>r&&(e=3e5,t=r),~~((t-e)*Math.random()+e)}(e,t)}function Ut(e,t){It("info","The above "+e+" is totally normal. "+t)}var Ht="function"==typeof Object.assign?Object.assign:function(e){for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},zt=function(e){p(r,e);var t=b(r);function r(e,n,a){var o;return u(this,r),(o=t.call(this)).status=e,o.name=n,o.message=a,o.error=!0,o}return c(r,[{key:"toString",value:function(){return JSON.stringify({status:this.status,name:this.name,message:this.message,reason:this.reason})}}]),r}(m(Error));new zt(401,"unauthorized","Name or password is incorrect.");var Mt=new zt(400,"bad_request","Missing JSON list of 'docs'"),Vt=new zt(404,"not_found","missing"),Gt=new zt(409,"conflict","Document update conflict"),$t=new zt(400,"bad_request","_id field must contain a string"),Jt=new zt(412,"missing_id","_id is required for puts"),Kt=new zt(400,"bad_request","Only reserved document ids may start with underscore."),Zt=(new zt(412,"precondition_failed","Database not open"),new zt(500,"unknown_error","Database encountered an unknown error")),Wt=new zt(500,"badarg","Some query argument is invalid"),Yt=(new zt(400,"invalid_request","Request was invalid"),new zt(400,"query_parse_error","Some query parameter is invalid")),Qt=new zt(500,"doc_validation","Bad special document member"),Xt=new zt(400,"bad_request","Something wrong with the request"),er=new zt(400,"bad_request","Document must be a JSON object"),tr=(new zt(404,"not_found","Database not found"),new zt(500,"indexed_db_went_bad","unknown")),rr=(new zt(500,"web_sql_went_bad","unknown"),new zt(500,"levelDB_went_went_bad","unknown"),new zt(403,"forbidden","Forbidden by design doc validate_doc_update function"),new zt(400,"bad_request","Invalid rev format")),nr=(new zt(412,"file_exists","The database could not be created, the file already exists."),new zt(412,"missing_stub","A pre-existing attachment stub wasn't found"));function ar(e,t){function r(t){for(var r=Object.getOwnPropertyNames(e),n=0,a=r.length;n<a;n++)"function"!=typeof e[r[n]]&&(this[r[n]]=e[r[n]]);void 0===this.stack&&(this.stack=(new Error).stack),void 0!==t&&(this.reason=t)}return r.prototype=zt.prototype,new r(t)}function or(e){if("object"!=a(e)){var t=e;(e=Zt).data=t}return"error"in e&&"conflict"===e.error&&(e.name="conflict",e.status=409),"name"in e||(e.name=e.error||"unknown"),"status"in e||(e.status=500),"message"in e||(e.message=e.message||e.reason),"stack"in e||(e.stack=(new Error).stack),e}function ir(e){var t={},r=e.filter&&"function"==typeof e.filter;return t.query=e.query_params,function(n){n.doc||(n.doc={});var o=r&&function(e,t,r){try{return!e(t,r)}catch(e){var n="Filter function threw: "+e.toString();return ar(Xt,n)}}(e.filter,n.doc,t);if("object"==a(o))return o;if(o)return!1;if(e.include_docs){if(!e.attachments)for(var i in n.doc._attachments)Object.prototype.hasOwnProperty.call(n.doc._attachments,i)&&(n.doc._attachments[i].stub=!0)}else delete n.doc;return!0}}function ur(e){for(var t=[],r=0,n=e.length;r<n;r++)t=t.concat(e[r]);return t}function sr(e){var t;if(e?"string"!=typeof e?t=ar($t):/^_/.test(e)&&!/^_(design|local)/.test(e)&&(t=ar(Kt)):t=ar(Jt),t)throw t}function cr(e){return"boolean"==typeof e._remote?e._remote:"function"==typeof e.type&&(It("warn","db.type() is deprecated and will be removed in a future version of PouchDB"),"http"===e.type())}function lr(e){if(!e)return null;var t=e.split("/");return 2===t.length?t:1===t.length?[e,e]:null}function pr(e){var t=lr(e);return t?t.join("/"):null}new zt(413,"invalid_url","Provided URL is invalid");var fr=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],dr="queryKey",hr=/(?:^|&)([^&=]*)=?([^&]*)/g,gr=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/;function mr(e){for(var t=gr.exec(e),r={},n=14;n--;){var a=fr[n],o=t[n]||"",i=-1!==["user","password"].indexOf(a);r[a]=i?decodeURIComponent(o):o}return r[dr]={},r[fr[12]].replace(hr,(function(e,t,n){t&&(r[dr][t]=n)})),r}function vr(e,t){var r=[],n=[];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r.push(a),n.push(t[a]));return r.push(e),Function.apply(null,r).apply(null,n)}function yr(e,t,r){return e.get(t).catch((function(e){if(404!==e.status)throw e;return{}})).then((function(n){var a=n._rev,o=r(n);return o?(o._id=t,o._rev=a,function(e,t,r){return e.put(t).then((function(e){return{updated:!0,rev:e.rev}}),(function(n){if(409!==n.status)throw n;return yr(e,t._id,r)}))}(e,o,r)):{updated:!1,rev:a}}))}var br=function(e){return atob(e)},Dr=function(e){return btoa(e)};function wr(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(a){if("TypeError"!==a.name)throw a;for(var r=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),n=0;n<e.length;n+=1)r.append(e[n]);return r.getBlob(t.type)}}function kr(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),a=0;a<t;a++)n[a]=e.charCodeAt(a);return r}function xr(e,t){return wr([kr(e)],{type:t})}function Er(e,t){return xr(br(e),t)}function Ar(e,t){var r=new FileReader,n="function"==typeof r.readAsBinaryString;r.onloadend=function(e){var r=e.target.result||"";if(n)return t(r);t(function(e){for(var t="",r=new Uint8Array(e),n=r.byteLength,a=0;a<n;a++)t+=String.fromCharCode(r[a]);return t}(r))},n?r.readAsBinaryString(e):r.readAsArrayBuffer(e)}function Cr(e,t){Ar(e,(function(e){t(e)}))}function _r(e,t){Cr(e,(function(e){t(Dr(e))}))}var Fr=self.setImmediate||self.setTimeout;function Sr(e,t,r,n,a){(r>0||n<t.size)&&(t=function(e,t,r){return e.webkitSlice?e.webkitSlice(t,r):e.slice(t,r)}(t,r,n)),function(e,t){var r=new FileReader;r.onloadend=function(e){var r=e.target.result||new ArrayBuffer(0);t(r)},r.readAsArrayBuffer(e)}(t,(function(t){e.append(t),a()}))}function qr(e,t,r,n,a){(r>0||n<t.length)&&(t=t.substring(r,n)),e.appendBinary(t),a()}function Br(e,t){var r="string"==typeof e,n=r?e.length:e.size,a=Math.min(32768,n),o=Math.ceil(n/a),i=0,u=r?new(st()):new(st().ArrayBuffer),s=r?qr:Sr;function c(){Fr(p)}function l(){var e,r=(e=u.end(!0),Dr(e));t(r),u.destroy()}function p(){var t=i*a;i++,s(u,e,t,t+a,i<o?c:l)}p()}function Tr(e){return st().hash(e)}function Lr(e,t){if(!t)return vt().replace(/-/g,"").toLowerCase();var r=Ht({},e);return delete r._rev_tree,Tr(JSON.stringify(r))}var Or=vt;function Rr(e){for(var t,r,n,a,o=e.rev_tree.slice();a=o.pop();){var i=a.ids,u=i[2],s=a.pos;if(u.length)for(var c=0,l=u.length;c<l;c++)o.push({pos:s+1,ids:u[c]});else{var p=!!i[1].deleted,f=i[0];t&&!(n!==p?n:r!==s?r<s:t<f)||(t=f,r=s,n=p)}}return r+"-"+t}function Pr(e,t){for(var r,n=e.slice();r=n.pop();)for(var a=r.pos,o=r.ids,i=o[2],u=t(0===i.length,a,o[0],r.ctx,o[1]),s=0,c=i.length;s<c;s++)n.push({pos:a+1,ids:i[s],ctx:u})}function Nr(e,t){return e.pos-t.pos}function Ir(e){var t=[];Pr(e,(function(e,r,n,a,o){e&&t.push({rev:r+"-"+n,pos:r,opts:o})})),t.sort(Nr).reverse();for(var r=0,n=t.length;r<n;r++)delete t[r].pos;return t}function jr(e){for(var t=Rr(e),r=Ir(e.rev_tree),n=[],a=0,o=r.length;a<o;a++){var i=r[a];i.rev===t||i.opts.deleted||n.push(i.rev)}return n}function Ur(e){for(var t,r=[],n=e.slice();t=n.pop();){var a=t.pos,o=t.ids,i=o[0],u=o[1],s=o[2],c=0===s.length,l=t.history?t.history.slice():[];l.push({id:i,opts:u}),c&&r.push({pos:a+1-l.length,ids:l});for(var p=0,f=s.length;p<f;p++)n.push({pos:a+1,ids:s[p],history:l})}return r.reverse()}function Hr(e,t){return e.pos-t.pos}function zr(e,t,r){var n=function(e,t,r){for(var n,a=0,o=e.length;a<o;)r(e[n=a+o>>>1],t)<0?a=n+1:o=n;return a}(e,t,r);e.splice(n,0,t)}function Mr(e,t){for(var r,n,a=t,o=e.length;a<o;a++){var i=e[a],u=[i.id,i.opts,[]];n?(n[2].push(u),n=u):r=n=u}return r}function Vr(e,t){return e[0]<t[0]?-1:1}function Gr(e,t){for(var r=[{tree1:e,tree2:t}],n=!1;r.length>0;){var a=r.pop(),o=a.tree1,i=a.tree2;(o[1].status||i[1].status)&&(o[1].status="available"===o[1].status||"available"===i[1].status?"available":"missing");for(var u=0;u<i[2].length;u++)if(o[2][0]){for(var s=!1,c=0;c<o[2].length;c++)o[2][c][0]===i[2][u][0]&&(r.push({tree1:o[2][c],tree2:i[2][u]}),s=!0);s||(n="new_branch",zr(o[2],i[2][u],Vr))}else n="new_leaf",o[2][0]=i[2][u]}return{conflicts:n,tree:e}}function $r(e,t,r){var n,a=[],o=!1,i=!1;if(!e.length)return{tree:[t],conflicts:"new_leaf"};for(var u=0,s=e.length;u<s;u++){var c=e[u];if(c.pos===t.pos&&c.ids[0]===t.ids[0])n=Gr(c.ids,t.ids),a.push({pos:c.pos,ids:n.tree}),o=o||n.conflicts,i=!0;else if(!0!==r){var l=c.pos<t.pos?c:t,p=c.pos<t.pos?t:c,f=p.pos-l.pos,d=[],h=[];for(h.push({ids:l.ids,diff:f,parent:null,parentIdx:null});h.length>0;){var g=h.pop();if(0!==g.diff)for(var m=g.ids[2],v=0,y=m.length;v<y;v++)h.push({ids:m[v],diff:g.diff-1,parent:g.ids,parentIdx:v});else g.ids[0]===p.ids[0]&&d.push(g)}var b=d[0];b?(n=Gr(b.ids,p.ids),b.parent[2][b.parentIdx]=n.tree,a.push({pos:l.pos,ids:l.ids}),o=o||n.conflicts,i=!0):a.push(c)}else a.push(c)}return i||a.push(t),a.sort(Hr),{tree:a,conflicts:o||"internal_node"}}function Jr(e,t,r){var n=$r(e,t),a=function(e,t){for(var r,n,a=Ur(e),o=0,i=a.length;o<i;o++){var u,s=a[o],c=s.ids;if(c.length>t){r||(r={});var l=c.length-t;u={pos:s.pos+l,ids:Mr(c,l)};for(var p=0;p<l;p++){var f=s.pos+p+"-"+c[p].id;r[f]=!0}}else u={pos:s.pos,ids:Mr(c,0)};n=n?$r(n,u,!0).tree:[u]}return r&&Pr(n,(function(e,t,n){delete r[t+"-"+n]})),{tree:n,revs:r?Object.keys(r):[]}}(n.tree,r);return{tree:a.tree,stemmedRevs:a.revs,conflicts:n.conflicts}}function Kr(e){return e.ids}function Zr(e,t){t||(t=Rr(e));for(var r,n=t.substring(t.indexOf("-")+1),a=e.rev_tree.map(Kr);r=a.pop();){if(r[0]===n)return!!r[1].deleted;a=a.concat(r[2])}}function Wr(e){return/^_local/.test(e)}function Yr(e,t,r){var n=[{rev:e._rev}];"all_docs"===r.style&&(n=Ir(t.rev_tree).map((function(e){return{rev:e.rev}})));var a={id:t.id,changes:n,doc:e};return Zr(t,e._rev)&&(a.deleted=!0),r.conflicts&&(a.doc._conflicts=jr(t),a.doc._conflicts.length||delete a.doc._conflicts),a}var Qr=function(e){p(r,e);var t=b(r);function r(e,n,a){var o;u(this,r),(o=t.call(this)).db=e;var i=(n=n?Ft(n):{}).complete=St((function(t,r){var n;t?(n="error",("listenerCount"in v(o)?o.listenerCount(n):Dt().listenerCount(v(o),n))>0&&o.emit("error",t)):o.emit("complete",r),o.removeAllListeners(),e.removeListener("destroyed",s)}));a&&(o.on("complete",(function(e){a(null,e)})),o.on("error",a));var s=function(){o.cancel()};e.once("destroyed",s),n.onChange=function(e,t,r){o.isCancelled||function(e,t,r,n){try{e.emit("change",t,r,n)}catch(e){It("error",'Error in .on("change", function):',e)}}(v(o),e,t,r)};var c=new Promise((function(e,t){n.complete=function(r,n){r?t(r):e(n)}}));return o.once("cancel",(function(){e.removeListener("destroyed",s),n.complete(null,{status:"cancelled"})})),o.then=c.then.bind(c),o.catch=c.catch.bind(c),o.then((function(e){i(null,e)}),i),e.taskqueue.isReady?o.validateChanges(n):e.taskqueue.addTask((function(e){e?n.complete(e):o.isCancelled?o.emit("cancel"):o.validateChanges(n)})),o}return c(r,[{key:"cancel",value:function(){this.isCancelled=!0,this.db.taskqueue.isReady&&this.emit("cancel")}},{key:"validateChanges",value:function(e){var t=this,r=e.complete;sn._changesFilterPlugin?sn._changesFilterPlugin.validate(e,(function(n){if(n)return r(n);t.doChanges(e)})):this.doChanges(e)}},{key:"doChanges",value:function(e){var t=this,r=e.complete;if("live"in(e=Ft(e))&&!("continuous"in e)&&(e.continuous=e.live),e.processChange=Yr,"latest"===e.since&&(e.since="now"),e.since||(e.since=0),"now"!==e.since){if(sn._changesFilterPlugin){if(sn._changesFilterPlugin.normalize(e),sn._changesFilterPlugin.shouldFilter(this,e))return sn._changesFilterPlugin.filter(this,e)}else["doc_ids","filter","selector","view"].forEach((function(t){t in e&&It("warn",'The "'+t+'" option was passed in to changes/replicate, but pouchdb-changes-filter plugin is not installed, so it was ignored. Please install the plugin to enable filtering.')}));"descending"in e||(e.descending=!1),e.limit=0===e.limit?1:e.limit,e.complete=r;var n=this.db._changes(e);if(n&&"function"==typeof n.cancel){var a=this.cancel;this.cancel=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];n.cancel(),a.apply(t,r)}}}else this.db.info().then((function(n){t.isCancelled?r(null,{status:"cancelled"}):(e.since=n.update_seq,t.doChanges(e))}),r)}}]),r}(Dt());function Xr(e,t){return e<t?-1:e>t?1:0}function en(e,t){return function(r,n){r||n[0]&&n[0].error?((r=r||n[0]).docId=t,e(r)):e(null,n.length?n[0]:n)}}function tn(e,t){var r=Xr(e._id,t._id);return 0!==r?r:Xr(e._revisions?e._revisions.start:0,t._revisions?t._revisions.start:0)}function rn(e){var t=e._compactionQueue[0],r=t.opts,n=t.callback;e.get("_local/compaction").catch((function(){return!1})).then((function(t){t&&t.last_seq&&(r.last_seq=t.last_seq),e._compact(r,(function(t,r){t?n(t):n(null,r),it()((function(){e._compactionQueue.shift(),e._compactionQueue.length&&rn(e)}))}))}))}var nn=function(e){p(r,e);var t=b(r);function r(){return u(this,r),t.apply(this,arguments)}return c(r,[{key:"_setup",value:function(){this.post=Bt("post",(function(e,t,r){if("function"==typeof t&&(r=t,t={}),"object"!=a(e)||Array.isArray(e))return r(ar(er));this.bulkDocs({docs:[e]},t,en(r,e._id))})).bind(this),this.put=Bt("put",(function(e,t,r){var n=this;if("function"==typeof t&&(r=t,t={}),"object"!=a(e)||Array.isArray(e))return r(ar(er));if(sr(e._id),Wr(e._id)&&"function"==typeof this._putLocal)return e._deleted?this._removeLocal(e,r):this._putLocal(e,r);var o,i,u,s,c=function(r){"function"==typeof n._put&&!1!==t.new_edits?n._put(e,t,r):n.bulkDocs({docs:[e]},t,en(r,e._id))};t.force&&e._rev?(i=(o=e._rev.split("-"))[1],u=parseInt(o[0],10)+1,s=Lr(),e._revisions={start:u,ids:[s,i]},e._rev=u+"-"+s,t.new_edits=!1,c((function(t){var n=t?null:{ok:!0,id:e._id,rev:e._rev};r(t,n)}))):c(r)})).bind(this),this.putAttachment=Bt("putAttachment",(function(e,t,r,n,a){var o=this;function i(e){var r="_rev"in e?parseInt(e._rev,10):0;return e._attachments=e._attachments||{},e._attachments[t]={content_type:a,data:n,revpos:++r},o.put(e)}return"function"==typeof a&&(a=n,n=r,r=null),void 0===a&&(a=n,n=r,r=null),a||It("warn","Attachment",t,"on document",e,"is missing content_type"),o.get(e).then((function(e){if(e._rev!==r)throw ar(Gt);return i(e)}),(function(t){if(t.reason===Vt.message)return i({_id:e});throw t}))})).bind(this),this.removeAttachment=Bt("removeAttachment",(function(e,t,r,n){var a=this;this.get(e,(function(e,o){if(e)n(e);else if(o._rev===r){if(!o._attachments)return n();delete o._attachments[t],0===Object.keys(o._attachments).length&&delete o._attachments,a.put(o,n)}else n(ar(Gt))}))})).bind(this),this.remove=Bt("remove",(function(e,t,r,n){var a;"string"==typeof t?(a={_id:e,_rev:t},"function"==typeof r&&(n=r,r={})):(a=e,"function"==typeof t?(n=t,r={}):(n=r,r=t)),(r=r||{}).was_delete=!0;var o={_id:a._id,_rev:a._rev||r.rev,_deleted:!0};if(Wr(o._id)&&"function"==typeof this._removeLocal)return this._removeLocal(a,n);this.bulkDocs({docs:[o]},r,en(n,o._id))})).bind(this),this.revsDiff=Bt("revsDiff",(function(e,t,r){"function"==typeof t&&(r=t,t={});var n=Object.keys(e);if(!n.length)return r(null,{});var a=0,o=new mt;function i(e,t){o.has(e)||o.set(e,{missing:[]}),o.get(e).missing.push(t)}n.map((function(t){this._getRevisionTree(t,(function(u,s){if(u&&404===u.status&&"missing"===u.message)o.set(t,{missing:e[t]});else{if(u)return r(u);!function(t,r){var n=e[t].slice(0);Pr(r,(function(e,r,a,o,u){var s=r+"-"+a,c=n.indexOf(s);-1!==c&&(n.splice(c,1),"available"!==u.status&&i(t,s))})),n.forEach((function(e){i(t,e)}))}(t,s)}if(++a===n.length){var c={};return o.forEach((function(e,t){c[t]=e})),r(null,c)}}))}),this)})).bind(this),this.bulkGet=Bt("bulkGet",(function(e,t){Rt(this,e,t)})).bind(this),this.compactDocument=Bt("compactDocument",(function(e,t,r){var n=this;this._getRevisionTree(e,(function(a,o){if(a)return r(a);var i=function(e){var t={},r=[];return Pr(e,(function(e,n,a,o){var i=n+"-"+a;return e&&(t[i]=0),void 0!==o&&r.push({from:o,to:i}),i})),r.reverse(),r.forEach((function(e){void 0===t[e.from]?t[e.from]=1+t[e.to]:t[e.from]=Math.min(t[e.from],1+t[e.to])})),t}(o),u=[],s=[];Object.keys(i).forEach((function(e){i[e]>t&&u.push(e)})),Pr(o,(function(e,t,r,n,a){var o=t+"-"+r;"available"===a.status&&-1!==u.indexOf(o)&&s.push(o)})),n._doCompaction(e,s,r)}))})).bind(this),this.compact=Bt("compact",(function(e,t){"function"==typeof e&&(t=e,e={}),e=e||{},this._compactionQueue=this._compactionQueue||[],this._compactionQueue.push({opts:e,callback:t}),1===this._compactionQueue.length&&rn(this)})).bind(this),this.get=Bt("get",(function(e,t,r){var n=this;if("function"==typeof t&&(r=t,t={}),"string"!=typeof e)return r(ar($t));if(Wr(e)&&"function"==typeof this._getLocal)return this._getLocal(e,r);var a=[],o=function(){var o=[],i=a.length;if(!i)return r(null,o);a.forEach((function(a){n.get(e,{rev:a,revs:t.revs,latest:t.latest,attachments:t.attachments,binary:t.binary},(function(e,t){if(e)o.push({missing:a});else{for(var n,u=0,s=o.length;u<s;u++)if(o[u].ok&&o[u].ok._rev===t._rev){n=!0;break}n||o.push({ok:t})}--i||r(null,o)}))}))};if(!t.open_revs)return this._get(e,t,(function(a,o){if(a)return a.docId=e,r(a);var i=o.doc,u=o.metadata,s=o.ctx;if(t.conflicts){var c=jr(u);c.length&&(i._conflicts=c)}if(Zr(u,i._rev)&&(i._deleted=!0),t.revs||t.revs_info){for(var l=i._rev.split("-"),p=parseInt(l[0],10),f=l[1],d=Ur(u.rev_tree),h=null,g=0;g<d.length;g++){var m=d[g],v=m.ids.map((function(e){return e.id})).indexOf(f);(v===p-1||!h&&-1!==v)&&(h=m)}if(!h)return(a=new Error("invalid rev tree")).docId=e,r(a);var y=h.ids.map((function(e){return e.id})).indexOf(i._rev.split("-")[1])+1,b=h.ids.length-y;if(h.ids.splice(y,b),h.ids.reverse(),t.revs&&(i._revisions={start:h.pos+h.ids.length-1,ids:h.ids.map((function(e){return e.id}))}),t.revs_info){var D=h.pos+h.ids.length;i._revs_info=h.ids.map((function(e){return{rev:--D+"-"+e.id,status:e.opts.status}}))}}if(t.attachments&&i._attachments){var w=i._attachments,k=Object.keys(w).length;if(0===k)return r(null,i);Object.keys(w).forEach((function(e){n._getAttachment(i._id,e,w[e],{rev:i._rev,binary:t.binary,ctx:s},(function(t,n){var a=i._attachments[e];a.data=n,delete a.stub,delete a.length,--k||r(null,i)}))}))}else{if(i._attachments)for(var x in i._attachments)Object.prototype.hasOwnProperty.call(i._attachments,x)&&(i._attachments[x].stub=!0);r(null,i)}}));if("all"===t.open_revs)this._getRevisionTree(e,(function(e,t){if(e)return r(e);a=Ir(t).map((function(e){return e.rev})),o()}));else{if(!Array.isArray(t.open_revs))return r(ar(Zt,"function_clause"));a=t.open_revs;for(var i=0;i<a.length;i++){var u=a[i];if("string"!=typeof u||!/^\d+-/.test(u))return r(ar(rr))}o()}})).bind(this),this.getAttachment=Bt("getAttachment",(function(e,t,r,n){var a=this;r instanceof Function&&(n=r,r={}),this._get(e,r,(function(o,i){return o?n(o):i.doc._attachments&&i.doc._attachments[t]?(r.ctx=i.ctx,r.binary=!0,void a._getAttachment(e,t,i.doc._attachments[t],r,n)):n(ar(Vt))}))})).bind(this),this.allDocs=Bt("allDocs",(function(e,t){if("function"==typeof e&&(t=e,e={}),e.skip=void 0!==e.skip?e.skip:0,e.start_key&&(e.startkey=e.start_key),e.end_key&&(e.endkey=e.end_key),"keys"in e){if(!Array.isArray(e.keys))return t(new TypeError("options.keys must be an array"));var r=["startkey","endkey","key"].filter((function(t){return t in e}))[0];if(r)return void t(ar(Yt,"Query parameter `"+r+"` is not compatible with multi-get"));if(!cr(this)&&(function(e){var t="limit"in e?e.keys.slice(e.skip,e.limit+e.skip):e.skip>0?e.keys.slice(e.skip):e.keys;e.keys=t,e.skip=0,delete e.limit,e.descending&&(t.reverse(),e.descending=!1)}(e),0===e.keys.length))return this._allDocs({limit:0},t)}return this._allDocs(e,t)})).bind(this),this.close=Bt("close",(function(e){return this._closed=!0,this.emit("closed"),this._close(e)})).bind(this),this.info=Bt("info",(function(e){var t=this;this._info((function(r,n){if(r)return e(r);n.db_name=n.db_name||t.name,n.auto_compaction=!(!t.auto_compaction||cr(t)),n.adapter=t.adapter,e(null,n)}))})).bind(this),this.id=Bt("id",(function(e){return this._id(e)})).bind(this),this.bulkDocs=Bt("bulkDocs",(function(e,t,r){if("function"==typeof t&&(r=t,t={}),t=t||{},Array.isArray(e)&&(e={docs:e}),!e||!e.docs||!Array.isArray(e.docs))return r(ar(Mt));for(var n=0;n<e.docs.length;++n)if("object"!=a(e.docs[n])||Array.isArray(e.docs[n]))return r(ar(er));var o;if(e.docs.forEach((function(e){e._attachments&&Object.keys(e._attachments).forEach((function(t){o=o||function(e){return"_"===e.charAt(0)&&e+" is not a valid attachment name, attachment names cannot start with '_'"}(t),e._attachments[t].content_type||It("warn","Attachment",t,"on document",e._id,"is missing content_type")}))})),o)return r(ar(Xt,o));"new_edits"in t||(t.new_edits=!("new_edits"in e)||e.new_edits);var i=this;t.new_edits||cr(i)||e.docs.sort(tn),function(e){for(var t=0;t<e.length;t++){var r=e[t];if(r._deleted)delete r._attachments;else if(r._attachments)for(var n=Object.keys(r._attachments),a=0;a<n.length;a++){var o=n[a];r._attachments[o]=Tt(r._attachments[o],["data","digest","content_type","length","revpos","stub"])}}}(e.docs);var u=e.docs.map((function(e){return e._id}));this._bulkDocs(e,t,(function(e,n){if(e)return r(e);if(t.new_edits||(n=n.filter((function(e){return e.error}))),!cr(i))for(var a=0,o=n.length;a<o;a++)n[a].id=n[a].id||u[a];r(null,n)}))})).bind(this),this.registerDependentDatabase=Bt("registerDependentDatabase",(function(e,t){var r=Ft(this.__opts);this.__opts.view_adapter&&(r.adapter=this.__opts.view_adapter);var n=new this.constructor(e,r);yr(this,"_local/_pouch_dependentDbs",(function(t){return t.dependentDbs=t.dependentDbs||{},!t.dependentDbs[e]&&(t.dependentDbs[e]=!0,t)})).then((function(){t(null,{db:n})})).catch(t)})).bind(this),this.destroy=Bt("destroy",(function(e,t){var r=this;"function"==typeof e&&(t=e,e={});var n=!("use_prefix"in this)||this.use_prefix,a=function(){r._destroy(e,(function(e,n){if(e)return t(e);r._destroyed=!0,r.emit("destroyed"),t(null,n||{ok:!0})}))};if(cr(this))return a();this.get("_local/_pouch_dependentDbs",(function(e,o){if(e)return 404!==e.status?t(e):a();var i=o.dependentDbs,u=r.constructor,s=Object.keys(i).map((function(e){var t=n?e.replace(new RegExp("^"+u.prefix),""):e;return new u(t,r.__opts).destroy()}));Promise.all(s).then(a,t)}))})).bind(this)}},{key:"_compact",value:function(e,t){var r,n=this,a={return_docs:!1,last_seq:e.last_seq||0},o=[],i=0,u=function(e){n.activeTasks.update(r,{completed_items:++i}),o.push(n.compactDocument(e.id,0))},s=function(e){n.activeTasks.remove(r,e),t(e)},c=function(e){var a=e.last_seq;Promise.all(o).then((function(){return yr(n,"_local/compaction",(function(e){return(!e.last_seq||e.last_seq<a)&&(e.last_seq=a,e)}))})).then((function(){n.activeTasks.remove(r),t(null,{ok:!0})})).catch(s)};this.info().then((function(e){r=n.activeTasks.add({name:"database_compaction",total_items:e.update_seq-a.last_seq}),n.changes(a).on("change",u).on("complete",c).on("error",s)}))}},{key:"changes",value:function(e,t){return"function"==typeof e&&(t=e,e={}),(e=e||{}).return_docs="return_docs"in e?e.return_docs:!e.live,new Qr(this,e,t)}},{key:"type",value:function(){return"function"==typeof this._type?this._type():this.adapter}}]),r}(Dt());nn.prototype.purge=Bt("_purge",(function(e,t,r){if(void 0===this._purge)return r(ar(Zt,"Purge is not implemented in the "+this.adapter+" adapter."));var n=this;n._getRevisionTree(e,(function(a,o){if(a)return r(a);if(!o)return r(ar(Vt));var i;try{i=function(e,t){for(var r,n=[],a=e.slice();r=a.pop();){var o=r,i=o.pos,u=o.ids,s="".concat(i,"-").concat(u[0]),c=u[2];if(n.push(s),s===t){if(0!==c.length)throw new Error("The requested revision is not a leaf");return n.reverse()}(0===c.length||c.length>1)&&(n=[]);for(var l=0,p=c.length;l<p;l++)a.push({pos:i+1,ids:c[l]})}if(0===n.length)throw new Error("The requested revision does not exist");return n.reverse()}(o,t)}catch(a){return r(a.message||a)}n._purge(e,i,(function(a,o){if(a)return r(a);(function(e,t,r){return e.get("_local/purges").then((function(e){var n=e.purgeSeq+1;return e.purges.push({docId:t,rev:r,purgeSeq:n}),e.purges.length>self.purged_infos_limit&&e.purges.splice(0,e.purges.length-self.purged_infos_limit),e.purgeSeq=n,e})).catch((function(e){if(404!==e.status)throw e;return{_id:"_local/purges",purges:[{docId:t,rev:r,purgeSeq:0}],purgeSeq:0}})).then((function(t){return e.put(t)}))})(n,e,t).then((function(){return r(null,o)}))}))}))}));var an=function(){function e(){u(this,e),this.isReady=!1,this.failed=!1,this.queue=[]}return c(e,[{key:"execute",value:function(){var e;if(this.failed)for(;e=this.queue.shift();)e(this.failed);else for(;e=this.queue.shift();)e()}},{key:"fail",value:function(e){this.failed=e,this.execute()}},{key:"ready",value:function(e){this.isReady=!0,this.db=e,this.execute()}},{key:"addTask",value:function(e){this.queue.push(e),this.failed&&this.execute()}}]),e}();function on(e,t){var r,n,a=function e(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];if(!(this instanceof e))return g(e,n);t.apply(this,n)};return n=e,(r=a).prototype=Object.create(n.prototype,{constructor:{value:r}}),a}var un=function(e){p(r,e);var t=b(r);function r(e,n){var a;return u(this,r),(a=t.call(this))._setup(e,n),a}return c(r,[{key:"_setup",value:function(e,t){var n=this;if(w(f(r.prototype),"_setup",this).call(this),t=t||{},e&&"object"==a(e)&&(e=(t=e).name,delete t.name),void 0===t.deterministic_revs&&(t.deterministic_revs=!0),this.__opts=t=Ft(t),this.auto_compaction=t.auto_compaction,this.purged_infos_limit=t.purged_infos_limit||1e3,this.prefix=sn.prefix,"string"!=typeof e)throw new Error("Missing/invalid DB name");var o=function(e,t){var r=e.match(/([a-z-]*):\/\/(.*)/);if(r)return{name:/https?/.test(r[1])?r[1]+"://"+r[2]:r[2],adapter:r[1]};var n=sn.adapters,a=sn.preferredAdapters,o=sn.prefix,i=t.adapter;if(!i)for(var u=0;u<a.length&&"idb"===(i=a[u])&&"websql"in n&&Pt()&&localStorage["_pouch__websqldb_"+o+e];++u)It("log",'PouchDB is downgrading "'+e+'" to WebSQL to avoid data loss, because it was already opened with WebSQL.');var s=n[i];return{name:s&&"use_prefix"in s&&!s.use_prefix?e:o+e,adapter:i}}((t.prefix||"")+e,t);if(t.name=o.name,t.adapter=t.adapter||o.adapter,this.name=e,this._adapter=t.adapter,sn.emit("debug",["adapter","Picked adapter: ",t.adapter]),!sn.adapters[t.adapter]||!sn.adapters[t.adapter].valid())throw new Error("Invalid Adapter: "+t.adapter);if(t.view_adapter&&(!sn.adapters[t.view_adapter]||!sn.adapters[t.view_adapter].valid()))throw new Error("Invalid View Adapter: "+t.view_adapter);this.taskqueue=new an,this.adapter=t.adapter,sn.adapters[t.adapter].call(this,t,(function(e){if(e)return n.taskqueue.fail(e);!function(e){function t(t){e.removeListener("closed",r),t||e.constructor.emit("destroyed",e.name)}function r(){e.removeListener("destroyed",t),e.constructor.emit("unref",e)}e.once("destroyed",t),e.once("closed",r),e.constructor.emit("ref",e)}(n),n.emit("created",n),sn.emit("created",n.name),n.taskqueue.ready(n)}))}}]),r}(nn),sn=on(un,(function(e,t){un.prototype._setup.call(this,e,t)})),cn="undefined"!=typeof AbortController?AbortController:function(){return{abort:function(){}}},ln=fetch,pn=Headers;sn.adapters={},sn.preferredAdapters=[],sn.prefix="_pouch_";var fn=new(Dt());function dn(e,t){for(var r=e,n=0,a=t.length;n<a&&(r=r[t[n]]);n++);return r}function hn(e){for(var t=[],r="",n=0,a=e.length;n<a;n++){var o=e[n];n>0&&"\\"===e[n-1]&&("$"===o||"."===o)?r=r.substring(0,r.length-1)+o:"."===o?(t.push(r),r=""):r+=o}return t.push(r),t}!function(e){Object.keys(Dt().prototype).forEach((function(t){"function"==typeof Dt().prototype[t]&&(e[t]=fn[t].bind(fn))}));var t=e._destructionListeners=new mt;e.on("ref",(function(e){t.has(e.name)||t.set(e.name,[]),t.get(e.name).push(e)})),e.on("unref",(function(e){if(t.has(e.name)){var r=t.get(e.name),n=r.indexOf(e);n<0||(r.splice(n,1),r.length>1?t.set(e.name,r):t.delete(e.name))}})),e.on("destroyed",(function(e){if(t.has(e)){var r=t.get(e);t.delete(e),r.forEach((function(e){e.emit("destroyed",!0)}))}}))}(sn),sn.adapter=function(e,t,r){t.valid()&&(sn.adapters[e]=t,r&&sn.preferredAdapters.push(e))},sn.plugin=function(e){if("function"==typeof e)e(sn);else{if("object"!=a(e)||0===Object.keys(e).length)throw new Error('Invalid plugin: got "'+e+'", expected an object or a function');Object.keys(e).forEach((function(t){sn.prototype[t]=e[t]}))}return this.__defaults&&(sn.__defaults=Ht({},this.__defaults)),sn},sn.defaults=function(e){var t=on(sn,(function(e,r){r=r||{},e&&"object"==a(e)&&(e=(r=e).name,delete r.name),r=Ht({},t.__defaults,r),sn.call(this,e,r)}));return t.preferredAdapters=sn.preferredAdapters.slice(),Object.keys(sn).forEach((function(e){e in t||(t[e]=sn[e])})),t.__defaults=Ht({},this.__defaults,e),t},sn.fetch=function(e,t){return ln(e,t)},sn.prototype.activeTasks=sn.activeTasks=new(function(){function e(){u(this,e),this.tasks={}}return c(e,[{key:"list",value:function(){return Object.values(this.tasks)}},{key:"add",value:function(e){var t=vt();return this.tasks[t]={id:t,name:e.name,total_items:e.total_items,created_at:(new Date).toJSON()},t}},{key:"get",value:function(e){return this.tasks[e]}},{key:"remove",value:function(e,t){return delete this.tasks[e],this.tasks}},{key:"update",value:function(e,t){var r=this.tasks[e];if(void 0!==r){var n={id:r.id,name:r.name,created_at:r.created_at,total_items:t.total_items||r.total_items,completed_items:t.completed_items||r.completed_items,updated_at:(new Date).toJSON()};this.tasks[e]=n}return this.tasks}}]),e}());var gn=["$or","$nor","$not"];function mn(e){return gn.indexOf(e)>-1}function vn(e){return Object.keys(e)[0]}function yn(e){var t={},r={$or:!0,$nor:!0};return e.forEach((function(e){Object.keys(e).forEach((function(n){var o=e[n];if("object"!=a(o)&&(o={$eq:o}),mn(n))if(o instanceof Array){if(r[n])return r[n]=!1,void(t[n]=o);var i=[];t[n].forEach((function(e){Object.keys(o).forEach((function(t){var r=o[t],n=Math.max(Object.keys(e).length,Object.keys(r).length),a=yn([e,r]);Object.keys(a).length<=n||i.push(a)}))})),t[n]=i}else t[n]=yn([o]);else{var u=t[n]=t[n]||{};Object.keys(o).forEach((function(e){var t=o[e];return"$gt"===e||"$gte"===e?function(e,t,r){void 0===r.$eq&&(void 0!==r.$gte?"$gte"===e?t>r.$gte&&(r.$gte=t):t>=r.$gte&&(delete r.$gte,r.$gt=t):void 0!==r.$gt?"$gte"===e?t>r.$gt&&(delete r.$gt,r.$gte=t):t>r.$gt&&(r.$gt=t):r[e]=t)}(e,t,u):"$lt"===e||"$lte"===e?function(e,t,r){void 0===r.$eq&&(void 0!==r.$lte?"$lte"===e?t<r.$lte&&(r.$lte=t):t<=r.$lte&&(delete r.$lte,r.$lt=t):void 0!==r.$lt?"$lte"===e?t<r.$lt&&(delete r.$lt,r.$lte=t):t<r.$lt&&(r.$lt=t):r[e]=t)}(e,t,u):"$ne"===e?function(e,t){"$ne"in t?t.$ne.push(e):t.$ne=[e]}(t,u):"$eq"===e?function(e,t){delete t.$gt,delete t.$gte,delete t.$lt,delete t.$lte,delete t.$ne,t.$eq=e}(t,u):"$regex"===e?function(e,t){"$regex"in t?t.$regex.push(e):t.$regex=[e]}(t,u):void(u[e]=t)}))}}))})),t}function bn(e){for(var t in e){if(Array.isArray(e))for(var r in e)e[r].$and&&(e[r]=yn(e[r].$and));var n=e[t];"object"==a(n)&&bn(n)}return e}function Dn(e,t){for(var r in e){"$and"===r&&(t=!0);var n=e[r];"object"==a(n)&&(t=Dn(n,t))}return t}function wn(e){var t=Ft(e);Dn(t,!1)&&"$and"in(t=bn(t))&&(t=yn(t.$and)),["$or","$nor"].forEach((function(e){e in t&&t[e].forEach((function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r],o=e[n];"object"==a(o)&&null!==o||(e[n]={$eq:o})}}))})),"$not"in t&&(t.$not=yn([t.$not]));for(var r=Object.keys(t),n=0;n<r.length;n++){var o=r[n],i=t[o];"object"==a(i)&&null!==i||(i={$eq:i}),t[o]=i}return kn(t),t}function kn(e){Object.keys(e).forEach((function(t){var r=e[t];Array.isArray(r)?r.forEach((function(e){e&&"object"==a(e)&&kn(e)})):"$ne"===t?e.$ne=[r]:"$regex"===t?e.$regex=[r]:r&&"object"==a(r)&&kn(r)}))}function xn(e,t){if(e===t)return 0;e=En(e),t=En(t);var r=Fn(e),n=Fn(t);if(r-n!=0)return r-n;switch(a(e)){case"number":return e-t;case"boolean":return e<t?-1:1;case"string":return function(e,t){return e===t?0:e>t?1:-1}(e,t)}return Array.isArray(e)?function(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){var a=xn(e[n],t[n]);if(0!==a)return a}return e.length===t.length?0:e.length>t.length?1:-1}(e,t):function(e,t){for(var r=Object.keys(e),n=Object.keys(t),a=Math.min(r.length,n.length),o=0;o<a;o++){var i=xn(r[o],n[o]);if(0!==i)return i;if(0!==(i=xn(e[r[o]],t[n[o]])))return i}return r.length===n.length?0:r.length>n.length?1:-1}(e,t)}function En(e){switch(a(e)){case"undefined":return null;case"number":return e===1/0||e===-1/0||isNaN(e)?null:e;case"object":var t=e;if(Array.isArray(e)){var r=e.length;e=new Array(r);for(var n=0;n<r;n++)e[n]=En(t[n])}else{if(e instanceof Date)return e.toJSON();if(null!==e)for(var o in e={},t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=t[o];void 0!==i&&(e[o]=En(i))}}}return e}function An(e){return Fn(e=En(e))+""+function(e){if(null!==e)switch(a(e)){case"boolean":return e?1:0;case"number":return function(e){if(0===e)return"1";var t,r=e.toExponential().split(/e\+?/),n=parseInt(r[1],10),a=e<0,o=a?"0":"2";o+=""+(function(e,t,r){for(var n="",a=3-e.length;n.length<a;)n+="0";return n}(t=((a?-n:n)- -324).toString())+t);var i=Math.abs(parseFloat(r[0]));return a&&(i=10-i),o+""+i.toFixed(20).replace(/\.?0+$/,"")}(e);case"string":return e.replace(/\u0002/g,"").replace(/\u0001/g,"").replace(/\u0000/g,"");case"object":var t=Array.isArray(e),r=t?e:Object.keys(e),n=-1,o=r.length,i="";if(t)for(;++n<o;)i+=An(r[n]);else for(;++n<o;){var u=r[n];i+=An(u)+An(e[u])}return i}return""}(e)+"\0"}function Cn(e,t){var r,n=t;if("1"===e[t])r=0,t++;else{var a="0"===e[t];t++;var o="",i=e.substring(t,t+3),u=parseInt(i,10)+-324;for(a&&(u=-u),t+=3;;){var s=e[t];if("\0"===s)break;o+=s,t++}r=1===(o=o.split(".")).length?parseInt(o,10):parseFloat(o[0]+"."+o[1]),a&&(r-=10),0!==u&&(r=parseFloat(r+"e"+u))}return{num:r,length:t-n}}function _n(e,t){var r=e.pop();if(t.length){var n=t[t.length-1];r===n.element&&(t.pop(),n=t[t.length-1]);var a=n.element,o=n.index;Array.isArray(a)?a.push(r):o===e.length-2?a[e.pop()]=r:e.push(r)}}function Fn(e){var t=["boolean","number","string","object"].indexOf(a(e));return~t?null===e?1:Array.isArray(e)?5:t<3?t+2:t+3:Array.isArray(e)?5:void 0}function Sn(e,t,r){return r.every((function(r){var n=t[r],a=hn(r),o=dn(e,a);return mn(r)?function(e,t,r){return"$or"===e?t.some((function(e){return Sn(r,e,Object.keys(e))})):"$not"===e?!Sn(r,t,Object.keys(t)):!t.find((function(e){return Sn(r,e,Object.keys(e))}))}(r,n,e):qn(n,e,a,o)}))}function qn(e,t,r,n){return!e||("object"==a(e)?Object.keys(e).every((function(o){var i=e[o];if(0===o.indexOf("$"))return Bn(o,t,i,r,n);var u=hn(o);if(void 0===n&&"object"!=a(i)&&u.length>0)return!1;var s=dn(n,u);return"object"==a(i)?qn(i,t,r,s):Bn("$eq",t,i,u,s)})):e===n)}function Bn(e,t,r,n,a){if(!Rn[e])throw new Error('unknown operator "'+e+'" - should be one of $eq, $lte, $lt, $gt, $gte, $exists, $ne, $in, $nin, $size, $mod, $regex, $elemMatch, $type, $allMatch or $all');return Rn[e](t,r,n,a)}function Tn(e){return null!=e}function Ln(e){return void 0!==e}function On(e,t){return t.some((function(t){return e instanceof Array?e.some((function(e){return 0===xn(t,e)})):0===xn(t,e)}))}var Rn={$elemMatch:function(e,t,r,n){return!!Array.isArray(n)&&0!==n.length&&("object"==a(n[0])&&null!==n[0]?n.some((function(e){return Sn(e,t,Object.keys(t))})):n.some((function(n){return qn(t,e,r,n)})))},$allMatch:function(e,t,r,n){return!!Array.isArray(n)&&0!==n.length&&("object"==a(n[0])&&null!==n[0]?n.every((function(e){return Sn(e,t,Object.keys(t))})):n.every((function(n){return qn(t,e,r,n)})))},$eq:function(e,t,r,n){return Ln(n)&&0===xn(n,t)},$gte:function(e,t,r,n){return Ln(n)&&xn(n,t)>=0},$gt:function(e,t,r,n){return Ln(n)&&xn(n,t)>0},$lte:function(e,t,r,n){return Ln(n)&&xn(n,t)<=0},$lt:function(e,t,r,n){return Ln(n)&&xn(n,t)<0},$exists:function(e,t,r,n){return t?Ln(n):!Ln(n)},$mod:function(e,t,r,n){return Tn(n)&&function(e,t){return"number"==typeof e&&parseInt(e,10)===e&&e%t[0]===t[1]}(n,t)},$ne:function(e,t,r,n){return t.every((function(e){return 0!==xn(n,e)}))},$in:function(e,t,r,n){return Tn(n)&&On(n,t)},$nin:function(e,t,r,n){return Tn(n)&&!On(n,t)},$size:function(e,t,r,n){return Tn(n)&&Array.isArray(n)&&function(e,t){return e.length===t}(n,t)},$all:function(e,t,r,n){return Array.isArray(n)&&function(e,t){return t.every((function(t){return e.some((function(e){return 0===xn(t,e)}))}))}(n,t)},$regex:function(e,t,r,n){return Tn(n)&&"string"==typeof n&&t.every((function(e){return function(e,t){return new RegExp(t).test(e)}(n,e)}))},$type:function(e,t,r,n){return function(e,t){switch(t){case"null":return null===e;case"boolean":return"boolean"==typeof e;case"number":return"number"==typeof e;case"string":return"string"==typeof e;case"array":return e instanceof Array;case"object":return"[object Object]"==={}.toString.call(e)}}(n,t)}};function Pn(e,t){if(e.selector&&e.filter&&"_selector"!==e.filter){var r="string"==typeof e.filter?e.filter:"function";return t(new Error('selector invalid for filter "'+r+'"'))}t()}function Nn(e){e.view&&!e.filter&&(e.filter="_view"),e.selector&&!e.filter&&(e.filter="_selector"),e.filter&&"string"==typeof e.filter&&("_view"===e.filter?e.view=pr(e.view):e.filter=pr(e.filter))}function In(e,t){return t.filter&&"string"==typeof t.filter&&!t.doc_ids&&!cr(e.db)}function jn(e,t){var r=t.complete;if("_view"===t.filter){if(!t.view||"string"!=typeof t.view){var n=ar(Xt,"`view` filter parameter not found or invalid.");return r(n)}var o=lr(t.view);e.db.get("_design/"+o[0],(function(n,a){if(e.isCancelled)return r(null,{status:"cancelled"});if(n)return r(or(n));var i=a&&a.views&&a.views[o[1]]&&a.views[o[1]].map;if(!i)return r(ar(Vt,a.views?"missing json key: "+o[1]:"missing json key: views"));t.filter=vr(["return function(doc) {",' "use strict";'," var emitted = false;"," var emit = function (a, b) {"," emitted = true;"," };"," var view = "+i+";"," view(doc);"," if (emitted) {"," return true;"," }","};"].join("\n"),{}),e.doChanges(t)}))}else if(t.selector)t.filter=function(e){return function(e,t){if("object"!=a(t))throw new Error("Selector error: expected a JSON object");var r=function(e,t,r){if(e=e.filter((function(e){return Sn(e.doc,t.selector,r)})),t.sort){var n=function(e){function t(t){return e.map((function(e){var r=hn(vn(e));return dn(t,r)}))}return function(e,r){var n,a,o=xn(t(e.doc),t(r.doc));return 0!==o?o:(n=e.doc._id)<(a=r.doc._id)?-1:n>a?1:0}}(t.sort);e=e.sort(n),"string"!=typeof t.sort[0]&&"desc"===(a=t.sort[0])[vn(a)]&&(e=e.reverse())}var a;if("limit"in t||"skip"in t){var o=t.skip||0,i=("limit"in t?t.limit:e.length)+o;e=e.slice(o,i)}return e}([{doc:e}],{selector:t=wn(t)},Object.keys(t));return r&&1===r.length}(e,t.selector)},e.doChanges(t);else{var i=lr(t.filter);e.db.get("_design/"+i[0],(function(n,a){if(e.isCancelled)return r(null,{status:"cancelled"});if(n)return r(or(n));var o=a&&a.filters&&a.filters[i[1]];if(!o)return r(ar(Vt,a&&a.filters?"missing json key: "+i[1]:"missing json key: filters"));t.filter=vr('"use strict";\nreturn '+o+";",{}),e.doChanges(t)}))}}function Un(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})}sn.plugin((function(e){e._changesFilterPlugin={validate:Pn,normalize:Nn,shouldFilter:In,filter:jn}})),sn.version="8.0.1";var Hn=Un(["_id","_rev","_access","_attachments","_deleted","_revisions","_revs_info","_conflicts","_deleted_conflicts","_local_seq","_rev_tree","_replication_id","_replication_state","_replication_state_time","_replication_state_reason","_replication_stats","_removed"]),zn=Un(["_access","_attachments","_replication_id","_replication_state","_replication_state_time","_replication_state_reason","_replication_stats"]);function Mn(e){if(!/^\d+-/.test(e))return ar(rr);var t=e.indexOf("-"),r=e.substring(0,t),n=e.substring(t+1);return{prefix:parseInt(r,10),id:n}}function Vn(e,t,r){var n,a,o;r||(r={deterministic_revs:!0});var i={status:"available"};if(e._deleted&&(i.deleted=!0),t)if(e._id||(e._id=Or()),a=Lr(e,r.deterministic_revs),e._rev){if((o=Mn(e._rev)).error)return o;e._rev_tree=[{pos:o.prefix,ids:[o.id,{status:"missing"},[[a,i,[]]]]}],n=o.prefix+1}else e._rev_tree=[{pos:1,ids:[a,i,[]]}],n=1;else if(e._revisions&&(e._rev_tree=function(e,t){for(var r=e.start-e.ids.length+1,n=e.ids,a=[n[0],t,[]],o=1,i=n.length;o<i;o++)a=[n[o],{status:"missing"},[a]];return[{pos:r,ids:a}]}(e._revisions,i),n=e._revisions.start,a=e._revisions.ids[0]),!e._rev_tree){if((o=Mn(e._rev)).error)return o;n=o.prefix,a=o.id,e._rev_tree=[{pos:n,ids:[a,i,[]]}]}sr(e._id),e._rev=n+"-"+a;var u={metadata:{},data:{}};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var c="_"===s[0];if(c&&!Hn[s]){var l=ar(Qt,s);throw l.message=Qt.message+": "+s,l}c&&!zn[s]?u.metadata[s.slice(1)]=e[s]:u.data[s]=e[s]}return u}function Gn(e,t,r){if(e.stub)return r();"string"==typeof e.data?function(e,t,r){var n=function(e){try{return br(e)}catch(e){return{error:ar(Wt,"Attachment is not a valid base64 string")}}}(e.data);if(n.error)return r(n.error);e.length=n.length,e.data="blob"===t?xr(n,e.content_type):"base64"===t?Dr(n):n,Br(n,(function(t){e.digest="md5-"+t,r()}))}(e,t,r):function(e,t,r){Br(e.data,(function(n){e.digest="md5-"+n,e.length=e.data.size||e.data.length||0,"binary"===t?Cr(e.data,(function(t){e.data=t,r()})):"base64"===t?_r(e.data,(function(t){e.data=t,r()})):r()}))}(e,t,r)}var $n="document-store",Jn="by-sequence",Kn="attach-store",Zn="attach-seq-store",Wn="meta-store",Yn="local-store",Qn="detect-blob-support";function Xn(e){try{return JSON.stringify(e)}catch(t){return yt.stringify(e)}}function ea(e){return function(t){var r="unknown_error";t.target&&t.target.error&&(r=t.target.error.name||t.target.error.message),e(ar(tr,r,t.type))}}function ta(e,t,r){return{data:Xn(e),winningRev:t,deletedOrLocal:r?"1":"0",seq:e.seq,id:e.id}}function ra(e){if(!e)return null;var t=function(e){try{return JSON.parse(e)}catch(t){return yt.parse(e)}}(e.data);return t.winningRev=e.winningRev,t.deleted="1"===e.deletedOrLocal,t.seq=e.seq,t}function na(e){if(!e)return e;var t=e._doc_id_rev.lastIndexOf(":");return e._id=e._doc_id_rev.substring(0,t-1),e._rev=e._doc_id_rev.substring(t+1),delete e._doc_id_rev,e}function aa(e,t,r,n){r?n(e?"string"!=typeof e?e:Er(e,t):wr([""],{type:t})):e?"string"!=typeof e?Ar(e,(function(e){n(Dr(e))})):n(e):n("")}function oa(e,t,r,n){var a=Object.keys(e._attachments||{});if(!a.length)return n&&n();var o=0;function i(){++o===a.length&&n&&n()}a.forEach((function(n){t.attachments&&t.include_docs?function(e,t){var n=e._attachments[t],a=n.digest;r.objectStore(Kn).get(a).onsuccess=function(e){n.body=e.target.result.body,i()}}(e,n):(e._attachments[n].stub=!0,i())}))}function ia(e,t){return Promise.all(e.map((function(e){if(e.doc&&e.doc._attachments){var r=Object.keys(e.doc._attachments);return Promise.all(r.map((function(r){var n=e.doc._attachments[r];if("body"in n){var a=n.body,o=n.content_type;return new Promise((function(i){aa(a,o,t,(function(t){e.doc._attachments[r]=Ht(Tt(n,["digest","content_type"]),{data:t}),i()}))}))}})))}})))}function ua(e,t,r){var n=[],a=r.objectStore(Jn),o=r.objectStore(Kn),i=r.objectStore(Zn),u=e.length;function s(){--u||n.length&&n.forEach((function(e){i.index("digestSeq").count(IDBKeyRange.bound(e+"::",e+"::",!1,!1)).onsuccess=function(t){t.target.result||o.delete(e)}}))}e.forEach((function(e){var r=a.index("_doc_id_rev"),o=t+"::"+e;r.getKey(o).onsuccess=function(e){var t=e.target.result;if("number"!=typeof t)return s();a.delete(t),i.index("seq").openCursor(IDBKeyRange.only(t)).onsuccess=function(e){var t=e.target.result;if(t){var r=t.value.digestSeq.split("::")[0];n.push(r),i.delete(t.primaryKey),t.continue()}else s()}}}))}function sa(e,t,r){try{return{txn:e.transaction(t,r)}}catch(e){return{error:e}}}var ca=new Nt;function la(e,t,r,n,a,o){for(var i,u,s,c,l,p,f,d,h=t.docs,g=0,m=h.length;g<m;g++){var v=h[g];v._id&&Wr(v._id)||(v=h[g]=Vn(v,r.new_edits,e)).error&&!f&&(f=v)}if(f)return o(f);var y=!1,b=0,D=new Array(h.length),w=new mt,k=!1,x=n._meta.blobSupport?"blob":"base64";function E(){y=!0,A()}function A(){d&&y&&(d.docCount+=b,p.put(d))}function C(){k||(ca.notify(n._meta.name),o(null,D))}function _(e,t,r,n,a,o,i,u){e.metadata.winningRev=t,e.metadata.deleted=r;var s=e.data;if(s._id=e.metadata.id,s._rev=e.metadata.rev,n&&(s._deleted=!0),s._attachments&&Object.keys(s._attachments).length)return function(e,t,r,n,a,o){var i=e.data,u=0,s=Object.keys(i._attachments);function l(){u===s.length&&F(e,t,r,n,a,o)}function p(){u++,l()}s.forEach((function(r){var n=e.data._attachments[r];if(n.stub)u++,l();else{var a=n.data;delete n.data,n.revpos=parseInt(t,10),function(e,t,r){c.count(e).onsuccess=function(n){if(n.target.result)return r();var a={digest:e,body:t};c.put(a).onsuccess=r}}(n.digest,a,p)}}))}(e,t,r,a,i,u);b+=o,A(),F(e,t,r,a,i,u)}function F(e,t,r,a,o,c){var p=e.data,f=e.metadata;function d(o){var s=e.stemmedRevs||[];a&&n.auto_compaction&&(s=s.concat(function(e){var t=[];return Pr(e.rev_tree,(function(e,r,n,a,o){"available"!==o.status||e||(t.push(r+"-"+n),o.status="missing")})),t}(e.metadata))),s&&s.length&&ua(s,e.metadata.id,i),f.seq=o.target.result;var c=ta(f,t,r);u.put(c).onsuccess=h}function h(){D[o]={ok:!0,id:f.id,rev:f.rev},w.set(e.metadata.id,e.metadata),function(e,t,r){var n=0,a=Object.keys(e.data._attachments||{});if(!a.length)return r();function o(){++n===a.length&&r()}function i(r){var n=e.data._attachments[r].digest,a=l.put({seq:t,digestSeq:n+"::"+t});a.onsuccess=o,a.onerror=function(e){e.preventDefault(),e.stopPropagation(),o()}}for(var u=0;u<a.length;u++)i(a[u])}(e,f.seq,c)}p._doc_id_rev=f.id+"::"+f.rev,delete p._id,delete p._rev;var g=s.put(p);g.onsuccess=d,g.onerror=function(e){e.preventDefault(),e.stopPropagation(),s.index("_doc_id_rev").getKey(p._doc_id_rev).onsuccess=function(e){s.put(p,e.target.result).onsuccess=d}}}!function(e,t,r){if(!e.length)return r();var n,a=0;function o(){a++,e.length===a&&(n?r(n):r())}e.forEach((function(e){var r=e.data&&e.data._attachments?Object.keys(e.data._attachments):[],a=0;if(!r.length)return o();function i(e){n=e,++a===r.length&&o()}for(var u in e.data._attachments)Object.prototype.hasOwnProperty.call(e.data._attachments,u)&&Gn(e.data._attachments[u],t,i)}))}(h,x,(function(t){if(t)return o(t);!function(){var t=sa(a,[$n,Jn,Kn,Yn,Zn,Wn],"readwrite");if(t.error)return o(t.error);(i=t.txn).onabort=ea(o),i.ontimeout=ea(o),i.oncomplete=C,u=i.objectStore($n),s=i.objectStore(Jn),c=i.objectStore(Kn),l=i.objectStore(Zn),(p=i.objectStore(Wn)).get(Wn).onsuccess=function(e){d=e.target.result,A()},function(e){var t=[];if(h.forEach((function(e){e.data&&e.data._attachments&&Object.keys(e.data._attachments).forEach((function(r){var n=e.data._attachments[r];n.stub&&t.push(n.digest)}))})),!t.length)return e();var r,n=0;t.forEach((function(a){!function(e,t){c.get(e).onsuccess=function(r){if(r.target.result)t();else{var n=ar(nr,"unknown stub attachment with digest "+e);n.status=412,t(n)}}}(a,(function(a){a&&!r&&(r=a),++n===t.length&&e(r)}))}))}((function(t){if(t)return k=!0,o(t);!function(){if(h.length)for(var t=0,a=0,o=h.length;a<o;a++){var s=h[a];s._id&&Wr(s._id)?c():u.get(s.metadata.id).onsuccess=l}function c(){++t===h.length&&function(e,t,r,n,a,o,i,u,s){e=e||1e3;var c=u.new_edits,l=new mt,p=0,f=t.length;function d(){++p===f&&s&&s()}t.forEach((function(e,t){if(e._id&&Wr(e._id)){var n=e._deleted?"_removeLocal":"_putLocal";r[n](e,{ctx:a},(function(e,r){o[t]=e||r,d()}))}else{var i=e.metadata.id;l.has(i)?(f--,l.get(i).push([e,t])):l.set(i,[[e,t]])}})),l.forEach((function(t,r){var a=0;function s(){++a<t.length?l():d()}function l(){var l=t[a],p=l[0],f=l[1];if(n.has(r))!function(e,t,r,n,a,o,i,u){if(function(e,t){for(var r,n=e.slice(),a=t.split("-"),o=parseInt(a[0],10),i=a[1];r=n.pop();){if(r.pos===o&&r.ids[0]===i)return!0;for(var u=r.ids[2],s=0,c=u.length;s<c;s++)n.push({pos:r.pos+1,ids:u[s]})}return!1}(t.rev_tree,r.metadata.rev)&&!u)return n[a]=r,o();var s=t.winningRev||Rr(t),c="deleted"in t?t.deleted:Zr(t,s),l="deleted"in r.metadata?r.metadata.deleted:Zr(r.metadata),p=/^1-/.test(r.metadata.rev);if(c&&!l&&u&&p){var f=r.data;f._rev=s,f._id=r.metadata.id,r=Vn(f,u)}var d=Jr(t.rev_tree,r.metadata.rev_tree[0],e);if(u&&(c&&l&&"new_leaf"!==d.conflicts||!c&&"new_leaf"!==d.conflicts||c&&!l&&"new_branch"===d.conflicts)){var h=ar(Gt);return n[a]=h,o()}var g=r.metadata.rev;r.metadata.rev_tree=d.tree,r.stemmedRevs=d.stemmedRevs||[],t.rev_map&&(r.metadata.rev_map=t.rev_map);var m=Rr(r.metadata),v=Zr(r.metadata,m),y=c===v?0:c<v?-1:1;i(r,m,v,g===m?v:Zr(r.metadata,g),!0,y,a,o)}(e,n.get(r),p,o,f,s,i,c);else{var d=Jr([],p.metadata.rev_tree[0],e);p.metadata.rev_tree=d.tree,p.stemmedRevs=d.stemmedRevs||[],function(e,t,r){var n=Rr(e.metadata),a=Zr(e.metadata,n);if("was_delete"in u&&a)return o[t]=ar(Vt,"deleted"),r();if(c&&function(e){return"missing"===e.metadata.rev_tree[0].ids[1].status}(e)){var s=ar(Gt);return o[t]=s,r()}i(e,n,a,a,!1,a?0:1,t,r)}(p,f,s)}}l()}))}(e.revs_limit,h,n,w,i,D,_,r,E)}function l(e){var t=ra(e.target.result);t&&w.set(t.id,t),c()}}()}))}()}))}function pa(e,t,r,n,a){var o,i,u;function s(e){i=e.target.result,o&&a(o,i,u)}function c(e){o=e.target.result,i&&a(o,i,u)}function l(e){var t=e.target.result;if(!t)return a();a([t.key],[t.value],t)}-1===n&&(n=1e3),"function"==typeof e.getAll&&"function"==typeof e.getAllKeys&&n>1&&!r?(u={continue:function(){if(!o.length)return a();var r,u=o[o.length-1];if(t&&t.upper)try{r=IDBKeyRange.bound(u,t.upper,!0,t.upperOpen)}catch(e){if("DataError"===e.name&&0===e.code)return a()}else r=IDBKeyRange.lowerBound(u,!0);t=r,o=null,i=null,e.getAll(t,n).onsuccess=s,e.getAllKeys(t,n).onsuccess=c}},e.getAll(t,n).onsuccess=s,e.getAllKeys(t,n).onsuccess=c):r?e.openCursor(t,"prev").onsuccess=l:e.openCursor(t).onsuccess=l}var fa=!1,da=[];function ha(){!fa&&da.length&&(fa=!0,da.shift()())}var ga,ma=new mt,va=new mt;function ya(e,t){var r=this;!function(t,n,o){da.push((function(){var t;t=function(e,t){!function(e,t,r,n){try{e(t,r)}catch(t){n.emit("error",t)}}(n,e,t,o),fa=!1,it()((function(){ha()}))},function(e,t,r){var n=t.name,o=null,i=null;function u(e){return function(t,r){t&&t instanceof Error&&!t.reason&&i&&(t.reason=i),e(t,r)}}function s(e,t){var r=e.objectStore($n);r.createIndex("deletedOrLocal","deletedOrLocal",{unique:!1}),r.openCursor().onsuccess=function(e){var n=e.target.result;if(n){var a=n.value,o=Zr(a);a.deletedOrLocal=o?"1":"0",r.put(a),n.continue()}else t()}}function c(e,t){var r=e.objectStore(Yn),n=e.objectStore($n),a=e.objectStore(Jn);n.openCursor().onsuccess=function(e){var o=e.target.result;if(o){var i=o.value,u=i.id,s=Wr(u),c=Rr(i);if(s){var l=u+"::"+c,p=u+"::",f=u+"::~",d=a.index("_doc_id_rev"),h=IDBKeyRange.bound(p,f,!1,!1),g=d.openCursor(h);g.onsuccess=function(e){if(g=e.target.result){var t=g.value;t._doc_id_rev===l&&r.put(t),a.delete(g.primaryKey),g.continue()}else n.delete(o.primaryKey),o.continue()}}else o.continue()}else t&&t()}}function l(e,t){var r=e.objectStore(Jn),n=e.objectStore(Kn),a=e.objectStore(Zn);n.count().onsuccess=function(e){if(!e.target.result)return t();r.openCursor().onsuccess=function(e){var r=e.target.result;if(!r)return t();for(var n=r.value,o=r.primaryKey,i=Object.keys(n._attachments||{}),u={},s=0;s<i.length;s++)u[n._attachments[i[s]].digest]=!0;var c=Object.keys(u);for(s=0;s<c.length;s++){var l=c[s];a.put({seq:o,digestSeq:l+"::"+o})}r.continue()}}}function p(e){var t=e.objectStore(Jn),r=e.objectStore($n);r.openCursor().onsuccess=function(e){var n=e.target.result;if(n){var a=function(e){return e.data?ra(e):(e.deleted="1"===e.deletedOrLocal,e)}(n.value);if(a.winningRev=a.winningRev||Rr(a),a.seq)return o();!function(){var e=a.id+"::",r=a.id+"::",n=t.index("_doc_id_rev").openCursor(IDBKeyRange.bound(e,r)),i=0;n.onsuccess=function(e){var t=e.target.result;if(!t)return a.seq=i,o();var r=t.primaryKey;r>i&&(i=r),t.continue()}}()}function o(){var e=ta(a,a.winningRev,a.deleted);r.put(e).onsuccess=function(){n.continue()}}}}e._meta=null,e._remote=!1,e.type=function(){return"idb"},e._id=qt((function(t){t(null,e._meta.instanceId)})),e._bulkDocs=function(r,n,a){la(t,r,n,e,o,u(a))},e._get=function(e,t,r){var n,a,i,u=t.ctx;if(!u){var s=sa(o,[$n,Jn,Kn],"readonly");if(s.error)return r(s.error);u=s.txn}function c(){r(i,{doc:n,metadata:a,ctx:u})}u.objectStore($n).get(e).onsuccess=function(e){if(!(a=ra(e.target.result)))return i=ar(Vt,"missing"),c();var r;if(t.rev)r=t.latest?function(e,t){for(var r,n=t.rev_tree.slice();r=n.pop();){var a=r.pos,o=r.ids,i=o[0],u=o[1],s=o[2],c=0===s.length,l=r.history?r.history.slice():[];if(l.push({id:i,pos:a,opts:u}),c)for(var p=0,f=l.length;p<f;p++){var d=l[p];if(d.pos+"-"+d.id===e)return a+"-"+i}for(var h=0,g=s.length;h<g;h++)n.push({pos:a+1,ids:s[h],history:l})}throw new Error("Unable to resolve latest revision for id "+t.id+", rev "+e)}(t.rev,a):t.rev;else if(r=a.winningRev,Zr(a))return i=ar(Vt,"deleted"),c();var o=u.objectStore(Jn),s=a.id+"::"+r;o.index("_doc_id_rev").get(s).onsuccess=function(e){if((n=e.target.result)&&(n=na(n)),!n)return i=ar(Vt,"missing"),c();c()}}},e._getAttachment=function(e,t,r,n,a){var i;if(n.ctx)i=n.ctx;else{var u=sa(o,[$n,Jn,Kn],"readonly");if(u.error)return a(u.error);i=u.txn}var s=r.digest,c=r.content_type;i.objectStore(Kn).get(s).onsuccess=function(e){aa(e.target.result.body,c,n.binary,(function(e){a(null,e)}))}},e._info=function(t){var r,n,a=sa(o,[Wn,Jn],"readonly");if(a.error)return t(a.error);var i=a.txn;i.objectStore(Wn).get(Wn).onsuccess=function(e){n=e.target.result.docCount},i.objectStore(Jn).openCursor(null,"prev").onsuccess=function(e){var t=e.target.result;r=t?t.key:0},i.oncomplete=function(){t(null,{doc_count:n,update_seq:r,idb_attachment_format:e._meta.blobSupport?"binary":"base64"})}},e._allDocs=function(e,t){!function(e,t,r){var n,a,o="startkey"in e&&e.startkey,i="endkey"in e&&e.endkey,u="key"in e&&e.key,s="keys"in e&&e.keys,c=e.skip||0,l="number"==typeof e.limit?e.limit:-1,p=!1!==e.inclusive_end;if(!s&&(n=function(e,t,r,n,a){try{if(e&&t)return a?IDBKeyRange.bound(t,e,!r,!1):IDBKeyRange.bound(e,t,!1,!r);if(e)return a?IDBKeyRange.upperBound(e):IDBKeyRange.lowerBound(e);if(t)return a?IDBKeyRange.lowerBound(t,!r):IDBKeyRange.upperBound(t,!r);if(n)return IDBKeyRange.only(n)}catch(e){return{error:e}}return null}(o,i,p,u,e.descending),(a=n&&n.error)&&("DataError"!==a.name||0!==a.code)))return r(ar(tr,a.name,a.message));var f=[$n,Jn,Wn];e.attachments&&f.push(Kn);var d=sa(t,f,"readonly");if(d.error)return r(d.error);var h=d.txn;h.oncomplete=function(){e.attachments?ia(w,e.binary).then(A):A()},h.onabort=ea(r);var g,m,v=h.objectStore($n),y=h.objectStore(Jn),b=h.objectStore(Wn),D=y.index("_doc_id_rev"),w=[];function k(t,r){var n={id:r.id,key:r.id,value:{rev:t}};r.deleted?s&&(w.push(n),n.value.deleted=!0,n.doc=null):c--<=0&&(w.push(n),e.include_docs&&function(t,r,n){var a=t.id+"::"+n;D.get(a).onsuccess=function(n){if(r.doc=na(n.target.result)||{},e.conflicts){var a=jr(t);a.length&&(r.doc._conflicts=a)}oa(r.doc,e,h)}}(r,n,t))}function x(e){for(var t=0,r=e.length;t<r&&w.length!==l;t++){var n=e[t];if(n.error&&s)w.push(n);else{var a=ra(n);k(a.winningRev,a)}}}function E(e,t,r){r&&(x(t),w.length<l&&r.continue())}function A(){var t={total_rows:g,offset:e.skip,rows:w};e.update_seq&&void 0!==m&&(t.update_seq=m),r(null,t)}b.get(Wn).onsuccess=function(e){g=e.target.result.docCount},e.update_seq&&(y.openCursor(null,"prev").onsuccess=function(e){var t=e.target.result,r=void 0;return t&&t.key&&(r=t.key),function(e){e.target.result&&e.target.result.length>0&&(m=e.target.result[0])}({target:{result:[r]}})}),a||0===l||(s?function(e,t,r){var n=new Array(e.length),a=0;e.forEach((function(o,i){t.get(o).onsuccess=function(t){t.target.result?n[i]=t.target.result:n[i]={key:o,error:"not_found"},++a===e.length&&r(e,n,{})}}))}(e.keys,v,E):-1===l?function(e,t,r){if("function"!=typeof e.getAll){var n=[];e.openCursor(t).onsuccess=function(e){var t=e.target.result;t?(n.push(t.value),t.continue()):r({target:{result:n}})}}else e.getAll(t).onsuccess=r}(v,n,(function(t){var r=t.target.result;e.descending&&(r=r.reverse()),x(r)})):pa(v,n,e.descending,l+c,E))}(e,o,u(t))},e._changes=function(t){return function(e,t,r,n){if((e=Ft(e)).continuous){var o=r+":"+Or();return ca.addListener(r,o,t,e),ca.notify(r),{cancel:function(){ca.removeListener(r,o)}}}var i=e.doc_ids&&new gt(e.doc_ids);e.since=e.since||0;var u=e.since,s="limit"in e?e.limit:-1;0===s&&(s=1);var c,l,p,f,d=[],h=0,g=ir(e),m=new mt;function v(e,t,r,n){if(r.seq!==t)return n();if(r.winningRev===e._rev)return n(r,e);var a=e._id+"::"+r.winningRev;f.get(a).onsuccess=function(e){n(r,na(e.target.result))}}function y(){e.complete(null,{results:d,last_seq:u})}var b=[$n,Jn];e.attachments&&b.push(Kn);var D=sa(n,b,"readonly");if(D.error)return e.complete(D.error);(c=D.txn).onabort=ea(e.complete),c.oncomplete=function(){!e.continuous&&e.attachments?ia(d).then(y):y()},l=c.objectStore(Jn),p=c.objectStore($n),f=l.index("_doc_id_rev"),pa(l,e.since&&!e.descending?IDBKeyRange.lowerBound(e.since,!0):null,e.descending,s,(function(t,r,n){if(n&&t.length){var o=new Array(t.length),l=new Array(t.length),f=0;r.forEach((function(r,a){!function(e,t,r){if(i&&!i.has(e._id))return r();var n=m.get(e._id);if(n)return v(e,t,n,r);p.get(e._id).onsuccess=function(a){n=ra(a.target.result),m.set(e._id,n),v(e,t,n,r)}}(na(r),t[a],(function(r,i){l[a]=r,o[a]=i,++f===t.length&&function(){for(var t=[],r=0,a=o.length;r<a&&h!==s;r++){var i=o[r];if(i){var u=l[r];t.push(y(u,i))}}Promise.all(t).then((function(t){for(var r=0,n=t.length;r<n;r++)t[r]&&e.onChange(t[r])})).catch(e.complete),h!==s&&n.continue()}()}))}))}function y(t,r){var n=e.processChange(r,t,e);u=n.seq=t.seq;var o=g(n);return"object"==a(o)?Promise.reject(o):o?(h++,e.return_docs&&d.push(n),e.attachments&&e.include_docs?new Promise((function(t){oa(r,e,c,(function(){ia([n],e.binary).then((function(){t(n)}))}))})):Promise.resolve(n)):Promise.resolve()}}))}(t,e,n,o)},e._close=function(e){o.close(),ma.delete(n),e()},e._getRevisionTree=function(e,t){var r=sa(o,[$n],"readonly");if(r.error)return t(r.error);r.txn.objectStore($n).get(e).onsuccess=function(e){var r=ra(e.target.result);r?t(null,r.rev_tree):t(ar(Vt))}},e._doCompaction=function(e,t,r){var n=sa(o,[$n,Jn,Kn,Zn],"readwrite");if(n.error)return r(n.error);var a=n.txn;a.objectStore($n).get(e).onsuccess=function(r){var n=ra(r.target.result);Pr(n.rev_tree,(function(e,r,n,a,o){var i=r+"-"+n;-1!==t.indexOf(i)&&(o.status="missing")})),ua(t,e,a);var o=n.winningRev,i=n.deleted;a.objectStore($n).put(ta(n,o,i))},a.onabort=ea(r),a.oncomplete=function(){r()}},e._getLocal=function(e,t){var r=sa(o,[Yn],"readonly");if(r.error)return t(r.error);var n=r.txn.objectStore(Yn).get(e);n.onerror=ea(t),n.onsuccess=function(e){var r=e.target.result;r?(delete r._doc_id_rev,t(null,r)):t(ar(Vt))}},e._putLocal=function(e,t,r){"function"==typeof t&&(r=t,t={}),delete e._revisions;var n=e._rev,a=e._id;e._rev=n?"0-"+(parseInt(n.split("-")[1],10)+1):"0-1";var i,u=t.ctx;if(!u){var s=sa(o,[Yn],"readwrite");if(s.error)return r(s.error);(u=s.txn).onerror=ea(r),u.oncomplete=function(){i&&r(null,i)}}var c,l=u.objectStore(Yn);n?(c=l.get(a)).onsuccess=function(a){var o=a.target.result;o&&o._rev===n?l.put(e).onsuccess=function(){i={ok:!0,id:e._id,rev:e._rev},t.ctx&&r(null,i)}:r(ar(Gt))}:((c=l.add(e)).onerror=function(e){r(ar(Gt)),e.preventDefault(),e.stopPropagation()},c.onsuccess=function(){i={ok:!0,id:e._id,rev:e._rev},t.ctx&&r(null,i)})},e._removeLocal=function(e,t,r){"function"==typeof t&&(r=t,t={});var n,a=t.ctx;if(!a){var i=sa(o,[Yn],"readwrite");if(i.error)return r(i.error);(a=i.txn).oncomplete=function(){n&&r(null,n)}}var u=e._id,s=a.objectStore(Yn),c=s.get(u);c.onerror=ea(r),c.onsuccess=function(a){var o=a.target.result;o&&o._rev===e._rev?(s.delete(u),n={ok:!0,id:u,rev:"0-0"},t.ctx&&r(null,n)):r(ar(Vt))}},e._destroy=function(e,t){ca.removeAllListeners(n);var r=va.get(n);r&&r.result&&(r.result.close(),ma.delete(n));var a=indexedDB.deleteDatabase(n);a.onsuccess=function(){va.delete(n),Pt()&&n in localStorage&&delete localStorage[n],t(null,{ok:!0})},a.onerror=ea(t)};var f=ma.get(n);if(f)return o=f.idb,e._meta=f.global,it()((function(){r(null,e)}));var d=indexedDB.open(n,5);va.set(n,d),d.onupgradeneeded=function(e){var t=e.target.result;if(e.oldVersion<1)return function(e){var t=e.createObjectStore($n,{keyPath:"id"});e.createObjectStore(Jn,{autoIncrement:!0}).createIndex("_doc_id_rev","_doc_id_rev",{unique:!0}),e.createObjectStore(Kn,{keyPath:"digest"}),e.createObjectStore(Wn,{keyPath:"id",autoIncrement:!1}),e.createObjectStore(Qn),t.createIndex("deletedOrLocal","deletedOrLocal",{unique:!1}),e.createObjectStore(Yn,{keyPath:"_id"});var r=e.createObjectStore(Zn,{autoIncrement:!0});r.createIndex("seq","seq"),r.createIndex("digestSeq","digestSeq",{unique:!0})}(t);var r=e.currentTarget.transaction;e.oldVersion<3&&function(e){e.createObjectStore(Yn,{keyPath:"_id"}).createIndex("_doc_id_rev","_doc_id_rev",{unique:!0})}(t),e.oldVersion<4&&function(e){var t=e.createObjectStore(Zn,{autoIncrement:!0});t.createIndex("seq","seq"),t.createIndex("digestSeq","digestSeq",{unique:!0})}(t);var n=[s,c,l,p],a=e.oldVersion;!function e(){var t=n[a-1];a++,t&&t(r,e)}()},d.onsuccess=function(t){(o=t.target.result).onversionchange=function(){o.close(),ma.delete(n)},o.onabort=function(e){It("error","Database has a global failure",e.target.error),i=e.target.error,o.close(),ma.delete(n)};var a,u,s,c,l=o.transaction([Wn,Qn,$n],"readwrite"),p=!1;function f(){void 0!==s&&p&&(e._meta={name:n,instanceId:c,blobSupport:s},ma.set(n,{idb:o,global:e._meta}),r(null,e))}function d(){if(void 0!==u&&void 0!==a){var e=n+"_id";e in a?c=a[e]:a[e]=c=Or(),a.docCount=u,l.objectStore(Wn).put(a)}}l.objectStore(Wn).get(Wn).onsuccess=function(e){a=e.target.result||{id:Wn},d()},function(e,t){e.objectStore($n).index("deletedOrLocal").count(IDBKeyRange.only("0")).onsuccess=function(e){!function(e){u=e,d()}(e.target.result)}}(l),ga||(ga=function(e){return new Promise((function(t){var r=wr([""]),n=e.objectStore(Qn).put(r,"key");n.onsuccess=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),r=navigator.userAgent.match(/Edge\//);t(r||!e||parseInt(e[1],10)>=43)},n.onerror=e.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)}})).catch((function(){return!1}))}(l)),ga.then((function(e){s=e,f()})),l.oncomplete=function(){p=!0,f()},l.onabort=ea(r)},d.onerror=function(e){var t=e.target.error&&e.target.error.message;t?-1!==t.indexOf("stored database is a higher version")&&(t=new Error('This DB was created with the newer "indexeddb" adapter, but you are trying to open it with the older "idb" adapter')):t="Failed to open indexedDB, are you in private browsing mode?",It("error",t),r(ar(tr,t))}}(r,e,t)})),ha()}(0,t,r.constructor)}ya.valid=function(){try{return"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}};var ba=5e3,Da={};function wa(e){var t=e.doc||e.ok,r=t&&t._attachments;r&&Object.keys(r).forEach((function(e){var t=r[e];t.data=Er(t.data,t.content_type)}))}function ka(e){return/^_design/.test(e)?"_design/"+encodeURIComponent(e.slice(8)):/^_local/.test(e)?"_local/"+encodeURIComponent(e.slice(7)):encodeURIComponent(e)}function xa(e){return e._attachments&&Object.keys(e._attachments)?Promise.all(Object.keys(e._attachments).map((function(t){var r=e._attachments[t];if(r.data&&"string"!=typeof r.data)return new Promise((function(e){_r(r.data,e)})).then((function(e){r.data=e}))}))):Promise.resolve()}function Ea(e,t){return Aa(e,e.db+"/"+t)}function Aa(e,t){var r=e.path?"/":"";return e.protocol+"://"+e.host+(e.port?":"+e.port:"")+"/"+e.path+r+t}function Ca(e){return"?"+Object.keys(e).map((function(t){return t+"="+encodeURIComponent(e[t])})).join("&")}function _a(e,t){var n=this,o=function(e,t){if(function(e){if(!e.prefix)return!1;var t=mr(e.prefix).protocol;return"http"===t||"https"===t}(t)){var r=t.name.substr(t.prefix.length);e=t.prefix.replace(/\/?$/,"/")+encodeURIComponent(r)}var n=mr(e);(n.user||n.password)&&(n.auth={username:n.user,password:n.password});var a=n.path.replace(/(^\/|\/$)/g,"").split("/");return n.db=a.pop(),-1===n.db.indexOf("%")&&(n.db=encodeURIComponent(n.db)),n.path=a.join("/"),n}(e.name,e),u=Ea(o,"");e=Ft(e);var s,c=function(){var t=i(r().mark((function t(n,a){var i,u,s,c,l;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(a=a||{}).headers=a.headers||new pn,a.credentials="include",(e.auth||o.auth)&&(i=e.auth||o.auth,u=i.username+":"+i.password,s=Dr(unescape(encodeURIComponent(u))),a.headers.set("Authorization","Basic "+s)),c=e.headers||{},Object.keys(c).forEach((function(e){a.headers.append(e,c[e])})),function(e){var t="undefined"!=typeof navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():"",r=-1!==t.indexOf("msie"),n=-1!==t.indexOf("trident"),a=-1!==t.indexOf("edge"),o=!("method"in e)||"GET"===e.method;return(r||n||a)&&o}(a)&&(n+=(-1===n.indexOf("?")?"?":"&")+"_nonce="+Date.now()),l=e.fetch||ln,t.next=6,l(n,a);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();function l(e,t){return Bt(e,(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];d().then((function(){return t.apply(this,r)})).catch((function(e){r.pop()(e)}))})).bind(n)}function p(e,t){return f.apply(this,arguments)}function f(){return f=i(r().mark((function e(t,n){var a,o,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={},(n=n||{}).headers=n.headers||new pn,n.headers.get("Content-Type")||n.headers.set("Content-Type","application/json"),n.headers.get("Accept")||n.headers.set("Accept","application/json"),e.next=4,c(t,n);case 4:return o=e.sent,a.ok=o.ok,a.status=o.status,e.next=8,o.json();case 8:if(i=e.sent,a.data=i,a.ok){e.next=11;break}throw a.data.status=a.status,or(a.data);case 11:return e.abrupt("return",(Array.isArray(a.data)&&(a.data=a.data.map((function(e){return e.error||e.missing?or(e):e}))),a));case 12:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function d(){return h.apply(this,arguments)}function h(){return h=i(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.skip_setup?Promise.resolve():s||(s=p(u).catch((function(e){return e&&e.status&&404===e.status?(Ut(404,"PouchDB is just detecting if the remote exists."),p(u,{method:"PUT"})):Promise.reject(e)})).catch((function(e){return!(!e||!e.status||412!==e.status)||Promise.reject(e)})),s.catch((function(){s=null})),s));case 1:case"end":return t.stop()}}),t)}))),h.apply(this,arguments)}function g(e){return e.split("/").map(encodeURIComponent).join("/")}it()((function(){t(null,n)})),n._remote=!0,n.type=function(){return"http"},n.id=l("id",function(){var e=i(r().mark((function e(t){var n,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c(Aa(o,""));case 3:return a=e.sent,e.next=6,a.json();case 6:n=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),n={};case 12:t(null,n&&n.uuid?n.uuid+o.db:Ea(o,""));case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}()),n.compact=l("compact",function(){var e=i(r().mark((function e(t,a){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"function"==typeof t&&(a=t,t={}),t=Ft(t),e.next=4,p(Ea(o,"_compact"),{method:"POST"});case 4:!function e(){n.info((function(r,n){n&&!n.compact_running?a(null,{ok:!0}):setTimeout(e,t.interval||200)}))}();case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()),n.bulkGet=Bt("bulkGet",(function(e,t){var n=this;function a(e){return u.apply(this,arguments)}function u(){return u=i(r().mark((function t(n){var a,i;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={},e.revs&&(a.revs=!0),e.attachments&&(a.attachments=!0),e.latest&&(a.latest=!0),t.prev=2,t.next=5,p(Ea(o,"_bulk_get"+Ca(a)),{method:"POST",body:JSON.stringify({docs:e.docs})});case 5:i=t.sent,e.attachments&&e.binary&&i.data.results.forEach((function(e){e.docs.forEach(wa)})),n(null,i.data),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),n(t.t0);case 12:case"end":return t.stop()}}),t,null,[[2,9]])}))),u.apply(this,arguments)}function s(){var r=Math.ceil(e.docs.length/50),a=0,o=new Array(r);function i(e){return function(n,i){o[e]=i.results,++a===r&&t(null,{results:ur(o)})}}for(var u=0;u<r;u++){var s=Tt(e,["revs","attachments","binary","latest"]);s.docs=e.docs.slice(50*u,Math.min(e.docs.length,50*(u+1))),Rt(n,s,i(u))}}var c=Aa(o,""),l=Da[c];"boolean"!=typeof l?a((function(e,r){e?(Da[c]=!1,Ut(e.status,"PouchDB is just detecting if the remote supports the _bulk_get API."),s()):(Da[c]=!0,t(null,r))})):l?a(t):s()})),n._info=function(){var e=i(r().mark((function e(t){var n,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d();case 3:return e.next=5,c(Ea(o,""));case 5:return n=e.sent,e.next=8,n.json();case 8:(a=e.sent).host=Ea(o,""),t(null,a),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),t(e.t0);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t){return e.apply(this,arguments)}}(),n.fetch=function(){var e=i(r().mark((function e(t,n){var a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:return a="/"===t.substring(0,1)?Aa(o,t.substring(1)):Ea(o,t),e.abrupt("return",c(a,n));case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),n.get=l("get",function(){var e=i(r().mark((function e(t,n,a){var u,s,l,f,d;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=function(e){var t,a=e._attachments,u=a&&Object.keys(a);if(a&&u.length)return t=u.map((function(t){return function(){return(u=i(r().mark((function t(i){var u,s,l,p,f,d;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=a[i],s=ka(e._id)+"/"+g(i)+"?rev="+e._rev,t.next=4,c(Ea(o,s));case 4:if(!("buffer"in(l=t.sent))){t.next=11;break}return t.next=8,l.buffer();case 8:t.t0=t.sent,t.next=14;break;case 11:return t.next=13,l.blob();case 13:t.t0=t.sent;case 14:if(p=t.t0,!n.binary){t.next=20;break}(d=Object.getOwnPropertyDescriptor(p.__proto__,"type"))&&!d.set||(p.type=u.content_type),f=p,t.next=23;break;case 20:return t.next=22,new Promise((function(e){_r(p,e)}));case 22:f=t.sent;case 23:delete u.stub,delete u.length,u.data=f;case 24:case"end":return t.stop()}}),t)}))),function(e){return u.apply(this,arguments)})(t);var u}})),new Promise((function(e,r){var n,a=0,o=0,i=0,u=t.length;function s(){++i===u?n?r(n):e():p()}function c(){a--,s()}function l(e){a--,n=n||e,s()}function p(){for(;a<5&&o<u;)a++,t[o++]().then(c,l)}p()}))},"function"==typeof n&&(a=n,n={}),u={},(n=Ft(n)).revs&&(u.revs=!0),n.revs_info&&(u.revs_info=!0),n.latest&&(u.latest=!0),n.open_revs&&("all"!==n.open_revs&&(n.open_revs=JSON.stringify(n.open_revs)),u.open_revs=n.open_revs),n.rev&&(u.rev=n.rev),n.conflicts&&(u.conflicts=n.conflicts),n.update_seq&&(u.update_seq=n.update_seq),t=ka(t),l=Ea(o,t+Ca(u)),e.prev=5,e.next=8,p(l);case 8:if(f=e.sent,e.t0=n.attachments,!e.t0){e.next=13;break}return e.next=13,d=f.data,Array.isArray(d)?Promise.all(d.map((function(e){if(e.ok)return s(e.ok)}))):s(d);case 13:a(null,f.data),e.next=19;break;case 16:e.prev=16,e.t1=e.catch(5),e.t1.docId=t,a(e.t1);case 19:case"end":return e.stop()}}),e,null,[[5,16]])})));return function(t,r,n){return e.apply(this,arguments)}}()),n.remove=l("remove",function(){var e=i(r().mark((function e(t,n,a,i){var u,s,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"string"==typeof n?(u={_id:t,_rev:n},"function"==typeof a&&(i=a,a={})):(u=t,"function"==typeof n?(i=n,a={}):(i=a,a=n)),s=u._rev||a.rev,c=Ea(o,ka(u._id))+"?rev="+s,e.prev=2,e.t0=i,e.next=6,p(c,{method:"DELETE"});case 6:e.t1=e.sent.data,(0,e.t0)(null,e.t1),e.next=13;break;case 10:e.prev=10,e.t2=e.catch(2),i(e.t2);case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,r,n,a){return e.apply(this,arguments)}}()),n.getAttachment=l("getAttachment",function(){var e=i(r().mark((function e(t,n,a,i){var u,s,l,p,f,d;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"function"==typeof a&&(i=a,a={}),u=a.rev?"?rev="+a.rev:"",s=Ea(o,ka(t))+"/"+g(n)+u,e.prev=2,e.next=5,c(s,{method:"GET"});case 5:if((p=e.sent).ok){e.next=8;break}throw p;case 8:if(l=p.headers.get("content-type"),"undefined"!=typeof process&&!process.browser&&"function"==typeof p.buffer){e.next=15;break}return e.next=12,p.blob();case 12:e.t0=e.sent,e.next=18;break;case 15:return e.next=17,p.buffer();case 17:e.t0=e.sent;case 18:if(f=e.t0,"undefined"==typeof process||process.browser){e.next=22;break}(d=Object.getOwnPropertyDescriptor(f.__proto__,"type"))&&!d.set||(f.type=l);case 22:i(null,f),e.next=28;break;case 25:e.prev=25,e.t1=e.catch(2),i(e.t1);case 28:case"end":return e.stop()}}),e,null,[[2,25]])})));return function(t,r,n,a){return e.apply(this,arguments)}}()),n.removeAttachment=l("removeAttachment",function(){var e=i(r().mark((function e(t,n,a,i){var u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=Ea(o,ka(t)+"/"+g(n))+"?rev="+a,e.prev=1,e.t0=i,e.next=5,p(u,{method:"DELETE"});case 5:e.t1=e.sent.data,(0,e.t0)(null,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),i(e.t2);case 12:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t,r,n,a){return e.apply(this,arguments)}}()),n.putAttachment=l("putAttachment",function(){var e=i(r().mark((function e(t,n,a,i,u,s){var c,l,f;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"==typeof u&&(s=u,u=i,i=a,a=null),c=ka(t)+"/"+g(n),l=Ea(o,c),a&&(l+="?rev="+a),"string"!=typeof i){e.next=12;break}e.prev=4,f=br(i),e.next=11;break;case 8:return e.prev=8,e.t0=e.catch(4),e.abrupt("return",s(ar(Wt,"Attachment is not a valid base64 string")));case 11:i=f?xr(f,u):"";case 12:return e.prev=12,e.t1=s,e.next=16,p(l,{headers:new pn({"Content-Type":u}),method:"PUT",body:i});case 16:e.t2=e.sent.data,(0,e.t1)(null,e.t2),e.next=23;break;case 20:e.prev=20,e.t3=e.catch(12),s(e.t3);case 23:case"end":return e.stop()}}),e,null,[[4,8],[12,20]])})));return function(t,r,n,a,o,i){return e.apply(this,arguments)}}()),n._bulkDocs=function(){var e=i(r().mark((function e(t,n,a){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.new_edits=n.new_edits,e.prev=1,e.next=4,d();case 4:return e.next=6,Promise.all(t.docs.map(xa));case 6:return e.t0=a,e.next=9,p(Ea(o,"_bulk_docs"),{method:"POST",body:JSON.stringify(t)});case 9:e.t1=e.sent.data,(0,e.t0)(null,e.t1),e.next=16;break;case 13:e.prev=13,e.t2=e.catch(1),a(e.t2);case 16:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(t,r,n){return e.apply(this,arguments)}}(),n._put=function(){var e=i(r().mark((function e(t,n,a){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d();case 3:return e.next=5,xa(t);case 5:return e.t0=a,e.next=8,p(Ea(o,ka(t._id)),{method:"PUT",body:JSON.stringify(t)});case 8:e.t1=e.sent.data,(0,e.t0)(null,e.t1),e.next=15;break;case 12:e.prev=12,e.t2=e.catch(0),e.t2.docId=t&&t._id,a(e.t2);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t,r,n){return e.apply(this,arguments)}}(),n.allDocs=l("allDocs",function(){var e=i(r().mark((function e(t,n){var a,i,u,s,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"function"==typeof t&&(n=t,t={}),i={},u="GET",(t=Ft(t)).conflicts&&(i.conflicts=!0),t.update_seq&&(i.update_seq=!0),t.descending&&(i.descending=!0),t.include_docs&&(i.include_docs=!0),t.attachments&&(i.attachments=!0),t.key&&(i.key=JSON.stringify(t.key)),t.start_key&&(t.startkey=t.start_key),t.startkey&&(i.startkey=JSON.stringify(t.startkey)),t.end_key&&(t.endkey=t.end_key),t.endkey&&(i.endkey=JSON.stringify(t.endkey)),void 0!==t.inclusive_end&&(i.inclusive_end=!!t.inclusive_end),void 0!==t.limit&&(i.limit=t.limit),void 0!==t.skip&&(i.skip=t.skip),s=Ca(i),void 0!==t.keys&&(u="POST",a={keys:t.keys}),e.prev=5,e.next=8,p(Ea(o,"_all_docs"+s),{method:u,body:JSON.stringify(a)});case 8:c=e.sent,t.include_docs&&t.attachments&&t.binary&&c.data.rows.forEach(wa),n(null,c.data),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),n(e.t0);case 15:case"end":return e.stop()}}),e,null,[[5,12]])})));return function(t,r){return e.apply(this,arguments)}}()),n._changes=function(e){var t="batch_size"in e?e.batch_size:25;(e=Ft(e)).continuous&&!("heartbeat"in e)&&(e.heartbeat=1e4);var n="timeout"in e?e.timeout:3e4;"timeout"in e&&e.timeout&&n-e.timeout<ba&&(n=e.timeout+ba),"heartbeat"in e&&e.heartbeat&&n-e.heartbeat<ba&&(n=e.heartbeat+ba);var u={};"timeout"in e&&e.timeout&&(u.timeout=e.timeout);var s=void 0!==e.limit&&e.limit,c=s;if(e.style&&(u.style=e.style),(e.include_docs||e.filter&&"function"==typeof e.filter)&&(u.include_docs=!0),e.attachments&&(u.attachments=!0),e.continuous&&(u.feed="longpoll"),e.seq_interval&&(u.seq_interval=e.seq_interval),e.conflicts&&(u.conflicts=!0),e.descending&&(u.descending=!0),e.update_seq&&(u.update_seq=!0),"heartbeat"in e&&e.heartbeat&&(u.heartbeat=e.heartbeat),e.filter&&"string"==typeof e.filter&&(u.filter=e.filter),e.view&&"string"==typeof e.view&&(u.filter="_view",u.view=e.view),e.query_params&&"object"==a(e.query_params))for(var l in e.query_params)Object.prototype.hasOwnProperty.call(e.query_params,l)&&(u[l]=e.query_params[l]);var f,h="GET";e.doc_ids?(u.filter="_doc_ids",h="POST",f={doc_ids:e.doc_ids}):e.selector&&(u.filter="_selector",h="POST",f={selector:e.selector});var g,m=new cn,v=function(){var n=i(r().mark((function n(i,l){var v,y;return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.aborted){r.next=2;break}return r.abrupt("return");case 2:if(u.since=i,"object"==a(u.since)&&(u.since=JSON.stringify(u.since)),e.descending?s&&(u.limit=c):u.limit=!s||c>t?t:c,v=Ea(o,"_changes"+Ca(u)),y={signal:m.signal,method:h,body:JSON.stringify(f)},g=i,e.aborted){r.next=18;break}return r.prev=5,r.next=8,d();case 8:return r.t0=l,r.next=11,p(v,y);case 11:r.t1=r.sent.data,(0,r.t0)(null,r.t1),r.next=18;break;case 15:r.prev=15,r.t2=r.catch(5),l(r.t2);case 18:case"end":return r.stop()}}),n,null,[[5,15]])})));return function(e,t){return n.apply(this,arguments)}}(),y={results:[]};return v(e.since||0,(function r(n,a){if(!e.aborted){var o=0;if(a&&a.results){o=a.results.length,y.last_seq=a.last_seq;var i=null,u=null;"number"==typeof a.pending&&(i=a.pending),"string"!=typeof y.last_seq&&"number"!=typeof y.last_seq||(u=y.last_seq),e.query_params,a.results=a.results.filter((function(t){c--;var r=ir(e)(t);return r&&(e.include_docs&&e.attachments&&e.binary&&wa(t),e.return_docs&&y.results.push(t),e.onChange(t,i,u)),r}))}else if(n)return e.aborted=!0,void e.complete(n);a&&a.last_seq&&(g=a.last_seq);var l=s&&c<=0||a&&o<t||e.descending;(!e.continuous||s&&c<=0)&&l?e.complete(null,y):it()((function(){v(g,r)}))}})),{cancel:function(){e.aborted=!0,m.abort()}}},n.revsDiff=l("revsDiff",function(){var e=i(r().mark((function e(t,n,a){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"function"==typeof n&&(a=n,n={}),e.prev=1,e.t0=a,e.next=5,p(Ea(o,"_revs_diff"),{method:"POST",body:JSON.stringify(t)});case 5:e.t1=e.sent.data,(0,e.t0)(null,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),a(e.t2);case 12:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t,r,n){return e.apply(this,arguments)}}()),n._close=function(e){e()},n._destroy=function(){var e=i(r().mark((function e(t,n){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=n,e.next=4,p(Ea(o,""),{method:"DELETE"});case 4:e.t1=e.sent,(0,e.t0)(null,e.t1),e.next=11;break;case 8:e.prev=8,e.t2=e.catch(0),404===e.t2.status?n(null,{ok:!0}):n(e.t2);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t,r){return e.apply(this,arguments)}}()}_a.valid=function(){return!0};var Fa=function(e){p(r,e);var t=b(r);function r(e){var n;u(this,r),(n=t.call(this)).status=400,n.name="query_parse_error",n.message=e,n.error=!0;try{Error.captureStackTrace(v(n),r)}catch(e){}return n}return c(r)}(m(Error)),Sa=function(e){p(r,e);var t=b(r);function r(e){var n;u(this,r),(n=t.call(this)).status=404,n.name="not_found",n.message=e,n.error=!0;try{Error.captureStackTrace(v(n),r)}catch(e){}return n}return c(r)}(m(Error)),qa=function(e){p(r,e);var t=b(r);function r(e){var n;u(this,r),(n=t.call(this)).status=500,n.name="invalid_value",n.message=e,n.error=!0;try{Error.captureStackTrace(v(n),r)}catch(e){}return n}return c(r)}(m(Error));function Ba(e,t){return t&&e.then((function(e){it()((function(){t(null,e)}))}),(function(e){it()((function(){t(e)}))})),e}function Ta(e,t){return function(){var r=arguments,n=this;return e.add((function(){return t.apply(n,r)}))}}function La(e){var t=new gt(e),r=new Array(t.size),n=-1;return t.forEach((function(e){r[++n]=e})),r}function Oa(e){var t=new Array(e.size),r=-1;return e.forEach((function(e,n){t[++r]=n})),t}function Ra(e){return new qa("builtin "+e+" function requires map values to be numbers or number arrays")}function Pa(e){for(var t=0,r=0,n=e.length;r<n;r++){var a=e[r];if("number"!=typeof a){if(!Array.isArray(a))throw Ra("_sum");t="number"==typeof t?[t]:t;for(var o=0,i=a.length;o<i;o++){var u=a[o];if("number"!=typeof u)throw Ra("_sum");void 0===t[o]?t.push(u):t[o]+=u}}else"number"==typeof t?t+=a:t[0]+=a}return t}var Na=It.bind(null,"log"),Ia=Array.isArray,ja=JSON.parse;function Ua(e,t){return vr("return ("+e.replace(/;\s*$/,"")+");",{emit:t,sum:Pa,log:Na,isArray:Ia,toJSON:ja})}var Ha=function(){function e(){u(this,e),this.promise=new Promise((function(e){e()}))}return c(e,[{key:"add",value:function(e){return this.promise=this.promise.catch((function(){})).then((function(){return e()})),this.promise}},{key:"finish",value:function(){return this.promise}}]),e}();function za(e){if(!e)return"undefined";switch(a(e)){case"function":case"string":return e.toString();default:return JSON.stringify(e)}}function Ma(e,t,r,n,a,o){return Va.apply(this,arguments)}function Va(){return Va=i(r().mark((function e(t,n,a,o,u,s){var c,l,p;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=function(e,t){return za(e)+za(t)+"undefined"}(a,o),u||!(l=t._cachedViews=t._cachedViews||{})[c]){e.next=3;break}return e.abrupt("return",l[c]);case 3:return p=t.info().then(function(){var e=i(r().mark((function e(i){var p,f,d,h;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=i.db_name+"-mrview-"+(u?"temp":Tr(c)),e.next=3,yr(t,"_local/"+s,(function(e){e.views=e.views||{};var t=n;-1===t.indexOf("/")&&(t=n+"/"+n);var r=e.views[t]=e.views[t]||{};if(!r[p])return r[p]=!0,e}));case 3:return e.next=5,t.registerDependentDatabase(p);case 5:return(f=e.sent.db).auto_compaction=!0,d={name:p,db:f,sourceDB:t,adapter:t.adapter,mapFun:a,reduceFun:o},e.prev=8,e.next=11,d.db.get("_local/lastSeq");case 11:h=e.sent,e.next=18;break;case 14:if(e.prev=14,e.t0=e.catch(8),404===e.t0.status){e.next=18;break}throw e.t0;case 18:return e.abrupt("return",(d.seq=h?h.seq:0,l&&d.db.once("destroyed",(function(){delete l[c]})),d));case 19:case"end":return e.stop()}}),e,null,[[8,14]])})));return function(t){return e.apply(this,arguments)}}()),e.abrupt("return",(l&&(l[c]=p),p));case 5:case"end":return e.stop()}}),e)}))),Va.apply(this,arguments)}var Ga={},$a=new Ha;function Ja(e){return-1===e.indexOf("/")?[e,e]:e.split("/")}function Ka(e,t,r){try{e.emit("error",t)}catch(e){It("error","The user's map/reduce function threw an uncaught error.\nYou can debug this error by doing:\nmyDatabase.on('error', function (err) { debugger; });\nPlease double-check your map/reduce function."),It("error",t,r)}}var Za=function(e,t){return Pa(t)},Wa=function(e,t){return t.length},Ya=function(e,t){return{sum:Pa(t),min:Math.min.apply(null,t),max:Math.max.apply(null,t),count:t.length,sumsqr:function(e){for(var t=0,r=0,n=e.length;r<n;r++){var a=e[r];t+=a*a}return t}(t)}},Qa=function(e,t,n,o){function u(e,t,r){try{t(r)}catch(n){Ka(e,n,{fun:t,doc:r})}}function s(e,t,r,n,a){try{return{output:t(r,n,a)}}catch(o){return Ka(e,o,{fun:t,keys:r,values:n,rereduce:a}),{error:o}}}function c(e,t){var r=xn(e.key,t.key);return 0!==r?r:xn(e.value,t.value)}function l(e,t,r){return r=r||0,"number"==typeof t?e.slice(r,t+r):r>0?e.slice(r):e}function p(e){var t=e.value;return t&&"object"==a(t)&&t._id||e.id}function f(e){return function(t){return e.include_docs&&e.attachments&&e.binary&&function(e){e.rows.forEach((function(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach((function(e){var r=t[e];t[e].data=Er(r.data,r.content_type)}))}))}(t),t}}function d(e,t,r,n){var a=t[e];void 0!==a&&(n&&(a=encodeURIComponent(JSON.stringify(a))),r.push(e+"="+a))}function h(e){if(void 0!==e){var t=Number(e);return isNaN(t)||t!==parseInt(e,10)?e:t}}function g(e,t){var r=e.descending?"endkey":"startkey",n=e.descending?"startkey":"endkey";if(void 0!==e[r]&&void 0!==e[n]&&xn(e[r],e[n])>0)throw new Fa("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&!1!==e.reduce){if(e.include_docs)throw new Fa("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new Fa("Multi-key fetches for reduce views must use {group: true}")}["group_level","limit","skip"].forEach((function(t){var r=function(e){if(e){if("number"!=typeof e)return new Fa('Invalid value for integer: "'.concat(e,'"'));if(e<0)return new Fa('Invalid value for positive integer: "'.concat(e,'"'))}}(e[t]);if(r)throw r}))}function m(e){return function(t){if(404===t.status)return e;throw t}}function v(e){var t="string"==typeof e?e:e.name,r=Ga[t];return r||(r=Ga[t]=new Ha),r}function y(e,t){return b.apply(this,arguments)}function b(){return b=i(r().mark((function e(t,n){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Ta(v(t),(function(){return(e=i(r().mark((function e(t,n){var a,o,s,l,p,f,d,h,g,v,y,b;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return b=function(e){for(var t,r=new mt,n=0,a=e.length;n<a;n++){var o=e[n],i=[o.key,o.id];n>0&&0===xn(o.key,t)&&i.push(n),r.set(An(i),o),t=o.key}return r},y=function(){return y=i(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=function(e,r){var i=e.results;if(i.length||r.length){var h,m=q(r);try{var y=function(){var e=h.value;if(i.findIndex((function(t){return t.id===e.docId}))<0){var t={_id:e.docId,doc:{_id:e.docId,_deleted:1},changes:[]};e.doc&&(t.doc=e.doc,t.changes.push({rev:e.doc._rev})),i.push(t)}};for(m.s();!(h=m.n()).done;)y()}catch(e){m.e(e)}finally{m.f()}var D=function(e){for(var r=new mt,n=0,i=e.length;n<i;n++){var s=e[n];if("_"!==s.doc._id[0]){a=[],(o=s.doc)._deleted||u(t.sourceDB,l,o),a.sort(c);var f=b(a);r.set(s.doc._id,[f,s.changes])}p=s.seq}return r}(i);g.add(f(D,p)),d+=i.length;var w={view:t.name,last_seq:e.last_seq,results_count:i.length,indexed_docs:d};return t.sourceDB.emit("indexing",w),t.sourceDB.activeTasks.update(s,{completed_items:d}),i.length<n.changes_batch_size?void 0:v()}},e.next=3,t.sourceDB.changes({return_docs:!0,conflicts:!0,include_docs:!0,style:"all_docs",since:p,limit:n.changes_batch_size});case 3:return e.t1=e.sent,e.next=6,t.db.get("_local/purgeSeq").then((function(e){return e.purgeSeq})).catch((function(e){if(e&&404!==e.status)throw e;return-1})).then((function(e){return t.sourceDB.get("_local/purges").then((function(r){var n=r.purges.filter((function(t,r){return r>e})).map((function(e){return e.docId})),a=n.filter((function(e,t){return n.indexOf(e)===t}));return Promise.all(a.map((function(e){return t.sourceDB.get(e).then((function(t){return{docId:e,doc:t}})).catch((function(t){if(404!==t.status)throw t;return{docId:e}}))})))})).catch((function(e){if(e&&404!==e.status)throw e;return[]}))}));case 6:return e.t2=e.sent,e.abrupt("return",(0,e.t0)(e.t1,e.t2));case 8:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)},v=function(){return y.apply(this,arguments)},f=function(e,n){return function(){return function(e,t,n){var a="_local/lastSeq";return e.db.get(a).catch(m({_id:a,seq:0})).then((function(a){var o=Oa(t);return Promise.all(o.map((function(n){return(a=i(r().mark((function e(t,n,a){var o,i,u,s,c,l,p;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={_id:o="_local/doc_"+t,keys:[]},u=a.get(t),s=u[0],c=u[1],e.next=7,function(e){return 1===e.length&&/^1-/.test(e[0].rev)}(c)?Promise.resolve(i):n.db.get(o).catch(m(i));case 7:return l=e.sent,e.next=10,function(e){return e.keys.length?n.db.allDocs({keys:e.keys,include_docs:!0}):Promise.resolve({rows:[]})}(l);case 10:return p=e.sent,e.abrupt("return",function(e,t){for(var r=[],n=new gt,a=0,o=t.rows.length;a<o;a++){var i=t.rows[a].doc;if(i&&(r.push(i),n.add(i._id),i._deleted=!s.has(i._id),!i._deleted)){var u=s.get(i._id);"value"in u&&(i.value=u.value)}}var c=Oa(s);return c.forEach((function(e){if(!n.has(e)){var t={_id:e},a=s.get(e);"value"in a&&(t.value=a.value),r.push(t)}})),e.keys=La(c.concat(e.keys)),r.push(e),r}(l,p));case 12:case"end":return e.stop()}}),e)}))),function(e,t,r){return a.apply(this,arguments)})(n,e,t);var a}))).then((function(t){var r=ur(t);return a.seq=n,r.push(a),e.db.bulkDocs({docs:r})})).then((function(){return function(e){return e.sourceDB.get("_local/purges").then((function(t){var r=t.purgeSeq;return e.db.get("_local/purgeSeq").then((function(e){return e._rev})).catch((function(e){if(404!==e.status)throw e})).then((function(t){return e.db.put({_id:"_local/purgeSeq",_rev:t,purgeSeq:r})}))})).catch((function(e){if(404!==e.status)throw e}))}(e)}))}))}(t,e,n)}},l=function(e,t){if("function"==typeof e&&2===e.length){var r=e;return function(e){return r(e,t)}}return Ua(e.toString(),t)}(t.mapFun,(function(e,t){var r={id:o._id,key:En(e)};null!=t&&(r.value=En(t)),a.push(r)})),p=t.seq||0,d=0,h={view:t.name,indexed_docs:d},t.sourceDB.emit("indexing",h),g=new Ha,e.prev=10,e.next=13,t.sourceDB.info().then((function(e){s=t.sourceDB.activeTasks.add({name:"view_indexing",total_items:e.update_seq-p})}));case 13:return e.next=15,v();case 15:return e.next=17,g.finish();case 17:t.seq=p,t.sourceDB.activeTasks.remove(s),e.next=24;break;case 21:e.prev=21,e.t0=e.catch(10),t.sourceDB.activeTasks.remove(s,e.t0);case 24:case"end":return e.stop()}}),e,null,[[10,21]])}))),function(t,r){return e.apply(this,arguments)})(t,n);var e}))());case 1:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function D(e,t){return Ta(v(e),(function(){return(n=i(r().mark((function e(t,n){var o,u,c,f,d,h,g,m,v,y,b,D,w,k;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(g=function(){return g=i(r().mark((function e(a){var i,f,d,h;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=u?function(e,t,r){0===r.group_level&&delete r.group_level;var n=r.group||r.group_level,a=function(e){var t=e.toString();return function(e){if(/^_sum/.test(e))return Za;if(/^_count/.test(e))return Wa;if(/^_stats/.test(e))return Ya;if(/^_/.test(e))throw new Error(e+" is not a supported reduce function.")}(t)||Ua(t)}(e.reduceFun),o=[],i=isNaN(r.group_level)?Number.POSITIVE_INFINITY:r.group_level;t.forEach((function(e){var t=o[o.length-1],r=n?e.key:null;if(n&&Array.isArray(r)&&(r=r.slice(0,i)),t&&0===xn(t.groupKey,r))return t.keys.push([e.key,e.id]),void t.values.push(e.value);o.push({keys:[[e.key,e.id]],values:[e.value],groupKey:r})})),t=[];for(var u=0,c=o.length;u<c;u++){var p=o[u],f=s(e.sourceDB,a,p.keys,p.values,!1);if(f.error&&f.error instanceof qa)throw f.error;t.push({value:f.error?null:f.output,key:p.groupKey})}return{rows:l(t,r.limit,r.skip)}}(t,a,n):void 0===n.keys?{total_rows:o,offset:c,rows:a}:{total_rows:o,offset:c,rows:l(a,n.limit,n.skip)},n.update_seq&&(i.update_seq=t.seq),!n.include_docs){e.next=7;break}return f=La(a.map(p)),e.next=4,t.sourceDB.allDocs({keys:f,include_docs:!0,conflicts:n.conflicts,attachments:n.attachments,binary:n.binary});case 4:return d=e.sent,h=new mt,e.abrupt("return",(d.rows.forEach((function(e){h.set(e.id,e.doc)})),a.forEach((function(e){var t=p(e),r=h.get(t);r&&(e.doc=r)})),i));case 7:return e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)},h=function(e){return g.apply(this,arguments)},d=function(){return d=i(r().mark((function e(n){var i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.include_docs=!0,e.next=3,t.db.allDocs(n);case 3:return i=e.sent,e.abrupt("return",(o=i.total_rows,i.rows.map((function(e){if("value"in e.doc&&"object"==a(e.doc.value)&&null!==e.doc.value){var t=Object.keys(e.doc.value).sort(),r=["id","key","value"];if(!(t<r||t>r))return e.doc.value}var n=function(e){for(var t=[],r=[],n=0;;){var a=e[n++];if("\0"!==a)switch(a){case"1":t.push(null);break;case"2":t.push("1"===e[n]),n++;break;case"3":var o=Cn(e,n);t.push(o.num),n+=o.length;break;case"4":for(var i="";;){var u=e[n];if("\0"===u)break;i+=u,n++}i=i.replace(/\u0001\u0001/g,"\0").replace(/\u0001\u0002/g,"").replace(/\u0002\u0002/g,""),t.push(i);break;case"5":var s={element:[],index:t.length};t.push(s.element),r.push(s);break;case"6":var c={element:{},index:t.length};t.push(c.element),r.push(c);break;default:throw new Error("bad collationIndex or unexpectedly reached end of input: "+a)}else{if(1===t.length)return t.pop();_n(t,r)}}}(e.doc._id);return{key:n[0],id:n[1],value:"value"in e.doc?e.doc.value:null}}))));case 5:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)},f=function(e){return d.apply(this,arguments)},u=t.reduceFun&&!1!==n.reduce,c=n.skip||0,void 0===n.keys||n.keys.length||(n.limit=0,delete n.keys),void 0===n.keys){e.next=14;break}return m=n.keys.map((function(e){var t={startkey:An([e]),endkey:An([e,{}])};return n.update_seq&&(t.update_seq=!0),f(t)})),e.t0=h,e.t1=ur,e.next=11,Promise.all(m);case 11:return e.t2=e.sent,e.t3=(0,e.t1)(e.t2),e.abrupt("return",(0,e.t0)(e.t3));case 14:return v={descending:n.descending},n.update_seq&&(v.update_seq=!0),"start_key"in n&&(y=n.start_key),"startkey"in n&&(y=n.startkey),"end_key"in n&&(b=n.end_key),"endkey"in n&&(b=n.endkey),void 0!==y&&(v.startkey=n.descending?An([y,{}]):An([y])),void 0!==b&&(D=!1!==n.inclusive_end,n.descending&&(D=!D),v.endkey=An(D?[b,{}]:[b])),void 0!==n.key&&(w=An([n.key]),k=An([n.key,{}]),v.descending?(v.endkey=w,v.startkey=k):(v.startkey=w,v.endkey=k)),u||("number"==typeof n.limit&&(v.limit=n.limit),v.skip=c),e.t4=h,e.next=21,f(v);case 21:return e.t5=e.sent,e.abrupt("return",(0,e.t4)(e.t5));case 23:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})(e,t);var n}))()}function w(){return w=i(r().mark((function t(n,o,u){var s,c,l,p,h,m,v;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n._query){t.next=2;break}return t.abrupt("return",function(e,t,r){return new Promise((function(n,a){e._query(t,r,(function(e,t){if(e)return a(e);n(t)}))}))}(n,o,u));case 2:if(!cr(n)){t.next=4;break}return t.abrupt("return",function(){var e=i(r().mark((function e(t,n,a){var o,i,u,s,c,l,p,h,g,m;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s="GET",d("reduce",a,u=[]),d("include_docs",a,u),d("attachments",a,u),d("limit",a,u),d("descending",a,u),d("group",a,u),d("group_level",a,u),d("skip",a,u),d("stale",a,u),d("conflicts",a,u),d("startkey",a,u,!0),d("start_key",a,u,!0),d("endkey",a,u,!0),d("end_key",a,u,!0),d("inclusive_end",a,u),d("key",a,u,!0),d("update_seq",a,u),u=""===(u=u.join("&"))?"":"?"+u,void 0!==a.keys&&(2e3,(c="keys=".concat(encodeURIComponent(JSON.stringify(a.keys)))).length+u.length+1<=2e3?u+=("?"===u[0]?"&":"?")+c:(s="POST","string"==typeof n?o={keys:a.keys}:n.keys=a.keys)),"string"!=typeof n){e.next=14;break}return l=Ja(n),e.next=6,t.fetch("_design/"+l[0]+"/_view/"+l[1]+u,{headers:new pn({"Content-Type":"application/json"}),method:s,body:JSON.stringify(o)});case 6:return p=e.sent,i=p.ok,e.next=10,p.json();case 10:if(h=e.sent,i){e.next=13;break}throw h.status=p.status,or(h);case 13:return e.abrupt("return",(h.rows.forEach((function(e){if(e.value&&e.value.error&&"builtin_reduce_error"===e.value.error)throw new Error(e.reason)})),new Promise((function(e){e(h)})).then(f(a))));case 14:return o=o||{},Object.keys(n).forEach((function(e){Array.isArray(n[e])?o[e]=n[e]:o[e]=n[e].toString()})),e.next=17,t.fetch("_temp_view"+u,{headers:new pn({"Content-Type":"application/json"}),method:"POST",body:JSON.stringify(o)});case 17:return g=e.sent,i=g.ok,e.next=21,g.json();case 21:if(m=e.sent,i){e.next=24;break}throw m.status=g.status,or(m);case 24:return e.abrupt("return",new Promise((function(e){e(m)})).then(f(a)));case 25:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}()(n,o,u));case 4:if(s={changes_batch_size:n.__opts.view_update_changes_batch_size||50},"string"==typeof o){t.next=7;break}return t.abrupt("return",(g(u,o),$a.add(i(r().mark((function t(){var a,i,c;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ma(n,"temp_view/temp_view",o.map,o.reduce,!0,e);case 2:return a=t.sent,t.abrupt("return",(i=y(a,s).then((function(){return D(a,u)})),c=function(){return a.db.destroy()},i.then((function(e){return c().then((function(){return e}))}),(function(e){return c().then((function(){throw e}))}))));case 4:case"end":return t.stop()}}),t)})))),$a.finish()));case 7:return l=Ja(c=o),p=l[0],h=l[1],t.next=13,n.get("_design/"+p);case 13:if(m=t.sent,o=m.views&&m.views[h]){t.next=16;break}throw new Sa("ddoc ".concat(m._id," has no view named ").concat(h));case 16:return function(e,t){var r=e.views&&e.views[t];if("string"!=typeof r.map)throw new Sa("ddoc "+e._id+" has no string view named "+t+", instead found object of type: "+a(r.map))}(m,h),g(u,o),t.next=19,Ma(n,c,o.map,o.reduce,!1,e);case 19:if(v=t.sent,"ok"!==u.stale&&"update_after"!==u.stale){t.next=24;break}t.t0=("update_after"===u.stale&&it()((function(){y(v,s)})),D(v,u)),t.next=27;break;case 24:return t.next=26,y(v,s);case 26:t.t0=D(v,u);case 27:return t.abrupt("return",t.t0);case 28:case"end":return t.stop()}}),t)}))),w.apply(this,arguments)}var k;return{query:function(e,t,r){var n=this;"function"==typeof t&&(r=t,t={}),t=t?function(e){return e.group_level=h(e.group_level),e.limit=h(e.limit),e.skip=h(e.skip),e}(t):{},"function"==typeof e&&(e={map:e});var a=Promise.resolve().then((function(){return function(e,t,r){return w.apply(this,arguments)}(n,e,t)}));return Ba(a,r),a},viewCleanup:(k=function(){var t,n,a=this;return"function"==typeof a._viewCleanup?function(e){return new Promise((function(t,r){e._viewCleanup((function(e,n){if(e)return r(e);t(n)}))}))}(a):cr(a)?(n=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.fetch("_view_cleanup",{headers:new pn({"Content-Type":"application/json"}),method:"POST"});case 2:return e.abrupt("return",e.sent.json());case 3:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})(a):(t=i(r().mark((function t(n){var a,o,i,u,s,c;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n.get("_local/"+e);case 3:return a=t.sent,o=new mt,Object.keys(a.views).forEach((function(e){var t=Ja(e),r="_design/"+t[0],n=t[1],a=o.get(r);a||(a=new gt,o.set(r,a)),a.add(n)})),i={keys:Oa(o),include_docs:!0},t.next=9,n.allDocs(i);case 9:return u=t.sent,s={},u.rows.forEach((function(e){var t=e.key.substring(8);o.get(e.key).forEach((function(r){var n=t+"/"+r;a.views[n]||(n=r);var o=Object.keys(a.views[n]),i=e.doc&&e.doc.views&&e.doc.views[r];o.forEach((function(e){s[e]=s[e]||i}))}))})),c=Object.keys(s).filter((function(e){return!s[e]})).map((function(e){return Ta(v(e),(function(){return new n.constructor(e,n.__opts).destroy()}))()})),t.abrupt("return",Promise.all(c).then((function(){return{ok:!0}})));case 16:if(t.prev=16,t.t0=t.catch(0),404!==t.t0.status){t.next=20;break}return t.abrupt("return",{ok:!0});case 20:throw t.t0;case 21:case"end":return t.stop()}}),t,null,[[0,16]])}))),function(e){return t.apply(this,arguments)})(a)},function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.pop(),a=k.apply(this,t);return"function"==typeof n&&Ba(a,n),a})}}("mrviews"),Xa={query:function(e,t,r){return Qa.query.call(this,e,t,r)},viewCleanup:function(e){return Qa.viewCleanup.call(this,e)}};function eo(e,t){var r=Object.keys(t._attachments);return Promise.all(r.map((function(r){return e.getAttachment(t._id,r,{rev:t._rev})})))}var to="pouchdb";function ro(e,t,r,n,a){return e.get(t).catch((function(r){if(404===r.status)return"http"!==e.adapter&&"https"!==e.adapter||Ut(404,"PouchDB is just checking if a remote checkpoint exists."),{session_id:n,_id:t,history:[],replicator:to,version:1};throw r})).then((function(o){if(!a.cancelled&&o.last_seq!==r)return o.history=(o.history||[]).filter((function(e){return e.session_id!==n})),o.history.unshift({last_seq:r,session_id:n}),o.history=o.history.slice(0,5),o.version=1,o.replicator=to,o.session_id=n,o.last_seq=r,e.put(o).catch((function(o){if(409===o.status)return ro(e,t,r,n,a);throw o}))}))}var no=function(){function e(t,r,n,a,o){u(this,e),this.src=t,this.target=r,this.id=n,this.returnValue=a,this.opts=o||{}}return c(e,[{key:"writeCheckpoint",value:function(e,t){var r=this;return this.updateTarget(e,t).then((function(){return r.updateSource(e,t)}))}},{key:"updateTarget",value:function(e,t){return this.opts.writeTargetCheckpoint?ro(this.target,this.id,e,t,this.returnValue):Promise.resolve(!0)}},{key:"updateSource",value:function(e,t){if(this.opts.writeSourceCheckpoint){var r=this;return ro(this.src,this.id,e,t,this.returnValue).catch((function(e){if(uo(e))return r.opts.writeSourceCheckpoint=!1,!0;throw e}))}return Promise.resolve(!0)}},{key:"getCheckpoint",value:function(){var e=this;return e.opts&&e.opts.writeSourceCheckpoint&&!e.opts.writeTargetCheckpoint?e.src.get(e.id).then((function(e){return e.last_seq||0})).catch((function(e){if(404!==e.status)throw e;return 0})):e.target.get(e.id).then((function(t){return e.opts&&e.opts.writeTargetCheckpoint&&!e.opts.writeSourceCheckpoint?t.last_seq||0:e.src.get(e.id).then((function(e){return t.version!==e.version?0:(r=t.version?t.version.toString():"undefined")in ao?ao[r](t,e):0;var r}),(function(r){if(404===r.status&&t.last_seq)return e.src.put({_id:e.id,last_seq:0}).then((function(){return 0}),(function(r){return uo(r)?(e.opts.writeSourceCheckpoint=!1,t.last_seq):0}));throw r}))})).catch((function(e){if(404!==e.status)throw e;return 0}))}}]),e}(),ao={undefined:function(e,t){return 0===xn(e.last_seq,t.last_seq)?t.last_seq:0},1:function(e,t){return(r=t,n=e,r.session_id===n.session_id?{last_seq:r.last_seq,history:r.history}:oo(r.history,n.history)).last_seq;var r,n}};function oo(e,t){var r=e[0],n=e.slice(1),a=t[0],o=t.slice(1);return r&&0!==t.length?io(r.session_id,t)?{last_seq:r.last_seq,history:e}:io(a.session_id,n)?{last_seq:a.last_seq,history:o}:oo(n,o):{last_seq:0,history:[]}}function io(e,t){var r=t[0],n=t.slice(1);return!(!e||0===t.length)&&(e===r.session_id||io(e,n))}function uo(e){return"number"==typeof e.status&&4===Math.floor(e.status/100)}function so(e,t,r,n,a){return this instanceof no?so:new no(e,t,r,n,a)}function co(e,t,r,n,a){var o,i,u,s,c=[],l={seq:0,changes:[],docs:[]},p=!1,f=!1,d=!1,h=0,g=0,m=r.continuous||r.live||!1,v=r.batch_size||100,y=r.batches_limit||10,b=r.style||"all_docs",D=!1,w=r.doc_ids,k=r.selector,x=[],E=Or();a=a||{ok:!0,start_time:(new Date).toISOString(),docs_read:0,docs_written:0,doc_write_failures:0,errors:[]};var A={};function C(){return u?Promise.resolve():function(e,t,r){var n=r.doc_ids?r.doc_ids.sort(xn):"",a=r.filter?r.filter.toString():"",o="",i="",u="";return r.selector&&(u=JSON.stringify(r.selector)),r.filter&&r.query_params&&(o=JSON.stringify(function(e){return Object.keys(e).sort(xn).reduce((function(t,r){return t[r]=e[r],t}),{})}(r.query_params))),r.filter&&"_view"===r.filter&&(i=r.view.toString()),Promise.all([e.id(),t.id()]).then((function(e){var t=e[0]+e[1]+a+i+o+n+u;return new Promise((function(e){Br(t,e)}))})).then((function(e){return"_local/"+e.replace(/\//g,".").replace(/\+/g,"_")}))}(e,t,r).then((function(a){var o;i=a,o=!1===r.checkpoint?{writeSourceCheckpoint:!1,writeTargetCheckpoint:!1}:"source"===r.checkpoint?{writeSourceCheckpoint:!0,writeTargetCheckpoint:!1}:"target"===r.checkpoint?{writeSourceCheckpoint:!1,writeTargetCheckpoint:!0}:{writeSourceCheckpoint:!0,writeTargetCheckpoint:!0},u=new so(e,t,i,n,o)}))}function _(){if(x=[],0!==o.docs.length){var e=o.docs,i={timeout:r.timeout};return t.bulkDocs({docs:e,new_edits:!1},i).then((function(t){if(n.cancelled)throw L(),new Error("cancelled");var r=Object.create(null);t.forEach((function(e){e.error&&(r[e.id]=e)}));var o=Object.keys(r).length;a.doc_write_failures+=o,a.docs_written+=e.length-o,e.forEach((function(e){var t=r[e._id];if(t){a.errors.push(t);var o=(t.name||"").toLowerCase();if("unauthorized"!==o&&"forbidden"!==o)throw t;n.emit("denied",Ft(t))}else x.push(e)}))}),(function(t){throw a.doc_write_failures+=e.length,t}))}}function F(){if(o.error)throw new Error("There was a problem getting docs.");a.last_seq=g=o.seq;var t=Ft(a);return x.length&&(t.docs=x,"number"==typeof o.pending&&(t.pending=o.pending,delete o.pending),n.emit("change",t)),p=!0,e.info().then((function(t){var r=e.activeTasks.get(s);if(o&&r){var n=r.completed_items||0,a=parseInt(t.update_seq,10)-parseInt(h,10);e.activeTasks.update(s,{completed_items:n+o.changes.length,total_items:a})}})),u.writeCheckpoint(o.seq,E).then((function(){if(n.emit("checkpoint",{checkpoint:o.seq}),p=!1,n.cancelled)throw L(),new Error("cancelled");o=void 0,N()})).catch((function(e){throw U(e),e}))}function S(){return function(e,t,r,n){r=Ft(r);var a=[],o=!0;return Promise.resolve().then((function(){var i=function(e){var t=[];return Object.keys(e).forEach((function(r){e[r].missing.forEach((function(e){t.push({id:r,rev:e})}))})),{docs:t,revs:!0,latest:!0}}(r);if(i.docs.length)return e.bulkGet(i).then((function(r){if(n.cancelled)throw new Error("cancelled");return Promise.all(r.results.map((function(r){return Promise.all(r.docs.map((function(r){var n=r.ok;return r.error&&(o=!1),n&&n._attachments?function(e,t,r){var n=cr(t)&&!cr(e),a=Object.keys(r._attachments);return n?e.get(r._id).then((function(n){return Promise.all(a.map((function(a){return function(e,t,r){return!e._attachments||!e._attachments[r]||e._attachments[r].digest!==t._attachments[r].digest}(n,r,a)?t.getAttachment(r._id,a):e.getAttachment(n._id,a)})))})).catch((function(e){if(404!==e.status)throw e;return eo(t,r)})):eo(t,r)}(t,e,n).then((function(e){var t=Object.keys(n._attachments);return e.forEach((function(e,r){var a=n._attachments[t[r]];delete a.stub,delete a.length,a.data=e})),n})):n})))}))).then((function(e){a=a.concat(ur(e).filter(Boolean))}))}))})).then((function(){return{ok:o,docs:a}}))}(e,t,o.diffs,n).then((function(e){o.error=!e.ok,e.docs.forEach((function(e){delete o.diffs[e._id],a.docs_read++,o.docs.push(e)}))}))}function q(){var e;n.cancelled||o||(0!==c.length?(o=c.shift(),n.emit("checkpoint",{start_next_batch:o.seq}),(e={},o.changes.forEach((function(t){n.emit("checkpoint",{revs_diff:t}),"_user/"!==t.id&&(e[t.id]=t.changes.map((function(e){return e.rev})))})),t.revsDiff(e).then((function(e){if(n.cancelled)throw L(),new Error("cancelled");o.diffs=e}))).then(S).then(_).then(F).then(q).catch((function(e){T("batch processing terminated with error",e)}))):B(!0))}function B(e){0!==l.changes.length?(e||f||l.changes.length>=v)&&(c.push(l),l={seq:0,changes:[],docs:[]},"pending"!==n.state&&"stopped"!==n.state||(n.state="active",n.emit("active")),q()):0!==c.length||o||((m&&A.live||f)&&(n.state="pending",n.emit("paused")),f&&L())}function T(e,t){d||(t.message||(t.message=e),a.ok=!1,a.status="aborting",c=[],l={seq:0,changes:[],docs:[]},L(t))}function L(o){if(!(d||n.cancelled&&(a.status="cancelled",p)))if(a.status=a.status||"complete",a.end_time=(new Date).toISOString(),a.last_seq=g,d=!0,e.activeTasks.remove(s,o),o){(o=ar(o)).result=a;var i=(o.name||"").toLowerCase();"unauthorized"===i||"forbidden"===i?(n.emit("error",o),n.removeAllListeners()):function(e,t,r,n){if(!1===e.retry)return t.emit("error",r),void t.removeAllListeners();if("function"!=typeof e.back_off_function&&(e.back_off_function=jt),t.emit("requestError",r),"active"===t.state||"pending"===t.state){t.emit("paused",r),t.state="stopped";var a=function(){e.current_back_off=0};t.once("paused",(function(){t.removeListener("active",a)})),t.once("active",a)}e.current_back_off=e.current_back_off||0,e.current_back_off=e.back_off_function(e.current_back_off),setTimeout(n,e.current_back_off)}(r,n,o,(function(){co(e,t,r,n)}))}else n.emit("complete",a),n.removeAllListeners()}function O(t,a,o){if(n.cancelled)return L();if("number"==typeof a&&(l.pending=a),ir(r)(t))l.seq=t.seq||o,l.changes.push(t),n.emit("checkpoint",{pending_batch:l.seq}),it()((function(){B(0===c.length&&A.live)}));else{var i=e.activeTasks.get(s);if(i){var u=i.completed_items||0;e.activeTasks.update(s,{completed_items:++u})}}}function R(e){if(D=!1,n.cancelled)return L();if(e.results.length>0)A.since=e.results[e.results.length-1].seq,N(),B(!0);else{var t=function(){m?(A.live=!0,N()):f=!0,B(!0)};o||0!==e.results.length?t():(p=!0,u.writeCheckpoint(e.last_seq,E).then((function(){if(p=!1,a.last_seq=g=e.last_seq,n.cancelled)throw L(),new Error("cancelled");t()})).catch(U))}}function P(e){if(D=!1,n.cancelled)return L();T("changes rejected",e)}function N(){if(!D&&!f&&c.length<y){D=!0,n._changes&&(n.removeListener("cancel",n._abortChanges),n._changes.cancel()),n.once("cancel",a);var t=e.changes(A).on("change",O);t.then(o,o),t.then(R).catch(P),r.retry&&(n._changes=t,n._abortChanges=a)}function a(){t.cancel()}function o(){n.removeListener("cancel",a)}}function I(t){return e.info().then((function(n){var a=void 0===r.since?parseInt(n.update_seq,10)-parseInt(t,10):parseInt(n.update_seq,10);return s=e.activeTasks.add({name:"".concat(m?"continuous ":"","replication from ").concat(n.db_name),total_items:a}),t}))}function j(){C().then((function(){if(!n.cancelled)return u.getCheckpoint().then(I).then((function(e){h=e,A={since:g=e,limit:v,batch_size:v,style:b,doc_ids:w,selector:k,return_docs:!0},r.filter&&("string"!=typeof r.filter?A.include_docs=!0:A.filter=r.filter),"heartbeat"in r&&(A.heartbeat=r.heartbeat),"timeout"in r&&(A.timeout=r.timeout),r.query_params&&(A.query_params=r.query_params),r.view&&(A.view=r.view),N()}));L()})).catch((function(e){T("getCheckpoint rejected with ",e)}))}function U(e){p=!1,T("writeCheckpoint completed with error",e)}n.ready(e,t),n.cancelled?L():(n._addedListeners||(n.once("cancel",L),"function"==typeof r.complete&&(n.once("error",r.complete),n.once("complete",(function(e){r.complete(null,e)}))),n._addedListeners=!0),void 0===r.since?j():C().then((function(){return p=!0,u.writeCheckpoint(r.since,E)})).then((function(){p=!1,n.cancelled?L():(g=r.since,j())})).catch(U))}var lo=function(e){p(r,e);var t=b(r);function r(){var e;u(this,r),(e=t.call(this)).cancelled=!1,e.state="pending";var n=new Promise((function(t,r){e.once("complete",t),e.once("error",r)}));return e.then=function(e,t){return n.then(e,t)},e.catch=function(e){return n.catch(e)},e.catch((function(){})),e}return c(r,[{key:"cancel",value:function(){this.cancelled=!0,this.state="cancelled",this.emit("cancel")}},{key:"ready",value:function(e,t){var r=this;if(!this._readyCalled){this._readyCalled=!0;var n=function(){r.cancel()};e.once("destroyed",n),t.once("destroyed",n),this.once("complete",a),this.once("error",a)}function a(){e.removeListener("destroyed",n),t.removeListener("destroyed",n)}}}]),r}(Dt());function po(e,t){var r=t.PouchConstructor;return"string"==typeof e?new r(e,t):e}function fo(e,t,r,n){if("function"==typeof r&&(n=r,r={}),void 0===r&&(r={}),r.doc_ids&&!Array.isArray(r.doc_ids))throw ar(Xt,"`doc_ids` filter parameter is not a list.");r.complete=n,(r=Ft(r)).continuous=r.continuous||r.live,r.retry="retry"in r&&r.retry,r.PouchConstructor=r.PouchConstructor||this;var a=new lo(r);return co(po(e,r),po(t,r),r,a),a}function ho(e,t,r,n){return"function"==typeof r&&(n=r,r={}),void 0===r&&(r={}),(r=Ft(r)).PouchConstructor=r.PouchConstructor||this,e=po(e,r),t=po(t,r),new go(e,t,r,n)}var go=function(e){p(r,e);var t=b(r);function r(e,n,a,o){var i;u(this,r),(i=t.call(this)).canceled=!1;var s=a.push?Ht({},a,a.push):a,c=a.pull?Ht({},a,a.pull):a;i.push=fo(e,n,s),i.pull=fo(n,e,c),i.pushPaused=!0,i.pullPaused=!0;var l=function(e){i.emit("change",{direction:"pull",change:e})},p=function(e){i.emit("change",{direction:"push",change:e})},f=function(e){i.emit("denied",{direction:"push",doc:e})},d=function(e){i.emit("denied",{direction:"pull",doc:e})},h=function(){i.pushPaused=!0,i.pullPaused&&i.emit("paused")},g=function(){i.pullPaused=!0,i.pushPaused&&i.emit("paused")},m=function(){i.pushPaused=!1,i.pullPaused&&i.emit("active",{direction:"push"})},v=function(){i.pullPaused=!1,i.pushPaused&&i.emit("active",{direction:"pull"})},y={},b=function(e){return function(t,r){("change"===t&&(r===l||r===p)||"denied"===t&&(r===d||r===f)||"paused"===t&&(r===g||r===h)||"active"===t&&(r===v||r===m))&&(t in y||(y[t]={}),y[t][e]=!0,2===Object.keys(y[t]).length&&i.removeAllListeners(t))}};function D(e,t,r){-1==e.listeners(t).indexOf(r)&&e.on(t,r)}a.live&&(i.push.on("complete",i.pull.cancel.bind(i.pull)),i.pull.on("complete",i.push.cancel.bind(i.push))),i.on("newListener",(function(e){"change"===e?(D(this.pull,"change",l),D(this.push,"change",p)):"denied"===e?(D(this.pull,"denied",d),D(this.push,"denied",f)):"active"===e?(D(this.pull,"active",v),D(this.push,"active",m)):"paused"===e&&(D(this.pull,"paused",g),D(this.push,"paused",h))})),i.on("removeListener",(function(e){"change"===e?(this.pull.removeListener("change",l),this.push.removeListener("change",p)):"denied"===e?(this.pull.removeListener("denied",d),this.push.removeListener("denied",f)):"active"===e?(this.pull.removeListener("active",v),this.push.removeListener("active",m)):"paused"===e&&(this.pull.removeListener("paused",g),this.push.removeListener("paused",h))})),i.pull.on("removeListener",b("pull")),i.push.on("removeListener",b("push"));var w=Promise.all([i.push,i.pull]).then((function(e){var t={push:e[0],pull:e[1]};return i.emit("complete",t),o&&o(null,t),i.removeAllListeners(),t}),(function(e){if(i.cancel(),o?o(e):i.emit("error",e),i.removeAllListeners(),o)throw e}));return i.then=function(e,t){return w.then(e,t)},i.catch=function(e){return w.catch(e)},i}return c(r,[{key:"cancel",value:function(){this.canceled||(this.canceled=!0,this.push.cancel(),this.pull.cancel())}}]),r}(Dt());sn.plugin((function(e){e.adapter("idb",ya,!0)})).plugin((function(e){e.adapter("http",_a,!1),e.adapter("https",_a,!1)})).plugin(Xa).plugin((function(e){e.replicate=fo,e.sync=ho,Object.defineProperty(e.prototype,"replicate",{get:function(){var e=this;return void 0===this.replicateMethods&&(this.replicateMethods={from:function(t,r,n){return e.constructor.replicate(t,e,r,n)},to:function(t,r,n){return e.constructor.replicate(e,t,r,n)}}),this.replicateMethods}}),e.prototype.sync=function(e,t,r){return this.constructor.sync(this,e,t,r)}}));var mo=sn;function vo(e){this.mode=bo.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,r=this.data.length;t<r;t++){var n=[],a=this.data.charCodeAt(t);a>65536?(n[0]=240|(1835008&a)>>>18,n[1]=128|(258048&a)>>>12,n[2]=128|(4032&a)>>>6,n[3]=128|63&a):a>2048?(n[0]=224|(61440&a)>>>12,n[1]=128|(4032&a)>>>6,n[2]=128|63&a):a>128?(n[0]=192|(1984&a)>>>6,n[1]=128|63&a):n[0]=a,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function yo(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}vo.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,r=this.parsedData.length;t<r;t++)e.put(this.parsedData[t],8)}},yo.prototype={addData:function(e){var t=new vo(e);this.dataList.push(t),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=yo.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var r=-1;r<=7;r++)if(!(e+r<=-1||this.moduleCount<=e+r))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(this.modules[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},getBestMaskPattern:function(){for(var e=0,t=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=ko.getLostPoint(this);(0==r||e>n)&&(e=n,t=r)}return t},createMovieClip:function(e,t,r){var n=e.createEmptyMovieClip(t,r);this.make();for(var a=0;a<this.modules.length;a++)for(var o=1*a,i=0;i<this.modules[a].length;i++){var u=1*i;this.modules[a][i]&&(n.beginFill(0,100),n.moveTo(u,o),n.lineTo(u+1,o),n.lineTo(u+1,o+1),n.lineTo(u,o+1),n.endFill())}return n},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=ko.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var r=0;r<e.length;r++){var n=e[t],a=e[r];if(null==this.modules[n][a])for(var o=-2;o<=2;o++)for(var i=-2;i<=2;i++)this.modules[n+o][a+i]=-2==o||2==o||-2==i||2==i||0==o&&0==i}},setupTypeNumber:function(e){for(var t=ko.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!e&&1==(t>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(r=0;r<18;r++)n=!e&&1==(t>>r&1),this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n},setupTypeInfo:function(e,t){for(var r=this.errorCorrectLevel<<3|t,n=ko.getBCHTypeInfo(r),a=0;a<15;a++){var o=!e&&1==(n>>a&1);a<6?this.modules[a][8]=o:a<8?this.modules[a+1][8]=o:this.modules[this.moduleCount-15+a][8]=o}for(a=0;a<15;a++)o=!e&&1==(n>>a&1),a<8?this.modules[8][this.moduleCount-a-1]=o:a<9?this.modules[8][15-a-1+1]=o:this.modules[8][15-a-1]=o;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var r=-1,n=this.moduleCount-1,a=7,o=0,i=this.moduleCount-1;i>0;i-=2)for(6==i&&i--;;){for(var u=0;u<2;u++)if(null==this.modules[n][i-u]){var s=!1;o<e.length&&(s=1==(e[o]>>>a&1)),ko.getMask(t,n,i-u)&&(s=!s),this.modules[n][i-u]=s,-1==--a&&(o++,a=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}}},yo.PAD0=236,yo.PAD1=17,yo.createData=function(e,t,r){for(var n=Co.getRSBlocks(e,t),a=new _o,o=0;o<r.length;o++){var i=r[o];a.put(i.mode,4),a.put(i.getLength(),ko.getLengthInBits(i.mode,e)),i.write(a)}var u=0;for(o=0;o<n.length;o++)u+=n[o].dataCount;if(a.getLengthInBits()>8*u)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*u+")");for(a.getLengthInBits()+4<=8*u&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*u||(a.put(yo.PAD0,8),a.getLengthInBits()>=8*u));)a.put(yo.PAD1,8);return yo.createBytes(a,n)},yo.createBytes=function(e,t){for(var r=0,n=0,a=0,o=new Array(t.length),i=new Array(t.length),u=0;u<t.length;u++){var s=t[u].dataCount,c=t[u].totalCount-s;n=Math.max(n,s),a=Math.max(a,c),o[u]=new Array(s);for(var l=0;l<o[u].length;l++)o[u][l]=255&e.buffer[l+r];r+=s;var p=ko.getErrorCorrectPolynomial(c),f=new Ao(o[u],p.getLength()-1).mod(p);for(i[u]=new Array(p.getLength()-1),l=0;l<i[u].length;l++){var d=l+f.getLength()-i[u].length;i[u][l]=d>=0?f.get(d):0}}var h=0;for(l=0;l<t.length;l++)h+=t[l].totalCount;var g=new Array(h),m=0;for(l=0;l<n;l++)for(u=0;u<t.length;u++)l<o[u].length&&(g[m++]=o[u][l]);for(l=0;l<a;l++)for(u=0;u<t.length;u++)l<i[u].length&&(g[m++]=i[u][l]);return g};for(var bo={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},Do={L:1,M:0,Q:3,H:2},wo={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},ko={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;ko.getBCHDigit(t)-ko.getBCHDigit(ko.G15)>=0;)t^=ko.G15<<ko.getBCHDigit(t)-ko.getBCHDigit(ko.G15);return(e<<10|t)^ko.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;ko.getBCHDigit(t)-ko.getBCHDigit(ko.G18)>=0;)t^=ko.G18<<ko.getBCHDigit(t)-ko.getBCHDigit(ko.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return ko.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,r){switch(e){case wo.PATTERN000:return(t+r)%2==0;case wo.PATTERN001:return t%2==0;case wo.PATTERN010:return r%3==0;case wo.PATTERN011:return(t+r)%3==0;case wo.PATTERN100:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case wo.PATTERN101:return t*r%2+t*r%3==0;case wo.PATTERN110:return(t*r%2+t*r%3)%2==0;case wo.PATTERN111:return(t*r%3+(t+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new Ao([1],0),r=0;r<e;r++)t=t.multiply(new Ao([1,xo.gexp(r)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case bo.MODE_NUMBER:return 10;case bo.MODE_ALPHA_NUM:return 9;case bo.MODE_8BIT_BYTE:case bo.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case bo.MODE_NUMBER:return 12;case bo.MODE_ALPHA_NUM:return 11;case bo.MODE_8BIT_BYTE:return 16;case bo.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case bo.MODE_NUMBER:return 14;case bo.MODE_ALPHA_NUM:return 13;case bo.MODE_8BIT_BYTE:return 16;case bo.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n++)for(var a=0;a<t;a++){for(var o=0,i=e.isDark(n,a),u=-1;u<=1;u++)if(!(n+u<0||t<=n+u))for(var s=-1;s<=1;s++)a+s<0||t<=a+s||0==u&&0==s||i==e.isDark(n+u,a+s)&&o++;o>5&&(r+=3+o-5)}for(n=0;n<t-1;n++)for(a=0;a<t-1;a++){var c=0;e.isDark(n,a)&&c++,e.isDark(n+1,a)&&c++,e.isDark(n,a+1)&&c++,e.isDark(n+1,a+1)&&c++,0!=c&&4!=c||(r+=3)}for(n=0;n<t;n++)for(a=0;a<t-6;a++)e.isDark(n,a)&&!e.isDark(n,a+1)&&e.isDark(n,a+2)&&e.isDark(n,a+3)&&e.isDark(n,a+4)&&!e.isDark(n,a+5)&&e.isDark(n,a+6)&&(r+=40);for(a=0;a<t;a++)for(n=0;n<t-6;n++)e.isDark(n,a)&&!e.isDark(n+1,a)&&e.isDark(n+2,a)&&e.isDark(n+3,a)&&e.isDark(n+4,a)&&!e.isDark(n+5,a)&&e.isDark(n+6,a)&&(r+=40);var l=0;for(a=0;a<t;a++)for(n=0;n<t;n++)e.isDark(n,a)&&l++;return r+Math.abs(100*l/t/t-50)/5*10}},xo={glog:function(e){if(e<1)throw new Error("glog("+e+")");return xo.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return xo.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},Eo=0;Eo<8;Eo++)xo.EXP_TABLE[Eo]=1<<Eo;for(Eo=8;Eo<256;Eo++)xo.EXP_TABLE[Eo]=xo.EXP_TABLE[Eo-4]^xo.EXP_TABLE[Eo-5]^xo.EXP_TABLE[Eo-6]^xo.EXP_TABLE[Eo-8];for(Eo=0;Eo<255;Eo++)xo.LOG_TABLE[xo.EXP_TABLE[Eo]]=Eo;function Ao(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var r=0;r<e.length&&0==e[r];)r++;this.num=new Array(e.length-r+t);for(var n=0;n<e.length-r;n++)this.num[n]=e[n+r]}function Co(e,t){this.totalCount=e,this.dataCount=t}function _o(){this.buffer=[],this.length=0}Ao.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),r=0;r<this.getLength();r++)for(var n=0;n<e.getLength();n++)t[r+n]^=xo.gexp(xo.glog(this.get(r))+xo.glog(e.get(n)));return new Ao(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=xo.glog(this.get(0))-xo.glog(e.get(0)),r=new Array(this.getLength()),n=0;n<this.getLength();n++)r[n]=this.get(n);for(n=0;n<e.getLength();n++)r[n]^=xo.gexp(xo.glog(e.get(n))+t);return new Ao(r,0).mod(e)}},Co.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],Co.getRSBlocks=function(e,t){var r=Co.getRsBlockTable(e,t);if(null==r)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var n=r.length/3,a=[],o=0;o<n;o++)for(var i=r[3*o+0],u=r[3*o+1],s=r[3*o+2],c=0;c<i;c++)a.push(new Co(u,s));return a},Co.getRsBlockTable=function(e,t){switch(t){case Do.L:return Co.RS_BLOCK_TABLE[4*(e-1)+0];case Do.M:return Co.RS_BLOCK_TABLE[4*(e-1)+1];case Do.Q:return Co.RS_BLOCK_TABLE[4*(e-1)+2];case Do.H:return Co.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},_o.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r<t;r++)this.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Fo=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function So(e){if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M"},"string"==typeof e&&(e={content:e}),e)for(var t in e)this.options[t]=e[t];if("string"!=typeof this.options.content)throw new Error("Expected 'content' as string!");if(0===this.options.content.length)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0&&this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");var r=this.options.content,n=function(e,t){for(var r=function(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}(e),n=1,a=0,o=0,i=Fo.length;o<=i;o++){var u=Fo[o];if(!u)throw new Error("Content too long: expected "+a+" but got "+r);switch(t){case"L":a=u[0];break;case"M":a=u[1];break;case"Q":a=u[2];break;case"H":a=u[3];break;default:throw new Error("Unknwon error correction level: "+t)}if(r<=a)break;n++}if(n>Fo.length)throw new Error("Content too long");return n}(r,this.options.ecl),a=function(e){switch(e){case"L":return Do.L;case"M":return Do.M;case"Q":return Do.Q;case"H":return Do.H;default:throw new Error("Unknwon error correction level: "+e)}}(this.options.ecl);this.qrcode=new yo(n,a),this.qrcode.addData(r),this.qrcode.make()}So.prototype.svg=function(e){var t=this.options||{},r=this.qrcode.modules;void 0===e&&(e={container:t.container||"svg"});for(var n=void 0===t.pretty||!!t.pretty,a=n?" ":"",o=n?"\r\n":"",i=t.width,u=t.height,s=r.length,c=i/(s+2*t.padding),l=u/(s+2*t.padding),p=void 0!==t.join&&!!t.join,f=void 0!==t.swap&&!!t.swap,d=void 0===t.xmlDeclaration||!!t.xmlDeclaration,h=void 0!==t.predefined&&!!t.predefined,g=h?a+'<defs><path id="qrmodule" d="M0 0 h'+l+" v"+c+' H0 z" style="fill:'+t.color+';shape-rendering:crispEdges;" /></defs>'+o:"",m=a+'<rect x="0" y="0" width="'+i+'" height="'+u+'" style="fill:'+t.background+';shape-rendering:crispEdges;"/>'+o,v="",y="",b=0;b<s;b++)for(var D=0;D<s;D++)if(r[D][b]){var w=D*c+t.padding*c,k=b*l+t.padding*l;if(f){var x=w;w=k,k=x}if(p){var E=c+w,A=l+k;w=Number.isInteger(w)?Number(w):w.toFixed(2),k=Number.isInteger(k)?Number(k):k.toFixed(2),E=Number.isInteger(E)?Number(E):E.toFixed(2),y+="M"+w+","+k+" V"+(A=Number.isInteger(A)?Number(A):A.toFixed(2))+" H"+E+" V"+k+" H"+w+" Z "}else v+=h?a+'<use x="'+w.toString()+'" y="'+k.toString()+'" href="#qrmodule" />'+o:a+'<rect x="'+w.toString()+'" y="'+k.toString()+'" width="'+c+'" height="'+l+'" style="fill:'+t.color+';shape-rendering:crispEdges;"/>'+o}p&&(v=a+'<path x="0" y="0" style="fill:'+t.color+';shape-rendering:crispEdges;" d="'+y+'" />');var C="";switch(e.container){case"svg":d&&(C+='<?xml version="1.0" standalone="yes"?>'+o),C+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+i+'" height="'+u+'">'+o,C+=g+m+v,C+="</svg>";break;case"svg-viewbox":d&&(C+='<?xml version="1.0" standalone="yes"?>'+o),C+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 '+i+" "+u+'">'+o,C+=g+m+v,C+="</svg>";break;case"g":C+='<g width="'+i+'" height="'+u+'">'+o,C+=g+m+v,C+="</g>";break;default:C+=(g+m+v).replace(/^\s+/,"")}return C},So.prototype.save=function(e,t){var r=this.svg();"function"!=typeof t&&(t=function(e,t){});try{require("fs").writeFile(e,r,t)}catch(e){t(e)}},"undefined"!=typeof module&&(module.exports=So);var qo=So,Bo=function(){function e(){var t=this;if(u(this,e),l(this,"triggernextloginphase",new $e),l(this,"triggernextloginphase2",new $e),l(this,"scanqrcode",new $e),l(this,"preferredlanguage",""),l(this,"selectedVoiceName",""),l(this,"isSpeakingEnabled",!0),l(this,"voices",void 0),l(this,"translationlanguage",""),l(this,"translatorvoice",void 0),l(this,"dynamicUI",function(){var e={};return{renderHTML:function(e,t,r){if(document.getElementById(e).innerHTML=t,r){var n=document.createElement("style");n.innerHTML=r,document.head.appendChild(n)}},addEvent:function(t,n,a){e[t]=n,n.subscribe(i(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:case"end":return e.stop()}}),e)}))))},triggerEvent:function(t){e[t]&&e[t].next(t)}}}()),this.user={globalKeys:void 0,globalKeydata:"",loginphase:0,db:new mo("hexaeightdefault"),gdb:new mo("HECachedPouch"),authdb:new mo("hexaeightauthdefault"),AIResponse:"AI Response",userEngagementAreaElementId:""},("SpeechRecognition"in window||"webkitSpeechRecognition"in window)&&(this.voices=window.speechSynthesis.getVoices()),window.name.toString().startsWith("hesess-"))try{this.id=window.name,window.auth.user.HexaEight.Login(this.id,"IS-USER-LOGGED-IN","").then((function(e){"False"==e?(t.UserLoggedIn=!1,t.id="hesess-"+Math.floor(1e18*Math.random()),t.user.loginphase=0):(t.UserLoggedIn=!0,t.id=window.name,t.user.loginphase=6)}))}catch(e){this.id="hesess-"+Math.floor(1e18*Math.random()),this.UserLoggedIn=!1,this.user.loginphase=0}else this.id="hesess-"+Math.floor(1e18*Math.random()),this.UserLoggedIn=!1,this.user.loginphase=0;this.sleep=function(e){return new Promise((function(t){return setTimeout(t,e)}))},this.tokenserver=null,this.ready=i(r().mark((function e(){var n,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=window.auth.ready(),e.next=4,t.sleep(5e3);case 4:return a={},e.abrupt("return",Promise.race([n,a]).then((function(e){return e===a?"pending":"fulfilled"}),(function(){return"rejected"})));case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",new Promise((function(e){e(!1)})));case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))}var t,n,o,s,p,f,d,h,g,m,v,y,b,D,w,x,E,A,C,_,F,S,q,B,T,L,R,P,N,I,j,U,H,z,M,V,G;return c(e,[{key:"encryptAndStoreKeys",value:(G=i(r().mark((function e(t,n){var a,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.user.globalKeys){e.next=17;break}return e.prev=1,e.next=4,this.user.gdb.get(n.toString());case 4:if(!(a=e.sent)||!a.keys){e.next=9;break}this.user.globalKeys=a.keys,e.next=11;break;case 9:return e.next=11,this.storeKeysInPouchDB(n.toString());case 11:e.next=17;break;case 13:return e.prev=13,e.t0=e.catch(1),e.next=17,this.storeKeysInPouchDB(n.toString());case 17:return o=(new TextEncoder).encode(t).buffer,e.next=20,this.encrypt(o,this.user.globalKeys);case 20:return e.abrupt("return",e.sent);case 21:case"end":return e.stop()}}),e,this,[[1,13]])}))),function(e,t){return G.apply(this,arguments)})},{key:"loadKeysFromPouchDB",value:(V=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.user.gdb.get(t.toString());case 3:(n=e.sent)&&n.keys&&(this.user.globalKeys=n.keys),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e){return V.apply(this,arguments)})},{key:"storeKeysInPouchDB",value:(M=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.makeKeys();case 3:return n=e.sent,e.next=6,this.user.gdb.put({_id:t.toString(),keys:n});case 6:this.user.globalKeys=n,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("Error storing keys in PouchDB:",e.t0);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return M.apply(this,arguments)})},{key:"loadKeyDecryptData",value:(z=i(r().mark((function e(t){var n,a,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.user.gdb.get(t.toString());case 3:if(!((n=e.sent)&&n.keys&&n.encrypted)){e.next=8;break}return a=n.keys,o=n.encrypted,e.next=8,this.decrypt(o,a);case 8:e.next=12;break;case 10:e.prev=10,e.t0=e.catch(0);case 12:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(e){return z.apply(this,arguments)})},{key:"retrieveKeysAndDecrypt",value:(H=i(r().mark((function e(t,n){var a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.user.globalKeys){e.next=7;break}return e.next=3,this.user.gdb.get(n.toString());case 3:if((a=e.sent)&&a.keys){e.next=6;break}return e.abrupt("return",void console.error("Keys not found. Please run encryptAndStoreKeys first."));case 6:this.user.globalKeys=a.keys;case 7:return e.next=9,this.decrypt(t,this.user.globalKeys);case 9:case"end":return e.stop()}}),e,this)}))),function(e,t){return H.apply(this,arguments)})},{key:"makeData",value:function(){return window.crypto.getRandomValues(new Uint8Array(16))}},{key:"encrypt",value:(U=i(r().mark((function e(t,n){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.crypto.subtle.encrypt({name:"RSA-OAEP"},n.publicKey,t));case 1:case"end":return e.stop()}}),e)}))),function(e,t){return U.apply(this,arguments)})},{key:"decrypt",value:(j=i(r().mark((function e(t,n){var a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.crypto.subtle.decrypt({name:"RSA-OAEP"},n.privateKey,t);case 2:return a=e.sent,e.abrupt("return",(new TextDecoder).decode(new Uint8Array(a)));case 4:case"end":return e.stop()}}),e)}))),function(e,t){return j.apply(this,arguments)})},{key:"makeKeys",value:function(){return window.crypto.subtle.generateKey({name:"RSA-OAEP",modulusLength:2048,publicExponent:new Uint8Array([1,0,1]),hash:{name:"SHA-256"}},!1,["encrypt","decrypt"])}},{key:"InitializeIdentity",value:(I=i(r().mark((function e(){var t,n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new URLSearchParams(window.location.search).get("userid")||0,e.next=3,this.encryptAndStoreKeys("Hello",t.toString());case 3:return n=e.sent,e.next=6,this.retrieveKeysAndDecrypt(n,t);case 6:case"end":return e.stop()}}),e,this)}))),function(){return I.apply(this,arguments)})},{key:"createModal",value:function(e){var t=document.createElement("div");t.id="user-EngagementArea",t.style.position="fixed",t.style.left="0",t.style.top="0",t.style.width="100%",t.style.height="100%",t.style.backgroundColor="rgba(0,0,0,0.5)",t.style.display="flex",t.style.justifyContent="center",t.style.alignItems="center",t.style.zIndex="1000";var r=document.createElement("div");r.style.backgroundColor="#fff",r.style.padding="20px",r.style.borderRadius="10px",r.style.boxShadow="0 4px 8px rgba(0, 0, 0, 0.1)",r.innerHTML=e,t.appendChild(r),document.body.appendChild(t),r.innerHTML='\n <div id="userEngagementContainerDIV" class="user-container"></div>\n <div id="chatContainerDivID" class="chat-container">\n <div id="message-container"></div>\n </div>\n <div class="container">\n <textarea id="messageInput" placeholder="Type your message..."></textarea>\n <div class="button-container">\n <button id="talkButton">Talk</button>\n <button id="sendButton">Send</button>\n </div>\n </div>\n <div class="button-container">\n <button id="muteButton">Mute</button>\n <button id="speakerButton">Speak</button>\n <select id="languageDropdown"></select>\n </div>\n '}},{key:"closeModal",value:function(){var e=document.getElementById("user-EngagementArea");e&&document.body.removeChild(e)}},{key:"init",value:(N=i(r().mark((function e(t,n,a){var o,u,s,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(o=document.createElement("div")).id="user-EngagementArea",o.style.position="fixed",o.style.left="0",o.style.top="0",o.style.width="100%",o.style.height="100%",o.style.backgroundColor="rgba(0,0,0,0.5)",o.style.display="flex",o.style.justifyContent="center",o.style.alignItems="center",o.style.zIndex="1000",null==a&&(a="userEngagementContainerDIV"),(u=document.createElement("div")).style.backgroundColor="#fff",u.style.padding="20px",u.style.borderRadius="10px",u.style.boxShadow="0 4px 8px rgba(0, 0, 0, 0.1)",u.style.width="80%",u.style.maxWidth="600px",u.style.height="80%",u.style.maxHeight="600px",u.style.overflowY="auto",u.style.display="flex",u.style.flexDirection="column",o.appendChild(u),document.body.appendChild(o),u.innerHTML='\n <div id="userEngagementContainerDIV" class="user-container" style="flex: 1; overflow-y: auto;"></div>\n <div id="chatContainerDivID" class="chat-container" style="flex: 1; border: 1px solid #ccc; padding: 15px; overflow-y: auto; background-color: #f9f9f9;">\n <div id="message-container"></div>\n </div>\n <div class="container" style="margin-top: 10px;">\n <textarea id="messageInput" placeholder="Type your message..." style="width: 100%; height: 60px; padding: 10px; box-sizing: border-box;"></textarea>\n <div class="button-container" style="margin-top: 10px; display: flex; justify-content: space-between;">\n <button id="talkButton" style="padding: 10px; flex: 1; margin-right: 10px;">Talk</button>\n <button id="sendButton" style="padding: 10px; flex: 1;">Send</button>\n </div>\n </div>\n <div class="button-container" style="margin-top: 10px; display: flex; justify-content: space-between;">\n <button id="muteButton" style="padding: 10px; flex: 1; margin-right: 10px;">Mute</button>\n <button id="speakerButton" style="padding: 10px; flex: 1;">Speak</button>\n <select id="languageDropdown" style="padding: 10px; flex: 1; margin-left: 10px;"></select>\n </div>\n ',s=!1,null==a&&(a="userEngagementContainerDIV"),e.next=8,this.init2(t,n,a);case 8:return e.next=10,this.ready();case 10:s=e.sent,c=this,at.init({chatContainerId:"chatContainerDivID",session:c,messageCallback:function(){var e=i(r().mark((function e(t,n){var a,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,session.DecipherMessage(t);case 3:if(a=e.sent,"RENDER"!==JSON.parse(a).BODY){e.next=11;break}return e.t0=JSON,e.next=8,session.DecipherMessage(n);case 8:e.t1=e.sent,o=e.t0.parse.call(e.t0,e.t1).BODY,new Function("(async () => { ".concat(o," })();"))();case 11:e.next=16;break;case 13:e.prev=13,e.t2=e.catch(0),console.error("Error in message callback:",e.t2);case 16:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(t,r){return e.apply(this,arguments)}}()}),at.setPreferredLanguage("en-US",document.getElementById("languageDropdown")),document.getElementById("sendButton").addEventListener("click",i(r().mark((function e(){var t,n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=document.getElementById("messageInput"),n=t.value,e.t0=s&&""!==n,!e.t0){e.next=6;break}return e.next=5,c.EngageAI(n);case 5:t.value="";case 6:case"end":return e.stop()}}),e)}))));case 13:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return N.apply(this,arguments)})},{key:"init2",value:(P=i(r().mark((function e(t,n,a){var o,u,s,c,l,p=this;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.addEventListener("beforeunload",(function(e){return e.preventDefault(),e.returnValue=""})),this.user.userEngagementAreaElementId=a,e.prev=1,6!=this.user.loginphase){e.next=4;break}return e.abrupt("return",(this.tokenserver=n,this.UserLoggedIn=!0,window.addEventListener("beforeunload",(function(e){e.preventDefault(),e.returnValue=""})),"function"==typeof callback&&callback(),new Promise((function(e){e("Ok")}))));case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:window.name=this.id,this.tokenserver=n,o=self.location.pathname.substring(0,self.location.pathname.lastIndexOf("/")),u=new Blob(['\n\t\t\t\timportScripts("https://unpkg.com/comlink/dist/umd/comlink.js");\n\t\t\t\timportScripts("https://cdnjs.cloudflare.com/ajax/libs/pouchdb/7.2.2/pouchdb.min.js");\n\n\n\t\t\t\tvar importblob = new Blob([`importScripts("https://cdn.jsdelivr.net/gh/hexaeightteam/hexaeight-session-library-js/dotnet.js");`], { type: "text/javascript" });\n\n\t\t\t\tconst importobjectURL = URL.createObjectURL(importblob);\n\t\t\t\timportScripts(importobjectURL);\n\n\t\t\t\tconst sleep = ms => new Promise(r => setTimeout(r, ms));\n\t\t\t\tconst session = {\n\t\t\t\t\tisready: false,\n\t\t\t\t\tglobalKeys: undefined,\n \t\t\t\tglobalKeydata: "",\n\t\t\t\t\tKeydata: "",\n\t\t\t\t\tinstanceid: "", \t\t\t\t\n\t\t\t\t\tuser: dotnet,\n\t\t\t\t\thttpclient: null,\n\t\t\t\t\tgdb : new PouchDB(\'HECachedPouch\'),\n\t\t\t\t\tkdb : new PouchDB(\'HEMetaPouch\'),\n\t\t\t\t\tdb : new PouchDB(\'hexaeightdefault\'),\n\t\t\t\t\tauthdb : new PouchDB(\'hexaeightauthdefault\'),\n\t\t\t\t\tready() {\n\t\t\t\t\t\treturn this.isready;\n\t\t\t\t\t},\n\t\t\t\t\t\n\n\n\n\t\t\t\t};\n\n\n\n\nasync function loadPublicKeyFromIndexedDB(iid,pouchdb) {\n return new Promise(async (resolve, reject) => {\n try {\n //console.log(iid);\n\n // Use PouchDB API to get data\n const result = await pouchdb.get(iid.toString());\n\n if (result && result.keys && result.keys.publicKey) {\n // Convert the public key to JWK format\n const exportedPublicKey = await self.crypto.subtle.exportKey("jwk", result.keys.publicKey);\n resolve(JSON.stringify(exportedPublicKey));\n } else {\n reject("Public key not found in PouchDB.");\n }\n } catch (error) {\n reject("Error loading public key from PouchDB: " + error);\n }\n });\n}\n\n\n\n\nasync function loadKeysFromIndexedDB(iid, pouchdb) {\n return new Promise(async (resolve, reject) => {\n try {\n //console.log(iid);\n \n // Use PouchDB API to get data\n const result = await pouchdb.get(iid.toString());\n\n if (result && result.keys && result.keys.publicKey) {\n // Convert the public key to JWK format\n const exportedPublicKey = await self.crypto.subtle.exportKey("jwk", result.keys.publicKey);\n resolve(result.keys);\n } else {\n reject("Keys not found in PouchDB.");\n }\n } catch (error) {\n reject("Error loading keys from PouchDB: " + error);\n }\n });\n}\n\nasync function removeKeysFromIndexedDB(iid, pouchdb) {\n return new Promise(async (resolve, reject) => {\n try {\n //console.log(iid);\n \n // Use PouchDB API to get data\n const result = await pouchdb.remove(iid.toString());\n resolve("Ok");\n } catch (error) {\n reject(error);\n }\n });\n}\n\n\n\n\t\t\t\t\tasync function SaveKeyData(instanceid, data) {\n\t\t\t\t\t\t\tsession.instanceid = instanceid;\n\t\t\t\t\t\t\tsession.globalkeys = await loadKeysFromIndexedDB(session.instanceid.toString(),session.gdb);\n\t\t\t\t\t\t\tsession.globalKeydata = await loadPublicKeyFromIndexedDB(session.instanceid.toString(),session.gdb);\n\n\t\t\t\t\t\t\t//console.log(instanceid);\n\t\t\t\t\t\t\t//console.log(data);\n\t\t\t\t\t\t\t//console.log(session.globalkeys.privateKey.extractable);\n\t\t\t\t\t\t\t//console.log(session.globalkeys);\n\t\t\t\t\t\t\t//console.log(session.globalKeydata);\n\n\t\t\t\t\t\t\tif (!session.globalkeys.privateKey.extractable && JSON.stringify(await self.crypto.subtle.exportKey("jwk", session.globalkeys.publicKey)) === JSON.stringify(JSON.parse(session.globalKeydata))) {\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t // Fetch the existing document to get the current revision\n \t\t\t\t\t\t\t\ttry {\n\n\t\t\t\t\t\t\t\t\tlet parts = data.split("!");\n\t\t\t\t\t\t\t\t\tvar dataE = new TextEncoder().encode(parts[2]).buffer;\n\t\t\t\t\t\t\t\t\tvar buffer = await self.crypto.subtle.encrypt(\n\t\t\t\t\t\t\t\t \t{\n\t\t\t\t\t\t\t\t \t\tname: "RSA-OAEP",\n\t\t\t\t\t\t\t\t \t},\n\t\t\t\t\t\t\t\t \tsession.globalkeys.publicKey,\n\t\t\t\t\t\t\t\t \tdataE\n\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t var keydata = btoa(String.fromCharCode.apply(null, new Uint8Array(await self.crypto.subtle.digest(\'SHA-512\', new TextEncoder().encode(instanceid).buffer))))\n\n\t\t\t\t\t\t\t\t var base64Data = parts[0] + "!" + parts[1] + "!" + btoa(String.fromCharCode.apply(null, new Uint8Array(buffer)));\n\n\n\t\t\t\t\t\t\t\t let existingDocument;\n\n\t\t\t\t\t\t\t\t try { session.kdb.remove(keydata.toString()); } catch(error) { };\n\n\t\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t\t try {\n\t\t\t\t\t\t\t existingDocument = session.kdb.get(keydata.toString()).then(function(doc) {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\treturn session.kdb.put({\n\t\t\t\t\t\t\t\t\t _id: keydata.toString(),\n\t\t\t\t\t\t\t\t\t\t\t_rev: doc._rev,\n\t\t\t\t\t\t\t\t\t data: base64Data\n\t\t\t\t\t\t\t\t\t\t});\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}).then(function(response) {\n\t\t\t\t\t\t\t\t\t console.log("Identity Validation Completed.");\n\t\t\t\t\t\t\t\t\t}).catch(function(err) {\n\n\t\t\t\t\t\t\t\t if (err.status === 404) {\n\t\t\t\t\t\t\t\t\t session.kdb.put({\n\t\t\t\t\t\t\t\t\t _id: keydata.toString(),\n\t\t\t\t\t\t\t\t\t data: base64Data\n\t\t\t\t\t\t\t\t\t });\n\t\t\t\t\t\t\t\t\t\t console.log("Identity Validation Completed...");\n\t\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t\t\t});\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t } catch (error) {\n\n\t\t\t\t\t\t\t\t\tconsole.log(error);\n\t\t\t\t\t\t\t if (error.status === 404) {\n\t\t\t\t\t\t\t\t\t var key = btoa(String.fromCharCode.apply(null, new Uint8Array(await self.crypto.subtle.digest(\'SHA-512\', new TextEncoder().encode(instanceid).buffer))))\n\t\t\t\t\t\t\t\t await session.kdb.put({\n\t\t\t\t\t\t\t\t _id: key.toString(),\n\t\t\t\t\t\t\t\t data: base64Data\n\t\t\t\t\t\t\t\t });\n\t\t\t\t\t\t\t\t\t console.log("Identity Validation Completed");\n\t\t\t\t\t\t\t } \n \t\t\t\t\t\t\t }\n\n\t\t\t\t\t\t\t\t\treturn "0";\n\n \t\t\t\t\t\t\t\t} catch (error) {\n \t\t\t\t\t\t\t\tconsole.log(error);\n\t\t\t\t\t\t\t\t\treturn "-1";\n\n \t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\n\nasync function FetchAndDecryptKeyData(instanceid) {\n try {\n\t\t\tsession.globalkeys = await loadKeysFromIndexedDB(instanceid,session.gdb);\n\t\t\tsession.globalKeydata = await loadPublicKeyFromIndexedDB(instanceid,session.gdb);\n\n } catch(err) {\n\tconsole.log(err);\n }\n try {\n var keydata = btoa(String.fromCharCode.apply(null, new Uint8Array(await self.crypto.subtle.digest(\'SHA-512\', new TextEncoder().encode(instanceid).buffer))));\n var doc = await session.kdb.get(keydata.toString());\n\n if (doc && doc.data) {\n\t let parts = doc.data.split("!");\n\t var dataE = new Uint8Array(atob(parts[2]).split(\'\').map(function(c) { return c.charCodeAt(0); }));\n\n var decryptedBuffer = await self.crypto.subtle.decrypt(\n {\n name: "RSA-OAEP",\n },\n session.globalkeys.privateKey,\n dataE\n );\n var decryptedData = new TextDecoder().decode(decryptedBuffer);\n session.Keydata = parts[0] + "!" + parts[1] + "!" + decryptedData.trim();\n } else {\n //console.log("No data found for instance ID:", instanceid);\n session.Keydata = "";\n }\n } catch (error) {\n console.log(error);\n session.Keydata = "";\n }\n}\n\n\n\t\t\t\t\tasync function LoadKeys(instanceid) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tsession.instanceid = instanceid;\n\t\t\t\t\t\t\tsession.globalkeys = await loadKeysFromIndexedDB(session.instanceid.toString(),session.gdb);\n\t\t\t\t\t\t\tsession.globalKeydata = await loadPublicKeyFromIndexedDB(session.instanceid.toString(),session.gdb);\n\t\t\t\t\t\t\tif (!session.globalkeys.privateKey.extractable && JSON.stringify(await self.crypto.subtle.exportKey("jwk", session.globalkeys.publicKey)) === JSON.stringify(JSON.parse(session.globalKeydata))) {\n\t\t\t\t\t\t\t\t//console.log(new Date().getTime().toString());\n\t\t\t\t\t\t\t\tvar entropydata = await fetchEntropyCode(instanceid);\n\t\t\t\t\t\t\t\tif (entropydata != 0) {\n\t\t\t\t\t\t\t\t//console.log(entropydata.toString());\n\t\t\t\t\t\t\t\treturndata = await session.user.HexaEight.ValidatePK(instanceid, JSON.stringify(JSON.parse(session.globalKeydata)), entropydata.toString(), session.Keydata );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tawait removeKeysFromIndexedDB(session.instanceid.toString(),session.gdb);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tawait removeKeysFromIndexedDB(session.instanceid.toString(),session.gdb);\n\t\t\t\t\t\t\t} \n\t\t\t\t\n\n\t\t\t\t\t\t} catch(error) { console.log("Warning : Crypto Subtle Not Supported On This Browser inside Workers" + error); }\n\n\t\t\t\t\t}\n\t\n\t\t\t\t\tasync function SaveToCache(data) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t//console.log("Data Save");\n\t\t\t\t\t\t//console.log(data);\n \t\t\t\t\t\ttry {\n\n \t\t\t\t\t\t\tconst messageId = Date.now().toString();\n\t\t\t\t\t\t\tconst message = {\n\t\t\t\t\t\t\t\t_id: messageId,\t\t\t\n\t\t\t\t\t\t\t\tcache: data,\t\t\t\t\n\t\t\t\t\t\t\t\ttimestamp: Date.now(),\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tawait session.udb.put(message);\n\n\t\t \t\t\t\t} catch (error) {\t\t\t\n\t\t\t\t\t\t\tconsole.error(\'Error saving message:\', error);\n \t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t\tasync function fetchEntropyCode(id) {\n\t\t\t\t\t try {\n\t\t\t\t\t\t// Open the cache\n\t\t\t\t\t\tconst cache = await caches.open("EntropyData");\n\n\t\t\t\t\t\t// Check if the response is already in the cache\n\t\t\t\t\t\tconst cachedResponse = await cache.match(self.location.origin + \''.concat(o,"' + \"/dotnet.js.map\" + \"?userid=\" + id);\n\n\t\t\t\t\t\t//const cachedResponse = await cache.match(self.location.origin + self.location.pathname.substring(0, self.location.pathname.lastIndexOf('/')) + \"/dotnet.js.map\" + \"?userid=\" + id);\n\n\t\t\t\t\t\t//console.log(self.location);\n\t\t\t\t\t\tif (cachedResponse) {\n\t\t\t\t\t\t // Extract timestamp from the cached response headers\n\t\t\t\t\t\t const cachedTimestamp = cachedResponse.headers.get('X-Cache-Timestamp');\n\t\t\t\t\t\t //console.log('Resource found in cache. Cached timestamp:', cachedTimestamp);\n\n\t\t\t\t\t\t // Calculate the time difference\n\t\t\t\t\t\t //const cachedDate = new Date(cachedTimestamp);\n\t\t\t\t\t\t const currentDate = new Date().getTime();\n\t\t\t\t\t\t const timeDifference = currentDate - cachedTimestamp;\n\t\t\t\t\t\t //console.log('Elapsed time since caching:', timeDifference, 'milliseconds');\n\n\t\t\t\t\t\t if (timeDifference > 86400 * 1000) { // Check if time difference is greater than 120 seconds\n\t\t\t\t\t\t\t//console.log('Cache older than 120 seconds. Deleting cache and fetching again.');\n\n\t\t\t\t\t\t\t// Delete the cache\n\t\t\t\t\t\t\tawait cache.delete(self.location.origin + '").concat(o,'\' + "/dotnet.js.map" + + "?userid=" + id);\n\t\t\t\t\t\t\t//await cache.delete(self.location.origin + self.location.pathname.substring(0, self.location.pathname.lastIndexOf(\'/\')) + "/dotnet.js.map" + "?userid=" + id);\n\n\n\t\t\t\t\t\t\t// Fetch the resource from the network\n\t\t\t\t\t\t\tconst response = await fetch(self.location.origin + \'').concat(o,"' + \"/dotnet.js.map\" + \"?userid=\" + id);\n\n\t\t\t\t\t\t\t// Check if the fetch was successful (status 200)\n\t\t\t\t\t\t\tif (response.ok) {\n\t\t\t\t\t\t\t // Clone the response to add custom headers\n\t\t\t\t\t\t\t const clonedResponse = response.clone();\n\n\t\t\t\t\t\t\t // Extract the current timestamp\n\t\t\t\t\t\t\t const currentTimestamp = new Date().getTime();\n\n\t\t\t\t\t\t\t // Set the Cache-Control header to define caching directives (120 seconds)\n\t\t\t\t\t\t\t const cacheControl = 'max-age=86400';\n\n\t\t\t\t\t\t\t // Create a new Headers object for the cloned response\n\t\t\t\t\t\t\t const headers = new Headers(clonedResponse.headers);\n\n\t\t\t\t\t\t\t // Add the custom header and Cache-Control header to the cloned response headers\n\t\t\t\t\t\t\t headers.append('X-Cache-Timestamp', currentTimestamp);\n\t\t\t\t\t\t\t headers.append('Cache-Control', cacheControl);\n\n\t\t\t\t\t\t\t // Create a new Response object with the modified headers\n\t\t\t\t\t\t\t const newResponse = new Response(clonedResponse.body, {\n\t\t\t\t\t\t\t\tstatus: clonedResponse.status,\n\t\t\t\t\t\t\t\tstatusText: clonedResponse.statusText,\n\t\t\t\t\t\t\t\theaders,\n\t\t\t\t\t\t\t });\n\n\t\t\t\t\t\t\t // Store the new response in the cache\n\t\t\t\t\t\t\t await cache.put(self.location.origin + '").concat(o,"' + \"/dotnet.js.map\" + \"?userid=\" + id, newResponse);\n\t\t\t\t\t\t\t //await cache.put(self.location.origin + self.location.pathname.substring(0, self.location.pathname.lastIndexOf('/')) + \"/dotnet.js.map\" + \"?userid=\" + id, newResponse);\n\t\t\t\t\t\t\t //console.log('Resource fetched and cached. Current timestamp:', currentTimestamp);\n\n\t\t\t\t\t\t\t // Return an object containing timestamp and no timeDifference (since it's just cached)\n\t\t\t\t\t\t\t return parseFloat(currentTimestamp);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t return 0;\n\t\t\t\t\t\t\t //throw new Error('Network request failed');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t } else {\n\t\t\t\t\t\t\t// Return an object containing timestamp and timeDifference\n\t\t\t\t\t\t\treturn parseFloat(cachedTimestamp);\n\t\t\t\t\t\t }\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// If not in the cache, fetch the resource from the network\n\t\t\t\t\t\tconst response = await fetch(self.location.origin + '").concat(o,"' + \"/dotnet.js.map\" + \"?userid=\" + id);\n\n\t\t\t\t\t\t// Check if the fetch was successful (status 200)\n\t\t\t\t\t\tif (response.ok) {\n\t\t\t\t\t\t // Clone the response to add custom headers\n\t\t\t\t\t\t const clonedResponse = response.clone();\n\n\t\t\t\t\t\t // Extract the current timestamp\n\t\t\t\t\t\t const currentTimestamp = new Date().getTime();\n\n\t\t\t\t\t\t // Set the Cache-Control header to define caching directives (120 seconds)\n\t\t\t\t\t\t const cacheControl = 'max-age=120';\n\n\t\t\t\t\t\t // Create a new Headers object for the cloned response\n\t\t\t\t\t\t const headers = new Headers(clonedResponse.headers);\n\n\t\t\t\t\t\t // Add the custom header and Cache-Control header to the cloned response headers\n\t\t\t\t\t\t headers.append('X-Cache-Timestamp', currentTimestamp);\n\t\t\t\t\t\t headers.append('Cache-Control', cacheControl);\n\n\t\t\t\t\t\t // Create a new Response object with the modified headers\n\t\t\t\t\t\t const newResponse = new Response(clonedResponse.body, {\n\t\t\t\t\t\t\tstatus: clonedResponse.status,\n\t\t\t\t\t\t\tstatusText: clonedResponse.statusText,\n\t\t\t\t\t\t\theaders,\n\t\t\t\t\t\t });\n\n\t\t\t\t\t\t // Store the new response in the cache\n\t\t\t\t\t\t await cache.put(self.location.origin + '").concat(o,"' + \"/dotnet.js.map\" + \"?userid=\" + id, newResponse);\n\t\t\t\t\t\t //console.log('Resource fetched and cached. Current timestamp:', currentTimestamp);\n\n\t\t\t\t\t\t // Return an object containing timestamp and no timeDifference (since it's just cached)\n\t\t\t\t\t\t return parseFloat(currentTimestamp);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t return 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t } catch (error) {\n\t\t\t\t\t\t//console.error('Error:', error);\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t }\n\t\t\t\t\t}\n\n\t\t\t\t\tasync function logout() {\n\t\t\t\t\t try {\n\n\t\t\t\t\t\tconst cache = await caches.open(\"EntropyData\");\n\n\t\t\t\t\t\t// Check if the response is already in the cache\n\t\t\t\t\t\tconst cachedResponse = await cache.match(self.location.origin + '").concat(o,'\' + "/dotnet.js.map" + "?userid=" + session.instanceid);\n\n\t\t\t\t\t\tif (cachedResponse) {\n\t\t\t\t\t\t\tawait cache.delete(self.location.origin + \'').concat(o,'\' + "/dotnet.js.map" + + "?userid=" + session.instanceid);\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t } catch {}\t\t\n\t\t\t\t\t}\n\n\t\t\t\t\tasync function AddAIResponse(msgtype, aitext, currentstate) {\n \t\t\t\t\t\ttry {\n\n \t\t\t\t\t\t\tconst messageId = Date.now().toString();\n\t\t\t\t\t\t\tconst message = {\n\t\t\t\t\t\t\t\t\t_id: messageId,\t\t\t\n\t\t\t\t\t\t\t\ttype: msgtype,\t\n\t\t\t\t\t\t\t\ttext: aitext,\t\t\t\t\n\t\t\t\t\t\t\t\ttimestamp: Date.now(),\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tawait session.db.put(message);\n\n\t\t \t\t\t\t} catch (error) {\t\t\t\n\t\t\t\t\t\t\tconsole.error(\'Error saving message:\', error);\n \t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\n\n\t\t\t\t(async () => {\n\t\t\t\t const bstatus = await session.user.boot();\n\t\t\t\t\tsession.isready = true;\n\t\t\t\t\tComlink.expose(session); \n\t\t\t\t\ttry {\n\t\t\t\t\t await self.navigator.locks.request(\n \t\t\t\t\t\t"hexaeight",\n \t\t\t\t\t\t{ mode: "shared" },\n\t\t\t\t\t\t async (lock,session) => {\n\t\t\t\t\t\t\t if (!lock) {\n\t\t\t\t\t\t \t\tconsole.log("Lock Failed");\n \t\t\t\t\t\t\t\treturn;\n \t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tawait new Promise(resolve => setTimeout(resolve, 20000));\n\t\t\t\t\t\t\twhile (true) {\n\t\t\t\t\t\t\t\tlet data = await session.user.HexaEight.GetStatus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//return new Promise(resolve => {});\n \t\t\t\t\t\t}\n \t\t\t\t\t );\n\t\t\t\t\t\n\t\t\t\t\t} catch { }\n\n\t\t\t\t})();\n')],{type:"text/javascript"}),s=URL.createObjectURL(u),window.hexa8auth=new Worker(s),window.auth=O(window.hexa8auth),c=!1;case 14:if(!1!==c){e.next=23;break}return e.next=17,this.ready();case 17:if(e.t1=e.sent,e.t2="fulfilled"==e.t1,!e.t2){e.next=21;break}c=!0;case 21:e.next=14;break;case 23:return l=window.auth.user.HexaEight.Login(this.id,"IS-USER-LOGGED-IN",""),e.prev=24,e.next=27,Navigator.locks.request("hexaeightFE",{mode:"shared"},function(){var e=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=10;break}return console.log("Lock2 Succeeded"),e.next=4,new Promise((function(e){return setTimeout(e,2e4)}));case 4:return e.next=6,window.auth.user.HexaEight.GetStatus();case 6:e.next=4;break;case 8:e.next=11;break;case 10:console.log("Lock Failed");case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 27:e.next=31;break;case 29:e.prev=29,e.t3=e.catch(24);case 31:return e.next=33,this.InitializeIdentity();case 33:l.then((function(e){if("False"!=e)return p.UserLoggedIn=!0,p.user.loginphase=6,window.addEventListener("beforeunload",(function(e){return e.preventDefault(),e.returnValue=""})),"function"==typeof callback&&callback(),new Promise((function(e){e("Ok")}));p.UserLoggedIn=!1,p.user.loginphase=0,p.InitializeClient(t,n);var r=new Event("sessionInitialized");return document.dispatchEvent(r),6==p.user.loginphase?(p.UserLoggedIn=!0,window.addEventListener("beforeunload",(function(e){return e.preventDefault(),e.returnValue=""})),"function"==typeof callback&&callback(),new Promise((function(e){e("Ok")}))):void 0}));case 34:case"end":return e.stop()}}),e,this,[[1,6],[24,29]])}))),function(e,t,r){return P.apply(this,arguments)})},{key:"getPreferredLanguage",value:function(){return this.preferredlanguage}},{key:"setPreferredLanguage",value:function(e){this.preferredlanguage=e}},{key:"enableSpeaking",value:function(){return this.isSpeakingEnabled=!0,"Ok"}},{key:"disableSpeaking",value:function(){return this.isSpeakingEnabled=!1,"Ok"}},{key:"canSpeak",value:function(){return this.isSpeakingEnabled}},{key:"FetchVoice2",value:function(e){!function t(){var r=speechSynthesis.getVoices();if(0!==r.length){var n=r.find((function(t){return t.lang.startsWith(e)}));n?(this.translationlanguage=n.lang,this.translatorvoice=n):console.warn("No voice found for language code: ".concat(e))}else setTimeout(t,100)}()}},{key:"FetchVoice",value:function(e){var t=this;!function r(){var n=speechSynthesis.getVoices();if(0!==n.length){var a=n.find((function(t){return t.lang.startsWith(e)}));a?(t.translationlanguage=a.lang,t.translatorvoice=a):console.warn("No voice found for language code: ".concat(e))}else setTimeout(r,100)}()}},{key:"speakMessageinLang",value:function(e,t){try{if(this.canSpeak()){var r=new SpeechSynthesisUtterance(e);this.translationlanguage&&this.translationlanguage===t||this.FetchVoice(t),this.translatorvoice&&(r.lang=this.translationlanguage,r.voice=this.translatorvoice),window.speechSynthesis.speak(r)}}catch(e){console.error("An error occurred during speech synthesis:",e)}}},{key:"speakMessage",value:function(e){var t=this;try{if(this.canSpeak()){var r=new SpeechSynthesisUtterance(e);r.lang=this.preferredlanguage;var n=this.voices.find((function(e){return e.lang+" - "+e.name===t.selectedVoiceName.trim()}));r.voice=n,window.speechSynthesis.speak(r)}}catch(e){console.error("An error occurred during speech synthesis:",e)}}},{key:"captureScreenshot",value:(R=i(r().mark((function e(){var t,n,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,(t=document.createElement("video")).style.display="none",document.body.appendChild(t),e.next=5,navigator.mediaDevices.getDisplayMedia({video:!0});case 5:return n=e.sent,t.srcObject=n,e.next=9,t.play();case 9:return a=document.createElement("canvas"),e.abrupt("return",(a.width=t.videoWidth,a.height=t.videoHeight,a.getContext("2d").drawImage(t,0,0),n.getTracks().forEach((function(e){return e.stop()})),t.remove(),a.toDataURL("image/png")));case 13:return e.prev=13,e.t0=e.catch(0),e.abrupt("return",(console.log(e.t0),""));case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))),function(){return R.apply(this,arguments)})},{key:"captureScreen",value:(L=i(r().mark((function e(){var t,n,a,o,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={video:{displaySurface:"window"},audio:!1,surfaceSwitching:"include",selfBrowserSurface:"exclude",systemAudio:"exclude"},e.prev=1,e.next=4,navigator.mediaDevices.getDisplayMedia(t);case 4:return n=e.sent,a=new MediaRecorder(n),o=[],a.start(),a.ondataavailable=function(e){o.push(e.data)},setTimeout((function(){a.stop()}),1e4),i=new Promise((function(e,t){a.onstop=function(t){var r=new Blob(o,{type:"video/mp4"});o=[];var n=new FileReader;n.readAsDataURL(r),n.onloadend=function(){var t=n.result;console.log(t),e(t)}}})),e.next=11,i;case 11:return e.abrupt("return",e.sent);case 14:e.prev=14,e.t0=e.catch(1),console.error(e.t0);case 17:case"end":return e.stop()}}),e,null,[[1,14]])}))),function(){return L.apply(this,arguments)})},{key:"captureScreen222",value:(T=i(r().mark((function e(){var t,n,a,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={video:{displaySurface:"window"},audio:!1,surfaceSwitching:"include",selfBrowserSurface:"exclude",systemAudio:"exclude"},e.prev=1,e.next=4,navigator.mediaDevices.getDisplayMedia(t);case 4:n=e.sent,a=new MediaRecorder(n),o=[],a.start(),a.ondataavailable=function(e){o.push(e.data)},setTimeout((function(){a.stop()}),1e4),a.onstop=function(e){var t=new Blob(o,{type:"video/mp4"});o=[];var r=new FileReader;r.readAsDataURL(t),r.onloadend=function(){var e=r.result;console.log(e)}},e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[1,10]])}))),function(){return T.apply(this,arguments)})},{key:"captureScreenwithaudio",value:(B=i(r().mark((function e(){var t,n,a,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={video:{displaySurface:"window"},audio:{echoCancellation:!0,noiseSuppression:!0,sampleRate:44100,suppressLocalAudioPlayback:!0},surfaceSwitching:"include",selfBrowserSurface:"exclude",systemAudio:"exclude"},e.prev=1,e.next=4,navigator.mediaDevices.getDisplayMedia(t);case 4:n=e.sent,a=new MediaRecorder(n),o=[],a.start(),a.ondataavailable=function(e){o.push(e.data)},setTimeout((function(){a.stop()}),1e4),a.onstop=function(e){var t=new Blob(o,{type:"video/mp4"});o=[];var r=new FileReader;r.readAsDataURL(t),r.onloadend=function(){var e=r.result;console.log(e)}},e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[1,10]])}))),function(){return B.apply(this,arguments)})},{key:"captureScreen2",value:(q=i(r().mark((function e(){var t,n,a,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.querySelector("video"),n={video:{displaySurface:"window"},audio:{echoCancellation:!0,noiseSuppression:!0,sampleRate:44100,suppressLocalAudioPlayback:!0},surfaceSwitching:"include",selfBrowserSurface:"exclude",systemAudio:"exclude"},e.prev=1,e.next=4,navigator.mediaDevices.getDisplayMedia(n);case 4:t.srcObject=e.sent,a=new MediaRecorder(t.srcObject),o=[],a.start(),a.ondataavailable=function(e){o.push(e.data)},setTimeout((function(){a.stop()}),1e4),a.onstop=function(e){var t=new Blob(o,{type:"video/mp4"});o=[];var r=new FileReader;r.readAsDataURL(t),r.onloadend=function(){var e=r.result;console.log(e)}},e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),console.error(e.t0);case 12:case"end":return e.stop()}}),e,null,[[1,9]])}))),function(){return q.apply(this,arguments)})},{key:"retryHttpPostRequest",value:(S=i(r().mark((function e(t,n){var a,o,i,u,s=arguments;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=s.length>2&&void 0!==s[2]?s[2]:3,o=s.length>3&&void 0!==s[3]?s[3]:200,i=0;case 3:if(!(i<a)){e.next=22;break}return e.prev=4,e.next=7,Qe.post(t,n,{responseType:"blob"});case 7:if(200!==(u=e.sent).status){e.next=10;break}return e.abrupt("return",u.data);case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),console.error("HTTP request failed (Retry ".concat(i+1,"):"),e.t0);case 15:if(i++,e.t1=i<a,!e.t1){e.next=20;break}return e.next=20,new Promise((function(e){return setTimeout(e,o)}));case 20:e.next=3;break;case 22:throw new Error("HTTP request failed after ".concat(a," retries."));case 23:case"end":return e.stop()}}),e,null,[[4,12]])}))),function(e,t){return S.apply(this,arguments)})},{key:"blobToJSON",value:(F=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){var n=new FileReader;n.onload=function(){var t=n.result.replace(/[^\x20-\x7E]+/g,"");try{var a=JSON.parse(t);e(a)}catch(t){r(t)}},n.onerror=r,n.readAsText(t)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return F.apply(this,arguments)})},{key:"blobToText",value:(_=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){var n=new FileReader;n.onload=function(){var t=n.result.replace(/[^\x20-\x7E\u00A0-\uFFFF]+/g,"");e(t)},n.onerror=r,n.readAsText(t,"UTF-8")})));case 1:case"end":return e.stop()}}),e)}))),function(e){return _.apply(this,arguments)})},{key:"blobToText2",value:(C=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){var n=new FileReader;n.onload=function(){var t=n.result.replace(/[^\x20-\x7E]+/g,"");e(t)},n.onerror=r,n.readAsText(t)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return C.apply(this,arguments)})},{key:"InitializeClient",value:(A=i(r().mark((function e(t,n){var a,o,i,u,s;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!=this.user.loginphase){e.next=5;break}return e.next=3,this.Login("SET-HEXAEIGHT-CLIENTID",t);case 3:a=e.sent,JSON.parse(a).data&&(this.user.loginphase=1);case 5:if(1!=this.user.loginphase){e.next=26;break}return e.next=8,this.Login("SET-HEXAEIGHT-TOKENSERVERURL",n);case 8:if(o=e.sent,!JSON.parse(o).data){e.next=26;break}return e.prev=10,i=new URLSearchParams(window.location.search).get("userid")||0,e.next=14,this.InitializeIdentity();case 14:return e.next=16,this.Login("SET-HEXAEIGHT-IDENDITY",i);case 16:return u=e.sent,e.next=19,this.isauthenticated();case 19:return s=e.sent,e.abrupt("return",("0"==JSON.parse(u).data&&JSON.parse(s).data?this.user.loginphase=6:this.user.loginphase=2,!0));case 23:e.prev=23,e.t0=e.catch(10),console.log(e.t0),this.user.loginphase=2;case 26:return e.abrupt("return",2==this.user.loginphase||(this.user.loginphase=0,!1));case 27:case"end":return e.stop()}}),e,this,[[10,23]])}))),function(e,t){return A.apply(this,arguments)})},{key:"InitializeHexaEightSession",value:(E=i(r().mark((function e(t){var n,a,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(2!=this.user.loginphase){e.next=5;break}return e.next=3,this.Login("INIT-HEXAEIGHT-LOGIN",t);case 3:n=e.sent,JSON.parse(n).data&&(this.user.loginphase=3);case 5:if(3!=this.user.loginphase){e.next=17;break}return e.next=8,this.Login("FETCH-HEXAEIGHT-AUTHQRCODE","");case 8:return a=e.sent,e.prev=9,o=JSON.parse(a),e.abrupt("return",o.data.includes("Hexa8")&&o.data.length>60?(this.user.loginphase=4,o.data):a);case 14:return e.prev=14,e.t0=e.catch(9),e.abrupt("return",a);case 17:return e.abrupt("return","");case 18:case"end":return e.stop()}}),e,this,[[9,14]])}))),function(e){return E.apply(this,arguments)})},{key:"VerifyQRCodeAuthorization",value:(x=i(r().mark((function e(){var t,n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(4!=this.user.loginphase){e.next=24;break}return e.next=3,this.sleep(15e3);case 3:return e.prev=3,e.next=6,this.Login("COMPLETE-HEXAEIGHT-LOGIN-PROCESS","");case 6:if(t=e.sent,"Solve Captcha"==JSON.parse(t).data){e.next=9;break}return e.abrupt("return",JSON.parse(t).data);case 9:return this.user.loginphase=5,e.next=12,this.Login("FETCH-HEXAEIGHT-CAPTCHACODE","");case 12:return n=e.sent,e.prev=13,e.abrupt("return",JSON.parse(n).data);case 17:e.prev=17,e.t0=e.catch(13);case 19:e.next=24;break;case 21:return e.prev=21,e.t1=e.catch(3),e.abrupt("return","");case 24:return e.abrupt("return",captchaqrcode);case 25:case"end":return e.stop()}}),e,this,[[3,21],[13,17]])}))),function(){return x.apply(this,arguments)})},{key:"VerifyCaptcha",value:(w=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(5!=this.user.loginphase){e.next=6;break}return e.next=3,this.Login("VERIFY-HEXAEIGHT-CAPTCHA",t);case 3:if(n=e.sent,"Ok"!=JSON.parse(n).data){e.next=6;break}return e.abrupt("return",(this.user.loginphase=6,window.name=this.id,!0));case 6:return e.abrupt("return",!1);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return w.apply(this,arguments)})},{key:"isauthenticated",value:function(){return this.Login("IS-USER-LOGGED-IN","")}},{key:"FetchScopesList",value:(D=i(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.Login("FETCH-SCOPESLIST","");case 2:return t=e.sent,e.abrupt("return",JSON.parse(t).data);case 4:case"end":return e.stop()}}),e,this)}))),function(){return D.apply(this,arguments)})},{key:"logout",value:function(){try{var e=window.auth.user.HexaEight.Logout(this.id);return location.reload(!0),new Promise((function(t,r){e.then((function(e){var r={data:e};t(JSON.stringify(r))})).catch((function(e){var r={data:e};t(JSON.stringify(r))}))}))}catch(e){var t={data:e};return new Promise((function(e,r){e(JSON.stringify(t))}))}}},{key:"Login",value:function(e,t){try{var r=window.auth.user.HexaEight.Login(this.id,e.toString(),t.toString());return new Promise((function(e,t){r.then((function(t){var r={data:t};e(JSON.stringify(r))})).catch((function(t){var r={data:t};e(JSON.stringify(r))}))}))}catch(e){var n={data:e};return new Promise((function(e,t){e(JSON.stringify(n))}))}}},{key:"ProtectMessage",value:(b=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.ProtectMessage(this.id,t.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),n={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(n))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e){return b.apply(this,arguments)})},{key:"DecipherMessage",value:(y=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.DecipherMessage(this.id,t.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),n={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(n))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e){return y.apply(this,arguments)})},{key:"EncryptTextMessage",value:(v=i(r().mark((function e(t,n){var a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.EncryptTextMessage(this.id,t.toString(),n.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),a={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(a))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e,t){return v.apply(this,arguments)})},{key:"fetchstring",value:(m=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",(new TextDecoder).decode(t).toString().replace(/[^\x20-\x7E]/g,""));case 4:return e.prev=4,e.t0=e.catch(0),n={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(n))})));case 8:case"end":return e.stop()}}),e,null,[[0,4]])}))),function(e){return m.apply(this,arguments)})},{key:"fetch",value:(g=i(r().mark((function e(t,n,a){var o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.fetch(this.id,t.toString(),n.toString(),a.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),o={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(o))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e,t,r){return g.apply(this,arguments)})},{key:"fetch2",value:(h=i(r().mark((function e(t,n,a){var o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.fetch2(this.id,t.toString(),n.toString(),a);case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),o={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(o))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e,t,r){return h.apply(this,arguments)})},{key:"whois",value:(d=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.FetchDestination(this.id,t.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),n={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(n))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e){return d.apply(this,arguments)})},{key:"ClearDestinationURL",value:(f=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.ClearDestinationURL(t.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),n={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(n))})));case 10:case"end":return e.stop()}}),e,null,[[0,6]])}))),function(e){return f.apply(this,arguments)})},{key:"ClearDestination",value:(p=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.ClearDestination(this.id,t.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),n={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(n))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e){return p.apply(this,arguments)})},{key:"DecryptTextMessage",value:(s=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.DecryptTextMessage(this.id,t.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),n={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(n))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e){return s.apply(this,arguments)})},{key:"GetUserID",value:(o=i(r().mark((function e(t,n){var a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.GetUserID(this.id,t.toString(),n.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),a={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(a))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e,t){return o.apply(this,arguments)})},{key:"GetPeerId",value:(n=i(r().mark((function e(t,n){var a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.auth.user.HexaEight.GetPeerId(this.id,t.toString(),n.toString());case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),a={data:e.t0},e.abrupt("return",new Promise((function(e,t){e(JSON.stringify(a))})));case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(e,t){return n.apply(this,arguments)})},{key:"GetBlobFromFormData",value:function(e){return new Blob([new Uint8Array(new TextEncoder("UTF-8").encode(JSON.stringify(this.GetJSONFromFormData(e))))],{type:"application/json"})}},{key:"GetJSONFromFormData",value:function(e){var t=Array.from(e).reduce((function(e,t){var r=t[0].replace(/\]/g,"").split("["),n=r[0],a=t[1];if(r.length>1){var o,i,u,s=a,c=isNaN(r[1])?{}:[];for(a=u=e[n]||c,o=1;o<r.length;o++)i=r[o],o==r.length-1?Array.isArray(u)?u.push(s):u[i]=s:null==u[i]&&(u[i]=isNaN(r[o+1])?{}:[]),u=u[i]}return e[n]=a,e}),{});return JSON.stringify(t)}},{key:"EngageAI",value:(t=i(r().mark((function e(t){var n,o,u,s,c,l,p,f,d,h,g,m,v,y,b,D,w,x,E,A,C,_,F,S,q,B,T,L,O,R,P,N,I,j,U,H,z,M=this;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,"PROCEED TO LOGIN::"==t||t.includes("GETTRANSLATEDMESSAGES:")||(n=new CustomEvent("newHexaEightChatMessage",{detail:{user:"YOU",chatresponse:t,request:"",message:""}}),document.dispatchEvent(n)),o=function(e){for(var t=atob(e),r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return new TextDecoder("utf-8").decode(r)},e.next=5,this.Login("IS-USER-LOGGED-IN","");case 5:return u=e.sent,e.next=8,window.auth.user.HexaEight.GetActiveAssistant();case 8:if("Hexa8GPT"!=(s=e.sent)&&"AI"!=s||(s=""),!("True"!=JSON.parse(u).data||"AM I AUTHENTICATED?"==t.toString().toUpperCase()||t.includes("GETTRANSLATEDMESSAGES::")||t.includes("ACTIVATE @")||t.includes("DEACTIVATE @"))){e.next=72;break}if(!t.toUpperCase().includes("SCAN11")||!(t.toUpperCase().includes("QR CODE")||t.toUpperCase().includes("QRCODE")||t.toUpperCase().includes("CAPTCHA"))){e.next=15;break}c=new CustomEvent("newHexaEightChatMessage",{detail:{user:"AI",chatresponse:"Ok, Attempting to scan HexaEight QR Code...",request:"",message:""}}),document.dispatchEvent(c),this.scanqrcode.next(),e.next=70;break;case 15:return e.next=17,window.auth.user.HexaEight.EngageAI(this.id,t);case 17:if(""!=(l=e.sent)){e.next=20;break}return e.abrupt("return","");case 20:if(p=JSON.parse(l),f="",d=p.AI,p.Date,h=p.chatresponse,g=p.request,m=p.message,"Yes, You are successfully authenticated."==h&&"RENDER"==g){new Function("(async () => { ".concat(m," })();"))();try{p.request="",p.message="",p.AI,p.Date,p.chatresponse,p.request,p.message}catch(e){}}if("SCANQRCODE"==h&&(k("h"),t="PROCEED TO LOGIN::"),"SESSIONRESET"==h&&(f="Ok, Attempting to reset your session... Please Wait...",document.getElementById("hexaeight-user-container").innerHTML="",window.auth.user.HexaEight.Login(this.id,"RESET-SESSION",""),window.auth.user.HexaEight.Login(this.id,"IS-USER-LOGGED-IN","").then((function(e){if("False"!=e)return M.UserLoggedIn=!0,M.user.loginphase=6,window.addEventListener("beforeunload",(function(e){return e.preventDefault(),e.returnValue=""})),"function"==typeof callback&&callback(),new Promise((function(e){e("Ok")}));M.UserLoggedIn=!1,M.user.loginphase=0,M.InitializeClient(clientid,tokenserverurl);var t=new Event("sessionInitialized");document.dispatchEvent(t)})),v=new CustomEvent("newHexaEightChatMessage",{detail:{user:"AI",chatresponse:"You session has been reset. You can attempt to login again...",request:"",message:""}}),document.dispatchEvent(v)),"LOGIN"==g&&"ACCEPT_USERNAME"==m&&this.triggernextloginphase.observers.length>0&&(document.getElementById("hexa8display").innerHTML="<h4>Please Wait for further instructions...</h4>",f="Please Wait while I initiate a request to verify your Identity...",this.triggernextloginphase.next()),"LOGIN"==g&&"ACCEPT_USERNAME"==m&&0==this.triggernextloginphase.observers.length&&(f="",y='.dot-flashing {\n position: relative;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite linear alternate;\n animation-delay: 0.5s;\n }\n\n .dot-flashing::before,\n .dot-flashing::after {\n content: "";\n display: inline-block;\n position: absolute;\n top: 0;\n }\n\n .dot-flashing::before {\n left: -15px;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite alternate;\n animation-delay: 0s;\n }\n\n .dot-flashing::after {\n left: 15px;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite alternate;\n animation-delay: 1s;\n }\n\n @keyframes dot-flashing {\n 0% {\n background-color: #9880ff;\n }\n\n 50%,\n 100% {\n background-color: rgba(152, 128, 255, 0.2);\n }\n }\n\n\n .loginmodal-container {\n padding: 1rem;\n max-width: 350px;\n width: 100% !important;\n background-color: #fff;\n margin: 0 auto;\n overflow: hidden;\n font-family: roboto;\n }\n\n .loginmodal-container h1 {\n text-align: center;\n font-size: 1.8em;\n font-family: roboto;\n }\n\n .loginmodal-container input[type="submit"] {\n width: 100%;\n display: block;\n margin-bottom: 5px;\n position: relative;\n }\n\n .loginmodal-container input[type="text"],\n input[type="email"],\n input[type="password"] {\n width: 100%;\n padding: 12px 20px;\n margin: 8px 0;\n box-sizing: border-box;\n border: 2px solid black;\n border-radius: 20px;\n text-align: center;\n }\n\n .loginmodal-submit {\n background-color: #4caf50;\n border: none;\n color: white;\n cursor: pointer;\n padding: 10px 10px;\n }\n\n .loginmodal-submit:hover {\n background-color: #45a049;\n }\n\n .loginmodal-container a {\n text-decoration: none;\n color: #666;\n font-weight: 400;\n text-align: center;\n display: inline-block;\n opacity: 0.6;\n transition: opacity ease 0.5s;\n }\n\n .login-help {\n font-size: 12px;\n justify-content: center;\n text-align: center;\n }\n\n .login-btn {\n text-align: center;\n margin-top: 50px;\n }\n\n .m {\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n }\n\n .a {\n align-items: center;\n }\n\n .qrCodeDiv {\n text-align: center;\n margin-bottom: 10px;\n cursor: pointer;\n width: 150px;\n height: 150px;\n margin: 0 auto;\n /* Center the QR Code */\n }\n\n @media screen and (max-width: 600px) {\n .a {\n flex-direction: column;\n }\n }\n',this.dynamicUI.renderHTML("hexaeight-user-container",'<div id="displayloginlogo" class="m">\n </div>\n <div id="displayheader" class="m">\n <h1>Sign In</h1>\n </div>\n <div class="loginmodal-container">\n <form onsubmit="return false;">\n <div class="m">\n <input type="text" id="username" placeholder="UserName For Ex: alice" />\n </div>\n <div class="m">\n <input type="text" id="domainname" placeholder="Domain Ex: gmail.com" />\n </div>\n <div class="login-help" id="hexa8authserver">\n </div>\n <div id="hexa8authqrcode">\n </div>\n <div class="login-help" id="appscope">\n </div>\n <div id="hexa8checkbox">\n <input type="checkbox" id="useracceptance" name="acceptance" value="accepted"><label for="acceptance"><small>By Signing In, You Agree To The <a href="/terms-of-service.html" target="_blank">Terms Of Service</a> And <a href="/privacy-policy.html" target="_blank">Privacy Policy</a></small></label>\n </div>\n <div class="login-help" id="hexa8display">\n </div>\n <div class="m" id="displaycaptcha" style="display: none;">\n <input type="password" id="usercaptcha" maxlength="5" placeholder="Captcha" />\n </div>\n </form>\n </div>\n ',y),this.dynamicUI.addEvent("verify-username",this.triggernextloginphase,(function(){var e,t=M;function n(){return a.apply(this,arguments)}function a(){return(a=i(r().mark((function a(){var i,u,s,c;return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!document.getElementById("useracceptance").checked){r.next=37;break}if(document.getElementById("hexa8display").innerHTML="<p>Please Wait ...</p>",i=document.getElementById("username").value,u=document.getElementById("domainname").value,!(i&&u&&/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(i+"@"+u))){r.next=36;break}clearInterval(e),c=0;case 6:if(!(c<15)){r.next=24;break}return r.prev=7,r.next=10,t.InitializeHexaEightSession(i+"@"+u);case 10:if(s=r.sent,console.log(s),!s||!s.toString().includes("Hexa8CTOKN|")){r.next=14;break}return r.abrupt("break",24);case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(7),console.log(r.t0);case 19:return r.next=21,new Promise((function(e){return setTimeout(e,1e3)}));case 21:c++;case 22:r.next=6;break;case 24:if(!s||!s.toString().includes("Hexa8CTOKN|")){r.next=28;break}document.getElementById("hexa8display").innerHTML="",document.removeEventListener("error",o),t.EngageAI("PROCEED TO LOGIN::"),r.next=34;break;case 28:return document.getElementById("hexa8display").innerHTML="",r.next=31,window.auth.user.HexaEight.Login(window.name,"RESET-SESSION","");case 31:document.getElementById("useracceptance").checked=!1,e=setInterval(n,1e3),alert("There was a problem while setting up your session. In order to retry, Please Accept The Terms Of Service");case 34:r.next=37;break;case 36:alert("Please fill in both the username and domain. The username is typically the name before @ in your Email Address, and the Domain name refers to the name after the @ in your Email Address. Please also ensure your UserName and Domain do not contain invalid characters or spaces."),document.getElementById("useracceptance").checked=!1;case 37:case"end":return r.stop()}}),a,null,[[7,16]])})))).apply(this,arguments)}function o(){clearInterval(e),document.removeEventListener("error",o)}n(),e=setInterval(n,1e3),document.addEventListener("error",o),M.triggernextloginphase=new $e})),this.triggernextloginphase.next()),"LOGIN"==g&&"DISPLAY_AUTHQRCODE"==m&&this.triggernextloginphase.observers.length>0&&(document.getElementById("hexa8display").innerHTML="<p>Please Wait for further instructions...</p>",f="Please Wait while I attempt to verify your Identity",this.triggernextloginphase.next()),"LOGIN"!=g||"DISPLAY_AUTHQRCODE"!=m||0!=this.triggernextloginphase.observers.length){e.next=44;break}return f="",y='.dot-flashing {\n position: relative;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite linear alternate;\n animation-delay: 0.5s;\n }\n\n .dot-flashing::before,\n .dot-flashing::after {\n content: "";\n display: inline-block;\n position: absolute;\n top: 0;\n }\n\n .dot-flashing::before {\n left: -15px;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite alternate;\n animation-delay: 0s;\n }\n\n .dot-flashing::after {\n left: 15px;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite alternate;\n animation-delay: 1s;\n }\n\n @keyframes dot-flashing {\n 0% {\n background-color: #9880ff;\n }\n\n 50%,\n 100% {\n background-color: rgba(152, 128, 255, 0.2);\n }\n }\n\n\n .loginmodal-container {\n padding: 1rem;\n max-width: 350px;\n width: 100% !important;\n background-color: #fff;\n margin: 0 auto;\n overflow: hidden;\n font-family: roboto;\n }\n\n .loginmodal-container h1 {\n text-align: center;\n font-size: 1.8em;\n font-family: roboto;\n }\n\n .loginmodal-container input[type="submit"] {\n width: 100%;\n display: block;\n margin-bottom: 5px;\n position: relative;\n }\n\n .loginmodal-container input[type="text"],\n input[type="email"],\n input[type="password"] {\n width: 100%;\n padding: 12px 20px;\n margin: 8px 0;\n box-sizing: border-box;\n border: 2px solid black;\n border-radius: 20px;\n text-align: center;\n }\n\n .loginmodal-submit {\n background-color: #4caf50;\n border: none;\n color: white;\n cursor: pointer;\n padding: 10px 10px;\n }\n\n .loginmodal-submit:hover {\n background-color: #45a049;\n }\n\n .loginmodal-container a {\n text-decoration: none;\n color: #666;\n font-weight: 400;\n text-align: center;\n display: inline-block;\n opacity: 0.6;\n transition: opacity ease 0.5s;\n }\n\n .login-help {\n font-size: 12px;\n justify-content: center;\n text-align: center;\n }\n\n .login-btn {\n text-align: center;\n margin-top: 50px;\n }\n\n .m {\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n }\n\n .a {\n align-items: center;\n }\n\n .qrCodeDiv {\n text-align: center;\n margin-bottom: 10px;\n cursor: pointer;\n width: 150px;\n height: 150px;\n margin: 0 auto;\n /* Center the QR Code */\n }\n\n @media screen and (max-width: 600px) {\n .a {\n flex-direction: column;\n }\n }\n',this.dynamicUI.renderHTML("hexaeight-user-container",'<div id="displayloginlogo" class="m">\n </div>\n <div id="displayheader" class="m">\n <h1>Sign In</h1>\n </div>\n <div class="loginmodal-container">\n <form onsubmit="return false;">\n <div class="login-help" id="hexa8authserver">\n </div>\n <div id="hexa8authqrcode">\n </div>\n <div class="login-help" id="appscope">\n </div>\n <div class="login-help" id="hexa8display">\n </div>\n <div class="m" id="displaycaptcha" style="display: none;">\n <input type="password" id="usercaptcha" maxlength="5" placeholder="Captcha" />\n </div>\n </form>\n </div>\n ',y),e.next=32,window.auth.user.HexaEight.GetShortAuthQRCode(window.name);case 32:if(b=e.sent,D=this.tokenserver+"/api/resourceinfo",fetch(D).then((function(e){return e.text()})).then((function(e){document.getElementById("hexa8authserver").style="",document.getElementById("hexa8authserver").innerHTML="<p><strong> Auth Server : "+e+" </strong></p>"})),!b.includes("Hexa8")){e.next=43;break}return w=new qo({content:b,width:300,height:300,container:"svg-viewbox",join:!0}).svg(),e.next=38,window.auth.user.HexaEight.Login(window.name,"FETCH-SCOPESLIST","");case 38:if("DEFAULT"!=(x=e.sent).toString()){for(E=x.toString().trim().split(","),A='<label for="app">LOGIN AS : </label> <select name="app" id="selectedappscope">',C=0;C<E.length;C++)A="DEFAULT"==E[C]?A+'<option value="'+E[C]+'" selected>'+E[C]+"</option>":A+'<option value="'+E[C]+'">'+E[C]+"</option>";A+="</select>",document.getElementById("appscope").style="",document.getElementById("appscope").innerHTML=A}else document.getElementById("appscope").style.display="none",document.getElementById("appscope").innerHTML="";document.getElementById("displayheader").style.display="none",document.getElementById("hexa8authqrcode").style="height:200px; width:200px; margin-left: auto; margin-right: auto",document.getElementById("hexa8authqrcode").innerHTML="",document.getElementById("hexa8authqrcode").innerHTML=w,document.getElementById("hexa8authqrcode").addEventListener("click",(function(){window.open("https://www.hexaeight.com/qrcode/".concat(b),"_blank")})),this.dynamicUI.addEvent("scan-qrcode",this.scanqrcode,i(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.open("https://www.hexaeight.com/qrcode/".concat(b),"_blank");case 1:case"end":return e.stop()}}),e)})))),this.dynamicUI.addEvent("verify-username",this.triggernextloginphase,(function(){var e,t="DEFAULT";try{var n=document.getElementById("selectedappscope");n&&n.value&&(t=n.value)}catch(e){}var a=0,o=!1,u=M,s=function(){var n=i(r().mark((function n(){return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o){r.next=11;break}if(o=!0,!(a>=40)){r.next=3;break}return r.abrupt("return",(clearInterval(e),document.getElementById("hexa8display").innerHTML="Sorry, Login Failed, Please ask the AI Assistant to reset your session or Reload this page and try again",void(o=!1)));case 3:return document.getElementById("hexa8display").innerHTML="Waiting for authorization from HexaEight Authenticator App...",a++,r.next=7,window.auth.user.HexaEight.Login(window.name,"SET-APPSCOPE",t);case 7:return r.next=9,window.auth.user.HexaEight.Login(window.name,"COMPLETE-HEXAEIGHT-LOGIN-PROCESS");case 9:r.sent.toString().includes("Solve Captcha")?(document.getElementById("hexa8authqrcode").innerHTML="",u.user.loginphase=5,clearInterval(e),u.scanqrcode=new $e,document.getElementById("hexa8display").innerHTML="Please Wait for further instructions...",u.EngageAI("PROCEED TO LOGIN::"),o=!1):o=!1;case 11:case"end":return r.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();s(),e=setInterval((function(){s()}),1e3),M.triggernextloginphase=new $e})),this.dynamicUI.addEvent("verify-username",this.triggernextloginphase2,i(r().mark((function e(){var t,n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t="",n=M;try{""==(t=document.getElementById("selectedappscope").value)&&(t="DEFAULT")}catch(e){t="DEFAULT"}return e.next=5,window.auth.user.HexaEight.Login(window.name,"SET-APPSCOPE",t);case 5:return e.next=7,window.auth.user.HexaEight.Login(window.name,"COMPLETE-HEXAEIGHT-LOGIN-PROCESS","");case 7:if(!e.sent.toString().includes("Solve Captcha")){e.next=16;break}return n.user.loginphase=5,n.triggernextloginphase=new $e,n.scanqrcode=new $e,document.getElementById("hexa8display").innerHTML="Please Wait for further instructions...",e.next=14,n.EngageAI("PROCEED TO LOGIN::");case 14:e.next=17;break;case 16:document.getElementById("hexa8display").innerHTML="Login Failed. Please follow the instructions provided in the Chat Channel before you ask the Assistant to proceed.";case 17:case"end":return e.stop()}}),e)})))),this.triggernextloginphase.next(),e.next=44;break;case 43:b.includes("UnAuthorized Client")&&(document.getElementById("hexa8display").innerHTML="This User Agent is not Authorized. Please contact Application Owner");case 44:if("LOGIN"==g&&"SOLVE_CAPTCHA"==m&&this.triggernextloginphase.observers.length>0&&(document.getElementById("hexa8display").innerHTML="<p>Please Wait for further instructions...</p>",f="Please wait while I attempt to verify your Two Factor credential...",this.triggernextloginphase.next()),"LOGIN"!=g||"SOLVE_CAPTCHA"!=m||0!=this.triggernextloginphase.observers.length){e.next=53;break}return f="",y='.dot-flashing {\n position: relative;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite linear alternate;\n animation-delay: 0.5s;\n }\n\n .dot-flashing::before,\n .dot-flashing::after {\n content: "";\n display: inline-block;\n position: absolute;\n top: 0;\n }\n\n .dot-flashing::before {\n left: -15px;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite alternate;\n animation-delay: 0s;\n }\n\n .dot-flashing::after {\n left: 15px;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: #9880ff;\n color: #9880ff;\n animation: dot-flashing 1s infinite alternate;\n animation-delay: 1s;\n }\n\n @keyframes dot-flashing {\n 0% {\n background-color: #9880ff;\n }\n\n 50%,\n 100% {\n background-color: rgba(152, 128, 255, 0.2);\n }\n }\n\n\n .loginmodal-container {\n padding: 1rem;\n max-width: 350px;\n width: 100% !important;\n background-color: #fff;\n margin: 0 auto;\n overflow: hidden;\n font-family: roboto;\n }\n\n .loginmodal-container h1 {\n text-align: center;\n font-size: 1.8em;\n font-family: roboto;\n }\n\n .loginmodal-container input[type="submit"] {\n width: 100%;\n display: block;\n margin-bottom: 5px;\n position: relative;\n }\n\n .loginmodal-container input[type="text"],\n input[type="email"],\n input[type="password"] {\n width: 100%;\n padding: 12px 20px;\n margin: 8px 0;\n box-sizing: border-box;\n border: 2px solid black;\n border-radius: 20px;\n text-align: center;\n }\n\n .loginmodal-submit {\n background-color: #4caf50;\n border: none;\n color: white;\n cursor: pointer;\n padding: 10px 10px;\n }\n\n .loginmodal-submit:hover {\n background-color: #45a049;\n }\n\n .loginmodal-container a {\n text-decoration: none;\n color: #666;\n font-weight: 400;\n text-align: center;\n display: inline-block;\n opacity: 0.6;\n transition: opacity ease 0.5s;\n }\n\n .login-help {\n font-size: 12px;\n justify-content: center;\n text-align: center;\n }\n\n .login-btn {\n text-align: center;\n margin-top: 50px;\n }\n\n .m {\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n }\n\n .a {\n align-items: center;\n }\n\n .qrCodeDiv {\n text-align: center;\n margin-bottom: 10px;\n cursor: pointer;\n width: 150px;\n height: 150px;\n margin: 0 auto;\n /* Center the QR Code */\n }\n\n @media screen and (max-width: 600px) {\n .a {\n flex-direction: column;\n }\n }\n',this.dynamicUI.renderHTML("hexaeight-user-container",'<div id="displayloginlogo" class="m">\n </div>\n <div id="displayheader" class="m">\n <h1>Sign In</h1>\n </div>\n <div class="loginmodal-container">\n <form onsubmit="return false;">\n <div class="login-help" id="hexa8authserver">\n </div>\n <div id="hexa8authqrcode">\n </div>\n <div class="login-help" id="hexa8display">\n </div>\n\t\t<div class="m" id="displaycaptcha" style="text-align: center;">\n \t\t\t<input type="password" id="usercaptcha" maxlength="5" placeholder="Captcha" style="font-size: 18px;" />\n\t\t\t</div> \n\n </form>\n </div>\n ',y),e.next=50,window.auth.user.HexaEight.GetCaptchaCode(window.name);case 50:_=e.sent,F=this.tokenserver+"/api/resourceinfo",fetch(F).then((function(e){return e.text()})).then((function(e){document.getElementById("hexa8authserver").style="",document.getElementById("hexa8authserver").innerHTML="<p><strong> Auth Server : "+e+" </strong></p>"})),_.includes("Hexa8")&&(w=new qo({content:_,width:350,height:350,container:"svg-viewbox",join:!0}).svg(),document.getElementById("displayheader").style.display="none",document.getElementById("hexa8authqrcode").style="height:300px; width:300px; margin-left: auto; margin-right: auto",document.getElementById("hexa8authqrcode").innerHTML="",document.getElementById("hexa8authqrcode").innerHTML=w,document.getElementById("hexa8authqrcode").addEventListener("click",(function(){window.open("https://www.hexaeight.com/qrcode/".concat(_),"_blank")})),this.dynamicUI.addEvent("scan-captchaqrcode",this.scanqrcode,i(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.open("https://www.hexaeight.com/qrcode/".concat(_),"_blank");case 1:case"end":return e.stop()}}),e)})))),this.dynamicUI.addEvent("verify-username",this.triggernextloginphase,i(r().mark((function e(){var t,n,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=document.getElementById("usercaptcha").value,document.getElementById("usercaptcha").value="*****",a=0;case 3:if(e.t0=a<3,!e.t0){e.next=9;break}return e.next=7,M.VerifyCaptcha(t);case 7:n=e.sent,e.t0=1!=n;case 9:if(!e.t0){e.next=13;break}a++;case 11:e.next=3;break;case 13:if(1!=n){e.next=21;break}return M.triggernextloginphase=new $e,M.scanqrcode=new $e,e.next=18,M.EngageAI("Am I Authenticated?");case 18:document.getElementById("hexaeight-user-container").innerHTML="",e.next=22;break;case 21:document.getElementById("hexa8display").innerHTML="Invalid Captcha!! Try Again",document.getElementById("usercaptcha").value="";case 22:case"end":return e.stop()}}),e)})))));case 53:if(t.includes("GETTRANSLATEDMESSAGES:")){e.next=70;break}return S="",e.prev=55,e.t0=o,e.next=59,window.auth.user.HexaEight.GetLanguageText(f||h,this.getPreferredLanguage()[0].toUpperCase()+this.getPreferredLanguage()[1].toUpperCase());case 59:e.t1=e.sent,S=(0,e.t0)(e.t1),e.next=65;break;case 63:e.prev=63,e.t2=e.catch(55);case 65:return q=new CustomEvent("newHexaEightChatMessage",{detail:{user:d,chatresponse:S||f||h,request:"",message:""}}),document.dispatchEvent(q),s.startsWith("@MYTRANSLATOR-")?(z=s.slice(s.lastIndexOf("-")+1),this.speakMessageinLang(S||f||h,z)):this.speakMessage(S||f||h),e.next=70,window.auth.user.HexaEight.AddConversation(window.name,"0",t,S||f||h);case 70:e.next=145;break;case 72:return e.next=74,window.auth.user.HexaEight.FetchGPTURL(window.name);case 74:return B=e.sent,T=s+" "+t,e.prev=76,e.t3=JSON,e.t4=this,e.next=81,window.auth.user.HexaEight.GetContext(window.name,t);case 81:return e.t5=e.sent,e.next=84,e.t4.DecipherMessage.call(e.t4,e.t5);case 84:e.t6=e.sent,e.t7=e.t3.parse.call(e.t3,e.t6).BODY,e.t8=s,e.t9=e.t7+e.t8,e.t10=e.t9+" ",e.t11=t,T=e.t10+e.t11,e.next=96;break;case 93:e.prev=93,e.t12=e.catch(76),T=s+" "+t;case 96:return e.next=98,this.retryHttpPostRequest(B,T);case 98:return L=e.sent,e.next=101,this.blobToText(L);case 101:e.t13=e.sent,O={data:e.t13},R="",e.prev=104,O.data.startsWith("[{")&&(R=O.data.endsWith("}]")?"":"}]"),P=JSON.parse(O.data+R);try{console.log(O.data+R)}catch(e){}try{console.log(P)}catch(e){}return e.prev=109,e.next=112,this.ProtectMessage(O.data+R);case 112:this.user.AIResponse=e.sent,e.next=117;break;case 115:e.prev=115,e.t14=e.catch(109);case 117:if(!(Array.isArray(P)&&P.length>0)){e.next=121;break}P.forEach(function(){var e=i(r().mark((function e(n){var a,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=CustomEvent,e.next=3,M.ProtectMessage(n.ai);case 3:return e.t1=e.sent,e.next=6,M.ProtectMessage(n.response);case 6:return e.t2=e.sent,e.next=9,M.ProtectMessage(n.request);case 9:return e.t3=e.sent,e.next=12,M.ProtectMessage(n.message);case 12:if(e.t4=e.sent,e.t5={user:e.t1,chatresponse:e.t2,request:e.t3,message:e.t4},e.t6={detail:e.t5},a=new e.t0("newHexaEightChatMessage",e.t6),document.dispatchEvent(a),s.startsWith("@MYTRANSLATOR-")?(o=s.slice(s.lastIndexOf("-")+1),M.speakMessageinLang(n.response,o)):M.speakMessage(n.response),e.t7=n.request.includes("INVALIDCONTEXT"),e.t7){e.next=21;break}return e.next=21,window.auth.user.HexaEight.AddConversation(window.name,"0",t,n.response);case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=140;break;case 121:if("object"!=a(P)){e.next=140;break}return e.next=124,this.ProtectMessage(P.ai);case 124:return N=e.sent,e.next=127,this.ProtectMessage(P.response);case 127:return I=e.sent,e.next=130,this.ProtectMessage(P.request);case 130:return j=e.sent,e.next=133,this.ProtectMessage(P.message);case 133:if(U=e.sent,H=new CustomEvent("newHexaEightChatMessage",{detail:{user:N,chatresponse:I,request:j,message:U}}),document.dispatchEvent(H),s.startsWith("@MYTRANSLATOR-")?(z=s.slice(s.lastIndexOf("-")+1),this.speakMessageinLang(P.response,z)):this.speakMessage(P.response),e.t15=response.request.includes("INVALIDCONTEXT"),e.t15){e.next=140;break}return e.next=140,window.auth.user.HexaEight.AddConversation(window.name,"0",t,P.response);case 140:e.next=145;break;case 142:e.prev=142,e.t16=e.catch(104),console.error("Error parsing AIResponse",e.t16);case 145:e.next=150;break;case 147:return e.prev=147,e.t17=e.catch(0),e.abrupt("return","");case 150:case"end":return e.stop()}}),e,this,[[0,147],[55,63],[76,93],[104,142],[109,115]])}))),function(e){return t.apply(this,arguments)})},{key:"initializeSpeechRecognition",value:function(e,t,r){if("SpeechRecognition"in window||"webkitSpeechRecognition"in window){var n=new(window.SpeechRecognition||window.webkitSpeechRecognition);try{this.setPreferredLanguage(t||"en-US"),n.lang=this.preferredlanguage}catch(e){}this.selectedVoiceName=r;var a=!1,o=new webkitSpeechGrammarList;o.addFromString("\n#JSGF V1.0; grammar hexaEight;\npublic <hexaEight> = HexaEight | Hexa Eight | Hexa 8;\n",1),n.grammars=o;var i=this;n.onresult=function(e){var t=e.results[0][0].transcript;i.EngageAI(t)},n.onerror=function(e){console.error("Speech recognition error:",e.error)};var u=document.getElementById(e);u.addEventListener("mousedown",(function(){try{a=!0,n.start()}catch(e){a=!1,n.stop()}})),u.addEventListener("mouseup",(function(){try{a&&(a=!1,n.stop())}catch(e){a=!1,n.stop()}}))}else console.error("SpeechRecognition API is not supported in this browser.")}}]),e}()}(),P.Z}();