report-ui/dist/static/js/chunk-2dec.5c88e057.js

1 line
404 KiB
JavaScript
Raw Normal View History

2023-04-14 15:55:36 +08:00
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2dec"],{"+lu7":function(e,t,n){"use strict";n.r(t);var i,r,a,o,s,l,c,h,d,u,p,m,f,g,b,_,w,v,y,T,k=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval(function(){return t._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return t._stopWorker()})}return e.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(){return this._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(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then(function(t){e=t}).then(function(e){return t._worker.withSyncedResources(n)}).then(function(t){return e})},e}();function S(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e})}(t,n)}function x(e){return S}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return te.objectLiteral(t)&&te.number(t.line)&&te.number(t.character)}}(i||(i={})),function(e){e.create=function(e,t,n,r){if(te.number(e)&&te.number(t)&&te.number(n)&&te.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};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){var t=e;return te.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){var t=e;return te.defined(t)&&r.is(t.range)&&(te.string(t.uri)||te.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){var t=e;return te.defined(t)&&r.is(t.targetRange)&&te.string(t.targetUri)&&(r.is(t.targetSelectionRange)||te.undefined(t.targetSelectionRange))&&(r.is(t.originSelectionRange)||te.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){var t=e;return te.number(t.red)&&te.number(t.green)&&te.number(t.blue)&&te.number(t.alpha)}}(s||(s={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return r.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){var t=e;return te.string(t.label)&&(te.undefined(t.textEdit)||b.is(t))&&(te.undefined(t.additionalTextEdits)||te.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){var a={startLine:e,endLine:t};return te.defined(n)&&(a.startCharacter=n),te.defined(i)&&(a.endCharacter=i),te.defined(r)&&(a.kind=r),a},e.is=function(e){var t=e;return te.number(t.startLine)&&te.number(t.startLine)&&(te.undefined(t.startCharacter)||te.number(t.startCharacter))&&(te.undefined(t.endCharacter)||te.number(t.endCharacter))&&(te.undefined(t.kind)||te.string(t.kind))}}(d||(d={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return te.defined(t)&&a.is(t.location)&&te.string(t.message)}}(u||(u={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(p||(p={})),function(e){e.Unnecessary=1,e.Deprecated=2}(m||(m={})),function(e){e