(this.webpackJsonpweb=this.webpackJsonpweb||[]).push([[4],{624:function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode1",(function(){returnwt})),n.d(t,"setupMode",(function(){returnvt}));vari,r,a,o,s,l,c,h,d,u,p,m,f,g,b,_,w,v,y,T,k=function(){functione(e){vart=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){returnt._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){returnt._stopWorker()}))}returne.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){returnthis._lastUsedTime=Date.now(),this._client||(this._worker=monaco.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},e.prototype.getLanguageServiceWorker=function(){for(vare,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];returnthis._getClient().then((function(t){e=t})).then((function(e){returnt._worker.withSyncedResources(n)})).then((function(t){returne}))},e}();functionS(e,t){return0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){vari=n[0];returnvoid0!==t[i]?t[i]:e}))}functionx(e,t){for(varn=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];returnS(t,n)}functionM(e){returnx}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){vart=e;returnne.objectLiteral(t)&&ne.number(t.line)&&ne.number(t.character)}}(i||(i={})),function(e){e.create=function(e,t,n,r){if(ne.number(e)&&ne.number(t)&&ne.number(n)&&ne.number(r))return{start:i.create(e,t),end:i.create(n,r)};if(i.is(e)&&i.is(t))return{start:e,end:t};thrownewError("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){vart=e;returnne.objectLiteral(t)&&i.is(t.start)&&i.is(t.end)}}(r||(r={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){vart=e;returnne.defined(t)&&r.is(t.range)&&(ne.string(t.uri)||ne.undefined(t.uri))}}(a||(a={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){vart=e;returnne.defined(t)&&r.is(t.targetRange)&&ne.string(t.targetUri)&&(r.is(t.targetSelectionRange)||ne.undefined(t.targetSelectionRange))&&(r.is(t.originSelectionRange)||ne.undefined(t.originSelectionRange))}}(o||(o={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){vart=e;returnne.number(t.red)&&ne.number(t.green)&&ne.number(t.blue)&&ne.number(t.alpha)}}(s||(s={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){vart=e;returnr.is(t.range)&&s.is(t.color)}}(l||(l={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){vart=e;returnne.string(t.label)&&(ne.undefined(t.textEdit)||b.is(t))&&(ne.undefined(t.additionalTextEdits)||ne.typedArray(t.additionalTextEdits,b.is))}}(c||(c={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(h||(h={})),function(e){e.create=function(e,t,n,i,r){vara={startLine:e,endLine:t};returnne.defined(n)&&(a.startCharacter=n),ne.defined(i)&&(a.endCharacter=i),ne.defined(r)&&(a.kind=r),a},e.is=function(e){vart=e;returnne.number(t.startLine)&&ne.number(t.startLine)&&(ne.undefined(t.startCharacter)||ne.number(t.startCharacter))&&(ne.undefined(t.endCharacter)||ne.number(t.endCharacter))&&(ne.undefined(t.kind)||ne.string(t.kind))}}(d||(d={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){vart=e;returnne.defined(t)&&a.is(t.location)&&ne.string(t.message)}}(u||(u={})),function(e){e.Error=1,e.Warning=2,e.Information=3