(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[89084],{89084:function(){(function(a){if(typeof a.window!="undefined"&&a.document||a.require&&a.define)return;a.console||(a.console=function(){var c=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:c})},a.console.error=a.console.warn=a.console.log=a.console.trace=a.console),a.window=a,a.ace=a,a.onerror=function(c,i,t,e,o){postMessage({type:"error",data:{message:c,data:o&&o.data,file:i,line:t,col:e,stack:o&&o.stack}})},a.normalizeModule=function(c,i){if(i.indexOf("!")!==-1){var t=i.split("!");return a.normalizeModule(c,t[0])+"!"+a.normalizeModule(c,t[1])}if(i.charAt(0)=="."){var e=c.split("/").slice(0,-1).join("/");for(i=(e?e+"/":"")+i;i.indexOf(".")!==-1&&o!=i;){var o=i;i=i.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},a.require=function(i,t){if(t||(t=i,i=null),!t.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");t=a.normalizeModule(i,t);var e=a.require.modules[t];if(e)return e.initialized||(e.initialized=!0,e.exports=e.factory().exports),e.exports;if(!a.require.tlns)return console.log("unable to load "+t);var o=f(t,a.require.tlns);return o.slice(-3)!=".js"&&(o+=".js"),a.require.id=t,a.require.modules[t]={},importScripts(o),a.require(i,t)};function f(c,i){for(var t=c,e="";t;){var o=i[t];if(typeof o=="string")return o+e;if(o)return o.location.replace(/\/*$/,"/")+(e||o.main||o.name);if(o===!1)return"";var r=t.lastIndexOf("/");if(r===-1)break;e=t.substr(r)+e,t=t.slice(0,r)}return c}a.require.modules={},a.require.tlns={},a.define=function(c,i,t){if(arguments.length==2?(t=i,typeof c!="string"&&(i=c,c=a.require.id)):arguments.length==1&&(t=c,i=[],c=a.require.id),typeof t!="function"){a.require.modules[c]={exports:t,initialized:!0};return}i.length||(i=["require","exports","module"]);var e=function(o){return a.require(c,o)};a.require.modules[c]={exports:{},factory:function(){var o=this,r=t.apply(this,i.slice(0,t.length).map(function(n){switch(n){case"require":return e;case"exports":return o.exports;case"module":return o;default:return e(n)}}));return r&&(o.exports=r),o}}},a.define.amd={},a.require.tlns={},a.initBaseUrls=function(i){for(var t in i)this.require.tlns[t]=i[t]},a.initSender=function(){var i=a.require("ace/lib/event_emitter").EventEmitter,t=a.require("ace/lib/oop"),e=function(){};return function(){t.implement(this,i),this.callback=function(o,r){postMessage({type:"call",id:r,data:o})},this.emit=function(o,r){postMessage({type:"event",name:o,data:r})}}.call(e.prototype),new e};var v=a.main=null,l=a.sender=null;a.onmessage=function(c){var i=c.data;if(i.event&&l)l._signal(i.event,i.data);else if(i.command)if(v[i.command])v[i.command].apply(v,i.args);else if(a[i.command])a[i.command].apply(a,i.args);else throw new Error("Unknown command:"+i.command);else if(i.init){a.initBaseUrls(i.tlns),l=a.sender=a.initSender();var t=this.require(i.module)[i.classname];v=a.main=new t(l)}}})(this),ace.define("ace/lib/oop",[],function(a,f,v){"use strict";f.inherits=function(l,c){l.super_=c,l.prototype=Object.create(c.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}})},f.mixin=function(l,c){for(var i in c)l[i]=c[i];return l},f.implement=function(l,c){f.mixin(l,c)}}),ace.define("ace/apply_delta",[],function(a,f,v){"use strict";function l(t,e){throw console.log("Invalid Delta:",t),"Invalid Delta: "+e}function c(t,e){return e.row>=0&&e.row=0&&e.column<=t[e.row].length}function i(t,e){e.action!="insert"&&e.action!="remove"&&l(e,"delta.action must be 'insert' or 'remove'"),e.lines instanceof Array||l(e,"delta.lines must be an Array"),(!e.start||!e.end)&&l(e,"delta.start/end must be an present");var o=e.start;c(t,e.start)||l(e,"delta.start must be contained in document");var r=e.end;e.action=="remove"&&!c(t,r)&&l(e,"delta.end must contained in document for 'remove' actions");var n=r.row-o.row,s=r.column-(n==0?o.column:0);(n!=e.lines.length-1||e.lines[n].length!=s)&&l(e,"delta.range must match delta lines")}f.applyDelta=function(t,e,o){var r=e.start.row,n=e.start.column,s=t[r]||"";switch(e.action){case"insert":var u=e.lines;if(u.length===1)t[r]=s.substring(0,n)+e.lines[0]+s.substring(n);else{var h=[r,1].concat(e.lines);t.splice.apply(t,h),t[r]=s.substring(0,n)+t[r],t[r+e.lines.length-1]+=s.substring(n)}break;case"remove":var p=e.end.column,m=e.end.row;r===m?t[r]=s.substring(0,n)+s.substring(p):t.splice(r,m-r+1,s.substring(0,n)+t[m].substring(p));break}}}),ace.define("ace/lib/event_emitter",[],function(a,f,v){"use strict";var l={},c=function(){this.propagationStopped=!0},i=function(){this.defaultPrevented=!0};l._emit=l._dispatchEvent=function(t,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var o=this._eventRegistry[t]||[],r=this._defaultHandlers[t];if(!(!o.length&&!r)){(typeof e!="object"||!e)&&(e={}),e.type||(e.type=t),e.stopPropagation||(e.stopPropagation=c),e.preventDefault||(e.preventDefault=i),o=o.slice();for(var n=0;n ["+this.end.row+"/"+this.end.column+"]"},i.prototype.contains=function(t,e){return this.compare(t,e)==0},i.prototype.compareRange=function(t){var e,o=t.end,r=t.start;return e=this.compare(o.row,o.column),e==1?(e=this.compare(r.row,r.column),e==1?2:e==0?1:0):e==-1?-2:(e=this.compare(r.row,r.column),e==-1?-1:e==1?42:0)},i.prototype.comparePoint=function(t){return this.compare(t.row,t.column)},i.prototype.containsRange=function(t){return this.comparePoint(t.start)==0&&this.comparePoint(t.end)==0},i.prototype.intersects=function(t){var e=this.compareRange(t);return e==-1||e==0||e==1},i.prototype.isEnd=function(t,e){return this.end.row==t&&this.end.column==e},i.prototype.isStart=function(t,e){return this.start.row==t&&this.start.column==e},i.prototype.setStart=function(t,e){typeof t=="object"?(this.start.column=t.column,this.start.row=t.row):(this.start.row=t,this.start.column=e)},i.prototype.setEnd=function(t,e){typeof t=="object"?(this.end.column=t.column,this.end.row=t.row):(this.end.row=t,this.end.column=e)},i.prototype.inside=function(t,e){return this.compare(t,e)==0?!(this.isEnd(t,e)||this.isStart(t,e)):!1},i.prototype.insideStart=function(t,e){return this.compare(t,e)==0?!this.isEnd(t,e):!1},i.prototype.insideEnd=function(t,e){return this.compare(t,e)==0?!this.isStart(t,e):!1},i.prototype.compare=function(t,e){return!this.isMultiLine()&&t===this.start.row?ethis.end.column?1:0:tthis.end.row?1:this.start.row===t?e>=this.start.column?0:-1:this.end.row===t?e<=this.end.column?0:1:0},i.prototype.compareStart=function(t,e){return this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},i.prototype.compareEnd=function(t,e){return this.end.row==t&&this.end.column==e?1:this.compare(t,e)},i.prototype.compareInside=function(t,e){return this.end.row==t&&this.end.column==e?1:this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},i.prototype.clipRows=function(t,e){if(this.end.row>e)var o={row:e+1,column:0};else if(this.end.rowe)var r={row:e+1,column:0};else if(this.start.rowthis.row)){var n=e(r,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},o.prototype.setPosition=function(r,n,s){var u;if(s?u={row:r,column:n}:u=this.$clipPositionToDocument(r,n),!(this.row==u.row&&this.column==u.column)){var h={row:this.row,column:this.column};this.row=u.row,this.column=u.column,this._signal("change",{old:h,value:u})}},o.prototype.detach=function(){this.document.off("change",this.$onChange)},o.prototype.attach=function(r){this.document=r||this.document,this.document.on("change",this.$onChange)},o.prototype.$clipPositionToDocument=function(r,n){var s={};return r>=this.document.getLength()?(s.row=Math.max(0,this.document.getLength()-1),s.column=this.document.getLine(s.row).length):r<0?(s.row=0,s.column=0):(s.row=r,s.column=Math.min(this.document.getLine(s.row).length,Math.max(0,n))),n<0&&(s.column=0),s},o}();i.prototype.$insertRight=!1,l.implement(i.prototype,c);function t(o,r,n){var s=n?o.column<=r.column:o.column=u&&(n=u-1,s=void 0);var h=this.getLine(n);return s==null&&(s=h.length),s=Math.min(Math.max(s,0),h.length),{row:n,column:s}},r.prototype.clonePos=function(n){return{row:n.row,column:n.column}},r.prototype.pos=function(n,s){return{row:n,column:s}},r.prototype.$clipPosition=function(n){var s=this.getLength();return n.row>=s?(n.row=Math.max(0,s-1),n.column=this.getLine(s-1).length):(n.row=Math.max(0,n.row),n.column=Math.min(Math.max(n.column,0),this.getLine(n.row).length)),n},r.prototype.insertFullLines=function(n,s){n=Math.min(Math.max(n,0),this.getLength());var u=0;n0,h=s=0&&this.applyDelta({start:this.pos(n,this.getLine(n).length),end:this.pos(n+1,0),action:"remove",lines:["",""]})},r.prototype.replace=function(n,s){if(n instanceof t||(n=t.fromPoints(n.start,n.end)),s.length===0&&n.isEmpty())return n.start;if(s==this.getTextRange(n))return n.end;this.remove(n);var u;return s?u=this.insert(n.start,s):u=n.start,u},r.prototype.applyDeltas=function(n){for(var s=0;s=0;s--)this.revertDelta(n[s])},r.prototype.applyDelta=function(n,s){var u=n.action=="insert";(u?n.lines.length<=1&&!n.lines[0]:!t.comparePoints(n.start,n.end))||(u&&n.lines.length>2e4?this.$splitAndapplyLargeDelta(n,2e4):(c(this.$lines,n,s),this._signal("change",n)))},r.prototype.$safeApplyDelta=function(n){var s=this.$lines.length;(n.action=="remove"&&n.start.row0;)t&1&&(e+=i),(t>>=1)&&(i+=i);return e};var l=/^\s\s*/,c=/\s\s*$/;f.stringTrimLeft=function(i){return i.replace(l,"")},f.stringTrimRight=function(i){return i.replace(c,"")},f.copyObject=function(i){var t={};for(var e in i)t[e]=i[e];return t},f.copyArray=function(i){for(var t=[],e=0,o=i.length;e=e.$lines.length)throw p=new Error("Invalid delta"),p.data={path:r.$path,linesLength:e.$lines.length,start:h.start,end:h.end},p;e.applyDelta(h,!0)}if(r.$timeout)return o.schedule(r.$timeout);r.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(t){this.$timeout=t},this.setValue=function(t){this.doc.setValue(t),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(t){this.sender.callback(this.doc.getValue(),t)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(i.prototype)})}}]);