filesbox/web/dist/55259.be73e456.async.js

13 lines
47 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[55259],{55259:function(){(function(m){if(typeof m.window!="undefined"&&m.document||m.require&&m.define)return;m.console||(m.console=function(){var c=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:c})},m.console.error=m.console.warn=m.console.log=m.console.trace=m.console),m.window=m,m.ace=m,m.onerror=function(c,i,n,r,l){postMessage({type:"error",data:{message:c,data:l&&l.data,file:i,line:n,col:r,stack:l&&l.stack}})},m.normalizeModule=function(c,i){if(i.indexOf("!")!==-1){var n=i.split("!");return m.normalizeModule(c,n[0])+"!"+m.normalizeModule(c,n[1])}if(i.charAt(0)=="."){var r=c.split("/").slice(0,-1).join("/");for(i=(r?r+"/":"")+i;i.indexOf(".")!==-1&&l!=i;){var l=i;i=i.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},m.require=function(i,n){if(n||(n=i,i=null),!n.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");n=m.normalizeModule(i,n);var r=m.require.modules[n];if(r)return r.initialized||(r.initialized=!0,r.exports=r.factory().exports),r.exports;if(!m.require.tlns)return console.log("unable to load "+n);var l=b(n,m.require.tlns);return l.slice(-3)!=".js"&&(l+=".js"),m.require.id=n,m.require.modules[n]={},importScripts(l),m.require(i,n)};function b(c,i){for(var n=c,r="";n;){var l=i[n];if(typeof l=="string")return l+r;if(l)return l.location.replace(/\/*$/,"/")+(r||l.main||l.name);if(l===!1)return"";var o=n.lastIndexOf("/");if(o===-1)break;r=n.substr(o)+r,n=n.slice(0,o)}return c}m.require.modules={},m.require.tlns={},m.define=function(c,i,n){if(arguments.length==2?(n=i,typeof c!="string"&&(i=c,c=m.require.id)):arguments.length==1&&(n=c,i=[],c=m.require.id),typeof n!="function"){m.require.modules[c]={exports:n,initialized:!0};return}i.length||(i=["require","exports","module"]);var r=function(l){return m.require(c,l)};m.require.modules[c]={exports:{},factory:function(){var l=this,o=n.apply(this,i.slice(0,n.length).map(function(a){switch(a){case"require":return r;case"exports":return l.exports;case"module":return l;default:return r(a)}}));return o&&(l.exports=o),l}}},m.define.amd={},m.require.tlns={},m.initBaseUrls=function(i){for(var n in i)this.require.tlns[n]=i[n]},m.initSender=function(){var i=m.require("ace/lib/event_emitter").EventEmitter,n=m.require("ace/lib/oop"),r=function(){};return function(){n.implement(this,i),this.callback=function(l,o){postMessage({type:"call",id:o,data:l})},this.emit=function(l,o){postMessage({type:"event",name:l,data:o})}}.call(r.prototype),new r};var q=m.main=null,v=m.sender=null;m.onmessage=function(c){var i=c.data;if(i.event&&v)v._signal(i.event,i.data);else if(i.command)if(q[i.command])q[i.command].apply(q,i.args);else if(m[i.command])m[i.command].apply(m,i.args);else throw new Error("Unknown command:"+i.command);else if(i.init){m.initBaseUrls(i.tlns),v=m.sender=m.initSender();var n=this.require(i.module)[i.classname];q=m.main=new n(v)}}})(this),ace.define("ace/lib/oop",[],function(m,b,q){"use strict";b.inherits=function(v,c){v.super_=c,v.prototype=Object.create(c.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}})},b.mixin=function(v,c){for(var i in c)v[i]=c[i];return v},b.implement=function(v,c){b.mixin(v,c)}}),ace.define("ace/apply_delta",[],function(m,b,q){"use strict";function v(n,r){throw console.log("Invalid Delta:",n),"Invalid Delta: "+r}function c(n,r){return r.row>=0&&r.row<n.length&&r.column>=0&&r.column<=n[r.row].length}function i(n,r){r.action!="insert"&&r.action!="remove"&&v(r,"delta.action must be 'insert' or 'remove'"),r.lines instanceof Array||v(r,"delta.lines must be an Array"),(!r.start||!r.end)&&v(r,"delta.start/end must be an present");var l=r.start;c(n,r.start)||v(r,"delta.start must be contained in document");var o=r.end;r.action=="remove"&&!c(n,o)&&v(r,"delta.end must contained in document for 'remove' actions");var a=o.row-l.row,f=o.column-(a==0?l.column:0);(a!=r.lines.length-1||r.lines[a].length!=f)&&v(r,"delta.range must match delta lines")}b.applyDelta=function(n,r,l
`,this._signal("changeNewLineMode")},o.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
`;case"unix":return`
`;default:return this.$autoNewLine||`
`}},o.prototype.setNewLineMode=function(a){this.$newLineMode!==a&&(this.$newLineMode=a,this._signal("changeNewLineMode"))},o.prototype.getNewLineMode=function(){return this.$newLineMode},o.prototype.isNewLine=function(a){return a==`\r
`||a=="\r"||a==`
`},o.prototype.getLine=function(a){return this.$lines[a]||""},o.prototype.getLines=function(a,f){return this.$lines.slice(a,f+1)},o.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},o.prototype.getLength=function(){return this.$lines.length},o.prototype.getTextRange=function(a){return this.getLinesForRange(a).join(this.getNewLineCharacter())},o.prototype.getLinesForRange=function(a){var f;if(a.start.row===a.end.row)f=[this.getLine(a.start.row).substring(a.start.column,a.end.column)];else{f=this.getLines(a.start.row,a.end.row),f[0]=(f[0]||"").substring(a.start.column);var g=f.length-1;a.end.row-a.start.row==g&&(f[g]=f[g].substring(0,a.end.column))}return f},o.prototype.insertLines=function(a,f){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(a,f)},o.prototype.removeLines=function(a,f){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(a,f)},o.prototype.insertNewLine=function(a){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(a,["",""])},o.prototype.insert=function(a,f){return this.getLength()<=1&&this.$detectNewLine(f),this.insertMergedLines(a,this.$split(f))},o.prototype.insertInLine=function(a,f){var g=this.clippedPos(a.row,a.column),y=this.pos(a.row,a.column+f.length);return this.applyDelta({start:g,end:y,action:"insert",lines:[f]},!0),this.clonePos(y)},o.prototype.clippedPos=function(a,f){var g=this.getLength();a===void 0?a=g:a<0?a=0:a>=g&&(a=g-1,f=void 0);var y=this.getLine(a);return f==null&&(f=y.length),f=Math.min(Math.max(f,0),y.length),{row:a,column:f}},o.prototype.clonePos=function(a){return{row:a.row,column:a.column}},o.prototype.pos=function(a,f){return{row:a,column:f}},o.prototype.$clipPosition=function(a){var f=this.getLength();return a.row>=f?(a.row=Math.max(0,f-1),a.column=this.getLine(f-1).length):(a.row=Math.max(0,a.row),a.column=Math.min(Math.max(a.column,0),this.getLine(a.row).length)),a},o.prototype.insertFullLines=function(a,f){a=Math.min(Math.max(a,0),this.getLength());var g=0;a<this.getLength()?(f=f.concat([""]),g=0):(f=[""].concat(f),a--,g=this.$lines[a].length),this.insertMergedLines({row:a,column:g},f)},o.prototype.insertMergedLines=function(a,f){var g=this.clippedPos(a.row,a.column),y={row:g.row+f.length-1,column:(f.length==1?g.column:0)+f[f.length-1].length};return this.applyDelta({start:g,end:y,action:"insert",lines:f}),this.clonePos(y)},o.prototype.remove=function(a){var f=this.clippedPos(a.start.row,a.start.column),g=this.clippedPos(a.end.row,a.end.column);return this.applyDelta({start:f,end:g,action:"remove",lines:this.getLinesForRange({start:f,end:g})}),this.clonePos(f)},o.prototype.removeInLine=function(a,f,g){var y=this.clippedPos(a,f),L=this.clippedPos(a,g);return this.applyDelta({start:y,end:L,action:"remove",lines:this.getLinesForRange({start:y,end:L})},!0),this.clonePos(y)},o.prototype.removeFullLines=function(a,f){a=Math.min(Math.max(0,a),this.getLength()-1),f=Math.min(Math.max(0,f),this.getLength()-1);var g=f==this.getLength()-1&&a>0,y=f<this.getLength()-1,L=g?a-1:a,D=g?this.getLine(L).length:0,$=y?f+1:f,I=y?0:this.getLine($).length,H=new n(L,D,$,I),K=this.$lines.slice(a,f+1);return this.applyDelta({start:H.start,end:H.end,action:"remove",lines:this.getLinesForRange(H)}),K},o.prototype.removeNewLine=function(a){a<this.getLength()-1&&a>=0&&this.applyDelta({start:this.pos(a,this.getLine(a).length),end:this.pos(a+1,0),action:"remove",lines:["",""]})},o.prototype.replace=function(a,f){if(a instanceof n||(a=n.fromPoints(a.start,a.end)),f.length===0&&a.isEmpty())return a.start;if(f==this.getTextRange(a))return a.end;this.remove(a);var g;return f?g=this.insert(a.start,f):g=a.start,g},o.prototype.applyDeltas=function(a){for(var f=0;f<a.length;f++)this.applyDelta(a[f])},o.prototype.revertDeltas=function(a){for(var f=a.length-1;f>=0;f--)this.revertDelta(a[f])},o.prototype.applyDelta=function(a,f){var g=a.action=="insert"
`).split(`
`)}:function(o){return o.split(/\r\n|\r|\n/)},l.prototype.$autoNewLine="",l.prototype.$newLineMode="auto",v.implement(l.prototype,i),b.Document=l}),ace.define("ace/lib/lang",[],function(m,b,q){"use strict";b.last=function(i){return i[i.length-1]},b.stringReverse=function(i){return i.split("").reverse().join("")},b.stringRepeat=function(i,n){for(var r="";n>0;)n&1&&(r+=i),(n>>=1)&&(i+=i);return r};var v=/^\s\s*/,c=/\s\s*$/;b.stringTrimLeft=function(i){return i.replace(v,"")},b.stringTrimRight=function(i){return i.replace(c,"")},b.copyObject=function(i){var n={};for(var r in i)n[r]=i[r];return n},b.copyArray=function(i){for(var n=[],r=0,l=i.length;r<l;r++)i[r]&&typeof i[r]=="object"?n[r]=this.copyObject(i[r]):n[r]=i[r];return n},b.deepCopy=function i(n){if(typeof n!="object"||!n)return n;var r;if(Array.isArray(n)){r=[];for(var l=0;l<n.length;l++)r[l]=i(n[l]);return r}if(Object.prototype.toString.call(n)!=="[object Object]")return n;r={};for(var l in n)r[l]=i(n[l]);return r},b.arrayToMap=function(i){for(var n={},r=0;r<i.length;r++)n[i[r]]=1;return n},b.createMap=function(i){var n=Object.create(null);for(var r in i)n[r]=i[r];return n},b.arrayRemove=function(i,n){for(var r=0;r<=i.length;r++)n===i[r]&&i.splice(r,1)},b.escapeRegExp=function(i){return i.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},b.escapeHTML=function(i){return(""+i).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},b.getMatchOffsets=function(i,n){var r=[];return i.replace(n,function(l){r.push({offset:arguments[arguments.length-2],length:l.length})}),r},b.deferredCall=function(i){var n=null,r=function(){n=null,i()},l=function(o){return l.cancel(),n=setTimeout(r,o||0),l};return l.schedule=l,l.call=function(){return this.cancel(),i(),l},l.cancel=function(){return clearTimeout(n),n=null,l},l.isPending=function(){return n},l},b.delayedCall=function(i,n){var r=null,l=function(){r=null,i()},o=function(a){r==null&&(r=setTimeout(l,a||n))};return o.delay=function(a){r&&clearTimeout(r),r=setTimeout(l,a||n)},o.schedule=o,o.call=function(){this.cancel(),i()},o.cancel=function(){r&&clearTimeout(r),r=null},o.isPending=function(){return r},o}}),ace.define("ace/worker/mirror",[],function(m,b,q){"use strict";var v=m("../document").Document,c=m("../lib/lang"),i=b.Mirror=function(n){this.sender=n;var r=this.doc=new v(""),l=this.deferredUpdate=c.delayedCall(this.onUpdate.bind(this)),o=this;n.on("change",function(a){var f=a.data;if(f[0].start)r.applyDeltas(f);else for(var g=0;g<f.length;g+=2){var y,L;if(Array.isArray(f[g+1])?y={action:"insert",start:f[g],lines:f[g+1]}:y={action:"remove",start:f[g],end:f[g+1]},(y.action=="insert"?y.start:y.end).row>=r.$lines.length)throw L=new Error("Invalid delta"),L.data={path:o.$path,linesLength:r.$lines.length,start:y.start,end:y.end},L;r.applyDelta(y,!0)}if(o.$timeout)return l.schedule(o.$timeout);o.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(n){this.$timeout=n},this.setValue=function(n){this.doc.setValue(n),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(n){this.sender.callback(this.doc.getValue(),n)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(i.prototype)}),ace.define("ace/mode/lua/luaparse",[],function(m,b,q){(function(v,c,i){i(b)})(this,"luaparse",function(v){"use strict";v.version="0.3.1";var c,i,n,r,l,o=v.defaultOptions={wait:!1,comments:!0,scope:!1,locations:!1,ranges:!1,onCreateNode:null,onCreateScope:null,onDestroyScope:null,onLocalDeclaration:null,luaVersion:"5.3",encodingMode:"none"};function a(e,t){return t=t||0,e<128?String.fromCharCode(e):e<2048?String.fromCharCode(t|192|e>>6,t|128|e&63):e<65536?String.fromCharCode(t|224|e>>12,t|128|e>>6&63,t|128|e&63):e<1114112?String.fromCharCode(t|240|e>>18,t|128|e>>12&63,t|128|e>>6&63,t|128|e&63):null}function f(e,t){for(var s=e.toString(16);s.length<t;)s="0"+s;return s}function g(e){return function(t){var s=e.exec(t);if(!s)return t;A(null,w.invalidCodeUnit,f(s[0].charCodeAt(0),4).toUpperCase())}}var y={"pseudo-latin1":{fixup:g(/[^\x00-\xff]/),encodeByte:fu
`;case"r":return++u,"\r";case"t":return++u," ";case"v":return++u,"\v";case"b":return++u,"\b";case"f":return++u,"\f";case"\r":case`
`:return ge(),`
`;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;Y(c.charCodeAt(u))&&u-e<3;)++u;var t=c.slice(e,u),s=parseInt(t,10);return s>255&&A(null,w.decimalEscapeTooLarge,"\\"+s),l.encodeByte(s,"\\"+t);case"z":if(r.skipWhitespaceEscape)return++u,Ae(),"";break;case"x":if(r.hexEscapes){if(re(c.charCodeAt(u+1))&&re(c.charCodeAt(u+2)))return u+=3,l.encodeByte(parseInt(c.slice(e+1,u),16),"\\"+c.slice(e,u));A(null,w.hexadecimalDigitExpected,"\\"+c.slice(e,u+2))}break;case"u":if(r.unicodeEscapes)return Ze();break;case"\\":case'"':case"'":return c.charAt(u++)}return r.strictEscapes&&A(null,w.invalidEscape,"\\"+c.slice(e,u+1)),c.charAt(u++)}function tt(){T=u,u+=2;var e=c.charAt(u),t="",s=!1,p=u,h=V,S=R;if(e==="["&&(t=_e(!0),t===!1?t=e:s=!0),!s){for(;u<n&&!pe(c.charCodeAt(u));)++u;i.comments&&(t=c.slice(p,u))}if(i.comments){var k=x.comment(t,c.slice(T,u));i.locations&&(k.loc={start:{line:S,column:T-h},end:{line:R,column:u-V}}),i.ranges&&(k.range=[T,u]),i.onCreateNode&&i.onCreateNode(k),Ee.push(k)}}function _e(e){var t=0,s="",p=!1,h,S,k=R;for(++u;c.charAt(u+t)==="=";)++t;if(c.charAt(u+t)!=="[")return!1;for(u+=t+1,pe(c.charCodeAt(u))&&ge(),S=u;u<n;){for(;pe(c.charCodeAt(u));)ge();if(h=c.charAt(u++),h==="]"){p=!0;for(var C=0;C<t;++C)c.charAt(u+C)!=="="&&(p=!1);c.charAt(u+t)!=="]"&&(p=!1)}if(p)return s+=c.slice(S,u-1),u+=t+1,s}A(null,e?w.unfinishedLongComment:w.unfinishedLongString,k,"<eof>")}function P(){G=d,d=te,te=we()}function M(e){return e===d.value?(P(),!0):!1}function O(e){e===d.value?P():A(d,w.expected,e,le(d))}function rt(e){return e===9||e===32||e===11||e===12}function pe(e){return e===10||e===13}function Y(e){return e>=48&&e<=57}function re(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function nt(e){return!!(e>=65&&e<=90||e>=97&&e<=122||e===95||r.extendedIdentifiers&&e>=128)}function it(e){return!!(e>=65&&e<=90||e>=97&&e<=122||e===95||e>=48&&e<=57||r.extendedIdentifiers&&e>=128)}function at(e){switch(e.length){case 2:return e==="do"||e==="if"||e==="in"||e==="or";case 3:return e==="and"||e==="end"||e==="for"||e==="not";case 4:return e==="else"||e==="then"?!0:r.labels&&!r.contextualGoto?e==="goto":!1;case 5:return e==="break"||e==="local"||e==="until"||e==="while";case 6:return e==="elseif"||e==="repeat"||e==="return";case 8:return e==="function"}return!1}function st(e){return K===e.type?"#-~".indexOf(e.value)>=0:$===e.type?e.value==="not":!1}function ot(e){if(L===e.type)return!0;if($!==e.type)return!1;switch(e.value){case"else":case"elseif":case"end":case"until":return!0;default:return!1}}var ne,ie,ve;function W(){var e=ne[ie++].slice();ne.push(e),i.onCreateScope&&i.onCreateScope()}function z(){var e=ne.pop();--ie,i.onDestroyScope&&i.onDestroyScope()}function De(e){i.onLocalDeclaration&&i.onLocalDeclaration(e),Le(ne[ie],e)===-1&&ne[ie].push(e)}function he(e){De(e.name),me(e,!0)}function me(e,t){!t&&He(ve,"name",e.name)===-1&&ve.push(e),e.isLocal=t}function Pe(e){return Le(ne[ie],e)!==-1}var j=[],U;function Q(){return new ye(d)}function ye(e){i.locations&&(this.loc={start:{line:e.line,column:e.range[0]-e.lineStart},end:{line:0,column:0}}),i.ranges&&(this.range=[e.range[0],0])}ye.prototype.complete=function(){i.locations&&(this.loc.end.line=G.lastLine||G.line,this.loc.end.column=G.range[1]-(G.lastLineStart||G.lineStart)),i.ranges&&(this.range[1]=G.range[1])},ye.prototype.bless=function(e){if(this.loc){var t=this.loc;e.loc={start:{line:t.start.line,column:t.start.column},end:{line:t.end.line,column:t.end.column}}}this.range&&(e.range=[this.range[0],this.range[1]])};function ae(){U&&j.push(Q())}function B(e){U&&j.push(e)}function X(){this.scopes=[],this.pendingGotos=[]}X.prototype.isInLoop=function(){for(var e=this.scopes.length;e-- >0;)if(this.scopes[e].isLoop)return!0;return!1},X.prototype.pushScope=function(e){var t={labels:{},locals:[],deferredGotos:[],isLoop:!!e};this.scopes.push(t)},X.prototype.popScope=function(){for(var e=0;e<this.pendingGotos.length;++e){var t=this.pendingGotos[e];t.maxDepth>=this.scopes.length&&--t.maxDepth<=0&&A(t.token,w.labelNotVisible,t.target)}this.scopes.pop()}