From d2b2c8165c28b9ceb3a6863e38ebf68d4d6eb8f7 Mon Sep 17 00:00:00 2001 From: agateblue Date: Sun, 8 Oct 2023 13:05:10 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20agateblu?= =?UTF-8?q?e/tempo@a5bd82aab67c6724d53fc2a448168487fda01f94=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editor.worker.js | 2 +- index.html | 2 +- ...p~748942c6.04522030.js => app~748942c6.1f766ef7.js} | 2 +- ...ecache-manifest.824afae198ed12519597cf0898867884.js | 10 +++++----- service-worker.js | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) rename js/{app~748942c6.04522030.js => app~748942c6.1f766ef7.js} (53%) rename precache-manifest.4235d6dc60ad96db107a3c59eb6c9a9e.js => precache-manifest.824afae198ed12519597cf0898867884.js (94%) diff --git a/editor.worker.js b/editor.worker.js index 104658c..aaf9422 100644 --- a/editor.worker.js +++ b/editor.worker.js @@ -1 +1 @@ -(function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s="e500")})({"30db":function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return N})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return A}));var i,o=n("dff7");const a="en";let s=!1,l=!1,c=!1,u=!1,h=!1,d=!1,f=!1,m=!1,g=!1,b=void 0,p=a,C=void 0,w=void 0;const _="object"===typeof self?self:"object"===typeof e?e:{};let y=void 0;"undefined"!==typeof _.vscode&&"undefined"!==typeof _.vscode.process?y=_.vscode.process:"undefined"!==typeof r&&(y=r);const S="string"===typeof(null===(i=null===y||void 0===y?void 0:y.versions)||void 0===i?void 0:i.electron),v=S&&"renderer"===(null===y||void 0===y?void 0:y.type);if("object"!==typeof navigator||v)if("object"===typeof y){s="win32"===y.platform,l="darwin"===y.platform,c="linux"===y.platform,u=c&&!!y.env["SNAP"]&&!!y.env["SNAP_REVISION"],f=S,g=!!y.env["CI"]||!!y.env["BUILD_ARTIFACTSTAGINGDIRECTORY"],b=a,p=a;const e=y.env["VSCODE_NLS_CONFIG"];if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];b=t.locale,p=n||a,C=t._translationsConfigFile}catch(R){}h=!0}else console.error("Unable to resolve platform.");else{w=navigator.userAgent,s=w.indexOf("Windows")>=0,l=w.indexOf("Macintosh")>=0,m=(w.indexOf("Macintosh")>=0||w.indexOf("iPad")>=0||w.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,c=w.indexOf("Linux")>=0,d=!0;const e=o["a"](o["b"]({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));b=e||a,p=b}let L=0;l?L=1:s?L=3:c&&(L=2);const N=s,E=l,A=d,k=(d&&_.importScripts,w),M="function"===typeof _.postMessage&&!_.importScripts;(()=>{if(M){const e=[];_.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{const r=++t;e.push({id:r,callback:n}),_.postMessage({vscodeScheduleAsyncWork:r},"*")}}})();const O=!!(k&&k.indexOf("Chrome")>=0);k&&k.indexOf("Firefox"),!O&&k&&k.indexOf("Safari"),k&&k.indexOf("Edg/"),k&&k.indexOf("Android")}).call(this,n("c8ba"),n("4362"))},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},c317:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var r=n("30db");let i;if("undefined"!==typeof r["a"].vscode&&"undefined"!==typeof r["a"].vscode.process){const e=r["a"].vscode.process;i={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else i="undefined"!==typeof e?{get platform(){return e.platform},get arch(){return e.arch},get env(){return Object({VUE_APP_DOMAIN:"tempo.agate.blue",VUE_APP_VUE_APP_BUILD_ID:"${$GITHUB_SHA}",VUE_APP_PLAUSIBLE_HOST:"https://stats.agate.blue",NODE_ENV:"production",BASE_URL:"/"})},cwd(){return Object({VUE_APP_DOMAIN:"tempo.agate.blue",VUE_APP_VUE_APP_BUILD_ID:"${$GITHUB_SHA}",VUE_APP_PLAUSIBLE_HOST:"https://stats.agate.blue",NODE_ENV:"production",BASE_URL:"/"})["VSCODE_CWD"]||e.cwd()}}:{get platform(){return r["d"]?"win32":r["b"]?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const o=i.cwd,a=i.env,s=i.platform}).call(this,n("4362"))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(i(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===o(e,-1);return e=n(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},dff7:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));let r="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function i(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,n)=>{const r=n[0],i=t[r];let o=e;return"string"===typeof i?o=i:"number"!==typeof i&&"boolean"!==typeof i&&void 0!==i&&null!==i||(o=String(i)),o}),r&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function o(e,t,...n){return i(t,n)}function a(e){}},e500:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return Br}));class r{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(u.isErrorNoTelemetry(e))throw new u(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const i=new r;function o(e){l(e)||i.onUnexpectedError(e)}function a(e){if(e instanceof Error){const{name:t,message:n}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:u.isErrorNoTelemetry(e)}}return e}const s="Canceled";function l(e){return e instanceof c||e instanceof Error&&e.name===s&&e.message===s}class c extends Error{constructor(){super(s),this.name=this.message}}Error;class u extends Error{constructor(e){super(e),this.name="ErrorNoTelemetry"}static fromError(e){if(e instanceof u)return e;const t=new u;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"ErrorNoTelemetry"===e.name}}Error;function h(e){const t=this;let n,r=!1;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}var d;(function(e){function t(e){return e&&"object"===typeof e&&"function"===typeof e[Symbol.iterator]}e.is=t;const n=Object.freeze([]);function r(){return n}function*i(e){yield e}function o(e){return e||n}function a(e){return!e||!0===e[Symbol.iterator]().next().done}function s(e){return e[Symbol.iterator]().next().value}function l(e,t){for(const n of e)if(t(n))return!0;return!1}function c(e,t){for(const n of e)if(t(n))return n}function*u(e,t){for(const n of e)t(n)&&(yield n)}function*h(e,t){let n=0;for(const r of e)yield t(r,n++)}function*d(...e){for(const t of e)for(const e of t)yield e}function*f(e){for(const t of e)for(const e of t)yield e}function m(e,t,n){let r=n;for(const i of e)r=t(r,i);return r}function g(e,t){let n=0;for(const r of e)t(r,n++)}function*b(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);te===t)){const r=e[Symbol.iterator](),i=t[Symbol.iterator]();while(1){const e=r.next(),t=i.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!n(e.value,t.value))return!1}}e.empty=r,e.single=i,e.from=o,e.isEmpty=a,e.first=s,e.some=l,e.find=c,e.filter=u,e.map=h,e.concat=d,e.concatNested=f,e.reduce=m,e.forEach=g,e.slice=b,e.consume=p,e.collect=C,e.equals=w})(d||(d={}));const f=!1;let m=null;function g(e){m=e}if(f){const e="__is_disposable_tracked__";g(new class{trackDisposable(t){const n=new Error("Potentially leaked disposable").stack;setTimeout(()=>{t[e]||console.log(n)},3e3)}setParent(t,n){if(t&&t!==N.None)try{t[e]=!0}catch(r){}}markAsDisposed(t){if(t&&t!==N.None)try{t[e]=!0}catch(n){}}markAsSingleton(e){}})}function b(e){return null===m||void 0===m||m.trackDisposable(e),e}function p(e){null===m||void 0===m||m.markAsDisposed(e)}function C(e,t){null===m||void 0===m||m.setParent(e,t)}function w(e,t){if(m)for(const n of e)m.setParent(n,t)}class _ extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function y(e){if(d.is(e)){const n=[];for(const r of e)if(r)try{r.dispose()}catch(t){n.push(t)}if(1===n.length)throw n[0];if(n.length>1)throw new _(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function S(...e){const t=v(()=>y(e));return w(e,t),t}function v(e){const t=b({dispose:h(()=>{p(t),e()})});return t}class L{constructor(){this._toDispose=new Set,this._isDisposed=!1,b(this)}dispose(){this._isDisposed||(p(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{y(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return C(e,this),this._isDisposed?L.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}L.DISABLE_DISPOSED_WARNING=!1;class N{constructor(){this._store=new L,b(this),C(this._store,this)}dispose(){p(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}N.None=Object.freeze({dispose(){}});class E{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,b(this)}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0,p(this))},this}}class A{constructor(e){this.element=e,this.next=A.Undefined,this.prev=A.Undefined}}A.Undefined=new A(void 0);class k{constructor(){this._first=A.Undefined,this._last=A.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===A.Undefined}clear(){let e=this._first;while(e!==A.Undefined){const t=e.next;e.prev=A.Undefined,e.next=A.Undefined,e=t}this._first=A.Undefined,this._last=A.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new A(e);if(this._first===A.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==A.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==A.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==A.Undefined&&e.next!==A.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===A.Undefined&&e.next===A.Undefined?(this._first=A.Undefined,this._last=A.Undefined):e.next===A.Undefined?(this._last=this._last.prev,this._last.next=A.Undefined):e.prev===A.Undefined&&(this._first=this._first.next,this._first.prev=A.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;while(e!==A.Undefined)yield e.element,e=e.next}}var M=n("30db");const O=M["a"].performance&&"function"===typeof M["a"].performance.now;class R{constructor(e){this._highResolution=O&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new R(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?M["a"].performance.now():Date.now()}}const x=!1,P=!1;var T;(function(e){function t(e){if(P){const{onListenerDidAdd:t}=e,n=V.create();let r=0;e.onListenerDidAdd=()=>{2===++r&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),n.print()),null===t||void 0===t||t()}}}function n(e){return(t,n=null,r)=>{let i=!1,o=void 0;return o=e(e=>{if(!i)return o?o.dispose():i=!0,t.call(n,e)},null,r),i&&o.dispose(),o}}function r(e,t,n){return c((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i),n)}function i(e,t,n){return c((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i),n)}function o(e,t,n){return c((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i),n)}function a(e){return e}function s(...e){return(t,n=null,r)=>S(...e.map(e=>e(e=>t.call(n,e),null,r)))}function l(e,t,n,i){let o=n;return r(e,e=>(o=t(o,e),o),i)}function c(e,n){let r;const i={onFirstListenerAdd(){r=e(o.fire,o)},onLastListenerRemove(){null===r||void 0===r||r.dispose()}};n||t(i);const o=new B(i);return null===n||void 0===n||n.add(o),o.event}function u(e,n,r=100,i=!1,o,a){let s,l=void 0,c=void 0,u=0;const h={leakWarningThreshold:o,onFirstListenerAdd(){s=e(e=>{u++,l=n(l,e),i&&!c&&(d.fire(l),l=void 0),clearTimeout(c),c=setTimeout(()=>{const e=l;l=void 0,c=void 0,(!i||u>1)&&d.fire(e),u=0},r)})},onLastListenerRemove(){s.dispose()}};a||t(h);const d=new B(h);return null===a||void 0===a||a.add(d),d.event}function h(e,t=((e,t)=>e===t),n){let r,i=!0;return o(e,e=>{const n=i||!t(e,r);return i=!1,r=e,n},n)}function d(t,n,r){return[e.filter(t,n,r),e.filter(t,e=>!n(e),r)]}function f(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):a.fire(e)});const o=()=>{null===r||void 0===r||r.forEach(e=>a.fire(e)),r=null},a=new B({onFirstListenerAdd(){i||(i=e(e=>a.fire(e)))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return a.event}e.None=()=>N.None,e.once=n,e.map=r,e.forEach=i,e.filter=o,e.signal=a,e.any=s,e.reduce=l,e.debounce=u,e.latch=h,e.split=d,e.buffer=f;class m{constructor(e){this.event=e,this.disposables=new L}map(e){return new m(r(this.event,e,this.disposables))}forEach(e){return new m(i(this.event,e,this.disposables))}filter(e){return new m(o(this.event,e,this.disposables))}reduce(e,t){return new m(l(this.event,e,t,this.disposables))}latch(){return new m(h(this.event,void 0,this.disposables))}debounce(e,t=100,n=!1,r){return new m(u(this.event,e,t,n,r,this.disposables))}on(e,t,n){return this.event(e,t,n)}once(e,t,r){return n(this.event)(e,t,r)}dispose(){this.disposables.dispose()}}function g(e){return new m(e)}function b(e,t,n=(e=>e)){const r=(...e)=>a.fire(n(...e)),i=()=>e.on(t,r),o=()=>e.removeListener(t,r),a=new B({onFirstListenerAdd:i,onLastListenerRemove:o});return a.event}function p(e,t,n=(e=>e)){const r=(...e)=>a.fire(n(...e)),i=()=>e.addEventListener(t,r),o=()=>e.removeEventListener(t,r),a=new B({onFirstListenerAdd:i,onLastListenerRemove:o});return a.event}function C(e){return new Promise(t=>n(e)(t))}function w(e,t){return t(void 0),e(e=>t(e))}function _(e,t){let n=null;function r(e){null===n||void 0===n||n.dispose(),n=new L,t(e,n)}r(void 0);const i=e(e=>r(e));return v(()=>{i.dispose(),null===n||void 0===n||n.dispose()})}e.chain=g,e.fromNodeEventEmitter=b,e.fromDOMEventEmitter=p,e.toPromise=C,e.runAndSubscribe=w,e.runAndSubscribeWithStore=_;class y{constructor(e,n){this.obs=e,this._counter=0,this._hasChanged=!1;const r={onFirstListenerAdd:()=>{e.addObserver(this)},onLastListenerRemove:()=>{e.removeObserver(this)}};n||t(r),this.emitter=new B(r),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handleChange(e,t){this._hasChanged=!0}endUpdate(e){0===--this._counter&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}function E(e,t){const n=new y(e,t);return n.emitter.event}e.fromObservable=E})(T||(T={}));class I{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${I._idPool++}`}start(e){this._stopWatch=new R(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}I._idPool=0;let D=-1;class K{constructor(e,t=Math.random().toString(18).slice(2,5)){this.customThreshold=e,this.name=t,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(e,t){let n=D;if("number"===typeof this.customThreshold&&(n=this.customThreshold),n<=0||t{const t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class V{constructor(e){this.value=e}static create(){var e;return new V(null!==(e=(new Error).stack)&&void 0!==e?e:"")}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class F{constructor(e,t,n){this.callback=e,this.callbackThis=t,this.stack=n,this.subscription=new E}invoke(e){this.callback.call(this.callbackThis,e)}}class B{constructor(e){var t,n;this._disposed=!1,this._options=e,this._leakageMon=D>0?new K(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new I(this._options._profName):void 0,this._deliveryQueue=null===(n=this._options)||void 0===n?void 0:n.deliveryQueue}dispose(){var e,t,n,r;if(!this._disposed){if(this._disposed=!0,this._listeners){if(x){const e=Array.from(this._listeners);queueMicrotask(()=>{var t;for(const n of e)n.subscription.isset()&&(n.subscription.unset(),null===(t=n.stack)||void 0===t||t.print())})}this._listeners.clear()}null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(n=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===n||n.call(t),null===(r=this._leakageMon)||void 0===r||r.dispose()}}get event(){return this._event||(this._event=(e,t,n)=>{var r,i,o;this._listeners||(this._listeners=new k);const a=this._listeners.isEmpty();let s,l;a&&(null===(r=this._options)||void 0===r?void 0:r.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this),this._leakageMon&&this._listeners.size>=30&&(l=V.create(),s=this._leakageMon.check(l,this._listeners.size+1)),x&&(l=null!==l&&void 0!==l?l:V.create());const c=new F(e,t,l),u=this._listeners.push(c);a&&(null===(i=this._options)||void 0===i?void 0:i.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),(null===(o=this._options)||void 0===o?void 0:o.onListenerDidAdd)&&this._options.onListenerDidAdd(this,e,t);const h=c.subscription.set(()=>{if(null===s||void 0===s||s(),!this._disposed&&(u(),this._options&&this._options.onLastListenerRemove)){const e=this._listeners&&!this._listeners.isEmpty();e||this._options.onLastListenerRemove(this)}});return n instanceof L?n.add(h):Array.isArray(n)&&n.push(h),h}),this._event}fire(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new q);for(const t of this._listeners)this._deliveryQueue.push(this,t,e);null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(n=this._perfMon)||void 0===n||n.stop()}}}class U{constructor(){this._queue=new k}get size(){return this._queue.size}push(e,t,n){this._queue.push(new H(e,t,n))}clear(e){const t=new k;for(const n of this._queue)n.emitter!==e&&t.push(n);this._queue=t}deliver(){while(this._queue.size>0){const t=this._queue.shift();try{t.listener.invoke(t.event)}catch(e){o(e)}}}}class q extends U{clear(e){this._queue.clear()}}class H{constructor(e,t,n){this.emitter=e,this.listener=t,this.event=n}}function W(e){let t=[],n=Object.getPrototypeOf(e);while(Object.prototype!==n)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function j(e){const t=[];for(const n of W(e))"function"===typeof e[n]&&t.push(n);return t}function z(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(const i of e)r[i]=n(i);return r}function $(e,t="Unreachable"){throw new Error(t)}class G{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}class Y{constructor(e){this.executor=e,this._didRun=!1}hasValue(){return this._didRun}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Z;function J(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Q(e){return e.split(/\r\n|\r|\n/)}function X(e){for(let t=0,n=e.length;t=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function te(e){return e>=65&&e<=90}function ne(e){return 55296<=e&&e<=56319}function re(e){return 56320<=e&&e<=57343}function ie(e,t){return t-56320+(e-55296<<10)+65536}function oe(e,t,n){const r=e.charCodeAt(n);if(ne(r)&&n+1t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}function ce(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}le._INSTANCE=null;class ue{constructor(e){this.confusableDictionary=e}static getInstance(e){return ue.cache.get(Array.from(e))}static getLocales(){return ue._locales.getValue()}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}Z=ue,ue.ambiguousCharacterData=new Y(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),ue.cache=new G(e=>{function t(e){const t=new Map;for(let n=0;n!e.startsWith("_")&&e in i);0===o.length&&(o=["_default"]);let a=void 0;for(const c of o){const e=t(i[c]);a=r(a,e)}const s=t(i["_common"]),l=n(s,a);return new ue(l)}),ue._locales=new Y(()=>Object.keys(ue.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith("_")));class he{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(he.getRawData())),this._data}static isInvisibleCharacter(e){return he.getData().has(e)}static get codePoints(){return he.getData()}}he._data=void 0;const de="$initialize";class fe{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class me{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class ge{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class be{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class pe{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class Ce{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new fe(this._workerId,n,e,t))})}listen(e,t){let n=null;const r=new B({onFirstListenerAdd:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new ge(this._workerId,n,e,t))},onLastListenerRemove:()=>{this._pendingEmitters.delete(n),this._send(new pe(this._workerId,n)),n=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");const t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;return e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}_handleRequestMessage(e){const t=e.req,n=this._handler.handleMessage(e.method,e.args);n.then(e=>{this._send(new me(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=a(e.detail)),this._send(new me(this._workerId,t,void 0,a(e)))})}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new be(this._workerId,t,e))});this._pendingEvents.set(t,n)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){const t=[];if(0===e.type)for(let n=0;nfunction(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},o={};for(const a of e)_e(a)?o[a]=i(a):we(a)?o[a]=n(a,void 0):o[a]=r(a);return o}class Se{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new Ce({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===de)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!==typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(n){return Promise.reject(n)}}_handleEvent(e,t){if(!this._requestHandler)throw new Error("Missing requestHandler");if(_e(e)){const n=this._requestHandler[e].call(this._requestHandler,t);if("function"!==typeof n)throw new Error(`Missing dynamic event ${e} on request handler.`);return n}if(we(e)){const t=this._requestHandler[e];if("function"!==typeof t)throw new Error(`Missing event ${e} on request handler.`);return t}throw new Error("Malformed event name "+e)}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=(e,t)=>this._protocol.sendMessage(e,t),o=(e,t)=>this._protocol.listen(e,t),a=ye(r,i,o);return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(a),Promise.resolve(j(this._requestHandler))):(t&&("undefined"!==typeof t.baseUrl&&delete t["baseUrl"],"undefined"!==typeof t.paths&&"undefined"!==typeof t.paths.vs&&delete t.paths["vs"],void 0!==typeof t.trustedTypesPolicy&&delete t["trustedTypesPolicy"],t.catchError=!0,M["a"].require.config(t)),new Promise((e,t)=>{const r=M["a"].require;r([n],n=>{this._requestHandler=n.create(a),this._requestHandler?e(j(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}class ve{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Le(e,t){return(t<<5)-t+e|0}function Ne(e,t){t=Le(149417,t);for(let n=0,r=e.length;n>>r)>>>0}function Ae(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):ke((e>>>0).toString(16),t/4)}class Oe{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let r,i,o=this._buffLen,a=this._leftoverHighSurrogate;0!==a?(r=a,i=-1,a=0):(r=e.charCodeAt(0),i=0);while(1){let s=r;if(ne(r)){if(!(i+1>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Me(this._h0)+Me(this._h1)+Me(this._h2)+Me(this._h3)+Me(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Ae(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Ae(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=Oe._bigBlock32,t=this._buffDV;for(let u=0;u<64;u+=4)e.setUint32(u,t.getUint32(u,!1),!1);for(let u=64;u<320;u+=4)e.setUint32(u,Ee(e.getUint32(u-12,!1)^e.getUint32(u-32,!1)^e.getUint32(u-56,!1)^e.getUint32(u-64,!1),1),!1);let n,r,i,o=this._h0,a=this._h1,s=this._h2,l=this._h3,c=this._h4;for(let u=0;u<80;u++)u<20?(n=a&s|~a&l,r=1518500249):u<40?(n=a^s^l,r=1859775393):u<60?(n=a&s|a&l|s&l,r=2400959708):(n=a^s^l,r=3395469782),i=Ee(o,5)+n+c+r+e.getUint32(4*u,!1)&4294967295,c=l,l=s,s=Ee(a,30),a=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+a&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+c&4294967295}}Oe._bigBlock32=new DataView(new ArrayBuffer(320));class Re{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new ve(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class De{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[r,i,o]=De._getElements(e),[a,s,l]=De._getElements(t);this._hasStrings=o&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=a,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"===typeof e[0]}static _getElements(e){const t=e.getElements();if(De._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&r>=n&&this.ElementsAreEqual(t,r))t--,r--;if(e>t||n>r){let i;return n<=r?(Pe.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new ve(e,0,n,r-n+1)]):e<=t?(Pe.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new ve(e,t-e+1,n,0)]):(Pe.Assert(e===t+1,"originalStart should only be one more than originalEnd"),Pe.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}const o=[0],a=[0],s=this.ComputeRecursionPoint(e,t,n,r,o,a,i),l=o[0],c=a[0];if(null!==s)return s;if(!i[0]){const o=this.ComputeDiffRecursive(e,l,n,c,i);let a=[];return a=i[0]?[new ve(l+1,t-(l+1)+1,c+1,r-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,r,i),this.ConcatenateChanges(o,a)}return[new ve(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,o,a,s,l,c,u,h,d,f,m,g,b,p){let C=null,w=null,_=new Ie,y=t,S=n,v=d[0]-g[0]-r,L=-1073741824,N=this.m_forwardHistory.length-1;do{const t=v+e;t===y||t=0&&(l=this.m_forwardHistory[N],e=l[0],y=1,S=l.length-1)}while(--N>=-1);if(C=_.getReverseChanges(),p[0]){let e=d[0]+1,t=g[0]+1;if(null!==C&&C.length>0){const n=C[C.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}w=[new ve(e,h-e+1,t,m-t+1)]}else{_=new Ie,y=o,S=a,v=d[0]-g[0]-s,L=1073741824,N=b?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=v+i;e===y||e=c[e+1]?(u=c[e+1]-1,f=u-v-s,u>L&&_.MarkNextChange(),L=u+1,_.AddOriginalElement(u+1,f+1),v=e+1-i):(u=c[e-1],f=u-v-s,u>L&&_.MarkNextChange(),L=u,_.AddModifiedElement(u+1,f+1),v=e-1-i),N>=0&&(c=this.m_reverseHistory[N],i=c[0],y=1,S=c.length-1)}while(--N>=-1);w=_.getChanges()}return this.ConcatenateChanges(C,w)}ComputeRecursionPoint(e,t,n,r,i,o,a){let s=0,l=0,c=0,u=0,h=0,d=0;e--,n--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(r-n),m=f+1,g=new Int32Array(m),b=new Int32Array(m),p=r-n,C=t-e,w=e-n,_=t-r,y=C-p,S=y%2===0;g[p]=e,b[C]=t,a[0]=!1;for(let v=1;v<=f/2+1;v++){let f=0,y=0;c=this.ClipDiagonalBound(p-v,v,p,m),u=this.ClipDiagonalBound(p+v,v,p,m);for(let e=c;e<=u;e+=2){s=e===c||ef+y&&(f=s,y=l),!S&&Math.abs(e-C)<=v-1&&s>=b[e])return i[0]=s,o[0]=l,n<=b[e]&&v<=1448?this.WALKTRACE(p,c,u,w,C,h,d,_,g,b,s,t,i,l,r,o,S,a):null}const L=(f-e+(y-n)-v)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,L))return a[0]=!0,i[0]=f,o[0]=y,L>0&&v<=1448?this.WALKTRACE(p,c,u,w,C,h,d,_,g,b,s,t,i,l,r,o,S,a):(e++,n++,[new ve(e,t-e+1,n,r-n+1)]);h=this.ClipDiagonalBound(C-v,v,C,m),d=this.ClipDiagonalBound(C+v,v,C,m);for(let m=h;m<=d;m+=2){s=m===h||m=b[m+1]?b[m+1]-1:b[m-1],l=s-(m-C)-_;const f=s;while(s>e&&l>n&&this.ElementsAreEqual(s,l))s--,l--;if(b[m]=s,S&&Math.abs(m-p)<=v&&s<=g[m])return i[0]=s,o[0]=l,f>=g[m]&&v<=1448?this.WALKTRACE(p,c,u,w,C,h,d,_,g,b,s,t,i,l,r,o,S,a):null}if(v<=1447){let e=new Int32Array(u-c+2);e[0]=p-c+1,Te.Copy2(g,c,e,1,u-c+1),this.m_forwardHistory.push(e),e=new Int32Array(d-h+2),e[0]=C-h+1,Te.Copy2(b,h,e,1,d-h+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(p,c,u,w,C,h,d,_,g,b,s,t,i,l,r,o,S,a)}PrettifyChanges(e){for(let t=0;t0,a=n.modifiedLength>0;while(n.originalStart+n.originalLength=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}const o=n.originalLength>0,a=n.modifiedLength>0;let s=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(tl&&(l=h,s=e)}n.originalStart-=s,n.modifiedStart-=s;const c=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],c)&&(e[t-1]=c[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,n=e.length;t0&&t>s&&(s=t,l=u,c=e)}return s>0?[l,c]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){const i=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(n,r)?1:0;return i+o}ConcatenateChanges(e,t){const n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return Te.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],Te.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return Te.Copy(e,0,n,0,e.length),Te.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(Pe.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),Pe.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let i=e.originalLength;const o=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new ve(r,i,o,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e=Ve&&e<=Be||e>=Fe&&e<=Ue}function Qe(e,t,n,r){let i="",o=0,a=-1,s=0,l=0;for(let c=0;c<=e.length;++c){if(c2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),a=c,s=0;continue}if(0!==i.length){i="",o=0,a=c,s=0;continue}}t&&(i+=i.length>0?n+"..":"..",o=2)}else i.length>0?i+=`${n}${e.slice(a+1,c)}`:i=e.slice(a+1,c),o=c-a-1;a=c,s=0}else l===qe&&-1!==s?++s:s=-1}return i}function Xe(e,t){if(null===t||"object"!==typeof t)throw new $e("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const et={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let o;if(i>=0){if(o=e[i],Ge(o,"path"),0===o.length)continue}else 0===t.length?o=Ke["a"]():(o=Ke["b"]["="+t]||Ke["a"](),(void 0===o||o.slice(0,2).toLowerCase()!==t.toLowerCase()&&o.charCodeAt(2)===We)&&(o=t+"\\"));const a=o.length;let s=0,l="",c=!1;const u=o.charCodeAt(0);if(1===a)Ye(u)&&(s=1,c=!0);else if(Ye(u))if(c=!0,Ye(o.charCodeAt(1))){let e=2,t=e;while(e2&&Ye(o.charCodeAt(2))&&(c=!0,s=3));if(l.length>0)if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l;if(r){if(t.length>0)break}else if(n=`${o.slice(s)}\\${n}`,r=c,c&&t.length>0)break}return n=Qe(n,!r,"\\",Ye),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Ge(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const o=e.charCodeAt(0);if(1===t)return Ze(o)?"\\":e;if(Ye(o))if(i=!0,Ye(e.charCodeAt(1))){let i=2,o=i;while(i2&&Ye(e.charCodeAt(2))&&(i=!0,r=3));let a=r0&&Ye(e.charCodeAt(t-1))&&(a+="\\"),void 0===n?i?"\\"+a:a:i?`${n}\\${a}`:`${n}${a}`},isAbsolute(e){Ge(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return Ye(n)||t>2&&Je(n)&&e.charCodeAt(1)===je&&Ye(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let o=0;o0&&(void 0===t?t=n=r:t+="\\"+r)}if(void 0===t)return".";let r=!0,i=0;if("string"===typeof n&&Ye(n.charCodeAt(0))){++i;const e=n.length;e>1&&Ye(n.charCodeAt(1))&&(++i,e>2&&(Ye(n.charCodeAt(2))?++i:r=!1))}if(r){while(i=2&&(t="\\"+t.slice(i))}return et.normalize(t)},relative(e,t){if(Ge(e,"from"),Ge(t,"to"),e===t)return"";const n=et.resolve(e),r=et.resolve(t);if(n===r)return"";if(e=n.toLowerCase(),t=r.toLowerCase(),e===t)return"";let i=0;while(ii&&e.charCodeAt(o-1)===We)o--;const a=o-i;let s=0;while(ss&&t.charCodeAt(l-1)===We)l--;const c=l-s,u=au){if(t.charCodeAt(s+d)===We)return r.slice(s+d+1);if(2===d)return r.slice(s+d)}a>u&&(e.charCodeAt(i+d)===We?h=d:2===d&&(h=3)),-1===h&&(h=0)}let f="";for(d=i+h+1;d<=o;++d)d!==o&&e.charCodeAt(d)!==We||(f+=0===f.length?"..":"\\..");return s+=h,f.length>0?`${f}${r.slice(s,l)}`:(r.charCodeAt(s)===We&&++s,r.slice(s,l))},toNamespacedPath(e){if("string"!==typeof e)return e;if(0===e.length)return"";const t=et.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===We){if(t.charCodeAt(1)===We){const e=t.charCodeAt(2);if(e!==ze&&e!==qe)return"\\\\?\\UNC\\"+t.slice(2)}}else if(Je(t.charCodeAt(0))&&t.charCodeAt(1)===je&&t.charCodeAt(2)===We)return"\\\\?\\"+t;return e},dirname(e){Ge(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return Ye(i)?e:".";if(Ye(i)){if(n=r=1,Ye(e.charCodeAt(1))){let i=2,o=i;while(i2&&Ye(e.charCodeAt(2))?3:2,r=n);let o=-1,a=!0;for(let s=t-1;s>=r;--s)if(Ye(e.charCodeAt(s))){if(!a){o=s;break}}else a=!1;if(-1===o){if(-1===n)return".";o=n}return e.slice(0,o)},basename(e,t){void 0!==t&&Ge(t,"ext"),Ge(e,"path");let n,r=0,i=-1,o=!0;if(e.length>=2&&Je(e.charCodeAt(0))&&e.charCodeAt(1)===je&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,s=-1;for(n=e.length-1;n>=r;--n){const l=e.charCodeAt(n);if(Ye(l)){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1===--a&&(i=n):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(Ye(e.charCodeAt(n))){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){Ge(e,"path");let t=0,n=-1,r=0,i=-1,o=!0,a=0;e.length>=2&&e.charCodeAt(1)===je&&Je(e.charCodeAt(0))&&(t=r=2);for(let s=e.length-1;s>=t;--s){const t=e.charCodeAt(s);if(Ye(t)){if(!o){r=s+1;break}}else-1===i&&(o=!1,i=s+1),t===qe?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1)}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:Xe.bind(null,"\\"),parse(e){Ge(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return Ye(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Ye(i)){if(r=1,Ye(e.charCodeAt(1))){let t=2,i=t;while(t0&&(t.root=e.slice(0,r));let o=-1,a=r,s=-1,l=!0,c=e.length-1,u=0;for(;c>=r;--c)if(i=e.charCodeAt(c),Ye(i)){if(!l){a=c+1;break}}else-1===s&&(l=!1,s=c+1),i===qe?-1===o?o=c:1!==u&&(u=1):-1!==o&&(u=-1);return-1!==s&&(-1===o||0===u||1===u&&o===s-1&&o===a+1?t.base=t.name=e.slice(a,s):(t.name=e.slice(a,o),t.base=e.slice(a,s),t.ext=e.slice(o,s))),t.dir=a>0&&a!==r?e.slice(0,a-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},tt={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:Ke["a"]();Ge(i,"path"),0!==i.length&&(t=`${i}/${t}`,n=i.charCodeAt(0)===He)}return t=Qe(t,!n,"/",Ze),n?"/"+t:t.length>0?t:"."},normalize(e){if(Ge(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===He,n=e.charCodeAt(e.length-1)===He;return e=Qe(e,!t,"/",Ze),0===e.length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute(e){return Ge(e,"path"),e.length>0&&e.charCodeAt(0)===He},join(...e){if(0===e.length)return".";let t;for(let n=0;n0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":tt.normalize(t)},relative(e,t){if(Ge(e,"from"),Ge(t,"to"),e===t)return"";if(e=tt.resolve(e),t=tt.resolve(t),e===t)return"";const n=1,r=e.length,i=r-n,o=1,a=t.length-o,s=is){if(t.charCodeAt(o+c)===He)return t.slice(o+c+1);if(0===c)return t.slice(o+c)}else i>s&&(e.charCodeAt(n+c)===He?l=c:0===c&&(l=0));let u="";for(c=n+l+1;c<=r;++c)c!==r&&e.charCodeAt(c)!==He||(u+=0===u.length?"..":"/..");return`${u}${t.slice(o+l)}`},toNamespacedPath(e){return e},dirname(e){if(Ge(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===He;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===He){if(!r){n=i;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&Ge(t,"ext"),Ge(e,"path");let n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(l===He){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1===--a&&(i=n):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===He){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){Ge(e,"path");let t=-1,n=0,r=-1,i=!0,o=0;for(let a=e.length-1;a>=0;--a){const s=e.charCodeAt(a);if(s!==He)-1===r&&(i=!1,r=a+1),s===qe?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:Xe.bind(null,"/"),parse(e){Ge(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===He;let r;n?(t.root="/",r=1):r=0;let i=-1,o=0,a=-1,s=!0,l=e.length-1,c=0;for(;l>=r;--l){const t=e.charCodeAt(l);if(t!==He)-1===a&&(s=!1,a=l+1),t===qe?-1===i?i=l:1!==c&&(c=1):-1!==i&&(c=-1);else if(!s){o=l+1;break}}if(-1!==a){const r=0===o&&n?1:o;-1===i||0===c||1===c&&i===a-1&&i===o+1?t.base=t.name=e.slice(r,a):(t.name=e.slice(r,i),t.base=e.slice(r,a),t.ext=e.slice(i,a))}return o>0?t.dir=e.slice(0,o-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};tt.win32=et.win32=et,tt.posix=et.posix=tt;"win32"===Ke["c"]?et.normalize:tt.normalize,"win32"===Ke["c"]?et.resolve:tt.resolve,"win32"===Ke["c"]?et.relative:tt.relative,"win32"===Ke["c"]?et.dirname:tt.dirname,"win32"===Ke["c"]?et.basename:tt.basename,"win32"===Ke["c"]?et.extname:tt.extname,"win32"===Ke["c"]?et.sep:tt.sep;const nt=/^\w[\w\d+.-]*$/,rt=/^\//,it=/^\/\//;function ot(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!nt.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!rt.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(it.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}function at(e,t){return e||t?e:"file"}function st(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ct&&(t=ct+t):t=ct;break}return t}const lt="",ct="/",ut=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class ht{constructor(e,t,n,r,i,o=!1){"object"===typeof e?(this.scheme=e.scheme||lt,this.authority=e.authority||lt,this.path=e.path||lt,this.query=e.query||lt,this.fragment=e.fragment||lt):(this.scheme=at(e,o),this.authority=t||lt,this.path=st(this.scheme,n||lt),this.query=r||lt,this.fragment=i||lt,ot(this,o))}static isUri(e){return e instanceof ht||!!e&&("string"===typeof e.authority&&"string"===typeof e.fragment&&"string"===typeof e.path&&"string"===typeof e.query&&"string"===typeof e.scheme&&"string"===typeof e.fsPath&&"function"===typeof e.with&&"function"===typeof e.toString)}get fsPath(){return pt(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=lt),void 0===n?n=this.authority:null===n&&(n=lt),void 0===r?r=this.path:null===r&&(r=lt),void 0===i?i=this.query:null===i&&(i=lt),void 0===o?o=this.fragment:null===o&&(o=lt),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new ft(t,n,r,i,o)}static parse(e,t=!1){const n=ut.exec(e);return n?new ft(n[2]||lt,yt(n[4]||lt),yt(n[5]||lt),yt(n[7]||lt),yt(n[9]||lt),t):new ft(lt,lt,lt,lt,lt)}static file(e){let t=lt;if(M["d"]&&(e=e.replace(/\\/g,ct)),e[0]===ct&&e[1]===ct){const n=e.indexOf(ct,2);-1===n?(t=e.substring(2),e=ct):(t=e.substring(2,n),e=e.substring(n)||ct)}return new ft("file",t,e,lt,lt)}static from(e){const t=new ft(e.scheme,e.authority,e.path,e.query,e.fragment);return ot(t,!0),t}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=M["d"]&&"file"===e.scheme?ht.file(et.join(pt(e,!0),...t)).path:tt.join(e.path,...t),e.with({path:n})}toString(e=!1){return Ct(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof ht)return e;{const t=new ft(e);return t._formatted=e.external,t._fsPath=e._sep===dt?e.fsPath:null,t}}return e}}const dt=M["d"]?1:void 0;class ft extends ht{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=pt(this,!1)),this._fsPath}toString(e=!1){return e?Ct(this,!0):(this._formatted||(this._formatted=Ct(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=dt),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const mt={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function gt(e,t){let n=void 0,r=-1;for(let i=0;i=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=mt[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function bt(e){let t=void 0;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,M["d"]&&(n=n.replace(/\//g,"\\")),n}function Ct(e,t){const n=t?bt:gt;let r="",{scheme:i,authority:o,path:a,query:s,fragment:l}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=ct,r+=ct),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){const e=a.charCodeAt(1);e>=65&&e<=90&&(a=`/${String.fromCharCode(e+32)}:${a.substr(3)}`)}else if(a.length>=2&&58===a.charCodeAt(1)){const e=a.charCodeAt(0);e>=65&&e<=90&&(a=`${String.fromCharCode(e+32)}:${a.substr(2)}`)}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),l&&(r+="#",r+=t?l:gt(l,!1)),r}function wt(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+wt(e.substr(3)):e}}const _t=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function yt(e){return e.match(_t)?e.replace(_t,e=>wt(e)):e}class St{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new St(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return St.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return St.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return vt.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return vt.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}containsRange(e){return vt.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)))}strictContainsRange(e){return vt.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return vt.plusRange(this,e)}static plusRange(e,t){let n,r,i,o;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new vt(n,r,i,o)}intersectRanges(e){return vt.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn;const a=t.startLineNumber,s=t.startColumn,l=t.endLineNumber,c=t.endColumn;return nl?(i=l,o=c):i===l&&(o=Math.min(o,c)),n>i||n===i&&r>o?null:new vt(n,r,i,o)}equalsRange(e){return vt.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return vt.getEndPosition(this)}static getEndPosition(e){return new St(e.endLineNumber,e.endColumn)}getStartPosition(){return vt.getStartPosition(this)}static getStartPosition(e){return new St(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new vt(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new vt(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return vt.collapseToStart(this)}static collapseToStart(e){return new vt(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new vt(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new vt(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}const Lt=3;function Nt(e,t,n,r){const i=new De(e,t,n);return i.ComputeDiff(r)}class Et{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return-1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e]?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return-1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e]?1:this._columns[e]+1)}}class kt{constructor(e,t,n,r,i,o,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}static createFromDiffChange(e,t,n){const r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),a=t.getEndColumn(e.originalStart+e.originalLength-1),s=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),u=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new kt(r,i,o,a,s,l,c,u)}}function Mt(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),s=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(o.getElements().length>0&&s.getElements().length>0){let e=Nt(o,s,i,!0).changes;a&&(e=Mt(e)),h=[];for(let t=0,n=e.length;t1&&a>1){const r=e.charCodeAt(n-2),i=t.charCodeAt(a-2);if(r!==i)break;n--,a--}(n>1||a>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,a)}{let n=Pt(e,1),a=Pt(t,1);const s=e.length+1,l=t.length+1;while(n!0;const t=Date.now();return()=>Date.now()-t0}function r(e){return 0===e}e.isLessThan=t,e.isGreaterThan=n,e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(It||(It={}));function Dt(e){return e<0?0:e>255?255:0|e}function Kt(e){return e<0?0:e>4294967295?4294967295:0|e}class Vt{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Kt(e);const n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=Kt(e),t=Kt(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;const i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=Kt(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,o=0;while(t<=n)if(r=t+(n-t)/2|0,i=this.prefixSum[r],o=i-this.values[r],e=i))break;t=r+1}return new Ft(r,e-o)}}class Ft{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class Bt{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new St(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r/?";function qt(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of Ut)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const Ht=qt();function Wt(e){let t=Ht;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const jt=new k;function zt(e,t,n,r,i){if(i||(i=d.first(jt)),n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?o=0:r+=o,n=n.substring(o,e+i.maxLen/2),zt(e,t,n,r,i)}const o=Date.now(),a=e-1-r;let s=-1,l=null;for(let c=1;;c++){if(Date.now()-o>=i.timeBudget)break;const e=a-i.windowSize*c;t.lastIndex=Math.max(0,e);const r=$t(t,n,a,s);if(!r&&l)break;if(l=r,e<=0)break;s=e}if(l){const e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}function $t(e,t,n,r){let i;while(i=e.exec(t)){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}jt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class Gt{constructor(e){const t=Dt(e);this._defaultValue=t,this._asciiMap=Gt._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){const n=Dt(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class Yt{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;it&&(t=o),r>n&&(n=r),a>n&&(n=a)}t++,n++;const r=new Yt(n,t,0);for(let i=0,o=e.length;i=this._maxCharCode?0:this._states.get(e,t)}}let Jt=null;function Qt(){return null===Jt&&(Jt=new Zt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Jt}let Xt=null;function en(){if(null===Xt){Xt=new Gt(0);const e=" \t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let n=0;nr);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=Qt()){const n=en(),r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),a=o.length;let s=0,l=0,c=0,u=1,h=!1,d=!1,f=!1,m=!1;while(s=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}rn.INSTANCE=new rn;const on=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var an;(function(e){function t(t){return t===e.None||t===e.Cancelled||(t instanceof sn||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:T.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:on})})(an||(an={}));class sn{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?on:(this._emitter||(this._emitter=new B),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class ln{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new sn),this._token}cancel(){this._token?this._token instanceof sn&&this._token.cancel():this._token=an.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof sn&&this._token.dispose():this._token=an.None}}class cn{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const un=new cn,hn=new cn,dn=new cn,fn=new Array(230),mn={},gn=[],bn=Object.create(null),pn=Object.create(null),Cn=[],wn=[];for(let Ur=0;Ur<=193;Ur++)Cn[Ur]=-1;for(let Ur=0;Ur<=127;Ur++)wn[Ur]=-1;var _n,yn;function Sn(e,t){const n=(65535&t)<<16>>>0;return(e|n)>>>0}(function(){const e="",t=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const i of t){const[e,t,o,a,s,l,c,u,h,d]=i;if(r[o]||(r[o]=!0,gn[o]=a,bn[a]=o,pn[a.toLowerCase()]=o,t&&(Cn[o]=s,0!==s&&3!==s&&5!==s&&4!==s&&6!==s&&57!==s&&(wn[s]=o))),!n[s]){if(n[s]=!0,!l)throw new Error(`String representation missing for key code ${s} around scan code ${a}`);un.define(s,l),hn.define(s,h||l),dn.define(s,d||h||l)}c&&(fn[c]=s),u&&(mn[u]=s)}wn[3]=46})(),function(e){function t(e){return un.keyCodeToStr(e)}function n(e){return un.strToKeyCode(e)}function r(e){return hn.keyCodeToStr(e)}function i(e){return dn.keyCodeToStr(e)}function o(e){return hn.strToKeyCode(e)||dn.strToKeyCode(e)}function a(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return un.keyCodeToStr(e)}e.toString=t,e.fromString=n,e.toUserSettingsUS=r,e.toUserSettingsGeneral=i,e.fromUserSettings=o,e.toElectronAccelerator=a}(_n||(_n={}));class vn extends vt{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return vn.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new vn(this.startLineNumber,this.startColumn,e,t):new vn(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new St(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new St(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new vn(e,t,this.endLineNumber,this.endColumn):new vn(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new vn(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new vn(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new vn(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new vn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();const r=new Tn(this,e,t);return this._factories.set(e,r),v(()=>{const t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return xn(this,void 0,void 0,(function*(){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))}))}get(e){return this._map.get(e)||null}isResolved(e){const t=this.get(e);if(t)return!0;const n=this._factories.get(e);return!(n&&!n.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Tn extends N{constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return xn(this,void 0,void 0,(function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}))}_create(){return xn(this,void 0,void 0,(function*(){const e=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}))}}class In{constructor(e,t,n){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}(function(e){const t=new Map;function n(e){let n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=Ln.symbolProperty),n}t.set(0,Ln.symbolMethod),t.set(1,Ln.symbolFunction),t.set(2,Ln.symbolConstructor),t.set(3,Ln.symbolField),t.set(4,Ln.symbolVariable),t.set(5,Ln.symbolClass),t.set(6,Ln.symbolStruct),t.set(7,Ln.symbolInterface),t.set(8,Ln.symbolModule),t.set(9,Ln.symbolProperty),t.set(10,Ln.symbolEvent),t.set(11,Ln.symbolOperator),t.set(12,Ln.symbolUnit),t.set(13,Ln.symbolValue),t.set(15,Ln.symbolEnum),t.set(14,Ln.symbolConstant),t.set(15,Ln.symbolEnum),t.set(16,Ln.symbolEnumMember),t.set(17,Ln.symbolKeyword),t.set(27,Ln.symbolSnippet),t.set(18,Ln.symbolText),t.set(19,Ln.symbolColor),t.set(20,Ln.symbolFile),t.set(21,Ln.symbolReference),t.set(22,Ln.symbolCustomColor),t.set(23,Ln.symbolFolder),t.set(24,Ln.symbolTypeParameter),t.set(25,Ln.account),t.set(26,Ln.issues),e.toIcon=n;const r=new Map;function i(e,t){let n=r.get(e);return"undefined"!==typeof n||t||(n=9),n}r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",27),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),e.fromString=i})(Nn||(Nn={})),function(e){e[e["Automatic"]=0]="Automatic",e[e["Explicit"]=1]="Explicit"}(En||(En={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"}(An||(An={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(kn||(kn={})),function(e){const t=new Map;function n(e){let n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=Ln.symbolProperty),n}t.set(0,Ln.symbolFile),t.set(1,Ln.symbolModule),t.set(2,Ln.symbolNamespace),t.set(3,Ln.symbolPackage),t.set(4,Ln.symbolClass),t.set(5,Ln.symbolMethod),t.set(6,Ln.symbolProperty),t.set(7,Ln.symbolField),t.set(8,Ln.symbolConstructor),t.set(9,Ln.symbolEnum),t.set(10,Ln.symbolInterface),t.set(11,Ln.symbolFunction),t.set(12,Ln.symbolVariable),t.set(13,Ln.symbolConstant),t.set(14,Ln.symbolString),t.set(15,Ln.symbolNumber),t.set(16,Ln.symbolBoolean),t.set(17,Ln.symbolArray),t.set(18,Ln.symbolObject),t.set(19,Ln.symbolKey),t.set(20,Ln.symbolNull),t.set(21,Ln.symbolEnumMember),t.set(22,Ln.symbolStruct),t.set(23,Ln.symbolEvent),t.set(24,Ln.symbolOperator),t.set(25,Ln.symbolTypeParameter),e.toIcon=n}(Mn||(Mn={}));class Dn{constructor(e){this.value=e}}Dn.Comment=new Dn("comment"),Dn.Imports=new Dn("imports"),Dn.Region=new Dn("region"),function(e){function t(e){return!(!e||"object"!==typeof e)&&("string"===typeof e.id&&"string"===typeof e.title)}e.is=t}(On||(On={})),function(e){e[e["Type"]=1]="Type",e[e["Parameter"]=2]="Parameter"}(Rn||(Rn={}));new Pn;var Kn,Vn,Fn,Bn,Un,qn,Hn,Wn,jn,zn,$n,Gn,Yn,Zn,Jn,Qn,Xn,er,tr,nr,rr,ir,or,ar,sr,lr,cr,ur,hr,dr,fr,mr,gr,br,pr,Cr,wr,_r;(function(e){e[e["Unknown"]=0]="Unknown",e[e["Disabled"]=1]="Disabled",e[e["Enabled"]=2]="Enabled"})(Kn||(Kn={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["Auto"]=2]="Auto"}(Vn||(Vn={})),function(e){e[e["KeepWhitespace"]=1]="KeepWhitespace",e[e["InsertAsSnippet"]=4]="InsertAsSnippet"}(Fn||(Fn={})),function(e){e[e["Method"]=0]="Method",e[e["Function"]=1]="Function",e[e["Constructor"]=2]="Constructor",e[e["Field"]=3]="Field",e[e["Variable"]=4]="Variable",e[e["Class"]=5]="Class",e[e["Struct"]=6]="Struct",e[e["Interface"]=7]="Interface",e[e["Module"]=8]="Module",e[e["Property"]=9]="Property",e[e["Event"]=10]="Event",e[e["Operator"]=11]="Operator",e[e["Unit"]=12]="Unit",e[e["Value"]=13]="Value",e[e["Constant"]=14]="Constant",e[e["Enum"]=15]="Enum",e[e["EnumMember"]=16]="EnumMember",e[e["Keyword"]=17]="Keyword",e[e["Text"]=18]="Text",e[e["Color"]=19]="Color",e[e["File"]=20]="File",e[e["Reference"]=21]="Reference",e[e["Customcolor"]=22]="Customcolor",e[e["Folder"]=23]="Folder",e[e["TypeParameter"]=24]="TypeParameter",e[e["User"]=25]="User",e[e["Issue"]=26]="Issue",e[e["Snippet"]=27]="Snippet"}(Bn||(Bn={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(Un||(Un={})),function(e){e[e["Invoke"]=0]="Invoke",e[e["TriggerCharacter"]=1]="TriggerCharacter",e[e["TriggerForIncompleteCompletions"]=2]="TriggerForIncompleteCompletions"}(qn||(qn={})),function(e){e[e["EXACT"]=0]="EXACT",e[e["ABOVE"]=1]="ABOVE",e[e["BELOW"]=2]="BELOW"}(Hn||(Hn={})),function(e){e[e["NotSet"]=0]="NotSet",e[e["ContentFlush"]=1]="ContentFlush",e[e["RecoverFromMarkers"]=2]="RecoverFromMarkers",e[e["Explicit"]=3]="Explicit",e[e["Paste"]=4]="Paste",e[e["Undo"]=5]="Undo",e[e["Redo"]=6]="Redo"}(Wn||(Wn={})),function(e){e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(jn||(jn={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(zn||(zn={})),function(e){e[e["None"]=0]="None",e[e["Keep"]=1]="Keep",e[e["Brackets"]=2]="Brackets",e[e["Advanced"]=3]="Advanced",e[e["Full"]=4]="Full"}($n||($n={})),function(e){e[e["acceptSuggestionOnCommitCharacter"]=0]="acceptSuggestionOnCommitCharacter",e[e["acceptSuggestionOnEnter"]=1]="acceptSuggestionOnEnter",e[e["accessibilitySupport"]=2]="accessibilitySupport",e[e["accessibilityPageSize"]=3]="accessibilityPageSize",e[e["ariaLabel"]=4]="ariaLabel",e[e["autoClosingBrackets"]=5]="autoClosingBrackets",e[e["autoClosingDelete"]=6]="autoClosingDelete",e[e["autoClosingOvertype"]=7]="autoClosingOvertype",e[e["autoClosingQuotes"]=8]="autoClosingQuotes",e[e["autoIndent"]=9]="autoIndent",e[e["automaticLayout"]=10]="automaticLayout",e[e["autoSurround"]=11]="autoSurround",e[e["bracketPairColorization"]=12]="bracketPairColorization",e[e["guides"]=13]="guides",e[e["codeLens"]=14]="codeLens",e[e["codeLensFontFamily"]=15]="codeLensFontFamily",e[e["codeLensFontSize"]=16]="codeLensFontSize",e[e["colorDecorators"]=17]="colorDecorators",e[e["columnSelection"]=18]="columnSelection",e[e["comments"]=19]="comments",e[e["contextmenu"]=20]="contextmenu",e[e["copyWithSyntaxHighlighting"]=21]="copyWithSyntaxHighlighting",e[e["cursorBlinking"]=22]="cursorBlinking",e[e["cursorSmoothCaretAnimation"]=23]="cursorSmoothCaretAnimation",e[e["cursorStyle"]=24]="cursorStyle",e[e["cursorSurroundingLines"]=25]="cursorSurroundingLines",e[e["cursorSurroundingLinesStyle"]=26]="cursorSurroundingLinesStyle",e[e["cursorWidth"]=27]="cursorWidth",e[e["disableLayerHinting"]=28]="disableLayerHinting",e[e["disableMonospaceOptimizations"]=29]="disableMonospaceOptimizations",e[e["domReadOnly"]=30]="domReadOnly",e[e["dragAndDrop"]=31]="dragAndDrop",e[e["dropIntoEditor"]=32]="dropIntoEditor",e[e["emptySelectionClipboard"]=33]="emptySelectionClipboard",e[e["experimental"]=34]="experimental",e[e["extraEditorClassName"]=35]="extraEditorClassName",e[e["fastScrollSensitivity"]=36]="fastScrollSensitivity",e[e["find"]=37]="find",e[e["fixedOverflowWidgets"]=38]="fixedOverflowWidgets",e[e["folding"]=39]="folding",e[e["foldingStrategy"]=40]="foldingStrategy",e[e["foldingHighlight"]=41]="foldingHighlight",e[e["foldingImportsByDefault"]=42]="foldingImportsByDefault",e[e["foldingMaximumRegions"]=43]="foldingMaximumRegions",e[e["unfoldOnClickAfterEndOfLine"]=44]="unfoldOnClickAfterEndOfLine",e[e["fontFamily"]=45]="fontFamily",e[e["fontInfo"]=46]="fontInfo",e[e["fontLigatures"]=47]="fontLigatures",e[e["fontSize"]=48]="fontSize",e[e["fontWeight"]=49]="fontWeight",e[e["formatOnPaste"]=50]="formatOnPaste",e[e["formatOnType"]=51]="formatOnType",e[e["glyphMargin"]=52]="glyphMargin",e[e["gotoLocation"]=53]="gotoLocation",e[e["hideCursorInOverviewRuler"]=54]="hideCursorInOverviewRuler",e[e["hover"]=55]="hover",e[e["inDiffEditor"]=56]="inDiffEditor",e[e["inlineSuggest"]=57]="inlineSuggest",e[e["letterSpacing"]=58]="letterSpacing",e[e["lightbulb"]=59]="lightbulb",e[e["lineDecorationsWidth"]=60]="lineDecorationsWidth",e[e["lineHeight"]=61]="lineHeight",e[e["lineNumbers"]=62]="lineNumbers",e[e["lineNumbersMinChars"]=63]="lineNumbersMinChars",e[e["linkedEditing"]=64]="linkedEditing",e[e["links"]=65]="links",e[e["matchBrackets"]=66]="matchBrackets",e[e["minimap"]=67]="minimap",e[e["mouseStyle"]=68]="mouseStyle",e[e["mouseWheelScrollSensitivity"]=69]="mouseWheelScrollSensitivity",e[e["mouseWheelZoom"]=70]="mouseWheelZoom",e[e["multiCursorMergeOverlapping"]=71]="multiCursorMergeOverlapping",e[e["multiCursorModifier"]=72]="multiCursorModifier",e[e["multiCursorPaste"]=73]="multiCursorPaste",e[e["occurrencesHighlight"]=74]="occurrencesHighlight",e[e["overviewRulerBorder"]=75]="overviewRulerBorder",e[e["overviewRulerLanes"]=76]="overviewRulerLanes",e[e["padding"]=77]="padding",e[e["parameterHints"]=78]="parameterHints",e[e["peekWidgetDefaultFocus"]=79]="peekWidgetDefaultFocus",e[e["definitionLinkOpensInPeek"]=80]="definitionLinkOpensInPeek",e[e["quickSuggestions"]=81]="quickSuggestions",e[e["quickSuggestionsDelay"]=82]="quickSuggestionsDelay",e[e["readOnly"]=83]="readOnly",e[e["renameOnType"]=84]="renameOnType",e[e["renderControlCharacters"]=85]="renderControlCharacters",e[e["renderFinalNewline"]=86]="renderFinalNewline",e[e["renderLineHighlight"]=87]="renderLineHighlight",e[e["renderLineHighlightOnlyWhenFocus"]=88]="renderLineHighlightOnlyWhenFocus",e[e["renderValidationDecorations"]=89]="renderValidationDecorations",e[e["renderWhitespace"]=90]="renderWhitespace",e[e["revealHorizontalRightPadding"]=91]="revealHorizontalRightPadding",e[e["roundedSelection"]=92]="roundedSelection",e[e["rulers"]=93]="rulers",e[e["scrollbar"]=94]="scrollbar",e[e["scrollBeyondLastColumn"]=95]="scrollBeyondLastColumn",e[e["scrollBeyondLastLine"]=96]="scrollBeyondLastLine",e[e["scrollPredominantAxis"]=97]="scrollPredominantAxis",e[e["selectionClipboard"]=98]="selectionClipboard",e[e["selectionHighlight"]=99]="selectionHighlight",e[e["selectOnLineNumbers"]=100]="selectOnLineNumbers",e[e["showFoldingControls"]=101]="showFoldingControls",e[e["showUnused"]=102]="showUnused",e[e["snippetSuggestions"]=103]="snippetSuggestions",e[e["smartSelect"]=104]="smartSelect",e[e["smoothScrolling"]=105]="smoothScrolling",e[e["stickyTabStops"]=106]="stickyTabStops",e[e["stopRenderingLineAfter"]=107]="stopRenderingLineAfter",e[e["suggest"]=108]="suggest",e[e["suggestFontSize"]=109]="suggestFontSize",e[e["suggestLineHeight"]=110]="suggestLineHeight",e[e["suggestOnTriggerCharacters"]=111]="suggestOnTriggerCharacters",e[e["suggestSelection"]=112]="suggestSelection",e[e["tabCompletion"]=113]="tabCompletion",e[e["tabIndex"]=114]="tabIndex",e[e["unicodeHighlighting"]=115]="unicodeHighlighting",e[e["unusualLineTerminators"]=116]="unusualLineTerminators",e[e["useShadowDOM"]=117]="useShadowDOM",e[e["useTabStops"]=118]="useTabStops",e[e["wordSeparators"]=119]="wordSeparators",e[e["wordWrap"]=120]="wordWrap",e[e["wordWrapBreakAfterCharacters"]=121]="wordWrapBreakAfterCharacters",e[e["wordWrapBreakBeforeCharacters"]=122]="wordWrapBreakBeforeCharacters",e[e["wordWrapColumn"]=123]="wordWrapColumn",e[e["wordWrapOverride1"]=124]="wordWrapOverride1",e[e["wordWrapOverride2"]=125]="wordWrapOverride2",e[e["wrappingIndent"]=126]="wrappingIndent",e[e["wrappingStrategy"]=127]="wrappingStrategy",e[e["showDeprecated"]=128]="showDeprecated",e[e["inlayHints"]=129]="inlayHints",e[e["editorClassName"]=130]="editorClassName",e[e["pixelRatio"]=131]="pixelRatio",e[e["tabFocusMode"]=132]="tabFocusMode",e[e["layoutInfo"]=133]="layoutInfo",e[e["wrappingInfo"]=134]="wrappingInfo"}(Gn||(Gn={})),function(e){e[e["TextDefined"]=0]="TextDefined",e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(Yn||(Yn={})),function(e){e[e["LF"]=0]="LF",e[e["CRLF"]=1]="CRLF"}(Zn||(Zn={})),function(e){e[e["None"]=0]="None",e[e["Indent"]=1]="Indent",e[e["IndentOutdent"]=2]="IndentOutdent",e[e["Outdent"]=3]="Outdent"}(Jn||(Jn={})),function(e){e[e["Both"]=0]="Both",e[e["Right"]=1]="Right",e[e["Left"]=2]="Left",e[e["None"]=3]="None"}(Qn||(Qn={})),function(e){e[e["Type"]=1]="Type",e[e["Parameter"]=2]="Parameter"}(Xn||(Xn={})),function(e){e[e["Automatic"]=0]="Automatic",e[e["Explicit"]=1]="Explicit"}(er||(er={})),function(e){e[e["DependsOnKbLayout"]=-1]="DependsOnKbLayout",e[e["Unknown"]=0]="Unknown",e[e["Backspace"]=1]="Backspace",e[e["Tab"]=2]="Tab",e[e["Enter"]=3]="Enter",e[e["Shift"]=4]="Shift",e[e["Ctrl"]=5]="Ctrl",e[e["Alt"]=6]="Alt",e[e["PauseBreak"]=7]="PauseBreak",e[e["CapsLock"]=8]="CapsLock",e[e["Escape"]=9]="Escape",e[e["Space"]=10]="Space",e[e["PageUp"]=11]="PageUp",e[e["PageDown"]=12]="PageDown",e[e["End"]=13]="End",e[e["Home"]=14]="Home",e[e["LeftArrow"]=15]="LeftArrow",e[e["UpArrow"]=16]="UpArrow",e[e["RightArrow"]=17]="RightArrow",e[e["DownArrow"]=18]="DownArrow",e[e["Insert"]=19]="Insert",e[e["Delete"]=20]="Delete",e[e["Digit0"]=21]="Digit0",e[e["Digit1"]=22]="Digit1",e[e["Digit2"]=23]="Digit2",e[e["Digit3"]=24]="Digit3",e[e["Digit4"]=25]="Digit4",e[e["Digit5"]=26]="Digit5",e[e["Digit6"]=27]="Digit6",e[e["Digit7"]=28]="Digit7",e[e["Digit8"]=29]="Digit8",e[e["Digit9"]=30]="Digit9",e[e["KeyA"]=31]="KeyA",e[e["KeyB"]=32]="KeyB",e[e["KeyC"]=33]="KeyC",e[e["KeyD"]=34]="KeyD",e[e["KeyE"]=35]="KeyE",e[e["KeyF"]=36]="KeyF",e[e["KeyG"]=37]="KeyG",e[e["KeyH"]=38]="KeyH",e[e["KeyI"]=39]="KeyI",e[e["KeyJ"]=40]="KeyJ",e[e["KeyK"]=41]="KeyK",e[e["KeyL"]=42]="KeyL",e[e["KeyM"]=43]="KeyM",e[e["KeyN"]=44]="KeyN",e[e["KeyO"]=45]="KeyO",e[e["KeyP"]=46]="KeyP",e[e["KeyQ"]=47]="KeyQ",e[e["KeyR"]=48]="KeyR",e[e["KeyS"]=49]="KeyS",e[e["KeyT"]=50]="KeyT",e[e["KeyU"]=51]="KeyU",e[e["KeyV"]=52]="KeyV",e[e["KeyW"]=53]="KeyW",e[e["KeyX"]=54]="KeyX",e[e["KeyY"]=55]="KeyY",e[e["KeyZ"]=56]="KeyZ",e[e["Meta"]=57]="Meta",e[e["ContextMenu"]=58]="ContextMenu",e[e["F1"]=59]="F1",e[e["F2"]=60]="F2",e[e["F3"]=61]="F3",e[e["F4"]=62]="F4",e[e["F5"]=63]="F5",e[e["F6"]=64]="F6",e[e["F7"]=65]="F7",e[e["F8"]=66]="F8",e[e["F9"]=67]="F9",e[e["F10"]=68]="F10",e[e["F11"]=69]="F11",e[e["F12"]=70]="F12",e[e["F13"]=71]="F13",e[e["F14"]=72]="F14",e[e["F15"]=73]="F15",e[e["F16"]=74]="F16",e[e["F17"]=75]="F17",e[e["F18"]=76]="F18",e[e["F19"]=77]="F19",e[e["NumLock"]=78]="NumLock",e[e["ScrollLock"]=79]="ScrollLock",e[e["Semicolon"]=80]="Semicolon",e[e["Equal"]=81]="Equal",e[e["Comma"]=82]="Comma",e[e["Minus"]=83]="Minus",e[e["Period"]=84]="Period",e[e["Slash"]=85]="Slash",e[e["Backquote"]=86]="Backquote",e[e["BracketLeft"]=87]="BracketLeft",e[e["Backslash"]=88]="Backslash",e[e["BracketRight"]=89]="BracketRight",e[e["Quote"]=90]="Quote",e[e["OEM_8"]=91]="OEM_8",e[e["IntlBackslash"]=92]="IntlBackslash",e[e["Numpad0"]=93]="Numpad0",e[e["Numpad1"]=94]="Numpad1",e[e["Numpad2"]=95]="Numpad2",e[e["Numpad3"]=96]="Numpad3",e[e["Numpad4"]=97]="Numpad4",e[e["Numpad5"]=98]="Numpad5",e[e["Numpad6"]=99]="Numpad6",e[e["Numpad7"]=100]="Numpad7",e[e["Numpad8"]=101]="Numpad8",e[e["Numpad9"]=102]="Numpad9",e[e["NumpadMultiply"]=103]="NumpadMultiply",e[e["NumpadAdd"]=104]="NumpadAdd",e[e["NUMPAD_SEPARATOR"]=105]="NUMPAD_SEPARATOR",e[e["NumpadSubtract"]=106]="NumpadSubtract",e[e["NumpadDecimal"]=107]="NumpadDecimal",e[e["NumpadDivide"]=108]="NumpadDivide",e[e["KEY_IN_COMPOSITION"]=109]="KEY_IN_COMPOSITION",e[e["ABNT_C1"]=110]="ABNT_C1",e[e["ABNT_C2"]=111]="ABNT_C2",e[e["AudioVolumeMute"]=112]="AudioVolumeMute",e[e["AudioVolumeUp"]=113]="AudioVolumeUp",e[e["AudioVolumeDown"]=114]="AudioVolumeDown",e[e["BrowserSearch"]=115]="BrowserSearch",e[e["BrowserHome"]=116]="BrowserHome",e[e["BrowserBack"]=117]="BrowserBack",e[e["BrowserForward"]=118]="BrowserForward",e[e["MediaTrackNext"]=119]="MediaTrackNext",e[e["MediaTrackPrevious"]=120]="MediaTrackPrevious",e[e["MediaStop"]=121]="MediaStop",e[e["MediaPlayPause"]=122]="MediaPlayPause",e[e["LaunchMediaPlayer"]=123]="LaunchMediaPlayer",e[e["LaunchMail"]=124]="LaunchMail",e[e["LaunchApp2"]=125]="LaunchApp2",e[e["Clear"]=126]="Clear",e[e["MAX_VALUE"]=127]="MAX_VALUE"}(tr||(tr={})),function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"}(nr||(nr={})),function(e){e[e["Unnecessary"]=1]="Unnecessary",e[e["Deprecated"]=2]="Deprecated"}(rr||(rr={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(ir||(ir={})),function(e){e[e["UNKNOWN"]=0]="UNKNOWN",e[e["TEXTAREA"]=1]="TEXTAREA",e[e["GUTTER_GLYPH_MARGIN"]=2]="GUTTER_GLYPH_MARGIN",e[e["GUTTER_LINE_NUMBERS"]=3]="GUTTER_LINE_NUMBERS",e[e["GUTTER_LINE_DECORATIONS"]=4]="GUTTER_LINE_DECORATIONS",e[e["GUTTER_VIEW_ZONE"]=5]="GUTTER_VIEW_ZONE",e[e["CONTENT_TEXT"]=6]="CONTENT_TEXT",e[e["CONTENT_EMPTY"]=7]="CONTENT_EMPTY",e[e["CONTENT_VIEW_ZONE"]=8]="CONTENT_VIEW_ZONE",e[e["CONTENT_WIDGET"]=9]="CONTENT_WIDGET",e[e["OVERVIEW_RULER"]=10]="OVERVIEW_RULER",e[e["SCROLLBAR"]=11]="SCROLLBAR",e[e["OVERLAY_WIDGET"]=12]="OVERLAY_WIDGET",e[e["OUTSIDE_EDITOR"]=13]="OUTSIDE_EDITOR"}(or||(or={})),function(e){e[e["TOP_RIGHT_CORNER"]=0]="TOP_RIGHT_CORNER",e[e["BOTTOM_RIGHT_CORNER"]=1]="BOTTOM_RIGHT_CORNER",e[e["TOP_CENTER"]=2]="TOP_CENTER"}(ar||(ar={})),function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"}(sr||(sr={})),function(e){e[e["Left"]=0]="Left",e[e["Right"]=1]="Right",e[e["None"]=2]="None",e[e["LeftOfInjectedText"]=3]="LeftOfInjectedText",e[e["RightOfInjectedText"]=4]="RightOfInjectedText"}(lr||(lr={})),function(e){e[e["Off"]=0]="Off",e[e["On"]=1]="On",e[e["Relative"]=2]="Relative",e[e["Interval"]=3]="Interval",e[e["Custom"]=4]="Custom"}(cr||(cr={})),function(e){e[e["None"]=0]="None",e[e["Text"]=1]="Text",e[e["Blocks"]=2]="Blocks"}(ur||(ur={})),function(e){e[e["Smooth"]=0]="Smooth",e[e["Immediate"]=1]="Immediate"}(hr||(hr={})),function(e){e[e["Auto"]=1]="Auto",e[e["Hidden"]=2]="Hidden",e[e["Visible"]=3]="Visible"}(dr||(dr={})),function(e){e[e["LTR"]=0]="LTR",e[e["RTL"]=1]="RTL"}(fr||(fr={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"}(mr||(mr={})),function(e){e[e["File"]=0]="File",e[e["Module"]=1]="Module",e[e["Namespace"]=2]="Namespace",e[e["Package"]=3]="Package",e[e["Class"]=4]="Class",e[e["Method"]=5]="Method",e[e["Property"]=6]="Property",e[e["Field"]=7]="Field",e[e["Constructor"]=8]="Constructor",e[e["Enum"]=9]="Enum",e[e["Interface"]=10]="Interface",e[e["Function"]=11]="Function",e[e["Variable"]=12]="Variable",e[e["Constant"]=13]="Constant",e[e["String"]=14]="String",e[e["Number"]=15]="Number",e[e["Boolean"]=16]="Boolean",e[e["Array"]=17]="Array",e[e["Object"]=18]="Object",e[e["Key"]=19]="Key",e[e["Null"]=20]="Null",e[e["EnumMember"]=21]="EnumMember",e[e["Struct"]=22]="Struct",e[e["Event"]=23]="Event",e[e["Operator"]=24]="Operator",e[e["TypeParameter"]=25]="TypeParameter"}(gr||(gr={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(br||(br={})),function(e){e[e["Hidden"]=0]="Hidden",e[e["Blink"]=1]="Blink",e[e["Smooth"]=2]="Smooth",e[e["Phase"]=3]="Phase",e[e["Expand"]=4]="Expand",e[e["Solid"]=5]="Solid"}(pr||(pr={})),function(e){e[e["Line"]=1]="Line",e[e["Block"]=2]="Block",e[e["Underline"]=3]="Underline",e[e["LineThin"]=4]="LineThin",e[e["BlockOutline"]=5]="BlockOutline",e[e["UnderlineThin"]=6]="UnderlineThin"}(Cr||(Cr={})),function(e){e[e["AlwaysGrowsWhenTypingAtEdges"]=0]="AlwaysGrowsWhenTypingAtEdges",e[e["NeverGrowsWhenTypingAtEdges"]=1]="NeverGrowsWhenTypingAtEdges",e[e["GrowsOnlyWhenTypingBefore"]=2]="GrowsOnlyWhenTypingBefore",e[e["GrowsOnlyWhenTypingAfter"]=3]="GrowsOnlyWhenTypingAfter"}(wr||(wr={})),function(e){e[e["None"]=0]="None",e[e["Same"]=1]="Same",e[e["Indent"]=2]="Indent",e[e["DeepIndent"]=3]="DeepIndent"}(_r||(_r={}));class yr{static chord(e,t){return Sn(e,t)}}function Sr(){return{editor:void 0,languages:void 0,CancellationTokenSource:ln,Emitter:B,KeyCode:tr,KeyMod:yr,Position:St,Range:vt,Selection:vn,SelectionDirection:fr,MarkerSeverity:nr,MarkerTag:rr,Uri:ht,Token:In}}yr.CtrlCmd=2048,yr.Shift=1024,yr.Alt=512,yr.WinCtrl=256;class vr extends Gt{constructor(e){super(0);for(let t=0,n=e.length;t(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}Lr(e=>new vr(e));Object.prototype.hasOwnProperty;var Nr,Er,Ar;(function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"})(Nr||(Nr={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(Er||(Er={})),function(e){e[e["Both"]=0]="Both",e[e["Right"]=1]="Right",e[e["Left"]=2]="Left",e[e["None"]=3]="None"}(Ar||(Ar={}));function kr(e,t,n,r,i){if(0===r)return!0;const o=t.charCodeAt(r-1);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){const n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}function Mr(e,t,n,r,i){if(r+i===n)return!0;const o=t.charCodeAt(r+i);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){const n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}function Or(e,t,n,r,i){return kr(e,t,n,r,i)&&Mr(e,t,n,r,i)}class Rr{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const r=n.index,i=n[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(0===i){oe(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||Or(this._wordSeparators,e,t,r,i))return n}while(n);return null}}class xr{static computeUnicodeHighlights(e,t,n){const r=n?n.startLineNumber:1,i=n?n.endLineNumber:e.getLineCount(),o=new Tr(t),a=o.getCandidateCodePoints();let s;s="allNonBasicAscii"===a?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp(""+Pr(Array.from(a)),"g");const l=new Rr(null,s),c=[];let u,h=!1,d=0,f=0,m=0;e:for(let g=r,b=i;g<=b;g++){const t=e.getLineContent(g),n=t.length;l.reset(0);do{if(u=l.next(t),u){let e=u.index,r=u.index+u[0].length;if(e>0){const n=t.charCodeAt(e-1);ne(n)&&e--}if(r+1=t){h=!0;break e}c.push(new vt(g,e+1,g,r+1))}}}while(u)}return{ranges:c,hasMore:h,ambiguousCharacterCount:d,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){const n=new Tr(t),r=n.shouldHighlightNonBasicASCII(e,null);switch(r){case 0:return null;case 2:return{kind:1};case 3:{const r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),o=ue.getLocales().filter(e=>!ue.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function Pr(e,t){const n=`[${J(e.map(e=>String.fromCodePoint(e)).join(""))}]`;return n}class Tr{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=ue.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of he.codePoints)Ir(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(const o of t){const e=o.codePointAt(0),t=se(o);r=r||t,t||this.ambiguousCharacters.isAmbiguous(e)||he.isInvisibleCharacter(e)||(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!Ir(e)&&he.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function Ir(e){return" "===e||"\n"===e||"\t"===e}var Dr=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};class Kr extends Bt{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){const n=zt(e.column,Wt(t),this._lines[e.lineNumber-1],0);return n?new vt(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,a=[];return{*[Symbol.iterator](){while(1)if(othis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class Vr{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new Kr(ht.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;const n=this._models[e];n.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return Dr(this,void 0,void 0,(function*(){const r=this._getModel(e);return r?xr.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,t,n,r){return Dr(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);return i&&o?Vr.computeDiff(i,o,n,r):null}))}static computeDiff(e,t,n,r){const i=e.getLinesContent(),o=t.getLinesContent(),a=new Rt(i,o,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}),s=a.computeDiff(),l=!(s.changes.length>0)&&this._modelsAreIdentical(e,t);return{quitEarly:s.quitEarly,identical:l,changes:s.changes}}static _modelsAreIdentical(e,t){const n=e.getLineCount(),r=t.getLineCount();if(n!==r)return!1;for(let i=1;i<=n;i++){const n=e.getLineContent(i),r=t.getLineContent(i);if(n!==r)return!1}return!0}computeMoreMinimalEdits(e,t){return Dr(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const r=[];let i=void 0;t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return vt.compareRangesUsingStarts(e.range,t.range);const n=e.range?0:1,r=t.range?0:1;return n-r});for(let{range:e,text:o,eol:a}of t){if("number"===typeof a&&(i=a),vt.isEmpty(e)&&!o)continue;const t=n.getValueInRange(e);if(o=o.replace(/\r\n|\n|\r/g,n.eol),t===o)continue;if(Math.max(o.length,t.length)>Vr._diffLimit){r.push({range:e,text:o});continue}const s=xe(t,o,!1),l=n.offsetAt(vt.lift(e).getStartPosition());for(const e of s){const t=n.positionAt(l+e.originalStart),i=n.positionAt(l+e.originalStart+e.originalLength),a={text:o.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};n.getValueInRange(a.range)!==a.text&&r.push(a)}}return"number"===typeof i&&r.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r}))}computeLinks(e){return Dr(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?nn(t):null}))}textualSuggest(e,t,n,r){return Dr(this,void 0,void 0,(function*(){const i=new R(!0),o=new RegExp(n,r),a=new Set;e:for(const n of e){const e=this._getModel(n);if(e)for(const n of e.words(o))if(n!==t&&isNaN(Number(n))&&(a.add(n),a.size>Vr._suggestionsLimit))break e}return{words:Array.from(a),duration:i.elapsed()}}))}computeWordRanges(e,t,n,r){return Dr(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),a=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t),i=z(n,r),o={host:i,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,t),Promise.resolve(j(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!==typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(n){return Promise.reject(n)}}}Vr._diffLimit=1e5,Vr._suggestionsLimit=1e4,"function"===typeof importScripts&&(M["a"].monaco=Sr());let Fr=!1;function Br(e){if(Fr)return;Fr=!0;const t=new Se(e=>{self.postMessage(e)},t=>new Vr(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{Fr||Br(null)}}}); \ No newline at end of file +(function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s="e500")})({"30db":function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return N})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return A}));var i,o=n("dff7");const a="en";let s=!1,l=!1,c=!1,u=!1,h=!1,d=!1,f=!1,m=!1,g=!1,b=void 0,p=a,C=void 0,w=void 0;const _="object"===typeof self?self:"object"===typeof e?e:{};let y=void 0;"undefined"!==typeof _.vscode&&"undefined"!==typeof _.vscode.process?y=_.vscode.process:"undefined"!==typeof r&&(y=r);const S="string"===typeof(null===(i=null===y||void 0===y?void 0:y.versions)||void 0===i?void 0:i.electron),v=S&&"renderer"===(null===y||void 0===y?void 0:y.type);if("object"!==typeof navigator||v)if("object"===typeof y){s="win32"===y.platform,l="darwin"===y.platform,c="linux"===y.platform,u=c&&!!y.env["SNAP"]&&!!y.env["SNAP_REVISION"],f=S,g=!!y.env["CI"]||!!y.env["BUILD_ARTIFACTSTAGINGDIRECTORY"],b=a,p=a;const e=y.env["VSCODE_NLS_CONFIG"];if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];b=t.locale,p=n||a,C=t._translationsConfigFile}catch(R){}h=!0}else console.error("Unable to resolve platform.");else{w=navigator.userAgent,s=w.indexOf("Windows")>=0,l=w.indexOf("Macintosh")>=0,m=(w.indexOf("Macintosh")>=0||w.indexOf("iPad")>=0||w.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,c=w.indexOf("Linux")>=0,d=!0;const e=o["a"](o["b"]({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"));b=e||a,p=b}let L=0;l?L=1:s?L=3:c&&(L=2);const N=s,E=l,A=d,k=(d&&_.importScripts,w),M="function"===typeof _.postMessage&&!_.importScripts;(()=>{if(M){const e=[];_.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{const r=++t;e.push({id:r,callback:n}),_.postMessage({vscodeScheduleAsyncWork:r},"*")}}})();const O=!!(k&&k.indexOf("Chrome")>=0);k&&k.indexOf("Firefox"),!O&&k&&k.indexOf("Safari"),k&&k.indexOf("Edg/"),k&&k.indexOf("Android")}).call(this,n("c8ba"),n("4362"))},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},c317:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var r=n("30db");let i;if("undefined"!==typeof r["a"].vscode&&"undefined"!==typeof r["a"].vscode.process){const e=r["a"].vscode.process;i={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else i="undefined"!==typeof e?{get platform(){return e.platform},get arch(){return e.arch},get env(){return Object({VUE_APP_DOMAIN:"tempo.agate.blue",VUE_APP_VUE_APP_BUILD_ID:"a5bd82aab67c6724d53fc2a448168487fda01f94",VUE_APP_PLAUSIBLE_HOST:"https://stats.agate.blue",NODE_ENV:"production",BASE_URL:"/"})},cwd(){return Object({VUE_APP_DOMAIN:"tempo.agate.blue",VUE_APP_VUE_APP_BUILD_ID:"a5bd82aab67c6724d53fc2a448168487fda01f94",VUE_APP_PLAUSIBLE_HOST:"https://stats.agate.blue",NODE_ENV:"production",BASE_URL:"/"})["VSCODE_CWD"]||e.cwd()}}:{get platform(){return r["d"]?"win32":r["b"]?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const o=i.cwd,a=i.env,s=i.platform}).call(this,n("4362"))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,r="/"===a.charAt(0))}return t=n(i(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===o(e,-1);return e=n(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},dff7:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));let r="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function i(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,n)=>{const r=n[0],i=t[r];let o=e;return"string"===typeof i?o=i:"number"!==typeof i&&"boolean"!==typeof i&&void 0!==i&&null!==i||(o=String(i)),o}),r&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function o(e,t,...n){return i(t,n)}function a(e){}},e500:function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return Br}));class r{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(u.isErrorNoTelemetry(e))throw new u(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const i=new r;function o(e){l(e)||i.onUnexpectedError(e)}function a(e){if(e instanceof Error){const{name:t,message:n}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:u.isErrorNoTelemetry(e)}}return e}const s="Canceled";function l(e){return e instanceof c||e instanceof Error&&e.name===s&&e.message===s}class c extends Error{constructor(){super(s),this.name=this.message}}Error;class u extends Error{constructor(e){super(e),this.name="ErrorNoTelemetry"}static fromError(e){if(e instanceof u)return e;const t=new u;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"ErrorNoTelemetry"===e.name}}Error;function h(e){const t=this;let n,r=!1;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}var d;(function(e){function t(e){return e&&"object"===typeof e&&"function"===typeof e[Symbol.iterator]}e.is=t;const n=Object.freeze([]);function r(){return n}function*i(e){yield e}function o(e){return e||n}function a(e){return!e||!0===e[Symbol.iterator]().next().done}function s(e){return e[Symbol.iterator]().next().value}function l(e,t){for(const n of e)if(t(n))return!0;return!1}function c(e,t){for(const n of e)if(t(n))return n}function*u(e,t){for(const n of e)t(n)&&(yield n)}function*h(e,t){let n=0;for(const r of e)yield t(r,n++)}function*d(...e){for(const t of e)for(const e of t)yield e}function*f(e){for(const t of e)for(const e of t)yield e}function m(e,t,n){let r=n;for(const i of e)r=t(r,i);return r}function g(e,t){let n=0;for(const r of e)t(r,n++)}function*b(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);te===t)){const r=e[Symbol.iterator](),i=t[Symbol.iterator]();while(1){const e=r.next(),t=i.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!n(e.value,t.value))return!1}}e.empty=r,e.single=i,e.from=o,e.isEmpty=a,e.first=s,e.some=l,e.find=c,e.filter=u,e.map=h,e.concat=d,e.concatNested=f,e.reduce=m,e.forEach=g,e.slice=b,e.consume=p,e.collect=C,e.equals=w})(d||(d={}));const f=!1;let m=null;function g(e){m=e}if(f){const e="__is_disposable_tracked__";g(new class{trackDisposable(t){const n=new Error("Potentially leaked disposable").stack;setTimeout(()=>{t[e]||console.log(n)},3e3)}setParent(t,n){if(t&&t!==N.None)try{t[e]=!0}catch(r){}}markAsDisposed(t){if(t&&t!==N.None)try{t[e]=!0}catch(n){}}markAsSingleton(e){}})}function b(e){return null===m||void 0===m||m.trackDisposable(e),e}function p(e){null===m||void 0===m||m.markAsDisposed(e)}function C(e,t){null===m||void 0===m||m.setParent(e,t)}function w(e,t){if(m)for(const n of e)m.setParent(n,t)}class _ extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function y(e){if(d.is(e)){const n=[];for(const r of e)if(r)try{r.dispose()}catch(t){n.push(t)}if(1===n.length)throw n[0];if(n.length>1)throw new _(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function S(...e){const t=v(()=>y(e));return w(e,t),t}function v(e){const t=b({dispose:h(()=>{p(t),e()})});return t}class L{constructor(){this._toDispose=new Set,this._isDisposed=!1,b(this)}dispose(){this._isDisposed||(p(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{y(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return C(e,this),this._isDisposed?L.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}L.DISABLE_DISPOSED_WARNING=!1;class N{constructor(){this._store=new L,b(this),C(this._store,this)}dispose(){p(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}N.None=Object.freeze({dispose(){}});class E{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,b(this)}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0,p(this))},this}}class A{constructor(e){this.element=e,this.next=A.Undefined,this.prev=A.Undefined}}A.Undefined=new A(void 0);class k{constructor(){this._first=A.Undefined,this._last=A.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===A.Undefined}clear(){let e=this._first;while(e!==A.Undefined){const t=e.next;e.prev=A.Undefined,e.next=A.Undefined,e=t}this._first=A.Undefined,this._last=A.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new A(e);if(this._first===A.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==A.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==A.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==A.Undefined&&e.next!==A.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===A.Undefined&&e.next===A.Undefined?(this._first=A.Undefined,this._last=A.Undefined):e.next===A.Undefined?(this._last=this._last.prev,this._last.next=A.Undefined):e.prev===A.Undefined&&(this._first=this._first.next,this._first.prev=A.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;while(e!==A.Undefined)yield e.element,e=e.next}}var M=n("30db");const O=M["a"].performance&&"function"===typeof M["a"].performance.now;class R{constructor(e){this._highResolution=O&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new R(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?M["a"].performance.now():Date.now()}}const x=!1,P=!1;var T;(function(e){function t(e){if(P){const{onListenerDidAdd:t}=e,n=V.create();let r=0;e.onListenerDidAdd=()=>{2===++r&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),n.print()),null===t||void 0===t||t()}}}function n(e){return(t,n=null,r)=>{let i=!1,o=void 0;return o=e(e=>{if(!i)return o?o.dispose():i=!0,t.call(n,e)},null,r),i&&o.dispose(),o}}function r(e,t,n){return c((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i),n)}function i(e,t,n){return c((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i),n)}function o(e,t,n){return c((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i),n)}function a(e){return e}function s(...e){return(t,n=null,r)=>S(...e.map(e=>e(e=>t.call(n,e),null,r)))}function l(e,t,n,i){let o=n;return r(e,e=>(o=t(o,e),o),i)}function c(e,n){let r;const i={onFirstListenerAdd(){r=e(o.fire,o)},onLastListenerRemove(){null===r||void 0===r||r.dispose()}};n||t(i);const o=new B(i);return null===n||void 0===n||n.add(o),o.event}function u(e,n,r=100,i=!1,o,a){let s,l=void 0,c=void 0,u=0;const h={leakWarningThreshold:o,onFirstListenerAdd(){s=e(e=>{u++,l=n(l,e),i&&!c&&(d.fire(l),l=void 0),clearTimeout(c),c=setTimeout(()=>{const e=l;l=void 0,c=void 0,(!i||u>1)&&d.fire(e),u=0},r)})},onLastListenerRemove(){s.dispose()}};a||t(h);const d=new B(h);return null===a||void 0===a||a.add(d),d.event}function h(e,t=((e,t)=>e===t),n){let r,i=!0;return o(e,e=>{const n=i||!t(e,r);return i=!1,r=e,n},n)}function d(t,n,r){return[e.filter(t,n,r),e.filter(t,e=>!n(e),r)]}function f(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):a.fire(e)});const o=()=>{null===r||void 0===r||r.forEach(e=>a.fire(e)),r=null},a=new B({onFirstListenerAdd(){i||(i=e(e=>a.fire(e)))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return a.event}e.None=()=>N.None,e.once=n,e.map=r,e.forEach=i,e.filter=o,e.signal=a,e.any=s,e.reduce=l,e.debounce=u,e.latch=h,e.split=d,e.buffer=f;class m{constructor(e){this.event=e,this.disposables=new L}map(e){return new m(r(this.event,e,this.disposables))}forEach(e){return new m(i(this.event,e,this.disposables))}filter(e){return new m(o(this.event,e,this.disposables))}reduce(e,t){return new m(l(this.event,e,t,this.disposables))}latch(){return new m(h(this.event,void 0,this.disposables))}debounce(e,t=100,n=!1,r){return new m(u(this.event,e,t,n,r,this.disposables))}on(e,t,n){return this.event(e,t,n)}once(e,t,r){return n(this.event)(e,t,r)}dispose(){this.disposables.dispose()}}function g(e){return new m(e)}function b(e,t,n=(e=>e)){const r=(...e)=>a.fire(n(...e)),i=()=>e.on(t,r),o=()=>e.removeListener(t,r),a=new B({onFirstListenerAdd:i,onLastListenerRemove:o});return a.event}function p(e,t,n=(e=>e)){const r=(...e)=>a.fire(n(...e)),i=()=>e.addEventListener(t,r),o=()=>e.removeEventListener(t,r),a=new B({onFirstListenerAdd:i,onLastListenerRemove:o});return a.event}function C(e){return new Promise(t=>n(e)(t))}function w(e,t){return t(void 0),e(e=>t(e))}function _(e,t){let n=null;function r(e){null===n||void 0===n||n.dispose(),n=new L,t(e,n)}r(void 0);const i=e(e=>r(e));return v(()=>{i.dispose(),null===n||void 0===n||n.dispose()})}e.chain=g,e.fromNodeEventEmitter=b,e.fromDOMEventEmitter=p,e.toPromise=C,e.runAndSubscribe=w,e.runAndSubscribeWithStore=_;class y{constructor(e,n){this.obs=e,this._counter=0,this._hasChanged=!1;const r={onFirstListenerAdd:()=>{e.addObserver(this)},onLastListenerRemove:()=>{e.removeObserver(this)}};n||t(r),this.emitter=new B(r),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handleChange(e,t){this._hasChanged=!0}endUpdate(e){0===--this._counter&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}function E(e,t){const n=new y(e,t);return n.emitter.event}e.fromObservable=E})(T||(T={}));class I{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${I._idPool++}`}start(e){this._stopWatch=new R(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}I._idPool=0;let D=-1;class K{constructor(e,t=Math.random().toString(18).slice(2,5)){this.customThreshold=e,this.name=t,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(e,t){let n=D;if("number"===typeof this.customThreshold&&(n=this.customThreshold),n<=0||t{const t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class V{constructor(e){this.value=e}static create(){var e;return new V(null!==(e=(new Error).stack)&&void 0!==e?e:"")}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class F{constructor(e,t,n){this.callback=e,this.callbackThis=t,this.stack=n,this.subscription=new E}invoke(e){this.callback.call(this.callbackThis,e)}}class B{constructor(e){var t,n;this._disposed=!1,this._options=e,this._leakageMon=D>0?new K(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new I(this._options._profName):void 0,this._deliveryQueue=null===(n=this._options)||void 0===n?void 0:n.deliveryQueue}dispose(){var e,t,n,r;if(!this._disposed){if(this._disposed=!0,this._listeners){if(x){const e=Array.from(this._listeners);queueMicrotask(()=>{var t;for(const n of e)n.subscription.isset()&&(n.subscription.unset(),null===(t=n.stack)||void 0===t||t.print())})}this._listeners.clear()}null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(n=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===n||n.call(t),null===(r=this._leakageMon)||void 0===r||r.dispose()}}get event(){return this._event||(this._event=(e,t,n)=>{var r,i,o;this._listeners||(this._listeners=new k);const a=this._listeners.isEmpty();let s,l;a&&(null===(r=this._options)||void 0===r?void 0:r.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this),this._leakageMon&&this._listeners.size>=30&&(l=V.create(),s=this._leakageMon.check(l,this._listeners.size+1)),x&&(l=null!==l&&void 0!==l?l:V.create());const c=new F(e,t,l),u=this._listeners.push(c);a&&(null===(i=this._options)||void 0===i?void 0:i.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),(null===(o=this._options)||void 0===o?void 0:o.onListenerDidAdd)&&this._options.onListenerDidAdd(this,e,t);const h=c.subscription.set(()=>{if(null===s||void 0===s||s(),!this._disposed&&(u(),this._options&&this._options.onLastListenerRemove)){const e=this._listeners&&!this._listeners.isEmpty();e||this._options.onLastListenerRemove(this)}});return n instanceof L?n.add(h):Array.isArray(n)&&n.push(h),h}),this._event}fire(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new q);for(const t of this._listeners)this._deliveryQueue.push(this,t,e);null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(n=this._perfMon)||void 0===n||n.stop()}}}class U{constructor(){this._queue=new k}get size(){return this._queue.size}push(e,t,n){this._queue.push(new H(e,t,n))}clear(e){const t=new k;for(const n of this._queue)n.emitter!==e&&t.push(n);this._queue=t}deliver(){while(this._queue.size>0){const t=this._queue.shift();try{t.listener.invoke(t.event)}catch(e){o(e)}}}}class q extends U{clear(e){this._queue.clear()}}class H{constructor(e,t,n){this.emitter=e,this.listener=t,this.event=n}}function W(e){let t=[],n=Object.getPrototypeOf(e);while(Object.prototype!==n)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function j(e){const t=[];for(const n of W(e))"function"===typeof e[n]&&t.push(n);return t}function z(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(const i of e)r[i]=n(i);return r}function $(e,t="Unreachable"){throw new Error(t)}class G{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}class Y{constructor(e){this.executor=e,this._didRun=!1}hasValue(){return this._didRun}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Z;function J(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Q(e){return e.split(/\r\n|\r|\n/)}function X(e){for(let t=0,n=e.length;t=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function te(e){return e>=65&&e<=90}function ne(e){return 55296<=e&&e<=56319}function re(e){return 56320<=e&&e<=57343}function ie(e,t){return t-56320+(e-55296<<10)+65536}function oe(e,t,n){const r=e.charCodeAt(n);if(ne(r)&&n+1t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}function ce(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}le._INSTANCE=null;class ue{constructor(e){this.confusableDictionary=e}static getInstance(e){return ue.cache.get(Array.from(e))}static getLocales(){return ue._locales.getValue()}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}Z=ue,ue.ambiguousCharacterData=new Y(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),ue.cache=new G(e=>{function t(e){const t=new Map;for(let n=0;n!e.startsWith("_")&&e in i);0===o.length&&(o=["_default"]);let a=void 0;for(const c of o){const e=t(i[c]);a=r(a,e)}const s=t(i["_common"]),l=n(s,a);return new ue(l)}),ue._locales=new Y(()=>Object.keys(ue.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith("_")));class he{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(he.getRawData())),this._data}static isInvisibleCharacter(e){return he.getData().has(e)}static get codePoints(){return he.getData()}}he._data=void 0;const de="$initialize";class fe{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class me{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class ge{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class be{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class pe{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class Ce{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new fe(this._workerId,n,e,t))})}listen(e,t){let n=null;const r=new B({onFirstListenerAdd:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new ge(this._workerId,n,e,t))},onLastListenerRemove:()=>{this._pendingEmitters.delete(n),this._send(new pe(this._workerId,n)),n=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");const t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;return e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}_handleRequestMessage(e){const t=e.req,n=this._handler.handleMessage(e.method,e.args);n.then(e=>{this._send(new me(this._workerId,t,e,void 0))},e=>{e.detail instanceof Error&&(e.detail=a(e.detail)),this._send(new me(this._workerId,t,void 0,a(e)))})}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(e=>{this._send(new be(this._workerId,t,e))});this._pendingEvents.set(t,n)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){const t=[];if(0===e.type)for(let n=0;nfunction(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},o={};for(const a of e)_e(a)?o[a]=i(a):we(a)?o[a]=n(a,void 0):o[a]=r(a);return o}class Se{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new Ce({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===de)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!==typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(n){return Promise.reject(n)}}_handleEvent(e,t){if(!this._requestHandler)throw new Error("Missing requestHandler");if(_e(e)){const n=this._requestHandler[e].call(this._requestHandler,t);if("function"!==typeof n)throw new Error(`Missing dynamic event ${e} on request handler.`);return n}if(we(e)){const t=this._requestHandler[e];if("function"!==typeof t)throw new Error(`Missing event ${e} on request handler.`);return t}throw new Error("Malformed event name "+e)}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=(e,t)=>this._protocol.sendMessage(e,t),o=(e,t)=>this._protocol.listen(e,t),a=ye(r,i,o);return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(a),Promise.resolve(j(this._requestHandler))):(t&&("undefined"!==typeof t.baseUrl&&delete t["baseUrl"],"undefined"!==typeof t.paths&&"undefined"!==typeof t.paths.vs&&delete t.paths["vs"],void 0!==typeof t.trustedTypesPolicy&&delete t["trustedTypesPolicy"],t.catchError=!0,M["a"].require.config(t)),new Promise((e,t)=>{const r=M["a"].require;r([n],n=>{this._requestHandler=n.create(a),this._requestHandler?e(j(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}class ve{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Le(e,t){return(t<<5)-t+e|0}function Ne(e,t){t=Le(149417,t);for(let n=0,r=e.length;n>>r)>>>0}function Ae(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0")).join(""):ke((e>>>0).toString(16),t/4)}class Oe{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let r,i,o=this._buffLen,a=this._leftoverHighSurrogate;0!==a?(r=a,i=-1,a=0):(r=e.charCodeAt(0),i=0);while(1){let s=r;if(ne(r)){if(!(i+1>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Me(this._h0)+Me(this._h1)+Me(this._h2)+Me(this._h3)+Me(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Ae(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Ae(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=Oe._bigBlock32,t=this._buffDV;for(let u=0;u<64;u+=4)e.setUint32(u,t.getUint32(u,!1),!1);for(let u=64;u<320;u+=4)e.setUint32(u,Ee(e.getUint32(u-12,!1)^e.getUint32(u-32,!1)^e.getUint32(u-56,!1)^e.getUint32(u-64,!1),1),!1);let n,r,i,o=this._h0,a=this._h1,s=this._h2,l=this._h3,c=this._h4;for(let u=0;u<80;u++)u<20?(n=a&s|~a&l,r=1518500249):u<40?(n=a^s^l,r=1859775393):u<60?(n=a&s|a&l|s&l,r=2400959708):(n=a^s^l,r=3395469782),i=Ee(o,5)+n+c+r+e.getUint32(4*u,!1)&4294967295,c=l,l=s,s=Ee(a,30),a=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+a&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+c&4294967295}}Oe._bigBlock32=new DataView(new ArrayBuffer(320));class Re{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new ve(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class De{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[r,i,o]=De._getElements(e),[a,s,l]=De._getElements(t);this._hasStrings=o&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=a,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"===typeof e[0]}static _getElements(e){const t=e.getElements();if(De._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&r>=n&&this.ElementsAreEqual(t,r))t--,r--;if(e>t||n>r){let i;return n<=r?(Pe.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new ve(e,0,n,r-n+1)]):e<=t?(Pe.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new ve(e,t-e+1,n,0)]):(Pe.Assert(e===t+1,"originalStart should only be one more than originalEnd"),Pe.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}const o=[0],a=[0],s=this.ComputeRecursionPoint(e,t,n,r,o,a,i),l=o[0],c=a[0];if(null!==s)return s;if(!i[0]){const o=this.ComputeDiffRecursive(e,l,n,c,i);let a=[];return a=i[0]?[new ve(l+1,t-(l+1)+1,c+1,r-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,r,i),this.ConcatenateChanges(o,a)}return[new ve(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,o,a,s,l,c,u,h,d,f,m,g,b,p){let C=null,w=null,_=new Ie,y=t,S=n,v=d[0]-g[0]-r,L=-1073741824,N=this.m_forwardHistory.length-1;do{const t=v+e;t===y||t=0&&(l=this.m_forwardHistory[N],e=l[0],y=1,S=l.length-1)}while(--N>=-1);if(C=_.getReverseChanges(),p[0]){let e=d[0]+1,t=g[0]+1;if(null!==C&&C.length>0){const n=C[C.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}w=[new ve(e,h-e+1,t,m-t+1)]}else{_=new Ie,y=o,S=a,v=d[0]-g[0]-s,L=1073741824,N=b?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=v+i;e===y||e=c[e+1]?(u=c[e+1]-1,f=u-v-s,u>L&&_.MarkNextChange(),L=u+1,_.AddOriginalElement(u+1,f+1),v=e+1-i):(u=c[e-1],f=u-v-s,u>L&&_.MarkNextChange(),L=u,_.AddModifiedElement(u+1,f+1),v=e-1-i),N>=0&&(c=this.m_reverseHistory[N],i=c[0],y=1,S=c.length-1)}while(--N>=-1);w=_.getChanges()}return this.ConcatenateChanges(C,w)}ComputeRecursionPoint(e,t,n,r,i,o,a){let s=0,l=0,c=0,u=0,h=0,d=0;e--,n--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(r-n),m=f+1,g=new Int32Array(m),b=new Int32Array(m),p=r-n,C=t-e,w=e-n,_=t-r,y=C-p,S=y%2===0;g[p]=e,b[C]=t,a[0]=!1;for(let v=1;v<=f/2+1;v++){let f=0,y=0;c=this.ClipDiagonalBound(p-v,v,p,m),u=this.ClipDiagonalBound(p+v,v,p,m);for(let e=c;e<=u;e+=2){s=e===c||ef+y&&(f=s,y=l),!S&&Math.abs(e-C)<=v-1&&s>=b[e])return i[0]=s,o[0]=l,n<=b[e]&&v<=1448?this.WALKTRACE(p,c,u,w,C,h,d,_,g,b,s,t,i,l,r,o,S,a):null}const L=(f-e+(y-n)-v)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,L))return a[0]=!0,i[0]=f,o[0]=y,L>0&&v<=1448?this.WALKTRACE(p,c,u,w,C,h,d,_,g,b,s,t,i,l,r,o,S,a):(e++,n++,[new ve(e,t-e+1,n,r-n+1)]);h=this.ClipDiagonalBound(C-v,v,C,m),d=this.ClipDiagonalBound(C+v,v,C,m);for(let m=h;m<=d;m+=2){s=m===h||m=b[m+1]?b[m+1]-1:b[m-1],l=s-(m-C)-_;const f=s;while(s>e&&l>n&&this.ElementsAreEqual(s,l))s--,l--;if(b[m]=s,S&&Math.abs(m-p)<=v&&s<=g[m])return i[0]=s,o[0]=l,f>=g[m]&&v<=1448?this.WALKTRACE(p,c,u,w,C,h,d,_,g,b,s,t,i,l,r,o,S,a):null}if(v<=1447){let e=new Int32Array(u-c+2);e[0]=p-c+1,Te.Copy2(g,c,e,1,u-c+1),this.m_forwardHistory.push(e),e=new Int32Array(d-h+2),e[0]=C-h+1,Te.Copy2(b,h,e,1,d-h+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(p,c,u,w,C,h,d,_,g,b,s,t,i,l,r,o,S,a)}PrettifyChanges(e){for(let t=0;t0,a=n.modifiedLength>0;while(n.originalStart+n.originalLength=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}const o=n.originalLength>0,a=n.modifiedLength>0;let s=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(tl&&(l=h,s=e)}n.originalStart-=s,n.modifiedStart-=s;const c=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],c)&&(e[t-1]=c[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,n=e.length;t0&&t>s&&(s=t,l=u,c=e)}return s>0?[l,c]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){const i=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(n,r)?1:0;return i+o}ConcatenateChanges(e,t){const n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return Te.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],Te.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return Te.Copy(e,0,n,0,e.length),Te.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(Pe.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),Pe.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let i=e.originalLength;const o=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new ve(r,i,o,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e=Ve&&e<=Be||e>=Fe&&e<=Ue}function Qe(e,t,n,r){let i="",o=0,a=-1,s=0,l=0;for(let c=0;c<=e.length;++c){if(c2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),a=c,s=0;continue}if(0!==i.length){i="",o=0,a=c,s=0;continue}}t&&(i+=i.length>0?n+"..":"..",o=2)}else i.length>0?i+=`${n}${e.slice(a+1,c)}`:i=e.slice(a+1,c),o=c-a-1;a=c,s=0}else l===qe&&-1!==s?++s:s=-1}return i}function Xe(e,t){if(null===t||"object"!==typeof t)throw new $e("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const et={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let o;if(i>=0){if(o=e[i],Ge(o,"path"),0===o.length)continue}else 0===t.length?o=Ke["a"]():(o=Ke["b"]["="+t]||Ke["a"](),(void 0===o||o.slice(0,2).toLowerCase()!==t.toLowerCase()&&o.charCodeAt(2)===We)&&(o=t+"\\"));const a=o.length;let s=0,l="",c=!1;const u=o.charCodeAt(0);if(1===a)Ye(u)&&(s=1,c=!0);else if(Ye(u))if(c=!0,Ye(o.charCodeAt(1))){let e=2,t=e;while(e2&&Ye(o.charCodeAt(2))&&(c=!0,s=3));if(l.length>0)if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l;if(r){if(t.length>0)break}else if(n=`${o.slice(s)}\\${n}`,r=c,c&&t.length>0)break}return n=Qe(n,!r,"\\",Ye),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Ge(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const o=e.charCodeAt(0);if(1===t)return Ze(o)?"\\":e;if(Ye(o))if(i=!0,Ye(e.charCodeAt(1))){let i=2,o=i;while(i2&&Ye(e.charCodeAt(2))&&(i=!0,r=3));let a=r0&&Ye(e.charCodeAt(t-1))&&(a+="\\"),void 0===n?i?"\\"+a:a:i?`${n}\\${a}`:`${n}${a}`},isAbsolute(e){Ge(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return Ye(n)||t>2&&Je(n)&&e.charCodeAt(1)===je&&Ye(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let o=0;o0&&(void 0===t?t=n=r:t+="\\"+r)}if(void 0===t)return".";let r=!0,i=0;if("string"===typeof n&&Ye(n.charCodeAt(0))){++i;const e=n.length;e>1&&Ye(n.charCodeAt(1))&&(++i,e>2&&(Ye(n.charCodeAt(2))?++i:r=!1))}if(r){while(i=2&&(t="\\"+t.slice(i))}return et.normalize(t)},relative(e,t){if(Ge(e,"from"),Ge(t,"to"),e===t)return"";const n=et.resolve(e),r=et.resolve(t);if(n===r)return"";if(e=n.toLowerCase(),t=r.toLowerCase(),e===t)return"";let i=0;while(ii&&e.charCodeAt(o-1)===We)o--;const a=o-i;let s=0;while(ss&&t.charCodeAt(l-1)===We)l--;const c=l-s,u=au){if(t.charCodeAt(s+d)===We)return r.slice(s+d+1);if(2===d)return r.slice(s+d)}a>u&&(e.charCodeAt(i+d)===We?h=d:2===d&&(h=3)),-1===h&&(h=0)}let f="";for(d=i+h+1;d<=o;++d)d!==o&&e.charCodeAt(d)!==We||(f+=0===f.length?"..":"\\..");return s+=h,f.length>0?`${f}${r.slice(s,l)}`:(r.charCodeAt(s)===We&&++s,r.slice(s,l))},toNamespacedPath(e){if("string"!==typeof e)return e;if(0===e.length)return"";const t=et.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===We){if(t.charCodeAt(1)===We){const e=t.charCodeAt(2);if(e!==ze&&e!==qe)return"\\\\?\\UNC\\"+t.slice(2)}}else if(Je(t.charCodeAt(0))&&t.charCodeAt(1)===je&&t.charCodeAt(2)===We)return"\\\\?\\"+t;return e},dirname(e){Ge(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return Ye(i)?e:".";if(Ye(i)){if(n=r=1,Ye(e.charCodeAt(1))){let i=2,o=i;while(i2&&Ye(e.charCodeAt(2))?3:2,r=n);let o=-1,a=!0;for(let s=t-1;s>=r;--s)if(Ye(e.charCodeAt(s))){if(!a){o=s;break}}else a=!1;if(-1===o){if(-1===n)return".";o=n}return e.slice(0,o)},basename(e,t){void 0!==t&&Ge(t,"ext"),Ge(e,"path");let n,r=0,i=-1,o=!0;if(e.length>=2&&Je(e.charCodeAt(0))&&e.charCodeAt(1)===je&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,s=-1;for(n=e.length-1;n>=r;--n){const l=e.charCodeAt(n);if(Ye(l)){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1===--a&&(i=n):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(Ye(e.charCodeAt(n))){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){Ge(e,"path");let t=0,n=-1,r=0,i=-1,o=!0,a=0;e.length>=2&&e.charCodeAt(1)===je&&Je(e.charCodeAt(0))&&(t=r=2);for(let s=e.length-1;s>=t;--s){const t=e.charCodeAt(s);if(Ye(t)){if(!o){r=s+1;break}}else-1===i&&(o=!1,i=s+1),t===qe?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1)}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:Xe.bind(null,"\\"),parse(e){Ge(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return Ye(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Ye(i)){if(r=1,Ye(e.charCodeAt(1))){let t=2,i=t;while(t0&&(t.root=e.slice(0,r));let o=-1,a=r,s=-1,l=!0,c=e.length-1,u=0;for(;c>=r;--c)if(i=e.charCodeAt(c),Ye(i)){if(!l){a=c+1;break}}else-1===s&&(l=!1,s=c+1),i===qe?-1===o?o=c:1!==u&&(u=1):-1!==o&&(u=-1);return-1!==s&&(-1===o||0===u||1===u&&o===s-1&&o===a+1?t.base=t.name=e.slice(a,s):(t.name=e.slice(a,o),t.base=e.slice(a,s),t.ext=e.slice(o,s))),t.dir=a>0&&a!==r?e.slice(0,a-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},tt={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:Ke["a"]();Ge(i,"path"),0!==i.length&&(t=`${i}/${t}`,n=i.charCodeAt(0)===He)}return t=Qe(t,!n,"/",Ze),n?"/"+t:t.length>0?t:"."},normalize(e){if(Ge(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===He,n=e.charCodeAt(e.length-1)===He;return e=Qe(e,!t,"/",Ze),0===e.length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute(e){return Ge(e,"path"),e.length>0&&e.charCodeAt(0)===He},join(...e){if(0===e.length)return".";let t;for(let n=0;n0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":tt.normalize(t)},relative(e,t){if(Ge(e,"from"),Ge(t,"to"),e===t)return"";if(e=tt.resolve(e),t=tt.resolve(t),e===t)return"";const n=1,r=e.length,i=r-n,o=1,a=t.length-o,s=is){if(t.charCodeAt(o+c)===He)return t.slice(o+c+1);if(0===c)return t.slice(o+c)}else i>s&&(e.charCodeAt(n+c)===He?l=c:0===c&&(l=0));let u="";for(c=n+l+1;c<=r;++c)c!==r&&e.charCodeAt(c)!==He||(u+=0===u.length?"..":"/..");return`${u}${t.slice(o+l)}`},toNamespacedPath(e){return e},dirname(e){if(Ge(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===He;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===He){if(!r){n=i;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&Ge(t,"ext"),Ge(e,"path");let n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(l===He){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1===--a&&(i=n):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===He){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){Ge(e,"path");let t=-1,n=0,r=-1,i=!0,o=0;for(let a=e.length-1;a>=0;--a){const s=e.charCodeAt(a);if(s!==He)-1===r&&(i=!1,r=a+1),s===qe?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:Xe.bind(null,"/"),parse(e){Ge(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===He;let r;n?(t.root="/",r=1):r=0;let i=-1,o=0,a=-1,s=!0,l=e.length-1,c=0;for(;l>=r;--l){const t=e.charCodeAt(l);if(t!==He)-1===a&&(s=!1,a=l+1),t===qe?-1===i?i=l:1!==c&&(c=1):-1!==i&&(c=-1);else if(!s){o=l+1;break}}if(-1!==a){const r=0===o&&n?1:o;-1===i||0===c||1===c&&i===a-1&&i===o+1?t.base=t.name=e.slice(r,a):(t.name=e.slice(r,i),t.base=e.slice(r,a),t.ext=e.slice(i,a))}return o>0?t.dir=e.slice(0,o-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};tt.win32=et.win32=et,tt.posix=et.posix=tt;"win32"===Ke["c"]?et.normalize:tt.normalize,"win32"===Ke["c"]?et.resolve:tt.resolve,"win32"===Ke["c"]?et.relative:tt.relative,"win32"===Ke["c"]?et.dirname:tt.dirname,"win32"===Ke["c"]?et.basename:tt.basename,"win32"===Ke["c"]?et.extname:tt.extname,"win32"===Ke["c"]?et.sep:tt.sep;const nt=/^\w[\w\d+.-]*$/,rt=/^\//,it=/^\/\//;function ot(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!nt.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!rt.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(it.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}function at(e,t){return e||t?e:"file"}function st(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ct&&(t=ct+t):t=ct;break}return t}const lt="",ct="/",ut=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class ht{constructor(e,t,n,r,i,o=!1){"object"===typeof e?(this.scheme=e.scheme||lt,this.authority=e.authority||lt,this.path=e.path||lt,this.query=e.query||lt,this.fragment=e.fragment||lt):(this.scheme=at(e,o),this.authority=t||lt,this.path=st(this.scheme,n||lt),this.query=r||lt,this.fragment=i||lt,ot(this,o))}static isUri(e){return e instanceof ht||!!e&&("string"===typeof e.authority&&"string"===typeof e.fragment&&"string"===typeof e.path&&"string"===typeof e.query&&"string"===typeof e.scheme&&"string"===typeof e.fsPath&&"function"===typeof e.with&&"function"===typeof e.toString)}get fsPath(){return pt(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=lt),void 0===n?n=this.authority:null===n&&(n=lt),void 0===r?r=this.path:null===r&&(r=lt),void 0===i?i=this.query:null===i&&(i=lt),void 0===o?o=this.fragment:null===o&&(o=lt),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new ft(t,n,r,i,o)}static parse(e,t=!1){const n=ut.exec(e);return n?new ft(n[2]||lt,yt(n[4]||lt),yt(n[5]||lt),yt(n[7]||lt),yt(n[9]||lt),t):new ft(lt,lt,lt,lt,lt)}static file(e){let t=lt;if(M["d"]&&(e=e.replace(/\\/g,ct)),e[0]===ct&&e[1]===ct){const n=e.indexOf(ct,2);-1===n?(t=e.substring(2),e=ct):(t=e.substring(2,n),e=e.substring(n)||ct)}return new ft("file",t,e,lt,lt)}static from(e){const t=new ft(e.scheme,e.authority,e.path,e.query,e.fragment);return ot(t,!0),t}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=M["d"]&&"file"===e.scheme?ht.file(et.join(pt(e,!0),...t)).path:tt.join(e.path,...t),e.with({path:n})}toString(e=!1){return Ct(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof ht)return e;{const t=new ft(e);return t._formatted=e.external,t._fsPath=e._sep===dt?e.fsPath:null,t}}return e}}const dt=M["d"]?1:void 0;class ft extends ht{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=pt(this,!1)),this._fsPath}toString(e=!1){return e?Ct(this,!0):(this._formatted||(this._formatted=Ct(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=dt),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const mt={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function gt(e,t){let n=void 0,r=-1;for(let i=0;i=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=mt[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function bt(e){let t=void 0;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,M["d"]&&(n=n.replace(/\//g,"\\")),n}function Ct(e,t){const n=t?bt:gt;let r="",{scheme:i,authority:o,path:a,query:s,fragment:l}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=ct,r+=ct),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){const e=a.charCodeAt(1);e>=65&&e<=90&&(a=`/${String.fromCharCode(e+32)}:${a.substr(3)}`)}else if(a.length>=2&&58===a.charCodeAt(1)){const e=a.charCodeAt(0);e>=65&&e<=90&&(a=`${String.fromCharCode(e+32)}:${a.substr(2)}`)}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),l&&(r+="#",r+=t?l:gt(l,!1)),r}function wt(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+wt(e.substr(3)):e}}const _t=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function yt(e){return e.match(_t)?e.replace(_t,e=>wt(e)):e}class St{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new St(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return St.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return St.isBefore(this,e)}static isBefore(e,t){return e.lineNumbern||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return vt.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return vt.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}containsRange(e){return vt.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)))}strictContainsRange(e){return vt.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return vt.plusRange(this,e)}static plusRange(e,t){let n,r,i,o;return t.startLineNumbere.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new vt(n,r,i,o)}intersectRanges(e){return vt.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn;const a=t.startLineNumber,s=t.startColumn,l=t.endLineNumber,c=t.endColumn;return nl?(i=l,o=c):i===l&&(o=Math.min(o,c)),n>i||n===i&&r>o?null:new vt(n,r,i,o)}equalsRange(e){return vt.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return vt.getEndPosition(this)}static getEndPosition(e){return new St(e.endLineNumber,e.endColumn)}getStartPosition(){return vt.getStartPosition(this)}static getStartPosition(e){return new St(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new vt(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new vt(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return vt.collapseToStart(this)}static collapseToStart(e){return new vt(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new vt(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new vt(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}const Lt=3;function Nt(e,t,n,r){const i=new De(e,t,n);return i.ComputeDiff(r)}class Et{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return-1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e]?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return-1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e]?1:this._columns[e]+1)}}class kt{constructor(e,t,n,r,i,o,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}static createFromDiffChange(e,t,n){const r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),a=t.getEndColumn(e.originalStart+e.originalLength-1),s=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),u=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new kt(r,i,o,a,s,l,c,u)}}function Mt(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),s=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(o.getElements().length>0&&s.getElements().length>0){let e=Nt(o,s,i,!0).changes;a&&(e=Mt(e)),h=[];for(let t=0,n=e.length;t1&&a>1){const r=e.charCodeAt(n-2),i=t.charCodeAt(a-2);if(r!==i)break;n--,a--}(n>1||a>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,a)}{let n=Pt(e,1),a=Pt(t,1);const s=e.length+1,l=t.length+1;while(n!0;const t=Date.now();return()=>Date.now()-t0}function r(e){return 0===e}e.isLessThan=t,e.isGreaterThan=n,e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(It||(It={}));function Dt(e){return e<0?0:e>255?255:0|e}function Kt(e){return e<0?0:e>4294967295?4294967295:0|e}class Vt{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Kt(e);const n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=Kt(e),t=Kt(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;const i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=Kt(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,o=0;while(t<=n)if(r=t+(n-t)/2|0,i=this.prefixSum[r],o=i-this.values[r],e=i))break;t=r+1}return new Ft(r,e-o)}}class Ft{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class Bt{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new St(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r/?";function qt(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of Ut)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const Ht=qt();function Wt(e){let t=Ht;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const jt=new k;function zt(e,t,n,r,i){if(i||(i=d.first(jt)),n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?o=0:r+=o,n=n.substring(o,e+i.maxLen/2),zt(e,t,n,r,i)}const o=Date.now(),a=e-1-r;let s=-1,l=null;for(let c=1;;c++){if(Date.now()-o>=i.timeBudget)break;const e=a-i.windowSize*c;t.lastIndex=Math.max(0,e);const r=$t(t,n,a,s);if(!r&&l)break;if(l=r,e<=0)break;s=e}if(l){const e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}function $t(e,t,n,r){let i;while(i=e.exec(t)){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}jt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class Gt{constructor(e){const t=Dt(e);this._defaultValue=t,this._asciiMap=Gt._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){const n=Dt(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class Yt{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;it&&(t=o),r>n&&(n=r),a>n&&(n=a)}t++,n++;const r=new Yt(n,t,0);for(let i=0,o=e.length;i=this._maxCharCode?0:this._states.get(e,t)}}let Jt=null;function Qt(){return null===Jt&&(Jt=new Zt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Jt}let Xt=null;function en(){if(null===Xt){Xt=new Gt(0);const e=" \t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let n=0;nr);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=Qt()){const n=en(),r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),a=o.length;let s=0,l=0,c=0,u=1,h=!1,d=!1,f=!1,m=!1;while(s=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}rn.INSTANCE=new rn;const on=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var an;(function(e){function t(t){return t===e.None||t===e.Cancelled||(t instanceof sn||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:T.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:on})})(an||(an={}));class sn{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?on:(this._emitter||(this._emitter=new B),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class ln{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new sn),this._token}cancel(){this._token?this._token instanceof sn&&this._token.cancel():this._token=an.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof sn&&this._token.dispose():this._token=an.None}}class cn{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const un=new cn,hn=new cn,dn=new cn,fn=new Array(230),mn={},gn=[],bn=Object.create(null),pn=Object.create(null),Cn=[],wn=[];for(let Ur=0;Ur<=193;Ur++)Cn[Ur]=-1;for(let Ur=0;Ur<=127;Ur++)wn[Ur]=-1;var _n,yn;function Sn(e,t){const n=(65535&t)<<16>>>0;return(e|n)>>>0}(function(){const e="",t=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const i of t){const[e,t,o,a,s,l,c,u,h,d]=i;if(r[o]||(r[o]=!0,gn[o]=a,bn[a]=o,pn[a.toLowerCase()]=o,t&&(Cn[o]=s,0!==s&&3!==s&&5!==s&&4!==s&&6!==s&&57!==s&&(wn[s]=o))),!n[s]){if(n[s]=!0,!l)throw new Error(`String representation missing for key code ${s} around scan code ${a}`);un.define(s,l),hn.define(s,h||l),dn.define(s,d||h||l)}c&&(fn[c]=s),u&&(mn[u]=s)}wn[3]=46})(),function(e){function t(e){return un.keyCodeToStr(e)}function n(e){return un.strToKeyCode(e)}function r(e){return hn.keyCodeToStr(e)}function i(e){return dn.keyCodeToStr(e)}function o(e){return hn.strToKeyCode(e)||dn.strToKeyCode(e)}function a(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return un.keyCodeToStr(e)}e.toString=t,e.fromString=n,e.toUserSettingsUS=r,e.toUserSettingsGeneral=i,e.fromUserSettings=o,e.toElectronAccelerator=a}(_n||(_n={}));class vn extends vt{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return vn.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new vn(this.startLineNumber,this.startColumn,e,t):new vn(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new St(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new St(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new vn(e,t,this.endLineNumber,this.endColumn):new vn(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new vn(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new vn(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new vn(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new vn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();const r=new Tn(this,e,t);return this._factories.set(e,r),v(()=>{const t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())})}getOrCreate(e){return xn(this,void 0,void 0,(function*(){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))}))}get(e){return this._map.get(e)||null}isResolved(e){const t=this.get(e);if(t)return!0;const n=this._factories.get(e);return!(n&&!n.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Tn extends N{constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return xn(this,void 0,void 0,(function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}))}_create(){return xn(this,void 0,void 0,(function*(){const e=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}))}}class In{constructor(e,t,n){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}(function(e){const t=new Map;function n(e){let n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=Ln.symbolProperty),n}t.set(0,Ln.symbolMethod),t.set(1,Ln.symbolFunction),t.set(2,Ln.symbolConstructor),t.set(3,Ln.symbolField),t.set(4,Ln.symbolVariable),t.set(5,Ln.symbolClass),t.set(6,Ln.symbolStruct),t.set(7,Ln.symbolInterface),t.set(8,Ln.symbolModule),t.set(9,Ln.symbolProperty),t.set(10,Ln.symbolEvent),t.set(11,Ln.symbolOperator),t.set(12,Ln.symbolUnit),t.set(13,Ln.symbolValue),t.set(15,Ln.symbolEnum),t.set(14,Ln.symbolConstant),t.set(15,Ln.symbolEnum),t.set(16,Ln.symbolEnumMember),t.set(17,Ln.symbolKeyword),t.set(27,Ln.symbolSnippet),t.set(18,Ln.symbolText),t.set(19,Ln.symbolColor),t.set(20,Ln.symbolFile),t.set(21,Ln.symbolReference),t.set(22,Ln.symbolCustomColor),t.set(23,Ln.symbolFolder),t.set(24,Ln.symbolTypeParameter),t.set(25,Ln.account),t.set(26,Ln.issues),e.toIcon=n;const r=new Map;function i(e,t){let n=r.get(e);return"undefined"!==typeof n||t||(n=9),n}r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",27),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),e.fromString=i})(Nn||(Nn={})),function(e){e[e["Automatic"]=0]="Automatic",e[e["Explicit"]=1]="Explicit"}(En||(En={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"}(An||(An={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(kn||(kn={})),function(e){const t=new Map;function n(e){let n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=Ln.symbolProperty),n}t.set(0,Ln.symbolFile),t.set(1,Ln.symbolModule),t.set(2,Ln.symbolNamespace),t.set(3,Ln.symbolPackage),t.set(4,Ln.symbolClass),t.set(5,Ln.symbolMethod),t.set(6,Ln.symbolProperty),t.set(7,Ln.symbolField),t.set(8,Ln.symbolConstructor),t.set(9,Ln.symbolEnum),t.set(10,Ln.symbolInterface),t.set(11,Ln.symbolFunction),t.set(12,Ln.symbolVariable),t.set(13,Ln.symbolConstant),t.set(14,Ln.symbolString),t.set(15,Ln.symbolNumber),t.set(16,Ln.symbolBoolean),t.set(17,Ln.symbolArray),t.set(18,Ln.symbolObject),t.set(19,Ln.symbolKey),t.set(20,Ln.symbolNull),t.set(21,Ln.symbolEnumMember),t.set(22,Ln.symbolStruct),t.set(23,Ln.symbolEvent),t.set(24,Ln.symbolOperator),t.set(25,Ln.symbolTypeParameter),e.toIcon=n}(Mn||(Mn={}));class Dn{constructor(e){this.value=e}}Dn.Comment=new Dn("comment"),Dn.Imports=new Dn("imports"),Dn.Region=new Dn("region"),function(e){function t(e){return!(!e||"object"!==typeof e)&&("string"===typeof e.id&&"string"===typeof e.title)}e.is=t}(On||(On={})),function(e){e[e["Type"]=1]="Type",e[e["Parameter"]=2]="Parameter"}(Rn||(Rn={}));new Pn;var Kn,Vn,Fn,Bn,Un,qn,Hn,Wn,jn,zn,$n,Gn,Yn,Zn,Jn,Qn,Xn,er,tr,nr,rr,ir,or,ar,sr,lr,cr,ur,hr,dr,fr,mr,gr,br,pr,Cr,wr,_r;(function(e){e[e["Unknown"]=0]="Unknown",e[e["Disabled"]=1]="Disabled",e[e["Enabled"]=2]="Enabled"})(Kn||(Kn={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["Auto"]=2]="Auto"}(Vn||(Vn={})),function(e){e[e["KeepWhitespace"]=1]="KeepWhitespace",e[e["InsertAsSnippet"]=4]="InsertAsSnippet"}(Fn||(Fn={})),function(e){e[e["Method"]=0]="Method",e[e["Function"]=1]="Function",e[e["Constructor"]=2]="Constructor",e[e["Field"]=3]="Field",e[e["Variable"]=4]="Variable",e[e["Class"]=5]="Class",e[e["Struct"]=6]="Struct",e[e["Interface"]=7]="Interface",e[e["Module"]=8]="Module",e[e["Property"]=9]="Property",e[e["Event"]=10]="Event",e[e["Operator"]=11]="Operator",e[e["Unit"]=12]="Unit",e[e["Value"]=13]="Value",e[e["Constant"]=14]="Constant",e[e["Enum"]=15]="Enum",e[e["EnumMember"]=16]="EnumMember",e[e["Keyword"]=17]="Keyword",e[e["Text"]=18]="Text",e[e["Color"]=19]="Color",e[e["File"]=20]="File",e[e["Reference"]=21]="Reference",e[e["Customcolor"]=22]="Customcolor",e[e["Folder"]=23]="Folder",e[e["TypeParameter"]=24]="TypeParameter",e[e["User"]=25]="User",e[e["Issue"]=26]="Issue",e[e["Snippet"]=27]="Snippet"}(Bn||(Bn={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(Un||(Un={})),function(e){e[e["Invoke"]=0]="Invoke",e[e["TriggerCharacter"]=1]="TriggerCharacter",e[e["TriggerForIncompleteCompletions"]=2]="TriggerForIncompleteCompletions"}(qn||(qn={})),function(e){e[e["EXACT"]=0]="EXACT",e[e["ABOVE"]=1]="ABOVE",e[e["BELOW"]=2]="BELOW"}(Hn||(Hn={})),function(e){e[e["NotSet"]=0]="NotSet",e[e["ContentFlush"]=1]="ContentFlush",e[e["RecoverFromMarkers"]=2]="RecoverFromMarkers",e[e["Explicit"]=3]="Explicit",e[e["Paste"]=4]="Paste",e[e["Undo"]=5]="Undo",e[e["Redo"]=6]="Redo"}(Wn||(Wn={})),function(e){e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(jn||(jn={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(zn||(zn={})),function(e){e[e["None"]=0]="None",e[e["Keep"]=1]="Keep",e[e["Brackets"]=2]="Brackets",e[e["Advanced"]=3]="Advanced",e[e["Full"]=4]="Full"}($n||($n={})),function(e){e[e["acceptSuggestionOnCommitCharacter"]=0]="acceptSuggestionOnCommitCharacter",e[e["acceptSuggestionOnEnter"]=1]="acceptSuggestionOnEnter",e[e["accessibilitySupport"]=2]="accessibilitySupport",e[e["accessibilityPageSize"]=3]="accessibilityPageSize",e[e["ariaLabel"]=4]="ariaLabel",e[e["autoClosingBrackets"]=5]="autoClosingBrackets",e[e["autoClosingDelete"]=6]="autoClosingDelete",e[e["autoClosingOvertype"]=7]="autoClosingOvertype",e[e["autoClosingQuotes"]=8]="autoClosingQuotes",e[e["autoIndent"]=9]="autoIndent",e[e["automaticLayout"]=10]="automaticLayout",e[e["autoSurround"]=11]="autoSurround",e[e["bracketPairColorization"]=12]="bracketPairColorization",e[e["guides"]=13]="guides",e[e["codeLens"]=14]="codeLens",e[e["codeLensFontFamily"]=15]="codeLensFontFamily",e[e["codeLensFontSize"]=16]="codeLensFontSize",e[e["colorDecorators"]=17]="colorDecorators",e[e["columnSelection"]=18]="columnSelection",e[e["comments"]=19]="comments",e[e["contextmenu"]=20]="contextmenu",e[e["copyWithSyntaxHighlighting"]=21]="copyWithSyntaxHighlighting",e[e["cursorBlinking"]=22]="cursorBlinking",e[e["cursorSmoothCaretAnimation"]=23]="cursorSmoothCaretAnimation",e[e["cursorStyle"]=24]="cursorStyle",e[e["cursorSurroundingLines"]=25]="cursorSurroundingLines",e[e["cursorSurroundingLinesStyle"]=26]="cursorSurroundingLinesStyle",e[e["cursorWidth"]=27]="cursorWidth",e[e["disableLayerHinting"]=28]="disableLayerHinting",e[e["disableMonospaceOptimizations"]=29]="disableMonospaceOptimizations",e[e["domReadOnly"]=30]="domReadOnly",e[e["dragAndDrop"]=31]="dragAndDrop",e[e["dropIntoEditor"]=32]="dropIntoEditor",e[e["emptySelectionClipboard"]=33]="emptySelectionClipboard",e[e["experimental"]=34]="experimental",e[e["extraEditorClassName"]=35]="extraEditorClassName",e[e["fastScrollSensitivity"]=36]="fastScrollSensitivity",e[e["find"]=37]="find",e[e["fixedOverflowWidgets"]=38]="fixedOverflowWidgets",e[e["folding"]=39]="folding",e[e["foldingStrategy"]=40]="foldingStrategy",e[e["foldingHighlight"]=41]="foldingHighlight",e[e["foldingImportsByDefault"]=42]="foldingImportsByDefault",e[e["foldingMaximumRegions"]=43]="foldingMaximumRegions",e[e["unfoldOnClickAfterEndOfLine"]=44]="unfoldOnClickAfterEndOfLine",e[e["fontFamily"]=45]="fontFamily",e[e["fontInfo"]=46]="fontInfo",e[e["fontLigatures"]=47]="fontLigatures",e[e["fontSize"]=48]="fontSize",e[e["fontWeight"]=49]="fontWeight",e[e["formatOnPaste"]=50]="formatOnPaste",e[e["formatOnType"]=51]="formatOnType",e[e["glyphMargin"]=52]="glyphMargin",e[e["gotoLocation"]=53]="gotoLocation",e[e["hideCursorInOverviewRuler"]=54]="hideCursorInOverviewRuler",e[e["hover"]=55]="hover",e[e["inDiffEditor"]=56]="inDiffEditor",e[e["inlineSuggest"]=57]="inlineSuggest",e[e["letterSpacing"]=58]="letterSpacing",e[e["lightbulb"]=59]="lightbulb",e[e["lineDecorationsWidth"]=60]="lineDecorationsWidth",e[e["lineHeight"]=61]="lineHeight",e[e["lineNumbers"]=62]="lineNumbers",e[e["lineNumbersMinChars"]=63]="lineNumbersMinChars",e[e["linkedEditing"]=64]="linkedEditing",e[e["links"]=65]="links",e[e["matchBrackets"]=66]="matchBrackets",e[e["minimap"]=67]="minimap",e[e["mouseStyle"]=68]="mouseStyle",e[e["mouseWheelScrollSensitivity"]=69]="mouseWheelScrollSensitivity",e[e["mouseWheelZoom"]=70]="mouseWheelZoom",e[e["multiCursorMergeOverlapping"]=71]="multiCursorMergeOverlapping",e[e["multiCursorModifier"]=72]="multiCursorModifier",e[e["multiCursorPaste"]=73]="multiCursorPaste",e[e["occurrencesHighlight"]=74]="occurrencesHighlight",e[e["overviewRulerBorder"]=75]="overviewRulerBorder",e[e["overviewRulerLanes"]=76]="overviewRulerLanes",e[e["padding"]=77]="padding",e[e["parameterHints"]=78]="parameterHints",e[e["peekWidgetDefaultFocus"]=79]="peekWidgetDefaultFocus",e[e["definitionLinkOpensInPeek"]=80]="definitionLinkOpensInPeek",e[e["quickSuggestions"]=81]="quickSuggestions",e[e["quickSuggestionsDelay"]=82]="quickSuggestionsDelay",e[e["readOnly"]=83]="readOnly",e[e["renameOnType"]=84]="renameOnType",e[e["renderControlCharacters"]=85]="renderControlCharacters",e[e["renderFinalNewline"]=86]="renderFinalNewline",e[e["renderLineHighlight"]=87]="renderLineHighlight",e[e["renderLineHighlightOnlyWhenFocus"]=88]="renderLineHighlightOnlyWhenFocus",e[e["renderValidationDecorations"]=89]="renderValidationDecorations",e[e["renderWhitespace"]=90]="renderWhitespace",e[e["revealHorizontalRightPadding"]=91]="revealHorizontalRightPadding",e[e["roundedSelection"]=92]="roundedSelection",e[e["rulers"]=93]="rulers",e[e["scrollbar"]=94]="scrollbar",e[e["scrollBeyondLastColumn"]=95]="scrollBeyondLastColumn",e[e["scrollBeyondLastLine"]=96]="scrollBeyondLastLine",e[e["scrollPredominantAxis"]=97]="scrollPredominantAxis",e[e["selectionClipboard"]=98]="selectionClipboard",e[e["selectionHighlight"]=99]="selectionHighlight",e[e["selectOnLineNumbers"]=100]="selectOnLineNumbers",e[e["showFoldingControls"]=101]="showFoldingControls",e[e["showUnused"]=102]="showUnused",e[e["snippetSuggestions"]=103]="snippetSuggestions",e[e["smartSelect"]=104]="smartSelect",e[e["smoothScrolling"]=105]="smoothScrolling",e[e["stickyTabStops"]=106]="stickyTabStops",e[e["stopRenderingLineAfter"]=107]="stopRenderingLineAfter",e[e["suggest"]=108]="suggest",e[e["suggestFontSize"]=109]="suggestFontSize",e[e["suggestLineHeight"]=110]="suggestLineHeight",e[e["suggestOnTriggerCharacters"]=111]="suggestOnTriggerCharacters",e[e["suggestSelection"]=112]="suggestSelection",e[e["tabCompletion"]=113]="tabCompletion",e[e["tabIndex"]=114]="tabIndex",e[e["unicodeHighlighting"]=115]="unicodeHighlighting",e[e["unusualLineTerminators"]=116]="unusualLineTerminators",e[e["useShadowDOM"]=117]="useShadowDOM",e[e["useTabStops"]=118]="useTabStops",e[e["wordSeparators"]=119]="wordSeparators",e[e["wordWrap"]=120]="wordWrap",e[e["wordWrapBreakAfterCharacters"]=121]="wordWrapBreakAfterCharacters",e[e["wordWrapBreakBeforeCharacters"]=122]="wordWrapBreakBeforeCharacters",e[e["wordWrapColumn"]=123]="wordWrapColumn",e[e["wordWrapOverride1"]=124]="wordWrapOverride1",e[e["wordWrapOverride2"]=125]="wordWrapOverride2",e[e["wrappingIndent"]=126]="wrappingIndent",e[e["wrappingStrategy"]=127]="wrappingStrategy",e[e["showDeprecated"]=128]="showDeprecated",e[e["inlayHints"]=129]="inlayHints",e[e["editorClassName"]=130]="editorClassName",e[e["pixelRatio"]=131]="pixelRatio",e[e["tabFocusMode"]=132]="tabFocusMode",e[e["layoutInfo"]=133]="layoutInfo",e[e["wrappingInfo"]=134]="wrappingInfo"}(Gn||(Gn={})),function(e){e[e["TextDefined"]=0]="TextDefined",e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(Yn||(Yn={})),function(e){e[e["LF"]=0]="LF",e[e["CRLF"]=1]="CRLF"}(Zn||(Zn={})),function(e){e[e["None"]=0]="None",e[e["Indent"]=1]="Indent",e[e["IndentOutdent"]=2]="IndentOutdent",e[e["Outdent"]=3]="Outdent"}(Jn||(Jn={})),function(e){e[e["Both"]=0]="Both",e[e["Right"]=1]="Right",e[e["Left"]=2]="Left",e[e["None"]=3]="None"}(Qn||(Qn={})),function(e){e[e["Type"]=1]="Type",e[e["Parameter"]=2]="Parameter"}(Xn||(Xn={})),function(e){e[e["Automatic"]=0]="Automatic",e[e["Explicit"]=1]="Explicit"}(er||(er={})),function(e){e[e["DependsOnKbLayout"]=-1]="DependsOnKbLayout",e[e["Unknown"]=0]="Unknown",e[e["Backspace"]=1]="Backspace",e[e["Tab"]=2]="Tab",e[e["Enter"]=3]="Enter",e[e["Shift"]=4]="Shift",e[e["Ctrl"]=5]="Ctrl",e[e["Alt"]=6]="Alt",e[e["PauseBreak"]=7]="PauseBreak",e[e["CapsLock"]=8]="CapsLock",e[e["Escape"]=9]="Escape",e[e["Space"]=10]="Space",e[e["PageUp"]=11]="PageUp",e[e["PageDown"]=12]="PageDown",e[e["End"]=13]="End",e[e["Home"]=14]="Home",e[e["LeftArrow"]=15]="LeftArrow",e[e["UpArrow"]=16]="UpArrow",e[e["RightArrow"]=17]="RightArrow",e[e["DownArrow"]=18]="DownArrow",e[e["Insert"]=19]="Insert",e[e["Delete"]=20]="Delete",e[e["Digit0"]=21]="Digit0",e[e["Digit1"]=22]="Digit1",e[e["Digit2"]=23]="Digit2",e[e["Digit3"]=24]="Digit3",e[e["Digit4"]=25]="Digit4",e[e["Digit5"]=26]="Digit5",e[e["Digit6"]=27]="Digit6",e[e["Digit7"]=28]="Digit7",e[e["Digit8"]=29]="Digit8",e[e["Digit9"]=30]="Digit9",e[e["KeyA"]=31]="KeyA",e[e["KeyB"]=32]="KeyB",e[e["KeyC"]=33]="KeyC",e[e["KeyD"]=34]="KeyD",e[e["KeyE"]=35]="KeyE",e[e["KeyF"]=36]="KeyF",e[e["KeyG"]=37]="KeyG",e[e["KeyH"]=38]="KeyH",e[e["KeyI"]=39]="KeyI",e[e["KeyJ"]=40]="KeyJ",e[e["KeyK"]=41]="KeyK",e[e["KeyL"]=42]="KeyL",e[e["KeyM"]=43]="KeyM",e[e["KeyN"]=44]="KeyN",e[e["KeyO"]=45]="KeyO",e[e["KeyP"]=46]="KeyP",e[e["KeyQ"]=47]="KeyQ",e[e["KeyR"]=48]="KeyR",e[e["KeyS"]=49]="KeyS",e[e["KeyT"]=50]="KeyT",e[e["KeyU"]=51]="KeyU",e[e["KeyV"]=52]="KeyV",e[e["KeyW"]=53]="KeyW",e[e["KeyX"]=54]="KeyX",e[e["KeyY"]=55]="KeyY",e[e["KeyZ"]=56]="KeyZ",e[e["Meta"]=57]="Meta",e[e["ContextMenu"]=58]="ContextMenu",e[e["F1"]=59]="F1",e[e["F2"]=60]="F2",e[e["F3"]=61]="F3",e[e["F4"]=62]="F4",e[e["F5"]=63]="F5",e[e["F6"]=64]="F6",e[e["F7"]=65]="F7",e[e["F8"]=66]="F8",e[e["F9"]=67]="F9",e[e["F10"]=68]="F10",e[e["F11"]=69]="F11",e[e["F12"]=70]="F12",e[e["F13"]=71]="F13",e[e["F14"]=72]="F14",e[e["F15"]=73]="F15",e[e["F16"]=74]="F16",e[e["F17"]=75]="F17",e[e["F18"]=76]="F18",e[e["F19"]=77]="F19",e[e["NumLock"]=78]="NumLock",e[e["ScrollLock"]=79]="ScrollLock",e[e["Semicolon"]=80]="Semicolon",e[e["Equal"]=81]="Equal",e[e["Comma"]=82]="Comma",e[e["Minus"]=83]="Minus",e[e["Period"]=84]="Period",e[e["Slash"]=85]="Slash",e[e["Backquote"]=86]="Backquote",e[e["BracketLeft"]=87]="BracketLeft",e[e["Backslash"]=88]="Backslash",e[e["BracketRight"]=89]="BracketRight",e[e["Quote"]=90]="Quote",e[e["OEM_8"]=91]="OEM_8",e[e["IntlBackslash"]=92]="IntlBackslash",e[e["Numpad0"]=93]="Numpad0",e[e["Numpad1"]=94]="Numpad1",e[e["Numpad2"]=95]="Numpad2",e[e["Numpad3"]=96]="Numpad3",e[e["Numpad4"]=97]="Numpad4",e[e["Numpad5"]=98]="Numpad5",e[e["Numpad6"]=99]="Numpad6",e[e["Numpad7"]=100]="Numpad7",e[e["Numpad8"]=101]="Numpad8",e[e["Numpad9"]=102]="Numpad9",e[e["NumpadMultiply"]=103]="NumpadMultiply",e[e["NumpadAdd"]=104]="NumpadAdd",e[e["NUMPAD_SEPARATOR"]=105]="NUMPAD_SEPARATOR",e[e["NumpadSubtract"]=106]="NumpadSubtract",e[e["NumpadDecimal"]=107]="NumpadDecimal",e[e["NumpadDivide"]=108]="NumpadDivide",e[e["KEY_IN_COMPOSITION"]=109]="KEY_IN_COMPOSITION",e[e["ABNT_C1"]=110]="ABNT_C1",e[e["ABNT_C2"]=111]="ABNT_C2",e[e["AudioVolumeMute"]=112]="AudioVolumeMute",e[e["AudioVolumeUp"]=113]="AudioVolumeUp",e[e["AudioVolumeDown"]=114]="AudioVolumeDown",e[e["BrowserSearch"]=115]="BrowserSearch",e[e["BrowserHome"]=116]="BrowserHome",e[e["BrowserBack"]=117]="BrowserBack",e[e["BrowserForward"]=118]="BrowserForward",e[e["MediaTrackNext"]=119]="MediaTrackNext",e[e["MediaTrackPrevious"]=120]="MediaTrackPrevious",e[e["MediaStop"]=121]="MediaStop",e[e["MediaPlayPause"]=122]="MediaPlayPause",e[e["LaunchMediaPlayer"]=123]="LaunchMediaPlayer",e[e["LaunchMail"]=124]="LaunchMail",e[e["LaunchApp2"]=125]="LaunchApp2",e[e["Clear"]=126]="Clear",e[e["MAX_VALUE"]=127]="MAX_VALUE"}(tr||(tr={})),function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"}(nr||(nr={})),function(e){e[e["Unnecessary"]=1]="Unnecessary",e[e["Deprecated"]=2]="Deprecated"}(rr||(rr={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(ir||(ir={})),function(e){e[e["UNKNOWN"]=0]="UNKNOWN",e[e["TEXTAREA"]=1]="TEXTAREA",e[e["GUTTER_GLYPH_MARGIN"]=2]="GUTTER_GLYPH_MARGIN",e[e["GUTTER_LINE_NUMBERS"]=3]="GUTTER_LINE_NUMBERS",e[e["GUTTER_LINE_DECORATIONS"]=4]="GUTTER_LINE_DECORATIONS",e[e["GUTTER_VIEW_ZONE"]=5]="GUTTER_VIEW_ZONE",e[e["CONTENT_TEXT"]=6]="CONTENT_TEXT",e[e["CONTENT_EMPTY"]=7]="CONTENT_EMPTY",e[e["CONTENT_VIEW_ZONE"]=8]="CONTENT_VIEW_ZONE",e[e["CONTENT_WIDGET"]=9]="CONTENT_WIDGET",e[e["OVERVIEW_RULER"]=10]="OVERVIEW_RULER",e[e["SCROLLBAR"]=11]="SCROLLBAR",e[e["OVERLAY_WIDGET"]=12]="OVERLAY_WIDGET",e[e["OUTSIDE_EDITOR"]=13]="OUTSIDE_EDITOR"}(or||(or={})),function(e){e[e["TOP_RIGHT_CORNER"]=0]="TOP_RIGHT_CORNER",e[e["BOTTOM_RIGHT_CORNER"]=1]="BOTTOM_RIGHT_CORNER",e[e["TOP_CENTER"]=2]="TOP_CENTER"}(ar||(ar={})),function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"}(sr||(sr={})),function(e){e[e["Left"]=0]="Left",e[e["Right"]=1]="Right",e[e["None"]=2]="None",e[e["LeftOfInjectedText"]=3]="LeftOfInjectedText",e[e["RightOfInjectedText"]=4]="RightOfInjectedText"}(lr||(lr={})),function(e){e[e["Off"]=0]="Off",e[e["On"]=1]="On",e[e["Relative"]=2]="Relative",e[e["Interval"]=3]="Interval",e[e["Custom"]=4]="Custom"}(cr||(cr={})),function(e){e[e["None"]=0]="None",e[e["Text"]=1]="Text",e[e["Blocks"]=2]="Blocks"}(ur||(ur={})),function(e){e[e["Smooth"]=0]="Smooth",e[e["Immediate"]=1]="Immediate"}(hr||(hr={})),function(e){e[e["Auto"]=1]="Auto",e[e["Hidden"]=2]="Hidden",e[e["Visible"]=3]="Visible"}(dr||(dr={})),function(e){e[e["LTR"]=0]="LTR",e[e["RTL"]=1]="RTL"}(fr||(fr={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"}(mr||(mr={})),function(e){e[e["File"]=0]="File",e[e["Module"]=1]="Module",e[e["Namespace"]=2]="Namespace",e[e["Package"]=3]="Package",e[e["Class"]=4]="Class",e[e["Method"]=5]="Method",e[e["Property"]=6]="Property",e[e["Field"]=7]="Field",e[e["Constructor"]=8]="Constructor",e[e["Enum"]=9]="Enum",e[e["Interface"]=10]="Interface",e[e["Function"]=11]="Function",e[e["Variable"]=12]="Variable",e[e["Constant"]=13]="Constant",e[e["String"]=14]="String",e[e["Number"]=15]="Number",e[e["Boolean"]=16]="Boolean",e[e["Array"]=17]="Array",e[e["Object"]=18]="Object",e[e["Key"]=19]="Key",e[e["Null"]=20]="Null",e[e["EnumMember"]=21]="EnumMember",e[e["Struct"]=22]="Struct",e[e["Event"]=23]="Event",e[e["Operator"]=24]="Operator",e[e["TypeParameter"]=25]="TypeParameter"}(gr||(gr={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(br||(br={})),function(e){e[e["Hidden"]=0]="Hidden",e[e["Blink"]=1]="Blink",e[e["Smooth"]=2]="Smooth",e[e["Phase"]=3]="Phase",e[e["Expand"]=4]="Expand",e[e["Solid"]=5]="Solid"}(pr||(pr={})),function(e){e[e["Line"]=1]="Line",e[e["Block"]=2]="Block",e[e["Underline"]=3]="Underline",e[e["LineThin"]=4]="LineThin",e[e["BlockOutline"]=5]="BlockOutline",e[e["UnderlineThin"]=6]="UnderlineThin"}(Cr||(Cr={})),function(e){e[e["AlwaysGrowsWhenTypingAtEdges"]=0]="AlwaysGrowsWhenTypingAtEdges",e[e["NeverGrowsWhenTypingAtEdges"]=1]="NeverGrowsWhenTypingAtEdges",e[e["GrowsOnlyWhenTypingBefore"]=2]="GrowsOnlyWhenTypingBefore",e[e["GrowsOnlyWhenTypingAfter"]=3]="GrowsOnlyWhenTypingAfter"}(wr||(wr={})),function(e){e[e["None"]=0]="None",e[e["Same"]=1]="Same",e[e["Indent"]=2]="Indent",e[e["DeepIndent"]=3]="DeepIndent"}(_r||(_r={}));class yr{static chord(e,t){return Sn(e,t)}}function Sr(){return{editor:void 0,languages:void 0,CancellationTokenSource:ln,Emitter:B,KeyCode:tr,KeyMod:yr,Position:St,Range:vt,Selection:vn,SelectionDirection:fr,MarkerSeverity:nr,MarkerTag:rr,Uri:ht,Token:In}}yr.CtrlCmd=2048,yr.Shift=1024,yr.Alt=512,yr.WinCtrl=256;class vr extends Gt{constructor(e){super(0);for(let t=0,n=e.length;t(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}Lr(e=>new vr(e));Object.prototype.hasOwnProperty;var Nr,Er,Ar;(function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"})(Nr||(Nr={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(Er||(Er={})),function(e){e[e["Both"]=0]="Both",e[e["Right"]=1]="Right",e[e["Left"]=2]="Left",e[e["None"]=3]="None"}(Ar||(Ar={}));function kr(e,t,n,r,i){if(0===r)return!0;const o=t.charCodeAt(r-1);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){const n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}function Mr(e,t,n,r,i){if(r+i===n)return!0;const o=t.charCodeAt(r+i);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){const n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}function Or(e,t,n,r,i){return kr(e,t,n,r,i)&&Mr(e,t,n,r,i)}class Rr{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const r=n.index,i=n[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(0===i){oe(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||Or(this._wordSeparators,e,t,r,i))return n}while(n);return null}}class xr{static computeUnicodeHighlights(e,t,n){const r=n?n.startLineNumber:1,i=n?n.endLineNumber:e.getLineCount(),o=new Tr(t),a=o.getCandidateCodePoints();let s;s="allNonBasicAscii"===a?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp(""+Pr(Array.from(a)),"g");const l=new Rr(null,s),c=[];let u,h=!1,d=0,f=0,m=0;e:for(let g=r,b=i;g<=b;g++){const t=e.getLineContent(g),n=t.length;l.reset(0);do{if(u=l.next(t),u){let e=u.index,r=u.index+u[0].length;if(e>0){const n=t.charCodeAt(e-1);ne(n)&&e--}if(r+1=t){h=!0;break e}c.push(new vt(g,e+1,g,r+1))}}}while(u)}return{ranges:c,hasMore:h,ambiguousCharacterCount:d,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,t){const n=new Tr(t),r=n.shouldHighlightNonBasicASCII(e,null);switch(r){case 0:return null;case 2:return{kind:1};case 3:{const r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),o=ue.getLocales().filter(e=>!ue.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function Pr(e,t){const n=`[${J(e.map(e=>String.fromCodePoint(e)).join(""))}]`;return n}class Tr{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=ue.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of he.codePoints)Ir(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(const o of t){const e=o.codePointAt(0),t=se(o);r=r||t,t||this.ambiguousCharacters.isAmbiguous(e)||he.isInvisibleCharacter(e)||(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!Ir(e)&&he.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function Ir(e){return" "===e||"\n"===e||"\t"===e}var Dr=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};class Kr extends Bt{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){const n=zt(e.column,Wt(t),this._lines[e.lineNumber-1],0);return n?new vt(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,a=[];return{*[Symbol.iterator](){while(1)if(othis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class Vr{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new Kr(ht.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;const n=this._models[e];n.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return Dr(this,void 0,void 0,(function*(){const r=this._getModel(e);return r?xr.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,t,n,r){return Dr(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);return i&&o?Vr.computeDiff(i,o,n,r):null}))}static computeDiff(e,t,n,r){const i=e.getLinesContent(),o=t.getLinesContent(),a=new Rt(i,o,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}),s=a.computeDiff(),l=!(s.changes.length>0)&&this._modelsAreIdentical(e,t);return{quitEarly:s.quitEarly,identical:l,changes:s.changes}}static _modelsAreIdentical(e,t){const n=e.getLineCount(),r=t.getLineCount();if(n!==r)return!1;for(let i=1;i<=n;i++){const n=e.getLineContent(i),r=t.getLineContent(i);if(n!==r)return!1}return!0}computeMoreMinimalEdits(e,t){return Dr(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const r=[];let i=void 0;t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return vt.compareRangesUsingStarts(e.range,t.range);const n=e.range?0:1,r=t.range?0:1;return n-r});for(let{range:e,text:o,eol:a}of t){if("number"===typeof a&&(i=a),vt.isEmpty(e)&&!o)continue;const t=n.getValueInRange(e);if(o=o.replace(/\r\n|\n|\r/g,n.eol),t===o)continue;if(Math.max(o.length,t.length)>Vr._diffLimit){r.push({range:e,text:o});continue}const s=xe(t,o,!1),l=n.offsetAt(vt.lift(e).getStartPosition());for(const e of s){const t=n.positionAt(l+e.originalStart),i=n.positionAt(l+e.originalStart+e.originalLength),a={text:o.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};n.getValueInRange(a.range)!==a.text&&r.push(a)}}return"number"===typeof i&&r.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r}))}computeLinks(e){return Dr(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?nn(t):null}))}textualSuggest(e,t,n,r){return Dr(this,void 0,void 0,(function*(){const i=new R(!0),o=new RegExp(n,r),a=new Set;e:for(const n of e){const e=this._getModel(n);if(e)for(const n of e.words(o))if(n!==t&&isNaN(Number(n))&&(a.add(n),a.size>Vr._suggestionsLimit))break e}return{words:Array.from(a),duration:i.elapsed()}}))}computeWordRanges(e,t,n,r){return Dr(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),a=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t),i=z(n,r),o={host:i,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,t),Promise.resolve(j(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!==typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(n){return Promise.reject(n)}}}Vr._diffLimit=1e5,Vr._suggestionsLimit=1e4,"function"===typeof importScripts&&(M["a"].monaco=Sr());let Fr=!1;function Br(e){if(Fr)return;Fr=!0;const t=new Se(e=>{self.postMessage(e)},t=>new Vr(t,e));self.onmessage=e=>{t.onmessage(e.data)}}self.onmessage=e=>{Fr||Br(null)}}}); \ No newline at end of file diff --git a/index.html b/index.html index 8c5bd56..b685360 100644 --- a/index.html +++ b/index.html @@ -20,4 +20,4 @@ height: 100vh; width: 100vw; text-align: center; - }
Loading Tempo...

Loading in progress...

\ No newline at end of file + }
Loading Tempo...

Loading in progress...

\ No newline at end of file diff --git a/js/app~748942c6.04522030.js b/js/app~748942c6.1f766ef7.js similarity index 53% rename from js/app~748942c6.04522030.js rename to js/app~748942c6.1f766ef7.js index d0f0258..3f6f3c9 100644 --- a/js/app~748942c6.04522030.js +++ b/js/app~748942c6.1f766ef7.js @@ -1 +1 @@ -(function(e){function t(t){for(var r,a,o=t[0],s=t[1],u=t[2],l=0,d=[];l1&&void 0!==arguments[1]?arguments[1]:{},n={text:e,tags:m(e),mood:0,type:"entry",data:null,favorite:!1,thread:t.thread||null,replies:t.replies||[],form:null},r=[];return n.tags.forEach((function(e){null!=e.mood&&void 0!=e.mood&&(n.mood+=e.mood),"annotation"===e.type&&e.value&&r.push([e.id,e.value])})),r.length>0&&(n.data={},r.forEach((function(e){n.data[e[0]]=e[1]}))),n}function y(e){return e?e.split(",").map((function(e){return e.trim()})).filter((function(e){return e.length>0})).map((function(e){return w(e)})):[]}function w(e){var t=[];if(!e)return[];var n=e.split(" ");return n.forEach((function(e){var n=e.trim();if(n)if(h[n[0]])if(1===n.length)t.push({sign:n[0]});else{var r=m(n)[0];t.push({tagName:r.id,sign:"#"===r.sign?null:r.sign})}else if(n.startsWith("d:")||n.startsWith("date:"))t.push({date:n.split(":")[1]});else if(n.startsWith("is:fav"))t.push({favorite:!0});else if(n.startsWith("is:thread"))t.push({thread:!0});else if(n.startsWith("is:reply"))t.push({reply:!0});else if(n.startsWith("is:form"))t.push({form:!0});else if(n.startsWith("form:")){var a=n.split(":").slice(1).join(":");t.push({formId:a})}else if(n.startsWith("t:")||n.startsWith("tag:"))t.push({tagName:n.split(/:(.+)/)[1]});else if(n.startsWith("c:")||n.startsWith("category:"))t.push({categoryName:n.split(/:(.+)/)[1]});else if(n.startsWith("$"))t.push({alias:n.slice(1)});else if(n.startsWith("not:")){var i=w(n.slice(4));t.push(Object(o["a"])(Object(o["a"])({},i[0]),{},{not:!0}))}else t.push({text:n})})),t}function k(e,t){if(!e)return!1;var n=new RegExp(e,"i");return t.match(n)||!1}function O(e){if(!e)return[];var t=[];for(var n in e)Object.hasOwnProperty.call(e,n)&&(t.push(n),t.push(e[n]));return t}function D(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=0;r0&&(i.positiveMood+=e.mood),e.mood<0&&(i.negativeMood+=e.mood)})),i.data&&Object.keys(i.data).forEach((function(t){if(i.data[t])try{i.data[t]=JSON.parse(i.data[t])}catch(e){}})),i}function S(e,t,n){return t=new Date(t).getTime(),n=new Date(n).getTime()+864e5,e.filter((function(e){var r=new Date(e.date).getTime();return r>=t&&r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(console.debug("[telemetry] tracking",t),e.getters["settings"].telemetry)try{s["a"].$plausible.trackEvent(t,{props:n,callback:function(){console.debug("[telemetry] sent")}},Object(o["a"])({url:X(window.location,window.location.href.split("#")[1]),referrer:null},r))}catch(a){console.warn("Could not track event",a)}else console.debug("[telemetry] skipping, disabled by user")}function ee(e,t){return t=t?new Date(t):new Date,e=e?new Date(e):Object(u["a"])(t,{months:2}),{start:e.toISOString().slice(0,10),end:t.toISOString().slice(0,10)}}function te(e){return l.load(e)}function ne(e){return l.dump(e)}},1:function(e,t){},4420:function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("a026"),a=n("7496"),i=n("40dc"),c=n("b81c"),o=n("8336"),s=n("a523"),u=n("132d"),l=n("f6c4"),d=n("2fa4"),f=n("2a7f"),p=(n("14d9"),n("b0c0"),function(){var e=this,t=e._self._c;return t(a["a"],{attrs:{id:"tempo",dark:""}},[t(i["a"],{attrs:{app:"",dense:"",color:e.$theme.appBar.color}},[t(d["a"]),t(f["a"],{staticClass:"mr-4",staticStyle:{cursor:"pointer"},on:{click:function(t){e.$store.commit("searchQuery",""),e.$router.push("/")}}},[e._v(" Tempo ")]),t(d["a"]),t(d["a"]),t(d["a"]),t(d["a"]),e.$store.state.couchDbUrl?t(o["a"],{attrs:{loading:e.$store.state.sync.loading,small:"",icon:"",title:"Sync"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.$store.dispatch("forceSync",{updateLastSync:!0})}},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Syncing…")])]},proxy:!0}],null,!1,64789910)},[!e.$store.state.sync.loading&&e.$store.state.sync.error?t("span",[e._v(" Sync error: "),e.$store.state.sync.error.name?t("span",[e._v(e._s(e.$store.state.sync.error.name))]):t("span",[e._v("Unknown")])]):e._e(),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiSync)}})],1):e._e(),e.$store.getters.pages.length>0?t(o["a"],{staticClass:"ml-3",attrs:{small:"",icon:"",to:"/pages",title:"Custom pages"}},[t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiBookOpenPageVariantOutline)}})],1):e._e(),t(o["a"],{staticClass:"ml-3",attrs:{small:"",icon:"",to:"/about",title:"About"}},[t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiHelpCircleOutline)}})],1),t(o["a"],{staticClass:"ml-3",attrs:{small:"",icon:"",to:"/settings",title:"Settings"}},[t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiCog)}})],1),t(d["a"])],1),t(l["a"],[t(s["a"],{staticStyle:{"padding-bottom":"64px"},attrs:{fluid:"",tag:"main"}},[t("router-view",{ref:"view"})],1)],1),t(c["a"],{attrs:{fixed:""}},[t(d["a"]),t(o["a"],{style:e.bottomNavBarButtonStyle,attrs:{exact:"",to:{path:"/diary",query:{q:e.$store.state.searchQuery}}}},[t("span",[e._v("Diary")]),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiBook)}})],1),t(o["a"],{style:e.bottomNavBarButtonStyle,attrs:{exact:"",to:{path:"/diary/calendar",query:{q:e.$store.state.searchQuery}}}},[t("span",[e._v("Calendar")]),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiCalendar)}})],1),t(o["a"],{style:e.bottomNavBarButtonStyle,attrs:{exact:"",to:{path:"/diary/visualization",query:{q:e.$store.state.searchQuery}}}},[t("span",[e._v("Data")]),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiChartTimelineVariant)}})],1),t(o["a"],{style:e.bottomNavBarButtonStyle,attrs:{exact:"",to:"/tasks"}},[t("span",[e._v("Tasks")]),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiCheck)}})],1),t(d["a"])],1)],1)}),h=[],b=n("5530"),m=n("c7eb"),g=n("1da1"),v={data:function(){return{drawer:null,exportDialog:!1}},created:function(){var e=this;return Object(g["a"])(Object(m["a"])().mark((function t(){return Object(m["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$store.dispatch("loadSettings"),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("controllerchange",(function(){e.$store.state.serviceWorker.refreshing||(e.$store.commit("serviceWorker",{refreshing:!0}),window.location.reload())}));case 2:case"end":return t.stop()}}),t)})))()},mounted:function(){var e=this;window.onclick=function(t){var n="internal-link";"a"==t.target.localName&&t.target.classList.contains(n)&&(t.preventDefault(),e.$store.commit("searchQuery",t.target.getAttribute("data-query")))}},computed:{bottomNavBarButtonStyle:function(){return"height: 56px; background: transparent;"}},methods:{updateApp:function(){this.$store.commit("serviceWorker",{updateAvailable:!1}),this.$store.state.serviceWorker.registration&&this.$store.state.serviceWorker.registration.waiting&&this.$store.state.serviceWorker.registration.waiting.postMessage({command:"skipWaiting"})},scrollToTop:function(){window.scrollTo(0,0)}},watch:{"$store.state.searchQuery":{handler:function(e){this.searchQuery=e,this.$router.push({path:this.$route.path,query:Object(b["a"])(Object(b["a"])({},this.$route.query),{},{q:e})})}}}},y=v,w=(n("90f9"),n("2877")),k=Object(w["a"])(y,p,h,!1,null,null,null),O=k.exports,D=n("9483"),x=n("b85c"),j=n("2909"),C=(n("d3b7"),n("159b"),n("99af"),n("d81d"),n("4de4"),n("ddb0"),n("7db0"),n("4e82"),n("e9c4"),n("b64b"),n("3ca3"),n("2f62")),S=n("16b2"),_=n("5d16"),T=n("fcd3"),P=n("c707"),B=n.n(P),E=n("025e");function A(){return U.apply(this,arguments)}function U(){return U=Object(g["a"])(Object(m["a"])().mark((function e(){return Object(m["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=E["x"],e.next=3,n.e("chunk-2d0da764").then(n.bind(null,"6c67"));case 3:return e.t1=e.sent.default,e.t2=(0,e.t0)(e.t1),e.t3=E["x"],e.next=8,n.e("chunk-2d237573").then(n.bind(null,"fb67"));case 8:return e.t4=e.sent.default,e.t5=(0,e.t3)(e.t4),e.t6=E["x"],e.next=13,n.e("chunk-2d22d409").then(n.bind(null,"f768"));case 13:return e.t7=e.sent.default,e.t8=(0,e.t6)(e.t7),e.abrupt("return",{"builtin:mood":e.t2,"builtin:tags":e.t5,"builtin:diary":e.t8});case 16:case"end":return e.stop()}}),e)}))),U.apply(this,arguments)}S["a"].plugin(_["a"]),S["a"].plugin(T["a"]),r["a"].use(C["a"]);var $=1,I=new C["a"].Store({state:{buildId:Object({VUE_APP_DOMAIN:"tempo.agate.blue",VUE_APP_VUE_APP_BUILD_ID:"${$GITHUB_SHA}",VUE_APP_PLAUSIBLE_HOST:"https://stats.agate.blue",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BUILD_ID||"dev",db:null,remoteDb:null,pageSize:30,syncHandler:null,couchDbUrl:null,couchDbUsername:null,couchDbPassword:null,lastSync:new Date,version:$,dark:!0,sync:{loading:!1,error:null},charts:[],aliases:[],serviceWorker:{refreshing:!1,registration:null,updateAvailable:!1},settings:{},loadedBlueprints:[],searchQuery:"",uiCache:{visualization:{blueprint:null}}},mutations:{handleSync:function(e,t){var n=t.updateLastSync;console.log("Received sync event"),n&&(e.lastSync=new Date)},syncHandler:function(e,t){e.syncHandler&&(console.log("Killing existing replication…"),e.syncHandler.cancel()),e.syncHandler=t},couchDbConfig:function(e,t){var n=t.url,r=t.username,a=t.password;e.couchDbUrl=n,e.couchDbUsername=r,e.couchDbPassword=a},loadCachedState:function(e){if(localStorage.getItem("state")){var t=JSON.parse(localStorage.getItem("state"));t.version==$?(console.log("Loading cached state…"),this.replaceState(Object.assign(e,t))):(console.log("Ignoring stale cache"),e.version=$)}},initDb:function(e){e.syncHandler&&(console.log("Killing existing replication…"),e.syncHandler.cancel()),e.db=new S["a"]("db"),e.db.createIndex({index:{fields:["date","type","thread"]}}),e.db.createIndex({index:{fields:["form","date"]}})},remoteDb:function(e,t){e.remoteDb=t},serviceWorker:function(e,t){e.serviceWorker=Object(b["a"])(Object(b["a"])({},e.serviceWorker),t)},setting:function(e,t){var n=t.name,r=t.value;e.settings[n]=r},settings:function(e,t){e.settings=t},sync:function(e,t){e.sync=t},loadedBlueprints:function(e,t){e.loadedBlueprints=t},searchQuery:function(e,t){e.searchQuery=t},uiCache:function(e,t){var n=t.key,r=t.value;e.uiCache[n]=r}},getters:{settings:function(e){var t={};return E["b"].forEach((function(n){var r=e.settings[n.name];void 0===r&&(r=n.default()),t[n.name]=r})),t},boardLists:function(e,t){return[].concat(Object(j["a"])(t.settings.boardConfig.lists),[{label:"Done"}])},taskCategoryChoices:function(e){return e.settings.boardConfig.categories.map((function(e){return{value:e.label,text:e.label}}))},taskListChoices:function(e){var t=0,n=[];return e.settings.boardConfig.lists.forEach((function(e){n.push({value:t,text:e.label}),t+=1})),n.push({value:t,text:"Done"}),n},enabledBlueprints:function(e){return e.loadedBlueprints.filter((function(t){if(t)return e.settings.blueprints.indexOf(t.id)>-1}))},forms:function(e,t){var n=[];return t.enabledBlueprints.forEach((function(e){n=[].concat(Object(j["a"])(n),Object(j["a"])(e.forms||[]))})),B()(n,["label"])},formsById:function(e,t){var n={};return t.forms.forEach((function(e){n[e.id]=e})),n},pages:function(e,t){var n=[];return t.enabledBlueprints.forEach((function(e){n=[].concat(Object(j["a"])(n),Object(j["a"])(e.pages||[]))})),B()(n,["title"])},pagesById:function(e,t){var n={};return t.pages.forEach((function(e){n[e.id]=e})),n},fields:function(e,t){var n=[];return t.enabledBlueprints.forEach((function(e){n=[].concat(Object(j["a"])(n),Object(j["a"])(e.fields||[]))})),n},fieldsById:function(e,t){var n={};return t.fields.forEach((function(e){n[e.id]=e})),n}},actions:{addEntry:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,n.next=3,r.db.put(t);case 3:return n.next=5,r.db.get(t._id);case 5:return i=n.sent,n.next=8,a("rebuildThread",t.thread);case 8:return a("forceSync",{updateLastSync:!1}),n.abrupt("return",i);case 10:case"end":return n.stop()}}),n)})))()},partialUpdateEntry:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c,o;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.dispatch,a=t.entry,i=t.values,c=Object(b["a"])(Object(b["a"])(Object(b["a"])({},Object(E["j"])(a.text,{thread:a.thread,replies:a.replies})),i),{},{_rev:a._rev,_id:a._id,date:new Date(a.date).toISOString()}),n.next=5,r("updateEntry",c);case 5:return o=n.sent,r("forceSync",{updateLastSync:!1}),n.abrupt("return",o);case 8:case"end":return n.stop()}}),n)})))()},updateEntry:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,n.next=3,r.db.put(t);case 3:return n.next=5,a("rebuildThread",t.thread);case 5:return n.next=7,r.db.get(t._id);case 7:return n.abrupt("return",n.sent);case 8:case"end":return n.stop()}}),n)})))()},rebuildThread:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,a=e.dispatch,t){n.next=3;break}return n.abrupt("return");case 3:return n.prev=3,n.next=6,r.db.get(t);case 6:i=n.sent,n.next=13;break;case 9:return n.prev=9,n.t0=n["catch"](3),console.error("Thread ".concat(t," does not exist and cannot be rebuilt"),n.t0),n.abrupt("return");case 13:return n.next=15,r.db.find({selector:{thread:i._id},fields:["_id"],limit:9999999});case 15:return c=n.sent,c=c.docs.map((function(e){return e._id})),c.sort(),i.replies=c,n.next=21,a("updateEntry",i);case 21:return n.abrupt("return",n.sent);case 22:case"end":return n.stop()}}),n,null,[[3,9]])})))()},deleteThread:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,t){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,r.db.find({selector:{thread:t},fields:["_id","_rev"],limit:9999999});case 5:return a=n.sent,a=a.docs.map((function(e){return Object(b["a"])(Object(b["a"])({},e),{},{_deleted:!0})})),console.log("Deleting ".concat(a.length," from thread ").concat(t,"...")),n.next=10,r.db.bulkDocs(a);case 10:return n.abrupt("return",a);case 11:case"end":return n.stop()}}),n)})))()},reset:function(e){return Object(g["a"])(Object(m["a"])().mark((function t(){var n,r,a;return Object(m["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,r=e.state,a=e.dispatch,t.next=3,r.db.destroy();case 3:return localStorage.removeItem("state"),n("settings",{}),n("initDb"),t.next=8,a("setupSync",{url:r.couchDbUrl,username:r.couchDbUsername,password:r.couchDbPassword});case 8:return t.next=10,a("loadSettings");case 10:case"end":return t.stop()}}),t)})))()},setupSync:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c,o,s,u;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,a=e.commit,i=t.url,c=t.username,o=t.password,a("syncHandler",null),a("couchDbConfig",{url:i,username:c,password:o}),!r.couchDbUrl){n.next=13;break}return console.log("Setting up live replication…"),s=new S["a"](r.couchDbUrl),console.log("Logging in…"),n.next=10,s.logIn(c,o);case 10:a("remoteDb",s),u=r.db.sync(s,{live:!0,retry:!0}).on("change",(function(){console.log("Sync change…")})).on("active",(function(){console.log("Sync active…")})).on("complete",(function(){console.log("Sync complete…")})),a("syncHandler",u);case 13:case"end":return n.stop()}}),n)})))()},forceSync:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,a=e.commit,i=t.updateLastSync,r.couchDbUrl&&!r.sync.loading){n.next=4;break}return n.abrupt("return");case 4:return a("sync",{loading:!0,error:null}),console.log("Forcing sync…"),c=new S["a"](r.couchDbUrl),n.prev=7,n.next=10,c.logIn(r.couchDbUsername,r.couchDbPassword);case 10:return n.next=12,r.db.sync(c);case 12:n.next=19;break;case 14:return n.prev=14,n.t0=n["catch"](7),console.log("Error while syncing",n.t0),setTimeout((function(){a("sync",{loading:!1,error:null})}),3e3),n.abrupt("return",a("sync",{loading:!1,error:n.t0}));case 19:a("sync",{loading:!1,error:null}),a("handleSync",{updateLastSync:i});case 21:case"end":return n.stop()}}),n,null,[[7,14]])})))()},setWebhook:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.dispatch,a=t.url,n.next=4,r("setSetting",{name:"webhook",value:{url:a}});case 4:case"end":return n.stop()}}),n)})))()},triggerWebhook:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,a=t.url,i=t.payload,a=a||r.settings.webhook.url,a){n.next=6;break}return console.log("No webhook configured, skipping",r.settings.webhook.url),n.abrupt("return");case 6:return console.log("Sending webhook to",a),n.next=9,fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i||{})});case 9:return n.abrupt("return",n.sent);case 10:case"end":return n.stop()}}),n)})))()},addChart:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=(new Date).toISOString(),t._id=i,c=[].concat(Object(j["a"])(r.settings.charts),[t]),n.next=6,a("setSetting",{name:"charts",value:c});case 6:case"end":return n.stop()}}),n)})))()},removeChart:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=r.settings.charts.filter((function(e){return e._id!=t})),n.next=4,a("setSetting",{name:"charts",value:i});case 4:case"end":return n.stop()}}),n)})))()},updateChart:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=[],r.settings.charts.forEach((function(e){e._id===t._id?i.push(t):i.push(e)})),n.next=5,a("setSetting",{name:"charts",value:i});case 5:case"end":return n.stop()}}),n)})))()},boardConfig:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.dispatch,n.next=3,r("setSetting",{name:"boardConfig",value:t});case 3:case"end":return n.stop()}}),n)})))()},addAlias:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=(new Date).toISOString(),t._id=i,c=[].concat(Object(j["a"])(r.settings.aliases),[t]),n.next=6,a("setSetting",{name:"aliases",value:c});case 6:case"end":return n.stop()}}),n)})))()},removeAlias:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=r.settings.aliases.filter((function(e){return e._id!=t})),n.next=4,a("setSetting",{name:"aliases",value:i});case 4:case"end":return n.stop()}}),n)})))()},updateAlias:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=[],r.settings.aliases.forEach((function(e){e._id===t._id?i.push(t):i.push(e)})),n.next=5,a("setSetting",{name:"aliases",value:i});case 5:case"end":return n.stop()}}),n)})))()},setSetting:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c,o;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.commit,i=t.name,c=t.value,n.prev=2,n.next=5,r.db.get(i);case 5:o=n.sent,o={_id:i,type:"settings",_rev:o._rev,value:c},n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](2),o={_id:i,type:"settings",value:c};case 12:return o=JSON.parse(JSON.stringify(o)),n.next=15,r.db.put(o);case 15:a("setting",{name:i,value:c});case 16:case"end":return n.stop()}}),n,null,[[2,9]])})))()},loadSettings:function(e){return Object(g["a"])(Object(m["a"])().mark((function t(){var n,r,a,i,c,o,s,u,l;return Object(m["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.state,r=e.commit,a=e.dispatch,i={},c=Object(x["a"])(E["b"]),t.prev=3,c.s();case 5:if((o=c.n()).done){t.next=21;break}return s=o.value,u=void 0,t.prev=8,t.next=11,n.db.get(s.name);case 11:l=t.sent,u=Object(E["n"])(l),t.next=18;break;case 15:t.prev=15,t.t0=t["catch"](8),u=s.default();case 18:i[s.name]=u;case 19:t.next=5;break;case 21:t.next=26;break;case 23:t.prev=23,t.t1=t["catch"](3),c.e(t.t1);case 26:return t.prev=26,c.f(),t.finish(26);case 29:r("settings",i),a("loadBlueprints");case 31:case"end":return t.stop()}}),t,null,[[3,23,26,29],[8,15]])})))()},loadBlueprints:function(e){return Object(g["a"])(Object(m["a"])().mark((function t(){var n,r,a,i,c;return Object(m["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,r=e.state,t.next=3,A();case 3:return a=t.sent,t.next=6,r.db.find({selector:{type:"blueprint"},limit:99999});case 6:i=t.sent,c=Object(b["a"])({},a),i.docs.forEach((function(e){c[e._id]=e.definition})),n("loadedBlueprints",Object.keys(c).map((function(e){return c[e]})));case 10:case"end":return t.stop()}}),t)})))()}},modules:{}});I.subscribe((function(e,t){var n={couchDbUrl:t.couchDbUrl,couchDbUsername:t.couchDbUsername,couchDbPassword:t.couchDbPassword,version:t.version,settings:t.settings,uiCache:t.uiCache};console.log("Updating localstorage cache…"),localStorage.setItem("state",JSON.stringify(n))}));var q=I;Object(D["a"])("".concat("/","service-worker.js"),{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(e){console.log("Service worker has been registered.");var t=72e5;setInterval((function(){console.log("Checking for service worker update…"),e.update()}),t),e.update(),q.commit("serviceWorker",{registration:e})},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(e){console.log("New content is available; please refresh."),q.commit("serviceWorker",{updateAvailable:!0,registration:e})},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(e){console.error("Error during service worker registration:",e)}});n("2ca0");var L=n("8c4f");r["a"].use(L["a"]);var z=[{path:"/diary",alias:"/",component:function(){return n.e("Diary~31ecd969").then(n.bind(null,"5fa4"))},props:function(e){return{query:e.query.q}},children:[{path:"",name:"Timeline",component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("DiaryTimeline~31ecd969")]).then(n.bind(null,"f67a"))}},{path:"visualization",name:"Visualization",component:function(){return n.e("DiaryVisualization~221411aa").then(n.bind(null,"27ed"))},props:function(e){return{query:e.query.q,blueprint:e.query.blueprint,defaultEnd:e.query.end||null,defaultStart:e.query.start||null,defaultGroupByPeriod:e.query.period||"date"}}},{path:"calendar",name:"Calendar",component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("DiaryCalendar~31ecd969")]).then(n.bind(null,"ac0f"))}},{path:"e/:entryId",name:"Entry",component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("DiaryTimeline~31ecd969")]).then(n.bind(null,"f67a"))},props:!0}]},{path:"/about",name:"About",component:function(){return n.e("About~31ecd969").then(n.bind(null,"f820"))}},{path:"/tasks",component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Tasks~31ecd969")]).then(n.bind(null,"eb1f"))},props:function(e){return{query:e.query.q}}},{path:"/settings",name:"Settings",component:function(){return n.e("Settings~31ecd969").then(n.bind(null,"26d3"))}},{path:"/blueprint-editor/:id?",name:"BlueprintEditor",props:!0,component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("Blueprints~31ecd969")]).then(n.bind(null,"f419"))}},{path:"/pages/:id?",name:"Page",props:!0,component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("Page~31ecd969")]).then(n.bind(null,"2048"))}}],N=new L["a"]({routes:z});function W(e,t){return(!t||e.name!==t.name)&&!e.fullPath.startsWith("/diary/e/")}function H(e,t){Object(E["w"])(q,"pageview",{},{referrer:t?Object(E["f"])(window.location,t.fullPath):null,url:Object(E["f"])(window.location,e.fullPath)})}N.beforeEach((function(e,t,n){W(e,t)&&H(e,t),n()}));var V=N,M=n("f309");r["a"].use(M["a"]);var F=new M["a"]({icons:{iconfont:"mdiSvg"},theme:{options:{customProperties:!0},dark:!0,themes:{light:{primary:"#ee44aa",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FFC107"}}}}),R=n("fc76"),Q=n("94ed");r["a"].config.productionTip=!1,r["a"].prototype.$icons={mdiArrowLeft:Q["a"],mdiBook:Q["b"],mdiBookOpenPageVariantOutline:Q["c"],mdiCalendar:Q["d"],mdiChartTimelineVariant:Q["e"],mdiCheck:Q["f"],mdiChevronDown:Q["g"],mdiChevronLeft:Q["h"],mdiChevronRight:Q["i"],mdiChevronUp:Q["j"],mdiClock:Q["k"],mdiClockOutline:Q["l"],mdiClose:Q["m"],mdiCog:Q["n"],mdiContentCopy:Q["o"],mdiDelete:Q["p"],mdiDeleteOutline:Q["q"],mdiDotsHorizontal:Q["r"],mdiDownload:Q["s"],mdiEye:Q["t"],mdiEyeOff:Q["u"],mdiFormatListBulleted:Q["v"],mdiHeart:Q["w"],mdiHeartOutline:Q["x"],mdiHelpCircleOutline:Q["y"],mdiMagnify:Q["z"],mdiMenuDown:Q["A"],mdiPencil:Q["B"],mdiPlus:Q["C"],mdiReply:Q["D"],mdiReplyOutline:Q["E"],mdiSend:Q["F"],mdiSync:Q["G"],mdiTrashCan:Q["H"]},r["a"].prototype.$theme={appBar:{color:"pink darken-4"},card:{color:"grey darken-4",textSize:"body-1"},nestedCard:{color:"blue-grey darken-4",textSize:"body-2"},drawer:{color:"grey darken-4"},menu:{color:"grey darken-4"},switch:{color:"pink"},input:{color:"grey darken-4"},mainButton:{color:"pink darken-4"}};var J={apiHost:"https://stats.agate.blue",hashMode:!0,enableAutoPageviews:!1,trackLocalhost:"true"==Object({VUE_APP_DOMAIN:"tempo.agate.blue",VUE_APP_VUE_APP_BUILD_ID:"${$GITHUB_SHA}",VUE_APP_PLAUSIBLE_HOST:"https://stats.agate.blue",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_PLAUSIBLE_TRACK_LOCALHOST,domain:"tempo.agate.blue"};r["a"].use(R["a"],J),new r["a"]({router:V,store:q,render:function(e){return e(O)},vuetify:F,beforeCreate:function(){window.document.getElementById("app-shell").remove(),this.$store.commit("loadCachedState"),this.$store.commit("initDb"),this.$store.dispatch("setupSync",{url:this.$store.state.couchDbUrl,username:this.$store.state.couchDbUsername,password:this.$store.state.couchDbPassword})}}).$mount("#app")},"90f9":function(e,t,n){"use strict";n("4420")}}); \ No newline at end of file +(function(e){function t(t){for(var r,a,o=t[0],s=t[1],u=t[2],l=0,d=[];l1&&void 0!==arguments[1]?arguments[1]:{},n={text:e,tags:m(e),mood:0,type:"entry",data:null,favorite:!1,thread:t.thread||null,replies:t.replies||[],form:null},r=[];return n.tags.forEach((function(e){null!=e.mood&&void 0!=e.mood&&(n.mood+=e.mood),"annotation"===e.type&&e.value&&r.push([e.id,e.value])})),r.length>0&&(n.data={},r.forEach((function(e){n.data[e[0]]=e[1]}))),n}function y(e){return e?e.split(",").map((function(e){return e.trim()})).filter((function(e){return e.length>0})).map((function(e){return w(e)})):[]}function w(e){var t=[];if(!e)return[];var n=e.split(" ");return n.forEach((function(e){var n=e.trim();if(n)if(h[n[0]])if(1===n.length)t.push({sign:n[0]});else{var r=m(n)[0];t.push({tagName:r.id,sign:"#"===r.sign?null:r.sign})}else if(n.startsWith("d:")||n.startsWith("date:"))t.push({date:n.split(":")[1]});else if(n.startsWith("is:fav"))t.push({favorite:!0});else if(n.startsWith("is:thread"))t.push({thread:!0});else if(n.startsWith("is:reply"))t.push({reply:!0});else if(n.startsWith("is:form"))t.push({form:!0});else if(n.startsWith("form:")){var a=n.split(":").slice(1).join(":");t.push({formId:a})}else if(n.startsWith("t:")||n.startsWith("tag:"))t.push({tagName:n.split(/:(.+)/)[1]});else if(n.startsWith("c:")||n.startsWith("category:"))t.push({categoryName:n.split(/:(.+)/)[1]});else if(n.startsWith("$"))t.push({alias:n.slice(1)});else if(n.startsWith("not:")){var i=w(n.slice(4));t.push(Object(o["a"])(Object(o["a"])({},i[0]),{},{not:!0}))}else t.push({text:n})})),t}function k(e,t){if(!e)return!1;var n=new RegExp(e,"i");return t.match(n)||!1}function O(e){if(!e)return[];var t=[];for(var n in e)Object.hasOwnProperty.call(e,n)&&(t.push(n),t.push(e[n]));return t}function D(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=0;r0&&(i.positiveMood+=e.mood),e.mood<0&&(i.negativeMood+=e.mood)})),i.data&&Object.keys(i.data).forEach((function(t){if(i.data[t])try{i.data[t]=JSON.parse(i.data[t])}catch(e){}})),i}function S(e,t,n){return t=new Date(t).getTime(),n=new Date(n).getTime()+864e5,e.filter((function(e){var r=new Date(e.date).getTime();return r>=t&&r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(console.debug("[telemetry] tracking",t),e.getters["settings"].telemetry)try{s["a"].$plausible.trackEvent(t,{props:n,callback:function(){console.debug("[telemetry] sent")}},Object(o["a"])({url:X(window.location,window.location.href.split("#")[1]),referrer:null},r))}catch(a){console.warn("Could not track event",a)}else console.debug("[telemetry] skipping, disabled by user")}function ee(e,t){return t=t?new Date(t):new Date,e=e?new Date(e):Object(u["a"])(t,{months:2}),{start:e.toISOString().slice(0,10),end:t.toISOString().slice(0,10)}}function te(e){return l.load(e)}function ne(e){return l.dump(e)}},1:function(e,t){},4420:function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("a026"),a=n("7496"),i=n("40dc"),c=n("b81c"),o=n("8336"),s=n("a523"),u=n("132d"),l=n("f6c4"),d=n("2fa4"),f=n("2a7f"),p=(n("14d9"),n("b0c0"),function(){var e=this,t=e._self._c;return t(a["a"],{attrs:{id:"tempo",dark:""}},[t(i["a"],{attrs:{app:"",dense:"",color:e.$theme.appBar.color}},[t(d["a"]),t(f["a"],{staticClass:"mr-4",staticStyle:{cursor:"pointer"},on:{click:function(t){e.$store.commit("searchQuery",""),e.$router.push("/")}}},[e._v(" Tempo ")]),t(d["a"]),t(d["a"]),t(d["a"]),t(d["a"]),e.$store.state.couchDbUrl?t(o["a"],{attrs:{loading:e.$store.state.sync.loading,small:"",icon:"",title:"Sync"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.$store.dispatch("forceSync",{updateLastSync:!0})}},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Syncing…")])]},proxy:!0}],null,!1,64789910)},[!e.$store.state.sync.loading&&e.$store.state.sync.error?t("span",[e._v(" Sync error: "),e.$store.state.sync.error.name?t("span",[e._v(e._s(e.$store.state.sync.error.name))]):t("span",[e._v("Unknown")])]):e._e(),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiSync)}})],1):e._e(),e.$store.getters.pages.length>0?t(o["a"],{staticClass:"ml-3",attrs:{small:"",icon:"",to:"/pages",title:"Custom pages"}},[t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiBookOpenPageVariantOutline)}})],1):e._e(),t(o["a"],{staticClass:"ml-3",attrs:{small:"",icon:"",to:"/about",title:"About"}},[t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiHelpCircleOutline)}})],1),t(o["a"],{staticClass:"ml-3",attrs:{small:"",icon:"",to:"/settings",title:"Settings"}},[t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiCog)}})],1),t(d["a"])],1),t(l["a"],[t(s["a"],{staticStyle:{"padding-bottom":"64px"},attrs:{fluid:"",tag:"main"}},[t("router-view",{ref:"view"})],1)],1),t(c["a"],{attrs:{fixed:""}},[t(d["a"]),t(o["a"],{style:e.bottomNavBarButtonStyle,attrs:{exact:"",to:{path:"/diary",query:{q:e.$store.state.searchQuery}}}},[t("span",[e._v("Diary")]),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiBook)}})],1),t(o["a"],{style:e.bottomNavBarButtonStyle,attrs:{exact:"",to:{path:"/diary/calendar",query:{q:e.$store.state.searchQuery}}}},[t("span",[e._v("Calendar")]),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiCalendar)}})],1),t(o["a"],{style:e.bottomNavBarButtonStyle,attrs:{exact:"",to:{path:"/diary/visualization",query:{q:e.$store.state.searchQuery}}}},[t("span",[e._v("Data")]),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiChartTimelineVariant)}})],1),t(o["a"],{style:e.bottomNavBarButtonStyle,attrs:{exact:"",to:"/tasks"}},[t("span",[e._v("Tasks")]),t(u["a"],{domProps:{textContent:e._s(e.$icons.mdiCheck)}})],1),t(d["a"])],1)],1)}),h=[],b=n("5530"),m=n("c7eb"),g=n("1da1"),v={data:function(){return{drawer:null,exportDialog:!1}},created:function(){var e=this;return Object(g["a"])(Object(m["a"])().mark((function t(){return Object(m["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$store.dispatch("loadSettings"),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("controllerchange",(function(){e.$store.state.serviceWorker.refreshing||(e.$store.commit("serviceWorker",{refreshing:!0}),window.location.reload())}));case 2:case"end":return t.stop()}}),t)})))()},mounted:function(){var e=this;window.onclick=function(t){var n="internal-link";"a"==t.target.localName&&t.target.classList.contains(n)&&(t.preventDefault(),e.$store.commit("searchQuery",t.target.getAttribute("data-query")))}},computed:{bottomNavBarButtonStyle:function(){return"height: 56px; background: transparent;"}},methods:{updateApp:function(){this.$store.commit("serviceWorker",{updateAvailable:!1}),this.$store.state.serviceWorker.registration&&this.$store.state.serviceWorker.registration.waiting&&this.$store.state.serviceWorker.registration.waiting.postMessage({command:"skipWaiting"})},scrollToTop:function(){window.scrollTo(0,0)}},watch:{"$store.state.searchQuery":{handler:function(e){this.searchQuery=e,this.$router.push({path:this.$route.path,query:Object(b["a"])(Object(b["a"])({},this.$route.query),{},{q:e})})}}}},y=v,w=(n("90f9"),n("2877")),k=Object(w["a"])(y,p,h,!1,null,null,null),O=k.exports,D=n("9483"),x=n("b85c"),j=n("2909"),C=(n("d3b7"),n("159b"),n("99af"),n("d81d"),n("4de4"),n("ddb0"),n("7db0"),n("4e82"),n("e9c4"),n("b64b"),n("3ca3"),n("2f62")),S=n("16b2"),_=n("5d16"),T=n("fcd3"),P=n("c707"),B=n.n(P),E=n("025e");function A(){return U.apply(this,arguments)}function U(){return U=Object(g["a"])(Object(m["a"])().mark((function e(){return Object(m["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=E["x"],e.next=3,n.e("chunk-2d0da764").then(n.bind(null,"6c67"));case 3:return e.t1=e.sent.default,e.t2=(0,e.t0)(e.t1),e.t3=E["x"],e.next=8,n.e("chunk-2d237573").then(n.bind(null,"fb67"));case 8:return e.t4=e.sent.default,e.t5=(0,e.t3)(e.t4),e.t6=E["x"],e.next=13,n.e("chunk-2d22d409").then(n.bind(null,"f768"));case 13:return e.t7=e.sent.default,e.t8=(0,e.t6)(e.t7),e.abrupt("return",{"builtin:mood":e.t2,"builtin:tags":e.t5,"builtin:diary":e.t8});case 16:case"end":return e.stop()}}),e)}))),U.apply(this,arguments)}S["a"].plugin(_["a"]),S["a"].plugin(T["a"]),r["a"].use(C["a"]);var $=1,q=new C["a"].Store({state:{buildId:Object({VUE_APP_DOMAIN:"tempo.agate.blue",VUE_APP_VUE_APP_BUILD_ID:"a5bd82aab67c6724d53fc2a448168487fda01f94",VUE_APP_PLAUSIBLE_HOST:"https://stats.agate.blue",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BUILD_ID||"dev",db:null,remoteDb:null,pageSize:30,syncHandler:null,couchDbUrl:null,couchDbUsername:null,couchDbPassword:null,lastSync:new Date,version:$,dark:!0,sync:{loading:!1,error:null},charts:[],aliases:[],serviceWorker:{refreshing:!1,registration:null,updateAvailable:!1},settings:{},loadedBlueprints:[],searchQuery:"",uiCache:{visualization:{blueprint:null}}},mutations:{handleSync:function(e,t){var n=t.updateLastSync;console.log("Received sync event"),n&&(e.lastSync=new Date)},syncHandler:function(e,t){e.syncHandler&&(console.log("Killing existing replication…"),e.syncHandler.cancel()),e.syncHandler=t},couchDbConfig:function(e,t){var n=t.url,r=t.username,a=t.password;e.couchDbUrl=n,e.couchDbUsername=r,e.couchDbPassword=a},loadCachedState:function(e){if(localStorage.getItem("state")){var t=JSON.parse(localStorage.getItem("state"));t.version==$?(console.log("Loading cached state…"),this.replaceState(Object.assign(e,t))):(console.log("Ignoring stale cache"),e.version=$)}},initDb:function(e){e.syncHandler&&(console.log("Killing existing replication…"),e.syncHandler.cancel()),e.db=new S["a"]("db"),e.db.createIndex({index:{fields:["date","type","thread"]}}),e.db.createIndex({index:{fields:["form","date"]}})},remoteDb:function(e,t){e.remoteDb=t},serviceWorker:function(e,t){e.serviceWorker=Object(b["a"])(Object(b["a"])({},e.serviceWorker),t)},setting:function(e,t){var n=t.name,r=t.value;e.settings[n]=r},settings:function(e,t){e.settings=t},sync:function(e,t){e.sync=t},loadedBlueprints:function(e,t){e.loadedBlueprints=t},searchQuery:function(e,t){e.searchQuery=t},uiCache:function(e,t){var n=t.key,r=t.value;e.uiCache[n]=r}},getters:{settings:function(e){var t={};return E["b"].forEach((function(n){var r=e.settings[n.name];void 0===r&&(r=n.default()),t[n.name]=r})),t},boardLists:function(e,t){return[].concat(Object(j["a"])(t.settings.boardConfig.lists),[{label:"Done"}])},taskCategoryChoices:function(e){return e.settings.boardConfig.categories.map((function(e){return{value:e.label,text:e.label}}))},taskListChoices:function(e){var t=0,n=[];return e.settings.boardConfig.lists.forEach((function(e){n.push({value:t,text:e.label}),t+=1})),n.push({value:t,text:"Done"}),n},enabledBlueprints:function(e){return e.loadedBlueprints.filter((function(t){if(t)return e.settings.blueprints.indexOf(t.id)>-1}))},forms:function(e,t){var n=[];return t.enabledBlueprints.forEach((function(e){n=[].concat(Object(j["a"])(n),Object(j["a"])(e.forms||[]))})),B()(n,["label"])},formsById:function(e,t){var n={};return t.forms.forEach((function(e){n[e.id]=e})),n},pages:function(e,t){var n=[];return t.enabledBlueprints.forEach((function(e){n=[].concat(Object(j["a"])(n),Object(j["a"])(e.pages||[]))})),B()(n,["title"])},pagesById:function(e,t){var n={};return t.pages.forEach((function(e){n[e.id]=e})),n},fields:function(e,t){var n=[];return t.enabledBlueprints.forEach((function(e){n=[].concat(Object(j["a"])(n),Object(j["a"])(e.fields||[]))})),n},fieldsById:function(e,t){var n={};return t.fields.forEach((function(e){n[e.id]=e})),n}},actions:{addEntry:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,n.next=3,r.db.put(t);case 3:return n.next=5,r.db.get(t._id);case 5:return i=n.sent,n.next=8,a("rebuildThread",t.thread);case 8:return a("forceSync",{updateLastSync:!1}),n.abrupt("return",i);case 10:case"end":return n.stop()}}),n)})))()},partialUpdateEntry:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c,o;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.dispatch,a=t.entry,i=t.values,c=Object(b["a"])(Object(b["a"])(Object(b["a"])({},Object(E["j"])(a.text,{thread:a.thread,replies:a.replies})),i),{},{_rev:a._rev,_id:a._id,date:new Date(a.date).toISOString()}),n.next=5,r("updateEntry",c);case 5:return o=n.sent,r("forceSync",{updateLastSync:!1}),n.abrupt("return",o);case 8:case"end":return n.stop()}}),n)})))()},updateEntry:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,n.next=3,r.db.put(t);case 3:return n.next=5,a("rebuildThread",t.thread);case 5:return n.next=7,r.db.get(t._id);case 7:return n.abrupt("return",n.sent);case 8:case"end":return n.stop()}}),n)})))()},rebuildThread:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,a=e.dispatch,t){n.next=3;break}return n.abrupt("return");case 3:return n.prev=3,n.next=6,r.db.get(t);case 6:i=n.sent,n.next=13;break;case 9:return n.prev=9,n.t0=n["catch"](3),console.error("Thread ".concat(t," does not exist and cannot be rebuilt"),n.t0),n.abrupt("return");case 13:return n.next=15,r.db.find({selector:{thread:i._id},fields:["_id"],limit:9999999});case 15:return c=n.sent,c=c.docs.map((function(e){return e._id})),c.sort(),i.replies=c,n.next=21,a("updateEntry",i);case 21:return n.abrupt("return",n.sent);case 22:case"end":return n.stop()}}),n,null,[[3,9]])})))()},deleteThread:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,t){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,r.db.find({selector:{thread:t},fields:["_id","_rev"],limit:9999999});case 5:return a=n.sent,a=a.docs.map((function(e){return Object(b["a"])(Object(b["a"])({},e),{},{_deleted:!0})})),console.log("Deleting ".concat(a.length," from thread ").concat(t,"...")),n.next=10,r.db.bulkDocs(a);case 10:return n.abrupt("return",a);case 11:case"end":return n.stop()}}),n)})))()},reset:function(e){return Object(g["a"])(Object(m["a"])().mark((function t(){var n,r,a;return Object(m["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,r=e.state,a=e.dispatch,t.next=3,r.db.destroy();case 3:return localStorage.removeItem("state"),n("settings",{}),n("initDb"),t.next=8,a("setupSync",{url:r.couchDbUrl,username:r.couchDbUsername,password:r.couchDbPassword});case 8:return t.next=10,a("loadSettings");case 10:case"end":return t.stop()}}),t)})))()},setupSync:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c,o,s,u;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,a=e.commit,i=t.url,c=t.username,o=t.password,a("syncHandler",null),a("couchDbConfig",{url:i,username:c,password:o}),!r.couchDbUrl){n.next=13;break}return console.log("Setting up live replication…"),s=new S["a"](r.couchDbUrl),console.log("Logging in…"),n.next=10,s.logIn(c,o);case 10:a("remoteDb",s),u=r.db.sync(s,{live:!0,retry:!0}).on("change",(function(){console.log("Sync change…")})).on("active",(function(){console.log("Sync active…")})).on("complete",(function(){console.log("Sync complete…")})),a("syncHandler",u);case 13:case"end":return n.stop()}}),n)})))()},forceSync:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,a=e.commit,i=t.updateLastSync,r.couchDbUrl&&!r.sync.loading){n.next=4;break}return n.abrupt("return");case 4:return a("sync",{loading:!0,error:null}),console.log("Forcing sync…"),c=new S["a"](r.couchDbUrl),n.prev=7,n.next=10,c.logIn(r.couchDbUsername,r.couchDbPassword);case 10:return n.next=12,r.db.sync(c);case 12:n.next=19;break;case 14:return n.prev=14,n.t0=n["catch"](7),console.log("Error while syncing",n.t0),setTimeout((function(){a("sync",{loading:!1,error:null})}),3e3),n.abrupt("return",a("sync",{loading:!1,error:n.t0}));case 19:a("sync",{loading:!1,error:null}),a("handleSync",{updateLastSync:i});case 21:case"end":return n.stop()}}),n,null,[[7,14]])})))()},setWebhook:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.dispatch,a=t.url,n.next=4,r("setSetting",{name:"webhook",value:{url:a}});case 4:case"end":return n.stop()}}),n)})))()},triggerWebhook:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.state,a=t.url,i=t.payload,a=a||r.settings.webhook.url,a){n.next=6;break}return console.log("No webhook configured, skipping",r.settings.webhook.url),n.abrupt("return");case 6:return console.log("Sending webhook to",a),n.next=9,fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i||{})});case 9:return n.abrupt("return",n.sent);case 10:case"end":return n.stop()}}),n)})))()},addChart:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=(new Date).toISOString(),t._id=i,c=[].concat(Object(j["a"])(r.settings.charts),[t]),n.next=6,a("setSetting",{name:"charts",value:c});case 6:case"end":return n.stop()}}),n)})))()},removeChart:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=r.settings.charts.filter((function(e){return e._id!=t})),n.next=4,a("setSetting",{name:"charts",value:i});case 4:case"end":return n.stop()}}),n)})))()},updateChart:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=[],r.settings.charts.forEach((function(e){e._id===t._id?i.push(t):i.push(e)})),n.next=5,a("setSetting",{name:"charts",value:i});case 5:case"end":return n.stop()}}),n)})))()},boardConfig:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.dispatch,n.next=3,r("setSetting",{name:"boardConfig",value:t});case 3:case"end":return n.stop()}}),n)})))()},addAlias:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=(new Date).toISOString(),t._id=i,c=[].concat(Object(j["a"])(r.settings.aliases),[t]),n.next=6,a("setSetting",{name:"aliases",value:c});case 6:case"end":return n.stop()}}),n)})))()},removeAlias:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=r.settings.aliases.filter((function(e){return e._id!=t})),n.next=4,a("setSetting",{name:"aliases",value:i});case 4:case"end":return n.stop()}}),n)})))()},updateAlias:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.dispatch,i=[],r.settings.aliases.forEach((function(e){e._id===t._id?i.push(t):i.push(e)})),n.next=5,a("setSetting",{name:"aliases",value:i});case 5:case"end":return n.stop()}}),n)})))()},setSetting:function(e,t){return Object(g["a"])(Object(m["a"])().mark((function n(){var r,a,i,c,o;return Object(m["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=e.state,a=e.commit,i=t.name,c=t.value,n.prev=2,n.next=5,r.db.get(i);case 5:o=n.sent,o={_id:i,type:"settings",_rev:o._rev,value:c},n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](2),o={_id:i,type:"settings",value:c};case 12:return o=JSON.parse(JSON.stringify(o)),n.next=15,r.db.put(o);case 15:a("setting",{name:i,value:c});case 16:case"end":return n.stop()}}),n,null,[[2,9]])})))()},loadSettings:function(e){return Object(g["a"])(Object(m["a"])().mark((function t(){var n,r,a,i,c,o,s,u,l;return Object(m["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.state,r=e.commit,a=e.dispatch,i={},c=Object(x["a"])(E["b"]),t.prev=3,c.s();case 5:if((o=c.n()).done){t.next=21;break}return s=o.value,u=void 0,t.prev=8,t.next=11,n.db.get(s.name);case 11:l=t.sent,u=Object(E["n"])(l),t.next=18;break;case 15:t.prev=15,t.t0=t["catch"](8),u=s.default();case 18:i[s.name]=u;case 19:t.next=5;break;case 21:t.next=26;break;case 23:t.prev=23,t.t1=t["catch"](3),c.e(t.t1);case 26:return t.prev=26,c.f(),t.finish(26);case 29:r("settings",i),a("loadBlueprints");case 31:case"end":return t.stop()}}),t,null,[[3,23,26,29],[8,15]])})))()},loadBlueprints:function(e){return Object(g["a"])(Object(m["a"])().mark((function t(){var n,r,a,i,c;return Object(m["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,r=e.state,t.next=3,A();case 3:return a=t.sent,t.next=6,r.db.find({selector:{type:"blueprint"},limit:99999});case 6:i=t.sent,c=Object(b["a"])({},a),i.docs.forEach((function(e){c[e._id]=e.definition})),n("loadedBlueprints",Object.keys(c).map((function(e){return c[e]})));case 10:case"end":return t.stop()}}),t)})))()}},modules:{}});q.subscribe((function(e,t){var n={couchDbUrl:t.couchDbUrl,couchDbUsername:t.couchDbUsername,couchDbPassword:t.couchDbPassword,version:t.version,settings:t.settings,uiCache:t.uiCache};console.log("Updating localstorage cache…"),localStorage.setItem("state",JSON.stringify(n))}));var L=q;Object(D["a"])("".concat("/","service-worker.js"),{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(e){console.log("Service worker has been registered.");var t=72e5;setInterval((function(){console.log("Checking for service worker update…"),e.update()}),t),e.update(),L.commit("serviceWorker",{registration:e})},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(e){console.log("New content is available; please refresh."),L.commit("serviceWorker",{updateAvailable:!0,registration:e})},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(e){console.error("Error during service worker registration:",e)}});n("2ca0");var z=n("8c4f");r["a"].use(z["a"]);var I=[{path:"/diary",alias:"/",component:function(){return n.e("Diary~31ecd969").then(n.bind(null,"5fa4"))},props:function(e){return{query:e.query.q}},children:[{path:"",name:"Timeline",component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("DiaryTimeline~31ecd969")]).then(n.bind(null,"f67a"))}},{path:"visualization",name:"Visualization",component:function(){return n.e("DiaryVisualization~221411aa").then(n.bind(null,"27ed"))},props:function(e){return{query:e.query.q,blueprint:e.query.blueprint,defaultEnd:e.query.end||null,defaultStart:e.query.start||null,defaultGroupByPeriod:e.query.period||"date"}}},{path:"calendar",name:"Calendar",component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("DiaryCalendar~31ecd969")]).then(n.bind(null,"ac0f"))}},{path:"e/:entryId",name:"Entry",component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("DiaryTimeline~31ecd969")]).then(n.bind(null,"f67a"))},props:!0}]},{path:"/about",name:"About",component:function(){return n.e("About~31ecd969").then(n.bind(null,"f820"))}},{path:"/tasks",component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Tasks~31ecd969")]).then(n.bind(null,"eb1f"))},props:function(e){return{query:e.query.q}}},{path:"/settings",name:"Settings",component:function(){return n.e("Settings~31ecd969").then(n.bind(null,"26d3"))}},{path:"/blueprint-editor/:id?",name:"BlueprintEditor",props:!0,component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Tasks~visualization~d939e436"),n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("Blueprints~31ecd969")]).then(n.bind(null,"f419"))}},{path:"/pages/:id?",name:"Page",props:!0,component:function(){return Promise.all([n.e("Blueprints~DiaryCalendar~DiaryTimeline~Page~31ecd969"),n.e("Page~31ecd969")]).then(n.bind(null,"2048"))}}],N=new z["a"]({routes:I});function W(e,t){return(!t||e.name!==t.name)&&!e.fullPath.startsWith("/diary/e/")}function V(e,t){Object(E["w"])(L,"pageview",{},{referrer:t?Object(E["f"])(window.location,t.fullPath):null,url:Object(E["f"])(window.location,e.fullPath)})}N.beforeEach((function(e,t,n){W(e,t)&&V(e,t),n()}));var M=N,H=n("f309");r["a"].use(H["a"]);var F=new H["a"]({icons:{iconfont:"mdiSvg"},theme:{options:{customProperties:!0},dark:!0,themes:{light:{primary:"#ee44aa",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FFC107"}}}}),R=n("fc76"),Q=n("94ed");r["a"].config.productionTip=!1,r["a"].prototype.$icons={mdiArrowLeft:Q["a"],mdiBook:Q["b"],mdiBookOpenPageVariantOutline:Q["c"],mdiCalendar:Q["d"],mdiChartTimelineVariant:Q["e"],mdiCheck:Q["f"],mdiChevronDown:Q["g"],mdiChevronLeft:Q["h"],mdiChevronRight:Q["i"],mdiChevronUp:Q["j"],mdiClock:Q["k"],mdiClockOutline:Q["l"],mdiClose:Q["m"],mdiCog:Q["n"],mdiContentCopy:Q["o"],mdiDelete:Q["p"],mdiDeleteOutline:Q["q"],mdiDotsHorizontal:Q["r"],mdiDownload:Q["s"],mdiEye:Q["t"],mdiEyeOff:Q["u"],mdiFormatListBulleted:Q["v"],mdiHeart:Q["w"],mdiHeartOutline:Q["x"],mdiHelpCircleOutline:Q["y"],mdiMagnify:Q["z"],mdiMenuDown:Q["A"],mdiPencil:Q["B"],mdiPlus:Q["C"],mdiReply:Q["D"],mdiReplyOutline:Q["E"],mdiSend:Q["F"],mdiSync:Q["G"],mdiTrashCan:Q["H"]},r["a"].prototype.$theme={appBar:{color:"pink darken-4"},card:{color:"grey darken-4",textSize:"body-1"},nestedCard:{color:"blue-grey darken-4",textSize:"body-2"},drawer:{color:"grey darken-4"},menu:{color:"grey darken-4"},switch:{color:"pink"},input:{color:"grey darken-4"},mainButton:{color:"pink darken-4"}};var J={apiHost:"https://stats.agate.blue",hashMode:!0,enableAutoPageviews:!1,trackLocalhost:"true"==Object({VUE_APP_DOMAIN:"tempo.agate.blue",VUE_APP_VUE_APP_BUILD_ID:"a5bd82aab67c6724d53fc2a448168487fda01f94",VUE_APP_PLAUSIBLE_HOST:"https://stats.agate.blue",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_PLAUSIBLE_TRACK_LOCALHOST,domain:"tempo.agate.blue"};r["a"].use(R["a"],J),new r["a"]({router:M,store:L,render:function(e){return e(O)},vuetify:F,beforeCreate:function(){window.document.getElementById("app-shell").remove(),this.$store.commit("loadCachedState"),this.$store.commit("initDb"),this.$store.dispatch("setupSync",{url:this.$store.state.couchDbUrl,username:this.$store.state.couchDbUsername,password:this.$store.state.couchDbPassword})}}).$mount("#app")},"90f9":function(e,t,n){"use strict";n("4420")}}); \ No newline at end of file diff --git a/precache-manifest.4235d6dc60ad96db107a3c59eb6c9a9e.js b/precache-manifest.824afae198ed12519597cf0898867884.js similarity index 94% rename from precache-manifest.4235d6dc60ad96db107a3c59eb6c9a9e.js rename to precache-manifest.824afae198ed12519597cf0898867884.js index 2a4f6eb..170c5fc 100644 --- a/precache-manifest.4235d6dc60ad96db107a3c59eb6c9a9e.js +++ b/precache-manifest.824afae198ed12519597cf0898867884.js @@ -36,7 +36,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/css/Tasks~31ecd969.d02844a9.css" }, { - "revision": "33a4b3f05efe3bb44b44", + "revision": "656d98fa575063ed2c1f", "url": "/css/app~748942c6.3c5981ad.css" }, { @@ -52,7 +52,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/css/visualization~31ecd969.42d68c95.css" }, { - "revision": "86571af9388be150c274a94371d5d7f0", + "revision": "f12a62cd0052a99281f81fbb2e0feabe", "url": "/editor.worker.js" }, { @@ -68,7 +68,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/icon.png" }, { - "revision": "091d63688d10ae7de7f601ebe200f7aa", + "revision": "1467256d0d3f5e60fddd8d26b402e4cd", "url": "/index.html" }, { @@ -120,8 +120,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/js/alasql~2a42e354.6036ddd1.js" }, { - "revision": "33a4b3f05efe3bb44b44", - "url": "/js/app~748942c6.04522030.js" + "revision": "656d98fa575063ed2c1f", + "url": "/js/app~748942c6.1f766ef7.js" }, { "revision": "5ddc572bf4fc5485d2a7", diff --git a/service-worker.js b/service-worker.js index 9ad7ba9..0044ef4 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1,4 +1,4 @@ -importScripts("/precache-manifest.4235d6dc60ad96db107a3c59eb6c9a9e.js", "/workbox-v4.3.1/workbox-sw.js"); +importScripts("/precache-manifest.824afae198ed12519597cf0898867884.js", "/workbox-v4.3.1/workbox-sw.js"); workbox.setConfig({modulePathPrefix: "/workbox-v4.3.1"}); // This is the code piece that GenerateSW mode can't provide for us. // This code listens for the user's confirmation to update the app.