(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2371be"],{fa5b:function(n,e,t){"use strict";t.r(e),t.d(e,"setupMode1",(function(){return Un})),t.d(e,"setupMode",(function(){return Wn}));var r,i,o,a,u,s,c,d,g,f,l,h,p,v,m,w,_,y,k,b,E,x,C,I,A,S,R=t("3502"),T=12e4,P=function(){function n(n){var e=this;this._defaults=n,this._worker=null,this._idleCheckInterval=window.setInterval((function(){return e._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return e._stopWorker()}))}return n.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},n.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},n.prototype._checkIfIdle=function(){if(this._worker){var n=Date.now()-this._lastUsedTime;n>T&&this._stopWorker()}},n.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=R["editor"].createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},n.prototype.getLanguageServiceWorker=function(){for(var n,e=this,t=[],r=0;r0&&(i.arguments=t),i}function t(n){var e=n;return fn.defined(e)&&fn.string(e.title)&&fn.string(e.command)}n.create=e,n.is=t}(_||(_={})),function(n){function e(n,e){return{range:n,newText:e}}function t(n,e){return{range:{start:n,end:n},newText:e}}function r(n){return{range:n,newText:""}}function i(n){var e=n;return fn.objectLiteral(e)&&fn.string(e.newText)&&a.is(e.range)}n.replace=e,n.insert=t,n.del=r,n.is=i}(y||(y={})),function(n){function e(n,e,t){var r={label:n};return void 0!==e&&(r.needsConfirmation=e),void 0!==t&&(r.description=t),r}function t(n){var e=n;return void 0!==e&&fn.objectLiteral(e)&&fn.string(e.label)&&(fn.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(fn.string(e.description)||void 0===e.description)}n.create=e,n.is=t}(k||(k={})),function(n){function e(n){var e=n;return"string"===typeof e}n.is=e}(b||(b={})),function(n){function e(n,e,t){return{range:n,newText:e,annotationId:t}}function t(n,e,t){return{range:{start:n,end:n},newText:e,annotationId:t}}function r(n,e){return{range:n,newText:"",annotationId:e}}function i(n){var e=n;return y.is(e)&&(k.is(e.annotationId)||b.is(e.annotationId))}n.replace=e,n.insert=t,n.del=r,n.is=i}(E||(E={})),function(n){function e(n,e){return{textDocument:n,edits:e}}function t(n){var e=n;return fn.defined(e)&&L.is(e.textDocument)&&Array.isArray(e.edits)}n.create=e,n.is=t}(x||(x={})),function(n){function e(n,e,t){var r={kind:"create",uri:n};return void 0===e||void 0===e.overwrite&&void 0===e.ignoreIfExists||(r.options=e),void 0!==t&&(r.annotationId=t),r}function t(n){var e=n;return e&&"create"===e.kind&&fn.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||fn.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||fn.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||b.is(e.annotationId))}n.create=e,n.is=t}(C||(C={})),function(n){function e(n,e,t,r){var i={kind:"rename",oldUri:n,newUri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(i.options=t),void 0!==r&&(i.annotationId=r),i}function t(n){var e=n;return e&&"rename"===e.kind&&fn.string(e.oldUri)&&fn.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||fn.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||fn.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||b.is(e.annotationId))}n.create=e,n.is=t}(I||(I={})),function(n){function e(n,e,t){var r={kind:"delete",uri:n};return void 0===e||void 0===e.recursive&&void 0===e.ignoreIfNotExists||(r.options=e),void 0!==t&&(r.annotationId=t),r}function t(n){var e=n;return e&&"delete"===e.kind&&fn.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||fn.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||fn.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||b.is(e.annotationId))}n.create=e,n.is=t}(A||(A={})),function(n){function e(n){var e=n;return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every((function(n){return fn.string(n.kind)?C.is(n)||I.is(n)||A.is(n):x.is(n)})))}n.is=e}(S||(S={}));var F,D,L,M,j,O,N,U,W,V,z,H,K,X,B,J,$,q,Q,G,Y,Z,nn,en,tn,rn,on,an,un,sn,cn=function(){function n(n,e){this.edits=n,this.changeAnnotations=e}return n.prototype.insert=function(n,e,t){var r,i;if(void 0===t?r=y.insert(n,e):b.is(t)?(i=t,r=E.insert(n,e,t)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(t),r=E.insert(n,e,i)),this.edits.push(r),void 0!==i)return i},n.prototype.replace=function(n,e,t){var r,i;if(void 0===t?r=y.replace(n,e):b.is(t)?(i=t,r=E.replace(n,e,t)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(t),r=E.replace(n,e,i)),this.edits.push(r),void 0!==i)return i},n.prototype.delete=function(n,e){var t,r;if(void 0===e?t=y.del(n):b.is(e)?(r=e,t=E.del(n,e)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(e),t=E.del(n,r)),this.edits.push(t),void 0!==r)return r},n.prototype.add=function(n){this.edits.push(n)},n.prototype.all=function(){return this.edits},n.prototype.clear=function(){this.edits.splice(0,this.edits.length)},n.prototype.assertChangeAnnotations=function(n){if(void 0===n)throw new Error("Text edit change is not configured to manage change annotations.")},n}(),dn=function(){function n(n){this._annotations=void 0===n?Object.create(null):n,this._counter=0,this._size=0}return n.prototype.all=function(){return this._annotations},Object.defineProperty(n.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),n.prototype.manage=function(n,e){var t;if(b.is(n)?t=n:(t=this.nextId(),e=n),void 0!==this._annotations[t])throw new Error("Id "+t+" is already in use.");if(void 0===e)throw new Error("No annotation provided for id "+t);return this._annotations[t]=e,this._size++,t},n.prototype.nextId=function(){return this._counter++,this._counter.toString()},n}();(function(){function n(n){var e=this;this._textEditChanges=Object.create(null),void 0!==n?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new dn(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach((function(n){if(x.is(n)){var t=new cn(n.edits,e._changeAnnotations);e._textEditChanges[n.textDocument.uri]=t}}))):n.changes&&Object.keys(n.changes).forEach((function(t){var r=new cn(n.changes[t]);e._textEditChanges[t]=r}))):this._workspaceEdit={}}Object.defineProperty(n.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),n.prototype.getTextEditChange=function(n){if(L.is(n)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var e={uri:n.uri,version:n.version},t=this._textEditChanges[e.uri];if(!t){var r=[],i={textDocument:e,edits:r};this._workspaceEdit.documentChanges.push(i),t=new cn(r,this._changeAnnotations),this._textEditChanges[e.uri]=t}return t}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");t=this._textEditChanges[n];if(!t){r=[];this._workspaceEdit.changes[n]=r,t=new cn(r),this._textEditChanges[n]=t}return t},n.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new dn,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},n.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},n.prototype.createFile=function(n,e,t){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,o;if(k.is(e)||b.is(e)?r=e:t=e,void 0===r?i=C.create(n,t):(o=b.is(r)?r:this._changeAnnotations.manage(r),i=C.create(n,t,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},n.prototype.renameFile=function(n,e,t,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,o,a;if(k.is(t)||b.is(t)?i=t:r=t,void 0===i?o=I.create(n,e,r):(a=b.is(i)?i:this._changeAnnotations.manage(i),o=I.create(n,e,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},n.prototype.deleteFile=function(n,e,t){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,o;if(k.is(e)||b.is(e)?r=e:t=e,void 0===r?i=A.create(n,t):(o=b.is(r)?r:this._changeAnnotations.manage(r),i=A.create(n,t,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}})();(function(n){function e(n){return{uri:n}}function t(n){var e=n;return fn.defined(e)&&fn.string(e.uri)}n.create=e,n.is=t})(F||(F={})),function(n){function e(n,e){return{uri:n,version:e}}function t(n){var e=n;return fn.defined(e)&&fn.string(e.uri)&&fn.integer(e.version)}n.create=e,n.is=t}(D||(D={})),function(n){function e(n,e){return{uri:n,version:e}}function t(n){var e=n;return fn.defined(e)&&fn.string(e.uri)&&(null===e.version||fn.integer(e.version))}n.create=e,n.is=t}(L||(L={})),function(n){function e(n,e,t,r){return{uri:n,languageId:e,version:t,text:r}}function t(n){var e=n;return fn.defined(e)&&fn.string(e.uri)&&fn.string(e.languageId)&&fn.integer(e.version)&&fn.string(e.text)}n.create=e,n.is=t}(M||(M={})),function(n){n.PlainText="plaintext",n.Markdown="markdown"}(j||(j={})),function(n){function e(e){var t=e;return t===n.PlainText||t===n.Markdown}n.is=e}(j||(j={})),function(n){function e(n){var e=n;return fn.objectLiteral(n)&&j.is(e.kind)&&fn.string(e.value)}n.is=e}(O||(O={})),function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25}(N||(N={})),function(n){n.PlainText=1,n.Snippet=2}(U||(U={})),function(n){n.Deprecated=1}(W||(W={})),function(n){function e(n,e,t){return{newText:n,insert:e,replace:t}}function t(n){var e=n;return e&&fn.string(e.newText)&&a.is(e.insert)&&a.is(e.replace)}n.create=e,n.is=t}(V||(V={})),function(n){n.asIs=1,n.adjustIndentation=2}(z||(z={})),function(n){function e(n){return{label:n}}n.create=e}(H||(H={})),function(n){function e(n,e){return{items:n||[],isIncomplete:!!e}}n.create=e}(K||(K={})),function(n){function e(n){return n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function t(n){var e=n;return fn.string(e)||fn.objectLiteral(e)&&fn.string(e.language)&&fn.string(e.value)}n.fromPlainText=e,n.is=t}(X||(X={})),function(n){function e(n){var e=n;return!!e&&fn.objectLiteral(e)&&(O.is(e.contents)||X.is(e.contents)||fn.typedArray(e.contents,X.is))&&(void 0===n.range||a.is(n.range))}n.is=e}(B||(B={})),function(n){function e(n,e){return e?{label:n,documentation:e}:{label:n}}n.create=e}(J||(J={})),function(n){function e(n,e){for(var t=[],r=2;r=0;a--){var u=r[a],s=n.offsetAt(u.range.start),c=n.offsetAt(u.range.end);if(!(c<=o))throw new Error("Overlapping edit");t=t.substring(0,s)+u.newText+t.substring(c,t.length),o=s}return t}function i(n,e){if(n.length<=1)return n;var t=n.length/2|0,r=n.slice(0,t),o=n.slice(t);i(r,e),i(o,e);var a=0,u=0,s=0;while(a0&&n.push(e.length),this._lineOffsets=n}return this._lineOffsets},n.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var e=this.getLineOffsets(),t=0,r=e.length;if(0===r)return o.create(0,n);while(tn?r=i:t=i+1}var a=t-1;return o.create(a,n-e[a])},n.prototype.offsetAt=function(n){var e=this.getLineOffsets();if(n.line>=e.length)return this._content.length;if(n.line<0)return 0;var t=e[n.line],r=n.line+1