text: "use strict";/*!--------------------------------------------------------
   * Copyright (C) Microsoft Corporation. All rights reserved.
   *--------------------------------------------------------*/var _amdLoaderGlobal=this,_commonjsGlobal=typeof global=="object"?global:{},AMDLoader;(function(l){l.global=_amdLoaderGlobal;var E=function(){function p(){this._detected=!1,this._isWindows=!1,this._isNode=!1,this._isElectronRenderer=!1,this._isWebWorker=!1,this._isElectronNodeIntegrationWebWorker=!1}return Object.defineProperty(p.prototype,"isWindows",{get:function(){return this._detect(),this._isWindows},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isNode",{get:function(){return this._detect(),this._isNode},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isElectronRenderer",{get:function(){return this._detect(),this._isElectronRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isWebWorker",{get:function(){return this._detect(),this._isWebWorker},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isElectronNodeIntegrationWebWorker",{get:function(){return this._detect(),this._isElectronNodeIntegrationWebWorker},enumerable:!1,configurable:!0}),p.prototype._detect=function(){this._detected||(this._detected=!0,this._isWindows=p._isWindows(),this._isNode=typeof module!="undefined"&&!!module.exports,this._isElectronRenderer=typeof process!="undefined"&&typeof process.versions!="undefined"&&typeof process.versions.electron!="undefined"&&process.type==="renderer",this._isWebWorker=typeof l.global.importScripts=="function",this._isElectronNodeIntegrationWebWorker=this._isWebWorker&&typeof process!="undefined"&&typeof process.versions!="undefined"&&typeof process.versions.electron!="undefined"&&process.type==="worker")},p._isWindows=function(){return typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.indexOf("Windows")>=0?!0:typeof process!="undefined"?process.platform==="win32":!1},p}();l.Environment=E})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(l){var E=function(){function a(n,f,i){this.type=n,this.detail=f,this.timestamp=i}return a}();l.LoaderEvent=E;var p=function(){function a(n){this._events=[new E(1,"",n)]}return a.prototype.record=function(n,f){this._events.push(new E(n,f,l.Utilities.getHighPerformanceTimestamp()))},a.prototype.getEvents=function(){return this._events},a}();l.LoaderEventRecorder=p;var v=function(){function a(){}return a.prototype.record=function(n,f){},a.prototype.getEvents=function(){return[]},a.INSTANCE=new a,a}();l.NullLoaderEventRecorder=v})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(l){var E=function(){function p(){}return p.fileUriToFilePath=function(v,a){if(a=decodeURI(a).replace(/%23/g,"#"),v){if(/^file:\/\/\//.test(a))return a.substr(8);if(/^file:\/\//.test(a))return a.substr(5)}else if(/^file:\/\//.test(a))return a.substr(7);return a},p.startsWith=function(v,a){return v.length>=a.length&&v.substr(0,a.length)===a},p.endsWith=function(v,a){return v.length>=a.length&&v.substr(v.length-a.length)===a},p.containsQueryString=function(v){return/^[^\#]*\?/gi.test(v)},p.isAbsolutePath=function(v){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(v)},p.forEachProperty=function(v,a){if(v){var n=void 0;for(n in v)v.hasOwnProperty(n)&&a(n,v[n])}},p.isEmpty=function(v){var a=!0;return p.forEachProperty(v,function(){a=!1}),a},p.recursiveClone=function(v){if(!v||typeof v!="object"||v instanceof RegExp||!Array.isArray(v)&&Object.getPrototypeOf(v)!==Object.prototype)return v;var a=Array.isArray(v)?[]:{};return p.forEachProperty(v,function(n,f){f&&typeof f=="object"?a[n]=p.recursiveClone(f):a[n]=f}),a},p.generateAnonymousModule=function(){return"===anonymous"+p.NEXT_ANONYMOUS_ID+++"==="},p.isAnonymousModule=function(v){return p.startsWith(v,"===anonymous")},p.getHighPerformanceTimestamp=function(){return this.PERFORMANCE_NOW_PROBED||(this.PERFORMANCE_NOW_PROBED=!0,this.HAS_PERFORMANCE_NOW=l.global.performance&&typeof l.global.performance.now=="function"),this.HAS_PERFORMANCE_NOW?l.global.performance.now():Date.now()},p.NEXT_ANONYMOUS_ID=1,p.PERFORMANCE_NOW_PROBED=!1,p.HAS_PERFORMANCE_NOW=!1,p}();l.Utilities=E})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(l){function E(a){if(a instanceof Error)return a;var n=new Error(a.message||String(a)||"Unknown Error");return a.stack&&(n.stack=a.stack),n}l.ensureError=E;var p=function(){function a(){}return a.validateConfigurationOptions=function(n){function f(e){if(e.phase==="loading"){console.error('Loading "'+e.moduleId+'" failed'),console.error(e),console.error("Here are the modules that depend on it:"),console.error(e.neededBy);return}if(e.phase==="factory"){console.error('The factory method of "'+e.moduleId+'" has thrown an exception'),console.error(e);return}}if(n=n||{},typeof n.baseUrl!="string"&&(n.baseUrl=""),typeof n.isBuild!="boolean"&&(n.isBuild=!1),typeof n.paths!="object"&&(n.paths={}),typeof n.config!="object"&&(n.config={}),typeof n.catchError=="undefined"&&(n.catchError=!1),typeof n.recordStats=="undefined"&&(n.recordStats=!1),typeof n.urlArgs!="string"&&(n.urlArgs=""),typeof n.onError!="function"&&(n.onError=f),Array.isArray(n.ignoreDuplicateModules)||(n.ignoreDuplicateModules=[]),n.baseUrl.length>0&&(l.Utilities.endsWith(n.baseUrl,"/")||(n.baseUrl+="/")),typeof n.cspNonce!="string"&&(n.cspNonce=""),typeof n.preferScriptTags=="undefined"&&(n.preferScriptTags=!1),Array.isArray(n.nodeModules)||(n.nodeModules=[]),n.nodeCachedData&&typeof n.nodeCachedData=="object"&&(typeof n.nodeCachedData.seed!="string"&&(n.nodeCachedData.seed="seed"),(typeof n.nodeCachedData.writeDelay!="number"||n.nodeCachedData.writeDelay<0)&&(n.nodeCachedData.writeDelay=1e3*7),!n.nodeCachedData.path||typeof n.nodeCachedData.path!="string")){var i=E(new Error("INVALID cached data configuration, 'path' MUST be set"));i.phase="configuration",n.onError(i),n.nodeCachedData=void 0}return n},a.mergeConfigurationOptions=function(n,f){n===void 0&&(n=null),f===void 0&&(f=null);var i=l.Utilities.recursiveClone(f||{});return l.Utilities.forEachProperty(n,function(e,t){e==="ignoreDuplicateModules"&&typeof i.ignoreDuplicateModules!="undefined"?i.ignoreDuplicateModules=i.ignoreDuplicateModules.concat(t):e==="paths"&&typeof i.paths!="undefined"?l.Utilities.forEachProperty(t,function(r,o){return i.paths[r]=o}):e==="config"&&typeof i.config!="undefined"?l.Utilities.forEachProperty(t,function(r,o){return i.config[r]=o}):i[e]=l.Utilities.recursiveClone(t)}),a.validateConfigurationOptions(i)},a}();l.ConfigurationOptionsUtil=p;var v=function(){function a(n,f){if(this._env=n,this.options=p.mergeConfigurationOptions(f),this._createIgnoreDuplicateModulesMap(),this._createNodeModulesMap(),this._createSortedPathsRules(),this.options.baseUrl===""){if(this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){var i=this.options.nodeRequire.main.filename,e=Math.max(i.lastIndexOf("/"),i.lastIndexOf("\\"));this.options.baseUrl=i.substring(0,e+1)}if(this.options.nodeMain&&this._env.isNode){var i=this.options.nodeMain,e=Math.max(i.lastIndexOf("/"),i.lastIndexOf("\\"));this.options.baseUrl=i.substring(0,e+1)}}}return a.prototype._createIgnoreDuplicateModulesMap=function(){this.ignoreDuplicateModulesMap={};for(var n=0;n<this.options.ignoreDuplicateModules.length;n++)this.ignoreDuplicateModulesMap[this.options.ignoreDuplicateModules[n]]=!0},a.prototype._createNodeModulesMap=function(){this.nodeModulesMap=Object.create(null);for(var n=0,f=this.options.nodeModules;n<f.length;n++){var i=f[n];this.nodeModulesMap[i]=!0}},a.prototype._createSortedPathsRules=function(){var n=this;this.sortedPathsRules=[],l.Utilities.forEachProperty(this.options.paths,function(f,i){Array.isArray(i)?n.sortedPathsRules.push({from:f,to:i}):n.sortedPathsRules.push({from:f,to:[i]})}),this.sortedPathsRules.sort(function(f,i){return i.from.length-f.from.length})},a.prototype.cloneAndMerge=function(n){return new a(this._env,p.mergeConfigurationOptions(n,this.options))},a.prototype.getOptionsLiteral=function(){return this.options},a.prototype._applyPaths=function(n){for(var f,i=0,e=this.sortedPathsRules.length;i<e;i++)if(f=this.sortedPathsRules[i],l.Utilities.startsWith(n,f.from)){for(var t=[],r=0,o=f.to.length;r<o;r++)t.push(f.to[r]+n.substr(f.from.length));return t}return[n]},a.prototype._addUrlArgsToUrl=function(n){return l.Utilities.containsQueryString(n)?n+"&"+this.options.urlArgs:n+"?"+this.options.urlArgs},a.prototype._addUrlArgsIfNecessaryToUrl=function(n){return this.options.urlArgs?this._addUrlArgsToUrl(n):n},a.prototype._addUrlArgsIfNecessaryToUrls=function(n){if(this.options.urlArgs)for(var f=0,i=n.length;f<i;f++)n[f]=this._addUrlArgsToUrl(n[f]);return n},a.prototype.moduleIdToPaths=function(n){if(this._env.isNode){var f=this.nodeModulesMap[n]===!0||this.options.amdModulesPattern instanceof RegExp&&!this.options.amdModulesPattern.test(n);if(f)return this.isBuild()?["empty:"]:["node|"+n]}var i=n,e;if(!l.Utilities.endsWith(i,".js")&&!l.Utilities.isAbsolutePath(i)){e=this._applyPaths(i);for(var t=0,r=e.length;t<r;t++)this.isBuild()&&e[t]==="empty:"||(l.Utilities.isAbsolutePath(e[t])||(e[t]=this.options.baseUrl+e[t]),!l.Utilities.endsWith(e[t],".js")&&!l.Utilities.containsQueryString(e[t])&&(e[t]=e[t]+".js"))}else!l.Utilities.endsWith(i,".js")&&!l.Utilities.containsQueryString(i)&&(i=i+".js"),e=[i];return this._addUrlArgsIfNecessaryToUrls(e)},a.prototype.requireToUrl=function(n){var f=n;return l.Utilities.isAbsolutePath(f)||(f=this._applyPaths(f)[0],l.Utilities.isAbsolutePath(f)||(f=this.options.baseUrl+f)),this._addUrlArgsIfNecessaryToUrl(f)},a.prototype.isBuild=function(){return this.options.isBuild},a.prototype.isDuplicateMessageIgnoredFor=function(n){return this.ignoreDuplicateModulesMap.hasOwnProperty(n)},a.prototype.getConfigForModule=function(n){if(this.options.config)return this.options.config[n]},a.prototype.shouldCatchError=function(){return this.options.catchError},a.prototype.shouldRecordStats=function(){return this.options.recordStats},a.prototype.onError=function(n){this.options.onError(n)},a}();l.Configuration=v})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(l){var E=function(){function e(t){this._env=t,this._scriptLoader=null,this._callbackMap={}}return e.prototype.load=function(t,r,o,s){var u=this;if(!this._scriptLoader)if(this._env.isWebWorker)this._scriptLoader=new a;else if(this._env.isElectronRenderer){var d=t.getConfig().getOptionsLiteral().preferScriptTags;d?this._scriptLoader=new p:this._scriptLoader=new n(this._env)}else this._env.isNode?this._scriptLoader=new n(this._env):this._scriptLoader=new p;var c={callback:o,errorback:s};if(this._callbackMap.hasOwnProperty(r)){this._callbackMap[r].push(c);return}this._callbackMap[r]=[c],this._scriptLoader.load(t,r,function(){return u.triggerCallback(r)},function(_){return u.triggerErrorback(r,_)})},e.prototype.triggerCallback=function(t){var r=this._callbackMap[t];delete this._callbackMap[t];for(var o=0;o<r.length;o++)r[o].callback()},e.prototype.triggerErrorback=function(t,r){var o=this._callbackMap[t];delete this._callbackMap[t];for(var s=0;s<o.length;s++)o[s].errorback(r)},e}(),p=function(){function e(){}return e.prototype.attachListeners=function(t,r,o){var s=function(){t.removeEventListener("load",u),t.removeEventListener("error",d)},u=function(c){s(),r()},d=function(c){s(),o(c)};t.addEventListener("load",u),t.addEventListener("error",d)},e.prototype.load=function(t,r,o,s){if(/^node\|/.test(r)){var u=t.getConfig().getOptionsLiteral(),d=f(t.getRecorder(),u.nodeRequire||l.global.nodeRequire),c=r.split("|"),_=null;try{_=d(c[1])}catch(m){s(m);return}t.enqueueDefineAnonymousModule([],function(){return _}),o()}else{var h=document.createElement("script");h.setAttribute("async","async"),h.setAttribute("type","text/javascript"),this.attachListeners(h,o,s);var y=t.getConfig().getOptionsLiteral().trustedTypesPolicy;y&&(r=y.createScriptURL(r)),h.setAttribute("src",r);var g=t.getConfig().getOptionsLiteral().cspNonce;g&&h.setAttribute("nonce",g),document.getElementsByTagName("head")[0].appendChild(h)}},e}();function v(e){var t=e.getConfig().getOptionsLiteral().trustedTypesPolicy;try{var r=t?self.eval(t.createScript("","true")):new Function("true");return r.call(self),!0}catch{return!1}}var a=function(){function e(){this._cachedCanUseEval=null}return e.prototype._canUseEval=function(t){return this._cachedCanUseEval===null&&(this._cachedCanUseEval=v(t)),this._cachedCanUseEval},e.prototype.load=function(t,r,o,s){if(/^node\|/.test(r)){var u=t.getConfig().getOptionsLiteral(),d=f(t.getRecorder(),u.nodeRequire||l.global.nodeRequire),c=r.split("|"),_=null;try{_=d(c[1])}catch(g){s(g);return}t.enqueueDefineAnonymousModule([],function(){return _}),o()}else{var h=t.getConfig().getOptionsLiteral().trustedTypesPolicy,y=/^((http:)|(https:)|(file:))/.test(r)&&r.substring(0,self.origin.length)!==self.origin;if(!y&&this._canUseEval(t)){fetch(r).then(function(g){if(g.status!==200)throw new Error(g.statusText);return g.text()}).then(function(g){g=g+`
  //# sourceURL=`+r;var m=h?self.eval(h.createScript("",g)):new Function(g);m.call(self),o()}).then(void 0,s);return}try{h&&(r=h.createScriptURL(r)),importScripts(r),o()}catch(g){s(g)}}},e}(),n=function(){function e(t){this._env=t,this._didInitialize=!1,this._didPatchNodeRequire=!1}return e.prototype._init=function(t){this._didInitialize||(this._didInitialize=!0,this._fs=t("fs"),this._vm=t("vm"),this._path=t("path"),this._crypto=t("crypto"))},e.prototype._initNodeRequire=function(t,r){var o=r.getConfig().getOptionsLiteral().nodeCachedData;if(!o||this._didPatchNodeRequire)return;this._didPatchNodeRequire=!0;var s=this,u=t("module");function d(c){var _=c.constructor,h=function(g){try{return c.require(g)}finally{}};return h.resolve=function(g,m){return _._resolveFilename(g,c,!1,m)},h.resolve.paths=function(g){return _._resolveLookupPaths(g,c)},h.main=process.mainModule,h.extensions=_._extensions,h.cache=_._cache,h}u.prototype._compile=function(c,_){var h=u.wrap(c.replace(/^#!.*/,"")),y=r.getRecorder(),g=s._getCachedDataPath(o,_),m={filename:_},U;try{var I=s._fs.readFileSync(g);U=I.slice(0,16),m.cachedData=I.slice(16),y.record(60,g)}catch{y.record(61,g)}var R=new s._vm.Script(h,m),C=R.runInThisContext(m),P=s._path.dirname(_),w=d(this),O=[this.exports,w,this,_,P,process,_commonjsGlobal,Buffer],b=C.apply(this.exports,O);return s._handleCachedData(R,h,g,!m.cachedData,r),s._verifyCachedData(R,h,g,U,r),b}},e.prototype.load=function(t,r,o,s){var u=this,d=t.getConfig().getOptionsLiteral(),c=f(t.getRecorder(),d.nodeRequire||l.global.nodeRequire),_=d.nodeInstrumenter||function(C){return C};this._init(c),this._initNodeRequire(c,t);var h=t.getRecorder();if(/^node\|/.test(r)){var y=r.split("|"),g=null;try{g=c(y[1])}catch(C){s(C);return}t.enqueueDefineAnonymousModule([],function(){return g}),o()}else{r=l.Utilities.fileUriToFilePath(this._env.isWindows,r);var m=this._path.normalize(r),U=this._getElectronRendererScriptPathOrUri(m),I=Boolean(d.nodeCachedData),R=I?this._getCachedDataPath(d.nodeCachedData,r):void 0;this._readSourceAndCachedData(m,R,h,function(C,P,w,O){if(C){s(C);return}var b;P.charCodeAt(0)===e._BOM?b=e._PREFIX+P.substring(1)+e._SUFFIX:b=e._PREFIX+P+e._SUFFIX,b=_(b,m);var S={filename:U,cachedData:w},M=u._createAndEvalScript(t,b,S,o,s);u._handleCachedData(M,b,R,I&&!w,t),u._verifyCachedData(M,b,R,O,t)})}},e.prototype._createAndEvalScript=function(t,r,o,s,u){var d=t.getRecorder();d.record(31,o.filename);var c=new this._vm.Script(r,o),_=c.runInThisContext(o),h=t.getGlobalAMDDefineFunc(),y=!1,g=function(){return y=!0,h.apply(null,arguments)};return g.amd=h.amd,_.call(l.global,t.getGlobalAMDRequireFunc(),g,o.filename,this._path.dirname(o.filename)),d.record(32,o.filename),y?s():u(new Error("Didn't receive define call in "+o.filename+"!")),c},e.prototype._getElectronRendererScriptPathOrUri=function(t){if(!this._env.isElectronRenderer)return t;var r=t.match(/^([a-z])\:(.*)/i);return r?"file:///"+(r[1].toUpperCase()+":"+r[2]).replace(/\\/g,"/"):"file://"+t},e.prototype._getCachedDataPath=function(t,r){var o=this._crypto.createHash("md5").update(r,"utf8").update(t.seed,"utf8").update(process.arch,"").digest("hex"),s=this._path.basename(r).replace(/\.js$/,"");return this._path.join(t.path,s+"-"+o+".code")},e.prototype._handleCachedData=function(t,r,o,s,u){var d=this;t.cachedDataRejected?this._fs.unlink(o,function(c){u.getRecorder().record(62,o),d._createAndWriteCachedData(t,r,o,u),c&&u.getConfig().onError(c)}):s&&this._createAndWriteCachedData(t,r,o,u)},e.prototype._createAndWriteCachedData=function(t,r,o,s){var u=this,d=Math.ceil(s.getConfig().getOptionsLiteral().nodeCachedData.writeDelay*(1+Math.random())),c=-1,_=0,h=void 0,y=function(){setTimeout(function(){h||(h=u._crypto.createHash("md5").update(r,"utf8").digest());var g=t.createCachedData();if(!(g.length===0||g.length===c||_>=5)){if(g.length<c){y();return}c=g.length,u._fs.writeFile(o,Buffer.concat([h,g]),function(m){m&&s.getConfig().onError(m),s.getRecorder().record(63,o),y()})}},d*Math.pow(4,_++))};y()},e.prototype._readSourceAndCachedData=function(t,r,o,s){if(!r)this._fs.readFile(t,{encoding:"utf8"},s);else{var u=void 0,d=void 0,c=void 0,_=2,h=function(y){y?s(y):--_==0&&s(void 0,u,d,c)};this._fs.readFile(t,{encoding:"utf8"},function(y,g){u=g,h(y)}),this._fs.readFile(r,function(y,g){!y&&g&&g.length>0?(c=g.slice(0,16),d=g.slice(16),o.record(60,r)):o.record(61,r),h()})}},e.prototype._verifyCachedData=function(t,r,o,s,u){var d=this;!s||t.cachedDataRejected||setTimeout(function(){var c=d._crypto.createHash("md5").update(r,"utf8").digest();s.equals(c)||(u.getConfig().onError(new Error("FAILED TO VERIFY CACHED DATA, deleting stale '"+o+"' now, but a RESTART IS REQUIRED")),d._fs.unlink(o,function(_){_&&u.getConfig().onError(_)}))},Math.ceil(5e3*(1+Math.random())))},e._BOM=65279,e._PREFIX="(function (require, define, __filename, __dirname) { ",e._SUFFIX=`
  });`,e}();function f(e,t){if(t.__$__isRecorded)return t;var r=function(s){e.record(33,s);try{return t(s)}finally{e.record(34,s)}};return r.__$__isRecorded=!0,r}l.ensureRecordedNodeRequire=f;function i(e){return new E(e)}l.createScriptLoader=i})(AMDLoader||(AMDLoader={}));var AMDLoader;(function(l){var E=function(){function i(e){var t=e.lastIndexOf("/");t!==-1?this.fromModulePath=e.substr(0,t+1):this.fromModulePath=""}return i._normalizeModuleId=function(e){var t=e,r;for(r=/\/\.\//;r.test(t);)t=t.replace(r,"/");for(t=t.replace(/^\.\//g,""),r=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;r.test(t);)t=t.replace(r,"/");return t=t.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,""),t},i.prototype.resolveModule=function(e){var t=e;return l.Utilities.isAbsolutePath(t)||(l.Utilities.startsWith(t,"./")||l.Utilities.startsWith(t,"../"))&&(t=i._normalizeModuleId(this.fromModulePath+t)),t},i.ROOT=new i(""),i}();l.ModuleIdResolver=E;var p=function(){function i(e,t,r,o,s,u){this.id=e,this.strId=t,this.dependencies=r,this._callback=o,this._errorback=s,this.moduleIdResolver=u,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}return i._safeInvokeFunction=function(e,t){try{return{returnedValue:e.apply(l.global,t),producedError:null}}catch(r){return{returnedValue:null,producedError:r}}},i._invokeFactory=function(e,t,r,o){return e.isBuild()&&!l.Utilities.isAnonymousModule(t)?{returnedValue:null,producedError:null}:e.shouldCatchError()?this._safeInvokeFunction(r,o):{returnedValue:r.apply(l.global,o),producedError:null}},i.prototype.complete=function(e,t,r){this._isComplete=!0;var o=null;if(this._callback)if(typeof this._callback=="function"){e.record(21,this.strId);var s=i._invokeFactory(t,this.strId,this._callback,r);o=s.producedError,e.record(22,this.strId),!o&&typeof s.returnedValue!="undefined"&&(!this.exportsPassedIn||l.Utilities.isEmpty(this.exports))&&(this.exports=s.returnedValue)}else this.exports=this._callback;if(o){var u=l.ensureError(o);u.phase="factory",u.moduleId=this.strId,this.error=u,t.onError(u)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null},i.prototype.onDependencyError=function(e){return this._isComplete=!0,this.error=e,this._errorback?(this._errorback(e),!0):!1},i.prototype.isComplete=function(){return this._isComplete},i}();l.Module=p;var v=function(){function i(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}return i.prototype.getMaxModuleId=function(){return this._nextId},i.prototype.getModuleId=function(e){var t=this._strModuleIdToIntModuleId.get(e);return typeof t=="undefined"&&(t=this._nextId++,this._strModuleIdToIntModuleId.set(e,t),this._intModuleIdToStrModuleId[t]=e),t},i.prototype.getStrModuleId=function(e){return this._intModuleIdToStrModuleId[e]},i}(),a=function(){function i(e){this.id=e}return i.EXPORTS=new i(0),i.MODULE=new i(1),i.REQUIRE=new i(2),i}();l.RegularDependency=a;var n=function(){function i(e,t,r){this.id=e,this.pluginId=t,this.pluginParam=r}return i}();l.PluginDependency=n;var f=function(){function i(e,t,r,o,s){s===void 0&&(s=0),this._env=e,this._scriptLoader=t,this._loaderAvailableTimestamp=s,this._defineFunc=r,this._requireFunc=o,this._moduleIdProvider=new v,this._config=new l.Configuration(this._env),this._hasDependencyCycle=!1,this._modules2=[],this._knownModules2=[],this._inverseDependencies2=[],this._inversePluginDependencies2=new Map,this._currentAnonymousDefineCall=null,this._recorder=null,this._buildInfoPath=[],this._buildInfoDefineStack=[],this._buildInfoDependencies=[]}return i.prototype.reset=function(){return new i(this._env,this._scriptLoader,this._defineFunc,this._requireFunc,this._loaderAvailableTimestamp)},i.prototype.getGlobalAMDDefineFunc=function(){return this._defineFunc},i.prototype.getGlobalAMDRequireFunc=function(){return this._requireFunc},i._findRelevantLocationInStack=function(e,t){for(var r=function(m){return m.replace(/\\/g,"/")},o=r(e),s=t.split(/\n/),u=0;u<s.length;u++){var d=s[u].match(/(.*):(\d+):(\d+)\)?$/);if(d){var c=d[1],_=d[2],h=d[3],y=Math.max(c.lastIndexOf(" ")+1,c.lastIndexOf("(")+1);if(c=c.substr(y),c=r(c),c===o){var g={line:parseInt(_,10),col:parseInt(h,10)};return g.line===1&&(g.col-="(function (require, define, __filename, __dirname) { ".length),g}}}throw new Error("Could not correlate define call site for needle "+e)},i.prototype.getBuildInfo=function(){if(!this._config.isBuild())return null;for(var e=[],t=0,r=0,o=this._modules2.length;r<o;r++){var s=this._modules2[r];if(!!s){var u=this._buildInfoPath[s.id]||null,d=this._buildInfoDefineStack[s.id]||null,c=this._buildInfoDependencies[s.id];e[t++]={id:s.strId,path:u,defineLocation:u&&d?i._findRelevantLocationInStack(u,d):null,dependencies:c,shim:null,exports:s.exports}}}return e},i.prototype.getRecorder=function(){return this._recorder||(this._config.shouldRecordStats()?this._recorder=new l.LoaderEventRecorder(this._loaderAvailableTimestamp):this._recorder=l.NullLoaderEventRecorder.INSTANCE),this._recorder},i.prototype.getLoaderEvents=function(){return this.getRecorder().getEvents()},i.prototype.enqueueDefineAnonymousModule=function(e,t){if(this._currentAnonymousDefineCall!==null)throw new Error("Can only have one anonymous define call per script file");var r=null;this._config.isBuild()&&(r=new Error("StackLocation").stack||null),this._currentAnonymousDefineCall={stack:r,dependencies:e,callback:t}},i.prototype.defineModule=function(e,t,r,o,s,u){var d=this;u===void 0&&(u=new E(e));var c=this._moduleIdProvider.getModuleId(e);if(this._modules2[c]){this._config.isDuplicateMessageIgnoredFor(e)||console.warn("Duplicate definition of module '"+e+"'");return}var _=new p(c,e,this._normalizeDependencies(t,u),r,o,u);this._modules2[c]=_,this._config.isBuild()&&(this._buildInfoDefineStack[c]=s,this._buildInfoDependencies[c]=(_.dependencies||[]).map(function(h){return d._moduleIdProvider.getStrModuleId(h.id)})),this._resolve(_)},i.prototype._normalizeDependency=function(e,t){if(e==="exports")return a.EXPORTS;if(e==="module")return a.MODULE;if(e==="require")return a.REQUIRE;var r=e.indexOf("!");if(r>=0){var o=t.resolveModule(e.substr(0,r)),s=t.resolveModule(e.substr(r+1)),u=this._moduleIdProvider.getModuleId(o+"!"+s),d=this._moduleIdProvider.getModuleId(o);return new n(u,d,s)}return new a(this._moduleIdProvider.getModuleId(t.resolveModule(e)))},i.prototype._normalizeDependencies=function(e,t){for(var r=[],o=0,s=0,u=e.length;s<u;s++)r[o++]=this._normalizeDependency(e[s],t);return r},i.prototype._relativeRequire=function(e,t,r,o){if(typeof t=="string")return this.synchronousRequire(t,e);this.defineModule(l.Utilities.generateAnonymousModule(),t,r,o,null,e)},i.prototype.synchronousRequire=function(e,t){t===void 0&&(t=new E(e));var r=this._normalizeDependency(e,t),o=this._modules2[r.id];if(!o)throw new Error("Check dependency list! Synchronous require cannot resolve module '"+e+"'. This is the first mention of this module!");if(!o.isComplete())throw new Error("Check dependency list! Synchronous require cannot resolve module '"+e+"'. This module has not been resolved completely yet.");if(o.error)throw o.error;return o.exports},i.prototype.configure=function(e,t){var r=this._config.shouldRecordStats();t?this._config=new l.Configuration(this._env,e):this._config=this._config.cloneAndMerge(e),this._config.shouldRecordStats()&&!r&&(this._recorder=null)},i.prototype.getConfig=function(){return this._config},i.prototype._onLoad=function(e){if(this._currentAnonymousDefineCall!==null){var t=this._currentAnonymousDefineCall;this._currentAnonymousDefineCall=null,this.defineModule(this._moduleIdProvider.getStrModuleId(e),t.dependencies,t.callback,null,t.stack)}},i.prototype._createLoadError=function(e,t){var r=this,o=this._moduleIdProvider.getStrModuleId(e),s=(this._inverseDependencies2[e]||[]).map(function(d){return r._moduleIdProvider.getStrModuleId(d)}),u=l.ensureError(t);return u.phase="loading",u.moduleId=o,u.neededBy=s,u},i.prototype._onLoadError=function(e,t){var r=this._createLoadError(e,t);this._modules2[e]||(this._modules2[e]=new p(e,this._moduleIdProvider.getStrModuleId(e),[],function(){},null,null));for(var o=[],s=0,u=this._moduleIdProvider.getMaxModuleId();s<u;s++)o[s]=!1;var d=!1,c=[];for(c.push(e),o[e]=!0;c.length>0;){var _=c.shift(),h=this._modules2[_];h&&(d=h.onDependencyError(r)||d);var y=this._inverseDependencies2[_];if(y)for(var s=0,u=y.length;s<u;s++){var g=y[s];o[g]||(c.push(g),o[g]=!0)}}d||this._config.onError(r)},i.prototype._hasDependencyPath=function(e,t){var r=this._modules2[e];if(!r)return!1;for(var o=[],s=0,u=this._moduleIdProvider.getMaxModuleId();s<u;s++)o[s]=!1;var d=[];for(d.push(r),o[e]=!0;d.length>0;){var c=d.shift(),_=c.dependencies;if(_)for(var s=0,u=_.length;s<u;s++){var h=_[s];if(h.id===t)return!0;var y=this._modules2[h.id];y&&!o[h.id]&&(o[h.id]=!0,d.push(y))}}return!1},i.prototype._findCyclePath=function(e,t,r){if(e===t||r===50)return[e];var o=this._modules2[e];if(!o)return null;var s=o.dependencies;if(s)for(var u=0,d=s.length;u<d;u++){var c=this._findCyclePath(s[u].id,t,r+1);if(c!==null)return c.push(e),c}return null},i.prototype._createRequire=function(e){var t=this,r=function(o,s,u){return t._relativeRequire(e,o,s,u)};return r.toUrl=function(o){return t._config.requireToUrl(e.resolveModule(o))},r.getStats=function(){return t.getLoaderEvents()},r.hasDependencyCycle=function(){return t._hasDependencyCycle},r.config=function(o,s){s===void 0&&(s=!1),t.configure(o,s)},r.__$__nodeRequire=l.global.nodeRequire,r},i.prototype._loadModule=function(e){var t=this;if(!(this._modules2[e]||this._knownModules2[e])){this._knownModules2[e]=!0;var r=this._moduleIdProvider.getStrModuleId(e),o=this._config.moduleIdToPaths(r),s=/^@[^\/]+\/[^\/]+$/;this._env.isNode&&(r.indexOf("/")===-1||s.test(r))&&o.push("node|"+r);var u=-1,d=function(c){if(u++,u>=o.length)t._onLoadError(e,c);else{var _=o[u],h=t.getRecorder();if(t._config.isBuild()&&_==="empty:"){t._buildInfoPath[e]=_,t.defineModule(t._moduleIdProvider.getStrModuleId(e),[],null,null,null),t._onLoad(e);return}h.record(10,_),t._scriptLoader.load(t,_,function(){t._config.isBuild()&&(t._buildInfoPath[e]=_),h.record(11,_),t._onLoad(e)},function(y){h.record(12,_),d(y)})}};d(null)}},i.prototype._loadPluginDependency=function(e,t){var r=this;if(!(this._modules2[t.id]||this._knownModules2[t.id])){this._knownModules2[t.id]=!0;var o=function(s){r.defineModule(r._moduleIdProvider.getStrModuleId(t.id),[],s,null,null)};o.error=function(s){r._config.onError(r._createLoadError(t.id,s))},e.load(t.pluginParam,this._createRequire(E.ROOT),o,this._config.getOptionsLiteral())}},i.prototype._resolve=function(e){var t=this,r=e.dependencies;if(r)for(var o=0,s=r.length;o<s;o++){var u=r[o];if(u===a.EXPORTS){e.exportsPassedIn=!0,e.unresolvedDependenciesCount--;continue}if(u===a.MODULE){e.unresolvedDependenciesCount--;continue}if(u===a.REQUIRE){e.unresolvedDependenciesCount--;continue}var d=this._modules2[u.id];if(d&&d.isComplete()){if(d.error){e.onDependencyError(d.error);return}e.unresolvedDependenciesCount--;continue}if(this._hasDependencyPath(u.id,e.id)){this._hasDependencyCycle=!0,console.warn("There is a dependency cycle between '"+this._moduleIdProvider.getStrModuleId(u.id)+"' and '"+this._moduleIdProvider.getStrModuleId(e.id)+"'. The cyclic path follows:");var c=this._findCyclePath(u.id,e.id,0)||[];c.reverse(),c.push(u.id),console.warn(c.map(function(y){return t._moduleIdProvider.getStrModuleId(y)}).join(` => 
  `)),e.unresolvedDependenciesCount--;continue}if(this._inverseDependencies2[u.id]=this._inverseDependencies2[u.id]||[],this._inverseDependencies2[u.id].push(e.id),u instanceof n){var _=this._modules2[u.pluginId];if(_&&_.isComplete()){this._loadPluginDependency(_.exports,u);continue}var h=this._inversePluginDependencies2.get(u.pluginId);h||(h=[],this._inversePluginDependencies2.set(u.pluginId,h)),h.push(u),this._loadModule(u.pluginId);continue}this._loadModule(u.id)}e.unresolvedDependenciesCount===0&&this._onModuleComplete(e)},i.prototype._onModuleComplete=function(e){var t=this,r=this.getRecorder();if(!e.isComplete()){var o=e.dependencies,s=[];if(o)for(var u=0,d=o.length;u<d;u++){var c=o[u];if(c===a.EXPORTS){s[u]=e.exports;continue}if(c===a.MODULE){s[u]={id:e.strId,config:function(){return t._config.getConfigForModule(e.strId)}};continue}if(c===a.REQUIRE){s[u]=this._createRequire(e.moduleIdResolver);continue}var _=this._modules2[c.id];if(_){s[u]=_.exports;continue}s[u]=null}e.complete(r,this._config,s);var h=this._inverseDependencies2[e.id];if(this._inverseDependencies2[e.id]=null,h)for(var u=0,d=h.length;u<d;u++){var y=h[u],g=this._modules2[y];g.unresolvedDependenciesCount--,g.unresolvedDependenciesCount===0&&this._onModuleComplete(g)}var m=this._inversePluginDependencies2.get(e.id);if(m){this._inversePluginDependencies2.delete(e.id);for(var u=0,d=m.length;u<d;u++)this._loadPluginDependency(e.exports,m[u])}}},i}();l.ModuleManager=f})(AMDLoader||(AMDLoader={}));var define,AMDLoader;(function(l){var E=new l.Environment,p=null,v=function(i,e,t){typeof i!="string"&&(t=e,e=i,i=null),(typeof e!="object"||!Array.isArray(e))&&(t=e,e=null),e||(e=["require","exports","module"]),i?p.defineModule(i,e,t,null,null):p.enqueueDefineAnonymousModule(e,t)};v.amd={jQuery:!0};var a=function(i,e){e===void 0&&(e=!1),p.configure(i,e)},n=function(){if(arguments.length===1){if(arguments[0]instanceof Object&&!Array.isArray(arguments[0])){a(arguments[0]);return}if(typeof arguments[0]=="string")return p.synchronousRequire(arguments[0])}if((arguments.length===2||arguments.length===3)&&Array.isArray(arguments[0])){p.defineModule(l.Utilities.generateAnonymousModule(),arguments[0],arguments[1],arguments[2],null);return}throw new Error("Unrecognized require call")};n.config=a,n.getConfig=function(){return p.getConfig().getOptionsLiteral()},n.reset=function(){p=p.reset()},n.getBuildInfo=function(){return p.getBuildInfo()},n.getStats=function(){return p.getLoaderEvents()},n.define=v;function f(){if(typeof l.global.require!="undefined"||typeof require!="undefined"){var i=l.global.require||require;if(typeof i=="function"&&typeof i.resolve=="function"){var e=l.ensureRecordedNodeRequire(p.getRecorder(),i);l.global.nodeRequire=e,n.nodeRequire=e,n.__$__nodeRequire=e}}E.isNode&&!E.isElectronRenderer&&!E.isElectronNodeIntegrationWebWorker?(module.exports=n,require=n):(E.isElectronRenderer||(l.global.define=v),l.global.require=n)}l.init=f,(typeof l.global.define!="function"||!l.global.define.amd)&&(p=new l.ModuleManager(E,l.createScriptLoader(E),v,n,l.Utilities.getHighPerformanceTimestamp()),typeof l.global.require!="undefined"&&typeof l.global.require!="function"&&n.config(l.global.require),define=function(){return v.apply(null,arguments)},define.amd=v.amd,typeof doNotInitLoader=="undefined"&&f())})(AMDLoader||(AMDLoader={}));var CSSLoaderPlugin;(function(l){var E=function(){function v(){this._pendingLoads=0}return v.prototype.attachListeners=function(a,n,f,i){var e=function(){n.removeEventListener("load",t),n.removeEventListener("error",r)},t=function(o){e(),f()},r=function(o){e(),i(o)};n.addEventListener("load",t),n.addEventListener("error",r)},v.prototype._onLoad=function(a,n){this._pendingLoads--,n()},v.prototype._onLoadError=function(a,n,f){this._pendingLoads--,n(f)},v.prototype._insertLinkNode=function(a){this._pendingLoads++;var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(a)},v.prototype.createLinkTag=function(a,n,f,i){var e=this,t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("data-name",a);var r=function(){return e._onLoad(a,f)},o=function(s){return e._onLoadError(a,i,s)};return this.attachListeners(a,t,r,o),t.setAttribute("href",n),t},v.prototype._linkTagExists=function(a,n){var f,i,e,t,r=document.getElementsByTagName("link");for(f=0,i=r.length;f<i;f++)if(e=r[f].getAttribute("data-name"),t=r[f].getAttribute("href"),e===a||t===n)return!0;return!1},v.prototype.load=function(a,n,f,i){if(this._linkTagExists(a,n)){f();return}var e=this.createLinkTag(a,n,f,i);this._insertLinkNode(e)},v}(),p=function(){function v(){this._cssLoader=new E}return v.prototype.load=function(a,n,f,i){i=i||{};var e=i["vs/css"]||{};if(e.disabled){f({});return}var t=n.toUrl(a+".css");this._cssLoader.load(a,t,function(r){f({})},function(r){typeof f.error=="function"&&f.error("Could not find "+t+" or it was empty")})},v}();l.CSSPlugin=p,define("vs/css",new p)})(CSSLoaderPlugin||(CSSLoaderPlugin={}));var __spreadArrays=this&&this.__spreadArrays||function(){for(var l=0,E=0,p=arguments.length;E<p;E++)l+=arguments[E].length;for(var v=Array(l),a=0,E=0;E<p;E++)for(var n=arguments[E],f=0,i=n.length;f<i;f++,a++)v[a]=n[f];return v},NLSLoaderPlugin;(function(l){var E=function(){function i(){this._detected=!1,this._isPseudo=!1}return Object.defineProperty(i.prototype,"isPseudo",{get:function(){return this._detect(),this._isPseudo},enumerable:!1,configurable:!0}),i.prototype._detect=function(){this._detected||(this._detected=!0,this._isPseudo=typeof document!="undefined"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0)},i}();function p(i,e,t){var r;return e.length===0?r=i:r=i.replace(/\{(\d+)\}/g,function(o,s){var u=s[0],d=e[u],c=o;return typeof d=="string"?c=d:(typeof d=="number"||typeof d=="boolean"||d===void 0||d===null)&&(c=String(d)),c}),t.isPseudo&&(r="\uFF3B"+r.replace(/[aouei]/g,"$&$&")+"\uFF3D"),r}function v(i,e){var t=i[e];return t||(t=i["*"],t)?t:null}function a(i,e,t){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];return p(t,r,i)}function n(i,e){return function(t,r){var o=Array.prototype.slice.call(arguments,2);return p(i[t],o,e)}}var f=function(){function i(e){var t=this;this._env=e,this.localize=function(r,o){for(var s=[],u=2;u<arguments.length;u++)s[u-2]=arguments[u];return a.apply(void 0,__spreadArrays([t._env,r,o],s))}}return i.prototype.setPseudoTranslation=function(e){this._env._isPseudo=e},i.prototype.create=function(e,t){return{localize:n(t[e],this._env)}},i.prototype.load=function(e,t,r,o){var s=this;if(o=o||{},!e||e.length===0)r({localize:this.localize});else{var u=o["vs/nls"]||{},d=u.availableLanguages?v(u.availableLanguages,e):null,c=".nls";d!==null&&d!==i.DEFAULT_TAG&&(c=c+"."+d);var _=function(h){Array.isArray(h)?h.localize=n(h,s._env):h.localize=n(h[e],s._env),r(h)};typeof u.loadBundle=="function"?u.loadBundle(e,d,function(h,y){h?t([e+".nls"],_):_(y)}):t([e+c],_)}},i.DEFAULT_TAG="i-default",i}();l.NLSPlugin=f,define("vs/nls",new f(new E))})(NLSLoaderPlugin||(NLSLoaderPlugin={}));
  
  //# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1/core/vs/loader.js.map
  