-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathhtml.worker.js
More file actions
11 lines (11 loc) · 253 KB
/
html.worker.js
File metadata and controls
11 lines (11 loc) · 253 KB
1
2
3
4
5
6
7
8
9
10
11
/*!
* Fizz-Admin v3.2.0-beta1
* (c) 2020-2024 Joker-Lee
* AGPL v3 Licensed.
*/(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="654a")})({"30db":function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return v})),n.d(t,"d",(function(){return w}));var i=!1,o=!1,a=!1,s=!1,u=!1,l=void 0,c="en",h="undefined"!==typeof e&&"undefined"!==typeof e.versions&&"undefined"!==typeof e.versions.electron&&"renderer"===e.type;if("object"!==typeof navigator||h){if("object"===typeof e){i="win32"===e.platform,o="darwin"===e.platform,a="linux"===e.platform,l=c,c;var d=Object({VUE_APP_LICENSE_SERVER_PAY_URL:"https://l.fizzgate.com/#/payment/buy",NODE_ENV:"production",BASE_URL:""})["VSCODE_NLS_CONFIG"];if(d)try{var f=JSON.parse(d),p=f.availableLanguages["*"];l=f.locale,p||c,f._translationsConfigFile}catch(C){}s=!0}}else{var g=navigator.userAgent;i=g.indexOf("Windows")>=0,o=g.indexOf("Macintosh")>=0,a=g.indexOf("Linux")>=0,u=!0,l=navigator.language,l}var m=i,b=u,_="object"===typeof self?self:"object"===typeof r?r:{},v=_,y=null;function w(t){return null===y&&(y=v.setImmediate?v.setImmediate.bind(v):"undefined"!==typeof e&&"function"===typeof e.nextTick?e.nextTick.bind(e):v.setTimeout.bind(v)),y(t)}}).call(this,n("f28c"),n("c8ba"))},"36c6":function(e,t,n){"use strict";(function(e){var n,r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();if("object"===typeof e)n="win32"===e.platform;else if("object"===typeof navigator){var i=navigator.userAgent;n=i.indexOf("Windows")>=0}var o=/^\w[\w\d+.-]*$/,a=/^\//,s=/^\/\//;function u(e){if(e.scheme&&!o.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!a.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(s.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 l(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h;break}return t}var c="",h="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,f=function(){function e(e,t,n,r,i){"object"===typeof e?(this.scheme=e.scheme||c,this.authority=e.authority||c,this.path=e.path||c,this.query=e.query||c,this.fragment=e.fragment||c):(this.scheme=e||c,this.authority=t||c,this.path=l(this.scheme,n||c),this.query=r||c,this.fragment=i||c,u(this))}return e.isUri=function(t){return t instanceof e||!!t&&("string"===typeof t.authority&&"string"===typeof t.fragment&&"string"===typeof t.path&&"string"===typeof t.query&&"string"===typeof t.scheme)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=c),void 0===n?n=this.authority:null===n&&(n=c),void 0===r?r=this.path:null===r&&(r=c),void 0===i?i=this.query:null===i&&(i=c),void 0===o?o=this.fragment:null===o&&(o=c),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new g(t,n,r,i,o)},e.parse=function(e){var t=d.exec(e);return t?new g(t[2]||c,decodeURIComponent(t[4]||c),decodeURIComponent(t[5]||c),decodeURIComponent(t[7]||c),decodeURIComponent(t[9]||c)):new g(c,c,c,c,c)},e.file=function(e){var t=c;if(n&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var r=e.indexOf(h,2);-1===r?(t=e.substring(2),e=h):(t=e.substring(2,r),e=e.substring(r)||h)}return new g("file",t,e,c,c)},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),y(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._fsPath=t.fsPath,n._formatted=t.external,n}return t},e}();t["a"]=f;var p,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return r(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath),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},t}(f),m=(p={},p[58]="%3A",p[47]="%2F",p[63]="%3F",p[35]="%23",p[91]="%5B",p[93]="%5D",p[64]="%40",p[33]="%21",p[36]="%24",p[38]="%26",p[39]="%27",p[40]="%28",p[41]="%29",p[42]="%2A",p[43]="%2B",p[44]="%2C",p[59]="%3B",p[61]="%3D",p[32]="%20",p);function b(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=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));var a=m[o];void 0!==a?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=a):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=m[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(e){var t;return t=e.authority&&e.path.length>1&&"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)?e.path[1].toLowerCase()+e.path.substr(2):e.path,n&&(t=t.replace(/\//g,"\\")),t}function y(e,t){var n=t?_:b,r="",i=e.scheme,o=e.authority,a=e.path,s=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=h,r+=h),o){var l=o.indexOf("@");if(-1!==l){var c=o.substr(0,l);o=o.substr(l+1),l=c.indexOf(":"),-1===l?r+=n(c,!1):(r+=n(c.substr(0,l),!1),r+=":",r+=n(c.substr(l+1),!1)),r+="@"}o=o.toLowerCase(),l=o.indexOf(":"),-1===l?r+=n(o,!1):(r+=n(o.substr(0,l),!1),r+=o.substr(l))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){var d=a.charCodeAt(1);d>=65&&d<=90&&(a="/"+String.fromCharCode(d+32)+":"+a.substr(3))}else if(a.length>=2&&58===a.charCodeAt(1)){d=a.charCodeAt(0);d>=65&&d<=90&&(a=String.fromCharCode(d+32)+":"+a.substr(2))}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),u&&(r+="#",r+=n(u,!1)),r}}).call(this,n("f28c"))},"54c2":function(e,t,n){"use strict";(function(e,r){var i;n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),function(){var t=Object.create(null);t["WinJS/Core/_WinJS"]={};var n=function(e,n,r){var i={},o=!1,a=n.map((function(e){return"exports"===e?(o=!0,i):t[e]})),s=r.apply({},a);t[e]=o?i:s};n("WinJS/Core/_Global",[],(function(){var t="undefined"!==typeof window?window:"undefined"!==typeof self?self:"undefined"!==typeof e?e:{};return t})),n("WinJS/Core/_BaseCoreUtils",["WinJS/Core/_Global"],(function(e){var t=!!e.Windows;function n(e){return e.supportedForProcessing=!0,e}var i=null;return{hasWinRT:t,markSupportedForProcessing:n,_setImmediate:function(t){null===i&&(i=e.setImmediate?e.setImmediate.bind(e):"undefined"!==typeof r&&"function"===typeof r.nextTick?r.nextTick.bind(r):e.setTimeout.bind(e)),i(t)}}})),n("WinJS/Core/_WriteProfilerMark",["WinJS/Core/_Global"],(function(e){return e.msWriteProfilerMark||function(){}})),n("WinJS/Core/_Base",["WinJS/Core/_WinJS","WinJS/Core/_Global","WinJS/Core/_BaseCoreUtils","WinJS/Core/_WriteProfilerMark"],(function(e,t,n,r){function i(e,t,n){var r,i,o,a=Object.keys(t),s=Array.isArray(e);for(i=0,o=a.length;i<o;i++){var u=a[i],l=95!==u.charCodeAt(0),c=t[u];!c||"object"!==typeof c||void 0===c.value&&"function"!==typeof c.get&&"function"!==typeof c.set?l?s?e.forEach((function(e){e[u]=c})):e[u]=c:(r=r||{},r[u]={value:c,enumerable:l,configurable:!0,writable:!0}):(void 0===c.enumerable&&(c.enumerable=l),n&&c.setName&&"function"===typeof c.setName&&c.setName(n+"."+u),r=r||{},r[u]=c)}r&&(s?e.forEach((function(e){Object.defineProperties(e,r)})):Object.defineProperties(e,r))}return function(){var n=e;function o(n,r){var i=n||{};if(r){var o=r.split(".");i===t&&"WinJS"===o[0]&&(i=e,o.splice(0,1));for(var a=0,s=o.length;a<s;a++){var u=o[a];i[u]||Object.defineProperty(i,u,{value:{},writable:!1,enumerable:!0,configurable:!0}),i=i[u]}}return i}function a(e,t,n){var r=o(e,t);return n&&i(r,n,t||"<ANONYMOUS>"),r}function s(e,n){return a(t,e,n)}n.Namespace||(n.Namespace=Object.create(Object.prototype));var u={uninitialized:1,working:2,initialized:3};function l(e){var t,n,i=u.uninitialized;return{setName:function(e){t=e},get:function(){switch(i){case u.initialized:return n;case u.uninitialized:i=u.working;try{r("WinJS.Namespace._lazy:"+t+",StartTM"),n=e()}finally{r("WinJS.Namespace._lazy:"+t+",StopTM"),i=u.uninitialized}return e=null,i=u.initialized,n;case u.working:throw"Illegal: reentrancy on initialization";default:throw"Illegal"}},set:function(e){switch(i){case u.working:throw"Illegal: reentrancy on initialization";default:i=u.initialized,n=e;break}},enumerable:!0,configurable:!0}}function c(e,n,r){var a=[e],s=null;return n&&(s=o(t,n),a.push(s)),i(a,r,n||"<ANONYMOUS>"),s}Object.defineProperties(n.Namespace,{defineWithParent:{value:a,writable:!0,enumerable:!0,configurable:!0},define:{value:s,writable:!0,enumerable:!0,configurable:!0},_lazy:{value:l,writable:!0,enumerable:!0,configurable:!0},_moduleDefine:{value:c,writable:!0,enumerable:!0,configurable:!0}})}(),function(){function t(e,t,r){return e=e||function(){},n.markSupportedForProcessing(e),t&&i(e.prototype,t),r&&i(e,r),e}function r(e,r,o,a){if(e){r=r||function(){};var s=e.prototype;return r.prototype=Object.create(s),n.markSupportedForProcessing(r),Object.defineProperty(r.prototype,"constructor",{value:r,writable:!0,configurable:!0,enumerable:!0}),o&&i(r.prototype,o),a&&i(r,a),r}return t(r,o,a)}function o(e){var t,n;for(e=e||function(){},t=1,n=arguments.length;t<n;t++)i(e.prototype,arguments[t]);return e}e.Namespace.define("WinJS.Class",{define:t,derive:r,mix:o})}(),{Namespace:e.Namespace,Class:e.Class}})),n("WinJS/Core/_ErrorFromName",["WinJS/Core/_Base"],(function(e){var t=e.Class.derive(Error,(function(e,t){this.name=e,this.message=t||e}),{},{supportedForProcessing:!1});return e.Namespace.define("WinJS",{ErrorFromName:t}),t})),n("WinJS/Core/_Events",["exports","WinJS/Core/_Base"],(function(e,t){function n(e){var t="_on"+e+"state";return{get:function(){var e=this[t];return e&&e.userHandler},set:function(n){var r=this[t];n?(r||(r={wrapper:function(e){return r.userHandler(e)},userHandler:n},Object.defineProperty(this,t,{value:r,enumerable:!1,writable:!0,configurable:!0}),this.addEventListener(e,r.wrapper,!1)),r.userHandler=n):r&&(this.removeEventListener(e,r.wrapper,!1),this[t]=null)},enumerable:!0}}function r(){for(var e={},t=0,r=arguments.length;t<r;t++){var i=arguments[t];e["on"+i]=n(i)}return e}var i=t.Class.define((function(e,t,n){this.detail=t,this.target=n,this.timeStamp=Date.now(),this.type=e}),{bubbles:{value:!1,writable:!1},cancelable:{value:!1,writable:!1},currentTarget:{get:function(){return this.target}},defaultPrevented:{get:function(){return this._preventDefaultCalled}},trusted:{value:!1,writable:!1},eventPhase:{value:0,writable:!1},target:null,timeStamp:null,type:null,preventDefault:function(){this._preventDefaultCalled=!0},stopImmediatePropagation:function(){this._stopImmediatePropagationCalled=!0},stopPropagation:function(){}},{supportedForProcessing:!1}),o={_listeners:null,addEventListener:function(e,t,n){n=n||!1,this._listeners=this._listeners||{};for(var r=this._listeners[e]=this._listeners[e]||[],i=0,o=r.length;i<o;i++){var a=r[i];if(a.useCapture===n&&a.listener===t)return}r.push({listener:t,useCapture:n})},dispatchEvent:function(e,t){var n=this._listeners&&this._listeners[e];if(n){var r=new i(e,t,this);n=n.slice(0,n.length);for(var o=0,a=n.length;o<a&&!r._stopImmediatePropagationCalled;o++)n[o].listener(r);return r.defaultPrevented||!1}return!1},removeEventListener:function(e,t,n){n=n||!1;var r=this._listeners&&this._listeners[e];if(r)for(var i=0,o=r.length;i<o;i++){var a=r[i];if(a.listener===t&&a.useCapture===n){r.splice(i,1),0===r.length&&delete this._listeners[e];break}}}};t.Namespace._moduleDefine(e,"WinJS.Utilities",{_createEventProperty:n,createEventProperties:r,eventMixin:o})})),n("WinJS/Core/_Trace",["WinJS/Core/_Global"],(function(e){function t(e){return e}return{_traceAsyncOperationStarting:e.Debug&&e.Debug.msTraceAsyncOperationStarting&&e.Debug.msTraceAsyncOperationStarting.bind(e.Debug)||t,_traceAsyncOperationCompleted:e.Debug&&e.Debug.msTraceAsyncOperationCompleted&&e.Debug.msTraceAsyncOperationCompleted.bind(e.Debug)||t,_traceAsyncCallbackStarting:e.Debug&&e.Debug.msTraceAsyncCallbackStarting&&e.Debug.msTraceAsyncCallbackStarting.bind(e.Debug)||t,_traceAsyncCallbackCompleted:e.Debug&&e.Debug.msTraceAsyncCallbackCompleted&&e.Debug.msTraceAsyncCallbackCompleted.bind(e.Debug)||t}})),n("WinJS/Promise/_StateMachine",["WinJS/Core/_Global","WinJS/Core/_BaseCoreUtils","WinJS/Core/_Base","WinJS/Core/_ErrorFromName","WinJS/Core/_Events","WinJS/Core/_Trace"],(function(e,t,n,r,i,o){e.Debug&&(e.Debug.setNonUserCodeExceptions=!0);var a=n.Class.mix(n.Class.define(null,{},{supportedForProcessing:!1}),i.eventMixin),s=new a;s._listeners={};var u="error",l="Canceled",c=!1,h={promise:1,thenPromise:2,errorPromise:4,exceptionPromise:8,completePromise:16};h.all=h.promise|h.thenPromise|h.errorPromise|h.exceptionPromise|h.completePromise;var d,f,p,g,m,b,_,v,y,w,C=1;function T(){}d={name:"created",enter:function(e){e._setState(f)},cancel:T,done:T,then:T,_completed:T,_error:T,_notify:T,_progress:T,_setCompleteValue:T,_setErrorValue:T},f={name:"working",enter:T,cancel:function(e){e._setState(m)},done:O,then:j,_completed:k,_error:P,_notify:T,_progress:D,_setCompleteValue:W,_setErrorValue:V},p={name:"waiting",enter:function(e){var t=e._value;if(t instanceof F&&t._state!==w&&t._state!==v)U(t,{promise:e});else{var n=function(r){t._errorId?e._chainedError(r,t):(R(e,r,S,t,n),e._error(r))};n.handlesOnError=!0,t.then(e._completed.bind(e),n,e._progress.bind(e))}},cancel:function(e){e._setState(g)},done:O,then:j,_completed:k,_error:P,_notify:T,_progress:D,_setCompleteValue:W,_setErrorValue:V},g={name:"waiting_canceled",enter:function(e){e._setState(b);var t=e._value;t.cancel&&t.cancel()},cancel:T,done:O,then:j,_completed:k,_error:P,_notify:T,_progress:D,_setCompleteValue:W,_setErrorValue:V},m={name:"canceled",enter:function(e){e._setState(b),e._cancelAction()},cancel:T,done:O,then:j,_completed:k,_error:P,_notify:T,_progress:D,_setCompleteValue:W,_setErrorValue:V},b={name:"canceling",enter:function(e){var t=new Error(l);t.name=t.message,e._value=t,e._setState(y)},cancel:T,done:T,then:T,_completed:T,_error:T,_notify:T,_progress:T,_setCompleteValue:T,_setErrorValue:T},_={name:"complete_notify",enter:function(e){if(e.done=G.prototype.done,e.then=G.prototype.then,e._listeners){var t,n=[e];while(n.length)t=n.shift(),t._state._notify(t,n)}e._setState(v)},cancel:T,done:null,then:null,_completed:T,_error:T,_notify:I,_progress:T,_setCompleteValue:T,_setErrorValue:T},v={name:"success",enter:function(e){e.done=G.prototype.done,e.then=G.prototype.then,e._cleanupAction()},cancel:T,done:null,then:null,_completed:T,_error:T,_notify:I,_progress:T,_setCompleteValue:T,_setErrorValue:T},y={name:"error_notify",enter:function(e){if(e.done=K.prototype.done,e.then=K.prototype.then,e._listeners){var t,n=[e];while(n.length)t=n.shift(),t._state._notify(t,n)}e._setState(w)},cancel:T,done:null,then:null,_completed:T,_error:T,_notify:q,_progress:T,_setCompleteValue:T,_setErrorValue:T},w={name:"error",enter:function(e){e.done=K.prototype.done,e.then=K.prototype.then,e._cleanupAction()},cancel:T,done:null,then:null,_completed:T,_error:T,_notify:q,_progress:T,_setCompleteValue:T,_setErrorValue:T};var E=n.Class.define(null,{_listeners:null,_nextState:null,_state:null,_value:null,cancel:function(){this._state.cancel(this),this._run()},done:function(e,t,n){this._state.done(this,e,t,n)},then:function e(t,n,r){if(this.then===e)return this._state.then(this,t,n,r);this.then(t,n,r)},_chainedError:function(e,t){var n=this._state._error(this,e,A,t);return this._run(),n},_completed:function(e){var t=this._state._completed(this,e);return this._run(),t},_error:function(e){var t=this._state._error(this,e,L);return this._run(),t},_progress:function(e){this._state._progress(this,e)},_setState:function(e){this._nextState=e},_setCompleteValue:function(e){this._state._setCompleteValue(this,e),this._run()},_setChainedErrorValue:function(e,t){var n=this._state._setErrorValue(this,e,A,t);return this._run(),n},_setExceptionValue:function(e){var t=this._state._setErrorValue(this,e,N);return this._run(),t},_run:function(){while(this._nextState)this._state=this._nextState,this._nextState=null,this._state.enter(this)}},{supportedForProcessing:!1});function k(e,t){var n;n=t&&"object"===typeof t&&"function"===typeof t.then?p:_,e._value=t,e._setState(n)}function x(e,t,n,r,i,o){return{exception:e,error:t,promise:n,handler:o,id:r,parent:i}}function S(e,t,n,r){var i=n._isException,o=n._errorId;return x(i?t:null,i?null:t,e,o,n,r)}function A(e,t,n){var r=n._isException,i=n._errorId;return M(e,i,r),x(r?t:null,r?null:t,e,i,n)}function L(e,t){var n=++C;return M(e,n),x(null,t,e,n)}function N(e,t){var n=++C;return M(e,n,!0),x(t,null,e,n)}function O(e,t,n,r){var i=o._traceAsyncOperationStarting("WinJS.Promise.done");U(e,{c:t,e:n,p:r,asyncOpID:i})}function P(e,t,n,r){e._value=t,R(e,t,n,r),e._setState(y)}function I(t,n){var r,i,a=t._value,s=t._listeners;if(s)for(t._listeners=null,r=0,i=Array.isArray(s)?s.length:1;r<i;r++){var u=1===i?s:s[r],l=u.c,c=u.promise;if(o._traceAsyncOperationCompleted(u.asyncOpID,e.Debug&&e.Debug.MS_ASYNC_OP_STATUS_SUCCESS),c){o._traceAsyncCallbackStarting(u.asyncOpID);try{c._setCompleteValue(l?l(a):a)}catch(h){c._setExceptionValue(h)}finally{o._traceAsyncCallbackCompleted()}c._state!==p&&c._listeners&&n.push(c)}else G.prototype.done.call(t,l)}}function q(t,n){var r,i,a=t._value,s=t._listeners;if(s)for(t._listeners=null,r=0,i=Array.isArray(s)?s.length:1;r<i;r++){var u=1===i?s:s[r],c=u.e,h=u.promise,d=e.Debug&&(a&&a.name===l?e.Debug.MS_ASYNC_OP_STATUS_CANCELED:e.Debug.MS_ASYNC_OP_STATUS_ERROR);if(o._traceAsyncOperationCompleted(u.asyncOpID,d),h){var f=!1;try{c?(o._traceAsyncCallbackStarting(u.asyncOpID),f=!0,c.handlesOnError||R(h,a,S,t,c),h._setCompleteValue(c(a))):h._setChainedErrorValue(a,t)}catch(g){h._setExceptionValue(g)}finally{f&&o._traceAsyncCallbackCompleted()}h._state!==p&&h._listeners&&n.push(h)}else K.prototype.done.call(t,null,c)}}function R(e,t,n,r,i){if(s._listeners[u]){if(t instanceof Error&&t.message===l)return;s.dispatchEvent(u,n(e,t,r,i))}}function D(e,t){var n,r,i=e._listeners;if(i)for(n=0,r=Array.isArray(i)?i.length:1;n<r;n++){var o=1===r?i:i[n],a=o.p;if(a)try{a(t)}catch(s){}o.c||o.e||!o.promise||o.promise._progress(t)}}function U(e,t){var n=e._listeners;n?(n=Array.isArray(n)?n:[n],n.push(t)):n=t,e._listeners=n}function M(e,t,n){e._isException=n||!1,e._errorId=t}function V(e,t,n,r){e._value=t,R(e,t,n,r),e._setState(w)}function W(e,t){var n;n=t&&"object"===typeof t&&"function"===typeof t.then?p:v,e._value=t,e._setState(n)}function j(e,t,n,r){var i=new F(e),a=o._traceAsyncOperationStarting("WinJS.Promise.then");return U(e,{promise:i,c:t,e:n,p:r,asyncOpID:a}),i}var B,F=n.Class.derive(E,(function(e){c&&(!0===c||c&h.thenPromise)&&(this._stack=J._getStack()),this._creator=e,this._setState(d),this._run()}),{_creator:null,_cancelAction:function(){this._creator&&this._creator.cancel()},_cleanupAction:function(){this._creator=null}},{supportedForProcessing:!1}),K=n.Class.define((function(e){c&&(!0===c||c&h.errorPromise)&&(this._stack=J._getStack()),this._value=e,R(this,e,L)}),{cancel:function(){},done:function(e,t){var n=this._value;if(t)try{t.handlesOnError||R(null,n,S,this,t);var r=t(n);return void(r&&"object"===typeof r&&"function"===typeof r.done&&r.done())}catch(i){n=i}n instanceof Error&&n.message===l||J._doneHandler(n)},then:function(e,t){if(!t)return this;var n,r=this._value;try{t.handlesOnError||R(null,r,S,this,t),n=new G(t(r))}catch(i){n=i===r?this:new H(i)}return n}},{supportedForProcessing:!1}),H=n.Class.derive(K,(function(e){c&&(!0===c||c&h.exceptionPromise)&&(this._stack=J._getStack()),this._value=e,R(this,e,N)}),{},{supportedForProcessing:!1}),G=n.Class.define((function(e){if(c&&(!0===c||c&h.completePromise)&&(this._stack=J._getStack()),e&&"object"===typeof e&&"function"===typeof e.then){var t=new F(null);return t._setCompleteValue(e),t}this._value=e}),{cancel:function(){},done:function(e){if(e)try{var t=e(this._value);t&&"object"===typeof t&&"function"===typeof t.done&&t.done()}catch(n){J._doneHandler(n)}},then:function(e){try{var t=e?e(this._value):this._value;return t===this._value?this:new G(t)}catch(n){return new H(n)}}},{supportedForProcessing:!1});function Y(n){var r;return new J((function(i){n?r=e.setTimeout(i,n):t._setImmediate(i)}),(function(){r&&e.clearTimeout(r)}))}function z(e,t){var n=function(){t.cancel()},r=function(){e.cancel()};return e.then(n),t.then(r,r),t}var J=n.Class.derive(E,(function(e,t){c&&(!0===c||c&h.promise)&&(this._stack=J._getStack()),this._oncancel=t,this._setState(d),this._run();try{var n=this._completed.bind(this),r=this._error.bind(this),i=this._progress.bind(this);e(n,r,i)}catch(o){this._setExceptionValue(o)}}),{_oncancel:null,_cancelAction:function(){try{if(!this._oncancel)throw new Error("Promise did not implement oncancel");this._oncancel()}catch(e){e.message,e.stack;s.dispatchEvent("error",e)}},_cleanupAction:function(){this._oncancel=null}},{addEventListener:function(e,t,n){s.addEventListener(e,t,n)},any:function(e){return new J((function(t,n){var r=Object.keys(e);0===r.length&&t();var i=0;r.forEach((function(o){J.as(e[o]).then((function(){t({key:o,value:e[o]})}),(function(a){a instanceof Error&&a.name===l?++i===r.length&&t(J.cancel):n({key:o,value:e[o]})}))}))}),(function(){var t=Object.keys(e);t.forEach((function(t){var n=J.as(e[t]);"function"===typeof n.cancel&&n.cancel()}))}))},as:function(e){return e&&"object"===typeof e&&"function"===typeof e.then?e:new G(e)},cancel:{get:function(){return B=B||new K(new r(l))}},dispatchEvent:function(e,t){return s.dispatchEvent(e,t)},is:function(e){return e&&"object"===typeof e&&"function"===typeof e.then},join:function(e){return new J((function(t,n,r){var i=Object.keys(e),o=Array.isArray(e)?[]:{},a=Array.isArray(e)?[]:{},s=0,u=i.length,c=function(e){if(0===--u){var s=Object.keys(o).length;if(0===s)t(a);else{var c=0;i.forEach((function(e){var t=o[e];t instanceof Error&&t.name===l&&c++})),c===s?t(J.cancel):n(o)}}else r({Key:e,Done:!0})};i.forEach((function(t){var n=e[t];void 0===n?s++:J.then(n,(function(e){a[t]=e,c(t)}),(function(e){o[t]=e,c(t)}))})),u-=s,0!==u||t(a)}),(function(){Object.keys(e).forEach((function(t){var n=J.as(e[t]);"function"===typeof n.cancel&&n.cancel()}))}))},removeEventListener:function(e,t,n){s.removeEventListener(e,t,n)},supportedForProcessing:!1,then:function(e,t,n,r){return J.as(e).then(t,n,r)},thenEach:function(e,t,n,r){var i=Array.isArray(e)?[]:{};return Object.keys(e).forEach((function(o){i[o]=J.as(e[o]).then(t,n,r)})),J.join(i)},timeout:function(e,t){var n=Y(e);return t?z(n,t):n},wrap:function(e){return new G(e)},wrapError:function(e){return new K(e)},_veryExpensiveTagWithStack:{get:function(){return c},set:function(e){c=e}},_veryExpensiveTagWithStack_tag:h,_getStack:function(){if(e.Debug&&e.Debug.debuggerEnabled)try{throw new Error}catch(t){return t.stack}},_cancelBlocker:function(e,t){if(!J.is(e))return J.wrap(e);var n,r,i=new J((function(e,t){n=e,r=t}),(function(){n=null,r=null,t&&t()}));return e.then((function(e){n&&n(e)}),(function(e){r&&r(e)})),i}});return Object.defineProperties(J,i.createEventProperties(u)),J._doneHandler=function(e){t._setImmediate((function(){throw e}))},{PromiseStateMachine:E,Promise:J,state_created:d}})),n("WinJS/Promise",["WinJS/Core/_Base","WinJS/Promise/_StateMachine"],(function(e,t){return e.Namespace.define("WinJS",{Promise:t.Promise}),t.Promise})),i=t["WinJS/Core/_WinJS"],i.TPromise=i.Promise,i.PPromise=i.Promise}();var o=i.Promise,a=i.TPromise;i.PPromise}).call(this,n("c8ba"),n("f28c"))},"654a":function(e,t,n){"use strict";n.r(t);var r=n("54c2"),i={};function o(e){var t=e.detail,n=t.id;t.parent?t.handler&&i&&delete i[n]:(i[n]=t,1===Object.keys(i).length&&setTimeout((function(){var e=i;i={},Object.keys(e).forEach((function(t){var n=e[t];n.exception?u(n.exception):n.error&&u(n.error),console.log("WARNING: Promise with no error callback:"+n.id),console.log(n),n.exception&&console.log(n.exception.stack)}))}),0))}r["b"].addEventListener("error",o);var a=function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}return e.prototype.emit=function(e){this.listeners.forEach((function(t){t(e)}))},e.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},e.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},e}(),s=new a;function u(e){h(e)||s.onUnexpectedError(e)}function l(e){if(e instanceof Error){var t=e.name,n=e.message,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r}}return e}var c="Canceled";function h(e){return e instanceof Error&&e.name===c&&e.message===c}function d(){var e=new Error(c);return e.name=e.message,e}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Array.isArray(e)?(e.forEach((function(e){return e&&e.dispose()})),[]):0===t.length?e?(e.dispose(),e):void 0:(f(e),f(t),[])}function p(e){return{dispose:function(){e()}}}var g=function(){function e(){this._toDispose=[]}return e.prototype.dispose=function(){this._toDispose=f(this._toDispose)},e.prototype._register=function(e){return this._toDispose.push(e),e},e.None=Object.freeze({dispose:function(){}}),e}(),m=(function(){function e(e){this.object=e}e.prototype.dispose=function(){}}(),n("30db"));function b(e){var t,n=this,r=!1;return function(){return r||(r=!0,t=e.apply(n,arguments)),t}}var _,v=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y={done:!0,value:void 0};(function(e){var t={next:function(){return y}};function n(){return t}function r(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=e.length),{next:function(){return t>=n?y:{done:!1,value:e[t++]}}}}function i(t){return t?Array.isArray(t)?e.fromArray(t):t:e.empty()}function o(e,t){return{next:function(){var n=e.next();return n.done?y:{done:!1,value:t(n.value)}}}}function a(e,t){return{next:function(){while(1){var n=e.next();if(n.done)return y;if(t(n.value))return{done:!1,value:n.value}}}}}function s(e,t){for(var n=e.next();!n.done;n=e.next())t(n.value)}function u(e){var t=[];return s(e,(function(e){return t.push(e)})),t}e.empty=n,e.fromArray=r,e.from=i,e.map=o,e.filter=a,e.forEach=s,e.collect=u})(_||(_={}));var w,C=function(){function e(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=t-1),this.items=e,this.start=t,this.end=n,this.index=r}return e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}(),T=(function(e){function t(t,n,r,i){return void 0===n&&(n=0),void 0===r&&(r=t.length),void 0===i&&(i=n-1),e.call(this,t,n,r,i)||this}v(t,e),t.prototype.current=function(){return e.prototype.current.call(this)},t.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},t.prototype.first=function(){return this.index=this.start,this.current()},t.prototype.last=function(){return this.index=this.end-1,this.current()},t.prototype.parent=function(){return null}}(C),function(){function e(e,t){this.iterator=e,this.fn=t}e.prototype.next=function(){return this.fn(this.iterator.next())}}(),function(){function e(e){this.element=e}return e}()),E=function(){function e(){}return e.prototype.isEmpty=function(){return!this._first},e.prototype.unshift=function(e){return this.insert(e,!1)},e.prototype.push=function(e){return this.insert(e,!0)},e.prototype.insert=function(e,t){var n=this,r=new T(e);if(this._first)if(t){var i=this._last;this._last=r,r.prev=i,i.next=r}else{var o=this._first;this._first=r,r.next=o,o.prev=r}else this._first=r,this._last=r;return function(){var e=n._first;while(e instanceof T){if(e===r){if(e.prev&&e.next){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev||e.next?e.next?e.prev||(n._first=n._first.next,n._first.prev=void 0):(n._last=n._last.prev,n._last.next=void 0):(n._first=void 0,n._last=void 0);break}e=e.next}}},e.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t?(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e):y}}},e}();(function(e){var t={dispose:function(){}};e.None=function(){return t}})(w||(w={}));var k=function(){function e(e){void 0===e&&(e=null),this._options=e,this._event=null,this._disposed=!1,this._deliveryQueue=null,this._listeners=null}return Object.defineProperty(e.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(n,r,i){t._listeners||(t._listeners=new E);var o=t._listeners.isEmpty();o&&t._options&&t._options.onFirstListenerAdd&&t._options.onFirstListenerAdd(t);var a,s=t._listeners.push(r?[n,r]:n);return o&&t._options&&t._options.onFirstListenerDidAdd&&t._options.onFirstListenerDidAdd(t),t._options&&t._options.onListenerDidAdd&&t._options.onListenerDidAdd(t,n,r),a={dispose:function(){if(a.dispose=e._noop,!t._disposed&&(s(),t._options&&t._options.onLastListenerRemove)){var n=t._listeners&&!t._listeners.isEmpty();n||t._options.onLastListenerRemove(t)}}},Array.isArray(i)&&i.push(a),a}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=[]);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);while(this._deliveryQueue.length>0){var r=this._deliveryQueue.shift(),i=r[0],o=r[1];try{"function"===typeof i?i.call(void 0,o):i[0].call(i[1],o)}catch(n){u(n)}}}},e.prototype.dispose=function(){this._listeners&&(this._listeners=null),this._deliveryQueue&&(this._deliveryQueue.length=0),this._disposed=!0},e._noop=function(){},e}();(function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new k({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);var r=function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)};return p(b(r))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(t){return e.hook(t)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(t){return e.unhook(t)}))},e.prototype.hook=function(e){var t=this;e.listener=e.event((function(e){return t.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()}})();(function(){function e(){this.buffers=[]}e.prototype.wrapEvent=function(e){var t=this;return function(n,r,i){return e((function(e){var i=t.buffers[t.buffers.length-1];i?i.push((function(){return n.call(r,e)})):n.call(r,e)}),void 0,i)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach((function(e){return e()})),n}})();function x(e,t){return function(n,r,i){return void 0===r&&(r=null),e((function(e){return n.call(r,t(e))}),null,i)}}function S(e,t){return function(n,r,i){return void 0===r&&(r=null),e((function(e){return t(e)&&n.call(r,e)}),null,i)}}(function(){function e(e){this._event=e}Object.defineProperty(e.prototype,"event",{get:function(){return this._event},enumerable:!0,configurable:!0}),e.prototype.map=function(t){return new e(x(this._event,t))},e.prototype.filter=function(t){return new e(S(this._event,t))},e.prototype.on=function(e,t,n){return this._event(e,t,n)}})();(function(){function e(){var e=this;this.listening=!1,this.inputEvent=w.None,this.inputEventListener=g.None,this.emitter=new k({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()}})();var A,L=Object.freeze((function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}}));(function(e){function t(t){return t===e.None||t===e.Cancelled||(t instanceof N||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:w.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:L})})(A||(A={}));var N=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?L:(this._emitter||(this._emitter=new k),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),O=function(){function e(){}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new N),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof N&&this._token.cancel():this._token=A.Cancelled},e.prototype.dispose=function(){this._token?this._token instanceof N&&this._token.dispose():this._token=A.None},e}(),P=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function I(e){return e&&"function"===typeof e.then}(function(){function e(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.task=null}e.prototype.trigger=function(e,t){var n=this;return void 0===t&&(t=this.defaultDelay),this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new r["b"]((function(e,t){n.doResolve=e,n.doReject=t})).then((function(){n.completionPromise=null,n.doResolve=null;var e=n.task;return n.task=null,e()}))),this.timeout=setTimeout((function(){n.timeout=null,n.doResolve(null)}),t),this.completionPromise},e.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject(d()),this.completionPromise=null)},e.prototype.cancelTimeout=function(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},e.prototype.dispose=function(){this.cancelTimeout()}})();var q;(function(e){function t(t,n){var r=e.call(this)||this;return r._token=-1,"function"===typeof t&&"number"===typeof n&&r.setIfNotSet(t,n),r}P(t,e),t.prototype.dispose=function(){this.cancel(),e.prototype.dispose.call(this)},t.prototype.cancel=function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)},t.prototype.cancelAndSet=function(e,t){var n=this;this.cancel(),this._token=setTimeout((function(){n._token=-1,e()}),t)},t.prototype.setIfNotSet=function(e,t){var n=this;-1===this._token&&(this._token=setTimeout((function(){n._token=-1,e()}),t))}})(g),function(e){function t(){var t=e.call(this)||this;return t._token=-1,t}P(t,e),t.prototype.dispose=function(){this.cancel(),e.prototype.dispose.call(this)},t.prototype.cancel=function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)},t.prototype.cancelAndSet=function(e,t){this.cancel(),this._token=setInterval((function(){e()}),t)}}(g),function(){function e(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}e.prototype.dispose=function(){this.cancel(),this.runner=null},e.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},e.prototype.schedule=function(e){void 0===e&&(e=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)},e.prototype.isScheduled=function(){return-1!==this.timeoutToken},e.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},e.prototype.doRun=function(){this.runner&&this.runner()}}();(function(){if("function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback){var e=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});q=function(t,n){void 0===n&&(n=0);var r=setTimeout((function(){return t(e)}),n),i=!1;return{dispose:function(){i||(i=!0,clearTimeout(r))}}}}else q=function(e,t){var n=requestIdleCallback(e,"number"===typeof t?{timeout:t}:void 0),r=!1;return{dispose:function(){r||(r=!0,cancelIdleCallback(n))}}}})();(function(){function e(e){var t=this;this._executor=function(){try{t._value=e()}catch(n){t._error=n}finally{t._didRun=!0}},this._handle=q((function(){return t._executor()}))}e.prototype.dispose=function(){this._handle.dispose()},e.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}})();function R(e){return I(e)&&"function"===typeof e.done}var D=function(){function e(e){R(e)?this._winjsPromise=e:this._winjsPromise=new r["a"]((function(t,n){var r=!0;e((function(e){r?m["d"]((function(){return t(e)})):t(e)}),(function(e){r?m["d"]((function(){return n(e)})):n(e)})),r=!1}))}return e.all=function(t){return new e(r["a"].join(t).then(null,(function(e){for(var t in e)if(e.hasOwnProperty(t))return e[t]})))},e.race=function(t){return new e(r["a"].any(t).then((function(e){return e.value}),(function(e){return e.value})))},e.resolve=function(t){return new e(r["a"].wrap(t))},e.reject=function(t){return new e(r["a"].wrapError(t))},e.prototype.then=function(t,n){var i=!0,o=new e(this._winjsPromise.then(t&&function(e){return i?new r["a"]((function(n,r){m["d"]((function(){var i;try{i=t(e)}catch(o){return void r(o)}n(i)}))})):t(e)},n&&function(e){return i?new r["a"]((function(t,r){m["d"]((function(){var i;try{i=n(e)}catch(o){return void r(o)}t(i)}))})):n(e)}));return i=!1,o},e.prototype.catch=function(e){return this.then(null,e)},e}(),U=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=self;"undefined"===typeof M.Promise&&(M.Promise=D);var V="$initialize";var W=function(){function e(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(e){this._workerId=e},e.prototype.sendMessage=function(e,t){var n=this,r=String(++this._lastSentReq);return new Promise((function(i,o){n._pendingReplies[r]={resolve:i,reject:o},n._send({vsWorker:n._workerId,req:r,method:e,args:t})}))},e.prototype.handleMessage=function(e){var t;try{t=JSON.parse(e)}catch(n){return}t&&t.vsWorker&&(-1!==this._workerId&&t.vsWorker!==this._workerId||this._handleMessage(t))},e.prototype._handleMessage=function(e){var t=this;if(e.seq){var n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");var r=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var i=n.err;return n.err.$isError&&(i=new Error,i.name=n.err.name,i.message=n.err.message,i.stack=n.err.stack),void r.reject(i)}r.resolve(n.res)}else{var o=e,a=o.req,s=this._handler.handleMessage(o.method,o.args);s.then((function(e){t._send({vsWorker:t._workerId,seq:a,res:e,err:void 0})}),(function(e){e.detail instanceof Error&&(e.detail=l(e.detail)),t._send({vsWorker:t._workerId,seq:a,res:void 0,err:l(e)})}))}},e.prototype._send=function(e){var t=JSON.stringify(e);this._handler.sendMessage(t)},e}(),j=(function(e){function t(t,n){var r=e.call(this)||this,i=null;r._worker=r._register(t.create("vs/base/common/worker/simpleWorker",(function(e){r._protocol.handleMessage(e)}),(function(e){i&&i(e)}))),r._protocol=new W({sendMessage:function(e){r._worker.postMessage(e)},handleMessage:function(e,t){return Promise.resolve(null)}}),r._protocol.setWorkerId(r._worker.getId());var o=null;"undefined"!==typeof self.require&&"function"===typeof self.require.getConfig?o=self.require.getConfig():"undefined"!==typeof self.requirejs&&(o=self.requirejs.s.contexts._.config),r._onModuleLoaded=r._protocol.sendMessage(V,[r._worker.getId(),n,o]),r._lazyProxy=new Promise((function(e,t){i=t,r._onModuleLoaded.then((function(t){for(var n={},r=0;r<t.length;r++)n[t[r]]=s(t[r],a);e(n)}),(function(e){t(e),r._onError("Worker failed to load "+n,e)}))}));var a=function(e,t){return r._request(e,t)},s=function(e,t){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}};return r}U(t,e),t.prototype.getProxyObject=function(){return this._lazyProxy},t.prototype._request=function(e,t){var n=this;return new Promise((function(r,i){n._onModuleLoaded.then((function(){n._protocol.sendMessage(e,t).then(r,i)}),i)}))},t.prototype._onError=function(e,t){console.error(e),console.info(t)}}(g),function(){function e(e,t){var n=this;this._requestHandler=t,this._protocol=new W({sendMessage:function(t){e(t)},handleMessage:function(e,t){return n._handleMessage(e,t)}})}return e.prototype.onmessage=function(e){this._protocol.handleMessage(e)},e.prototype._handleMessage=function(e,t){if(e===V)return this.initialize(t[0],t[1],t[2]);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)}},e.prototype.initialize=function(e,t,n){var r=this;if(this._protocol.setWorkerId(e),this._requestHandler){var i=[];for(var o in this._requestHandler)"function"===typeof this._requestHandler[o]&&i.push(o);return Promise.resolve(i)}return n&&("undefined"!==typeof n.baseUrl&&delete n["baseUrl"],"undefined"!==typeof n.paths&&"undefined"!==typeof n.paths.vs&&delete n.paths["vs"],n.catchError=!0,self.require.config(n)),new Promise((function(e,n){self.require([t],(function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var o=t[0];if(r._requestHandler=o.create(),r._requestHandler){var a=[];for(var s in r._requestHandler)"function"===typeof r._requestHandler[s]&&a.push(s);e(a)}else n(new Error("No RequestHandler!"))}),n)}))},e}());function B(e,t){return K(e,t,0,e.length-1,[]),e}function F(e,t,n,r,i,o){for(var a=n,s=r+1,u=n;u<=i;u++)o[u]=e[u];for(u=n;u<=i;u++)a>r?e[u]=o[s++]:s>i?e[u]=o[a++]:t(o[s],o[a])<0?e[u]=o[s++]:e[u]=o[a++]}function K(e,t,n,r,i){if(!(r<=n)){var o=n+(r-n)/2|0;K(e,t,n,o,i),K(e,t,o+1,r,i),t(e[o],e[o+1])<=0||F(e,t,n,o,r,i)}}var H=function(){function e(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function G(e){return{getLength:function(){return e.length},getElementAtIndex:function(t){return e.charCodeAt(t)}}}function Y(e,t,n){return new X(G(e),G(t)).ComputeDiff(n)}var z,J=function(){function e(){}return e.Assert=function(e,t){if(!e)throw new Error(t)},e}(),$=function(){function e(){}return e.Copy=function(e,t,n,r,i){for(var o=0;o<i;o++)n[r+o]=e[t+o]},e}(),Q=1447,Z=function(){function e(){this.m_changes=[],this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE,this.m_originalCount=0,this.m_modifiedCount=0}return e.prototype.MarkNextChange=function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new H(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),X=function(){function e(e,t,n){void 0===n&&(n=null),this.OriginalSequence=e,this.ModifiedSequence=t,this.ContinueProcessingPredicate=n,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e.prototype.ElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},e.prototype.OriginalElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.OriginalSequence.getElementAtIndex(t)},e.prototype.ModifiedElementsAreEqual=function(e,t){return this.ModifiedSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this.OriginalSequence.getLength()-1,0,this.ModifiedSequence.getLength()-1,e)},e.prototype._ComputeDiff=function(e,t,n,r,i){var o=[!1],a=this.ComputeDiffRecursive(e,t,n,r,o);return i?this.PrettifyChanges(a):a},e.prototype.ComputeDiffRecursive=function(e,t,n,r,i){i[0]=!1;while(e<=t&&n<=r&&this.ElementsAreEqual(e,n))e++,n++;while(t>=e&&r>=n&&this.ElementsAreEqual(t,r))t--,r--;if(e>t||n>r){var o=void 0;return n<=r?(J.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new H(e,0,n,r-n+1)]):e<=t?(J.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new H(e,t-e+1,n,0)]):(J.Assert(e===t+1,"originalStart should only be one more than originalEnd"),J.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}var a=[0],s=[0],u=this.ComputeRecursionPoint(e,t,n,r,a,s,i),l=a[0],c=s[0];if(null!==u)return u;if(!i[0]){var h=this.ComputeDiffRecursive(e,l,n,c,i),d=[];return d=i[0]?[new H(l+1,t-(l+1)+1,c+1,r-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,r,i),this.ConcatenateChanges(h,d)}return[new H(e,t-e+1,n,r-n+1)]},e.prototype.WALKTRACE=function(e,t,n,r,i,o,a,s,u,l,c,h,d,f,p,g,m,b){var _,v=null,y=null,w=new Z,C=t,T=n,E=d[0]-g[0]-r,k=Number.MIN_VALUE,x=this.m_forwardHistory.length-1;do{_=E+e,_===C||_<T&&u[_-1]<u[_+1]?(c=u[_+1],f=c-E-r,c<k&&w.MarkNextChange(),k=c,w.AddModifiedElement(c+1,f),E=_+1-e):(c=u[_-1]+1,f=c-E-r,c<k&&w.MarkNextChange(),k=c-1,w.AddOriginalElement(c,f+1),E=_-1-e),x>=0&&(u=this.m_forwardHistory[x],e=u[0],C=1,T=u.length-1)}while(--x>=-1);if(v=w.getReverseChanges(),b[0]){var S=d[0]+1,A=g[0]+1;if(null!==v&&v.length>0){var L=v[v.length-1];S=Math.max(S,L.getOriginalEnd()),A=Math.max(A,L.getModifiedEnd())}y=[new H(S,h-S+1,A,p-A+1)]}else{w=new Z,C=o,T=a,E=d[0]-g[0]-s,k=Number.MAX_VALUE,x=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{_=E+i,_===C||_<T&&l[_-1]>=l[_+1]?(c=l[_+1]-1,f=c-E-s,c>k&&w.MarkNextChange(),k=c+1,w.AddOriginalElement(c+1,f+1),E=_+1-i):(c=l[_-1],f=c-E-s,c>k&&w.MarkNextChange(),k=c,w.AddModifiedElement(c+1,f+1),E=_-1-i),x>=0&&(l=this.m_reverseHistory[x],i=l[0],C=1,T=l.length-1)}while(--x>=-1);y=w.getChanges()}return this.ConcatenateChanges(v,y)},e.prototype.ComputeRecursionPoint=function(e,t,n,r,i,o,a){var s,u=0,l=0,c=0,h=0,d=0,f=0;e--,n--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var p,g,m=t-e+(r-n),b=m+1,_=new Array(b),v=new Array(b),y=r-n,w=t-e,C=e-n,T=t-r,E=w-y,k=E%2===0;for(_[y]=e,v[w]=t,a[0]=!1,s=1;s<=m/2+1;s++){var x=0,S=0;for(c=this.ClipDiagonalBound(y-s,s,y,b),h=this.ClipDiagonalBound(y+s,s,y,b),p=c;p<=h;p+=2){u=p===c||p<h&&_[p-1]<_[p+1]?_[p+1]:_[p-1]+1,l=u-(p-y)-C,g=u;while(u<t&&l<r&&this.ElementsAreEqual(u+1,l+1))u++,l++;if(_[p]=u,u+l>x+S&&(x=u,S=l),!k&&Math.abs(p-w)<=s-1&&u>=v[p])return i[0]=u,o[0]=l,g<=v[p]&&Q>0&&s<=Q+1?this.WALKTRACE(y,c,h,C,w,d,f,T,_,v,u,t,i,l,r,o,k,a):null}var A=(x-e+(S-n)-s)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(x,this.OriginalSequence,A))return a[0]=!0,i[0]=x,o[0]=S,A>0&&Q>0&&s<=Q+1?this.WALKTRACE(y,c,h,C,w,d,f,T,_,v,u,t,i,l,r,o,k,a):(e++,n++,[new H(e,t-e+1,n,r-n+1)]);for(d=this.ClipDiagonalBound(w-s,s,w,b),f=this.ClipDiagonalBound(w+s,s,w,b),p=d;p<=f;p+=2){u=p===d||p<f&&v[p-1]>=v[p+1]?v[p+1]-1:v[p-1],l=u-(p-w)-T,g=u;while(u>e&&l>n&&this.ElementsAreEqual(u,l))u--,l--;if(v[p]=u,k&&Math.abs(p-y)<=s&&u<=_[p])return i[0]=u,o[0]=l,g>=_[p]&&Q>0&&s<=Q+1?this.WALKTRACE(y,c,h,C,w,d,f,T,_,v,u,t,i,l,r,o,k,a):null}if(s<=Q){var L=new Array(h-c+2);L[0]=y-c+1,$.Copy(_,c,L,1,h-c+1),this.m_forwardHistory.push(L),L=new Array(f-d+2),L[0]=w-d+1,$.Copy(v,d,L,1,f-d+1),this.m_reverseHistory.push(L)}}return this.WALKTRACE(y,c,h,C,w,d,f,T,_,v,u,t,i,l,r,o,k,a)},e.prototype.PrettifyChanges=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=t<e.length-1?e[t+1].originalStart:this.OriginalSequence.getLength(),i=t<e.length-1?e[t+1].modifiedStart:this.ModifiedSequence.getLength(),o=n.originalLength>0,a=n.modifiedLength>0;while(n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!a||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength)))n.originalStart++,n.modifiedStart++;var s=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],s)&&(e[t]=s[0],e.splice(t+1,1),t--)}for(t=e.length-1;t>=0;t--){n=e[t],r=0,i=0;if(t>0){var u=e[t-1];u.originalLength>0&&(r=u.originalStart+u.originalLength),u.modifiedLength>0&&(i=u.modifiedStart+u.modifiedLength)}o=n.originalLength>0,a=n.modifiedLength>0;for(var l=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),h=1;;h++){var d=n.originalStart-h,f=n.modifiedStart-h;if(d<r||f<i)break;if(o&&!this.OriginalElementsAreEqual(d,d+n.originalLength))break;if(a&&!this.ModifiedElementsAreEqual(f,f+n.modifiedLength))break;var p=this._boundaryScore(d,n.originalLength,f,n.modifiedLength);p>c&&(c=p,l=h)}n.originalStart-=l,n.modifiedStart-=l}return e},e.prototype._OriginalIsBoundary=function(e){if(e<=0||e>=this.OriginalSequence.getLength()-1)return!0;var t=this.OriginalSequence.getElementAtIndex(e);return"string"===typeof t&&/^\s*$/.test(t)},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){if(e<=0||e>=this.ModifiedSequence.getLength()-1)return!0;var t=this.ModifiedSequence.getElementAtIndex(e);return"string"===typeof t&&/^\s*$/.test(t)},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,r){var i=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(n,r)?1:0;return i+o},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var r=new Array(e.length+t.length-1);return $.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],$.Copy(t,1,r,e.length,t.length-1),r}r=new Array(e.length+t.length);return $.Copy(e,0,r,0,e.length),$.Copy(t,0,r,e.length,t.length),r},e.prototype.ChangesOverlap=function(e,t,n){if(J.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),J.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){var r=e.originalStart,i=e.originalLength,o=e.modifiedStart,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 H(r,i,o,a),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,r){if(e>=0&&e<r)return e;var i=n,o=r-n-1,a=t%2===0;if(e<0){var s=i%2===0;return a===s?0:1}var u=o%2===0;return a===u?r-1:r-2},e}(),ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),te=/^\w[\w\d+.-]*$/,ne=/^\//,re=/^\/\//,ie=!0;function oe(e){if(!e.scheme){if(ie)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');console.warn('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}')}if(e.scheme&&!te.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!ne.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(re.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 ae(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ue&&(t=ue+t):t=ue;break}return t}var se="",ue="/",le=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,ce=function(){function e(e,t,n,r,i){"object"===typeof e?(this.scheme=e.scheme||se,this.authority=e.authority||se,this.path=e.path||se,this.query=e.query||se,this.fragment=e.fragment||se):(this.scheme=e||se,this.authority=t||se,this.path=ae(this.scheme,n||se),this.query=r||se,this.fragment=i||se,oe(this))}return e.isUri=function(t){return t instanceof e||!!t&&("string"===typeof t.authority&&"string"===typeof t.fragment&&"string"===typeof t.path&&"string"===typeof t.query&&"string"===typeof t.scheme)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return ge(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=se),void 0===n?n=this.authority:null===n&&(n=se),void 0===r?r=this.path:null===r&&(r=se),void 0===i?i=this.query:null===i&&(i=se),void 0===o?o=this.fragment:null===o&&(o=se),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new he(t,n,r,i,o)},e.parse=function(e){var t=le.exec(e);return t?new he(t[2]||se,decodeURIComponent(t[4]||se),decodeURIComponent(t[5]||se),decodeURIComponent(t[7]||se),decodeURIComponent(t[9]||se)):new he(se,se,se,se,se)},e.file=function(e){var t=se;if(m["c"]&&(e=e.replace(/\\/g,ue)),e[0]===ue&&e[1]===ue){var n=e.indexOf(ue,2);-1===n?(t=e.substring(2),e=ue):(t=e.substring(2,n),e=e.substring(n)||ue)}return new he("file",t,e,se,se)},e.from=function(e){return new he(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),me(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new he(t);return n._fsPath=t.fsPath,n._formatted=t.external,n}return t},e}(),he=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return ee(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=ge(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?me(this,!0):(this._formatted||(this._formatted=me(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath),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},t}(ce),de=(z={},z[58]="%3A",z[47]="%2F",z[63]="%3F",z[35]="%23",z[91]="%5B",z[93]="%5D",z[64]="%40",z[33]="%21",z[36]="%24",z[38]="%26",z[39]="%27",z[40]="%28",z[41]="%29",z[42]="%2A",z[43]="%2B",z[44]="%2C",z[59]="%3B",z[61]="%3D",z[32]="%20",z);function fe(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=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));var a=de[o];void 0!==a?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=a):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function pe(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=de[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function ge(e){var t;return t=e.authority&&e.path.length>1&&"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)?e.path[1].toLowerCase()+e.path.substr(2):e.path,m["c"]&&(t=t.replace(/\//g,"\\")),t}function me(e,t){var n=t?pe:fe,r="",i=e.scheme,o=e.authority,a=e.path,s=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=ue,r+=ue),o){var l=o.indexOf("@");if(-1!==l){var c=o.substr(0,l);o=o.substr(l+1),l=c.indexOf(":"),-1===l?r+=n(c,!1):(r+=n(c.substr(0,l),!1),r+=":",r+=n(c.substr(l+1),!1)),r+="@"}o=o.toLowerCase(),l=o.indexOf(":"),-1===l?r+=n(o,!1):(r+=n(o.substr(0,l),!1),r+=o.substr(l))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){var h=a.charCodeAt(1);h>=65&&h<=90&&(a="/"+String.fromCharCode(h+32)+":"+a.substr(3))}else if(a.length>=2&&58===a.charCodeAt(1)){h=a.charCodeAt(0);h>=65&&h<=90&&(a=String.fromCharCode(h+32)+":"+a.substr(2))}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),u&&(r+="#",r+=t?u:fe(u,!1)),r}var be=function(){function e(e,t){this.lineNumber=e,this.column=t}return e.prototype.with=function(t,n){return void 0===t&&(t=this.lineNumber),void 0===n&&(n=this.column),t===this.lineNumber&&n===this.column?this:new e(t,n)},e.prototype.delta=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),this.with(this.lineNumber+e,this.column+t)},e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column},e.prototype.isBeforeOrEqual=function(t){return e.isBeforeOrEqual(this,t)},e.isBeforeOrEqual=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column},e.compare=function(e,t){var n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){var i=0|e.column,o=0|t.column;return i-o}return n-r},e.prototype.clone=function(){return new e(this.lineNumber,this.column)},e.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},e.lift=function(t){return new e(t.lineNumber,t.column)},e.isIPosition=function(e){return e&&"number"===typeof e.lineNumber&&"number"===typeof e.column},e}(),_e=function(){function e(e,t,n,r){e>n||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)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var r,i,o,a;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(o=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,a=t.endColumn),new e(r,i,o,a)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var r=t.startLineNumber,i=t.startColumn,o=t.endLineNumber,a=t.endColumn,s=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,c=n.endColumn;return r<s?(r=s,i=u):r===s&&(i=Math.max(i,u)),o>l?(o=l,a=c):o===l&&(a=Math.min(a,c)),r>o||r===o&&i>a?null:new e(r,i,o,a)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},e.prototype.getEndPosition=function(){return new be(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new be(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)},e.prototype.setStartPosition=function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn},e.areIntersectingOrTouching=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)},e.areIntersecting=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)},e.compareRangesUsingStarts=function(e,t){if(e&&t){var n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){var i=0|e.startColumn,o=0|t.startColumn;if(i===o){var a=0|e.endLineNumber,s=0|t.endLineNumber;if(a===s){var u=0|e.endColumn,l=0|t.endColumn;return u-l}return a-s}return i-o}return n-r}var c=e?1:0,h=t?1:0;return c-h},e.compareRangesUsingEnds=function(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber},e.spansMultipleLines=function(e){return e.endLineNumber>e.startLineNumber},e}();function ve(e){for(var t=0,n=e.length;t<n;t++){var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}return-1}function ye(e,t){void 0===t&&(t=e.length-1);for(var n=t;n>=0;n--){var r=e.charCodeAt(n);if(32!==r&&9!==r)return n}return-1}String.fromCharCode(65279);var we=5e3,Ce=3;function Te(e,t,n,r){var i=new X(e,t,n);return i.ComputeDiff(r)}var Ee=function(){function e(t){for(var n=[],r=[],i=0,o=t.length;i<o;i++)n[i]=e._getFirstNonBlankColumn(t[i],1),r[i]=e._getLastNonBlankColumn(t[i],1);this._lines=t,this._startColumns=n,this._endColumns=r}return e.prototype.getLength=function(){return this._lines.length},e.prototype.getElementAtIndex=function(e){return this._lines[e].substring(this._startColumns[e]-1,this._endColumns[e]-1)},e.prototype.getStartLineNumber=function(e){return e+1},e.prototype.getEndLineNumber=function(e){return e+1},e._getFirstNonBlankColumn=function(e,t){var n=ve(e);return-1===n?t:n+1},e._getLastNonBlankColumn=function(e,t){var n=ye(e);return-1===n?t:n+2},e.prototype.getCharSequence=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=t;s<=n;s++)for(var u=this._lines[s],l=e?this._startColumns[s]:1,c=e?this._endColumns[s]:u.length+1,h=l;h<c;h++)r[a]=u.charCodeAt(h-1),i[a]=s+1,o[a]=h,a++;return new ke(r,i,o)},e}(),ke=function(){function e(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}return e.prototype.getLength=function(){return this._charCodes.length},e.prototype.getElementAtIndex=function(e){return this._charCodes[e]},e.prototype.getStartLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getStartColumn=function(e){return this._columns[e]},e.prototype.getEndLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getEndColumn=function(e){return this._columns[e]+1},e}(),xe=function(){function e(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}return e.createFromDiffChange=function(t,n,r){var i,o,a,s,u,l,c,h;return 0===t.originalLength?(i=0,o=0,a=0,s=0):(i=n.getStartLineNumber(t.originalStart),o=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),s=n.getEndColumn(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=0,l=0,c=0,h=0):(u=r.getStartLineNumber(t.modifiedStart),l=r.getStartColumn(t.modifiedStart),c=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),h=r.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new e(i,o,a,s,u,l,c,h)},e}();function Se(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],r=1,i=e.length;r<i;r++){var o=e[r],a=o.originalStart-(n.originalStart+n.originalLength),s=o.modifiedStart-(n.modifiedStart+n.modifiedLength),u=Math.min(a,s);u<Ce?(n.originalLength=o.originalStart+o.originalLength-n.originalStart,n.modifiedLength=o.modifiedStart+o.modifiedLength-n.modifiedStart):(t.push(o),n=o)}return t}var Ae=function(){function e(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}return e.createFromDiffResult=function(t,n,r,i,o,a,s){var u,l,c,h,d=void 0;if(0===n.originalLength?(u=r.getStartLineNumber(n.originalStart)-1,l=0):(u=r.getStartLineNumber(n.originalStart),l=r.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(c=i.getStartLineNumber(n.modifiedStart)-1,h=0):(c=i.getStartLineNumber(n.modifiedStart),h=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&0!==n.originalLength&&0!==n.modifiedLength&&o()){var f=r.getCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),p=i.getCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),g=Te(f,p,o,!0);s&&(g=Se(g)),d=[];for(var m=0,b=g.length;m<b;m++)d.push(xe.createFromDiffChange(g[m],f,p))}return new e(u,l,c,h,d)},e}(),Le=function(){function e(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.maximumRunTimeMs=we,this.originalLines=e,this.modifiedLines=t,this.original=new Ee(e),this.modified=new Ee(t)}return e.prototype.computeDiff=function(){if(1===this.original.getLength()&&0===this.original.getElementAtIndex(0).length)return[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.getLength(),charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}];if(1===this.modified.getLength()&&0===this.modified.getElementAtIndex(0).length)return[{originalStartLineNumber:1,originalEndLineNumber:this.original.getLength(),modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}];this.computationStartTime=(new Date).getTime();var e=Te(this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldMakePrettyDiff);if(this.shouldIgnoreTrimWhitespace){for(var t=[],n=0,r=e.length;n<r;n++)t.push(Ae.createFromDiffResult(this.shouldIgnoreTrimWhitespace,e[n],this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return t}for(var i=[],o=0,a=0,s=(n=-1,e.length);n<s;n++){var u=n+1<s?e[n+1]:null,l=u?u.originalStart:this.originalLines.length,c=u?u.modifiedStart:this.modifiedLines.length;while(o<l&&a<c){var h=this.originalLines[o],d=this.modifiedLines[a];if(h!==d){var f=Ee._getFirstNonBlankColumn(h,1),p=Ee._getFirstNonBlankColumn(d,1);while(f>1&&p>1){var g=h.charCodeAt(f-2),m=d.charCodeAt(p-2);if(g!==m)break;f--,p--}(f>1||p>1)&&this._pushTrimWhitespaceCharChange(i,o+1,1,f,a+1,1,p);var b=Ee._getLastNonBlankColumn(h,1),_=Ee._getLastNonBlankColumn(d,1),v=h.length+1,y=d.length+1;while(b<v&&_<y){g=h.charCodeAt(b-1),m=h.charCodeAt(_-1);if(g!==m)break;b++,_++}(b<v||_<y)&&this._pushTrimWhitespaceCharChange(i,o+1,b,v,a+1,_,y)}o++,a++}u&&(i.push(Ae.createFromDiffResult(this.shouldIgnoreTrimWhitespace,u,this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),o+=u.originalLength,a+=u.modifiedLength)}return i},e.prototype._pushTrimWhitespaceCharChange=function(e,t,n,r,i,o,a){if(!this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,a)){var s=void 0;this.shouldComputeCharChanges&&(s=[new xe(t,n,t,r,i,o,i,a)]),e.push(new Ae(t,t,i,i,s))}},e.prototype._mergeTrimWhitespaceCharChange=function(e,t,n,r,i,o,a){var s=e.length;if(0===s)return!1;var u=e[s-1];return 0!==u.originalEndLineNumber&&0!==u.modifiedEndLineNumber&&(u.originalEndLineNumber+1===t&&u.modifiedEndLineNumber+1===i&&(u.originalEndLineNumber=t,u.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&u.charChanges.push(new xe(t,n,t,r,i,o,i,a)),!0))},e.prototype._continueProcessingPredicate=function(){if(0===this.maximumRunTimeMs)return!0;var e=(new Date).getTime();return e-this.computationStartTime<this.maximumRunTimeMs},e}(),Ne=function(){function e(e,t,n){for(var r=new Uint8Array(e*t),i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}return e.prototype.get=function(e,t){return this._data[e*this.cols+t]},e.prototype.set=function(e,t,n){this._data[e*this.cols+t]=n},e}();function Oe(e){return e<0?0:e>255?255:0|e}function Pe(e){return e<0?0:e>4294967295?4294967295:0|e}var Ie=function(){function e(e,t){this.index=e,this.remainder=t}return e}(),qe=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.getCount=function(){return this.values.length},e.prototype.insertValues=function(e,t){e=Pe(e);var 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<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,t){return e=Pe(e),t=Pe(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)},e.prototype.removeValues=function(e,t){e=Pe(e),t=Pe(t);var n=this.values,r=this.prefixSum;if(e>=n.length)return!1;var 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<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Pe(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(var 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]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();var 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<o)n=r-1;else{if(!(e>=i))break;t=r+1}return new Ie(r,e-o)},e}(),Re=(function(){function e(e){this._cacheAccumulatedValueStart=0,this._cache=null,this._actual=new qe(e),this._bustCache()}e.prototype._bustCache=function(){this._cacheAccumulatedValueStart=0,this._cache=null},e.prototype.insertValues=function(e,t){this._actual.insertValues(e,t)&&this._bustCache()},e.prototype.changeValue=function(e,t){this._actual.changeValue(e,t)&&this._bustCache()},e.prototype.removeValues=function(e,t){this._actual.removeValues(e,t)&&this._bustCache()},e.prototype.getTotalValue=function(){return this._actual.getTotalValue()},e.prototype.getAccumulatedValue=function(e){return this._actual.getAccumulatedValue(e)},e.prototype.getIndexOf=function(e){if(e=Math.floor(e),null!==this._cache){var t=e-this._cacheAccumulatedValueStart;if(t>=0&&t<this._cache.length)return this._cache[t]}return this._actual.getIndexOf(e)},e.prototype.warmUpCache=function(e,t){for(var n=[],r=e;r<=t;r++)n[r-e]=this.getIndexOf(r);this._cache=n,this._cacheAccumulatedValueStart=e}}(),function(){function e(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=e.changes,n=0,r=t.length;n<r;n++){var i=t[n];this._acceptDeleteRange(i.range),this._acceptInsertText(new be(i.range.startLineNumber,i.range.startColumn),i.text)}this._versionId=e.versionId},e.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t),r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new qe(n)}},e.prototype._setLineText=function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}},e.prototype._acceptInsertText=function(e,t){if(0!==t.length){var n=t.split(/\r\n|\r|\n/);if(1!==n.length){n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);for(var r=new Uint32Array(n.length-1),i=1;i<n.length;i++)this._lines.splice(e.lineNumber+i-1,0,n[i]),r[i-1]=n[i].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}else this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1))}},e}()),De="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function Ue(e){void 0===e&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0;n<De.length;n++)e.indexOf(De[n])>=0||(t+="\\"+De[n]);return t+="\\s]+)",new RegExp(t,"g")}var Me=Ue();function Ve(e){var t=Me;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}function We(e,t,n,r){var i,o=e-1-r,a=n.lastIndexOf(" ",o-1)+1,s=n.indexOf(" ",o);-1===s&&(s=n.length),t.lastIndex=a;while(i=t.exec(n)){var u=i.index||0;if(u<=o&&t.lastIndex>=o)return{word:i[0],startColumn:r+1+u,endColumn:r+1+t.lastIndex}}return null}function je(e,t,n,r){var i,o=e-1-r;t.lastIndex=0;while(i=t.exec(n)){var a=i.index||0;if(a>o)return null;if(t.lastIndex>=o)return{word:i[0],startColumn:r+1+a,endColumn:r+1+t.lastIndex}}return null}function Be(e,t,n,r){t.lastIndex=0;var i=t.exec(n);if(!i)return null;var o=i[0].indexOf(" ")>=0?je(e,t,n,r):We(e,t,n,r);return t.lastIndex=0,o}var Fe=function(){function e(t){var n=Oe(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}return e._createAsciiMap=function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t},e.prototype.set=function(e,t){var n=Oe(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}(),Ke=(function(){function e(){this._actual=new Fe(0)}e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)}}(),function(){function e(e){for(var t=0,n=0,r=0,i=e.length;r<i;r++){var o=e[r],a=o[0],s=o[1],u=o[2];s>t&&(t=s),a>n&&(n=a),u>n&&(n=u)}t++,n++;var l=new Ne(n,t,0);for(r=0,i=e.length;r<i;r++){var c=e[r];a=c[0],s=c[1],u=c[2];l.set(a,s,u)}this._states=l,this._maxCharCode=t}return e.prototype.nextState=function(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)},e}()),He=null;function Ge(){return null===He&&(He=new Ke([[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]])),He}var Ye=null;function ze(){if(null===Ye){Ye=new Fe(0);for(var e=" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…",t=0;t<e.length;t++)Ye.set(e.charCodeAt(t),1);var n=".,;";for(t=0;t<n.length;t++)Ye.set(n.charCodeAt(t),2)}return Ye}var Je=function(){function e(){}return e._createLink=function(e,t,n,r,i){var o=i-1;do{var a=t.charCodeAt(o),s=e.get(a);if(2!==s)break;o--}while(o>r);if(r>0){var u=t.charCodeAt(r-1),l=t.charCodeAt(o);(40===u&&41===l||91===u&&93===l||123===u&&125===l)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}},e.computeLinks=function(t){for(var n=Ge(),r=ze(),i=[],o=1,a=t.getLineCount();o<=a;o++){var s=t.getLineContent(o),u=s.length,l=0,c=0,h=0,d=1,f=!1,p=!1,g=!1;while(l<u){var m=!1,b=s.charCodeAt(l);if(13===d){var _=void 0;switch(b){case 40:f=!0,_=0;break;case 41:_=f?0:1;break;case 91:p=!0,_=0;break;case 93:_=p?0:1;break;case 123:g=!0,_=0;break;case 125:_=g?0:1;break;case 39:_=34===h||96===h?0:1;break;case 34:_=39===h||96===h?0:1;break;case 96:_=39===h||34===h?0:1;break;default:_=r.get(b)}1===_&&(i.push(e._createLink(r,s,o,c,l)),m=!0)}else if(12===d){_=r.get(b);1===_?m=!0:d=13}else d=n.nextState(d,b),0===d&&(m=!0);m&&(d=1,f=!1,p=!1,g=!1,c=l+1,h=b),l++}13===d&&i.push(e._createLink(r,s,o,c,u))}return i},e}();function $e(e){return e&&"function"===typeof e.getLineCount&&"function"===typeof e.getLineContent?Je.computeLinks(e):[]}var Qe,Ze=function(){function e(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return e.prototype.navigateValueSet=function(e,t,n,r,i){if(e&&t){var o=this.doNavigateValueSet(t,i);if(o)return{range:e,value:o}}if(n&&r){o=this.doNavigateValueSet(r,i);if(o)return{range:n,value:o}}return null},e.prototype.doNavigateValueSet=function(e,t){var n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)},e.prototype.numberReplace=function(e,t){var n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null},e.prototype.textReplace=function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)},e.prototype.valueSetsReplace=function(e,t,n){for(var r=null,i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r},e.prototype.valueSetReplace=function(e,t,n){var r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null},e.INSTANCE=new e,e}(),Xe=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),et=new Xe,tt=new Xe,nt=new Xe;function rt(e,t){var n=(65535&t)<<16>>>0;return(e|n)>>>0}(function(){function e(e,t,n,r){void 0===n&&(n=t),void 0===r&&(r=n),et.define(e,t),tt.define(e,n),nt.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")})(),function(e){function t(e){return et.keyCodeToStr(e)}function n(e){return et.strToKeyCode(e)}function r(e){return tt.keyCodeToStr(e)}function i(e){return nt.keyCodeToStr(e)}function o(e){return tt.strToKeyCode(e)||nt.strToKeyCode(e)}e.toString=t,e.fromString=n,e.toUserSettingsUS=r,e.toUserSettingsGeneral=i,e.fromUserSettings=o}(Qe||(Qe={}));(function(){function e(e,t,n,r,i){this.type=1,this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}e.prototype.equals=function(e){return 1===e.type&&(this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode)},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}})(),function(){function e(e,t){this.type=2,this.firstPart=e,this.chordPart=t}}(),function(){function e(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}}(),function(){function e(){}}();var it,ot,at,st,ut,lt,ct,ht,dt,ft,pt,gt,mt,bt,_t,vt,yt,wt,Ct,Tt,Et,kt,xt,St,At,Lt,Nt,Ot=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pt=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.selectionStartLineNumber=t,o.selectionStartColumn=n,o.positionLineNumber=r,o.positionColumn=i,o}return Ot(t,e),t.prototype.clone=function(){return new t(this.selectionStartLineNumber,this.selectionStartColumn,this.positionLineNumber,this.positionColumn)},t.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(e){return t.selectionsEqual(this,e)},t.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},t.prototype.setEndPosition=function(e,n){return 0===this.getDirection()?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new be(this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(e,n){return 0===this.getDirection()?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)},t.fromPositions=function(e,n){return void 0===n&&(n=e),new t(e.lineNumber,e.column,n.lineNumber,n.column)},t.liftSelection=function(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},t.selectionsArrEqual=function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0},t.isISelection=function(e){return e&&"number"===typeof e.selectionStartLineNumber&&"number"===typeof e.selectionStartColumn&&"number"===typeof e.positionLineNumber&&"number"===typeof e.positionColumn},t.createWithDirection=function(e,n,r,i,o){return 0===o?new t(e,n,r,i):new t(r,i,e,n)},t}(_e),It=function(){function e(e,t,n){this.offset=0|e,this.type=t,this.language=n}return e.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},e}();(function(){function e(e,t){this.tokens=e,this.endState=t}})(),function(){function e(e,t){this.tokens=e,this.endState=t}}();(function(e){e[e["Unnecessary"]=1]="Unnecessary"})(it||(it={})),function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"}(ot||(ot={})),function(e){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["KEY_0"]=21]="KEY_0",e[e["KEY_1"]=22]="KEY_1",e[e["KEY_2"]=23]="KEY_2",e[e["KEY_3"]=24]="KEY_3",e[e["KEY_4"]=25]="KEY_4",e[e["KEY_5"]=26]="KEY_5",e[e["KEY_6"]=27]="KEY_6",e[e["KEY_7"]=28]="KEY_7",e[e["KEY_8"]=29]="KEY_8",e[e["KEY_9"]=30]="KEY_9",e[e["KEY_A"]=31]="KEY_A",e[e["KEY_B"]=32]="KEY_B",e[e["KEY_C"]=33]="KEY_C",e[e["KEY_D"]=34]="KEY_D",e[e["KEY_E"]=35]="KEY_E",e[e["KEY_F"]=36]="KEY_F",e[e["KEY_G"]=37]="KEY_G",e[e["KEY_H"]=38]="KEY_H",e[e["KEY_I"]=39]="KEY_I",e[e["KEY_J"]=40]="KEY_J",e[e["KEY_K"]=41]="KEY_K",e[e["KEY_L"]=42]="KEY_L",e[e["KEY_M"]=43]="KEY_M",e[e["KEY_N"]=44]="KEY_N",e[e["KEY_O"]=45]="KEY_O",e[e["KEY_P"]=46]="KEY_P",e[e["KEY_Q"]=47]="KEY_Q",e[e["KEY_R"]=48]="KEY_R",e[e["KEY_S"]=49]="KEY_S",e[e["KEY_T"]=50]="KEY_T",e[e["KEY_U"]=51]="KEY_U",e[e["KEY_V"]=52]="KEY_V",e[e["KEY_W"]=53]="KEY_W",e[e["KEY_X"]=54]="KEY_X",e[e["KEY_Y"]=55]="KEY_Y",e[e["KEY_Z"]=56]="KEY_Z",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["US_SEMICOLON"]=80]="US_SEMICOLON",e[e["US_EQUAL"]=81]="US_EQUAL",e[e["US_COMMA"]=82]="US_COMMA",e[e["US_MINUS"]=83]="US_MINUS",e[e["US_DOT"]=84]="US_DOT",e[e["US_SLASH"]=85]="US_SLASH",e[e["US_BACKTICK"]=86]="US_BACKTICK",e[e["US_OPEN_SQUARE_BRACKET"]=87]="US_OPEN_SQUARE_BRACKET",e[e["US_BACKSLASH"]=88]="US_BACKSLASH",e[e["US_CLOSE_SQUARE_BRACKET"]=89]="US_CLOSE_SQUARE_BRACKET",e[e["US_QUOTE"]=90]="US_QUOTE",e[e["OEM_8"]=91]="OEM_8",e[e["OEM_102"]=92]="OEM_102",e[e["NUMPAD_0"]=93]="NUMPAD_0",e[e["NUMPAD_1"]=94]="NUMPAD_1",e[e["NUMPAD_2"]=95]="NUMPAD_2",e[e["NUMPAD_3"]=96]="NUMPAD_3",e[e["NUMPAD_4"]=97]="NUMPAD_4",e[e["NUMPAD_5"]=98]="NUMPAD_5",e[e["NUMPAD_6"]=99]="NUMPAD_6",e[e["NUMPAD_7"]=100]="NUMPAD_7",e[e["NUMPAD_8"]=101]="NUMPAD_8",e[e["NUMPAD_9"]=102]="NUMPAD_9",e[e["NUMPAD_MULTIPLY"]=103]="NUMPAD_MULTIPLY",e[e["NUMPAD_ADD"]=104]="NUMPAD_ADD",e[e["NUMPAD_SEPARATOR"]=105]="NUMPAD_SEPARATOR",e[e["NUMPAD_SUBTRACT"]=106]="NUMPAD_SUBTRACT",e[e["NUMPAD_DECIMAL"]=107]="NUMPAD_DECIMAL",e[e["NUMPAD_DIVIDE"]=108]="NUMPAD_DIVIDE",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["MAX_VALUE"]=112]="MAX_VALUE"}(at||(at={})),function(e){e[e["LTR"]=0]="LTR",e[e["RTL"]=1]="RTL"}(st||(st={})),function(e){e[e["Auto"]=1]="Auto",e[e["Hidden"]=2]="Hidden",e[e["Visible"]=3]="Visible"}(ut||(ut={})),function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"}(lt||(lt={})),function(e){e[e["TextDefined"]=0]="TextDefined",e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(ct||(ct={})),function(e){e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(ht||(ht={})),function(e){e[e["LF"]=0]="LF",e[e["CRLF"]=1]="CRLF"}(dt||(dt={})),function(e){e[e["AlwaysGrowsWhenTypingAtEdges"]=0]="AlwaysGrowsWhenTypingAtEdges",e[e["NeverGrowsWhenTypingAtEdges"]=1]="NeverGrowsWhenTypingAtEdges",e[e["GrowsOnlyWhenTypingBefore"]=2]="GrowsOnlyWhenTypingBefore",e[e["GrowsOnlyWhenTypingAfter"]=3]="GrowsOnlyWhenTypingAfter"}(ft||(ft={})),function(e){e[e["Smooth"]=0]="Smooth",e[e["Immediate"]=1]="Immediate"}(pt||(pt={})),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"}(gt||(gt={})),function(e){e[e["None"]=0]="None",e[e["Small"]=1]="Small",e[e["Large"]=2]="Large",e[e["SmallBlocks"]=3]="SmallBlocks",e[e["LargeBlocks"]=4]="LargeBlocks"}(mt||(mt={})),function(e){e[e["None"]=0]="None",e[e["Same"]=1]="Same",e[e["Indent"]=2]="Indent",e[e["DeepIndent"]=3]="DeepIndent"}(bt||(bt={})),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"}(_t||(_t={})),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"}(vt||(vt={})),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"}(yt||(yt={})),function(e){e[e["EXACT"]=0]="EXACT",e[e["ABOVE"]=1]="ABOVE",e[e["BELOW"]=2]="BELOW"}(wt||(wt={})),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"}(Ct||(Ct={})),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"}(Tt||(Tt={})),function(e){e[e["None"]=0]="None",e[e["Indent"]=1]="Indent",e[e["IndentOutdent"]=2]="IndentOutdent",e[e["Outdent"]=3]="Outdent"}(Et||(Et={})),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["Snippet"]=25]="Snippet"}(kt||(kt={})),function(e){e[e["KeepWhitespace"]=1]="KeepWhitespace",e[e["InsertAsSnippet"]=4]="InsertAsSnippet"}(xt||(xt={})),function(e){e[e["Invoke"]=0]="Invoke",e[e["TriggerCharacter"]=1]="TriggerCharacter",e[e["TriggerForIncompleteCompletions"]=2]="TriggerForIncompleteCompletions"}(St||(St={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"}(At||(At={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(Lt||(Lt={})),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"}(Nt||(Nt={}));var qt=function(){function e(){}return e.chord=function(e,t){return rt(e,t)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();function Rt(){return{editor:void 0,languages:void 0,CancellationTokenSource:O,Emitter:k,KeyCode:at,KeyMod:qt,Position:be,Range:_e,Selection:Pt,SelectionDirection:st,MarkerSeverity:ot,MarkerTag:it,Promise:r["b"],Uri:ce,Token:It}}var Dt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(t,e),Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(e){return this._lines[e-1]},t.prototype.getWordAtPosition=function(e,t){var n=Be(e.column,Ve(t),this._lines[e.lineNumber-1],0);return n?new _e(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},t.prototype.getWordUntilPosition=function(e,t){var n=this.getWordAtPosition(e,t);return n?{word:this._lines[e.lineNumber-1].substring(n.startColumn-1,e.column-1),startColumn:n.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},t.prototype.createWordIterator=function(e){var t,n,r=this,i=0,o=0,a=[],s=function(){if(o<a.length){var u=n.substring(a[o].start,a[o].end);return o+=1,t?t.value=u:t={done:!1,value:u},t}return i>=r._lines.length?y:(n=r._lines[i],a=r._wordenize(n,e),o=0,i+=1,s())};return{next:s}},t.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],r=this._wordenize(n,t),i=[],o=0,a=r;o<a.length;o++){var s=a[o];i.push({word:n.substring(s.start,s.end),startColumn:s.start+1,endColumn:s.end+1})}return i},t.prototype._wordenize=function(e,t){var n,r=[];t.lastIndex=0;while(n=t.exec(e)){if(0===n[0].length)break;r.push({start:n.index,end:n.index+n[0].length})}return r},t.prototype.getValueInRange=function(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);var t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(var o=n+1;o<r;o++)i.push(this._lines[o]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)},t.prototype.offsetAt=function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)},t.prototype.positionAt=function(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();var t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}},t.prototype._validateRange=function(e){var t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e},t.prototype._validatePosition=function(e){if(!be.isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{var i=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>i&&(n=i,r=!0)}return r?{lineNumber:t,column:n}:e},t}(Re),Mt=function(){function e(e){this._foreignModuleFactory=e,this._foreignModule=null}return e.prototype.computeDiff=function(e,t,n){var r=this._getModel(e),i=this._getModel(t);if(!r||!i)return Promise.resolve(null);var o=r.getLinesContent(),a=i.getLinesContent(),s=new Le(o,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0}),u=s.computeDiff(),l=!(u.length>0)&&this._modelsAreIdentical(r,i);return Promise.resolve({identical:l,changes:u})},e.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount(),r=t.getLineCount();if(n!==r)return!1;for(var i=1;i<=n;i++){var o=e.getLineContent(i),a=t.getLineContent(i);if(o!==a)return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){var r=this._getModel(t);if(!r)return Promise.resolve(n);var i=[],o=void 0;n=B(n,(function(e,t){if(e.range&&t.range)return _e.compareRangesUsingStarts(e.range,t.range);var n=e.range?0:1,r=t.range?0:1;return n-r}));for(var a=0,s=n;a<s.length;a++){var u=s[a],l=u.range,c=u.text,h=u.eol;if("number"===typeof h&&(o=h),l){var d=r.getValueInRange(l);if(c=c.replace(/\r\n|\n|\r/g,r.eol),d!==c)if(Math.max(c.length,d.length)>e._diffLimit)i.push({range:l,text:c});else for(var f=Y(d,c,!1),p=r.offsetAt(_e.lift(l).getStartPosition()),g=0,m=f;g<m.length;g++){var b=m[g],_=r.positionAt(p+b.originalStart),v=r.positionAt(p+b.originalStart+b.originalLength),y={text:c.substr(b.modifiedStart,b.modifiedLength),range:{startLineNumber:_.lineNumber,startColumn:_.column,endLineNumber:v.lineNumber,endColumn:v.column}};r.getValueInRange(y.range)!==y.text&&i.push(y)}}}return"number"===typeof o&&i.push({eol:o,text:void 0,range:void 0}),Promise.resolve(i)},e.prototype.computeLinks=function(e){var t=this._getModel(e);return t?Promise.resolve($e(t)):Promise.resolve(null)},e.prototype.textualSuggest=function(t,n,r,i){var o=this._getModel(t);if(!o)return Promise.resolve(null);var a=[],s=new RegExp(r,i),u=o.getWordUntilPosition(n,s),l=Object.create(null);l[u.word]=!0;for(var c=o.createWordIterator(s),h=c.next();!h.done&&a.length<=e._suggestionsLimit;h=c.next()){var d=h.value;l[d]||(l[d]=!0,isNaN(Number(d))&&a.push({kind:18,label:d,insertText:d,range:{startLineNumber:n.lineNumber,startColumn:u.startColumn,endLineNumber:n.lineNumber,endColumn:u.endColumn}}))}return Promise.resolve({suggestions:a})},e.prototype.computeWordRanges=function(e,t,n,r){var i=this._getModel(e);if(!i)return Promise.resolve(Object.create(null));for(var o=new RegExp(n,r),a=Object.create(null),s=t.startLineNumber;s<t.endLineNumber;s++)for(var u=i.getLineWords(s,o),l=0,c=u;l<c.length;l++){var h=c[l];if(isNaN(Number(h.word))){var d=a[h.word];d||(d=[],a[h.word]=d),d.push({startLineNumber:s,startColumn:h.startColumn,endLineNumber:s,endColumn:h.endColumn})}}return Promise.resolve(a)},e.prototype.navigateValueSet=function(e,t,n,r,i){var o=this._getModel(e);if(!o)return Promise.resolve(null);var a=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});var s=o.getValueInRange(t),u=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a);if(!u)return Promise.resolve(null);var l=o.getValueInRange(u),c=Ze.INSTANCE.navigateValueSet(t,s,u,l,n);return Promise.resolve(c)},e.prototype.loadForeignModule=function(e,t){var n=this,r={getMirrorModels:function(){return n._getModels()}};if(this._foreignModuleFactory){this._foreignModule=this._foreignModuleFactory(r,t);var i=[];for(var o in this._foreignModule)"function"===typeof this._foreignModule[o]&&i.push(o);return Promise.resolve(i)}return Promise.reject(new Error("Unexpected usage"))},e.prototype.fmr=function(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)}},e._diffLimit=1e4,e._suggestionsLimit=1e4,e}(),Vt=function(e){function t(t){var n=e.call(this,t)||this;return n._models=Object.create(null),n}return Dt(t,e),t.prototype.dispose=function(){this._models=Object.create(null)},t.prototype._getModel=function(e){return this._models[e]},t.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t},t.prototype.acceptNewModel=function(e){this._models[e.url]=new Ut(ce.parse(e.url),e.lines,e.EOL,e.versionId)},t.prototype.acceptModelChanged=function(e,t){if(this._models[e]){var n=this._models[e];n.onEvents(t)}},t.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},t}(Mt);"function"===typeof importScripts&&(m["a"].monaco=Rt());var Wt,jt,Bt=!1;function Ft(e){if(!Bt){Bt=!0;var t=new Vt(e),n=new j((function(e){self.postMessage(e)}),t);self.onmessage=function(e){n.onmessage(e.data)}}}function Kt(e,t){var n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var r=n[0];return"undefined"!==typeof t[r]?t[r]:e})),n}function Ht(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return Kt(t,n)}function Gt(e){return Ht}self.onmessage=function(e){Bt||Ft(null)},function(e){e[e["StartCommentTag"]=0]="StartCommentTag",e[e["Comment"]=1]="Comment",e[e["EndCommentTag"]=2]="EndCommentTag",e[e["StartTagOpen"]=3]="StartTagOpen",e[e["StartTagClose"]=4]="StartTagClose",e[e["StartTagSelfClose"]=5]="StartTagSelfClose",e[e["StartTag"]=6]="StartTag",e[e["EndTagOpen"]=7]="EndTagOpen",e[e["EndTagClose"]=8]="EndTagClose",e[e["EndTag"]=9]="EndTag",e[e["DelimiterAssign"]=10]="DelimiterAssign",e[e["AttributeName"]=11]="AttributeName",e[e["AttributeValue"]=12]="AttributeValue",e[e["StartDoctypeTag"]=13]="StartDoctypeTag",e[e["Doctype"]=14]="Doctype",e[e["EndDoctypeTag"]=15]="EndDoctypeTag",e[e["Content"]=16]="Content",e[e["Whitespace"]=17]="Whitespace",e[e["Unknown"]=18]="Unknown",e[e["Script"]=19]="Script",e[e["Styles"]=20]="Styles",e[e["EOS"]=21]="EOS"}(Wt||(Wt={})),function(e){e[e["WithinContent"]=0]="WithinContent",e[e["AfterOpeningStartTag"]=1]="AfterOpeningStartTag",e[e["AfterOpeningEndTag"]=2]="AfterOpeningEndTag",e[e["WithinDoctype"]=3]="WithinDoctype",e[e["WithinTag"]=4]="WithinTag",e[e["WithinEndTag"]=5]="WithinEndTag",e[e["WithinComment"]=6]="WithinComment",e[e["WithinScriptContent"]=7]="WithinScriptContent",e[e["WithinStyleContent"]=8]="WithinStyleContent",e[e["AfterAttributeName"]=9]="AfterAttributeName",e[e["BeforeAttributeValue"]=10]="BeforeAttributeValue"}(jt||(jt={}));var Yt=Gt(),zt=function(){function e(e,t){this.source=e,this.len=e.length,this.position=t}return e.prototype.eos=function(){return this.len<=this.position},e.prototype.getSource=function(){return this.source},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.goToEnd=function(){this.position=this.source.length},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){var t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceIfRegExp=function(e){var t=this.source.substr(this.position),n=t.match(e);return n?(this.position=this.position+n.index+n[0].length,n[0]):""},e.prototype.advanceUntilRegExp=function(e){var t=this.source.substr(this.position),n=t.match(e);return n?(this.position=this.position+n.index,n[0]):(this.goToEnd(),"")},e.prototype.advanceUntilChar=function(e){while(this.position<this.source.length){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1},e.prototype.advanceUntilChars=function(e){while(this.position+e.length<=this.source.length){for(var t=0;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1},e.prototype.skipWhitespace=function(){var e=this.advanceWhileChar((function(e){return e===sn||e===un||e===rn||e===an||e===on}));return e>0},e.prototype.advanceWhileChar=function(e){var t=this.position;while(this.position<this.len&&e(this.source.charCodeAt(this.position)))this.position++;return this.position-t},e}(),Jt="!".charCodeAt(0),$t="-".charCodeAt(0),Qt="<".charCodeAt(0),Zt=">".charCodeAt(0),Xt="/".charCodeAt(0),en="=".charCodeAt(0),tn='"'.charCodeAt(0),nn="'".charCodeAt(0),rn="\n".charCodeAt(0),on="\r".charCodeAt(0),an="\f".charCodeAt(0),sn=" ".charCodeAt(0),un="\t".charCodeAt(0),ln={"text/x-handlebars-template":!0};function cn(e,t,n){void 0===t&&(t=0),void 0===n&&(n=jt.WithinContent);var r,i,o,a,s,u=new zt(e,t),l=n,c=0,h=Wt.Unknown;function d(){return u.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function f(){return u.advanceIfRegExp(/^[^\s"'>/=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()}function p(e,t,n){return h=t,c=e,r=n,t}function g(){var e=u.pos(),t=l,n=m();return n!==Wt.EOS&&e===u.pos()?(console.log("Scanner.scan has not advanced at offset "+e+", state before: "+t+" after: "+l),u.advance(1),p(e,Wt.Unknown)):n}function m(){var e,t=u.pos();if(u.eos())return p(t,Wt.EOS);switch(l){case jt.WithinComment:return u.advanceIfChars([$t,$t,Zt])?(l=jt.WithinContent,p(t,Wt.EndCommentTag)):(u.advanceUntilChars([$t,$t,Zt]),p(t,Wt.Comment));case jt.WithinDoctype:return u.advanceIfChar(Zt)?(l=jt.WithinContent,p(t,Wt.EndDoctypeTag)):(u.advanceUntilChar(Zt),p(t,Wt.Doctype));case jt.WithinContent:if(u.advanceIfChar(Qt)){if(!u.eos()&&u.peekChar()===Jt){if(u.advanceIfChars([Jt,$t,$t]))return l=jt.WithinComment,p(t,Wt.StartCommentTag);if(u.advanceIfRegExp(/^!doctype/i))return l=jt.WithinDoctype,p(t,Wt.StartDoctypeTag)}return u.advanceIfChar(Xt)?(l=jt.AfterOpeningEndTag,p(t,Wt.EndTagOpen)):(l=jt.AfterOpeningStartTag,p(t,Wt.StartTagOpen))}return u.advanceUntilChar(Qt),p(t,Wt.Content);case jt.AfterOpeningEndTag:var n=d();return n.length>0?(l=jt.WithinEndTag,p(t,Wt.EndTag)):u.skipWhitespace()?p(t,Wt.Whitespace,Yt("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(l=jt.WithinEndTag,u.advanceUntilChar(Zt),t<u.pos()?p(t,Wt.Unknown,Yt("error.endTagNameExpected","End tag name expected.")):m());case jt.WithinEndTag:if(u.skipWhitespace())return p(t,Wt.Whitespace);if(u.advanceIfChar(Zt))return l=jt.WithinContent,p(t,Wt.EndTagClose);e=Yt("error.tagNameExpected","Closing bracket expected.");break;case jt.AfterOpeningStartTag:return o=d(),s=void 0,a=void 0,o.length>0?(i=!1,l=jt.WithinTag,p(t,Wt.StartTag)):u.skipWhitespace()?p(t,Wt.Whitespace,Yt("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(l=jt.WithinTag,u.advanceUntilChar(Zt),t<u.pos()?p(t,Wt.Unknown,Yt("error.startTagNameExpected","Start tag name expected.")):m());case jt.WithinTag:return u.skipWhitespace()?(i=!0,p(t,Wt.Whitespace)):i&&(a=f(),a.length>0)?(l=jt.AfterAttributeName,i=!1,p(t,Wt.AttributeName)):u.advanceIfChars([Xt,Zt])?(l=jt.WithinContent,p(t,Wt.StartTagSelfClose)):u.advanceIfChar(Zt)?(l="script"===o?s&&ln[s]?jt.WithinContent:jt.WithinScriptContent:"style"===o?jt.WithinStyleContent:jt.WithinContent,p(t,Wt.StartTagClose)):(u.advance(1),p(t,Wt.Unknown,Yt("error.unexpectedCharacterInTag","Unexpected character in tag.")));case jt.AfterAttributeName:return u.skipWhitespace()?(i=!0,p(t,Wt.Whitespace)):u.advanceIfChar(en)?(l=jt.BeforeAttributeValue,p(t,Wt.DelimiterAssign)):(l=jt.WithinTag,m());case jt.BeforeAttributeValue:if(u.skipWhitespace())return p(t,Wt.Whitespace);var r=u.advanceIfRegExp(/^[^\s"'`=<>\/]+/);if(r.length>0)return"type"===a&&(s=r),l=jt.WithinTag,i=!1,p(t,Wt.AttributeValue);var c=u.peekChar();return c===nn||c===tn?(u.advance(1),u.advanceUntilChar(c)&&u.advance(1),"type"===a&&(s=u.getSource().substring(t+1,u.pos()-1)),l=jt.WithinTag,i=!1,p(t,Wt.AttributeValue)):(l=jt.WithinTag,i=!1,m());case jt.WithinScriptContent:var h=1;while(!u.eos()){var g=u.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===g.length)return u.goToEnd(),p(t,Wt.Script);if("\x3c!--"===g)1===h&&(h=2);else if("--\x3e"===g)h=1;else if("/"!==g[1])2===h&&(h=3);else{if(3!==h){u.goBack(g.length);break}h=2}}return l=jt.WithinContent,t<u.pos()?p(t,Wt.Script):m();case jt.WithinStyleContent:return u.advanceUntilRegExp(/<\/style/i),l=jt.WithinContent,t<u.pos()?p(t,Wt.Styles):m()}return u.advance(1),l=jt.WithinContent,p(t,Wt.Unknown,e)}return{scan:g,getTokenType:function(){return h},getTokenOffset:function(){return c},getTokenLength:function(){return u.pos()-c},getTokenEnd:function(){return u.pos()},getTokenText:function(){return u.getSource().substring(c,u.pos())},getScannerState:function(){return l},getTokenError:function(){return r}}}function hn(e,t){var n=0,r=e.length;if(0===r)return 0;while(n<r){var i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function dn(e,t,n){var r=0,i=e.length-1;while(r<=i){var o=(r+i)/2|0,a=n(e[o],t);if(a<0)r=o+1;else{if(!(a>0))return o;i=o-1}}return-(r+1)}function fn(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function pn(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function gn(e,t){var n="";while(t>0)1===(1&t)&&(n+=e),e+=e,t>>>=1;return n}var mn="a".charCodeAt(0),bn="z".charCodeAt(0),_n="A".charCodeAt(0),vn="Z".charCodeAt(0),yn="0".charCodeAt(0),wn="9".charCodeAt(0);function Cn(e,t){var n=e.charCodeAt(t);return mn<=n&&n<=bn||_n<=n&&n<=vn||yn<=n&&n<=wn}
/*!
BEGIN THIRD PARTY
*/var Tn=Gt(),En=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function kn(e){return!!e&&dn(En,e.toLowerCase(),(function(e,t){return e.localeCompare(t)}))>=0}var xn=function(){function e(e,t){void 0===t&&(t=[]),this.label=e,this.attributes=t}return e}(),Sn={html:new xn(Tn("tags.html","The html element represents the root of an HTML document."),["manifest"]),head:new xn(Tn("tags.head","The head element represents a collection of metadata for the Document.")),title:new xn(Tn("tags.title","The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context.")),base:new xn(Tn("tags.base","The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."),["href","target"]),link:new xn(Tn("tags.link","The link element allows authors to link their document to other resources."),["href","crossorigin:xo","rel","media","hreflang","type","sizes"]),meta:new xn(Tn("tags.meta","The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."),["name","http-equiv","content","charset"]),style:new xn(Tn("tags.style","The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."),["media","nonce","type","scoped:v"]),body:new xn(Tn("tags.body","The body element represents the content of the document."),["onafterprint","onbeforeprint","onbeforeunload","onhashchange","onlanguagechange","onmessage","onoffline","ononline","onpagehide","onpageshow","onpopstate","onstorage","onunload"]),article:new xn(Tn("tags.article","The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element.")),section:new xn(Tn("tags.section","The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element.")),nav:new xn(Tn("tags.nav","The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links.")),aside:new xn(Tn("tags.aside","The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.")),h1:new xn(Tn("tags.h1","The h1 element represents a section heading.")),h2:new xn(Tn("tags.h2","The h2 element represents a section heading.")),h3:new xn(Tn("tags.h3","The h3 element represents a section heading.")),h4:new xn(Tn("tags.h4","The h4 element represents a section heading.")),h5:new xn(Tn("tags.h5","The h5 element represents a section heading.")),h6:new xn(Tn("tags.h6","The h6 element represents a section heading.")),header:new xn(Tn("tags.header","The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page.")),footer:new xn(Tn("tags.footer","The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.")),address:new xn(Tn("tags.address","The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.")),p:new xn(Tn("tags.p","The p element represents a paragraph.")),hr:new xn(Tn("tags.hr","The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book.")),pre:new xn(Tn("tags.pre","The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements.")),blockquote:new xn(Tn("tags.blockquote","The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."),["cite"]),ol:new xn(Tn("tags.ol","The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."),["reversed:v","start","type:lt"]),ul:new xn(Tn("tags.ul","The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document.")),li:new xn(Tn("tags.li","The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."),["value"]),dl:new xn(Tn("tags.dl","The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name.")),dt:new xn(Tn("tags.dt","The dt element represents the term, or name, part of a term-description group in a description list (dl element).")),dd:new xn(Tn("tags.dd","The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element).")),figure:new xn(Tn("tags.figure","The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document.")),figcaption:new xn(Tn("tags.figcaption","The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any.")),main:new xn(Tn("tags.main","The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application.")),div:new xn(Tn("tags.div","The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements.")),a:new xn(Tn("tags.a","If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."),["href","target","download","ping","rel","hreflang","type"]),em:new xn(Tn("tags.em","The em element represents stress emphasis of its contents.")),strong:new xn(Tn("tags.strong","The strong element represents strong importance, seriousness, or urgency for its contents.")),small:new xn(Tn("tags.small","The small element represents side comments such as small print.")),s:new xn(Tn("tags.s","The s element represents contents that are no longer accurate or no longer relevant.")),cite:new xn(Tn("tags.cite","The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata.")),q:new xn(Tn("tags.q","The q element represents some phrasing content quoted from another source."),["cite"]),dfn:new xn(Tn("tags.dfn","The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element.")),abbr:new xn(Tn("tags.abbr","The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else.")),ruby:new xn(Tn("tags.ruby","The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]")),rb:new xn(Tn("tags.rb","The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents.")),rt:new xn(Tn("tags.rt","The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents.")),rp:new xn(Tn("tags.rp","The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation.")),time:new xn(Tn("tags.time","The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."),["datetime"]),code:new xn(Tn("tags.code","The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize.")),var:new xn(Tn("tags.var","The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose.")),samp:new xn(Tn("tags.samp","The samp element represents sample or quoted output from another program or computing system.")),kbd:new xn(Tn("tags.kbd","The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands).")),sub:new xn(Tn("tags.sub","The sub element represents a subscript.")),sup:new xn(Tn("tags.sup","The sup element represents a superscript.")),i:new xn(Tn("tags.i","The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts.")),b:new xn(Tn("tags.b","The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede.")),u:new xn(Tn("tags.u","The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt.")),mark:new xn(Tn("tags.mark","The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity.")),bdi:new xn(Tn("tags.bdi","The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]")),bdo:new xn(Tn("tags.dbo","The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]")),span:new xn(Tn("tags.span","The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children.")),br:new xn(Tn("tags.br","The br element represents a line break.")),wbr:new xn(Tn("tags.wbr","The wbr element represents a line break opportunity.")),ins:new xn(Tn("tags.ins","The ins element represents an addition to the document.")),del:new xn(Tn("tags.del","The del element represents a removal from the document."),["cite","datetime"]),picture:new xn(Tn("tags.picture","The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children.")),img:new xn(Tn("tags.img","An img element represents an image."),["alt","src","srcset","crossorigin:xo","usemap","ismap:v","width","height"]),iframe:new xn(Tn("tags.iframe","The iframe element represents a nested browsing context."),["src","srcdoc","name","sandbox:sb","seamless:v","allowfullscreen:v","width","height"]),embed:new xn(Tn("tags.embed","The embed element provides an integration point for an external (typically non-HTML) application or interactive content."),["src","type","width","height"]),object:new xn(Tn("tags.object","The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."),["data","type","typemustmatch:v","name","usemap","form","width","height"]),param:new xn(Tn("tags.param","The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."),["name","value"]),video:new xn(Tn("tags.video","A video element is used for playing videos or movies, and audio files with captions."),["src","crossorigin:xo","poster","preload:pl","autoplay:v","mediagroup","loop:v","muted:v","controls:v","width","height"]),audio:new xn(Tn("tags.audio","An audio element represents a sound or audio stream."),["src","crossorigin:xo","preload:pl","autoplay:v","mediagroup","loop:v","muted:v","controls:v"]),source:new xn(Tn("tags.source","The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."),["src","type"]),track:new xn(Tn("tags.track","The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."),["default:v","kind:tk","label","src","srclang"]),map:new xn(Tn("tags.map","The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."),["name"]),area:new xn(Tn("tags.area","The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."),["alt","coords","shape:sh","href","target","download","ping","rel","hreflang","type"]),table:new xn(Tn("tags.table","The table element represents data with more than one dimension, in the form of a table."),["sortable:v","border"]),caption:new xn(Tn("tags.caption","The caption element represents the title of the table that is its parent, if it has a parent and that is a table element.")),colgroup:new xn(Tn("tags.colgroup","The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."),["span"]),col:new xn(Tn("tags.col","If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."),["span"]),tbody:new xn(Tn("tags.tbody","The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table.")),thead:new xn(Tn("tags.thead","The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table.")),tfoot:new xn(Tn("tags.tfoot","The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table.")),tr:new xn(Tn("tags.tr","The tr element represents a row of cells in a table.")),td:new xn(Tn("tags.td","The td element represents a data cell in a table."),["colspan","rowspan","headers"]),th:new xn(Tn("tags.th","The th element represents a header cell in a table."),["colspan","rowspan","headers","scope:s","sorted","abbr"]),form:new xn(Tn("tags.form","The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."),["accept-charset","action","autocomplete:o","enctype:et","method:m","name","novalidate:v","target"]),label:new xn(Tn("tags.label","The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."),["form","for"]),input:new xn(Tn("tags.input","The input element represents a typed data field, usually with a form control to allow the user to edit the data."),["accept","alt","autocomplete:inputautocomplete","autofocus:v","checked:v","dirname","disabled:v","form","formaction","formenctype:et","formmethod:fm","formnovalidate:v","formtarget","height","inputmode:im","list","max","maxlength","min","minlength","multiple:v","name","pattern","placeholder","readonly:v","required:v","size","src","step","type:t","value","width"]),button:new xn(Tn("tags.button","The button element represents a button labeled by its contents."),["autofocus:v","disabled:v","form","formaction","formenctype:et","formmethod:fm","formnovalidate:v","formtarget","name","type:bt","value"]),select:new xn(Tn("tags.select","The select element represents a control for selecting amongst a set of options."),["autocomplete:inputautocomplete","autofocus:v","disabled:v","form","multiple:v","name","required:v","size"]),datalist:new xn(Tn("tags.datalist","The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden.")),optgroup:new xn(Tn("tags.optgroup","The optgroup element represents a group of option elements with a common label."),["disabled:v","label"]),option:new xn(Tn("tags.option","The option element represents an option in a select element or as part of a list of suggestions in a datalist element."),["disabled:v","label","selected:v","value"]),textarea:new xn(Tn("tags.textarea","The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."),["autocomplete:inputautocomplete","autofocus:v","cols","dirname","disabled:v","form","inputmode:im","maxlength","minlength","name","placeholder","readonly:v","required:v","rows","wrap:w"]),output:new xn(Tn("tags.output","The output element represents the result of a calculation performed by the application, or the result of a user action."),["for","form","name"]),progress:new xn(Tn("tags.progress","The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."),["value","max"]),meter:new xn(Tn("tags.meter","The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."),["value","min","max","low","high","optimum"]),fieldset:new xn(Tn("tags.fieldset","The fieldset element represents a set of form controls optionally grouped under a common name."),["disabled:v","form","name"]),legend:new xn(Tn("tags.legend","The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any.")),details:new xn(Tn("tags.details","The details element represents a disclosure widget from which the user can obtain additional information or controls."),["open:v"]),summary:new xn(Tn("tags.summary","The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any.")),dialog:new xn(Tn("tags.dialog","The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window.")),script:new xn(Tn("tags.script","The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."),["src","type","charset","async:v","defer:v","crossorigin:xo","nonce"]),noscript:new xn(Tn("tags.noscript","The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed.")),template:new xn(Tn("tags.template","The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script.")),canvas:new xn(Tn("tags.canvas","The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."),["width","height"])},An={"ion-checkbox":new xn(Tn("tags.ion.checkbox","The checkbox is no different than the HTML checkbox input, except it's styled differently. The checkbox behaves like any AngularJS checkbox."),["name","ng-false-value","ng-model","ng-true-value"]),"ion-content":new xn(Tn("tags.ion.content","The ionContent directive provides an easy to use content area that can be configured to use Ionic's custom Scroll View, or the built-in overflow scrolling of the browser."),["delegate-handle","direction:scrolldir","has-bouncing:b","locking:b","on-scroll","on-scroll-complete","overflow-scroll:b","padding:b","scroll:b","scrollbar-x:b","scrollbar-y:b","start-x","start-y"]),"ion-delete-button":new xn(Tn("tags.ion.deletebutton","Child of ionItem"),[]),"ion-footer-bar":new xn(Tn("tags.ion.footerbar",'Adds a fixed footer bar below some content. Can also be a subfooter (higher up) if the "bar-subfooter" class is applied.'),["align-title:align","keyboard-attach:v"]),"ion-header-bar":new xn(Tn("tags.ion.headerbar",'Adds a fixed header bar above some content. Can also be a subheader (lower down) if the "bar-subheader" class is applied.'),["align-title:align","no-tap-scroll:b"]),"ion-infinite-scroll":new xn(Tn("tags.ion.infinitescroll","Child of ionContent or ionScroll. The ionInfiniteScroll directive allows you to call a function whenever the user gets to the bottom of the page or near the bottom of the page."),["distance","icon","immediate-check:b","on-infinite","spinner"]),"ion-input":new xn(Tn("tags.ion.input",'ionInput is meant for text type inputs only. Ionic uses an actual <input type="text"> HTML element within the component, with Ionic wrapping to better handle the user experience and interactivity.'),["type:inputtype","clearInput:v"]),"ion-item":new xn(Tn("tags.ion.item","Child of ionList."),[]),"ion-list":new xn(Tn("tags.ion.list","The List is a widely used interface element in almost any mobile app, and can include content ranging from basic text all the way to buttons, toggles, icons, and thumbnails."),["can-swipe:b","delegate-handle","show-delete:b","show-reorder:b","type:listtype"]),"ion-modal-view":new xn(Tn("tags.ion.modalview","The Modal is a content pane that can go over the user's main view temporarily. Usually used for making a choice or editing an item."),[]),"ion-nav-back-button":new xn(Tn("tags.ion.navbackbutton","Child of ionNavBar. Creates a back button inside an ionNavBar. The back button will appear when the user is able to go back in the current navigation stack."),[]),"ion-nav-bar":new xn(Tn("tags.ion.navbar","If you have an ionNavView directive, you can also create an <ion-nav-bar>, which will create a topbar that updates as the application state changes."),["align-title:align","delegate-handle","no-tap-scroll:b"]),"ion-nav-buttons":new xn(Tn("tags.ion.navbuttons","Child of ionNavView. Use ionNavButtons to set the buttons on your ionNavBar from within an ionView."),["side:navsides"]),"ion-nav-title":new xn(Tn("tags.ion.navtitle","Child of ionNavView. The ionNavTitle directive replaces an ionNavBar title text with custom HTML from within an ionView template."),[]),"ion-nav-view":new xn(Tn("tags.ion.navview","The ionNavView directive is used to render templates in your application. Each template is part of a state. States are usually mapped to a url, and are defined programatically using angular-ui-router."),["name"]),"ion-option-button":new xn(Tn("tags.ion.optionbutton","Child of ionItem. Creates an option button inside a list item, that is visible when the item is swiped to the left by the user."),[]),"ion-pane":new xn(Tn("tags.ion.pane",'A simple container that fits content, with no side effects. Adds the "pane" class to the element.'),[]),"ion-popover-view":new xn(Tn("tags.ion.popoverview","The Popover is a view that floats above an app's content. Popovers provide an easy way to present or gather information from the user."),[]),"ion-radio":new xn(Tn("tags.ion.radio","The radio ionRirective is no different than the HTML radio input, except it's styled differently. The ionRadio behaves like AngularJS radio input."),["disabled:b","icon","name","ng-disabled:b","ng-model","ng-value","value"]),"ion-refresher":new xn(Tn("tags.ion.refresher","Child of ionContent or ionScroll. Allows you to add pull-to-refresh to a scrollView. Place it as the first child of your ionContent or ionScroll element."),["disable-pulling-rotation:b","on-pulling","on-refresh","pulling-icon","pulling-text","refreshing-icon","spinner"]),"ion-reorder-button":new xn(Tn("tags.ion.reorderbutton","Child of ionItem."),["on-reorder"]),"ion-scroll":new xn(Tn("tags.ion.scroll","Creates a scrollable container for all content inside."),["delegate-handle","direction:scrolldir","has-bouncing:b","locking:b","max-zoom","min-zoom","on-refresh","on-scroll","paging:b","scrollbar-x:b","scrollbar-y:b","zooming:b"]),"ion-side-menu":new xn(Tn("tags.ion.sidemenu","Child of ionSideMenus. A container for a side menu, sibling to an ionSideMenuContent directive."),["is-enabled:b","expose-aside-when","side:navsides","width"]),"ion-side-menu-content":new xn(Tn("tags.ion.sidemenucontent","Child of ionSideMenus. A container for the main visible content, sibling to one or more ionSideMenu directives."),["drag-content:b","edge-drag-threshold"]),"ion-side-menus":new xn(Tn("tags.ion.sidemenus","A container element for side menu(s) and the main content. Allows the left and/or right side menu to be toggled by dragging the main content area side to side."),["delegate-handle","enable-menu-with-back-views:b"]),"ion-slide":new xn(Tn("tags.ion.slide","Child of ionSlideBox. Displays a slide inside of a slidebox."),[]),"ion-slide-box":new xn(Tn("tags.ion.slidebox","The Slide Box is a multi-page container where each page can be swiped or dragged between."),["active-slide","auto-play:b","delegate-handle","does-continue:b","on-slide-changed","pager-click","show-pager:b","slide-interval"]),"ion-spinner":new xn(Tn("tags.ion.spinner","The ionSpinner directive provides a variety of animated spinners."),["icon"]),"ion-tab":new xn(Tn("tags.ion.tab","Child of ionTabs. Contains a tab's content. The content only exists while the given tab is selected."),["badge","badge-style","disabled","hidden","href","icon","icon-off","icon-on","ng-click","on-deselect","on-select","title"]),"ion-tabs":new xn(Tn("tags.ion.tabs",'Powers a multi-tabbed interface with a tab bar and a set of "pages" that can be tabbed through.'),["delegate-handle"]),"ion-title":new xn(Tn("tags.ion.title","ion-title is a component that sets the title of the ionNavbar"),[]),"ion-toggle":new xn(Tn("tags.ion.toggle","A toggle is an animated switch which binds a given model to a boolean. Allows dragging of the switch's nub. The toggle behaves like any AngularJS checkbox otherwise."),["name","ng-false-value","ng-model","ng-true-value","toggle-class"]),"ion-view ":new xn(Tn("tags.ion.view","Child of ionNavView. A container for view content and any navigational and header bar information."),["cache-view:b","can-swipe-back:b","hide-back-button:b","hide-nav-bar:b","view-title"])};function Ln(){var e=["aria-activedescendant","aria-atomic:b","aria-autocomplete:autocomplete","aria-busy:b","aria-checked:tristate","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current:current","aria-describedat","aria-describedby","aria-disabled:b","aria-dropeffect:dropeffect","aria-errormessage","aria-expanded:u","aria-flowto","aria-grabbed:u","aria-haspopup:b","aria-hidden:b","aria-invalid:invalid","aria-kbdshortcuts","aria-label","aria-labelledby","aria-level","aria-live:live","aria-modal:b","aria-multiline:b","aria-multiselectable:b","aria-orientation:orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed:tristate","aria-readonly:b","aria-relevant:relevant","aria-required:b","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected:u","aria-setsize","aria-sort:sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","accesskey","class","contenteditable:b","contextmenu","dir:d","draggable:b","dropzone","hidden:v","id","itemid","itemprop","itemref","itemscope:v","itemtype","lang","role:roles","spellcheck:b","style","tabindex","title","translate:y"],t=["onabort","onblur","oncanplay","oncanplaythrough","onchange","onclick","oncontextmenu","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformchange","onforminput","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onpause","onplay","onplaying","onprogress","onratechange","onreset","onresize","onreadystatechange","onscroll","onseeked","onseeking","onselect","onshow","onstalled","onsubmit","onsuspend","ontimeupdate","onvolumechange","onwaiting"],n={b:["true","false"],u:["true","false","undefined"],o:["on","off"],y:["yes","no"],w:["soft","hard"],d:["ltr","rtl","auto"],m:["GET","POST","dialog"],fm:["GET","POST"],s:["row","col","rowgroup","colgroup"],t:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],im:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],bt:["button","submit","reset","menu"],lt:["1","a","A","i","I"],mt:["context","toolbar"],mit:["command","checkbox","radio"],et:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],tk:["subtitles","captions","descriptions","chapters","metadata"],pl:["none","metadata","auto"],sh:["circle","default","poly","rect"],xo:["anonymous","use-credentials"],sb:["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts","allow-top-navigation"],tristate:["true","false","mixed","undefined"],inputautocomplete:["additional-name","address-level1","address-level2","address-level3","address-level4","address-line1","address-line2","address-line3","bday","bday-year","bday-day","bday-month","billing","cc-additional-name","cc-csc","cc-exp","cc-exp-month","cc-exp-year","cc-family-name","cc-given-name","cc-name","cc-number","cc-type","country","country-name","current-password","email","family-name","fax","given-name","home","honorific-prefix","honorific-suffix","impp","language","mobile","name","new-password","nickname","organization","organization-title","pager","photo","postal-code","sex","shipping","street-address","tel-area-code","tel","tel-country-code","tel-extension","tel-local","tel-local-prefix","tel-local-suffix","tel-national","transaction-amount","transaction-currency","url","username","work"],autocomplete:["inline","list","both","none"],current:["page","step","location","date","time","true","false"],dropeffect:["copy","move","link","execute","popup","none"],invalid:["grammar","false","spelling","true"],live:["off","polite","assertive"],orientation:["vertical","horizontal","undefined"],relevant:["additions","removals","text","all","additions text"],sort:["ascending","descending","none","other"],roles:["alert","alertdialog","button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","treeitem","combobox","grid","listbox","menu","menubar","radiogroup","tablist","tree","treegrid","application","article","cell","columnheader","definition","directory","document","feed","figure","group","heading","img","list","listitem","math","none","note","presentation","region","row","rowgroup","rowheader","separator","table","term","text","toolbar","banner","complementary","contentinfo","form","main","navigation","region","search","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-backlink","doc-biblioentry","doc-bibliography","doc-biblioref","doc-chapter","doc-colophon","doc-conclusion","doc-cover","doc-credit","doc-credits","doc-dedication","doc-endnote","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-footnote","doc-foreword","doc-glossary","doc-glossref","doc-index","doc-introduction","doc-noteref","doc-notice","doc-pagebreak","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-subtitle","doc-tip","doc-toc"]};return{getId:function(){return"html5"},isApplicable:function(){return!0},collectTags:function(e){return Pn(e,Sn)},collectAttributes:function(n,r){In(n,r,Sn,e),t.forEach((function(e){r(e,"event")}))},collectValues:function(t,r,i){return qn(t,r,i,Sn,e,n)}}}function Nn(){var e={input:["ng-model","ng-required","ng-minlength","ng-maxlength","ng-pattern","ng-trim"],select:["ng-model"],textarea:["ng-model","ng-required","ng-minlength","ng-maxlength","ng-pattern","ng-trim"]},t=["ng-app","ng-strict-di","ng-bind","ng-bind-html","ng-bind-template","ng-blur","ng-change","ng-checked","ng-class","ng-class-even","ng-class-odd","ng-click","ng-cloak","ng-controller","ng-copy","ng-csp","ng-cut","ng-dblclick","ng-disabled","ng-focus","ng-form","ng-hide","ng-href","ng-if","ng-include","ng-init","ng-jq","ng-keydown","ng-keypress","ng-keyup","ng-list","ng-model-options","ng-mousedown","ng-mouseenter","ng-mouseleave","ng-mousemove","ng-mouseover","ng-mouseup","ng-non-bindable","ng-open","ng-options","ng-paste","ng-pluralize","ng-readonly","ng-repeat","ng-selected","ng-show","ng-src","ng-srcset","ng-style","ng-submit","ng-switch","ng-transclude","ng-value"];return{getId:function(){return"angular1"},isApplicable:function(e){return"html"===e},collectTags:function(e){},collectAttributes:function(n,r){if(n){var i=e[n];i&&i.forEach((function(e){r(e),r("data-"+e)}))}t.forEach((function(e){r(e),r("data-"+e)}))},collectValues:function(e,t,n){}}}function On(){var e={a:["nav-direction:navdir","nav-transition:trans"],button:["menu-toggle:menusides"]},t=["collection-repeat","force-refresh-images:b","ion-stop-event","item-height","item-render-buffer","item-width","menu-close:v","on-double-tap","on-drag","on-drag-down","on-drag-left","on-drag-right","on-drag-up","on-hold","on-release","on-swipe","on-swipe-down","on-swipe-left","on-swipe-right","on-swipe-up","on-tap","on-touch"],n={align:["center","left","right"],b:["true","false"],inputtype:["email","number","password","search","tel","text","url"],listtype:["card","list-inset"],menusides:["left","right"],navdir:["back","enter","exit","forward","swap"],navsides:["left","primary","right","secondary"],scrolldir:["x","xy","y"],trans:["android","ios","none"]};return{getId:function(){return"ionic"},isApplicable:function(e){return"html"===e},collectTags:function(e){return Pn(e,An)},collectAttributes:function(n,r){if(In(n,r,An,t),n){var i=e[n];i&&i.forEach((function(e){var t=e.split(":");r(t[0],t[1])}))}},collectValues:function(r,i,o){return qn(r,i,o,An,t,n,e)}}}function Pn(e,t){for(var n in t)e(n,t[n].label)}function In(e,t,n,r){if(r.forEach((function(e){var n=e.split(":");t(n[0],n[1])})),e){var i=n[e];if(i){var o=i.attributes;o&&o.forEach((function(e){var n=e.split(":");t(n[0],n[1])}))}}}function qn(e,t,n,r,i,o,a){var s=t+":",u=function(e){e.forEach((function(e){if(e.length>s.length&&fn(e,s)){var r=e.substr(s.length);if("v"===r)n(t);else{var i=o[r];i&&i.forEach(n)}}}))};if(e){var l=r[e];if(l){var c=l.attributes;c&&u(c)}}if(u(i),a){var h=a[e];h&&u(h)}}
/*!
END THIRD PARTY
*/var Rn,Dn,Un,Mn,Vn,Wn,jn,Bn,Fn,Kn,Hn,Gn,Yn,zn,Jn,$n=function(){function e(e,t,n,r){this.start=e,this.end=t,this.children=n,this.parent=r,this.closed=!1}return Object.defineProperty(e.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!0,configurable:!0}),e.prototype.isSameTag=function(e){return this.tag&&e&&this.tag.length===e.length&&this.tag.toLowerCase()===e},Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!0,configurable:!0}),e.prototype.findNodeBefore=function(e){var t=hn(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);var r=n.lastChild;return r&&r.end===n.end?n.findNodeBefore(e):n}}return this},e.prototype.findNodeAt=function(e){var t=hn(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this},e}();function Qn(e){var t=cn(e),n=new $n(0,e.length,[],void 0),r=n,i=-1,o=null,a=t.scan();while(a!==Wt.EOS){switch(a){case Wt.StartTagOpen:var s=new $n(t.getTokenOffset(),e.length,[],r);r.children.push(s),r=s;break;case Wt.StartTag:r.tag=t.getTokenText();break;case Wt.StartTagClose:r.end=t.getTokenEnd(),r.tag&&kn(r.tag)&&r.parent&&(r.closed=!0,r=r.parent);break;case Wt.EndTagOpen:i=t.getTokenOffset();break;case Wt.EndTag:var u=t.getTokenText().toLowerCase();while(!r.isSameTag(u)&&r.parent)r.end=i,r.closed=!1,r=r.parent;r!==n&&(r.closed=!0,r.endTagStart=i);break;case Wt.StartTagSelfClose:r.parent&&(r.closed=!0,r.end=t.getTokenEnd(),r=r.parent);break;case Wt.EndTagClose:r.parent&&(r.end=t.getTokenEnd(),r=r.parent);break;case Wt.AttributeName:o=t.getTokenText();var l=r.attributes;l||(r.attributes=l={}),l[o]=null;break;case Wt.AttributeValue:var c=t.getTokenText();l=r.attributes;l&&o&&(l[o]=c,o=null);break}a=t.scan()}while(r.parent)r.end=e.length,r.closed=!1,r=r.parent;return{roots:n.children,findNodeBefore:n.findNodeBefore.bind(n),findNodeAt:n.findNodeAt.bind(n)}}(function(e){function t(e,t){return{line:e,character:t}}function n(e){var t=e;return kr.objectLiteral(t)&&kr.number(t.line)&&kr.number(t.character)}e.create=t,e.is=n})(Rn||(Rn={})),function(e){function t(e,t,n,r){if(kr.number(e)&&kr.number(t)&&kr.number(n)&&kr.number(r))return{start:Rn.create(e,t),end:Rn.create(n,r)};if(Rn.is(e)&&Rn.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")}function n(e){var t=e;return kr.objectLiteral(t)&&Rn.is(t.start)&&Rn.is(t.end)}e.create=t,e.is=n}(Dn||(Dn={})),function(e){function t(e,t){return{uri:e,range:t}}function n(e){var t=e;return kr.defined(t)&&Dn.is(t.range)&&(kr.string(t.uri)||kr.undefined(t.uri))}e.create=t,e.is=n}(Un||(Un={})),function(e){function t(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}}function n(e){var t=e;return kr.number(t.red)&&kr.number(t.green)&&kr.number(t.blue)&&kr.number(t.alpha)}e.create=t,e.is=n}(Mn||(Mn={})),function(e){function t(e,t){return{range:e,color:t}}function n(e){var t=e;return Dn.is(t.range)&&Mn.is(t.color)}e.create=t,e.is=n}(Vn||(Vn={})),function(e){function t(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}}function n(e){var t=e;return kr.string(t.label)&&(kr.undefined(t.textEdit)||Yn.is(t))&&(kr.undefined(t.additionalTextEdits)||kr.typedArray(t.additionalTextEdits,Yn.is))}e.create=t,e.is=n}(Wn||(Wn={})),function(e){e["Comment"]="comment",e["Imports"]="imports",e["Region"]="region"}(jn||(jn={})),function(e){function t(e,t,n,r,i){var o={startLine:e,endLine:t};return kr.defined(n)&&(o.startCharacter=n),kr.defined(r)&&(o.endCharacter=r),kr.defined(i)&&(o.kind=i),o}function n(e){var t=e;return kr.number(t.startLine)&&kr.number(t.startLine)&&(kr.undefined(t.startCharacter)||kr.number(t.startCharacter))&&(kr.undefined(t.endCharacter)||kr.number(t.endCharacter))&&(kr.undefined(t.kind)||kr.string(t.kind))}e.create=t,e.is=n}(Bn||(Bn={})),function(e){function t(e,t){return{location:e,message:t}}function n(e){var t=e;return kr.defined(t)&&Un.is(t.location)&&kr.string(t.message)}e.create=t,e.is=n}(Fn||(Fn={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(Kn||(Kn={})),function(e){function t(e,t,n,r,i,o){var a={range:e,message:t};return kr.defined(n)&&(a.severity=n),kr.defined(r)&&(a.code=r),kr.defined(i)&&(a.source=i),kr.defined(o)&&(a.relatedInformation=o),a}function n(e){var t=e;return kr.defined(t)&&Dn.is(t.range)&&kr.string(t.message)&&(kr.number(t.severity)||kr.undefined(t.severity))&&(kr.number(t.code)||kr.string(t.code)||kr.undefined(t.code))&&(kr.string(t.source)||kr.undefined(t.source))&&(kr.undefined(t.relatedInformation)||kr.typedArray(t.relatedInformation,Fn.is))}e.create=t,e.is=n}(Hn||(Hn={})),function(e){function t(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return kr.defined(n)&&n.length>0&&(i.arguments=n),i}function n(e){var t=e;return kr.defined(t)&&kr.string(t.title)&&kr.string(t.command)}e.create=t,e.is=n}(Gn||(Gn={})),function(e){function t(e,t){return{range:e,newText:t}}function n(e,t){return{range:{start:e,end:e},newText:t}}function r(e){return{range:e,newText:""}}function i(e){var t=e;return kr.objectLiteral(t)&&kr.string(t.newText)&&Dn.is(t.range)}e.replace=t,e.insert=n,e.del=r,e.is=i}(Yn||(Yn={})),function(e){function t(e,t){return{textDocument:e,edits:t}}function n(e){var t=e;return kr.defined(t)&&Xn.is(t.textDocument)&&Array.isArray(t.edits)}e.create=t,e.is=n}(zn||(zn={})),function(e){function t(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||kr.typedArray(t.documentChanges,zn.is))}e.is=t}(Jn||(Jn={}));var Zn,Xn,er,tr,nr,rr,ir,or,ar,sr,ur,lr,cr,hr,dr,fr,pr,gr=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(Yn.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(Yn.replace(e,t))},e.prototype.delete=function(e){this.edits.push(Yn.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();(function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){var n=new gr(e.edits);t._textEditChanges[e.textDocument.uri]=n})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new gr(e.changes[n]);t._textEditChanges[n]=r})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Xn.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for versioned document changes.");var t=e,n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new gr(r),this._textEditChanges[t.uri]=n}return n}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");n=this._textEditChanges[e];if(!n){r=[];this._workspaceEdit.changes[e]=r,n=new gr(r),this._textEditChanges[e]=n}return n}})();(function(e){function t(e){return{uri:e}}function n(e){var t=e;return kr.defined(t)&&kr.string(t.uri)}e.create=t,e.is=n})(Zn||(Zn={})),function(e){function t(e,t){return{uri:e,version:t}}function n(e){var t=e;return kr.defined(t)&&kr.string(t.uri)&&kr.number(t.version)}e.create=t,e.is=n}(Xn||(Xn={})),function(e){function t(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}}function n(e){var t=e;return kr.defined(t)&&kr.string(t.uri)&&kr.string(t.languageId)&&kr.number(t.version)&&kr.string(t.text)}e.create=t,e.is=n}(er||(er={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(tr||(tr={})),function(e){function t(t){var n=t;return n===e.PlainText||n===e.Markdown}e.is=t}(tr||(tr={})),function(e){function t(e){var t=e;return kr.objectLiteral(e)&&tr.is(t.kind)&&kr.string(t.value)}e.is=t}(nr||(nr={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(rr||(rr={})),function(e){e.PlainText=1,e.Snippet=2}(ir||(ir={})),function(e){function t(e){return{label:e}}e.create=t}(or||(or={})),function(e){function t(e,t){return{items:e||[],isIncomplete:!!t}}e.create=t}(ar||(ar={})),function(e){function t(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function n(e){var t=e;return kr.string(t)||kr.objectLiteral(t)&&kr.string(t.language)&&kr.string(t.value)}e.fromPlainText=t,e.is=n}(sr||(sr={})),function(e){function t(e){var t=e;return kr.objectLiteral(t)&&(nr.is(t.contents)||sr.is(t.contents)||kr.typedArray(t.contents,sr.is))&&(void 0===e.range||Dn.is(e.range))}e.is=t}(ur||(ur={})),function(e){function t(e,t){return t?{label:e,documentation:t}:{label:e}}e.create=t}(lr||(lr={})),function(e){function t(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return kr.defined(t)&&(i.documentation=t),kr.defined(n)?i.parameters=n:i.parameters=[],i}e.create=t}(cr||(cr={})),function(e){e.Text=1,e.Read=2,e.Write=3}(hr||(hr={})),function(e){function t(e,t){var n={range:e};return kr.number(t)&&(n.kind=t),n}e.create=t}(dr||(dr={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(fr||(fr={})),function(e){function t(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}e.create=t}(pr||(pr={}));var mr,br,_r,vr,yr,wr=function(){function e(){}return e}();(function(e){function t(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a}function n(e){var t=e;return t&&kr.string(t.name)&&kr.string(t.detail)&&kr.number(t.kind)&&Dn.is(t.range)&&Dn.is(t.selectionRange)&&(void 0===t.deprecated||kr.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}e.create=t,e.is=n})(wr||(wr={})),function(e){e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports"}(mr||(mr={})),function(e){function t(e,t){var n={diagnostics:e};return void 0!==t&&null!==t&&(n.only=t),n}function n(e){var t=e;return kr.defined(t)&&kr.typedArray(t.diagnostics,Hn.is)&&(void 0===t.only||kr.typedArray(t.only,kr.string))}e.create=t,e.is=n}(br||(br={})),function(e){function t(e,t,n){var r={title:e};return Gn.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r}function n(e){var t=e;return t&&kr.string(t.title)&&(void 0===t.diagnostics||kr.typedArray(t.diagnostics,Hn.is))&&(void 0===t.kind||kr.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||Gn.is(t.command))&&(void 0===t.edit||Jn.is(t.edit))}e.create=t,e.is=n}(_r||(_r={})),function(e){function t(e,t){var n={range:e};return kr.defined(t)&&(n.data=t),n}function n(e){var t=e;return kr.defined(t)&&Dn.is(t.range)&&(kr.undefined(t.command)||Gn.is(t.command))}e.create=t,e.is=n}(vr||(vr={})),function(e){function t(e,t){return{tabSize:e,insertSpaces:t}}function n(e){var t=e;return kr.defined(t)&&kr.number(t.tabSize)&&kr.boolean(t.insertSpaces)}e.create=t,e.is=n}(yr||(yr={}));var Cr=function(){function e(){}return e}();(function(e){function t(e,t,n){return{range:e,target:t,data:n}}function n(e){var t=e;return kr.defined(t)&&Dn.is(t.range)&&(kr.undefined(t.target)||kr.string(t.target))}e.create=t,e.is=n})(Cr||(Cr={}));var Tr,Er;(function(e){function t(e,t,n,r){return new xr(e,t,n,r)}function n(e){var t=e;return!!(kr.defined(t)&&kr.string(t.uri)&&(kr.undefined(t.languageId)||kr.string(t.languageId))&&kr.number(t.lineCount)&&kr.func(t.getText)&&kr.func(t.positionAt)&&kr.func(t.offsetAt))}function r(e,t){for(var n=e.getText(),r=i(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),o=n.length,a=r.length-1;a>=0;a--){var s=r[a],u=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=o))throw new Error("Ovelapping edit");n=n.substring(0,u)+s.newText+n.substring(l,n.length),o=u}return n}function i(e,t){if(e.length<=1)return e;var n=e.length/2|0,r=e.slice(0,n),o=e.slice(n);i(r,t),i(o,t);var a=0,s=0,u=0;while(a<r.length&&s<o.length){var l=t(r[a],o[s]);e[u++]=l<=0?r[a++]:o[s++]}while(a<r.length)e[u++]=r[a++];while(s<o.length)e[u++]=o[s++];return e}e.create=t,e.is=n,e.applyEdits=r})(Tr||(Tr={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(Er||(Er={}));var kr,xr=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=null},e.prototype.getLineOffsets=function(){if(null===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return Rn.create(0,e);while(n<r){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return Rn.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();function Sr(){var e={a:["asp-action","asp-controller","asp-fragment","asp-host","asp-protocol","asp-route"],div:["asp-validation-summary"],form:["asp-action","asp-controller","asp-anti-forgery"],input:["asp-for","asp-format"],label:["asp-for"],select:["asp-for","asp-items"],span:["asp-validation-for"]};return{getId:function(){return"razor"},isApplicable:function(e){return"razor"===e},collectTags:function(e){},collectAttributes:function(t,n){if(t){var r=e[t];r&&r.forEach((function(e){return n(e)}))}},collectValues:function(e,t,n){}}}(function(e){var t=Object.prototype.toString;function n(e){return"undefined"!==typeof e}function r(e){return"undefined"===typeof e}function i(e){return!0===e||!1===e}function o(e){return"[object String]"===t.call(e)}function a(e){return"[object Number]"===t.call(e)}function s(e){return"[object Function]"===t.call(e)}function u(e){return null!==e&&"object"===typeof e}function l(e,t){return Array.isArray(e)&&e.every(t)}e.defined=n,e.undefined=r,e.boolean=i,e.string=o,e.number=a,e.func=s,e.objectLiteral=u,e.typedArray=l})(kr||(kr={}));var Ar=[Ln(),Nn(),On(),Sr()],Lr={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"","InvisibleTimes;":"","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"","NegativeThickSpace;":"","NegativeThinSpace;":"","NegativeVeryThinSpace;":"","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"",shy:"","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":" ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"","zwnj;":""},Nr=Gt(),Or=function(){function e(){this.completionParticipants=[]}return e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete=function(e,t,n,r){var i={isIncomplete:!1,items:[]},o=this.completionParticipants,a=Ar.filter((function(t){return t.isApplicable(e.languageId)&&(!r||!1!==r[t.getId()])})),s=e.getText(),u=e.offsetAt(t),l=n.findNodeBefore(u);if(!l)return i;var c,h=cn(s,l.start),d="";function f(t,n){return void 0===n&&(n=u),t>u&&(t=u),{start:e.positionAt(t),end:e.positionAt(n)}}function p(e,t){var n=f(e,t);return a.forEach((function(e){e.collectTags((function(e,t){i.items.push({label:e,kind:rr.Property,documentation:t,textEdit:Yn.replace(n,e),insertTextFormat:ir.PlainText})}))})),i}function g(e){var t=e;while(t>0){var n=s.charAt(t-1);if("\n\r".indexOf(n)>=0)return s.substring(t,e);if(!Ir(n))return null;t--}return s.substring(0,e)}function m(e,t,n){void 0===n&&(n=u);var r=f(e,n),o=qr(s,n,jt.WithinEndTag,Wt.EndTagClose)?"":">",c=l;t&&(c=c.parent);while(c){var h=c.tag;if(h&&(!c.closed||c.endTagStart&&c.endTagStart>u)){var d={label:"/"+h,kind:rr.Property,filterText:"/"+h+o,textEdit:Yn.replace(r,"/"+h+o),insertTextFormat:ir.PlainText},p=g(c.start),m=g(e-1);if(null!==p&&null!==m&&p!==m){var b=p+"</"+h+o;d.textEdit=Yn.replace(f(e-1-m.length),b),d.filterText=m+"</"+h+o}return i.items.push(d),i}c=c.parent}return t||a.forEach((function(e){e.collectTags((function(e,t){i.items.push({label:"/"+e,kind:rr.Property,documentation:t,filterText:"/"+e+o,textEdit:Yn.replace(r,"/"+e+o),insertTextFormat:ir.PlainText})}))})),i}function b(t,n){if(r&&r.hideAutoCompleteProposals)return i;if(!kn(n)){var o=e.positionAt(t);i.items.push({label:"</"+n+">",kind:rr.Property,filterText:"</"+n+">",textEdit:Yn.insert(o,"$0</"+n+">"),insertTextFormat:ir.Snippet})}return i}function _(e,t){return p(e,t),m(e,!0,t),i}function v(e,t){void 0===t&&(t=u);var n=u;while(n<t&&"<"!==s[n])n++;var r=f(e,n),o=qr(s,t,jt.AfterAttributeName,Wt.DelimiterAssign)?"":'="$1"',l=d.toLowerCase(),c=Object.create(null);return a.forEach((function(e){e.collectAttributes(l,(function(e,t){if(!c[e]){c[e]=!0;var n,a=e;"v"!==t&&o.length&&(a+=o,t&&(n={title:"Suggest",command:"editor.action.triggerSuggest"})),i.items.push({label:e,kind:"handler"===t?rr.Function:rr.Value,textEdit:Yn.replace(r,a),insertTextFormat:ir.Snippet,command:n})}}))})),y(r,c),i}function y(e,t){var r="data-",o={};function a(e){e.attributeNames.forEach((function(e){!fn(e,r)||o[e]||t[e]||(o[e]=e+'="$1"')})),e.children.forEach((function(e){return a(e)}))}o[r]=r+'$1="$2"',n&&n.roots.forEach((function(e){return a(e)})),Object.keys(o).forEach((function(t){return i.items.push({label:t,kind:rr.Value,textEdit:Yn.replace(e,o[t]),insertTextFormat:ir.Snippet})}))}function w(n,r){var l,p,g;if(void 0===r&&(r=u),u>n&&u<=r&&Pr(s[n])){var m=n+1,b=r;r>n&&s[r-1]===s[n]&&b--;var _=Rr(s,u,m),v=Dr(s,u,b);l=f(_,v),g=u>=m&&u<=b?s.substring(m,u):"",p=!1}else l=f(n,r),g=s.substring(n,u),p=!0;var y=d.toLowerCase(),w=c.toLowerCase();if(o.length>0)for(var C=f(n,r),T=0,k=o;T<k.length;T++){var x=k[T];x.onHtmlAttributeValue&&x.onHtmlAttributeValue({document:e,position:t,tag:y,attribute:w,value:g,range:C})}h.getTokenText();return a.forEach((function(e){e.collectValues(y,w,(function(e){var t=p?'"'+e+'"':e;i.items.push({label:e,filterText:t,kind:rr.Unit,textEdit:Yn.replace(l,t),insertTextFormat:ir.PlainText})}))})),E(),i}function C(e){return u===h.getTokenEnd()&&(k=h.scan(),k===e&&h.getTokenOffset()===u)?h.getTokenEnd():u}function T(){for(var n=0,r=o;n<r.length;n++){var i=r[n];i.onHtmlContent&&i.onHtmlContent({document:e,position:t})}return E()}function E(){var e=u-1,n=t.character;while(e>=0&&Cn(s,e))e--,n--;if(e>=0&&"&"===s[e]){var r=Dn.create(Rn.create(t.line,n-1),t);for(var o in Lr)if(pn(o,";")){var a="&"+o;i.items.push({label:a,kind:rr.Keyword,documentation:Nr("entity.propose","Character entity representing '"+Lr[o]+"'"),textEdit:Yn.replace(r,a),insertTextFormat:ir.PlainText})}}return i}var k=h.scan();while(k!==Wt.EOS&&h.getTokenOffset()<=u){switch(k){case Wt.StartTagOpen:if(h.getTokenEnd()===u){var x=C(Wt.StartTag);return _(u,x)}break;case Wt.StartTag:if(h.getTokenOffset()<=u&&u<=h.getTokenEnd())return p(h.getTokenOffset(),h.getTokenEnd());d=h.getTokenText();break;case Wt.AttributeName:if(h.getTokenOffset()<=u&&u<=h.getTokenEnd())return v(h.getTokenOffset(),h.getTokenEnd());c=h.getTokenText();break;case Wt.DelimiterAssign:if(h.getTokenEnd()===u){x=C(Wt.AttributeValue);return w(u,x)}break;case Wt.AttributeValue:if(h.getTokenOffset()<=u&&u<=h.getTokenEnd())return w(h.getTokenOffset(),h.getTokenEnd());break;case Wt.Whitespace:if(u<=h.getTokenEnd())switch(h.getScannerState()){case jt.AfterOpeningStartTag:var S=h.getTokenOffset(),A=C(Wt.StartTag);return _(S,A);case jt.WithinTag:case jt.AfterAttributeName:return v(h.getTokenEnd());case jt.BeforeAttributeValue:return w(h.getTokenEnd());case jt.AfterOpeningEndTag:return m(h.getTokenOffset()-1,!1);case jt.WithinContent:return T()}break;case Wt.EndTagOpen:if(u<=h.getTokenEnd()){var L=h.getTokenOffset()+1,N=C(Wt.EndTag);return m(L,!1,N)}break;case Wt.EndTag:if(u<=h.getTokenEnd()){var O=h.getTokenOffset()-1;while(O>=0){var P=s.charAt(O);if("/"===P)return m(O,!1,h.getTokenEnd());if(!Ir(P))break;O--}}break;case Wt.StartTagClose:if(u<=h.getTokenEnd()&&d)return b(h.getTokenEnd(),d);break;case Wt.Content:if(u<=h.getTokenEnd())return T();break;default:if(u<=h.getTokenEnd())return i;break}k=h.scan()}return i},e.prototype.doTagComplete=function(e,t,n){var r=e.offsetAt(t);if(r<=0)return null;var i=e.getText().charAt(r-1);if(">"===i){var o=n.findNodeBefore(r);if(o&&o.tag&&!kn(o.tag)&&o.start<r&&(!o.endTagStart||o.endTagStart>r)){var a=cn(e.getText(),o.start),s=a.scan();while(s!==Wt.EOS&&a.getTokenEnd()<=r){if(s===Wt.StartTagClose&&a.getTokenEnd()===r)return"$0</"+o.tag+">";s=a.scan()}}}else if("/"===i){o=n.findNodeBefore(r);while(o&&o.closed)o=o.parent;if(o&&o.tag){a=cn(e.getText(),o.start),s=a.scan();while(s!==Wt.EOS&&a.getTokenEnd()<=r){if(s===Wt.EndTagOpen&&a.getTokenEnd()===r)return o.tag+">";s=a.scan()}}}return null},e}();function Pr(e){return/^["']*$/.test(e)}function Ir(e){return/^\s*$/.test(e)}function qr(e,t,n,r){var i=cn(e,t,n),o=i.scan();while(o===Wt.Whitespace)o=i.scan();return o===r}function Rr(e,t,n){while(t>n&&!Ir(e[t-1]))t--;return t}function Dr(e,t,n){while(t<n&&!Ir(e[t]))t++;return t}function Ur(e,t,n){var r=e.offsetAt(t),i=n.findNodeAt(r);if(!i||!i.tag)return null;var o=Ar.filter((function(t){return t.isApplicable(e.languageId)}));function a(e,t,n){e=e.toLowerCase();for(var r=function(r){var i=null;if(r.collectTags((function(r,o){if(r===e){var a=n?"<"+e+">":"</"+e+">";i={contents:[{language:"html",value:a},sr.fromPlainText(o)],range:t}}})),i)return{value:i}},i=0,a=o;i<a.length;i++){var s=a[i],u=r(s);if("object"===typeof u)return u.value}return null}function s(t,n){var i=cn(e.getText(),n),o=i.scan();while(o!==Wt.EOS&&(i.getTokenEnd()<r||i.getTokenEnd()===r&&o!==t))o=i.scan();return o===t&&r<=i.getTokenEnd()?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}if(i.endTagStart&&r>=i.endTagStart){var u=s(Wt.EndTag,i.endTagStart);return u?a(i.tag,u,!1):null}var l=s(Wt.StartTag,i.start);return l?a(i.tag,l,!0):null}function Mr(e,t){return e}const Vr=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}return 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=8)}([,,function(e,t){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}e.exports.mergeOpts=n},function(e,t){var n="$@A-Z_a-z",r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",i="$0-9A-Z_a-z",o="̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_",a=new RegExp("["+n+r+"]"),s=new RegExp("["+i+r+o+"]");t.identifier=new RegExp("["+n+r+"]["+i+r+o+"]*","g"),t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g"),t.isIdentifierStart=function(e){return a.test(String.fromCharCode(e))},t.isIdentifierChar=function(e){return s.test(String.fromCharCode(e))}},function(e,t){function n(e){this._character_count=0,this._indent_count=-1,this._items=[];var t=!0;this.set_indent=function(t){this._character_count=e.baseIndentLength+t*e.indent_length,this._indent_count=t},this.get_character_count=function(){return this._character_count},this.is_empty=function(){return t},this.last=function(){return this._empty?null:this._items[this._items.length-1]},this.push=function(e){this._items.push(e),this._character_count+=e.length,t=!1},this.pop=function(){var e=null;return t||(e=this._items.pop(),this._character_count-=e.length,t=0===this._items.length),e},this.remove_indent=function(){this._indent_count>0&&(this._indent_count-=1,this._character_count-=e.indent_length)},this.trim=function(){while(" "===this.last())this._items.pop(),this._character_count-=1;t=0===this._items.length},this.toString=function(){var t="";return this._empty||(this._indent_count>=0&&(t=e.indent_cache[this._indent_count]),t+=this._items.join("")),t}}function r(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1,this._lines=[],this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new n(this),this._lines.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return this._lines.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(e,t){var n=this._lines.join("\n").replace(/[\r\n\t ]+$/,"");return e&&(n+="\n"),"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},this.set_indent=function(e){if(this._lines.length>1){while(e>=this.indent_cache.length)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.add_outputline();this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1},this.add_token=function(e){this.add_space_before_token(),this.current_line.push(e)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" "),this.space_before_token=!1},this.remove_indent=function(e){var t=this._lines.length;while(e<t)this._lines[e].remove_indent(),e++},this.trim=function(n){n=void 0!==n&&n,this.current_line.trim(e,t);while(n&&this._lines.length>1&&this.current_line.is_empty())this._lines.pop(),this.current_line=this._lines[this._lines.length-1],this.current_line.trim();this.previous_line=this._lines.length>1?this._lines[this._lines.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){if(this.just_added_newline()){if(1===this._lines.length)return!0;var e=this._lines[this._lines.length-2];return e.is_empty()}return!1}}e.exports.Output=r},,function(e,t){function n(e){var t=e||"",n=t.length,r=0;this.back=function(){r>0&&(r-=1)},this.hasNext=function(){return r<n},this.next=function(){var e=null;return this.hasNext()&&(e=t.charAt(r),r+=1),e},this.peek=function(e){var i=null;return e=e||0,e+=r,e>=0&&e<n&&(i=t.charAt(e)),i},this.test=function(e,i){if(i=i||0,i+=r,e.lastIndex=i,i>=0&&i<n){var o=e.exec(t);return o&&o.index===i}return!1},this.testChar=function(e,t){var n=this.peek(t);return null!==n&&e.test(n)},this.match=function(e){e.lastIndex=r;var n=e.exec(t);return n&&n.index===r?r+=n[0].length:n=null,n},this.readWhile=function(e){var t="",n=this.match(e);return n&&(t=n[0]),t},this.readUntil=function(e){var i="",o=r;e.lastIndex=r;var a=e.exec(t);return o=a?a.index:n,i=t.substring(r,o),r=o,i},this.readUntilAfter=function(e){var i="",o=r;e.lastIndex=r;var a=e.exec(t);return o=a?a.index+a[0].length:n,i=t.substring(r,o),r=o,i},this.peekUntilAfter=function(e){var t=r,n=this.readUntilAfter(e);return r=t,n},this.lookBack=function(e){var n=r-1;return n>=e.length&&t.substring(n-e.length,n).toLowerCase()===e}}e.exports.InputScanner=n},,function(e,t,n){var r=n(9).Beautifier;function i(e,t){var n=new r(e,t);return n.beautify()}e.exports=i},function(e,t,n){var r=n(2).mergeOpts,i=n(3),o=n(4).Output,a=n(6).InputScanner,s=i.lineBreak,u=i.allLineBreaks;function l(e,t){e=e||"",t=t||{},t=r(t,"css");var n=t.indent_size?parseInt(t.indent_size,10):4,i=t.indent_char||" ",l=void 0!==t.preserve_newlines&&t.preserve_newlines,c=void 0===t.selector_separator_newline||t.selector_separator_newline,h=void 0!==t.end_with_newline&&t.end_with_newline,d=void 0===t.newline_between_rules||t.newline_between_rules,f=void 0!==t.space_around_combinator&&t.space_around_combinator;f=f||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var p=t.eol?t.eol:"auto";t.indent_with_tabs&&(i="\t",n=1),"auto"===p&&(p="\n",e&&s.test(e||"")&&(p=e.match(s)[0])),p=p.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(u,"\n");var g,m,b=/\s/,_=/(?:\s|\n)+/g,v=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,y=/\/\/(?:[^\n\r\u2028\u2029]*)/g,w=0;function C(e){var t="";g=m.next();while(g){if(t+=g,"\\"===g)t+=m.next();else if(-1!==e.indexOf(g)||"\n"===g)break;g=m.next()}return t}function T(e){var t=b.test(m.peek()),n=!0;while(b.test(m.peek()))g=m.next(),e&&"\n"===g&&(l||n)&&(n=!1,L.add_new_line(!0));return t}function E(){var e=0,t=1,n=m.peek(t);while(n){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=m.peek(t)}return!1}var k="",x=0;if(e&&e.length){while(" "===e.charAt(x)||"\t"===e.charAt(x))x+=1;k=e.substring(0,x),e=e.substring(x)}var S,A,L,N=new Array(n+1).join(i);function O(e){L.just_added_newline()&&L.set_indent(S),L.add_token(e)}function P(e){e&&(L.space_before_token=!0)}function I(){S++}function q(){S>0&&S--}this.beautify=function(){L=new o(N,k),m=new a(e),S=0,A=0,g=null,w=0;var t=!1,n=!1,r=!1,i=!1;while(1){var s=m.readWhile(_),u=""!==s;if(g=m.next(),!g)break;if("/"===g&&"*"===m.peek())L.add_new_line(),m.back(),O(m.readWhile(v)),T(!0),L.add_new_line();else if("/"===g&&"/"===m.peek())L.space_before_token=!0,m.back(),O(m.readWhile(y)),T(!0);else if("@"===g)if(P(u),"{"===m.peek())O(g+C("}"));else{O(g);var l=m.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);l.match(/[ :]$/)&&(l=C(": ").replace(/\s$/,""),O(l),L.space_before_token=!0),l=l.replace(/\s$/,""),"extend"===l&&(i=!0),l in this.NESTED_AT_RULE?(A+=1,l in this.CONDITIONAL_GROUP_RULE&&(r=!0)):t||0!==w||-1===l.indexOf(":")||(n=!0)}else"#"===g&&"{"===m.peek()?(P(u),O(g+C("}"))):"{"===g?m.match(/[\t\n ]*}/g)?(L.space_before_token=!0,O("{}"),T(!0),L.add_new_line(),d&&0===S&&!L.just_added_blankline()&&L.add_new_line(!0)):(I(),L.space_before_token=!0,O(g),T(!0),L.add_new_line(),r?(r=!1,t=S>A):t=S>=A):"}"===g?(q(),L.add_new_line(),O(g),t=!1,n=!1,A&&A--,T(!0),L.add_new_line(),d&&0===S&&!L.just_added_blankline()&&L.add_new_line(!0)):":"===g?!t&&!r||m.lookBack("&")||E()||m.lookBack("(")||i?(m.lookBack(" ")&&(L.space_before_token=!0),":"===m.peek()?(g=m.next(),O("::")):O(":")):(O(":"),n||(n=!0,L.space_before_token=!0)):'"'===g||"'"===g?(P(u),O(g+C(g))):";"===g?(n=!1,i=!1,O(g),T(!0),"/"!==m.peek()&&L.add_new_line()):"("===g?m.lookBack("url")?(O(g),T(),g=m.next(),g&&(")"!==g&&'"'!==g&&"'"!==g?O(g+C(")")):(m.back(),w++))):(w++,P(u),O(g),T()):")"===g?(O(g),w--):","===g?(O(g),T(!0),c&&!n&&w<1?L.add_new_line():L.space_before_token=!0):(">"===g||"+"===g||"~"===g)&&!n&&w<1?f?(L.space_before_token=!0,O(g),L.space_before_token=!0):(O(g),T(),g&&b.test(g)&&(g="")):"]"===g?O(g):"["===g?(P(u),O(g)):"="===g?(T(),O("="),b.test(g)&&(g="")):"!"===g?(O(" "),O(g)):(P(u),O(g))}var x=L.get_code(h,p);return x},this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}e.exports.Beautifier=l}]);var Wr=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}return 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=10)}([,,function(e,t){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}e.exports.mergeOpts=n},function(e,t){var n="$@A-Z_a-z",r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",i="$0-9A-Z_a-z",o="̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_",a=new RegExp("["+n+r+"]"),s=new RegExp("["+i+r+o+"]");t.identifier=new RegExp("["+n+r+"]["+i+r+o+"]*","g"),t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g"),t.isIdentifierStart=function(e){return a.test(String.fromCharCode(e))},t.isIdentifierChar=function(e){return s.test(String.fromCharCode(e))}},,,function(e,t){function n(e){var t=e||"",n=t.length,r=0;this.back=function(){r>0&&(r-=1)},this.hasNext=function(){return r<n},this.next=function(){var e=null;return this.hasNext()&&(e=t.charAt(r),r+=1),e},this.peek=function(e){var i=null;return e=e||0,e+=r,e>=0&&e<n&&(i=t.charAt(e)),i},this.test=function(e,i){if(i=i||0,i+=r,e.lastIndex=i,i>=0&&i<n){var o=e.exec(t);return o&&o.index===i}return!1},this.testChar=function(e,t){var n=this.peek(t);return null!==n&&e.test(n)},this.match=function(e){e.lastIndex=r;var n=e.exec(t);return n&&n.index===r?r+=n[0].length:n=null,n},this.readWhile=function(e){var t="",n=this.match(e);return n&&(t=n[0]),t},this.readUntil=function(e){var i="",o=r;e.lastIndex=r;var a=e.exec(t);return o=a?a.index:n,i=t.substring(r,o),r=o,i},this.readUntilAfter=function(e){var i="",o=r;e.lastIndex=r;var a=e.exec(t);return o=a?a.index+a[0].length:n,i=t.substring(r,o),r=o,i},this.peekUntilAfter=function(e){var t=r,n=this.readUntilAfter(e);return r=t,n},this.lookBack=function(e){var n=r-1;return n>=e.length&&t.substring(n-e.length,n).toLowerCase()===e}}e.exports.InputScanner=n},,,,function(e,t,n){var r=n(11).Beautifier;function i(e,t,n,i){var o=new r(e,t,n,i);return o.beautify()}e.exports=i},function(e,t,n){var r=n(2).mergeOpts,i=n(3),o=n(6).InputScanner,a=i.lineBreak,s=i.allLineBreaks;function u(e){return e.replace(/^\s+/g,"")}function l(e){return e.replace(/\s+$/g,"")}function c(e,t,n,i){var c,h,d,f,p,g,m,b,_,v,y,w,C,T,E,k,x,S,A,L,N,O,P;function I(){return this.token="",this.current_mode="CONTENT",this.tags={parent:null,tag:"",indent_level:0,token:null},this.last_token={text:"",type:""},this.token_text="",this.newlines=0,this.indent_content=h,this.indent_body_inner_html=d,this.indent_head_inner_html=f,this.Utils={whitespace:"\n\r\t ".split(""),single_token:t.void_elements||["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","?php","?=","basefont","isindex"],extra_liners:O,in_array:function(e,t){for(var n=0;n<t.length;n++)if(e===t[n])return!0;return!1}},this.is_whitespace=function(e){for(var t=0;t<e.length;t++)if(!this.Utils.in_array(e.charAt(t),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var e="";if(this.Utils.in_array(this.input.peek(),this.Utils.whitespace)){this.newlines=0;do{e=this.input.next(),w&&"\n"===e&&this.newlines<=C&&(this.newlines+=1)}while(this.Utils.in_array(this.input.peek(),this.Utils.whitespace));return!0}return!1},this.space_or_wrap=function(e){return this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e),!0):(this.line_char_count++,e.push(" "),!1)},this.get_content=function(){var e="",t={parent:this.tags.token,text:"",type:"TK_CONTENT"},n=[];while("<"!==this.input.peek()&&(!T||!this.input.test(/\{\{/g))){if(!this.input.hasNext()){n.length||(t.type="TK_EOF");break}this.traverse_whitespace()?this.space_or_wrap(n):(e=this.input.next(),this.line_char_count++,n.push(e))}return t.text=n.join(""),t},this.get_contents_to=function(e){if(!this.input.hasNext())return{text:"",type:"TK_EOF"};var t="",n=new RegExp("</"+e+"\\s*>","igm");return t=this.input.readUntil(n),{text:t,type:"TK_"+e}},this.record_tag=function(e,t){var n={parent:this.tags,tag:e,indent_level:this.indent_level,token:t};this.tags=n},this.retrieve_tag=function(e){var t=null,n=this.tags;while(n){if(n.tag===e)break;n=n.parent}return n&&(t=n.token,this.indent_level=n.indent_level,this.tags=n.parent),t},this.indent_to_tag=function(e){var t=this.tags;while(t){if(t.tag===e)break;t=t.parent}t&&(this.indent_level=t.indent_level)},this.get_tag=function(){var e,t="",n={parent:this.tags.token,text:"",type:"",tag_name:"",is_inline_tag:!1,is_unformatted:!1,is_content_unformatted:!1,is_opening_tag:!1,is_closing_tag:!1,multiline_content:!1,start_tag_token:null},r=[],i="",o=!1,a=!0,s=!1,u=!1,l="",c=!1,h=this.input.peek(),d=this.input.peek(1),f=this.input.peek(2);"<"!==h||"!"!==d&&"?"!==d&&"%"!==d?T&&"{"===h&&"{"===d&&"!"===f?(e="{",t=this.get_comment(),l=t.match(/^{{([^\s}]+)/)[1],r=[t],u=!0):"<"===h?(r.push(this.input.next()),e="<",l=this.input.readUntil(/[\s>{]/g),r.push(l),l=l.toLowerCase(),o=!0):T&&"{"===h&&"{"===d&&(r.push(this.input.next()),r.push(this.input.next()),"#"===f&&r.push(this.input.next()),e="{",l=this.input.readUntil(/[\s}]/g),r.push(l),l=l.toLowerCase(),o=!1):(e="<",t=this.get_comment(),l=t.match(/^<([^\s>]+)/)[1],r=[t],u=!0),n.is_closing_tag="/"===l.charAt(0),n.tag_name=n.is_closing_tag?l.substr(1):l,n.is_inline_tag=this.Utils.in_array(n.tag_name,_)||"{"===e,n.is_unformatted=this.Utils.in_array(l,v),n.is_content_unformatted=this.Utils.in_array(l,y);var p,g=k;if((A||L)&&(g=r.join("").length+1),this.line_char_count+=r.join("").length,!u){while(this.input.hasNext()){if(t=this.input.next(),T&&"{"===e&&r.length>2&&"}"===t&&"}"===r[r.length-1]){this.line_char_count++,r.push(t);break}if("'"!==t&&'"'!==t||(t+=this.get_unformatted(t),"{"!==e&&(o=!0)),n.is_unformatted)r.push(t),this.line_char_count++;else if(this.Utils.in_array(t,this.Utils.whitespace))o=!0;else{if("<"===e&&("="===t&&(o=!1),!S||!s||c||">"!==t&&"/"!==t||this.input.test(/\/?\s*>/g,-1)&&(o=!1,c=!0,this.print_newline(!1,r),this.print_indentation(r))),o)if("{"===e)this.line_char_count++,r.push(" "),o=!1;else if(r.length&&"="!==r[r.length-1]&&">"!==t&&o){var m=this.space_or_wrap(r),b=m&&"/"!==t&&!x;if(o=!1,x&&"/"!==t){var w=!1;if(S&&a){var C=this.input.test(/\S*(="([^"]|\\")*")?\s*\/?\s*>/g,-1);w=!C}a&&!w||(this.print_newline(!1,r),this.print_indentation(r),b=!0)}if(b){s=!0;for(var E=0;E<g;E++)this.line_char_count++,r.push(" ")}if(a)for(var N=0;N<r.length;N++)if(" "===r[N]){a=!1;break}}if(T&&"<"===e&&"{"===t&&"{"===this.input.peek()&&(t+=this.get_unformatted(/}}/g),r.length&&" "!==r[r.length-1]&&"<"!==r[r.length-1]&&(t=" "+t),o=!0),this.line_char_count++,r.push(t),">"===t)break}}if(!t)return r.length?n.text=r.join(""):n.type="TK_EOF",n}return"script"!==l&&"style"!==l||(p=r.join("")),r.length>2&&"/"===r[r.length-2]||this.Utils.in_array(l,this.Utils.single_token)?(n.type="TK_TAG_SINGLE",n.is_closing_tag=!0):T&&"{"===e&&"else"===l?(this.indent_to_tag("if"),n.type="TK_TAG_HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):T&&"{"===e&&(r.length<2||/[^#\^\/]/.test(r[2].charAt(0)))?(n.type="TK_TAG_SINGLE",n.is_closing_tag=!0):n.is_unformatted||n.is_content_unformatted?(i=this.get_unformatted(new RegExp("</"+l+">","ig")),r.push(i),n.type="TK_TAG_SINGLE",n.is_closing_tag=!0):"script"===l&&(-1===p.search("type")||p.search("type")>-1&&p.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1)?(this.record_tag(l),n.type="TK_TAG_SCRIPT"):"style"===l&&(-1===p.search("type")||p.search("type")>-1&&p.search("text/css")>-1)?(this.record_tag(l),n.type="TK_TAG_STYLE"):"!"===l.charAt(0)?(n.type="TK_TAG_SINGLE",this.traverse_whitespace()):(n.is_closing_tag?(n.start_tag_token=this.retrieve_tag(l.substring(1)),n.type="TK_TAG_END"):(this.record_tag(l,n),"html"!==l&&(this.indent_content=!0),n.type="TK_TAG_START",n.is_opening_tag=!0),this.traverse_whitespace()&&this.space_or_wrap(r),this.Utils.in_array(l,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),n.text=r.join(""),n},this.get_comment=function(){var e="",t=">",n=!1,r=this.input.next();while(r){if(e+=r,e.charAt(e.length-1)===t.charAt(t.length-1)&&-1!==e.indexOf(t))break;n||(n=e.length>10,0===e.indexOf("<![if")?(t="<![endif]>",n=!0):0===e.indexOf("<![cdata[")?(t="]]>",n=!0):0===e.indexOf("<![")?(t="]>",n=!0):0===e.indexOf("\x3c!--")?(t="--\x3e",n=!0):0===e.indexOf("{{!--")?(t="--}}",n=!0):0===e.indexOf("{{!")?5===e.length&&-1===e.indexOf("{{!--")&&(t="}}",n=!0):0===e.indexOf("<?")?(t="?>",n=!0):0===e.indexOf("<%")&&(t="%>",n=!0)),r=this.input.next()}return e},this.get_unformatted=function(e){var t="",n="",r=-1;if('"'===e||"'"===e){var i='"'===e?/"|{{/g:/'|{{/g;while(this.input.hasNext()){if(n=this.input.readUntilAfter(i),t+=n,n[n.length-1].match(/['"]/g))break;this.input.hasNext()&&(t+=this.input.readUntilAfter(/}}/g))}}else t=this.input.readUntilAfter(e);return r=t.lastIndexOf("\n"),-1!==r?this.line_char_count=t.length-r:this.line_char_count+=t.length,t},this.get_token=function(){var e;if("TK_TAG_SCRIPT"===this.last_token.type||"TK_TAG_STYLE"===this.last_token.type){var t=this.last_token.type.substr(7);e=this.get_contents_to(t)}else"CONTENT"===this.current_mode?(e=this.get_content(),""===e.text&&(e=this.get_tag())):"TAG"===this.current_mode&&(e=this.get_tag());return e},this.get_full_indent=function(e){return e=this.indent_level+e||0,e<1?"":Array(e+1).join(this.indent_string)},this.printer=function(e,t,n,r,i){e=e||"",e=e.replace(/\r\n|[\r\u2028\u2029]/g,"\n"),this.input=new o(e),this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=n,this.brace_style=i,this.indent_level=0,this.wrap_line_length=r,this.line_char_count=0;for(var a=0;a<this.indent_size;a++)this.indent_string+=this.indent_character;this.print_newline=function(e,t){t&&t.length&&(e||"\n"!==t[t.length-1])&&(this.line_char_count=0,"\n"!==t[t.length-1]&&(t[t.length-1]=l(t[t.length-1])),t.push("\n"))},this.print_indentation=function(e){for(var t=0;t<this.indent_level;t++)e.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(e){this.is_whitespace(e)&&!this.output.length||((e||""!==e)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),e=u(e)),this.print_token_raw(e))},this.print_token_raw=function(e){this.newlines>0&&(e=l(e)),e&&""!==e&&(e.length>1&&"\n"===e.charAt(e.length-1)?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t<this.newlines;t++)this.print_newline(t>0,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}e=e||"",t=t||{},t=r(t,"html"),void 0!==t.wrap_line_length&&0!==parseInt(t.wrap_line_length,10)||void 0===t.max_char||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),h=void 0!==t.indent_inner_html&&t.indent_inner_html,d=void 0===t.indent_body_inner_html||t.indent_body_inner_html,f=void 0===t.indent_head_inner_html||t.indent_head_inner_html,p=void 0===t.indent_size?4:parseInt(t.indent_size,10),g=void 0===t.indent_char?" ":t.indent_char,b=void 0===t.brace_style?"collapse":t.brace_style,m=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),_=t.inline||["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","address","big","dt","ins","strike","tt"],v=t.unformatted||[],y=t.content_unformatted||["pre","textarea"],w=void 0===t.preserve_newlines||t.preserve_newlines,C=w?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,T=void 0!==t.indent_handlebars&&t.indent_handlebars,E=void 0===t.wrap_attributes?"auto":t.wrap_attributes,k=isNaN(parseInt(t.wrap_attributes_indent_size,10))?p:parseInt(t.wrap_attributes_indent_size,10),x="force"===E.substr(0,"force".length),S="force-expand-multiline"===E,A="force-aligned"===E,L="aligned-multiple"===E,N=void 0!==t.end_with_newline&&t.end_with_newline,O="object"===typeof t.extra_liners&&t.extra_liners?t.extra_liners.concat():"string"===typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),P=t.eol?t.eol:"auto",t.indent_with_tabs&&(g="\t",p=1),"auto"===P&&(P="\n",e&&a.test(e||"")&&(P=e.match(a)[0])),P=P.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(s,"\n"),this.beautify=function(){c=new I,c.printer(e,g,p,m,b);var r=null,o={text:"",type:"",tag_name:"",is_opening_tag:!1,is_closing_tag:!1,is_inline_tag:!1};while(1){if(r=c.get_token(),"TK_EOF"===r.type)break;switch(r.type){case"TK_TAG_START":r.is_inline_tag||"TK_CONTENT"===c.last_token.type||(r.parent&&(r.parent.multiline_content=!0),c.print_newline(!1,c.output)),c.print_token(r.text),c.indent_content&&(!c.indent_body_inner_html&&"body"===r.tag_name||!c.indent_head_inner_html&&"head"===r.tag_name||c.indent(),c.indent_content=!1),o=r,c.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":c.print_newline(!1,c.output),c.print_token(r.text),o=r,c.current_mode="CONTENT";break;case"TK_TAG_END":(r.start_tag_token&&r.start_tag_token.multiline_content||!(r.is_inline_tag||o.is_inline_tag||c.last_token===o&&o.is_opening_tag&&r.is_closing_tag&&o.tag_name===r.tag_name||"TK_CONTENT"===c.last_token.type))&&c.print_newline(!1,c.output),c.print_token(r.text),o=r,c.current_mode="CONTENT";break;case"TK_TAG_SINGLE":"!--"===r.tag_name&&c.last_token.is_closing_tag&&-1===r.text.indexOf("\n")||r.is_inline_tag||r.is_unformatted||c.print_newline(!1,c.output),c.print_token(r.text),o=r,c.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var a=!1,s=c.output.length-1;s>=0;s--){if("\n"===c.output[s])break;if(c.output[s].match(/{{#if/)){a=!0;break}}a||c.print_newline(!1,c.output),c.print_token(r.text),c.indent_content&&(c.indent(),c.indent_content=!1),o=r,c.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":c.print_token(r.text),c.current_mode="TAG";break;case"TK_CONTENT":if(c.print_token(r.text),c.current_mode="TAG",!r.text)continue;break;case"TK_STYLE":case"TK_SCRIPT":if(""!==r.text){c.print_newline(!1,c.output);var u,l=r.text,h=1;"TK_SCRIPT"===r.type?u="function"===typeof n&&n:"TK_STYLE"===r.type&&(u="function"===typeof i&&i),"keep"===t.indent_scripts?h=0:"separate"===t.indent_scripts&&(h=-c.indent_level);var d=c.get_full_indent(h);if(u){var f=function(){this.eol="\n"};f.prototype=t;var _=new f;l=u(l.replace(/^\s*/,d),_)}else{var v=l.match(/^\s*/)[0],y=v.match(/[^\n\r]*$/)[0].split(c.indent_string).length-1,w=c.get_full_indent(h-y);l=l.replace(/^\s*/,d).replace(/\r\n|\r|\n/g,"\n"+w).replace(/\s+$/,"")}l&&(c.print_token_raw(l),c.print_newline(!0,c.output))}c.current_mode="TAG";break;default:""!==r.text&&c.print_token(r.text);break}c.last_token=r}var C=c.output.join("").replace(/[\r\n\t ]+$/,"");return N&&(C+="\n"),"\n"!==P&&(C=C.replace(/[\n]/g,P)),C}}e.exports.Beautifier=c}]);function jr(e,t){return Wr(e,t,Mr,Vr)}function Br(e,t,n){var r=e.getText(),i=!0,o=0,a=n.tabSize||4;if(t){var s=e.offsetAt(t.start),u=s;while(u>0&&Yr(r,u-1))u--;0===u||Gr(r,u-1)?s=u:u<s&&(s=u+1);var l=e.offsetAt(t.end),c=l;while(c<r.length&&Yr(r,c))c++;if((c===r.length||Gr(r,c))&&(l=c),t=Dn.create(e.positionAt(s),e.positionAt(l)),i=l===r.length,r=r.substring(s,l),0!==s){var h=e.offsetAt(Rn.create(t.start.line,0));o=Hr(e.getText(),h,n)}}else t=Dn.create(Rn.create(0,0),e.positionAt(r.length));var d={indent_size:n.insertSpaces?a:1,indent_char:n.insertSpaces?" ":"\t",wrap_line_length:Fr(n,"wrapLineLength",120),unformatted:Kr(n,"unformatted",void 0),content_unformatted:Kr(n,"contentUnformatted",void 0),indent_inner_html:Fr(n,"indentInnerHtml",!1),preserve_newlines:Fr(n,"preserveNewLines",!0),max_preserve_newlines:Fr(n,"maxPreserveNewLines",32786),indent_handlebars:Fr(n,"indentHandlebars",!1),end_with_newline:i&&Fr(n,"endWithNewline",!1),extra_liners:Kr(n,"extraLiners",void 0),wrap_attributes:Fr(n,"wrapAttributes","auto"),wrap_attributes_indent_size:Fr(n,"wrapAttributesIndentSize",void 0),eol:"\n"},f=jr(r,d);if(o>0){var p=n.insertSpaces?gn(" ",a*o):gn("\t",o);f=f.split("\n").join("\n"+p),0===t.start.character&&(f=p+f)}return[{range:t,newText:f}]}function Fr(e,t,n){if(e&&e.hasOwnProperty(t)){var r=e[t];if(null!==r)return r}return n}function Kr(e,t,n){var r=Fr(e,t,null);return"string"===typeof r?r.length>0?r.split(",").map((function(e){return e.trim().toLowerCase()})):[]:n}function Hr(e,t,n){var r=t,i=0,o=n.tabSize||4;while(r<e.length){var a=e.charAt(r);if(" "===a)i++;else{if("\t"!==a)break;i+=o}r++}return Math.floor(i/o)}function Gr(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}function Yr(e,t){return-1!==" \t".indexOf(e.charAt(t))}var zr=n("36c6");function Jr(e,t){var n=e[0],r=e[e.length-1];return n!==r||"'"!==n&&'"'!==n||(e=e.substr(1,e.length-2)),"razor"===t&&"~"===e[0]&&(e=e.substr(1)),e}function $r(e,t){if(!e.length)return!1;if("handlebars"===t&&/{{.*}}/.test(e))return!1;if("razor"===t&&/@/.test(e))return!1;try{return!!zr["a"].parse(e)}catch(n){return!1}}function Qr(e,t,n,r){if(/^\s*javascript\:/i.test(t)||/^\s*\#/i.test(t)||/[\n\r]/.test(t))return null;if(t=t.replace(/^\s*/g,""),/^https?:\/\//i.test(t)||/^file:\/\//i.test(t))return t;if(/^\/\//i.test(t)){var i=fn(e,"https://")?"https":"http";return i+":"+t.replace(/^\s*/g,"")}return n?n.resolveReference(t,r||e):t}function Zr(e,t,n,r,i,o){var a=Jr(n,e.languageId);if(!$r(a,e.languageId))return null;a.length<n.length&&(r++,i--);var s=Qr(e.uri,a,t,o);return s&&Xr(s)?{range:Dn.create(e.positionAt(r),e.positionAt(i)),target:s}:null}function Xr(e){try{return zr["a"].parse(e),!0}catch(t){return!1}}function ei(e,t){var n=[],r=cn(e.getText(),0),i=r.scan(),o=!1,a=!1,s=void 0;while(i!==Wt.EOS){switch(i){case Wt.StartTag:if(!s){var u=r.getTokenText().toLowerCase();a="base"===u}break;case Wt.AttributeName:var l=r.getTokenText().toLowerCase();o="src"===l||"href"===l;break;case Wt.AttributeValue:if(o){var c=r.getTokenText();if(!a){var h=Zr(e,t,c,r.getTokenOffset(),r.getTokenEnd(),s);h&&n.push(h)}a&&"undefined"===typeof s&&(s=Jr(c,e.languageId),s&&t&&(s=t.resolveReference(s,e.uri))),a=!1,o=!1}break}i=r.scan()}return n}function ti(e,t,n){var r=e.offsetAt(t),i=n.findNodeAt(r);if(!i.tag)return[];var o=[],a=ii(Wt.StartTag,e,i.start),s="number"===typeof i.endTagStart&&ii(Wt.EndTag,e,i.endTagStart);return(a&&ri(a,t)||s&&ri(s,t))&&(a&&o.push({kind:hr.Read,range:a}),s&&o.push({kind:hr.Read,range:s})),o}function ni(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function ri(e,t){return ni(e.start,t)&&ni(t,e.end)}function ii(e,t,n){var r=cn(t.getText(),n),i=r.scan();while(i!==Wt.EOS&&i!==e)i=r.scan();return i!==Wt.EOS?{start:t.positionAt(r.getTokenOffset()),end:t.positionAt(r.getTokenEnd())}:null}function oi(e,t){var n=[];return t.roots.forEach((function(t){ai(e,t,"",n)})),n}function ai(e,t,n,r){var i=si(t),o=Un.create(e.uri,Dn.create(e.positionAt(t.start),e.positionAt(t.end))),a={name:i,location:o,containerName:n,kind:fr.Field};r.push(a),t.children.forEach((function(t){ai(e,t,i,r)}))}function si(e){var t=e.tag;if(e.attributes){var n=e.attributes["id"],r=e.attributes["class"];n&&(t+="#"+n.replace(/[\"\']/g,"")),r&&(t+=r.replace(/[\"\']/g,"").split(/\s+/).map((function(e){return"."+e})).join(""))}return t||"?"}function ui(e,t){e=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n}));for(var n=void 0,r=[],i=[],o=[],a=function(e,t){i[e]=t,t<30&&(o[t]=(o[t]||0)+1)},s=0;s<e.length;s++){var u=e[s];if(n){if(u.startLine>n.startLine)if(u.endLine<=n.endLine)r.push(n),n=u,a(s,r.length);else if(u.startLine>n.endLine){do{n=r.pop()}while(n&&u.startLine>n.endLine);n&&r.push(n),n=u,a(s,r.length)}}else n=u,a(s,0)}var l=0,c=0;for(s=0;s<o.length;s++){var h=o[s];if(h){if(h+l>t){c=s;break}l+=h}}var d=[];for(s=0;s<e.length;s++){var f=i[s];"number"===typeof f&&(f<c||f===c&&l++<t)&&d.push(e[s])}return d}function li(e,t){var n=cn(e.getText()),r=n.scan(),i=[],o=[],a=null,s=-1;function u(e){i.push(e),s=e.startLine}while(r!==Wt.EOS){switch(r){case Wt.StartTag:var l=n.getTokenText(),c=e.positionAt(n.getTokenOffset()).line;o.push({startLine:c,tagName:l}),a=l;break;case Wt.EndTag:a=n.getTokenText();break;case Wt.StartTagClose:if(!a||!kn(a))break;case Wt.EndTagClose:case Wt.StartTagSelfClose:var h=o.length-1;while(h>=0&&o[h].tagName!==a)h--;if(h>=0){var d=o[h];o.length=h;var f=e.positionAt(n.getTokenOffset()).line,p=(c=d.startLine,f-1);p>c&&s!==c&&u({startLine:c,endLine:p})}break;case Wt.Comment:c=e.positionAt(n.getTokenOffset()).line;var g=n.getTokenText(),m=g.match(/^\s*#(region\b)|(endregion\b)/);if(m)if(m[1])o.push({startLine:c,tagName:""});else{h=o.length-1;while(h>=0&&o[h].tagName.length)h--;if(h>=0){d=o[h];o.length=h;p=c;c=d.startLine,p>c&&s!==c&&u({startLine:c,endLine:p,kind:jn.Region})}}else{p=e.positionAt(n.getTokenOffset()+n.getTokenLength()).line;c<p&&u({startLine:c,endLine:p,kind:jn.Comment})}break}r=n.scan()}var b=t&&t.rangeLimit||Number.MAX_VALUE;return i.length>b&&(i=ui(i,b)),i}function ci(){var e=new Or;return{createScanner:cn,parseHTMLDocument:function(e){return Qn(e.getText())},doComplete:e.doComplete.bind(e),setCompletionParticipants:e.setCompletionParticipants.bind(e),doHover:Ur,format:Br,findDocumentHighlights:ti,findDocumentLinks:ei,findDocumentSymbols:oi,getFoldingRanges:li,doTagComplete:e.doTagComplete.bind(e)}}var hi=monaco.Promise,di=function(){function e(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=ci()}return e.prototype.doValidation=function(e){return hi.as([])},e.prototype.doComplete=function(e,t){var n=this._getTextDocument(e),r=this._languageService.parseHTMLDocument(n);return hi.as(this._languageService.doComplete(n,t,r,this._languageSettings&&this._languageSettings.suggest))},e.prototype.format=function(e,t,n){var r=this._getTextDocument(e),i=this._languageService.format(r,t,this._languageSettings&&this._languageSettings.format);return hi.as(i)},e.prototype.findDocumentHighlights=function(e,t){var n=this._getTextDocument(e),r=this._languageService.parseHTMLDocument(n),i=this._languageService.findDocumentHighlights(n,t,r);return hi.as(i)},e.prototype.findDocumentLinks=function(e){var t=this._getTextDocument(e),n=this._languageService.findDocumentLinks(t,null);return hi.as(n)},e.prototype.provideFoldingRanges=function(e,t){var n=this._getTextDocument(e),r=this._languageService.getFoldingRanges(n,t);return hi.as(r)},e.prototype._getTextDocument=function(e){for(var t=this._ctx.getMirrorModels(),n=0,r=t;n<r.length;n++){var i=r[n];if(i.uri.toString()===e)return Tr.create(e,this._languageId,i.version,i.getValue())}return null},e}();self.onmessage=function(){Ft((function(e,t){return new di(e,t)}))}},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},f28c:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function u(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}})();var l,c=[],h=!1,d=-1;function f(){h&&l&&(h=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!h){var e=s(f);h=!0;var t=c.length;while(t){l=c,c=[];while(++d<t)l&&l[d].run();d=-1,t=c.length}l=null,h=!1,u(e)}}function g(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new g(e,t)),1!==c.length||h||s(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}}});